@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.
@@ -8,21 +8,87 @@
8
8
  import { z } from 'zod';
9
9
  export declare const DateTimeStringSchema: z.ZodUnion<[z.ZodString, z.ZodString]>;
10
10
  export declare const NullableDateTimeSchema: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
11
- export declare const PriorityResponseSchema: z.ZodEnum<["critical", "suggested", "backlog"]>;
12
- export declare const StatusResponseSchema: z.ZodEnum<["open", "completed", "deferred", "wontfix", "merged", "false-positive"]>;
13
- export declare const SeverityResponseSchema: z.ZodEnum<["critical", "high", "medium", "low", "info"]>;
14
- export declare const FailureDomainResponseSchema: z.ZodEnum<["STR", "SEM", "PRA", "EPI"]>;
15
- export declare const IssueTypeResponseSchema: z.ZodEnum<["feature", "bug", "refactor", "config", "docs", "infra", "security", "test", "observation", "deficiency", "ambiguity"]>;
16
- export declare const NoteTypeResponseSchema: z.ZodEnum<["context", "resolution", "blocker"]>;
17
- export declare const UserRoleResponseSchema: z.ZodEnum<["viewer", "developer", "publisher", "admin"]>;
18
- export declare const SubscriptionTierResponseSchema: z.ZodEnum<["free", "hobbyist", "pro", "team", "enterprise"]>;
11
+ export declare const PriorityResponseSchema: z.ZodEnum<{
12
+ critical: "critical";
13
+ suggested: "suggested";
14
+ backlog: "backlog";
15
+ }>;
16
+ export declare const StatusResponseSchema: z.ZodEnum<{
17
+ open: "open";
18
+ completed: "completed";
19
+ deferred: "deferred";
20
+ wontfix: "wontfix";
21
+ merged: "merged";
22
+ "false-positive": "false-positive";
23
+ }>;
24
+ export declare const SeverityResponseSchema: z.ZodEnum<{
25
+ critical: "critical";
26
+ high: "high";
27
+ medium: "medium";
28
+ low: "low";
29
+ info: "info";
30
+ }>;
31
+ export declare const FailureDomainResponseSchema: z.ZodEnum<{
32
+ STR: "STR";
33
+ SEM: "SEM";
34
+ PRA: "PRA";
35
+ EPI: "EPI";
36
+ }>;
37
+ export declare const IssueTypeResponseSchema: z.ZodEnum<{
38
+ feature: "feature";
39
+ bug: "bug";
40
+ refactor: "refactor";
41
+ config: "config";
42
+ docs: "docs";
43
+ infra: "infra";
44
+ security: "security";
45
+ test: "test";
46
+ observation: "observation";
47
+ deficiency: "deficiency";
48
+ ambiguity: "ambiguity";
49
+ }>;
50
+ export declare const NoteTypeResponseSchema: z.ZodEnum<{
51
+ context: "context";
52
+ resolution: "resolution";
53
+ blocker: "blocker";
54
+ }>;
55
+ export declare const UserRoleResponseSchema: z.ZodEnum<{
56
+ viewer: "viewer";
57
+ developer: "developer";
58
+ publisher: "publisher";
59
+ admin: "admin";
60
+ }>;
61
+ export declare const SubscriptionTierResponseSchema: z.ZodEnum<{
62
+ free: "free";
63
+ hobbyist: "hobbyist";
64
+ pro: "pro";
65
+ team: "team";
66
+ enterprise: "enterprise";
67
+ }>;
19
68
  export declare const FailureCodeResponseSchema: z.ZodNullable<z.ZodString>;
