Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Update schemas.ts

Steven Tey7ee261f2fa54
diff --git a/apps/web/lib/webhook/schemas.ts b/apps/web/lib/webhook/schemas.ts
index b20fe74170..79aa323e2e 100644
--- a/apps/web/lib/webhook/schemas.ts
+++ b/apps/web/lib/webhook/schemas.ts
@@ -24,6 +24,8 @@ export const clickWebhookEventSchema = z
})
.openapi({
title: "ClickWebhookEvent",
+ description: "Webhook payload for a click event",
+ "x-speakeasy-include": true,
});
export const leadWebhookEventSchema = z
@@ -35,6 +37,8 @@ export const leadWebhookEventSchema = z
})
.openapi({
title: "LeadWebhookEvent",
+ description: "Webhook payload for a lead event",
+ "x-speakeasy-include": true,
});
export const saleWebhookEventSchema = z
@@ -47,6 +51,8 @@ export const saleWebhookEventSchema = z
})
.openapi({
title: "SaleWebhookEvent",
+ description: "Webhook payload for a sale event",
+ "x-speakeasy-include": true,
});
// Schema of the payload sent to the webhook endpoint by Dub