Scheduling infrastructure for absolutely everyone.
feat: add booking uid to zapier payload (#24489)
Dhairyashil Shindedb19bb3d51f1
diff --git a/packages/features/webhooks/lib/scheduleTrigger.ts b/packages/features/webhooks/lib/scheduleTrigger.tsindex efdb21c717c..3d60ec3b563 100644--- a/packages/features/webhooks/lib/scheduleTrigger.ts+++ b/packages/features/webhooks/lib/scheduleTrigger.ts@@ -205,6 +205,7 @@ export async function listBookings(id: "desc",},select: {+ uid: true,title: true,description: true,customInputs: true,diff --git a/packages/features/webhooks/lib/sendPayload.ts b/packages/features/webhooks/lib/sendPayload.tsindex 18d6e8701a2..f4b78ed3499 100644--- a/packages/features/webhooks/lib/sendPayload.ts+++ b/packages/features/webhooks/lib/sendPayload.ts@@ -78,6 +78,7 @@ export type OOOEntryPayloadType = {export type EventPayloadType = CalendarEvent &TranscriptionGeneratedPayload &EventTypeInfo & {+ uid?: string | null;metadata?: { [key: string]: string | number | boolean | null };bookingId?: number;status?: string;@@ -130,6 +131,7 @@ function getZapierPayload(data: WithUTCOffsetType<EventPayloadType & { createdAtconst location = getHumanReadableLocationValue(data.location || "", t);const body = {+ uid: data.uid,title: data.title,description: data.description,customInputs: data.customInputs,