20
- export declare const FailureSeverityCodeResponseSchema: z.ZodNullable<z.ZodEnum<["C", "H", "M", "L", "I"]>>;
69
+ export declare const FailureSeverityCodeResponseSchema: z.ZodNullable<z.ZodEnum<{
70
+ C: "C";
71
+ H: "H";
72
+ M: "M";
73
+ L: "L";
74
+ I: "I";
75
+ }>>;
21
76
  export declare const AuthUserResponseSchema: z.ZodObject<{
22
77
  id: z.ZodString;
23
78
  email: z.ZodString;
24
- role: z.ZodEnum<["viewer", "developer", "publisher", "admin"]>;
25
- subscriptionTier: z.ZodOptional<z.ZodEnum<["free", "hobbyist", "pro", "team", "enterprise"]>>;
79
+ role: z.ZodEnum<{
80
+ viewer: "viewer";
81
+ developer: "developer";
82
+ publisher: "publisher";
83
+ admin: "admin";
84
+ }>;
85
+ subscriptionTier: z.ZodOptional<z.ZodEnum<{
86
+ free: "free";
87
+ hobbyist: "hobbyist";
88
+ pro: "pro";
89
+ team: "team";
90
+ enterprise: "enterprise";
91
+ }>>;
26
92
  username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
93
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
94
  bio: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -31,38 +97,23 @@ export declare const AuthUserResponseSchema: z.ZodObject<{
31
97
  avatarUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
98
  createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
33
99
  updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
34
- }, "strip", z.ZodTypeAny, {
35
- email: string;
36
- role: "viewer" | "developer" | "publisher" | "admin";
37
- id: string;
38
- createdAt?: string | undefined;
39
- updatedAt?: string | undefined;
40
- username?: string | null | undefined;
41
- name?: string | null | undefined;
42
- bio?: string | null | undefined;
43
- timezone?: string | null | undefined;
44
- websiteUrl?: string | null | undefined;
45
- subscriptionTier?: "free" | "hobbyist" | "pro" | "team" | "enterprise" | undefined;
46
- avatarUrl?: string | null | undefined;
47
- }, {
48
- email: string;
49
- role: "viewer" | "developer" | "publisher" | "admin";
50
- id: string;
51
- createdAt?: string | undefined;
52
- updatedAt?: string | undefined;
53
- username?: string | null | undefined;
54
- name?: string | null | undefined;
55
- bio?: string | null | undefined;
56
- timezone?: string | null | undefined;
57
- websiteUrl?: string | null | undefined;
58
- subscriptionTier?: "free" | "hobbyist" | "pro" | "team" | "enterprise" | undefined;
59
- avatarUrl?: string | null | undefined;
60
- }>;
100
+ }, z.core.$strip>;
61
101
  export declare const PublicUserResponseSchema: z.ZodObject<{
62
102
  id: z.ZodString;
63
103
  email: z.ZodString;
64
- role: z.ZodEnum<["viewer", "developer", "publisher", "admin"]>;
65
- subscriptionTier: z.ZodOptional<z.ZodEnum<["free", "hobbyist", "pro", "team", "enterprise"]>>;
104
+ role: z.ZodEnum<{
105
+ viewer: "viewer";
106
+ developer: "developer";
107
+ publisher: "publisher";
108
+ admin: "admin";
109
+ }>;
110
+ subscriptionTier: z.ZodOptional<z.ZodEnum<{
111
+ free: "free";
112
+ hobbyist: "hobbyist";
113
+ pro: "pro";
114
+ team: "team";
115
+ enterprise: "enterprise";
116
+ }>>;
66
117
  username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
67
118
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68
119
  bio: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -71,43 +122,10 @@ export declare const PublicUserResponseSchema: z.ZodObject<{
71
122
  avatarUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72
123
  createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
73
124
  updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
74
- } & {
75
125
  avatarMimeType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
76
126
  isActive: z.ZodOptional<z.ZodBoolean>;
77
127
  hasAvatar: z.ZodOptional<z.ZodBoolean>;
78
- }, "strip", z.ZodTypeAny, {
79
- email: string;
80
- role: "viewer" | "developer" | "publisher" | "admin";
81
- id: string;
82
- createdAt?: string | undefined;
83
- updatedAt?: string | undefined;
84
- username?: string | null | undefined;
85
- name?: string | null | undefined;
86
- bio?: string | null | undefined;
87
- timezone?: string | null | undefined;
88
- websiteUrl?: string | null | undefined;
89
- avatarMimeType?: string | null | undefined;
90
- subscriptionTier?: "free" | "hobbyist" | "pro" | "team" | "enterprise" | undefined;
91
- isActive?: boolean | undefined;
92
- avatarUrl?: string | null | undefined;
93
- hasAvatar?: boolean | undefined;
94
- }, {
95
- email: string;
96
- role: "viewer" | "developer" | "publisher" | "admin";
97
- id: string;
98
- createdAt?: string | undefined;
99
- updatedAt?: string | undefined;
100
- username?: string | null | undefined;
101
- name?: string | null | undefined;
102
- bio?: string | null | undefined;
103
- timezone?: string | null | undefined;
104
- websiteUrl?: string | null | undefined;
105
- avatarMimeType?: string | null | undefined;
106
- subscriptionTier?: "free" | "hobbyist" | "pro" | "team" | "enterprise" | undefined;
107
- isActive?: boolean | undefined;
108
- avatarUrl?: string | null | undefined;
109
- hasAvatar?: boolean | undefined;
110
- }>;
128
+ }, z.core.$strip>;
111
129
  /**
112
130
  * Login response schema.
113
131
  * The API returns `sessionToken` (preferred) but legacy clients may use `token`.
@@ -117,8 +135,19 @@ export declare const LoginResponseSchema: z.ZodObject<{
117
135
  user: z.ZodObject<{
118
136
  id: z.ZodString;
119
137
  email: z.ZodString;
120
- role: z.ZodEnum<["viewer", "developer", "publisher", "admin"]>;
121
- subscriptionTier: z.ZodOptional<z.ZodEnum<["free", "hobbyist", "pro", "team", "enterprise"]>>;
138
+ role: z.ZodEnum<{
139
+ viewer: "viewer";
140
+ developer: "developer";
141
+ publisher: "publisher";
142
+ admin: "admin";
143
+ }>;
144
+ subscriptionTier: z.ZodOptional<z.ZodEnum<{
145
+ free: "free";
146
+ hobbyist: "hobbyist";
147
+ pro: "pro";
148
+ team: "team";
149
+ enterprise: "enterprise";
150
+ }>>;
122
151
  username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
123
152
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
124
153
  bio: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -127,73 +156,11 @@ export declare const LoginResponseSchema: z.ZodObject<{
127
156
  avatarUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
128
157
  createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
129
158
  updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
130
- }, "strip", z.ZodTypeAny, {
131
- email: string;
132
- role: "viewer" | "developer" | "publisher" | "admin";
133
- id: string;
134
- createdAt?: string | undefined;
135
- updatedAt?: string | undefined;
136
- username?: string | null | undefined;
137
- name?: string | null | undefined;
138
- bio?: string | null | undefined;
139
- timezone?: string | null | undefined;
140
- websiteUrl?: string | null | undefined;
141
- subscriptionTier?: "free" | "hobbyist" | "pro" | "team" | "enterprise" | undefined;
142
- avatarUrl?: string | null | undefined;
143
- }, {
144
- email: string;
145
- role: "viewer" | "developer" | "publisher" | "admin";
146
- id: string;
147
- createdAt?: string | undefined;
148
- updatedAt?: string | undefined;
149
- username?: string | null | undefined;
150
- name?: string | null | undefined;
151
- bio?: string | null | undefined;
152
- timezone?: string | null | undefined;
153
- websiteUrl?: string | null | undefined;
154
- subscriptionTier?: "free" | "hobbyist" | "pro" | "team" | "enterprise" | undefined;
155
- avatarUrl?: string | null | undefined;
156
- }>;
159
+ }, z.core.$strip>;
157
160
  sessionToken: z.ZodOptional<z.ZodString>;
158
161
  token: z.ZodOptional<z.ZodString>;
159
162
  expiresAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
160
- }, "strip", z.ZodTypeAny, {
161
- user: {
162
- email: string;
163
- role: "viewer" | "developer" | "publisher" | "admin";
164
- id: string;
165
- createdAt?: string | undefined;
166
- updatedAt?: string | undefined;
167
- username?: string | null | undefined;
168
- name?: string | null | undefined;
169
- bio?: string | null | undefined;
170
- timezone?: string | null | undefined;
171
- websiteUrl?: string | null | undefined;
172
- subscriptionTier?: "free" | "hobbyist" | "pro" | "team" | "enterprise" | undefined;
173
- avatarUrl?: string | null | undefined;
174
- };
175
- expiresAt?: string | undefined;
176
- token?: string | undefined;
177
- sessionToken?: string | undefined;
178
- }, {
179
- user: {
180
- email: string;
181
- role: "viewer" | "developer" | "publisher" | "admin";
182
- id: string;
183
- createdAt?: string | undefined;
184
- updatedAt?: string | undefined;
185
- username?: string | null | undefined;
186
- name?: string | null | undefined;
187
- bio?: string | null | undefined;
188
- timezone?: string | null | undefined;
189
- websiteUrl?: string | null | undefined;
190
- subscriptionTier?: "free" | "hobbyist" | "pro" | "team" | "enterprise" | undefined;
191
- avatarUrl?: string | null | undefined;
192
- };
193
- expiresAt?: string | undefined;
194
- token?: string | undefined;
195
- sessionToken?: string | undefined;
196
- }>;
163
+ }, z.core.$strip>;
197
164
  /**
198
165
  * Register response schema.
199
166
  * Guaranteed fields: id, email, role, createdAt, updatedAt.
@@ -203,13 +170,35 @@ export declare const RegisterResponseSchema: z.ZodObject<{
203
170
  id: z.ZodString;
204
171
  email: z.ZodString;
205
172
  isActive: z.ZodBoolean;
206
- role: z.ZodEnum<["viewer", "developer", "publisher", "admin"]>;
207
- subscriptionTier: z.ZodOptional<z.ZodEnum<["free", "hobbyist", "pro", "team", "enterprise"]>>;
173
+ role: z.ZodEnum<{
174
+ viewer: "viewer";
175
+ developer: "developer";
176
+ publisher: "publisher";
177
+ admin: "admin";
178
+ }>;
179
+ subscriptionTier: z.ZodOptional<z.ZodEnum<{
180
+ free: "free";
181
+ hobbyist: "hobbyist";
182
+ pro: "pro";
183
+ team: "team";
184
+ enterprise: "enterprise";
185
+ }>>;
208
186
  user: z.ZodOptional<z.ZodObject<{
209
187
  id: z.ZodString;
210
188
  email: z.ZodString;
211
- role: z.ZodEnum<["viewer", "developer", "publisher", "admin"]>;
212
- subscriptionTier: z.ZodOptional<z.ZodEnum<["free", "hobbyist", "pro", "team", "enterprise"]>>;
189
+ role: z.ZodEnum<{
190
+ viewer: "viewer";
191
+ developer: "developer";
192
+ publisher: "publisher";
193
+ admin: "admin";
194
+ }>;
195
+ subscriptionTier: z.ZodOptional<z.ZodEnum<{
196
+ free: "free";
197
+ hobbyist: "hobbyist";
198
+ pro: "pro";
199
+ team: "team";
200
+ enterprise: "enterprise";
201
+ }>>;
213
202
  username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
214
203
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
215
204
  bio: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -218,83 +207,11 @@ export declare const RegisterResponseSchema: z.ZodObject<{
218
207
  avatarUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
219
208
  createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
220
209
  updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
221
- }, "strip", z.ZodTypeAny, {
222
- email: string;
223
- role: "viewer" | "developer" | "publisher" | "admin";
224
- id: string;
225
- createdAt?: string | undefined;
226
- updatedAt?: string | undefined;
227
- username?: string | null | undefined;
228
- name?: string | null | undefined;
229
- bio?: string | null | undefined;
230
- timezone?: string | null | undefined;
231
- websiteUrl?: string | null | undefined;
232
- subscriptionTier?: "free" | "hobbyist" | "pro" | "team" | "enterprise" | undefined;
233
- avatarUrl?: string | null | undefined;
234
- }, {
235
- email: string;
236
- role: "viewer" | "developer" | "publisher" | "admin";
237
- id: string;
238
- createdAt?: string | undefined;
239
- updatedAt?: string | undefined;
240
- username?: string | null | undefined;
241
- name?: string | null | undefined;
242
- bio?: string | null | undefined;
243
- timezone?: string | null | undefined;
244
- websiteUrl?: string | null | undefined;
245
- subscriptionTier?: "free" | "hobbyist" | "pro" | "team" | "enterprise" | undefined;
246
- avatarUrl?: string | null | undefined;
247
- }>>;
210
+ }, z.core.$strip>>;
248
211
  token: z.ZodOptional<z.ZodString>;
249
212
  createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
250
213
  updatedAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
251
- }, "strip", z.ZodTypeAny, {
252
- email: string;
253
- createdAt: string;
254
- updatedAt: string;
255
- role: "viewer" | "developer" | "publisher" | "admin";
256
- id: string;
257
- isActive: boolean;
258
- token?: string | undefined;
259
- subscriptionTier?: "free" | "hobbyist" | "pro" | "team" | "enterprise" | undefined;
260
- user?: {
261
- email: string;
262
- role: "viewer" | "developer" | "publisher" | "admin";
263
- id: string;
264
- createdAt?: string | undefined;
265
- updatedAt?: string | undefined;
266
- username?: string | null | undefined;
267
- name?: string | null | undefined;
268
- bio?: string | null | undefined;
269
- timezone?: string | null | undefined;
270
- websiteUrl?: string | null | undefined;
271
- subscriptionTier?: "free" | "hobbyist" | "pro" | "team" | "enterprise" | undefined;
272
- avatarUrl?: string | null | undefined;
273
- } | undefined;
274
- }, {
275
- email: string;
276
- createdAt: string;
277
- updatedAt: string;
278
- role: "viewer" | "developer" | "publisher" | "admin";
279
- id: string;
280
- isActive: boolean;
281
- token?: string | undefined;
282
- subscriptionTier?: "free" | "hobbyist" | "pro" | "team" | "enterprise" | undefined;
283
- user?: {
284
- email: string;
285
- role: "viewer" | "developer" | "publisher" | "admin";
286
- id: string;
287
- createdAt?: string | undefined;
288
- updatedAt?: string | undefined;
289
- username?: string | null | undefined;
290
- name?: string | null | undefined;
291
- bio?: string | null | undefined;
292
- timezone?: string | null | undefined;
293
- websiteUrl?: string | null | undefined;
294
- subscriptionTier?: "free" | "hobbyist" | "pro" | "team" | "enterprise" | undefined;
295
- avatarUrl?: string | null | undefined;
296
- } | undefined;
297
- }>;
214
+ }, z.core.$strip>;
298
215
  export declare const PublicApiKeyResponseSchema: z.ZodObject<{
299
216
  id: z.ZodString;
300
217
  name: z.ZodNullable<z.ZodString>;
@@ -302,21 +219,7 @@ export declare const PublicApiKeyResponseSchema: z.ZodObject<{
302
219
  lastUsedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
303
220
  expiresAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
304
221
  createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
305
- }, "strip", z.ZodTypeAny, {
306
- createdAt: string;
307
- name: string | null;
308
- id: string;
309
- expiresAt?: string | null | undefined;
310
- lastUsedAt?: string | null | undefined;
311
- prefix?: string | undefined;
312
- }, {
313
- createdAt: string;
314
- name: string | null;
315
- id: string;
316
- expiresAt?: string | null | undefined;
317
- lastUsedAt?: string | null | undefined;
318
- prefix?: string | undefined;
319
- }>;
222
+ }, z.core.$strip>;
320
223
  export declare const ApiKeyCreatedResponseSchema: z.ZodObject<{
321
224
  id: z.ZodOptional<z.ZodString>;
322
225
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -328,46 +231,8 @@ export declare const ApiKeyCreatedResponseSchema: z.ZodObject<{
328
231
  lastUsedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
329
232
  expiresAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
330
233
  createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
331
- }, "strip", z.ZodTypeAny, {
332
- createdAt: string;
333
- name: string | null;
334
- id: string;
335
- expiresAt?: string | null | undefined;
336
- lastUsedAt?: string | null | undefined;
337
- prefix?: string | undefined;
338
- }, {
339
- createdAt: string;
340
- name: string | null;
341
- id: string;
342
- expiresAt?: string | null | undefined;
343
- lastUsedAt?: string | null | undefined;
344
- prefix?: string | undefined;
345
- }>>;
346
- }, "strip", z.ZodTypeAny, {
347
- key: string;
348
- name?: string | null | undefined;
349
- id?: string | undefined;
350
- apiKey?: {
351
- createdAt: string;
352
- name: string | null;
353
- id: string;
354
- expiresAt?: string | null | undefined;
355
- lastUsedAt?: string | null | undefined;
356
- prefix?: string | undefined;
357
- } | undefined;
358
- }, {
359
- key: string;
360
- name?: string | null | undefined;
361
- id?: string | undefined;
362
- apiKey?: {
363
- createdAt: string;
364
- name: string | null;
365
- id: string;
366
- expiresAt?: string | null | undefined;
367
- lastUsedAt?: string | null | undefined;
368
- prefix?: string | undefined;
369
- } | undefined;
370
- }>;
234
+ }, z.core.$strip>>;
235
+ }, z.core.$strip>;
371
236
  export declare const PublicSessionResponseSchema: z.ZodObject<{
372
237
  id: z.ZodString;
373
238
  expiresAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
@@ -376,30 +241,10 @@ export declare const PublicSessionResponseSchema: z.ZodObject<{
376
241
  lastUsed: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
377
242
  userAgent: z.ZodNullable<z.ZodString>;
378
243
  ipAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
379
- }, "strip", z.ZodTypeAny, {
380
- createdAt: string;
381
- id: string;
382
- userAgent: string | null;
383
- lastActiveAt?: string | undefined;
384
- expiresAt?: string | undefined;
385
- lastUsed?: string | undefined;
386
- ipAddress?: string | null | undefined;
387
- }, {
388
- createdAt: string;
389
- id: string;
390
- userAgent: string | null;
391
- lastActiveAt?: string | undefined;
392
- expiresAt?: string | undefined;
393
- lastUsed?: string | undefined;
394
- ipAddress?: string | null | undefined;
395
- }>;
244
+ }, z.core.$strip>;
396
245
  export declare const MessageResponseSchema: z.ZodObject<{
397
246
  message: z.ZodString;
398
- }, "strip", z.ZodTypeAny, {
399
- message: string;
400
- }, {
401
- message: string;
402
- }>;
247
+ }, z.core.$strip>;
403
248
  export declare const AdminStatsResponseSchema: z.ZodObject<{
404
249
  totalUsers: z.ZodNumber;
405
250
  activeUsers: z.ZodNumber;
@@ -409,69 +254,34 @@ export declare const AdminStatsResponseSchema: z.ZodObject<{
409
254
  totalSessions: z.ZodOptional<z.ZodNumber>;
410
255
  totalApiKeys: z.ZodOptional<z.ZodNumber>;
411
256
  storageUsedMb: z.ZodOptional<z.ZodNumber>;
412
- }, "strip", z.ZodTypeAny, {
413
- totalUsers: number;
414
- activeUsers: number;
415
- totalProjects?: number | undefined;
416
- totalRuns?: number | undefined;
417
- totalIssues?: number | undefined;
418
- totalSessions?: number | undefined;
419
- totalApiKeys?: number | undefined;
420
- storageUsedMb?: number | undefined;
421
- }, {
422
- totalUsers: number;
423
- activeUsers: number;
424
- totalProjects?: number | undefined;
425
- totalRuns?: number | undefined;
426
- totalIssues?: number | undefined;
427
- totalSessions?: number | undefined;
428
- totalApiKeys?: number | undefined;
429
- storageUsedMb?: number | undefined;
430
- }>;
257
+ }, z.core.$strip>;
431
258
  export declare const PaginationResponseSchema: z.ZodObject<{
432
259
  total: z.ZodNumber;
433
260
  page: z.ZodNumber;
434
261
  limit: z.ZodNumber;
435
262
  totalPages: z.ZodOptional<z.ZodNumber>;
436
- }, "strip", z.ZodTypeAny, {
437
- limit: number;
438
- page: number;
439
- total: number;
440
- totalPages?: number | undefined;
441
- }, {
442
- limit: number;
443
- page: number;
444
- total: number;
445
- totalPages?: number | undefined;
446
- }>;
263
+ }, z.core.$strip>;
447
264
  export declare const AdminUserResponseSchema: z.ZodObject<{
448
265
  id: z.ZodString;
449
266
  email: z.ZodString;
450
- role: z.ZodOptional<z.ZodEnum<["viewer", "developer", "publisher", "admin"]>>;
451
- subscriptionTier: z.ZodOptional<z.ZodEnum<["free", "hobbyist", "pro", "team", "enterprise"]>>;
267
+ role: z.ZodOptional<z.ZodEnum<{
268
+ viewer: "viewer";
269
+ developer: "developer";
270
+ publisher: "publisher";
271
+ admin: "admin";
272
+ }>>;
273
+ subscriptionTier: z.ZodOptional<z.ZodEnum<{
274
+ free: "free";
275
+ hobbyist: "hobbyist";
276
+ pro: "pro";
277
+ team: "team";
278
+ enterprise: "enterprise";
279
+ }>>;
452
280
  isActive: z.ZodOptional<z.ZodBoolean>;
453
281
  deactivatedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
454
282
  createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
455
283
  updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
456
- }, "strip", z.ZodTypeAny, {
457
- email: string;
458
- id: string;
459
- createdAt?: string | undefined;
460
- updatedAt?: string | undefined;
461
- role?: "viewer" | "developer" | "publisher" | "admin" | undefined;
462
- subscriptionTier?: "free" | "hobbyist" | "pro" | "team" | "enterprise" | undefined;
463
- isActive?: boolean | undefined;
464
- deactivatedAt?: string | null | undefined;
465
- }, {
466
- email: string;
467
- id: string;
468
- createdAt?: string | undefined;
469
- updatedAt?: string | undefined;
470
- role?: "viewer" | "developer" | "publisher" | "admin" | undefined;
471
- subscriptionTier?: "free" | "hobbyist" | "pro" | "team" | "enterprise" | undefined;
472
- isActive?: boolean | undefined;
473
- deactivatedAt?: string | null | undefined;
474
- }>;
284
+ }, z.core.$strip>;
475
285
  export declare const AdminSessionResponseSchema: z.ZodObject<{
476
286
  id: z.ZodString;
477
287
  userId: z.ZodString;
@@ -481,25 +291,7 @@ export declare const AdminSessionResponseSchema: z.ZodObject<{
481
291
  createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
482
292
  lastActiveAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
483
293
  expiresAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
484
- }, "strip", z.ZodTypeAny, {
485
- id: string;
486
- userId: string;
487
- createdAt?: string | undefined;
488
- lastActiveAt?: string | undefined;
489
- expiresAt?: string | undefined;
490
- userAgent?: string | null | undefined;
491
- ipAddress?: string | null | undefined;
492
- userEmail?: string | undefined;
493
- }, {
494
- id: string;
495
- userId: string;
496
- createdAt?: string | undefined;
497
- lastActiveAt?: string | undefined;
498
- expiresAt?: string | undefined;
499
- userAgent?: string | null | undefined;
500
- ipAddress?: string | null | undefined;
501
- userEmail?: string | undefined;
502
- }>;
294
+ }, z.core.$strip>;
503
295
  export declare const AdminApiKeyResponseSchema: z.ZodObject<{
504
296
  id: z.ZodString;
505
297
  userId: z.ZodOptional<z.ZodString>;
@@ -509,25 +301,7 @@ export declare const AdminApiKeyResponseSchema: z.ZodObject<{
509
301
  createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
510
302
  lastUsedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
511
303
  expiresAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
512
- }, "strip", z.ZodTypeAny, {
513
- id: string;
514
- createdAt?: string | undefined;
515
- expiresAt?: string | null | undefined;
516
- lastUsedAt?: string | null | undefined;
517
- name?: string | null | undefined;
518
- userId?: string | undefined;
519
- prefix?: string | undefined;
520
- userEmail?: string | undefined;
521
- }, {
522
- id: string;
523
- createdAt?: string | undefined;
524
- expiresAt?: string | null | undefined;
525
- lastUsedAt?: string | null | undefined;
526
- name?: string | null | undefined;
527
- userId?: string | undefined;
528
- prefix?: string | undefined;
529
- userEmail?: string | undefined;
530
- }>;
304
+ }, z.core.$strip>;
531
305
  export declare const ProjectResponseSchema: z.ZodObject<{
532
306
  id: z.ZodString;
533
307
  name: z.ZodString;
@@ -535,21 +309,7 @@ export declare const ProjectResponseSchema: z.ZodObject<{
535
309
  createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
536
310
  updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
537
311
  deletedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
538
- }, "strip", z.ZodTypeAny, {
539
- createdAt: string;
540
- name: string;
541
- id: string;
542
- updatedAt?: string | undefined;
543
- deletedAt?: string | null | undefined;
544
- ownerId?: string | undefined;
545
- }, {
546
- createdAt: string;
547
- name: string;
548
- id: string;
549
- updatedAt?: string | undefined;
550
- deletedAt?: string | null | undefined;
551
- ownerId?: string | undefined;
552
- }>;
312
+ }, z.core.$strip>;
553
313
  export declare const ProjectSummaryStatsResponseSchema: z.ZodObject<{
554
314
  totalIssues: z.ZodNumber;
555
315
  openIssues: z.ZodNumber;
@@ -559,25 +319,7 @@ export declare const ProjectSummaryStatsResponseSchema: z.ZodObject<{
559
319
  totalRuns: z.ZodNumber;
560
320
  lastRunAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
561
321
  averageScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
562
- }, "strip", z.ZodTypeAny, {
563
- totalRuns: number;
564
- totalIssues: number;
565
- openIssues: number;
566
- lastRunAt: string | null;
567
- averageScore?: number | null | undefined;
568
- completedIssues?: number | undefined;
569
- deferredIssues?: number | undefined;
570
- wontfixIssues?: number | undefined;
571
- }, {
572
- totalRuns: number;
573
- totalIssues: number;
574
- openIssues: number;
575
- lastRunAt: string | null;
576
- averageScore?: number | null | undefined;
577
- completedIssues?: number | undefined;
578
- deferredIssues?: number | undefined;
579
- wontfixIssues?: number | undefined;
580
- }>;
322
+ }, z.core.$strip>;
581
323
  export declare const ProjectSummaryResponseSchema: z.ZodObject<{
582
324
  project: z.ZodObject<{
583
325
  id: z.ZodString;
@@ -586,21 +328,7 @@ export declare const ProjectSummaryResponseSchema: z.ZodObject<{
586
328
  createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
587
329
  updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
588
330
  deletedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
589
- }, "strip", z.ZodTypeAny, {
590
- createdAt: string;
591
- name: string;
592
- id: string;
593
- updatedAt?: string | undefined;
594
- deletedAt?: string | null | undefined;
595
- ownerId?: string | undefined;
596
- }, {
597
- createdAt: string;
598
- name: string;
599
- id: string;
600
- updatedAt?: string | undefined;
601
- deletedAt?: string | null | undefined;
602
- ownerId?: string | undefined;
603
- }>;
331
+ }, z.core.$strip>;
604
332
  stats: z.ZodObject<{
605
333
  totalIssues: z.ZodNumber;
606
334
  openIssues: z.ZodNumber;
@@ -610,64 +338,8 @@ export declare const ProjectSummaryResponseSchema: z.ZodObject<{
610
338
  totalRuns: z.ZodNumber;
611
339
  lastRunAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
612
340
  averageScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
613
- }, "strip", z.ZodTypeAny, {
614
- totalRuns: number;
615
- totalIssues: number;
616
- openIssues: number;
617
- lastRunAt: string | null;
618
- averageScore?: number | null | undefined;
619
- completedIssues?: number | undefined;
620
- deferredIssues?: number | undefined;
621
- wontfixIssues?: number | undefined;
622
- }, {
623
- totalRuns: number;
624
- totalIssues: number;
625
- openIssues: number;
626
- lastRunAt: string | null;
627
- averageScore?: number | null | undefined;
628
- completedIssues?: number | undefined;
629
- deferredIssues?: number | undefined;
630
- wontfixIssues?: number | undefined;
631
- }>;
632
- }, "strip", z.ZodTypeAny, {
633
- project: {
634
- createdAt: string;
635
- name: string;
636
- id: string;
637
- updatedAt?: string | undefined;
638
- deletedAt?: string | null | undefined;
639
- ownerId?: string | undefined;
640
- };
641
- stats: {
642
- totalRuns: number;
643
- totalIssues: number;
644
- openIssues: number;
645
- lastRunAt: string | null;
646
- averageScore?: number | null | undefined;
647
- completedIssues?: number | undefined;
648
- deferredIssues?: number | undefined;
649
- wontfixIssues?: number | undefined;
650
- };
651
- }, {
652
- project: {
653
- createdAt: string;
654
- name: string;
655
- id: string;
656
- updatedAt?: string | undefined;
657
- deletedAt?: string | null | undefined;
658
- ownerId?: string | undefined;
659
- };
660
- stats: {
661
- totalRuns: number;
662
- totalIssues: number;
663
- openIssues: number;
664
- lastRunAt: string | null;
665
- averageScore?: number | null | undefined;
666
- completedIssues?: number | undefined;
667
- deferredIssues?: number | undefined;
668
- wontfixIssues?: number | undefined;
669
- };
670
- }>;
341
+ }, z.core.$strip>;
342
+ }, z.core.$strip>;
671
343
  export declare const TrendDataPointResponseSchema: z.ZodObject<{
672
344
  date: z.ZodString;
673
345
  openIssues: z.ZodNumber;
@@ -675,36 +347,62 @@ export declare const TrendDataPointResponseSchema: z.ZodObject<{
675
347
  closedIssues: z.ZodOptional<z.ZodNumber>;
676
348
  newIssues: z.ZodOptional<z.ZodNumber>;
677
349
  resolvedIssues: z.ZodOptional<z.ZodNumber>;
678
- }, "strip", z.ZodTypeAny, {
679
- date: string;
680
- openIssues: number;
681
- completedIssues?: number | undefined;
682
- closedIssues?: number | undefined;
683
- newIssues?: number | undefined;
684
- resolvedIssues?: number | undefined;
685
- }, {
686
- date: string;
687
- openIssues: number;
688
- completedIssues?: number | undefined;
689
- closedIssues?: number | undefined;
690
- newIssues?: number | undefined;
691
- resolvedIssues?: number | undefined;
692
- }>;
350
+ }, z.core.$strip>;
693
351
  export declare const IssueResponseSchema: z.ZodObject<{
694
352
  id: z.ZodString;
695
353
  projectId: z.ZodOptional<z.ZodString>;
696
354
  fingerprint: z.ZodOptional<z.ZodString>;
697
355
  title: z.ZodString;
698
- status: z.ZodOptional<z.ZodEnum<["open", "completed", "deferred", "wontfix", "merged", "false-positive"]>>;
699
- priority: z.ZodEnum<["critical", "suggested", "backlog"]>;
700
- severity: z.ZodOptional<z.ZodNullable<z.ZodEnum<["critical", "high", "medium", "low", "info"]>>>;
356
+ status: z.ZodOptional<z.ZodEnum<{
357
+ open: "open";
358
+ completed: "completed";
359
+ deferred: "deferred";
360
+ wontfix: "wontfix";
361
+ merged: "merged";
362
+ "false-positive": "false-positive";
363
+ }>>;
364
+ priority: z.ZodEnum<{
365
+ critical: "critical";
366
+ suggested: "suggested";
367
+ backlog: "backlog";
368
+ }>;
369
+ severity: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
370
+ critical: "critical";
371
+ high: "high";
372
+ medium: "medium";
373
+ low: "low";
374
+ info: "info";
375
+ }>>>;
701
376
  failureCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
702
- failureDomain: z.ZodOptional<z.ZodNullable<z.ZodEnum<["STR", "SEM", "PRA", "EPI"]>>>;
377
+ failureDomain: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
378
+ STR: "STR";
379
+ SEM: "SEM";
380
+ PRA: "PRA";
381
+ EPI: "EPI";
382
+ }>>>;
703
383
  failureMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
704
- failureSeverityCode: z.ZodOptional<z.ZodNullable<z.ZodEnum<["C", "H", "M", "L", "I"]>>>;
384
+ failureSeverityCode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
385
+ C: "C";
386
+ H: "H";
387
+ M: "M";
388
+ L: "L";
389
+ I: "I";
390
+ }>>>;
705
391
  category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
706
392
  agent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
707
- type: z.ZodOptional<z.ZodNullable<z.ZodEnum<["feature", "bug", "refactor", "config", "docs", "infra", "security", "test", "observation", "deficiency", "ambiguity"]>>>;
393
+ type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
394
+ feature: "feature";
395
+ bug: "bug";
396
+ refactor: "refactor";
397
+ config: "config";
398
+ docs: "docs";
399
+ infra: "infra";
400
+ security: "security";
401
+ test: "test";
402
+ observation: "observation";
403
+ deficiency: "deficiency";
404
+ ambiguity: "ambiguity";
405
+ }>>>;
708
406
  filePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
709
407
  lineNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
710
408
  timesSeen: z.ZodOptional<z.ZodNumber>;
@@ -715,57 +413,7 @@ export declare const IssueResponseSchema: z.ZodObject<{
715
413
  deletedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
716
414
  createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
717
415
  updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
718
- }, "strip", z.ZodTypeAny, {
719
- title: string;
720
- priority: "critical" | "suggested" | "backlog";
721
- id: string;
722
- createdAt?: string | undefined;
723
- updatedAt?: string | undefined;
724
- type?: "feature" | "bug" | "refactor" | "config" | "docs" | "infra" | "security" | "test" | "observation" | "deficiency" | "ambiguity" | null | undefined;
725
- status?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
726
- agent?: string | null | undefined;
727
- severity?: "critical" | "high" | "medium" | "low" | "info" | null | undefined;
728
- failureCode?: string | null | undefined;
729
- failureDomain?: "STR" | "SEM" | "PRA" | "EPI" | null | undefined;
730
- failureMode?: string | null | undefined;
731
- category?: string | null | undefined;
732
- filePath?: string | null | undefined;
733
- lineNumber?: number | null | undefined;
734
- deletedAt?: string | null | undefined;
735
- projectId?: string | undefined;
736
- fingerprint?: string | undefined;
737
- failureSeverityCode?: "C" | "H" | "M" | "L" | "I" | null | undefined;
738
- timesSeen?: number | undefined;
739
- firstSeenRunId?: string | undefined;
740
- lastSeenRunId?: string | undefined;
741
- resolvedAt?: string | null | undefined;
742
- resolutionRunId?: string | null | undefined;
743
- }, {
744
- title: string;
745
- priority: "critical" | "suggested" | "backlog";
746
- id: string;
747
- createdAt?: string | undefined;
748
- updatedAt?: string | undefined;
749
- type?: "feature" | "bug" | "refactor" | "config" | "docs" | "infra" | "security" | "test" | "observation" | "deficiency" | "ambiguity" | null | undefined;
750
- status?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
751
- agent?: string | null | undefined;
752
- severity?: "critical" | "high" | "medium" | "low" | "info" | null | undefined;
753
- failureCode?: string | null | undefined;
754
- failureDomain?: "STR" | "SEM" | "PRA" | "EPI" | null | undefined;
755
- failureMode?: string | null | undefined;
756
- category?: string | null | undefined;
757
- filePath?: string | null | undefined;
758
- lineNumber?: number | null | undefined;
759
- deletedAt?: string | null | undefined;
760
- projectId?: string | undefined;
761
- fingerprint?: string | undefined;
762
- failureSeverityCode?: "C" | "H" | "M" | "L" | "I" | null | undefined;
763
- timesSeen?: number | undefined;
764
- firstSeenRunId?: string | undefined;
765
- lastSeenRunId?: string | undefined;
766
- resolvedAt?: string | null | undefined;
767
- resolutionRunId?: string | null | undefined;
768
- }>;
416
+ }, z.core.$strip>;
769
417
  export declare const OccurrenceResponseSchema: z.ZodObject<{
770
418
  id: z.ZodOptional<z.ZodString>;
771
419
  issueId: z.ZodOptional<z.ZodString>;
@@ -774,104 +422,126 @@ export declare const OccurrenceResponseSchema: z.ZodObject<{
774
422
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
775
423
  filePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
776
424
  lineNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
777
- classificationConfidence: z.ZodOptional<z.ZodNullable<z.ZodEnum<["high", "medium", "low"]>>>;
778
- classifiedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<["validator", "classifier", "human"]>>>;
425
+ classificationConfidence: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
426
+ high: "high";
427
+ medium: "medium";
428
+ low: "low";
429
+ }>>>;
430
+ classifiedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
431
+ validator: "validator";
432
+ classifier: "classifier";
433
+ human: "human";
434
+ }>>>;
779
435
  timestamp: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
780
436
  createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
781
- }, "strip", z.ZodTypeAny, {
782
- runId: string;
783
- createdAt?: string | undefined;
784
- filePath?: string | null | undefined;
785
- lineNumber?: number | null | undefined;
786
- description?: string | null | undefined;
787
- classificationConfidence?: "high" | "medium" | "low" | null | undefined;
788
- classifiedBy?: "validator" | "classifier" | "human" | null | undefined;
789
- timestamp?: string | undefined;
790
- issueId?: string | undefined;
791
- id?: string | undefined;
792
- agentName?: string | undefined;
793
- }, {
794
- runId: string;
795
- createdAt?: string | undefined;
796
- filePath?: string | null | undefined;
797
- lineNumber?: number | null | undefined;
798
- description?: string | null | undefined;
799
- classificationConfidence?: "high" | "medium" | "low" | null | undefined;
800
- classifiedBy?: "validator" | "classifier" | "human" | null | undefined;
801
- timestamp?: string | undefined;
802
- issueId?: string | undefined;
803
- id?: string | undefined;
804
- agentName?: string | undefined;
805
- }>;
437
+ }, z.core.$strip>;
806
438
  export declare const IssueNoteResponseSchema: z.ZodObject<{
807
439
  id: z.ZodString;
808
440
  issueId: z.ZodOptional<z.ZodString>;
809
441
  content: z.ZodString;
810
- noteType: z.ZodEnum<["context", "resolution", "blocker"]>;
442
+ noteType: z.ZodEnum<{
443
+ context: "context";
444
+ resolution: "resolution";
445
+ blocker: "blocker";
446
+ }>;
811
447
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
812
448
  createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
813
- }, "strip", z.ZodTypeAny, {
814
- createdAt: string;
815
- content: string;
816
- noteType: "context" | "resolution" | "blocker";
817
- id: string;
818
- createdBy?: string | null | undefined;
819
- issueId?: string | undefined;
820
- }, {
821
- createdAt: string;
822
- content: string;
823
- noteType: "context" | "resolution" | "blocker";
824
- id: string;
825
- createdBy?: string | null | undefined;
826
- issueId?: string | undefined;
827
- }>;
449
+ }, z.core.$strip>;
828
450
  export declare const StatusHistoryResponseSchema: z.ZodObject<{
829
451
  id: z.ZodOptional<z.ZodString>;
830
452
  issueId: z.ZodOptional<z.ZodString>;
831
- oldStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["open", "completed", "deferred", "wontfix", "merged", "false-positive"]>>>;
832
- from: z.ZodOptional<z.ZodNullable<z.ZodEnum<["open", "completed", "deferred", "wontfix", "merged", "false-positive"]>>>;
833
- newStatus: z.ZodOptional<z.ZodEnum<["open", "completed", "deferred", "wontfix", "merged", "false-positive"]>>;
834
- to: z.ZodOptional<z.ZodEnum<["open", "completed", "deferred", "wontfix", "merged", "false-positive"]>>;
453
+ oldStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
454
+ open: "open";
455
+ completed: "completed";
456
+ deferred: "deferred";
457
+ wontfix: "wontfix";
458
+ merged: "merged";
459
+ "false-positive": "false-positive";
460
+ }>>>;
461
+ from: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
462
+ open: "open";
463
+ completed: "completed";
464
+ deferred: "deferred";
465
+ wontfix: "wontfix";
466
+ merged: "merged";
467
+ "false-positive": "false-positive";
468
+ }>>>;
469
+ newStatus: z.ZodOptional<z.ZodEnum<{
470
+ open: "open";
471
+ completed: "completed";
472
+ deferred: "deferred";
473
+ wontfix: "wontfix";
474
+ merged: "merged";
475
+ "false-positive": "false-positive";
476
+ }>>;
477
+ to: z.ZodOptional<z.ZodEnum<{
478
+ open: "open";
479
+ completed: "completed";
480
+ deferred: "deferred";
481
+ wontfix: "wontfix";
482
+ merged: "merged";
483
+ "false-positive": "false-positive";
484
+ }>>;
835
485
  reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
836
486
  changedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
837
487
  timestamp: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
838
- }, "strip", z.ZodTypeAny, {
839
- timestamp?: string | undefined;
840
- reason?: string | null | undefined;
841
- issueId?: string | undefined;
842
- id?: string | undefined;
843
- oldStatus?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | null | undefined;
844
- from?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | null | undefined;
845
- newStatus?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
846
- to?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
847
- changedAt?: string | undefined;
848
- }, {
849
- timestamp?: string | undefined;
850
- reason?: string | null | undefined;
851
- issueId?: string | undefined;
852
- id?: string | undefined;
853
- oldStatus?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | null | undefined;
854
- from?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | null | undefined;
855
- newStatus?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
856
- to?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
857
- changedAt?: string | undefined;
858
- }>;
488
+ }, z.core.$strip>;
859
489
  export declare const IssueDetailsResponseSchema: z.ZodObject<{
860
490
  issue: z.ZodObject<{
861
491
  id: z.ZodString;
862
492
  projectId: z.ZodOptional<z.ZodString>;
863
493
  fingerprint: z.ZodOptional<z.ZodString>;
864
494
  title: z.ZodString;
865
- status: z.ZodOptional<z.ZodEnum<["open", "completed", "deferred", "wontfix", "merged", "false-positive"]>>;
866
- priority: z.ZodEnum<["critical", "suggested", "backlog"]>;
867
- severity: z.ZodOptional<z.ZodNullable<z.ZodEnum<["critical", "high", "medium", "low", "info"]>>>;
495
+ status: z.ZodOptional<z.ZodEnum<{
496
+ open: "open";
497
+ completed: "completed";
498
+ deferred: "deferred";
499
+ wontfix: "wontfix";
500
+ merged: "merged";
501
+ "false-positive": "false-positive";
502
+ }>>;
503
+ priority: z.ZodEnum<{
504
+ critical: "critical";
505
+ suggested: "suggested";
506
+ backlog: "backlog";
507
+ }>;
508
+ severity: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
509
+ critical: "critical";
510
+ high: "high";
511
+ medium: "medium";
512
+ low: "low";
513
+ info: "info";
514
+ }>>>;
868
515
  failureCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
869
- failureDomain: z.ZodOptional<z.ZodNullable<z.ZodEnum<["STR", "SEM", "PRA", "EPI"]>>>;
516
+ failureDomain: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
517
+ STR: "STR";
518
+ SEM: "SEM";
519
+ PRA: "PRA";
520
+ EPI: "EPI";
521
+ }>>>;
870
522
  failureMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
871
- failureSeverityCode: z.ZodOptional<z.ZodNullable<z.ZodEnum<["C", "H", "M", "L", "I"]>>>;
523
+ failureSeverityCode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
524
+ C: "C";
525
+ H: "H";
526
+ M: "M";
527
+ L: "L";
528
+ I: "I";
529
+ }>>>;
872
530
  category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
873
531
  agent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
874
- type: z.ZodOptional<z.ZodNullable<z.ZodEnum<["feature", "bug", "refactor", "config", "docs", "infra", "security", "test", "observation", "deficiency", "ambiguity"]>>>;
532
+ type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
533
+ feature: "feature";
534
+ bug: "bug";
535
+ refactor: "refactor";
536
+ config: "config";
537
+ docs: "docs";
538
+ infra: "infra";
539
+ security: "security";
540
+ test: "test";
541
+ observation: "observation";
542
+ deficiency: "deficiency";
543
+ ambiguity: "ambiguity";
544
+ }>>>;
875
545
  filePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
876
546
  lineNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
877
547
  timesSeen: z.ZodOptional<z.ZodNumber>;
@@ -882,57 +552,7 @@ export declare const IssueDetailsResponseSchema: z.ZodObject<{
882
552
  deletedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
883
553
  createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
884
554
  updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
885
- }, "strip", z.ZodTypeAny, {
886
- title: string;
887
- priority: "critical" | "suggested" | "backlog";
888
- id: string;
889
- createdAt?: string | undefined;
890
- updatedAt?: string | undefined;
891
- type?: "feature" | "bug" | "refactor" | "config" | "docs" | "infra" | "security" | "test" | "observation" | "deficiency" | "ambiguity" | null | undefined;
892
- status?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
893
- agent?: string | null | undefined;
894
- severity?: "critical" | "high" | "medium" | "low" | "info" | null | undefined;
895
- failureCode?: string | null | undefined;
896
- failureDomain?: "STR" | "SEM" | "PRA" | "EPI" | null | undefined;
897
- failureMode?: string | null | undefined;
898
- category?: string | null | undefined;
899
- filePath?: string | null | undefined;
900
- lineNumber?: number | null | undefined;
901
- deletedAt?: string | null | undefined;
902
- projectId?: string | undefined;
903
- fingerprint?: string | undefined;
904
- failureSeverityCode?: "C" | "H" | "M" | "L" | "I" | null | undefined;
905
- timesSeen?: number | undefined;
906
- firstSeenRunId?: string | undefined;
907
- lastSeenRunId?: string | undefined;
908
- resolvedAt?: string | null | undefined;
909
- resolutionRunId?: string | null | undefined;
910
- }, {
911
- title: string;
912
- priority: "critical" | "suggested" | "backlog";
913
- id: string;
914
- createdAt?: string | undefined;
915
- updatedAt?: string | undefined;
916
- type?: "feature" | "bug" | "refactor" | "config" | "docs" | "infra" | "security" | "test" | "observation" | "deficiency" | "ambiguity" | null | undefined;
917
- status?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
918
- agent?: string | null | undefined;
919
- severity?: "critical" | "high" | "medium" | "low" | "info" | null | undefined;
920
- failureCode?: string | null | undefined;
921
- failureDomain?: "STR" | "SEM" | "PRA" | "EPI" | null | undefined;
922
- failureMode?: string | null | undefined;
923
- category?: string | null | undefined;
924
- filePath?: string | null | undefined;
925
- lineNumber?: number | null | undefined;
926
- deletedAt?: string | null | undefined;
927
- projectId?: string | undefined;
928
- fingerprint?: string | undefined;
929
- failureSeverityCode?: "C" | "H" | "M" | "L" | "I" | null | undefined;
930
- timesSeen?: number | undefined;
931
- firstSeenRunId?: string | undefined;
932
- lastSeenRunId?: string | undefined;
933
- resolvedAt?: string | null | undefined;
934
- resolutionRunId?: string | null | undefined;
935
- }>;
555
+ }, z.core.$strip>;
936
556
  occurrences: z.ZodArray<z.ZodObject<{
937
557
  id: z.ZodOptional<z.ZodString>;
938
558
  issueId: z.ZodOptional<z.ZodString>;
@@ -941,232 +561,94 @@ export declare const IssueDetailsResponseSchema: z.ZodObject<{
941
561
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
942
562
  filePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
943
563
  lineNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
944
- classificationConfidence: z.ZodOptional<z.ZodNullable<z.ZodEnum<["high", "medium", "low"]>>>;
945
- classifiedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<["validator", "classifier", "human"]>>>;
564
+ classificationConfidence: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
565
+ high: "high";
566
+ medium: "medium";
567
+ low: "low";
568
+ }>>>;
569
+ classifiedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
570
+ validator: "validator";
571
+ classifier: "classifier";
572
+ human: "human";
573
+ }>>>;
946
574
  timestamp: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
947
575
  createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
948
- }, "strip", z.ZodTypeAny, {
949
- runId: string;
950
- createdAt?: string | undefined;
951
- filePath?: string | null | undefined;
952
- lineNumber?: number | null | undefined;
953
- description?: string | null | undefined;
954
- classificationConfidence?: "high" | "medium" | "low" | null | undefined;
955
- classifiedBy?: "validator" | "classifier" | "human" | null | undefined;
956
- timestamp?: string | undefined;
957
- issueId?: string | undefined;
958
- id?: string | undefined;
959
- agentName?: string | undefined;
960
- }, {
961
- runId: string;
962
- createdAt?: string | undefined;
963
- filePath?: string | null | undefined;
964
- lineNumber?: number | null | undefined;
965
- description?: string | null | undefined;
966
- classificationConfidence?: "high" | "medium" | "low" | null | undefined;
967
- classifiedBy?: "validator" | "classifier" | "human" | null | undefined;
968
- timestamp?: string | undefined;
969
- issueId?: string | undefined;
970
- id?: string | undefined;
971
- agentName?: string | undefined;
972
- }>, "many">;
576
+ }, z.core.$strip>>;
973
577
  notes: z.ZodArray<z.ZodObject<{
974
578
  id: z.ZodString;
975
579
  issueId: z.ZodOptional<z.ZodString>;
976
580
  content: z.ZodString;
977
- noteType: z.ZodEnum<["context", "resolution", "blocker"]>;
581
+ noteType: z.ZodEnum<{
582
+ context: "context";
583
+ resolution: "resolution";
584
+ blocker: "blocker";
585
+ }>;
978
586
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
979
587
  createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
980
- }, "strip", z.ZodTypeAny, {
981
- createdAt: string;
982
- content: string;
983
- noteType: "context" | "resolution" | "blocker";
984
- id: string;
985
- createdBy?: string | null | undefined;
986
- issueId?: string | undefined;
987
- }, {
988
- createdAt: string;
989
- content: string;
990
- noteType: "context" | "resolution" | "blocker";
991
- id: string;
992
- createdBy?: string | null | undefined;
993
- issueId?: string | undefined;
994
- }>, "many">;
588
+ }, z.core.$strip>>;
995
589
  history: z.ZodOptional<z.ZodArray<z.ZodObject<{
996
590
  id: z.ZodOptional<z.ZodString>;
997
591
  issueId: z.ZodOptional<z.ZodString>;
998
- oldStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["open", "completed", "deferred", "wontfix", "merged", "false-positive"]>>>;
999
- from: z.ZodOptional<z.ZodNullable<z.ZodEnum<["open", "completed", "deferred", "wontfix", "merged", "false-positive"]>>>;
1000
- newStatus: z.ZodOptional<z.ZodEnum<["open", "completed", "deferred", "wontfix", "merged", "false-positive"]>>;
1001
- to: z.ZodOptional<z.ZodEnum<["open", "completed", "deferred", "wontfix", "merged", "false-positive"]>>;
592
+ oldStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
593
+ open: "open";
594
+ completed: "completed";
595
+ deferred: "deferred";
596
+ wontfix: "wontfix";
597
+ merged: "merged";
598
+ "false-positive": "false-positive";
599
+ }>>>;
600
+ from: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
601
+ open: "open";
602
+ completed: "completed";
603
+ deferred: "deferred";
604
+ wontfix: "wontfix";
605
+ merged: "merged";
606
+ "false-positive": "false-positive";
607
+ }>>>;
608
+ newStatus: z.ZodOptional<z.ZodEnum<{
609
+ open: "open";
610
+ completed: "completed";
611
+ deferred: "deferred";
612
+ wontfix: "wontfix";
613
+ merged: "merged";
614
+ "false-positive": "false-positive";
615
+ }>>;
616
+ to: z.ZodOptional<z.ZodEnum<{
617
+ open: "open";
618
+ completed: "completed";
619
+ deferred: "deferred";
620
+ wontfix: "wontfix";
621
+ merged: "merged";
622
+ "false-positive": "false-positive";
623
+ }>>;
1002
624
  reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1003
625
  changedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
1004
626
  timestamp: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
1005
- }, "strip", z.ZodTypeAny, {
1006
- timestamp?: string | undefined;
1007
- reason?: string | null | undefined;
1008
- issueId?: string | undefined;
1009
- id?: string | undefined;
1010
- oldStatus?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | null | undefined;
1011
- from?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | null | undefined;
1012
- newStatus?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
1013
- to?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
1014
- changedAt?: string | undefined;
1015
- }, {
1016
- timestamp?: string | undefined;
1017
- reason?: string | null | undefined;
1018
- issueId?: string | undefined;
1019
- id?: string | undefined;
1020
- oldStatus?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | null | undefined;
1021
- from?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | null | undefined;
1022
- newStatus?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
1023
- to?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
1024
- changedAt?: string | undefined;
1025
- }>, "many">>;
1026
- }, "strip", z.ZodTypeAny, {
1027
- issue: {
1028
- title: string;
1029
- priority: "critical" | "suggested" | "backlog";
1030
- id: string;
1031
- createdAt?: string | undefined;
1032
- updatedAt?: string | undefined;
1033
- type?: "feature" | "bug" | "refactor" | "config" | "docs" | "infra" | "security" | "test" | "observation" | "deficiency" | "ambiguity" | null | undefined;
1034
- status?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
1035
- agent?: string | null | undefined;
1036
- severity?: "critical" | "high" | "medium" | "low" | "info" | null | undefined;
1037
- failureCode?: string | null | undefined;
1038
- failureDomain?: "STR" | "SEM" | "PRA" | "EPI" | null | undefined;
1039
- failureMode?: string | null | undefined;
1040
- category?: string | null | undefined;
1041
- filePath?: string | null | undefined;
1042
- lineNumber?: number | null | undefined;
1043
- deletedAt?: string | null | undefined;
1044
- projectId?: string | undefined;
1045
- fingerprint?: string | undefined;
1046
- failureSeverityCode?: "C" | "H" | "M" | "L" | "I" | null | undefined;
1047
- timesSeen?: number | undefined;
1048
- firstSeenRunId?: string | undefined;
1049
- lastSeenRunId?: string | undefined;
1050
- resolvedAt?: string | null | undefined;
1051
- resolutionRunId?: string | null | undefined;
1052
- };
1053
- occurrences: {
1054
- runId: string;
1055
- createdAt?: string | undefined;
1056
- filePath?: string | null | undefined;
1057
- lineNumber?: number | null | undefined;
1058
- description?: string | null | undefined;
1059
- classificationConfidence?: "high" | "medium" | "low" | null | undefined;
1060
- classifiedBy?: "validator" | "classifier" | "human" | null | undefined;
1061
- timestamp?: string | undefined;
1062
- issueId?: string | undefined;
1063
- id?: string | undefined;
1064
- agentName?: string | undefined;
1065
- }[];
1066
- notes: {
1067
- createdAt: string;
1068
- content: string;
1069
- noteType: "context" | "resolution" | "blocker";
1070
- id: string;
1071
- createdBy?: string | null | undefined;
1072
- issueId?: string | undefined;
1073
- }[];
1074
- history?: {
1075
- timestamp?: string | undefined;
1076
- reason?: string | null | undefined;
1077
- issueId?: string | undefined;
1078
- id?: string | undefined;
1079
- oldStatus?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | null | undefined;
1080
- from?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | null | undefined;
1081
- newStatus?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
1082
- to?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
1083
- changedAt?: string | undefined;
1084
- }[] | undefined;
1085
- }, {
1086
- issue: {
1087
- title: string;
1088
- priority: "critical" | "suggested" | "backlog";
1089
- id: string;
1090
- createdAt?: string | undefined;
1091
- updatedAt?: string | undefined;
1092
- type?: "feature" | "bug" | "refactor" | "config" | "docs" | "infra" | "security" | "test" | "observation" | "deficiency" | "ambiguity" | null | undefined;
1093
- status?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
1094
- agent?: string | null | undefined;
1095
- severity?: "critical" | "high" | "medium" | "low" | "info" | null | undefined;
1096
- failureCode?: string | null | undefined;
1097
- failureDomain?: "STR" | "SEM" | "PRA" | "EPI" | null | undefined;
1098
- failureMode?: string | null | undefined;
1099
- category?: string | null | undefined;
1100
- filePath?: string | null | undefined;
1101
- lineNumber?: number | null | undefined;
1102
- deletedAt?: string | null | undefined;
1103
- projectId?: string | undefined;
1104
- fingerprint?: string | undefined;
1105
- failureSeverityCode?: "C" | "H" | "M" | "L" | "I" | null | undefined;
1106
- timesSeen?: number | undefined;
1107
- firstSeenRunId?: string | undefined;
1108
- lastSeenRunId?: string | undefined;
1109
- resolvedAt?: string | null | undefined;
1110
- resolutionRunId?: string | null | undefined;
1111
- };
1112
- occurrences: {
1113
- runId: string;
1114
- createdAt?: string | undefined;
1115
- filePath?: string | null | undefined;
1116
- lineNumber?: number | null | undefined;
1117
- description?: string | null | undefined;
1118
- classificationConfidence?: "high" | "medium" | "low" | null | undefined;
1119
- classifiedBy?: "validator" | "classifier" | "human" | null | undefined;
1120
- timestamp?: string | undefined;
1121
- issueId?: string | undefined;
1122
- id?: string | undefined;
1123
- agentName?: string | undefined;
1124
- }[];
1125
- notes: {
1126
- createdAt: string;
1127
- content: string;
1128
- noteType: "context" | "resolution" | "blocker";
1129
- id: string;
1130
- createdBy?: string | null | undefined;
1131
- issueId?: string | undefined;
1132
- }[];
1133
- history?: {
1134
- timestamp?: string | undefined;
1135
- reason?: string | null | undefined;
1136
- issueId?: string | undefined;
1137
- id?: string | undefined;
1138
- oldStatus?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | null | undefined;
1139
- from?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | null | undefined;
1140
- newStatus?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
1141
- to?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
1142
- changedAt?: string | undefined;
1143
- }[] | undefined;
1144
- }>;
627
+ }, z.core.$strip>>>;
628
+ }, z.core.$strip>;
1145
629
  export declare const StatusUpdateResultResponseSchema: z.ZodObject<{
1146
630
  id: z.ZodOptional<z.ZodString>;
1147
631
  issueId: z.ZodOptional<z.ZodString>;
1148
632
  fingerprint: z.ZodOptional<z.ZodString>;
1149
- previousStatus: z.ZodEnum<["open", "completed", "deferred", "wontfix", "merged", "false-positive"]>;
1150
- newStatus: z.ZodEnum<["open", "completed", "deferred", "wontfix", "merged", "false-positive"]>;
633
+ previousStatus: z.ZodEnum<{
634
+ open: "open";
635
+ completed: "completed";
636
+ deferred: "deferred";
637
+ wontfix: "wontfix";
638
+ merged: "merged";
639
+ "false-positive": "false-positive";
640
+ }>;
641
+ newStatus: z.ZodEnum<{
642
+ open: "open";
643
+ completed: "completed";
644
+ deferred: "deferred";
645
+ wontfix: "wontfix";
646
+ merged: "merged";
647
+ "false-positive": "false-positive";
648
+ }>;
1151
649
  updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
1152
650
  success: z.ZodOptional<z.ZodBoolean>;
1153
- }, "strip", z.ZodTypeAny, {
1154
- newStatus: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive";
1155
- previousStatus: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive";
1156
- updatedAt?: string | undefined;
1157
- issueId?: string | undefined;
1158
- id?: string | undefined;
1159
- fingerprint?: string | undefined;
1160
- success?: boolean | undefined;
1161
- }, {
1162
- newStatus: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive";
1163
- previousStatus: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive";
1164
- updatedAt?: string | undefined;
1165
- issueId?: string | undefined;
1166
- id?: string | undefined;
1167
- fingerprint?: string | undefined;
1168
- success?: boolean | undefined;
1169
- }>;
651
+ }, z.core.$strip>;
1170
652
  export declare const RunResponseSchema: z.ZodObject<{
1171
653
  id: z.ZodString;
1172
654
  projectId: z.ZodOptional<z.ZodString>;
@@ -1181,35 +663,7 @@ export declare const RunResponseSchema: z.ZodObject<{
1181
663
  idempotencyKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1182
664
  createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
1183
665
  updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
1184
- }, "strip", z.ZodTypeAny, {
1185
- workflowType: string;
1186
- timestamp: string;
1187
- allGatesPassed: boolean;
1188
- id: string;
1189
- runNumber: number;
1190
- createdAt?: string | undefined;
1191
- updatedAt?: string | undefined;
1192
- rawMarkdown?: string | null | undefined;
1193
- averageScore?: number | null | undefined;
1194
- idempotencyKey?: string | null | undefined;
1195
- projectId?: string | undefined;
1196
- archivedAt?: string | null | undefined;
1197
- archiveReason?: string | null | undefined;
1198
- }, {
1199
- workflowType: string;
1200
- timestamp: string;
1201
- allGatesPassed: boolean;
1202
- id: string;
1203
- runNumber: number;
1204
- createdAt?: string | undefined;
1205
- updatedAt?: string | undefined;
1206
- rawMarkdown?: string | null | undefined;
1207
- averageScore?: number | null | undefined;
1208
- idempotencyKey?: string | null | undefined;
1209
- projectId?: string | undefined;
1210
- archivedAt?: string | null | undefined;
1211
- archiveReason?: string | null | undefined;
1212
- }>;
666
+ }, z.core.$strip>;
1213
667
  export declare const AgentSnapshotResponseSchema: z.ZodObject<{
1214
668
  id: z.ZodOptional<z.ZodString>;
1215
669
  runId: z.ZodOptional<z.ZodString>;
@@ -1226,52 +680,12 @@ export declare const AgentSnapshotResponseSchema: z.ZodObject<{
1226
680
  durationMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1227
681
  createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
1228
682
  updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
1229
- }, "strip", z.ZodTypeAny, {
1230
- status: string;
1231
- name: string;
1232
- score: number;
1233
- createdAt?: string | undefined;
1234
- updatedAt?: string | undefined;
1235
- inputTokens?: number | null | undefined;
1236
- outputTokens?: number | null | undefined;
1237
- cacheCreationTokens?: number | null | undefined;
1238
- cacheReadTokens?: number | null | undefined;
1239
- totalEffectiveTokens?: number | null | undefined;
1240
- maxScore?: number | undefined;
1241
- model?: string | null | undefined;
1242
- durationMs?: number | null | undefined;
1243
- id?: string | undefined;
1244
- runId?: string | undefined;
1245
- }, {
1246
- status: string;
1247
- name: string;
1248
- score: number;
1249
- createdAt?: string | undefined;
1250
- updatedAt?: string | undefined;
1251
- inputTokens?: number | null | undefined;
1252
- outputTokens?: number | null | undefined;
1253
- cacheCreationTokens?: number | null | undefined;
1254
- cacheReadTokens?: number | null | undefined;
1255
- totalEffectiveTokens?: number | null | undefined;
1256
- maxScore?: number | undefined;
1257
- model?: string | null | undefined;
1258
- durationMs?: number | null | undefined;
1259
- id?: string | undefined;
1260
- runId?: string | undefined;
1261
- }>;
683
+ }, z.core.$strip>;
1262
684
  export declare const CorrelationResultResponseSchema: z.ZodObject<{
1263
685
  newIssues: z.ZodNumber;
1264
686
  recurringIssues: z.ZodNumber;
1265
687
  regressions: z.ZodNumber;
1266
- }, "strip", z.ZodTypeAny, {
1267
- newIssues: number;
1268
- recurringIssues: number;
1269
- regressions: number;
1270
- }, {
1271
- newIssues: number;
1272
- recurringIssues: number;
1273
- regressions: number;
1274
- }>;
688
+ }, z.core.$strip>;
1275
689
  export declare const SaveRunResponseSchema: z.ZodObject<{
1276
690
  run: z.ZodObject<{
1277
691
  id: z.ZodString;
@@ -1287,35 +701,7 @@ export declare const SaveRunResponseSchema: z.ZodObject<{
1287
701
  idempotencyKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1288
702
  createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
1289
703
  updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
1290
- }, "strip", z.ZodTypeAny, {
1291
- workflowType: string;
1292
- timestamp: string;
1293
- allGatesPassed: boolean;
1294
- id: string;
1295
- runNumber: number;
1296
- createdAt?: string | undefined;
1297
- updatedAt?: string | undefined;
1298
- rawMarkdown?: string | null | undefined;
1299
- averageScore?: number | null | undefined;
1300
- idempotencyKey?: string | null | undefined;
1301
- projectId?: string | undefined;
1302
- archivedAt?: string | null | undefined;
1303
- archiveReason?: string | null | undefined;
1304
- }, {
1305
- workflowType: string;
1306
- timestamp: string;
1307
- allGatesPassed: boolean;
1308
- id: string;
1309
- runNumber: number;
1310
- createdAt?: string | undefined;
1311
- updatedAt?: string | undefined;
1312
- rawMarkdown?: string | null | undefined;
1313
- averageScore?: number | null | undefined;
1314
- idempotencyKey?: string | null | undefined;
1315
- projectId?: string | undefined;
1316
- archivedAt?: string | null | undefined;
1317
- archiveReason?: string | null | undefined;
1318
- }>;
704
+ }, z.core.$strip>;
1319
705
  agents: z.ZodArray<z.ZodObject<{
1320
706
  id: z.ZodOptional<z.ZodString>;
1321
707
  runId: z.ZodOptional<z.ZodString>;
@@ -1332,158 +718,24 @@ export declare const SaveRunResponseSchema: z.ZodObject<{
1332
718
  durationMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1333
719
  createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
1334
720
  updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
1335
- }, "strip", z.ZodTypeAny, {
1336
- status: string;
1337
- name: string;
1338
- score: number;
1339
- createdAt?: string | undefined;
1340
- updatedAt?: string | undefined;
1341
- inputTokens?: number | null | undefined;
1342
- outputTokens?: number | null | undefined;
1343
- cacheCreationTokens?: number | null | undefined;
1344
- cacheReadTokens?: number | null | undefined;
1345
- totalEffectiveTokens?: number | null | undefined;
1346
- maxScore?: number | undefined;
1347
- model?: string | null | undefined;
1348
- durationMs?: number | null | undefined;
1349
- id?: string | undefined;
1350
- runId?: string | undefined;
1351
- }, {
1352
- status: string;
1353
- name: string;
1354
- score: number;
1355
- createdAt?: string | undefined;
1356
- updatedAt?: string | undefined;
1357
- inputTokens?: number | null | undefined;
1358
- outputTokens?: number | null | undefined;
1359
- cacheCreationTokens?: number | null | undefined;
1360
- cacheReadTokens?: number | null | undefined;
1361
- totalEffectiveTokens?: number | null | undefined;
1362
- maxScore?: number | undefined;
1363
- model?: string | null | undefined;
1364
- durationMs?: number | null | undefined;
1365
- id?: string | undefined;
1366
- runId?: string | undefined;
1367
- }>, "many">;
721
+ }, z.core.$strip>>;
1368
722
  correlation: z.ZodObject<{
1369
723
  newIssues: z.ZodNumber;
1370
724
  recurringIssues: z.ZodNumber;
1371
725
  regressions: z.ZodNumber;
1372
- }, "strip", z.ZodTypeAny, {
1373
- newIssues: number;
1374
- recurringIssues: number;
1375
- regressions: number;
1376
- }, {
1377
- newIssues: number;
1378
- recurringIssues: number;
1379
- regressions: number;
1380
- }>;
726
+ }, z.core.$strip>;
1381
727
  deduplicated: z.ZodBoolean;
1382
- }, "strip", z.ZodTypeAny, {
1383
- agents: {
1384
- status: string;
1385
- name: string;
1386
- score: number;
1387
- createdAt?: string | undefined;
1388
- updatedAt?: string | undefined;
1389
- inputTokens?: number | null | undefined;
1390
- outputTokens?: number | null | undefined;
1391
- cacheCreationTokens?: number | null | undefined;
1392
- cacheReadTokens?: number | null | undefined;
1393
- totalEffectiveTokens?: number | null | undefined;
1394
- maxScore?: number | undefined;
1395
- model?: string | null | undefined;
1396
- durationMs?: number | null | undefined;
1397
- id?: string | undefined;
1398
- runId?: string | undefined;
1399
- }[];
1400
- run: {
1401
- workflowType: string;
1402
- timestamp: string;
1403
- allGatesPassed: boolean;
1404
- id: string;
1405
- runNumber: number;
1406
- createdAt?: string | undefined;
1407
- updatedAt?: string | undefined;
1408
- rawMarkdown?: string | null | undefined;
1409
- averageScore?: number | null | undefined;
1410
- idempotencyKey?: string | null | undefined;
1411
- projectId?: string | undefined;
1412
- archivedAt?: string | null | undefined;
1413
- archiveReason?: string | null | undefined;
1414
- };
1415
- correlation: {
1416
- newIssues: number;
1417
- recurringIssues: number;
1418
- regressions: number;
1419
- };
1420
- deduplicated: boolean;
1421
- }, {
1422
- agents: {
1423
- status: string;
1424
- name: string;
1425
- score: number;
1426
- createdAt?: string | undefined;
1427
- updatedAt?: string | undefined;
1428
- inputTokens?: number | null | undefined;
1429
- outputTokens?: number | null | undefined;
1430
- cacheCreationTokens?: number | null | undefined;
1431
- cacheReadTokens?: number | null | undefined;
1432
- totalEffectiveTokens?: number | null | undefined;
1433
- maxScore?: number | undefined;
1434
- model?: string | null | undefined;
1435
- durationMs?: number | null | undefined;
1436
- id?: string | undefined;
1437
- runId?: string | undefined;
1438
- }[];
1439
- run: {
1440
- workflowType: string;
1441
- timestamp: string;
1442
- allGatesPassed: boolean;
1443
- id: string;
1444
- runNumber: number;
1445
- createdAt?: string | undefined;
1446
- updatedAt?: string | undefined;
1447
- rawMarkdown?: string | null | undefined;
1448
- averageScore?: number | null | undefined;
1449
- idempotencyKey?: string | null | undefined;
1450
- projectId?: string | undefined;
1451
- archivedAt?: string | null | undefined;
1452
- archiveReason?: string | null | undefined;
1453
- };
1454
- correlation: {
1455
- newIssues: number;
1456
- recurringIssues: number;
1457
- regressions: number;
1458
- };
1459
- deduplicated: boolean;
1460
- }>;
728
+ }, z.core.$strip>;
1461
729
  export declare const DiffIssueRefResponseSchema: z.ZodObject<{
1462
730
  issueId: z.ZodString;
1463
731
  title: z.ZodString;
1464
- }, "strip", z.ZodTypeAny, {
1465
- title: string;
1466
- issueId: string;
1467
- }, {
1468
- title: string;
1469
- issueId: string;
1470
- }>;
732
+ }, z.core.$strip>;
1471
733
  export declare const AgentChangeResponseSchema: z.ZodObject<{
1472
734
  name: z.ZodString;
1473
735
  baseScore: z.ZodNumber;
1474
736
  compareScore: z.ZodNumber;
1475
737
  change: z.ZodNumber;
1476
- }, "strip", z.ZodTypeAny, {
1477
- name: string;
1478
- baseScore: number;
1479
- compareScore: number;
1480
- change: number;
1481
- }, {
1482
- name: string;
1483
- baseScore: number;
1484
- compareScore: number;
1485
- change: number;
1486
- }>;
738
+ }, z.core.$strip>;
1487
739
  export declare const RunDiffResultResponseSchema: z.ZodObject<{
1488
740
  baseRun: z.ZodObject<{
1489
741
  id: z.ZodString;
@@ -1499,35 +751,7 @@ export declare const RunDiffResultResponseSchema: z.ZodObject<{
1499
751
  idempotencyKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1500
752
  createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
1501
753
  updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
1502
- }, "strip", z.ZodTypeAny, {
1503
- workflowType: string;
1504
- timestamp: string;
1505
- allGatesPassed: boolean;
1506
- id: string;
1507
- runNumber: number;
1508
- createdAt?: string | undefined;
1509
- updatedAt?: string | undefined;
1510
- rawMarkdown?: string | null | undefined;
1511
- averageScore?: number | null | undefined;
1512
- idempotencyKey?: string | null | undefined;
1513
- projectId?: string | undefined;
1514
- archivedAt?: string | null | undefined;
1515
- archiveReason?: string | null | undefined;
1516
- }, {
1517
- workflowType: string;
1518
- timestamp: string;
1519
- allGatesPassed: boolean;
1520
- id: string;
1521
- runNumber: number;
1522
- createdAt?: string | undefined;
1523
- updatedAt?: string | undefined;
1524
- rawMarkdown?: string | null | undefined;
1525
- averageScore?: number | null | undefined;
1526
- idempotencyKey?: string | null | undefined;
1527
- projectId?: string | undefined;
1528
- archivedAt?: string | null | undefined;
1529
- archiveReason?: string | null | undefined;
1530
- }>;
754
+ }, z.core.$strip>;
1531
755
  compareRun: z.ZodObject<{
1532
756
  id: z.ZodString;
1533
757
  projectId: z.ZodOptional<z.ZodString>;
@@ -1542,180 +766,26 @@ export declare const RunDiffResultResponseSchema: z.ZodObject<{
1542
766
  idempotencyKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1543
767
  createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
1544
768
  updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
1545
- }, "strip", z.ZodTypeAny, {
1546
- workflowType: string;
1547
- timestamp: string;
1548
- allGatesPassed: boolean;
1549
- id: string;
1550
- runNumber: number;
1551
- createdAt?: string | undefined;
1552
- updatedAt?: string | undefined;
1553
- rawMarkdown?: string | null | undefined;
1554
- averageScore?: number | null | undefined;
1555
- idempotencyKey?: string | null | undefined;
1556
- projectId?: string | undefined;
1557
- archivedAt?: string | null | undefined;
1558
- archiveReason?: string | null | undefined;
1559
- }, {
1560
- workflowType: string;
1561
- timestamp: string;
1562
- allGatesPassed: boolean;
1563
- id: string;
1564
- runNumber: number;
1565
- createdAt?: string | undefined;
1566
- updatedAt?: string | undefined;
1567
- rawMarkdown?: string | null | undefined;
1568
- averageScore?: number | null | undefined;
1569
- idempotencyKey?: string | null | undefined;
1570
- projectId?: string | undefined;
1571
- archivedAt?: string | null | undefined;
1572
- archiveReason?: string | null | undefined;
1573
- }>;
769
+ }, z.core.$strip>;
1574
770
  fixed: z.ZodArray<z.ZodObject<{
1575
771
  issueId: z.ZodString;
1576
772
  title: z.ZodString;
1577
- }, "strip", z.ZodTypeAny, {
1578
- title: string;
1579
- issueId: string;
1580
- }, {
1581
- title: string;
1582
- issueId: string;
1583
- }>, "many">;
773
+ }, z.core.$strip>>;
1584
774
  new: z.ZodArray<z.ZodObject<{
1585
775
  issueId: z.ZodString;
1586
776
  title: z.ZodString;
1587
- }, "strip", z.ZodTypeAny, {
1588
- title: string;
1589
- issueId: string;
1590
- }, {
1591
- title: string;
1592
- issueId: string;
1593
- }>, "many">;
777
+ }, z.core.$strip>>;
1594
778
  unchanged: z.ZodArray<z.ZodObject<{
1595
779
  issueId: z.ZodString;
1596
780
  title: z.ZodString;
1597
- }, "strip", z.ZodTypeAny, {
1598
- title: string;
1599
- issueId: string;
1600
- }, {
1601
- title: string;
1602
- issueId: string;
1603
- }>, "many">;
781
+ }, z.core.$strip>>;
1604
782
  agentChanges: z.ZodArray<z.ZodObject<{
1605
783
  name: z.ZodString;
1606
784
  baseScore: z.ZodNumber;
1607
785
  compareScore: z.ZodNumber;
1608
786
  change: z.ZodNumber;
1609
- }, "strip", z.ZodTypeAny, {
1610
- name: string;
1611
- baseScore: number;
1612
- compareScore: number;
1613
- change: number;
1614
- }, {
1615
- name: string;
1616
- baseScore: number;
1617
- compareScore: number;
1618
- change: number;
1619
- }>, "many">;
1620
- }, "strip", z.ZodTypeAny, {
1621
- fixed: {
1622
- title: string;
1623
- issueId: string;
1624
- }[];
1625
- new: {
1626
- title: string;
1627
- issueId: string;
1628
- }[];
1629
- baseRun: {
1630
- workflowType: string;
1631
- timestamp: string;
1632
- allGatesPassed: boolean;
1633
- id: string;
1634
- runNumber: number;
1635
- createdAt?: string | undefined;
1636
- updatedAt?: string | undefined;
1637
- rawMarkdown?: string | null | undefined;
1638
- averageScore?: number | null | undefined;
1639
- idempotencyKey?: string | null | undefined;
1640
- projectId?: string | undefined;
1641
- archivedAt?: string | null | undefined;
1642
- archiveReason?: string | null | undefined;
1643
- };
1644
- compareRun: {
1645
- workflowType: string;
1646
- timestamp: string;
1647
- allGatesPassed: boolean;
1648
- id: string;
1649
- runNumber: number;
1650
- createdAt?: string | undefined;
1651
- updatedAt?: string | undefined;
1652
- rawMarkdown?: string | null | undefined;
1653
- averageScore?: number | null | undefined;
1654
- idempotencyKey?: string | null | undefined;
1655
- projectId?: string | undefined;
1656
- archivedAt?: string | null | undefined;
1657
- archiveReason?: string | null | undefined;
1658
- };
1659
- unchanged: {
1660
- title: string;
1661
- issueId: string;
1662
- }[];
1663
- agentChanges: {
1664
- name: string;
1665
- baseScore: number;
1666
- compareScore: number;
1667
- change: number;
1668
- }[];
1669
- }, {
1670
- fixed: {
1671
- title: string;
1672
- issueId: string;
1673
- }[];
1674
- new: {
1675
- title: string;
1676
- issueId: string;
1677
- }[];
1678
- baseRun: {
1679
- workflowType: string;
1680
- timestamp: string;
1681
- allGatesPassed: boolean;
1682
- id: string;
1683
- runNumber: number;
1684
- createdAt?: string | undefined;
1685
- updatedAt?: string | undefined;
1686
- rawMarkdown?: string | null | undefined;
1687
- averageScore?: number | null | undefined;
1688
- idempotencyKey?: string | null | undefined;
1689
- projectId?: string | undefined;
1690
- archivedAt?: string | null | undefined;
1691
- archiveReason?: string | null | undefined;
1692
- };
1693
- compareRun: {
1694
- workflowType: string;
1695
- timestamp: string;
1696
- allGatesPassed: boolean;
1697
- id: string;
1698
- runNumber: number;
1699
- createdAt?: string | undefined;
1700
- updatedAt?: string | undefined;
1701
- rawMarkdown?: string | null | undefined;
1702
- averageScore?: number | null | undefined;
1703
- idempotencyKey?: string | null | undefined;
1704
- projectId?: string | undefined;
1705
- archivedAt?: string | null | undefined;
1706
- archiveReason?: string | null | undefined;
1707
- };
1708
- unchanged: {
1709
- title: string;
1710
- issueId: string;
1711
- }[];
1712
- agentChanges: {
1713
- name: string;
1714
- baseScore: number;
1715
- compareScore: number;
1716
- change: number;
1717
- }[];
1718
- }>;
787
+ }, z.core.$strip>>;
788
+ }, z.core.$strip>;
1719
789
  export declare const RunDetailsResponseSchema: z.ZodObject<{
1720
790
  run: z.ZodObject<{
1721
791
  id: z.ZodString;
@@ -1731,35 +801,7 @@ export declare const RunDetailsResponseSchema: z.ZodObject<{
1731
801
  idempotencyKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1732
802
  createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
1733
803
  updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
1734
- }, "strip", z.ZodTypeAny, {
1735
- workflowType: string;
1736
- timestamp: string;
1737
- allGatesPassed: boolean;
1738
- id: string;
1739
- runNumber: number;
1740
- createdAt?: string | undefined;
1741
- updatedAt?: string | undefined;
1742
- rawMarkdown?: string | null | undefined;
1743
- averageScore?: number | null | undefined;
1744
- idempotencyKey?: string | null | undefined;
1745
- projectId?: string | undefined;
1746
- archivedAt?: string | null | undefined;
1747
- archiveReason?: string | null | undefined;
1748
- }, {
1749
- workflowType: string;
1750
- timestamp: string;
1751
- allGatesPassed: boolean;
1752
- id: string;
1753
- runNumber: number;
1754
- createdAt?: string | undefined;
1755
- updatedAt?: string | undefined;
1756
- rawMarkdown?: string | null | undefined;
1757
- averageScore?: number | null | undefined;
1758
- idempotencyKey?: string | null | undefined;
1759
- projectId?: string | undefined;
1760
- archivedAt?: string | null | undefined;
1761
- archiveReason?: string | null | undefined;
1762
- }>;
804
+ }, z.core.$strip>;
1763
805
  agents: z.ZodArray<z.ZodObject<{
1764
806
  id: z.ZodOptional<z.ZodString>;
1765
807
  runId: z.ZodOptional<z.ZodString>;
@@ -1776,165 +818,87 @@ export declare const RunDetailsResponseSchema: z.ZodObject<{
1776
818
  durationMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1777
819
  createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
1778
820
  updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
1779
- }, "strip", z.ZodTypeAny, {
1780
- status: string;
1781
- name: string;
1782
- score: number;
1783
- createdAt?: string | undefined;
1784
- updatedAt?: string | undefined;
1785
- inputTokens?: number | null | undefined;
1786
- outputTokens?: number | null | undefined;
1787
- cacheCreationTokens?: number | null | undefined;
1788
- cacheReadTokens?: number | null | undefined;
1789
- totalEffectiveTokens?: number | null | undefined;
1790
- maxScore?: number | undefined;
1791
- model?: string | null | undefined;
1792
- durationMs?: number | null | undefined;
1793
- id?: string | undefined;
1794
- runId?: string | undefined;
1795
- }, {
1796
- status: string;
1797
- name: string;
1798
- score: number;
1799
- createdAt?: string | undefined;
1800
- updatedAt?: string | undefined;
1801
- inputTokens?: number | null | undefined;
1802
- outputTokens?: number | null | undefined;
1803
- cacheCreationTokens?: number | null | undefined;
1804
- cacheReadTokens?: number | null | undefined;
1805
- totalEffectiveTokens?: number | null | undefined;
1806
- maxScore?: number | undefined;
1807
- model?: string | null | undefined;
1808
- durationMs?: number | null | undefined;
1809
- id?: string | undefined;
1810
- runId?: string | undefined;
1811
- }>, "many">;
821
+ }, z.core.$strip>>;
1812
822
  recommendations: z.ZodArray<z.ZodObject<{
1813
823
  id: z.ZodString;
1814
824
  title: z.ZodString;
1815
- priority: z.ZodEnum<["critical", "suggested", "backlog"]>;
1816
- severity: z.ZodNullable<z.ZodEnum<["critical", "high", "medium", "low", "info"]>>;
825
+ priority: z.ZodEnum<{
826
+ critical: "critical";
827
+ suggested: "suggested";
828
+ backlog: "backlog";
829
+ }>;
830
+ severity: z.ZodNullable<z.ZodEnum<{
831
+ critical: "critical";
832
+ high: "high";
833
+ medium: "medium";
834
+ low: "low";
835
+ info: "info";
836
+ }>>;
1817
837
  agent: z.ZodString;
1818
838
  status: z.ZodString;
1819
- correlation: z.ZodEnum<["new", "recurring", "regression"]>;
1820
- }, "strip", z.ZodTypeAny, {
1821
- status: string;
1822
- agent: string;
1823
- title: string;
1824
- priority: "critical" | "suggested" | "backlog";
1825
- severity: "critical" | "high" | "medium" | "low" | "info" | null;
1826
- id: string;
1827
- correlation: "new" | "recurring" | "regression";
1828
- }, {
1829
- status: string;
1830
- agent: string;
1831
- title: string;
1832
- priority: "critical" | "suggested" | "backlog";
1833
- severity: "critical" | "high" | "medium" | "low" | "info" | null;
1834
- id: string;
1835
- correlation: "new" | "recurring" | "regression";
1836
- }>, "many">;
1837
- }, "strip", z.ZodTypeAny, {
1838
- agents: {
1839
- status: string;
1840
- name: string;
1841
- score: number;
1842
- createdAt?: string | undefined;
1843
- updatedAt?: string | undefined;
1844
- inputTokens?: number | null | undefined;
1845
- outputTokens?: number | null | undefined;
1846
- cacheCreationTokens?: number | null | undefined;
1847
- cacheReadTokens?: number | null | undefined;
1848
- totalEffectiveTokens?: number | null | undefined;
1849
- maxScore?: number | undefined;
1850
- model?: string | null | undefined;
1851
- durationMs?: number | null | undefined;
1852
- id?: string | undefined;
1853
- runId?: string | undefined;
1854
- }[];
1855
- recommendations: {
1856
- status: string;
1857
- agent: string;
1858
- title: string;
1859
- priority: "critical" | "suggested" | "backlog";
1860
- severity: "critical" | "high" | "medium" | "low" | "info" | null;
1861
- id: string;
1862
- correlation: "new" | "recurring" | "regression";
1863
- }[];
1864
- run: {
1865
- workflowType: string;
1866
- timestamp: string;
1867
- allGatesPassed: boolean;
1868
- id: string;
1869
- runNumber: number;
1870
- createdAt?: string | undefined;
1871
- updatedAt?: string | undefined;
1872
- rawMarkdown?: string | null | undefined;
1873
- averageScore?: number | null | undefined;
1874
- idempotencyKey?: string | null | undefined;
1875
- projectId?: string | undefined;
1876
- archivedAt?: string | null | undefined;
1877
- archiveReason?: string | null | undefined;
1878
- };
1879
- }, {
1880
- agents: {
1881
- status: string;
1882
- name: string;
1883
- score: number;
1884
- createdAt?: string | undefined;
1885
- updatedAt?: string | undefined;
1886
- inputTokens?: number | null | undefined;
1887
- outputTokens?: number | null | undefined;
1888
- cacheCreationTokens?: number | null | undefined;
1889
- cacheReadTokens?: number | null | undefined;
1890
- totalEffectiveTokens?: number | null | undefined;
1891
- maxScore?: number | undefined;
1892
- model?: string | null | undefined;
1893
- durationMs?: number | null | undefined;
1894
- id?: string | undefined;
1895
- runId?: string | undefined;
1896
- }[];
1897
- recommendations: {
1898
- status: string;
1899
- agent: string;
1900
- title: string;
1901
- priority: "critical" | "suggested" | "backlog";
1902
- severity: "critical" | "high" | "medium" | "low" | "info" | null;
1903
- id: string;
1904
- correlation: "new" | "recurring" | "regression";
1905
- }[];
1906
- run: {
1907
- workflowType: string;
1908
- timestamp: string;
1909
- allGatesPassed: boolean;
1910
- id: string;
1911
- runNumber: number;
1912
- createdAt?: string | undefined;
1913
- updatedAt?: string | undefined;
1914
- rawMarkdown?: string | null | undefined;
1915
- averageScore?: number | null | undefined;
1916
- idempotencyKey?: string | null | undefined;
1917
- projectId?: string | undefined;
1918
- archivedAt?: string | null | undefined;
1919
- archiveReason?: string | null | undefined;
1920
- };
1921
- }>;
839
+ correlation: z.ZodEnum<{
840
+ new: "new";
841
+ recurring: "recurring";
842
+ regression: "regression";
843
+ }>;
844
+ }, z.core.$strip>>;
845
+ }, z.core.$strip>;
1922
846
  export declare const MergeIssuesResultResponseSchema: z.ZodObject<{
1923
847
  targetIssue: z.ZodOptional<z.ZodObject<{
1924
848
  id: z.ZodString;
1925
849
  projectId: z.ZodOptional<z.ZodString>;
1926
850
  fingerprint: z.ZodOptional<z.ZodString>;
1927
851
  title: z.ZodString;
1928
- status: z.ZodOptional<z.ZodEnum<["open", "completed", "deferred", "wontfix", "merged", "false-positive"]>>;
1929
- priority: z.ZodEnum<["critical", "suggested", "backlog"]>;
1930
- severity: z.ZodOptional<z.ZodNullable<z.ZodEnum<["critical", "high", "medium", "low", "info"]>>>;
852
+ status: z.ZodOptional<z.ZodEnum<{
853
+ open: "open";
854
+ completed: "completed";
855
+ deferred: "deferred";
856
+ wontfix: "wontfix";
857
+ merged: "merged";
858
+ "false-positive": "false-positive";
859
+ }>>;
860
+ priority: z.ZodEnum<{
861
+ critical: "critical";
862
+ suggested: "suggested";
863
+ backlog: "backlog";
864
+ }>;
865
+ severity: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
866
+ critical: "critical";
867
+ high: "high";
868
+ medium: "medium";
869
+ low: "low";
870
+ info: "info";
871
+ }>>>;
1931
872
  failureCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1932
- failureDomain: z.ZodOptional<z.ZodNullable<z.ZodEnum<["STR", "SEM", "PRA", "EPI"]>>>;
873
+ failureDomain: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
874
+ STR: "STR";
875
+ SEM: "SEM";
876
+ PRA: "PRA";
877
+ EPI: "EPI";
878
+ }>>>;
1933
879
  failureMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1934
- failureSeverityCode: z.ZodOptional<z.ZodNullable<z.ZodEnum<["C", "H", "M", "L", "I"]>>>;
880
+ failureSeverityCode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
881
+ C: "C";
882
+ H: "H";
883
+ M: "M";
884
+ L: "L";
885
+ I: "I";
886
+ }>>>;
1935
887
  category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1936
888
  agent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1937
- type: z.ZodOptional<z.ZodNullable<z.ZodEnum<["feature", "bug", "refactor", "config", "docs", "infra", "security", "test", "observation", "deficiency", "ambiguity"]>>>;
889
+ type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
890
+ feature: "feature";
891
+ bug: "bug";
892
+ refactor: "refactor";
893
+ config: "config";
894
+ docs: "docs";
895
+ infra: "infra";
896
+ security: "security";
897
+ test: "test";
898
+ observation: "observation";
899
+ deficiency: "deficiency";
900
+ ambiguity: "ambiguity";
901
+ }>>>;
1938
902
  filePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1939
903
  lineNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1940
904
  timesSeen: z.ZodOptional<z.ZodNumber>;
@@ -1945,196 +909,54 @@ export declare const MergeIssuesResultResponseSchema: z.ZodObject<{
1945
909
  deletedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
1946
910
  createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
1947
911
  updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
1948
- }, "strip", z.ZodTypeAny, {
1949
- title: string;
1950
- priority: "critical" | "suggested" | "backlog";
1951
- id: string;
1952
- createdAt?: string | undefined;
1953
- updatedAt?: string | undefined;
1954
- type?: "feature" | "bug" | "refactor" | "config" | "docs" | "infra" | "security" | "test" | "observation" | "deficiency" | "ambiguity" | null | undefined;
1955
- status?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
1956
- agent?: string | null | undefined;
1957
- severity?: "critical" | "high" | "medium" | "low" | "info" | null | undefined;
1958
- failureCode?: string | null | undefined;
1959
- failureDomain?: "STR" | "SEM" | "PRA" | "EPI" | null | undefined;
1960
- failureMode?: string | null | undefined;
1961
- category?: string | null | undefined;
1962
- filePath?: string | null | undefined;
1963
- lineNumber?: number | null | undefined;
1964
- deletedAt?: string | null | undefined;
1965
- projectId?: string | undefined;
1966
- fingerprint?: string | undefined;
1967
- failureSeverityCode?: "C" | "H" | "M" | "L" | "I" | null | undefined;
1968
- timesSeen?: number | undefined;
1969
- firstSeenRunId?: string | undefined;
1970
- lastSeenRunId?: string | undefined;
1971
- resolvedAt?: string | null | undefined;
1972
- resolutionRunId?: string | null | undefined;
1973
- }, {
1974
- title: string;
1975
- priority: "critical" | "suggested" | "backlog";
1976
- id: string;
1977
- createdAt?: string | undefined;
1978
- updatedAt?: string | undefined;
1979
- type?: "feature" | "bug" | "refactor" | "config" | "docs" | "infra" | "security" | "test" | "observation" | "deficiency" | "ambiguity" | null | undefined;
1980
- status?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
1981
- agent?: string | null | undefined;
1982
- severity?: "critical" | "high" | "medium" | "low" | "info" | null | undefined;
1983
- failureCode?: string | null | undefined;
1984
- failureDomain?: "STR" | "SEM" | "PRA" | "EPI" | null | undefined;
1985
- failureMode?: string | null | undefined;
1986
- category?: string | null | undefined;
1987
- filePath?: string | null | undefined;
1988
- lineNumber?: number | null | undefined;
1989
- deletedAt?: string | null | undefined;
1990
- projectId?: string | undefined;
1991
- fingerprint?: string | undefined;
1992
- failureSeverityCode?: "C" | "H" | "M" | "L" | "I" | null | undefined;
1993
- timesSeen?: number | undefined;
1994
- firstSeenRunId?: string | undefined;
1995
- lastSeenRunId?: string | undefined;
1996
- resolvedAt?: string | null | undefined;
1997
- resolutionRunId?: string | null | undefined;
1998
- }>>;
912
+ }, z.core.$strip>>;
1999
913
  targetIssueId: z.ZodOptional<z.ZodString>;
2000
914
  mergedCount: z.ZodNumber;
2001
915
  migratedOccurrences: z.ZodOptional<z.ZodNumber>;
2002
- sourceIssues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2003
- }, "strip", z.ZodTypeAny, {
2004
- mergedCount: number;
2005
- targetIssueId?: string | undefined;
2006
- targetIssue?: {
2007
- title: string;
2008
- priority: "critical" | "suggested" | "backlog";
2009
- id: string;
2010
- createdAt?: string | undefined;
2011
- updatedAt?: string | undefined;
2012
- type?: "feature" | "bug" | "refactor" | "config" | "docs" | "infra" | "security" | "test" | "observation" | "deficiency" | "ambiguity" | null | undefined;
2013
- status?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
2014
- agent?: string | null | undefined;
2015
- severity?: "critical" | "high" | "medium" | "low" | "info" | null | undefined;
2016
- failureCode?: string | null | undefined;
2017
- failureDomain?: "STR" | "SEM" | "PRA" | "EPI" | null | undefined;
2018
- failureMode?: string | null | undefined;
2019
- category?: string | null | undefined;
2020
- filePath?: string | null | undefined;
2021
- lineNumber?: number | null | undefined;
2022
- deletedAt?: string | null | undefined;
2023
- projectId?: string | undefined;
2024
- fingerprint?: string | undefined;
2025
- failureSeverityCode?: "C" | "H" | "M" | "L" | "I" | null | undefined;
2026
- timesSeen?: number | undefined;
2027
- firstSeenRunId?: string | undefined;
2028
- lastSeenRunId?: string | undefined;
2029
- resolvedAt?: string | null | undefined;
2030
- resolutionRunId?: string | null | undefined;
2031
- } | undefined;
2032
- migratedOccurrences?: number | undefined;
2033
- sourceIssues?: string[] | undefined;
2034
- }, {
2035
- mergedCount: number;
2036
- targetIssueId?: string | undefined;
2037
- targetIssue?: {
2038
- title: string;
2039
- priority: "critical" | "suggested" | "backlog";
2040
- id: string;
2041
- createdAt?: string | undefined;
2042
- updatedAt?: string | undefined;
2043
- type?: "feature" | "bug" | "refactor" | "config" | "docs" | "infra" | "security" | "test" | "observation" | "deficiency" | "ambiguity" | null | undefined;
2044
- status?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
2045
- agent?: string | null | undefined;
2046
- severity?: "critical" | "high" | "medium" | "low" | "info" | null | undefined;
2047
- failureCode?: string | null | undefined;
2048
- failureDomain?: "STR" | "SEM" | "PRA" | "EPI" | null | undefined;
2049
- failureMode?: string | null | undefined;
2050
- category?: string | null | undefined;
2051
- filePath?: string | null | undefined;
2052
- lineNumber?: number | null | undefined;
2053
- deletedAt?: string | null | undefined;
2054
- projectId?: string | undefined;
2055
- fingerprint?: string | undefined;
2056
- failureSeverityCode?: "C" | "H" | "M" | "L" | "I" | null | undefined;
2057
- timesSeen?: number | undefined;
2058
- firstSeenRunId?: string | undefined;
2059
- lastSeenRunId?: string | undefined;
2060
- resolvedAt?: string | null | undefined;
2061
- resolutionRunId?: string | null | undefined;
2062
- } | undefined;
2063
- migratedOccurrences?: number | undefined;
2064
- sourceIssues?: string[] | undefined;
2065
- }>;
916
+ sourceIssues: z.ZodOptional<z.ZodArray<z.ZodString>>;
917
+ }, z.core.$strip>;
2066
918
  export declare const BulkStatusUpdateResultResponseSchema: z.ZodObject<{
2067
919
  issueId: z.ZodString;
2068
920
  success: z.ZodBoolean;
2069
921
  error: z.ZodOptional<z.ZodString>;
2070
- previousStatus: z.ZodOptional<z.ZodEnum<["open", "completed", "deferred", "wontfix", "merged", "false-positive"]>>;
2071
- newStatus: z.ZodOptional<z.ZodEnum<["open", "completed", "deferred", "wontfix", "merged", "false-positive"]>>;
2072
- }, "strip", z.ZodTypeAny, {
2073
- issueId: string;
2074
- success: boolean;
2075
- newStatus?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
2076
- previousStatus?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
2077
- error?: string | undefined;
2078
- }, {
2079
- issueId: string;
2080
- success: boolean;
2081
- newStatus?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
2082
- previousStatus?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
2083
- error?: string | undefined;
2084
- }>;
922
+ previousStatus: z.ZodOptional<z.ZodEnum<{
923
+ open: "open";
924
+ completed: "completed";
925
+ deferred: "deferred";
926
+ wontfix: "wontfix";
927
+ merged: "merged";
928
+ "false-positive": "false-positive";
929
+ }>>;
930
+ newStatus: z.ZodOptional<z.ZodEnum<{
931
+ open: "open";
932
+ completed: "completed";
933
+ deferred: "deferred";
934
+ wontfix: "wontfix";
935
+ merged: "merged";
936
+ "false-positive": "false-positive";
937
+ }>>;
938
+ }, z.core.$strip>;
2085
939
  export declare const ErrorResponseSchema: z.ZodObject<{
2086
940
  error: z.ZodObject<{
2087
941
  code: z.ZodString;
2088
942
  message: z.ZodString;
2089
943
  details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2090
- }, "strip", z.ZodTypeAny, {
2091
- message: string;
2092
- code: string;
2093
- details?: Record<string, unknown> | undefined;
2094
- }, {
2095
- message: string;
2096
- code: string;
2097
- details?: Record<string, unknown> | undefined;
2098
- }>;
2099
- }, "strip", z.ZodTypeAny, {
2100
- error: {
2101
- message: string;
2102
- code: string;
2103
- details?: Record<string, unknown> | undefined;
2104
- };
2105
- }, {
2106
- error: {
2107
- message: string;
2108
- code: string;
2109
- details?: Record<string, unknown> | undefined;
2110
- };
2111
- }>;
944
+ }, z.core.$strip>;
945
+ }, z.core.$strip>;
2112
946
  /**
2113
947
  * Generic API response wrapper
2114
948
  */
