(input: FilterInput)
| 209 | cloud_agent_code_review_attempts.terminal_reason, |
| 210 | cloud_agent_code_review_attempts.error_message |
| 211 | ); |
| 212 | |
| 213 | const FilterSchemaShape = { |
| 214 | startDate: z.string().datetime(), // ISO datetime string |
| 215 | endDate: z.string().datetime(), // ISO datetime string |
| 216 | userId: z.string().min(1).optional(), // Filter by specific user |
| 217 | organizationId: z.string().uuid().optional(), // Filter by specific organization |
| 218 | ownershipType: z.enum(['all', 'personal', 'organization']).optional().default('all'), |
| 219 | retryAccountingMode: z |
| 220 | .enum(['final_outcome', 'all_attempts']) |
| 221 | .optional() |
| 222 | .default('final_outcome'), |
| 223 | }; |
| 224 | |
| 225 | type DateIntervalInput = { |
| 226 | startDate: string; |
| 227 | endDate: string; |
no test coverage detected