feat: add OpenRouter audit generation pipeline

This commit is contained in:
2026-06-05 11:06:01 +02:00
parent 370aeec2a0
commit 03cb65fde4
29 changed files with 5462 additions and 74 deletions

View File

@@ -82,6 +82,7 @@ export const RUN_TYPES = [
"campaign",
"lead_discovery",
"audit",
"audit_generation",
"outreach",
"lifecycle",
"website_enrichment",
@@ -93,6 +94,19 @@ export const RUN_STATUSES = [
"failed",
"canceled",
] as const;
export const AUDIT_GENERATION_STAGES = [
"classification",
"multimodalAudit",
"germanCopy",
"qualityReview",
] as const;
export const AUDIT_GENERATION_STATUSES = [
"pending",
"running",
"succeeded",
"failed",
"canceled",
] as const;
export const RUN_EVENT_LEVELS = ["info", "warning", "error"] as const;
export const SCREENSHOT_VIEWPORTS = ["desktop", "mobile"] as const;
export const PAGE_SPEED_STRATEGIES = ["mobile", "desktop"] as const;
@@ -122,6 +136,8 @@ export type OutreachSalesStatus = (typeof OUTREACH_SALES_STATUSES)[number];
export type BlacklistType = (typeof BLACKLIST_TYPES)[number];
export type RunType = (typeof RUN_TYPES)[number];
export type RunStatus = (typeof RUN_STATUSES)[number];
export type AuditGenerationStage = (typeof AUDIT_GENERATION_STAGES)[number];
export type AuditGenerationStatus = (typeof AUDIT_GENERATION_STATUSES)[number];
export type RunEventLevel = (typeof RUN_EVENT_LEVELS)[number];
export type ScreenshotViewport = (typeof SCREENSHOT_VIEWPORTS)[number];
export type PageSpeedStrategy = (typeof PAGE_SPEED_STRATEGIES)[number];