2115
949
  export declare function createApiResponseSchema<T extends z.ZodTypeAny>(dataSchema: T): z.ZodObject<{
2116
950
  data: T;
2117
951
  message: z.ZodOptional<z.ZodString>;
2118
- }, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
2119
- data: T;
2120
- message: z.ZodOptional<z.ZodString>;
2121
- }>, any> extends infer T_1 ? { [k in keyof T_1]: T_1[k]; } : never, z.baseObjectInputType<{
2122
- data: T;
2123
- message: z.ZodOptional<z.ZodString>;
2124
- }> extends infer T_2 ? { [k_1 in keyof T_2]: T_2[k_1]; } : never>;
952
+ }, z.core.$strip>;
2125
953
  /**
2126
954
  * Generic list response wrapper
2127
955
  */
2128
956
  export declare function createListResponseSchema<T extends z.ZodTypeAny>(itemSchema: T): z.ZodObject<{
2129
- data: z.ZodArray<T, "many">;
957
+ data: z.ZodArray<T>;
2130
958
  count: z.ZodOptional<z.ZodNumber>;
2131
- }, "strip", z.ZodTypeAny, {
2132
- data: T["_output"][];
2133
- count?: number | undefined;
2134
- }, {
2135
- data: T["_input"][];
2136
- count?: number | undefined;
2137
- }>;
959
+ }, z.core.$strip>;
2138
960
  export declare const ProjectListResponseSchema: z.ZodObject<{
2139
961
  data: z.ZodArray<z.ZodObject<{
2140
962
  id: z.ZodString;
@@ -2143,59 +965,65 @@ export declare const ProjectListResponseSchema: z.ZodObject<{
2143
965
  createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
2144
966
  updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
2145
967
  deletedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
2146
- }, "strip", z.ZodTypeAny, {
2147
- createdAt: string;
2148
- name: string;
2149
- id: string;
2150
- updatedAt?: string | undefined;
2151
- deletedAt?: string | null | undefined;
2152
- ownerId?: string | undefined;
2153
- }, {
2154
- createdAt: string;
2155
- name: string;
2156
- id: string;
2157
- updatedAt?: string | undefined;
2158
- deletedAt?: string | null | undefined;
2159
- ownerId?: string | undefined;
2160
- }>, "many">;
968
+ }, z.core.$strip>>;
2161
969
  count: z.ZodOptional<z.ZodNumber>;
2162
- }, "strip", z.ZodTypeAny, {
2163
- data: {
2164
- createdAt: string;
2165
- name: string;
2166
- id: string;
2167
- updatedAt?: string | undefined;
2168
- deletedAt?: string | null | undefined;
2169
- ownerId?: string | undefined;
2170
- }[];
2171
- count?: number | undefined;
2172
- }, {
2173
- data: {
2174
- createdAt: string;
2175
- name: string;
2176
- id: string;
2177
- updatedAt?: string | undefined;
2178
- deletedAt?: string | null | undefined;
2179
- ownerId?: string | undefined;
2180
- }[];
2181
- count?: number | undefined;
2182
- }>;
970
+ }, z.core.$strip>;
2183
971
  export declare const IssueListResponseSchema: z.ZodObject<{
2184
972
  data: z.ZodArray<z.ZodObject<{
2185
973
  id: z.ZodString;
2186
974
  projectId: z.ZodOptional<z.ZodString>;
2187
975
  fingerprint: z.ZodOptional<z.ZodString>;
2188
976
  title: z.ZodString;
2189
- status: z.ZodOptional<z.ZodEnum<["open", "completed", "deferred", "wontfix", "merged", "false-positive"]>>;
2190
- priority: z.ZodEnum<["critical", "suggested", "backlog"]>;
2191
- severity: z.ZodOptional<z.ZodNullable<z.ZodEnum<["critical", "high", "medium", "low", "info"]>>>;
977
+ status: z.ZodOptional<z.ZodEnum<{
978
+ open: "open";
979
+ completed: "completed";
980
+ deferred: "deferred";
981
+ wontfix: "wontfix";
982
+ merged: "merged";
983
+ "false-positive": "false-positive";
984
+ }>>;
985
+ priority: z.ZodEnum<{
986
+ critical: "critical";
987
+ suggested: "suggested";
988
+ backlog: "backlog";
989
+ }>;
990
+ severity: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
991
+ critical: "critical";
992
+ high: "high";
993
+ medium: "medium";
994
+ low: "low";
995
+ info: "info";
996
+ }>>>;
2192
997
  failureCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2193
- failureDomain: z.ZodOptional<z.ZodNullable<z.ZodEnum<["STR", "SEM", "PRA", "EPI"]>>>;
998
+ failureDomain: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
999
+ STR: "STR";
1000
+ SEM: "SEM";
1001
+ PRA: "PRA";
1002
+ EPI: "EPI";
1003
+ }>>>;
2194
1004
  failureMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2195
