chore: add AI-first discovery API and beta flow parity
Some checks failed
Deploy to 110 WOOO Server / deploy (push) Failing after 8s

This commit is contained in:
OG T
2026-06-07 14:41:55 +08:00
parent 7108ff8ab3
commit 53c8ceea99
5 changed files with 158 additions and 5 deletions

View File

@@ -304,7 +304,10 @@ export const ScoutDraftRequestSchema = z.object({
export const ScoutDraftResponseSchema = z.object({
task_id: UUIDSchema,
checkout_url: z.string().url(),
status: z.literal(TaskStatus.DRAFT),
status: z.union([
z.literal(TaskStatus.DRAFT),
z.literal(TaskStatus.OPEN),
]),
});
export const LeadSchema = z.object({