@uluops/ops-sdk 0.1.0

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