- failureSeverityCode: z.ZodOptional<z.ZodNullable<z.ZodEnum<["C", "H", "M", "L", "I"]>>>;
1005
+ failureSeverityCode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1006
+ C: "C";
1007
+ H: "H";
1008
+ M: "M";
1009
+ L: "L";
1010
+ I: "I";
1011
+ }>>>;
2196
1012
  category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2197
1013
  agent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2198
- type: z.ZodOptional<z.ZodNullable<z.ZodEnum<["feature", "bug", "refactor", "config", "docs", "infra", "security", "test", "observation", "deficiency", "ambiguity"]>>>;
1014
+ type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1015
+ feature: "feature";
1016
+ bug: "bug";
1017
+ refactor: "refactor";
1018
+ config: "config";
1019
+ docs: "docs";
1020
+ infra: "infra";
1021
+ security: "security";
1022
+ test: "test";
1023
+ observation: "observation";
1024
+ deficiency: "deficiency";
1025
+ ambiguity: "ambiguity";
1026
+ }>>>;
2199
1027
  filePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2200
1028
  lineNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2201
1029
  timesSeen: z.ZodOptional<z.ZodNumber>;
@@ -2206,115 +1034,9 @@ export declare const IssueListResponseSchema: z.ZodObject<{
2206
1034
  deletedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
2207
1035
  createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
2208
1036
  updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
2209
- }, "strip", z.ZodTypeAny, {
2210
- title: string;
2211
- priority: "critical" | "suggested" | "backlog";
2212
- id: string;
2213
- createdAt?: string | undefined;
2214
- updatedAt?: string | undefined;
2215
- type?: "feature" | "bug" | "refactor" | "config" | "docs" | "infra" | "security" | "test" | "observation" | "deficiency" | "ambiguity" | null | undefined;
2216
- status?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
2217
- agent?: string | null | undefined;
2218
- severity?: "critical" | "high" | "medium" | "low" | "info" | null | undefined;
2219
- failureCode?: string | null | undefined;
2220
- failureDomain?: "STR" | "SEM" | "PRA" | "EPI" | null | undefined;
2221
- failureMode?: string | null | undefined;
2222
- category?: string | null | undefined;
2223
- filePath?: string | null | undefined;
2224
- lineNumber?: number | null | undefined;
2225
- deletedAt?: string | null | undefined;
2226
- projectId?: string | undefined;
2227
- fingerprint?: string | undefined;
2228
- failureSeverityCode?: "C" | "H" | "M" | "L" | "I" | null | undefined;
2229
- timesSeen?: number | undefined;
2230
- firstSeenRunId?: string | undefined;
2231
- lastSeenRunId?: string | undefined;
2232
- resolvedAt?: string | null | undefined;
2233
- resolutionRunId?: string | null | undefined;
2234
- }, {
2235
- title: string;
2236
- priority: "critical" | "suggested" | "backlog";
2237
- id: string;
2238
- createdAt?: string | undefined;
2239
- updatedAt?: string | undefined;
2240
- type?: "feature" | "bug" | "refactor" | "config" | "docs" | "infra" | "security" | "test" | "observation" | "deficiency" | "ambiguity" | null | undefined;
2241
- status?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
2242
- agent?: string | null | undefined;
2243
- severity?: "critical" | "high" | "medium" | "low" | "info" | null | undefined;
2244
- failureCode?: string | null | undefined;
2245
- failureDomain?: "STR" | "SEM" | "PRA" | "EPI" | null | undefined;
2246
- failureMode?: string | null | undefined;
2247
- category?: string | null | undefined;
2248
- filePath?: string | null | undefined;
2249
- lineNumber?: number | null | undefined;
2250
- deletedAt?: string | null | undefined;
2251
- projectId?: string | undefined;
2252
- fingerprint?: string | undefined;
2253
- failureSeverityCode?: "C" | "H" | "M" | "L" | "I" | null | undefined;
2254
- timesSeen?: number | undefined;
2255
- firstSeenRunId?: string | undefined;
2256
- lastSeenRunId?: string | undefined;
2257
- resolvedAt?: string | null | undefined;
2258
- resolutionRunId?: string | null | undefined;
2259
- }>, "many">;
1037
+ }, z.core.$strip>>;
2260
1038
  count: z.ZodOptional<z.ZodNumber>;
