From c0e123a9174b77143ea8b3140ca68de1b4c65930 Mon Sep 17 00:00:00 2001 From: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com> Date: Wed, 23 Apr 2025 12:55:46 -0400 Subject: [PATCH] Pass customReplyTo as a managed event type prop (#20909) Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com> --- apps/web/test/lib/handleChildrenEventTypes.test.ts | 12 ++++++------ packages/prisma/zod-utils.ts | 1 + 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/apps/web/test/lib/handleChildrenEventTypes.test.ts b/apps/web/test/lib/handleChildrenEventTypes.test.ts index 5efc20fc69..281a37d8db 100644 --- a/apps/web/test/lib/handleChildrenEventTypes.test.ts +++ b/apps/web/test/lib/handleChildrenEventTypes.test.ts @@ -142,7 +142,7 @@ describe("handleChildrenEventTypes", () => { durationLimits: undefined, recurringEvent: undefined, eventTypeColor: undefined, - customReplyToEmail: undefined, + customReplyToEmail: null, userId: 4, rrSegmentQueryValue: undefined, assignRRMembersUsingSegment: false, @@ -193,7 +193,7 @@ describe("handleChildrenEventTypes", () => { ...rest, assignRRMembersUsingSegment: undefined, useEventLevelSelectedCalendars: undefined, - customReplyToEmail: undefined, + customReplyToEmail: null, rrSegmentQueryValue: undefined, locations: [], scheduleId: null, @@ -301,7 +301,7 @@ describe("handleChildrenEventTypes", () => { durationLimits: undefined, recurringEvent: undefined, eventTypeColor: undefined, - customReplyToEmail: undefined, + customReplyToEmail: null, instantMeetingScheduleId: undefined, lockTimeZoneToggleOnBookingPage: false, requiresBookerEmailVerification: false, @@ -357,7 +357,7 @@ describe("handleChildrenEventTypes", () => { assignRRMembersUsingSegment: undefined, useEventLevelSelectedCalendars: undefined, rrSegmentQueryValue: undefined, - customReplyToEmail: undefined, + customReplyToEmail: null, locations: [], hashedLink: { deleteMany: {}, @@ -448,7 +448,7 @@ describe("handleChildrenEventTypes", () => { durationLimits: undefined, recurringEvent: undefined, eventTypeColor: undefined, - customReplyToEmail: undefined, + customReplyToEmail: null, instantMeetingScheduleId: undefined, locations: [], lockTimeZoneToggleOnBookingPage: false, @@ -475,7 +475,7 @@ describe("handleChildrenEventTypes", () => { locations: [], assignRRMembersUsingSegment: undefined, useEventLevelSelectedCalendars: undefined, - customReplyToEmail: undefined, + customReplyToEmail: null, rrSegmentQueryValue: undefined, lockTimeZoneToggleOnBookingPage: false, requiresBookerEmailVerification: false, diff --git a/packages/prisma/zod-utils.ts b/packages/prisma/zod-utils.ts index cc98dc0404..faeca3b1ee 100644 --- a/packages/prisma/zod-utils.ts +++ b/packages/prisma/zod-utils.ts @@ -667,6 +667,7 @@ export const allManagedEventTypeProps: { [k in keyof Omit