The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
format
Kiran Ka114dd3b78c4
diff --git a/apps/web/lib/webhook/schemas.ts b/apps/web/lib/webhook/schemas.tsindex f71cb7ab84..b28e12c2ab 100644--- a/apps/web/lib/webhook/schemas.ts+++ b/apps/web/lib/webhook/schemas.ts@@ -61,18 +61,21 @@ export const webhookEventSchema = zcreatedAt: z.string(),data: linkEventSchema,}),+z.object({id: z.string(),event: z.literal("link.clicked"),createdAt: z.string(),data: clickWebhookEventSchema,}),+z.object({id: z.string(),event: z.literal("lead.created"),createdAt: z.string(),data: leadWebhookEventSchema,}),+z.object({id: z.string(),event: z.literal("sale.created"),