2261
- }, "strip", z.ZodTypeAny, {
2262
- data: {
2263
- title: string;
2264
- priority: "critical" | "suggested" | "backlog";
2265
- id: string;
2266
- createdAt?: string | undefined;
2267
- updatedAt?: string | undefined;
2268
- type?: "feature" | "bug" | "refactor" | "config" | "docs" | "infra" | "security" | "test" | "observation" | "deficiency" | "ambiguity" | null | undefined;
2269
- status?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
2270
- agent?: string | null | undefined;
2271
- severity?: "critical" | "high" | "medium" | "low" | "info" | null | undefined;
2272
- failureCode?: string | null | undefined;
2273
- failureDomain?: "STR" | "SEM" | "PRA" | "EPI" | null | undefined;
2274
- failureMode?: string | null | undefined;
2275
- category?: string | null | undefined;
2276
- filePath?: string | null | undefined;
2277
- lineNumber?: number | null | undefined;
2278
- deletedAt?: string | null | undefined;
2279
- projectId?: string | undefined;
2280
- fingerprint?: string | undefined;
2281
- failureSeverityCode?: "C" | "H" | "M" | "L" | "I" | null | undefined;
2282
- timesSeen?: number | undefined;
2283
- firstSeenRunId?: string | undefined;
2284
- lastSeenRunId?: string | undefined;
2285
- resolvedAt?: string | null | undefined;
2286
- resolutionRunId?: string | null | undefined;
2287
- }[];
2288
- count?: number | undefined;
2289
- }, {
2290
- data: {
2291
- title: string;
2292
- priority: "critical" | "suggested" | "backlog";
2293
- id: string;
2294
- createdAt?: string | undefined;
2295
- updatedAt?: string | undefined;
2296
- type?: "feature" | "bug" | "refactor" | "config" | "docs" | "infra" | "security" | "test" | "observation" | "deficiency" | "ambiguity" | null | undefined;
2297
- status?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
2298
- agent?: string | null | undefined;
2299
- severity?: "critical" | "high" | "medium" | "low" | "info" | null | undefined;
2300
- failureCode?: string | null | undefined;
2301
- failureDomain?: "STR" | "SEM" | "PRA" | "EPI" | null | undefined;
2302
- failureMode?: string | null | undefined;
2303
- category?: string | null | undefined;
2304
- filePath?: string | null | undefined;
2305
- lineNumber?: number | null | undefined;
2306
- deletedAt?: string | null | undefined;
2307
- projectId?: string | undefined;
2308
- fingerprint?: string | undefined;
2309
- failureSeverityCode?: "C" | "H" | "M" | "L" | "I" | null | undefined;
2310
- timesSeen?: number | undefined;
2311
- firstSeenRunId?: string | undefined;
2312
- lastSeenRunId?: string | undefined;
2313
- resolvedAt?: string | null | undefined;
2314
- resolutionRunId?: string | null | undefined;
2315
- }[];
2316
- count?: number | undefined;
2317
- }>;
1039
+ }, z.core.$strip>;
2318
1040
  export declare const TrendListResponseSchema: z.ZodObject<{
2319
1041
  data: z.ZodArray<z.ZodObject<{
2320
1042
  date: z.ZodString;
@@ -2323,143 +1045,75 @@ export declare const TrendListResponseSchema: z.ZodObject<{
2323
1045
  closedIssues: z.ZodOptional<z.ZodNumber>;
2324
1046
  newIssues: z.ZodOptional<z.ZodNumber>;
2325
1047
  resolvedIssues: z.ZodOptional<z.ZodNumber>;
2326
- }, "strip", z.ZodTypeAny, {
2327
- date: string;
2328
- openIssues: number;
2329
- completedIssues?: number | undefined;
2330
- closedIssues?: number | undefined;
2331
- newIssues?: number | undefined;
2332
- resolvedIssues?: number | undefined;
2333
- }, {
2334
- date: string;
2335
- openIssues: number;
2336
- completedIssues?: number | undefined;
2337
- closedIssues?: number | undefined;
2338
- newIssues?: number | undefined;
2339
- resolvedIssues?: number | undefined;
2340
- }>, "many">;
1048
+ }, z.core.$strip>>;
2341
1049
  count: z.ZodOptional<z.ZodNumber>;
2342
- }, "strip", z.ZodTypeAny, {
2343
- data: {
2344
- date: string;
2345
- openIssues: number;
2346
- completedIssues?: number | undefined;
2347
- closedIssues?: number | undefined;
2348
- newIssues?: number | undefined;
2349
- resolvedIssues?: number | undefined;
2350
- }[];
2351
- count?: number | undefined;
2352
- }, {
2353
- data: {
2354
- date: string;
2355
- openIssues: number;
2356
- completedIssues?: number | undefined;
2357
- closedIssues?: number | undefined;
2358
- newIssues?: number | undefined;
2359
- resolvedIssues?: number | undefined;
2360
- }[];
2361
- count?: number | undefined;
2362
- }>;
1050
+ }, z.core.$strip>;
2363
1051
  export declare const BulkStatusUpdateListResponseSchema: z.ZodObject<{
2364
1052
  data: z.ZodArray<z.ZodObject<{
2365
1053
  issueId: z.ZodString;
2366
1054
  success: z.ZodBoolean;
2367
1055
  error: z.ZodOptional<z.ZodString>;
2368
- previousStatus: z.ZodOptional<z.ZodEnum<["open", "completed", "deferred", "wontfix", "merged", "false-positive"]>>;
2369
- newStatus: z.ZodOptional<z.ZodEnum<["open", "completed", "deferred", "wontfix", "merged", "false-positive"]>>;
2370
- }, "strip", z.ZodTypeAny, {
2371
- issueId: string;
2372
- success: boolean;
2373
- newStatus?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
2374
- previousStatus?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
2375
- error?: string | undefined;
2376
- }, {
2377
- issueId: string;
2378
- success: boolean;
2379
- newStatus?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
2380
- previousStatus?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
2381
- error?: string | undefined;
2382
- }>, "many">;
1056
+ previousStatus: z.ZodOptional<z.ZodEnum<{
1057
+ open: "open";
1058
+ completed: "completed";
1059
+ deferred: "deferred";
1060
+ wontfix: "wontfix";
1061
+ merged: "merged";
1062
+ "false-positive": "false-positive";
1063
+ }>>;
1064
+ newStatus: z.ZodOptional<z.ZodEnum<{
1065
+ open: "open";
1066
+ completed: "completed";
1067
+ deferred: "deferred";
1068
+ wontfix: "wontfix";
1069
+ merged: "merged";
1070
+ "false-positive": "false-positive";
1071
+ }>>;
1072
+ }, z.core.$strip>>;
2383
1073
  count: z.ZodOptional<z.ZodNumber>;
