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.

Merge branch 'main' into webhooks-ga

Steven Tey24ca254b34a0
diff --cc apps/web/lib/types.ts
index a205266dfd,08f62e7e30..e18c5fe56e
--- a/apps/web/lib/types.ts
+++ b/apps/web/lib/types.ts
@@@ -307,11 -312,9 +315,9 @@@ export type WebhookEventProps = z.infer
export type WebhookCacheProps = Pick<
Webhook,
- "id" | "url" | "secret" | "triggers"
+ "id" | "url" | "secret" | "triggers" | "disabledAt"
>;
- export type TrackCustomerResponse = z.infer<typeof trackCustomerResponseSchema>;
-
export type TrackLeadResponse = z.infer<typeof trackLeadResponseSchema>;
export type TrackSaleResponse = z.infer<typeof trackSaleResponseSchema>;
@@@ -358,7 -361,16 +364,19 @@@ export type PayoutResponse = z.infer<ty
export type PartnerPayoutResponse = z.infer<typeof PartnerPayoutResponseSchema>;
+export type SegmentIntegrationCredentials = {
+ writeKey?: string;
+};
export type InvoiceProps = z.infer<typeof InvoiceSchema>;
+
+ export type CustomerActivity = z.infer<typeof customerActivitySchema>;
+
+ export type CustomerActivityResponse = z.infer<
+ typeof customerActivityResponseSchema
+ >;
+
+ export type ClickEvent = z.infer<typeof clickEventResponseSchema>;
+
+ export type SaleEvent = z.infer<typeof saleEventResponseSchema>;
+
+ export type LeadEvent = z.infer<typeof leadEventResponseSchema>;