Add outreach rejection reasons tab

This commit is contained in:
jjbrunton committed 2026-08-14 15:18:46 +01:00
1 parent 7af7b211fa
commit 0c21202253
7 files changed
+114 -26

No files matched your search

+4
View File
@@ -72,6 +72,10 @@ export const OutreachFunnelResponseSchema = z.strictObject({
sent: z.number().int().nonnegative(),
rejected: z.number().int().nonnegative(),
}),
rejectionReasons: z.array(z.strictObject({
reason: z.string(),
count: z.number().int().positive(),
})).default([]),
oldestActiveAt: z.number().nullable(),
candidates: z.array(OutreachCandidateSchema),
});