2384
- }, "strip", z.ZodTypeAny, {
2385
- data: {
2386
- issueId: string;
2387
- success: boolean;
2388
- newStatus?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
2389
- previousStatus?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
2390
- error?: string | undefined;
2391
- }[];
2392
- count?: number | undefined;
2393
- }, {
2394
- data: {
2395
- issueId: string;
2396
- success: boolean;
2397
- newStatus?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
2398
- previousStatus?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
2399
- error?: string | undefined;
2400
- }[];
2401
- count?: number | undefined;
2402
- }>;
1074
+ }, z.core.$strip>;
2403
1075
  export declare const StatusHistoryListResponseSchema: z.ZodObject<{
2404
1076
  data: z.ZodArray<z.ZodObject<{
2405
1077
  id: z.ZodOptional<z.ZodString>;
2406
1078
  issueId: z.ZodOptional<z.ZodString>;
2407
- oldStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["open", "completed", "deferred", "wontfix", "merged", "false-positive"]>>>;
2408
- from: z.ZodOptional<z.ZodNullable<z.ZodEnum<["open", "completed", "deferred", "wontfix", "merged", "false-positive"]>>>;
2409
- newStatus: z.ZodOptional<z.ZodEnum<["open", "completed", "deferred", "wontfix", "merged", "false-positive"]>>;
2410
- to: z.ZodOptional<z.ZodEnum<["open", "completed", "deferred", "wontfix", "merged", "false-positive"]>>;
1079
+ oldStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1080
+ open: "open";
1081
+ completed: "completed";
1082
+ deferred: "deferred";
1083
+ wontfix: "wontfix";
1084
+ merged: "merged";
1085
+ "false-positive": "false-positive";
1086
+ }>>>;
1087
+ from: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1088
+ open: "open";
1089
+ completed: "completed";
1090
+ deferred: "deferred";
1091
+ wontfix: "wontfix";
1092
+ merged: "merged";
1093
+ "false-positive": "false-positive";
1094
+ }>>>;
1095
+ newStatus: z.ZodOptional<z.ZodEnum<{
1096
+ open: "open";
1097
+ completed: "completed";
1098
+ deferred: "deferred";
1099
+ wontfix: "wontfix";
1100
+ merged: "merged";
1101
+ "false-positive": "false-positive";
1102
+ }>>;
1103
+ to: z.ZodOptional<z.ZodEnum<{
1104
+ open: "open";
1105
+ completed: "completed";
1106
+ deferred: "deferred";
1107
+ wontfix: "wontfix";
1108
+ merged: "merged";
1109
+ "false-positive": "false-positive";
1110
+ }>>;
2411
1111
  reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2412
1112
  changedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
2413
1113
  timestamp: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
2414
- }, "strip", z.ZodTypeAny, {
2415
- timestamp?: string | undefined;
2416
- reason?: string | null | undefined;
2417
- issueId?: string | undefined;
2418
- id?: string | undefined;
2419
- oldStatus?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | null | undefined;
2420
- from?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | null | undefined;
2421
- newStatus?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
2422
- to?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
2423
- changedAt?: string | undefined;
2424
- }, {
2425
- timestamp?: string | undefined;
2426
- reason?: string | null | undefined;
2427
- issueId?: string | undefined;
2428
- id?: string | undefined;
2429
- oldStatus?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | null | undefined;
2430
- from?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | null | undefined;
2431
- newStatus?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
2432
- to?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
2433
- changedAt?: string | undefined;
2434
- }>, "many">;
1114
+ }, z.core.$strip>>;
2435
1115
  count: z.ZodOptional<z.ZodNumber>;
2436
- }, "strip", z.ZodTypeAny, {
2437
- data: {
2438
- timestamp?: string | undefined;
2439
- reason?: string | null | undefined;
2440
- issueId?: string | undefined;
2441
- id?: string | undefined;
2442
- oldStatus?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | null | undefined;
2443
- from?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | null | undefined;
2444
- newStatus?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
2445
- to?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
2446
- changedAt?: string | undefined;
2447
- }[];
2448
- count?: number | undefined;
2449
- }, {
2450
- data: {
2451
- timestamp?: string | undefined;
2452
- reason?: string | null | undefined;
2453
- issueId?: string | undefined;
2454
- id?: string | undefined;
2455
- oldStatus?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | null | undefined;
2456
- from?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | null | undefined;
2457
- newStatus?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
2458
- to?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
2459
- changedAt?: string | undefined;
2460
- }[];
2461
- count?: number | undefined;
2462
- }>;
1116
+ }, z.core.$strip>;
2463
1117
  export declare const ProjectApiResponseSchema: z.ZodObject<{
2464
1118
  data: z.ZodObject<{
2465
1119
  id: z.ZodString;
@@ -2468,59 +1122,65 @@ export declare const ProjectApiResponseSchema: z.ZodObject<{
2468
1122
  createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
2469
1123
  updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
2470
1124
  deletedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
2471
- }, "strip", z.ZodTypeAny, {
2472
- createdAt: string;
2473
- name: string;
2474
- id: string;
2475
- updatedAt?: string | undefined;
2476
- deletedAt?: string | null | undefined;
2477
- ownerId?: string | undefined;
2478
- }, {
2479
- createdAt: string;
2480
- name: string;
2481
- id: string;
2482
- updatedAt?: string | undefined;
2483
- deletedAt?: string | null | undefined;
2484
- ownerId?: string | undefined;
2485
- }>;
1125
+ }, z.core.$strip>;
2486
1126
  message: z.ZodOptional<z.ZodString>;
2487
- }, "strip", z.ZodTypeAny, {
2488
- data: {
2489
- createdAt: string;
2490
- name: string;
2491
- id: string;
2492
- updatedAt?: string | undefined;
2493
- deletedAt?: string | null | undefined;
2494
- ownerId?: string | undefined;
2495
- };
2496
- message?: string | undefined;
2497
- }, {
2498
- data: {
2499
- createdAt: string;
2500
- name: string;
2501
- id: string;
2502
- updatedAt?: string | undefined;
2503
- deletedAt?: string | null | undefined;
2504
- ownerId?: string | undefined;
2505
- };
2506
- message?: string | undefined;
2507
- }>;
1127
+ }, z.core.$strip>;
2508
1128
  export declare const IssueApiResponseSchema: z.ZodObject<{
2509
1129
  data: z.ZodObject<{
2510
1130
  id: z.ZodString;
2511
1131
  projectId: z.ZodOptional<z.ZodString>;
2512
1132
  fingerprint: z.ZodOptional<z.ZodString>;
2513
1133
  title: z.ZodString;
2514
- status: z.ZodOptional<z.ZodEnum<["open", "completed", "deferred", "wontfix", "merged", "false-positive"]>>;
2515
- priority: z.ZodEnum<["critical", "suggested", "backlog"]>;
2516
- severity: z.ZodOptional<z.ZodNullable<z.ZodEnum<["critical", "high", "medium", "low", "info"]>>>;
1134
+ status: z.ZodOptional<z.ZodEnum<{
1135
+ open: "open";
1136
+ completed: "completed";
1137
+ deferred: "deferred";
1138
+ wontfix: "wontfix";
1139
+ merged: "merged";
1140
+ "false-positive": "false-positive";
1141
+ }>>;
1142
+ priority: z.ZodEnum<{
1143
+ critical: "critical";
1144
+ suggested: "suggested";
1145
+ backlog: "backlog";
1146
+ }>;
1147
+ severity: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1148
+ critical: "critical";
1149
+ high: "high";
1150
+ medium: "medium";
1151
+ low: "low";
1152
+ info: "info";
1153
+ }>>>;
2517
1154
  failureCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2518
- failureDomain: z.ZodOptional<z.ZodNullable<z.ZodEnum<["STR", "SEM", "PRA", "EPI"]>>>;
1155
+ failureDomain: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1156
+ STR: "STR";
1157
+ SEM: "SEM";
1158
+ PRA: "PRA";
1159
+ EPI: "EPI";
1160
+ }>>>;
2519
1161
  failureMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2520
- failureSeverityCode: z.ZodOptional<z.ZodNullable<z.ZodEnum<["C", "H", "M", "L", "I"]>>>;
1162
+ failureSeverityCode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1163
+ C: "C";
1164
+ H: "H";
1165
+ M: "M";
1166
+ L: "L";
1167
+ I: "I";
1168
+ }>>>;
2521
1169
  category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2522
1170
  agent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2523
- type: z.ZodOptional<z.ZodNullable<z.ZodEnum<["feature", "bug", "refactor", "config", "docs", "infra", "security", "test", "observation", "deficiency", "ambiguity"]>>>;
1171
+ type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1172
+ feature: "feature";
1173
+ bug: "bug";
1174
+ refactor: "refactor";
1175
+ config: "config";
1176
+ docs: "docs";
1177
+ infra: "infra";
1178
+ security: "security";
1179
+ test: "test";
1180
+ observation: "observation";
1181
+ deficiency: "deficiency";
1182
+ ambiguity: "ambiguity";
1183
+ }>>>;
2524
1184
  filePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2525
1185
  lineNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2526
1186
  timesSeen: z.ZodOptional<z.ZodNumber>;
@@ -2531,115 +1191,9 @@ export declare const IssueApiResponseSchema: z.ZodObject<{
2531
1191
  deletedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
2532
1192
  createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
2533
1193
  updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
2534
- }, "strip", z.ZodTypeAny, {
2535
- title: string;
2536
- priority: "critical" | "suggested" | "backlog";
2537
- id: string;
2538
- createdAt?: string | undefined;
2539
- updatedAt?: string | undefined;
2540
- type?: "feature" | "bug" | "refactor" | "config" | "docs" | "infra" | "security" | "test" | "observation" | "deficiency" | "ambiguity" | null | undefined;
2541
- status?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
2542
- agent?: string | null | undefined;
2543
- severity?: "critical" | "high" | "medium" | "low" | "info" | null | undefined;
2544
- failureCode?: string | null | undefined;
2545
- failureDomain?: "STR" | "SEM" | "PRA" | "EPI" | null | undefined;
2546
- failureMode?: string | null | undefined;
2547
- category?: string | null | undefined;
2548
- filePath?: string | null | undefined;
2549
- lineNumber?: number | null | undefined;
2550
- deletedAt?: string | null | undefined;
2551
- projectId?: string | undefined;
2552
- fingerprint?: string | undefined;
2553
- failureSeverityCode?: "C" | "H" | "M" | "L" | "I" | null | undefined;
2554
- timesSeen?: number | undefined;
2555
- firstSeenRunId?: string | undefined;
2556
- lastSeenRunId?: string | undefined;
2557
- resolvedAt?: string | null | undefined;
2558
- resolutionRunId?: string | null | undefined;
2559
- }, {
2560
- title: string;
2561
- priority: "critical" | "suggested" | "backlog";
2562
- id: string;
2563
- createdAt?: string | undefined;
2564
- updatedAt?: string | undefined;
2565
- type?: "feature" | "bug" | "refactor" | "config" | "docs" | "infra" | "security" | "test" | "observation" | "deficiency" | "ambiguity" | null | undefined;
2566
- status?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
2567
- agent?: string | null | undefined;
2568
- severity?: "critical" | "high" | "medium" | "low" | "info" | null | undefined;
2569
- failureCode?: string | null | undefined;
2570
- failureDomain?: "STR" | "SEM" | "PRA" | "EPI" | null | undefined;
2571
- failureMode?: string | null | undefined;
2572
- category?: string | null | undefined;
2573
- filePath?: string | null | undefined;
2574
- lineNumber?: number | null | undefined;
2575
- deletedAt?: string | null | undefined;
2576
- projectId?: string | undefined;
2577
- fingerprint?: string | undefined;
2578
- failureSeverityCode?: "C" | "H" | "M" | "L" | "I" | null | undefined;
2579
- timesSeen?: number | undefined;
2580
- firstSeenRunId?: string | undefined;
2581
- lastSeenRunId?: string | undefined;
2582
- resolvedAt?: string | null | undefined;
2583
- resolutionRunId?: string | null | undefined;
2584
- }>;
1194
+ }, z.core.$strip>;
2585
1195
  message: z.ZodOptional<z.ZodString>;
2586
- }, "strip", z.ZodTypeAny, {
2587
- data: {
2588
- title: string;
2589
- priority: "critical" | "suggested" | "backlog";
2590
- id: string;
2591
- createdAt?: string | undefined;
2592
- updatedAt?: string | undefined;
2593
- type?: "feature" | "bug" | "refactor" | "config" | "docs" | "infra" | "security" | "test" | "observation" | "deficiency" | "ambiguity" | null | undefined;
2594
- status?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
2595
- agent?: string | null | undefined;
2596
- severity?: "critical" | "high" | "medium" | "low" | "info" | null | undefined;
2597
- failureCode?: string | null | undefined;
2598
- failureDomain?: "STR" | "SEM" | "PRA" | "EPI" | null | undefined;
2599
- failureMode?: string | null | undefined;
2600
- category?: string | null | undefined;
2601
- filePath?: string | null | undefined;
2602
- lineNumber?: number | null | undefined;
2603
- deletedAt?: string | null | undefined;
2604
- projectId?: string | undefined;
2605
- fingerprint?: string | undefined;
2606
- failureSeverityCode?: "C" | "H" | "M" | "L" | "I" | null | undefined;
2607
- timesSeen?: number | undefined;
2608
- firstSeenRunId?: string | undefined;
2609
- lastSeenRunId?: string | undefined;
2610
- resolvedAt?: string | null | undefined;
2611
- resolutionRunId?: string | null | undefined;
2612
- };
2613
- message?: string | undefined;
2614
- }, {
2615
- data: {
2616
- title: string;
2617
- priority: "critical" | "suggested" | "backlog";
2618
- id: string;
2619
- createdAt?: string | undefined;
2620
- updatedAt?: string | undefined;
2621
- type?: "feature" | "bug" | "refactor" | "config" | "docs" | "infra" | "security" | "test" | "observation" | "deficiency" | "ambiguity" | null | undefined;
2622
- status?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
2623
- agent?: string | null | undefined;
2624
- severity?: "critical" | "high" | "medium" | "low" | "info" | null | undefined;
2625
- failureCode?: string | null | undefined;
2626
- failureDomain?: "STR" | "SEM" | "PRA" | "EPI" | null | undefined;
2627
- failureMode?: string | null | undefined;
2628
- category?: string | null | undefined;
2629
- filePath?: string | null | undefined;
2630
- lineNumber?: number | null | undefined;
2631
- deletedAt?: string | null | undefined;
2632
- projectId?: string | undefined;
2633
- fingerprint?: string | undefined;
2634
- failureSeverityCode?: "C" | "H" | "M" | "L" | "I" | null | undefined;
2635
- timesSeen?: number | undefined;
2636
- firstSeenRunId?: string | undefined;
2637
- lastSeenRunId?: string | undefined;
2638
- resolvedAt?: string | null | undefined;
2639
- resolutionRunId?: string | null | undefined;
2640
- };
2641
- message?: string | undefined;
2642
- }>;
1196
+ }, z.core.$strip>;
2643
1197
  export declare const IssueDetailsApiResponseSchema: z.ZodObject<{
2644
1198
  data: z.ZodObject<{
2645
1199
  issue: z.ZodObject<{
@@ -2647,16 +1201,56 @@ export declare const IssueDetailsApiResponseSchema: z.ZodObject<{
2647
1201
  projectId: z.ZodOptional<z.ZodString>;
2648
1202
  fingerprint: z.ZodOptional<z.ZodString>;
2649
1203
  title: z.ZodString;
2650
- status: z.ZodOptional<z.ZodEnum<["open", "completed", "deferred", "wontfix", "merged", "false-positive"]>>;
2651
- priority: z.ZodEnum<["critical", "suggested", "backlog"]>;
2652
- severity: z.ZodOptional<z.ZodNullable<z.ZodEnum<["critical", "high", "medium", "low", "info"]>>>;
1204
+ status: z.ZodOptional<z.ZodEnum<{
1205
+ open: "open";
1206
+ completed: "completed";
1207
+ deferred: "deferred";
1208
+ wontfix: "wontfix";
1209
+ merged: "merged";
1210
+ "false-positive": "false-positive";
1211
+ }>>;
1212
+ priority: z.ZodEnum<{
1213
+ critical: "critical";
1214
+ suggested: "suggested";
1215
+ backlog: "backlog";
1216
+ }>;
1217
+ severity: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1218
+ critical: "critical";
1219
+ high: "high";
1220
+ medium: "medium";
1221
+ low: "low";
1222
+ info: "info";
1223
+ }>>>;
2653
1224
  failureCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2654
- failureDomain: z.ZodOptional<z.ZodNullable<z.ZodEnum<["STR", "SEM", "PRA", "EPI"]>>>;
1225
+ failureDomain: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1226
+ STR: "STR";
1227
+ SEM: "SEM";
1228
+ PRA: "PRA";
1229
+ EPI: "EPI";
1230
+ }>>>;
2655
1231
  failureMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2656
- failureSeverityCode: z.ZodOptional<z.ZodNullable<z.ZodEnum<["C", "H", "M", "L", "I"]>>>;
1232
+ failureSeverityCode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1233
+ C: "C";
1234
+ H: "H";
1235
+ M: "M";
1236
+ L: "L";
1237
+ I: "I";
1238
+ }>>>;
2657
1239
  category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2658
1240
  agent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2659
- type: z.ZodOptional<z.ZodNullable<z.ZodEnum<["feature", "bug", "refactor", "config", "docs", "infra", "security", "test", "observation", "deficiency", "ambiguity"]>>>;
1241
+ type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1242
+ feature: "feature";
1243
+ bug: "bug";
1244
+ refactor: "refactor";
1245
+ config: "config";
1246
+ docs: "docs";
1247
+ infra: "infra";
1248
+ security: "security";
1249
+ test: "test";
1250
+ observation: "observation";
1251
+ deficiency: "deficiency";
1252
+ ambiguity: "ambiguity";
1253
+ }>>>;
2660
1254
  filePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2661
