feat: add booking uid to zapier payload (#24489)
* feat: add booking uid to zapier payload * resolve type check error --------- Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com>
This commit is contained in:
co-authored by
Anik Dhabal Babu
parent
9afdb1ad7e
commit
db19bb3d51
@@ -205,6 +205,7 @@ export async function listBookings(
|
||||
id: "desc",
|
||||
},
|
||||
select: {
|
||||
uid: true,
|
||||
title: true,
|
||||
description: true,
|
||||
customInputs: true,
|
||||
|
||||
@@ -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 & { createdAt
|
||||
const location = getHumanReadableLocationValue(data.location || "", t);
|
||||
|
||||
const body = {
|
||||
uid: data.uid,
|
||||
title: data.title,
|
||||
description: data.description,
|
||||
customInputs: data.customInputs,
|
||||
|
||||
Reference in New Issue
Block a user