1255
  lineNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2662
1256
  timesSeen: z.ZodOptional<z.ZodNumber>;
@@ -2667,57 +1261,7 @@ export declare const IssueDetailsApiResponseSchema: z.ZodObject<{
2667
1261
  deletedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
2668
1262
  createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
2669
1263
  updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
2670
- }, "strip", z.ZodTypeAny, {
2671
- title: string;
2672
- priority: "critical" | "suggested" | "backlog";
2673
- id: string;
2674
- createdAt?: string | undefined;
2675
- updatedAt?: string | undefined;
2676
- type?: "feature" | "bug" | "refactor" | "config" | "docs" | "infra" | "security" | "test" | "observation" | "deficiency" | "ambiguity" | null | undefined;
2677
- status?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
2678
- agent?: string | null | undefined;
2679
- severity?: "critical" | "high" | "medium" | "low" | "info" | null | undefined;
2680
- failureCode?: string | null | undefined;
2681
- failureDomain?: "STR" | "SEM" | "PRA" | "EPI" | null | undefined;
2682
- failureMode?: string | null | undefined;
2683
- category?: string | null | undefined;
2684
- filePath?: string | null | undefined;
2685
- lineNumber?: number | null | undefined;
2686
- deletedAt?: string | null | undefined;
2687
- projectId?: string | undefined;
2688
- fingerprint?: string | undefined;
2689
- failureSeverityCode?: "C" | "H" | "M" | "L" | "I" | null | undefined;
2690
- timesSeen?: number | undefined;
2691
- firstSeenRunId?: string | undefined;
2692
- lastSeenRunId?: string | undefined;
2693
- resolvedAt?: string | null | undefined;
2694
- resolutionRunId?: string | null | undefined;
2695
- }, {
2696
- title: string;
2697
- priority: "critical" | "suggested" | "backlog";
2698
- id: string;
2699
- createdAt?: string | undefined;
2700
- updatedAt?: string | undefined;
2701
- type?: "feature" | "bug" | "refactor" | "config" | "docs" | "infra" | "security" | "test" | "observation" | "deficiency" | "ambiguity" | null | undefined;
2702
- status?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
2703
- agent?: string | null | undefined;
2704
- severity?: "critical" | "high" | "medium" | "low" | "info" | null | undefined;
2705
- failureCode?: string | null | undefined;
2706
- failureDomain?: "STR" | "SEM" | "PRA" | "EPI" | null | undefined;
2707
- failureMode?: string | null | undefined;
2708
- category?: string | null | undefined;
2709
- filePath?: string | null | undefined;
2710
- lineNumber?: number | null | undefined;
2711
- deletedAt?: string | null | undefined;
2712
- projectId?: string | undefined;
2713
- fingerprint?: string | undefined;
2714
- failureSeverityCode?: "C" | "H" | "M" | "L" | "I" | null | undefined;
2715
- timesSeen?: number | undefined;
2716
- firstSeenRunId?: string | undefined;
2717
- lastSeenRunId?: string | undefined;
2718
- resolvedAt?: string | null | undefined;
2719
- resolutionRunId?: string | null | undefined;
2720
- }>;
1264
+ }, z.core.$strip>;
2721
1265
  occurrences: z.ZodArray<z.ZodObject<{
2722
1266
  id: z.ZodOptional<z.ZodString>;
2723
1267
  issueId: z.ZodOptional<z.ZodString>;
@@ -2726,378 +1270,88 @@ export declare const IssueDetailsApiResponseSchema: z.ZodObject<{
2726
1270
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2727
1271
  filePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2728
1272
  lineNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2729
- classificationConfidence: z.ZodOptional<z.ZodNullable<z.ZodEnum<["high", "medium", "low"]>>>;
2730
- classifiedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<["validator", "classifier", "human"]>>>;
1273
+ classificationConfidence: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1274
+ high: "high";
1275
+ medium: "medium";
1276
+ low: "low";
1277
+ }>>>;
1278
+ classifiedBy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1279
+ validator: "validator";
1280
+ classifier: "classifier";
1281
+ human: "human";
1282
+ }>>>;
2731
1283
  timestamp: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
2732
1284
  createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
2733
- }, "strip", z.ZodTypeAny, {
2734
- runId: string;
2735
- createdAt?: string | undefined;
2736
- filePath?: string | null | undefined;
2737
- lineNumber?: number | null | undefined;
2738
- description?: string | null | undefined;
2739
- classificationConfidence?: "high" | "medium" | "low" | null | undefined;
2740
- classifiedBy?: "validator" | "classifier" | "human" | null | undefined;
2741
- timestamp?: string | undefined;
2742
- issueId?: string | undefined;
2743
- id?: string | undefined;
2744
- agentName?: string | undefined;
2745
- }, {
2746
- runId: string;
2747
- createdAt?: string | undefined;
2748
- filePath?: string | null | undefined;
2749
- lineNumber?: number | null | undefined;
2750
- description?: string | null | undefined;
2751
- classificationConfidence?: "high" | "medium" | "low" | null | undefined;
2752
- classifiedBy?: "validator" | "classifier" | "human" | null | undefined;
2753
- timestamp?: string | undefined;
2754
- issueId?: string | undefined;
2755
- id?: string | undefined;
2756
- agentName?: string | undefined;
2757
- }>, "many">;
1285
+ }, z.core.$strip>>;
2758
1286
  notes: z.ZodArray<z.ZodObject<{
2759
1287
  id: z.ZodString;
2760
1288
  issueId: z.ZodOptional<z.ZodString>;
2761
1289
  content: z.ZodString;
2762
- noteType: z.ZodEnum<["context", "resolution", "blocker"]>;
1290
+ noteType: z.ZodEnum<{
1291
+ context: "context";
1292
+ resolution: "resolution";
1293
+ blocker: "blocker";
1294
+ }>;
2763
1295
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2764
1296
  createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
2765
- }, "strip", z.ZodTypeAny, {
2766
- createdAt: string;
2767
- content: string;
2768
- noteType: "context" | "resolution" | "blocker";
2769
- id: string;
2770
- createdBy?: string | null | undefined;
2771
- issueId?: string | undefined;
2772
- }, {
2773
- createdAt: string;
2774
- content: string;
2775
- noteType: "context" | "resolution" | "blocker";
2776
- id: string;
2777
- createdBy?: string | null | undefined;
2778
- issueId?: string | undefined;
2779
- }>, "many">;
1297
+ }, z.core.$strip>>;
2780
1298
  history: z.ZodOptional<z.ZodArray<z.ZodObject<{
2781
1299
  id: z.ZodOptional<z.ZodString>;
2782
1300
  issueId: z.ZodOptional<z.ZodString>;
2783
- oldStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["open", "completed", "deferred", "wontfix", "merged", "false-positive"]>>>;
2784
- from: z.ZodOptional<z.ZodNullable<z.ZodEnum<["open", "completed", "deferred", "wontfix", "merged", "false-positive"]>>>;
2785
- newStatus: z.ZodOptional<z.ZodEnum<["open", "completed", "deferred", "wontfix", "merged", "false-positive"]>>;
2786
- to: z.ZodOptional<z.ZodEnum<["open", "completed", "deferred", "wontfix", "merged", "false-positive"]>>;
1301
+ oldStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1302
+ open: "open";
1303
+ completed: "completed";
1304
+ deferred: "deferred";
1305
+ wontfix: "wontfix";
1306
+ merged: "merged";
1307
+ "false-positive": "false-positive";
1308
+ }>>>;
1309
+ from: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1310
+ open: "open";
1311
+ completed: "completed";
1312
+ deferred: "deferred";
1313
+ wontfix: "wontfix";
1314
+ merged: "merged";
1315
+ "false-positive": "false-positive";
1316
+ }>>>;
1317
+ newStatus: z.ZodOptional<z.ZodEnum<{
1318
+ open: "open";
1319
+ completed: "completed";
1320
+ deferred: "deferred";
1321
+ wontfix: "wontfix";
1322
+ merged: "merged";
1323
+ "false-positive": "false-positive";
1324
+ }>>;
1325
+ to: z.ZodOptional<z.ZodEnum<{
1326
+ open: "open";
1327
+ completed: "completed";
1328
+ deferred: "deferred";
1329
+ wontfix: "wontfix";
1330
+ merged: "merged";
1331
+ "false-positive": "false-positive";
1332
+ }>>;
2787
1333
  reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2788
1334
  changedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
2789
1335
  timestamp: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
2790
- }, "strip", z.ZodTypeAny, {
2791
- timestamp?: string | undefined;
2792
- reason?: string | null | undefined;
2793
- issueId?: string | undefined;
2794
- id?: string | undefined;
2795
- oldStatus?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | null | undefined;
2796
- from?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | null | undefined;
2797
- newStatus?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
2798
- to?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
2799
- changedAt?: string | undefined;
2800
- }, {
2801
- timestamp?: string | undefined;
2802
- reason?: string | null | undefined;
2803
- issueId?: string | undefined;
2804
- id?: string | undefined;
2805
- oldStatus?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | null | undefined;
2806
- from?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | null | undefined;
2807
- newStatus?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
2808
- to?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
2809
- changedAt?: string | undefined;
2810
- }>, "many">>;
2811
- }, "strip", z.ZodTypeAny, {
2812
- issue: {
2813
- title: string;
2814
- priority: "critical" | "suggested" | "backlog";
2815
- id: string;
2816
- createdAt?: string | undefined;
2817
- updatedAt?: string | undefined;
2818
- type?: "feature" | "bug" | "refactor" | "config" | "docs" | "infra" | "security" | "test" | "observation" | "deficiency" | "ambiguity" | null | undefined;
2819
- status?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
2820
- agent?: string | null | undefined;
2821
- severity?: "critical" | "high" | "medium" | "low" | "info" | null | undefined;
2822
- failureCode?: string | null | undefined;
2823
- failureDomain?: "STR" | "SEM" | "PRA" | "EPI" | null | undefined;
2824
- failureMode?: string | null | undefined;
2825
- category?: string | null | undefined;
2826
- filePath?: string | null | undefined;
2827
- lineNumber?: number | null | undefined;
2828
- deletedAt?: string | null | undefined;
2829
- projectId?: string | undefined;
2830
- fingerprint?: string | undefined;
2831
- failureSeverityCode?: "C" | "H" | "M" | "L" | "I" | null | undefined;
2832
- timesSeen?: number | undefined;
2833
- firstSeenRunId?: string | undefined;
2834
- lastSeenRunId?: string | undefined;
2835
- resolvedAt?: string | null | undefined;
2836
- resolutionRunId?: string | null | undefined;
2837
- };
2838
- occurrences: {
2839
- runId: string;
2840
- createdAt?: string | undefined;
2841
- filePath?: string | null | undefined;
2842
- lineNumber?: number | null | undefined;
2843
- description?: string | null | undefined;
2844
- classificationConfidence?: "high" | "medium" | "low" | null | undefined;
2845
- classifiedBy?: "validator" | "classifier" | "human" | null | undefined;
2846
- timestamp?: string | undefined;
2847
- issueId?: string | undefined;
2848
- id?: string | undefined;
2849
- agentName?: string | undefined;
2850
- }[];
2851
- notes: {
2852
- createdAt: string;
2853
- content: string;
2854
- noteType: "context" | "resolution" | "blocker";
2855
- id: string;
2856
- createdBy?: string | null | undefined;
2857
- issueId?: string | undefined;
2858
- }[];
2859
- history?: {
2860
- timestamp?: string | undefined;
2861
- reason?: string | null | undefined;
2862
- issueId?: string | undefined;
2863
- id?: string | undefined;
2864
- oldStatus?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | null | undefined;
2865
- from?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | null | undefined;
2866
- newStatus?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
2867
- to?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
2868
- changedAt?: string | undefined;
2869
- }[] | undefined;
2870
- }, {
2871
- issue: {
2872
- title: string;
2873
- priority: "critical" | "suggested" | "backlog";
2874
- id: string;
2875
- createdAt?: string | undefined;
2876
- updatedAt?: string | undefined;
2877
- type?: "feature" | "bug" | "refactor" | "config" | "docs" | "infra" | "security" | "test" | "observation" | "deficiency" | "ambiguity" | null | undefined;
2878
- status?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
2879
- agent?: string | null | undefined;
2880
- severity?: "critical" | "high" | "medium" | "low" | "info" | null | undefined;
2881
- failureCode?: string | null | undefined;
2882
- failureDomain?: "STR" | "SEM" | "PRA" | "EPI" | null | undefined;
2883
- failureMode?: string | null | undefined;
2884
- category?: string | null | undefined;
2885
- filePath?: string | null | undefined;
2886
- lineNumber?: number | null | undefined;
2887
- deletedAt?: string | null | undefined;
2888
- projectId?: string | undefined;
2889
- fingerprint?: string | undefined;
2890
- failureSeverityCode?: "C" | "H" | "M" | "L" | "I" | null | undefined;
2891
- timesSeen?: number | undefined;
2892
- firstSeenRunId?: string | undefined;
2893
- lastSeenRunId?: string | undefined;
2894
- resolvedAt?: string | null | undefined;
2895
- resolutionRunId?: string | null | undefined;
2896
- };
2897
- occurrences: {
2898
- runId: string;
2899
- createdAt?: string | undefined;
2900
- filePath?: string | null | undefined;
2901
- lineNumber?: number | null | undefined;
2902
- description?: string | null | undefined;
2903
- classificationConfidence?: "high" | "medium" | "low" | null | undefined;
2904
- classifiedBy?: "validator" | "classifier" | "human" | null | undefined;
2905
- timestamp?: string | undefined;
2906
- issueId?: string | undefined;
2907
- id?: string | undefined;
2908
- agentName?: string | undefined;
2909
- }[];
2910
- notes: {
2911
- createdAt: string;
2912
- content: string;
2913
- noteType: "context" | "resolution" | "blocker";
2914
- id: string;
2915
- createdBy?: string | null | undefined;
2916
- issueId?: string | undefined;
2917
- }[];
2918
- history?: {
2919
- timestamp?: string | undefined;
2920
- reason?: string | null | undefined;
2921
- issueId?: string | undefined;
2922
- id?: string | undefined;
2923
- oldStatus?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | null | undefined;
2924
- from?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | null | undefined;
2925
- newStatus?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
2926
- to?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
2927
- changedAt?: string | undefined;
2928
- }[] | undefined;
2929
- }>;
1336
+ }, z.core.$strip>>>;
1337
+ }, z.core.$strip>;
2930
1338
  message: z.ZodOptional<z.ZodString>;
2931
- }, "strip", z.ZodTypeAny, {
2932
- data: {
2933
- issue: {
2934
- title: string;
2935
- priority: "critical" | "suggested" | "backlog";
2936
- id: string;
2937
- createdAt?: string | undefined;
2938
- updatedAt?: string | undefined;
2939
- type?: "feature" | "bug" | "refactor" | "config" | "docs" | "infra" | "security" | "test" | "observation" | "deficiency" | "ambiguity" | null | undefined;
2940
- status?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
2941
- agent?: string | null | undefined;
2942
- severity?: "critical" | "high" | "medium" | "low" | "info" | null | undefined;
2943
- failureCode?: string | null | undefined;
2944
- failureDomain?: "STR" | "SEM" | "PRA" | "EPI" | null | undefined;
2945
- failureMode?: string | null | undefined;
2946
- category?: string | null | undefined;
2947
- filePath?: string | null | undefined;
2948
- lineNumber?: number | null | undefined;
2949
- deletedAt?: string | null | undefined;
2950
- projectId?: string | undefined;
2951
- fingerprint?: string | undefined;
2952
- failureSeverityCode?: "C" | "H" | "M" | "L" | "I" | null | undefined;
2953
- timesSeen?: number | undefined;
2954
- firstSeenRunId?: string | undefined;
2955
- lastSeenRunId?: string | undefined;
2956
- resolvedAt?: string | null | undefined;
2957
- resolutionRunId?: string | null | undefined;
2958
- };
2959
- occurrences: {
2960
- runId: string;
2961
- createdAt?: string | undefined;
2962
- filePath?: string | null | undefined;
2963
- lineNumber?: number | null | undefined;
2964
- description?: string | null | undefined;
2965
- classificationConfidence?: "high" | "medium" | "low" | null | undefined;
2966
- classifiedBy?: "validator" | "classifier" | "human" | null | undefined;
2967
- timestamp?: string | undefined;
2968
- issueId?: string | undefined;
2969
- id?: string | undefined;
2970
- agentName?: string | undefined;
2971
- }[];
2972
- notes: {
2973
- createdAt: string;
2974
- content: string;
2975
- noteType: "context" | "resolution" | "blocker";
2976
- id: string;
2977
- createdBy?: string | null | undefined;
2978
- issueId?: string | undefined;
2979
- }[];
2980
- history?: {
2981
- timestamp?: string | undefined;
2982
- reason?: string | null | undefined;
2983
- issueId?: string | undefined;
2984
- id?: string | undefined;
2985
- oldStatus?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | null | undefined;
2986
- from?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | null | undefined;
2987
- newStatus?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
2988
- to?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
2989
- changedAt?: string | undefined;
2990
- }[] | undefined;
2991
- };
2992
- message?: string | undefined;
2993
- }, {
2994
- data: {
2995
- issue: {
2996
- title: string;
2997
- priority: "critical" | "suggested" | "backlog";
2998
- id: string;
2999
- createdAt?: string | undefined;
3000
- updatedAt?: string | undefined;
3001
- type?: "feature" | "bug" | "refactor" | "config" | "docs" | "infra" | "security" | "test" | "observation" | "deficiency" | "ambiguity" | null | undefined;
3002
- status?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
3003
- agent?: string | null | undefined;
3004
- severity?: "critical" | "high" | "medium" | "low" | "info" | null | undefined;
3005
- failureCode?: string | null | undefined;
3006
- failureDomain?: "STR" | "SEM" | "PRA" | "EPI" | null | undefined;
3007
- failureMode?: string | null | undefined;
3008
- category?: string | null | undefined;
3009
- filePath?: string | null | undefined;
3010
- lineNumber?: number | null | undefined;
3011
- deletedAt?: string | null | undefined;
3012
- projectId?: string | undefined;
3013
- fingerprint?: string | undefined;
3014
- failureSeverityCode?: "C" | "H" | "M" | "L" | "I" | null | undefined;
3015
- timesSeen?: number | undefined;
3016
- firstSeenRunId?: string | undefined;
3017
- lastSeenRunId?: string | undefined;
3018
- resolvedAt?: string | null | undefined;
3019
- resolutionRunId?: string | null | undefined;
3020
- };
3021
- occurrences: {
3022
- runId: string;
3023
- createdAt?: string | undefined;
3024
- filePath?: string | null | undefined;
3025
- lineNumber?: number | null | undefined;
3026
- description?: string | null | undefined;
3027
- classificationConfidence?: "high" | "medium" | "low" | null | undefined;
3028
- classifiedBy?: "validator" | "classifier" | "human" | null | undefined;
3029
- timestamp?: string | undefined;
3030
- issueId?: string | undefined;
3031
- id?: string | undefined;
3032
- agentName?: string | undefined;
3033
- }[];
3034
- notes: {
3035
- createdAt: string;
3036
- content: string;
3037
- noteType: "context" | "resolution" | "blocker";
3038
- id: string;
3039
- createdBy?: string | null | undefined;
3040
- issueId?: string | undefined;
3041
- }[];
3042
- history?: {
3043
- timestamp?: string | undefined;
3044
- reason?: string | null | undefined;
3045
- issueId?: string | undefined;
3046
- id?: string | undefined;
3047
- oldStatus?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | null | undefined;
3048
- from?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | null | undefined;
3049
- newStatus?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
3050
- to?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
3051
- changedAt?: string | undefined;
3052
- }[] | undefined;
3053
- };
3054
- message?: string | undefined;
3055
- }>;
1339
+ }, z.core.$strip>;
3056
1340
  export declare const IssueNoteApiResponseSchema: z.ZodObject<{
3057
1341
  data: z.ZodObject<{
3058
1342
  id: z.ZodString;
3059
1343
  issueId: z.ZodOptional<z.ZodString>;
3060
1344
  content: z.ZodString;
3061
- noteType: z.ZodEnum<["context", "resolution", "blocker"]>;
1345
+ noteType: z.ZodEnum<{
1346
+ context: "context";
1347
+ resolution: "resolution";
1348
+ blocker: "blocker";
1349
+ }>;
3062
1350
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3063
1351
  createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
3064
- }, "strip", z.ZodTypeAny, {
3065
- createdAt: string;
3066
- content: string;
3067
- noteType: "context" | "resolution" | "blocker";
3068
- id: string;
3069
- createdBy?: string | null | undefined;
3070
- issueId?: string | undefined;
3071
- }, {
3072
- createdAt: string;
3073
- content: string;
3074
- noteType: "context" | "resolution" | "blocker";
3075
- id: string;
3076
- createdBy?: string | null | undefined;
3077
- issueId?: string | undefined;
3078
- }>;
1352
+ }, z.core.$strip>;
3079
1353
  message: z.ZodOptional<z.ZodString>;
3080
- }, "strip", z.ZodTypeAny, {
3081
- data: {
3082
- createdAt: string;
3083
- content: string;
3084
- noteType: "context" | "resolution" | "blocker";
3085
- id: string;
3086
- createdBy?: string | null | undefined;
3087
- issueId?: string | undefined;
3088
- };
3089
- message?: string | undefined;
3090
- }, {
3091
- data: {
3092
- createdAt: string;
3093
- content: string;
3094
- noteType: "context" | "resolution" | "blocker";
3095
- id: string;
3096
- createdBy?: string | null | undefined;
3097
- issueId?: string | undefined;
3098
- };
3099
- message?: string | undefined;
3100
- }>;
1354
+ }, z.core.$strip>;
3101
1355
  export declare const ProjectSummaryApiResponseSchema: z.ZodObject<{
3102
1356
  data: z.ZodObject<{
3103
1357
  project: z.ZodObject<{
@@ -3107,21 +1361,7 @@ export declare const ProjectSummaryApiResponseSchema: z.ZodObject<{
3107
1361
  createdAt: z.ZodUnion<[z.ZodString, z.ZodString]>;
3108
1362
  updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
3109
1363
  deletedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
3110
- }, "strip", z.ZodTypeAny, {
3111
- createdAt: string;
3112
- name: string;
3113
- id: string;
3114
- updatedAt?: string | undefined;
3115
- deletedAt?: string | null | undefined;
3116
- ownerId?: string | undefined;
3117
- }, {
3118
- createdAt: string;
3119
- name: string;
3120
- id: string;
3121
- updatedAt?: string | undefined;
3122
- deletedAt?: string | null | undefined;
3123
- ownerId?: string | undefined;
3124
- }>;
1364
+ }, z.core.$strip>;
3125
1365
  stats: z.ZodObject<{
3126
1366
  totalIssues: z.ZodNumber;
3127
1367
  openIssues: z.ZodNumber;
@@ -3131,110 +1371,10 @@ export declare const ProjectSummaryApiResponseSchema: z.ZodObject<{
3131
1371
  totalRuns: z.ZodNumber;
3132
1372
  lastRunAt: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
3133
1373
  averageScore: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3134
- }, "strip", z.ZodTypeAny, {
3135
- totalRuns: number;
3136
- totalIssues: number;
3137
- openIssues: number;
3138
- lastRunAt: string | null;
3139
- averageScore?: number | null | undefined;
3140
- completedIssues?: number | undefined;
3141
- deferredIssues?: number | undefined;
3142
- wontfixIssues?: number | undefined;
3143
- }, {
3144
- totalRuns: number;
3145
- totalIssues: number;
3146
- openIssues: number;
3147
- lastRunAt: string | null;
3148
- averageScore?: number | null | undefined;
3149
- completedIssues?: number | undefined;
3150
- deferredIssues?: number | undefined;
3151
- wontfixIssues?: number | undefined;
3152
- }>;
3153
- }, "strip", z.ZodTypeAny, {
3154
- project: {
3155
- createdAt: string;
3156
- name: string;
3157
- id: string;
3158
- updatedAt?: string | undefined;
3159
- deletedAt?: string | null | undefined;
3160
- ownerId?: string | undefined;
3161
- };
3162
- stats: {
3163
- totalRuns: number;
3164
- totalIssues: number;
3165
- openIssues: number;
3166
- lastRunAt: string | null;
3167
- averageScore?: number | null | undefined;
3168
- completedIssues?: number | undefined;
3169
- deferredIssues?: number | undefined;
3170
- wontfixIssues?: number | undefined;
3171
- };
3172
- }, {
3173
- project: {
3174
- createdAt: string;
3175
- name: string;
3176
- id: string;
3177
- updatedAt?: string | undefined;
3178
- deletedAt?: string | null | undefined;
3179
- ownerId?: string | undefined;
3180
- };
3181
- stats: {
3182
- totalRuns: number;
3183
- totalIssues: number;
3184
- openIssues: number;
3185
- lastRunAt: string | null;
3186
- averageScore?: number | null | undefined;
3187
- completedIssues?: number | undefined;
3188
- deferredIssues?: number | undefined;
3189
- wontfixIssues?: number | undefined;
3190
- };
3191
- }>;
1374
+ }, z.core.$strip>;
1375
+ }, z.core.$strip>;
3192
1376
  message: z.ZodOptional<z.ZodString>;
3193
- }, "strip", z.ZodTypeAny, {
3194
- data: {
3195
- project: {
3196
- createdAt: string;
3197
- name: string;
3198
- id: string;
3199
- updatedAt?: string | undefined;
3200
- deletedAt?: string | null | undefined;
3201
- ownerId?: string | undefined;
3202
- };
3203
- stats: {
3204
- totalRuns: number;
3205
- totalIssues: number;
3206
- openIssues: number;
3207
- lastRunAt: string | null;
3208
- averageScore?: number | null | undefined;
3209
- completedIssues?: number | undefined;
3210
- deferredIssues?: number | undefined;
3211
- wontfixIssues?: number | undefined;
3212
- };
3213
- };
3214
- message?: string | undefined;
3215
- }, {
3216
- data: {
3217
- project: {
3218
- createdAt: string;
3219
- name: string;
3220
- id: string;
3221
- updatedAt?: string | undefined;
3222
- deletedAt?: string | null | undefined;
3223
- ownerId?: string | undefined;
3224
- };
3225
- stats: {
3226
- totalRuns: number;
3227
- totalIssues: number;
3228
- openIssues: number;
3229
- lastRunAt: string | null;
3230
- averageScore?: number | null | undefined;
3231
- completedIssues?: number | undefined;
3232
- deferredIssues?: number | undefined;
3233
- wontfixIssues?: number | undefined;
3234
- };
3235
- };
3236
- message?: string | undefined;
3237
- }>;
1377
+ }, z.core.$strip>;
3238
1378
  export declare const MergeIssuesApiResponseSchema: z.ZodObject<{
3239
1379
  data: z.ZodObject<{
3240
1380
  targetIssue: z.ZodOptional<z.ZodObject<{
@@ -3242,16 +1382,56 @@ export declare const MergeIssuesApiResponseSchema: z.ZodObject<{
3242
1382
  projectId: z.ZodOptional<z.ZodString>;
3243
1383
  fingerprint: z.ZodOptional<z.ZodString>;
3244
1384
  title: z.ZodString;
3245
- status: z.ZodOptional<z.ZodEnum<["open", "completed", "deferred", "wontfix", "merged", "false-positive"]>>;
3246
- priority: z.ZodEnum<["critical", "suggested", "backlog"]>;
3247
- severity: z.ZodOptional<z.ZodNullable<z.ZodEnum<["critical", "high", "medium", "low", "info"]>>>;
1385
+ status: z.ZodOptional<z.ZodEnum<{
1386
+ open: "open";
1387
+ completed: "completed";
1388
+ deferred: "deferred";
1389
+ wontfix: "wontfix";
1390
+ merged: "merged";
1391
+ "false-positive": "false-positive";
1392
+ }>>;
1393
+ priority: z.ZodEnum<{
1394
+ critical: "critical";
1395
+ suggested: "suggested";
1396
+ backlog: "backlog";
1397
+ }>;
1398
+ severity: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1399
+ critical: "critical";
1400
+ high: "high";
1401
+ medium: "medium";
1402
+ low: "low";
1403
+ info: "info";
1404
+ }>>>;
3248
1405
  failureCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3249
- failureDomain: z.ZodOptional<z.ZodNullable<z.ZodEnum<["STR", "SEM", "PRA", "EPI"]>>>;
1406
+ failureDomain: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1407
+ STR: "STR";
1408
+ SEM: "SEM";
1409
+ PRA: "PRA";
1410
+ EPI: "EPI";
1411
+ }>>>;
3250
1412
  failureMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3251
- failureSeverityCode: z.ZodOptional<z.ZodNullable<z.ZodEnum<["C", "H", "M", "L", "I"]>>>;
1413
+ failureSeverityCode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1414
+ C: "C";
1415
+ H: "H";
1416
+ M: "M";
1417
+ L: "L";
1418
+ I: "I";
1419
+ }>>>;
3252
1420
  category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3253
1421
  agent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3254
- type: z.ZodOptional<z.ZodNullable<z.ZodEnum<["feature", "bug", "refactor", "config", "docs", "infra", "security", "test", "observation", "deficiency", "ambiguity"]>>>;
1422
+ type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1423
+ feature: "feature";
1424
+ bug: "bug";
1425
+ refactor: "refactor";
1426
+ config: "config";
1427
+ docs: "docs";
1428
+ infra: "infra";
1429
+ security: "security";
1430
+ test: "test";
1431
+ observation: "observation";
1432
+ deficiency: "deficiency";
1433
+ ambiguity: "ambiguity";
1434
+ }>>>;
3255
1435
  filePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3256
1436
  lineNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3257
1437
  timesSeen: z.ZodOptional<z.ZodNumber>;
@@ -3262,244 +1442,40 @@ export declare const MergeIssuesApiResponseSchema: z.ZodObject<{
3262
1442
  deletedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>>;
3263
1443
  createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
3264
1444
  updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
3265
- }, "strip", z.ZodTypeAny, {
3266
- title: string;
3267
- priority: "critical" | "suggested" | "backlog";
3268
- id: string;
3269
- createdAt?: string | undefined;
3270
- updatedAt?: string | undefined;
3271
- type?: "feature" | "bug" | "refactor" | "config" | "docs" | "infra" | "security" | "test" | "observation" | "deficiency" | "ambiguity" | null | undefined;
3272
- status?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
3273
- agent?: string | null | undefined;
3274
- severity?: "critical" | "high" | "medium" | "low" | "info" | null | undefined;
3275
- failureCode?: string | null | undefined;
3276
- failureDomain?: "STR" | "SEM" | "PRA" | "EPI" | null | undefined;
3277
- failureMode?: string | null | undefined;
3278
- category?: string | null | undefined;
3279
- filePath?: string | null | undefined;
3280
- lineNumber?: number | null | undefined;
3281
- deletedAt?: string | null | undefined;
3282
- projectId?: string | undefined;
3283
- fingerprint?: string | undefined;
3284
- failureSeverityCode?: "C" | "H" | "M" | "L" | "I" | null | undefined;
3285
- timesSeen?: number | undefined;
3286
- firstSeenRunId?: string | undefined;
3287
- lastSeenRunId?: string | undefined;
3288
- resolvedAt?: string | null | undefined;
3289
- resolutionRunId?: string | null | undefined;
3290
- }, {
3291
- title: string;
3292
- priority: "critical" | "suggested" | "backlog";
3293
- id: string;
3294
- createdAt?: string | undefined;
3295
- updatedAt?: string | undefined;
3296
- type?: "feature" | "bug" | "refactor" | "config" | "docs" | "infra" | "security" | "test" | "observation" | "deficiency" | "ambiguity" | null | undefined;
3297
- status?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
3298
- agent?: string | null | undefined;
3299
- severity?: "critical" | "high" | "medium" | "low" | "info" | null | undefined;
3300
- failureCode?: string | null | undefined;
3301
- failureDomain?: "STR" | "SEM" | "PRA" | "EPI" | null | undefined;
3302
- failureMode?: string | null | undefined;
3303
- category?: string | null | undefined;
3304
- filePath?: string | null | undefined;
3305
- lineNumber?: number | null | undefined;
3306
- deletedAt?: string | null | undefined;
3307
- projectId?: string | undefined;
3308
- fingerprint?: string | undefined;
3309
- failureSeverityCode?: "C" | "H" | "M" | "L" | "I" | null | undefined;
3310
- timesSeen?: number | undefined;
3311
- firstSeenRunId?: string | undefined;
3312
- lastSeenRunId?: string | undefined;
3313
- resolvedAt?: string | null | undefined;
3314
- resolutionRunId?: string | null | undefined;
3315
- }>>;
1445
+ }, z.core.$strip>>;
3316
1446
  targetIssueId: z.ZodOptional<z.ZodString>;
3317
1447
  mergedCount: z.ZodNumber;
3318
1448
  migratedOccurrences: z.ZodOptional<z.ZodNumber>;
3319
- sourceIssues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3320
- }, "strip", z.ZodTypeAny, {
3321
- mergedCount: number;
3322
- targetIssueId?: string | undefined;
3323
- targetIssue?: {
3324
- title: string;
3325
- priority: "critical" | "suggested" | "backlog";
3326
- id: string;
3327
- createdAt?: string | undefined;
3328
- updatedAt?: string | undefined;
3329
- type?: "feature" | "bug" | "refactor" | "config" | "docs" | "infra" | "security" | "test" | "observation" | "deficiency" | "ambiguity" | null | undefined;
3330
- status?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
3331
- agent?: string | null | undefined;
3332
- severity?: "critical" | "high" | "medium" | "low" | "info" | null | undefined;
3333
- failureCode?: string | null | undefined;
3334
- failureDomain?: "STR" | "SEM" | "PRA" | "EPI" | null | undefined;
3335
- failureMode?: string | null | undefined;
3336
- category?: string | null | undefined;
3337
- filePath?: string | null | undefined;
3338
- lineNumber?: number | null | undefined;
3339
- deletedAt?: string | null | undefined;
3340
- projectId?: string | undefined;
3341
- fingerprint?: string | undefined;
3342
- failureSeverityCode?: "C" | "H" | "M" | "L" | "I" | null | undefined;
3343
- timesSeen?: number | undefined;
3344
- firstSeenRunId?: string | undefined;
3345
- lastSeenRunId?: string | undefined;
3346
- resolvedAt?: string | null | undefined;
3347
- resolutionRunId?: string | null | undefined;
3348
- } | undefined;
3349
- migratedOccurrences?: number | undefined;
3350
- sourceIssues?: string[] | undefined;
3351
- }, {
3352
- mergedCount: number;
3353
- targetIssueId?: string | undefined;
3354
- targetIssue?: {
3355
- title: string;
3356
- priority: "critical" | "suggested" | "backlog";
3357
- id: string;
3358
- createdAt?: string | undefined;
3359
- updatedAt?: string | undefined;
3360
- type?: "feature" | "bug" | "refactor" | "config" | "docs" | "infra" | "security" | "test" | "observation" | "deficiency" | "ambiguity" | null | undefined;
3361
- status?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
3362
- agent?: string | null | undefined;
3363
- severity?: "critical" | "high" | "medium" | "low" | "info" | null | undefined;
3364
- failureCode?: string | null | undefined;
3365
- failureDomain?: "STR" | "SEM" | "PRA" | "EPI" | null | undefined;
3366
- failureMode?: string | null | undefined;
3367
- category?: string | null | undefined;
3368
- filePath?: string | null | undefined;
3369
- lineNumber?: number | null | undefined;
3370
- deletedAt?: string | null | undefined;
3371
- projectId?: string | undefined;
3372
- fingerprint?: string | undefined;
3373
- failureSeverityCode?: "C" | "H" | "M" | "L" | "I" | null | undefined;
3374
- timesSeen?: number | undefined;
3375
- firstSeenRunId?: string | undefined;
3376
- lastSeenRunId?: string | undefined;
3377
- resolvedAt?: string | null | undefined;
3378
- resolutionRunId?: string | null | undefined;
3379
- } | undefined;
3380
- migratedOccurrences?: number | undefined;
3381
- sourceIssues?: string[] | undefined;
3382
- }>;
1449
+ sourceIssues: z.ZodOptional<z.ZodArray<z.ZodString>>;
1450
+ }, z.core.$strip>;
3383
1451
  message: z.ZodOptional<z.ZodString>;
3384
- }, "strip", z.ZodTypeAny, {
3385
- data: {
3386
- mergedCount: number;
3387
- targetIssueId?: string | undefined;
3388
- targetIssue?: {
3389
- title: string;
3390
- priority: "critical" | "suggested" | "backlog";
3391
- id: string;
3392
- createdAt?: string | undefined;
3393
- updatedAt?: string | undefined;
3394
- type?: "feature" | "bug" | "refactor" | "config" | "docs" | "infra" | "security" | "test" | "observation" | "deficiency" | "ambiguity" | null | undefined;
3395
- status?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
3396
- agent?: string | null | undefined;
3397
- severity?: "critical" | "high" | "medium" | "low" | "info" | null | undefined;
3398
- failureCode?: string | null | undefined;
3399
- failureDomain?: "STR" | "SEM" | "PRA" | "EPI" | null | undefined;
3400
- failureMode?: string | null | undefined;
3401
- category?: string | null | undefined;
3402
- filePath?: string | null | undefined;
3403
- lineNumber?: number | null | undefined;
3404
- deletedAt?: string | null | undefined;
3405
- projectId?: string | undefined;
3406
- fingerprint?: string | undefined;
3407
- failureSeverityCode?: "C" | "H" | "M" | "L" | "I" | null | undefined;
3408
- timesSeen?: number | undefined;
3409
- firstSeenRunId?: string | undefined;
3410
- lastSeenRunId?: string | undefined;
3411
- resolvedAt?: string | null | undefined;
3412
- resolutionRunId?: string | null | undefined;
3413
- } | undefined;
3414
- migratedOccurrences?: number | undefined;
3415
- sourceIssues?: string[] | undefined;
3416
- };
3417
- message?: string | undefined;
3418
- }, {
3419
- data: {
3420
- mergedCount: number;
3421
- targetIssueId?: string | undefined;
3422
- targetIssue?: {
3423
- title: string;
3424
- priority: "critical" | "suggested" | "backlog";
3425
- id: string;
3426
- createdAt?: string | undefined;
3427
- updatedAt?: string | undefined;
3428
- type?: "feature" | "bug" | "refactor" | "config" | "docs" | "infra" | "security" | "test" | "observation" | "deficiency" | "ambiguity" | null | undefined;
3429
- status?: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive" | undefined;
3430
- agent?: string | null | undefined;
3431
- severity?: "critical" | "high" | "medium" | "low" | "info" | null | undefined;
3432
- failureCode?: string | null | undefined;
3433
- failureDomain?: "STR" | "SEM" | "PRA" | "EPI" | null | undefined;
3434
- failureMode?: string | null | undefined;
3435
- category?: string | null | undefined;
3436
- filePath?: string | null | undefined;
3437
- lineNumber?: number | null | undefined;
3438
- deletedAt?: string | null | undefined;
3439
- projectId?: string | undefined;
3440
- fingerprint?: string | undefined;
3441
- failureSeverityCode?: "C" | "H" | "M" | "L" | "I" | null | undefined;
3442
- timesSeen?: number | undefined;
3443
- firstSeenRunId?: string | undefined;
3444
- lastSeenRunId?: string | undefined;
3445
- resolvedAt?: string | null | undefined;
3446
- resolutionRunId?: string | null | undefined;
3447
- } | undefined;
3448
- migratedOccurrences?: number | undefined;
3449
- sourceIssues?: string[] | undefined;
3450
- };
3451
- message?: string | undefined;
3452
- }>;
1452
+ }, z.core.$strip>;
3453
1453
  export declare const StatusUpdateApiResponseSchema: z.ZodObject<{
3454
1454
  data: z.ZodObject<{
3455
1455
  id: z.ZodOptional<z.ZodString>;
3456
1456
  issueId: z.ZodOptional<z.ZodString>;
3457
1457
  fingerprint: z.ZodOptional<z.ZodString>;
3458
- previousStatus: z.ZodEnum<["open", "completed", "deferred", "wontfix", "merged", "false-positive"]>;
3459
- newStatus: z.ZodEnum<["open", "completed", "deferred", "wontfix", "merged", "false-positive"]>;
1458
+ previousStatus: z.ZodEnum<{
1459
+ open: "open";
1460
+ completed: "completed";
1461
+ deferred: "deferred";
1462
+ wontfix: "wontfix";
1463
+ merged: "merged";
1464
+ "false-positive": "false-positive";
1465
+ }>;
1466
+ newStatus: z.ZodEnum<{
1467
+ open: "open";
1468
+ completed: "completed";
1469
+ deferred: "deferred";
1470
+ wontfix: "wontfix";
1471
+ merged: "merged";
1472
+ "false-positive": "false-positive";
1473
+ }>;
3460
1474
  updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
3461
1475
  success: z.ZodOptional<z.ZodBoolean>;
3462
- }, "strip", z.ZodTypeAny, {
3463
- newStatus: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive";
3464
- previousStatus: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive";
3465
- updatedAt?: string | undefined;
3466
- issueId?: string | undefined;
3467
- id?: string | undefined;
3468
- fingerprint?: string | undefined;
3469
- success?: boolean | undefined;
3470
- }, {
3471
- newStatus: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive";
3472
- previousStatus: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive";
3473
- updatedAt?: string | undefined;
3474
- issueId?: string | undefined;
3475
- id?: string | undefined;
3476
- fingerprint?: string | undefined;
3477
- success?: boolean | undefined;
3478
- }>;
1476
+ }, z.core.$strip>;
3479
1477
  message: z.ZodOptional<z.ZodString>;
3480
- }, "strip", z.ZodTypeAny, {
3481
- data: {
3482
- newStatus: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive";
3483
- previousStatus: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive";
3484
- updatedAt?: string | undefined;
3485
- issueId?: string | undefined;
3486
- id?: string | undefined;
3487
- fingerprint?: string | undefined;
3488
- success?: boolean | undefined;
3489
- };
3490
- message?: string | undefined;
3491
- }, {
3492
- data: {
3493
- newStatus: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive";
3494
- previousStatus: "open" | "completed" | "deferred" | "wontfix" | "merged" | "false-positive";
3495
- updatedAt?: string | undefined;
3496
- issueId?: string | undefined;
3497
- id?: string | undefined;
3498
- fingerprint?: string | undefined;
3499
- success?: boolean | undefined;
3500
- };
3501
- message?: string | undefined;
3502
- }>;
1478
+ }, z.core.$strip>;
3503
1479
  export type ProjectResponse = z.infer<typeof ProjectResponseSchema>;
3504
1480
  export type IssueResponse = z.infer<typeof IssueResponseSchema>;
3505
1481
  export type RunResponse = z.infer<typeof RunResponseSchema>;
@@ -3523,56 +1499,14 @@ export declare const ValidatorSnapshotResponseSchema: z.ZodObject<{
3523
1499
  durationMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3524
1500
  createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
3525
1501
  updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
3526
- }, "strip", z.ZodTypeAny, {
3527
- status: string;
3528
- name: string;
3529
- score: number;
3530
- createdAt?: string | undefined;
3531
- updatedAt?: string | undefined;
3532
- inputTokens?: number | null | undefined;
3533
- outputTokens?: number | null | undefined;
3534
- cacheCreationTokens?: number | null | undefined;
3535
- cacheReadTokens?: number | null | undefined;
3536
- totalEffectiveTokens?: number | null | undefined;
3537
- maxScore?: number | undefined;
3538
- model?: string | null | undefined;
3539
- durationMs?: number | null | undefined;
3540
- id?: string | undefined;
3541
- runId?: string | undefined;
3542
- }, {
3543
- status: string;
3544
- name: string;
3545
- score: number;
3546
- createdAt?: string | undefined;
3547
- updatedAt?: string | undefined;
3548
- inputTokens?: number | null | undefined;
3549
- outputTokens?: number | null | undefined;
3550
- cacheCreationTokens?: number | null | undefined;
3551
- cacheReadTokens?: number | null | undefined;
3552
- totalEffectiveTokens?: number | null | undefined;
3553
- maxScore?: number | undefined;
3554
- model?: string | null | undefined;
3555
- durationMs?: number | null | undefined;
3556
- id?: string | undefined;
3557
- runId?: string | undefined;
3558
- }>;
1502
+ }, z.core.$strip>;
3559
1503
  /** @deprecated Use AgentChangeResponseSchema instead */
3560
1504
  export declare const ValidatorChangeResponseSchema: z.ZodObject<{
3561
1505
  name: z.ZodString;
3562
1506
  baseScore: z.ZodNumber;
3563
1507
  compareScore: z.ZodNumber;
3564
1508
  change: z.ZodNumber;
3565
- }, "strip", z.ZodTypeAny, {
3566
- name: string;
3567
- baseScore: number;
3568
- compareScore: number;
3569
- change: number;
3570
- }, {
3571
- name: string;
3572
- baseScore: number;
3573
- compareScore: number;
3574
- change: number;
3575
- }>;
1509
+ }, z.core.$strip>;
3576
1510
  export type OccurrenceResponse = z.infer<typeof OccurrenceResponseSchema>;
3577
1511
  export type IssueNoteResponse = z.infer<typeof IssueNoteResponseSchema>;
3578
1512
  export type StatusHistoryResponse = z.infer<typeof StatusHistoryResponseSchema>;