@@ -114,6 +114,8 @@ describe("handleChildrenEventTypes", () => {
114114 useEventTypeDestinationCalendarEmail,
115115 secondaryEmailId,
116116 autoTranslateDescriptionEnabled,
117+ includeNoShowInRRCalculation,
118+ instantMeetingScheduleId,
117119 ...evType
118120 } = mockFindFirstEventType ( {
119121 id : 123 ,
@@ -137,7 +139,6 @@ describe("handleChildrenEventTypes", () => {
137139 users : { connect : [ { id : 4 } ] } ,
138140 lockTimeZoneToggleOnBookingPage : false ,
139141 requiresBookerEmailVerification : false ,
140- instantMeetingScheduleId : undefined ,
141142 bookingLimits : undefined ,
142143 durationLimits : undefined ,
143144 recurringEvent : undefined ,
@@ -170,6 +171,9 @@ describe("handleChildrenEventTypes", () => {
170171 lockTimeZoneToggleOnBookingPage,
171172 useEventTypeDestinationCalendarEmail,
172173 secondaryEmailId,
174+ assignRRMembersUsingSegment,
175+ includeNoShowInRRCalculation,
176+ instantMeetingScheduleId,
173177 ...evType
174178 } = mockFindFirstEventType ( {
175179 metadata : { managedEventConfig : { } } ,
@@ -191,7 +195,6 @@ describe("handleChildrenEventTypes", () => {
191195 expect ( prismaMock . eventType . update ) . toHaveBeenCalledWith ( {
192196 data : {
193197 ...rest ,
194- assignRRMembersUsingSegment : undefined ,
195198 useEventLevelSelectedCalendars : undefined ,
196199 customReplyToEmail : null ,
197200 rrSegmentQueryValue : undefined ,
@@ -275,6 +278,9 @@ describe("handleChildrenEventTypes", () => {
275278 useEventTypeDestinationCalendarEmail,
276279 secondaryEmailId,
277280 autoTranslateDescriptionEnabled,
281+ includeNoShowInRRCalculation,
282+ instantMeetingScheduleId,
283+ assignRRMembersUsingSegment,
278284 ...evType
279285 } = mockFindFirstEventType ( {
280286 id : 123 ,
@@ -307,7 +313,6 @@ describe("handleChildrenEventTypes", () => {
307313 requiresBookerEmailVerification : false ,
308314 userId : 4 ,
309315 workflows : undefined ,
310- hashedLink : undefined ,
311316 rrSegmentQueryValue : undefined ,
312317 assignRRMembersUsingSegment : false ,
313318 } ,
@@ -332,6 +337,11 @@ describe("handleChildrenEventTypes", () => {
332337 lockTimeZoneToggleOnBookingPage,
333338 useEventTypeDestinationCalendarEmail,
334339 secondaryEmailId,
340+ includeNoShowInRRCalculation,
341+ instantMeetingScheduleId,
342+ assignRRMembersUsingSegment,
343+ rrSegmentQueryValue,
344+ useEventLevelSelectedCalendars,
335345 ...evType
336346 } = mockFindFirstEventType ( {
337347 metadata : { managedEventConfig : { } } ,
@@ -354,17 +364,13 @@ describe("handleChildrenEventTypes", () => {
354364 expect ( prismaMock . eventType . update ) . toHaveBeenCalledWith ( {
355365 data : {
356366 ...rest ,
357- assignRRMembersUsingSegment : undefined ,
358- useEventLevelSelectedCalendars : undefined ,
359- rrSegmentQueryValue : undefined ,
360367 customReplyToEmail : null ,
361368 locations : [ ] ,
362369 hashedLink : {
363370 deleteMany : { } ,
364371 } ,
365372 lockTimeZoneToggleOnBookingPage : false ,
366373 requiresBookerEmailVerification : false ,
367- instantMeetingScheduleId : undefined ,
368374 } ,
369375 where : {
370376 userId_parentId : {
@@ -396,6 +402,9 @@ describe("handleChildrenEventTypes", () => {
396402 useEventTypeDestinationCalendarEmail,
397403 secondaryEmailId,
398404 autoTranslateDescriptionEnabled,
405+ includeNoShowInRRCalculation,
406+ instantMeetingScheduleId,
407+ assignRRMembersUsingSegment,
399408 ...evType
400409 } = mockFindFirstEventType ( {
401410 metadata : { managedEventConfig : { } } ,
@@ -418,10 +427,14 @@ describe("handleChildrenEventTypes", () => {
418427 schedulingType : SchedulingType . MANAGED ,
419428 requiresBookerEmailVerification : false ,
420429 lockTimeZoneToggleOnBookingPage : false ,
430+ lockedTimeZone : "Europe/London" ,
421431 useEventTypeDestinationCalendarEmail : false ,
422432 workflows : [ ] ,
423433 parentId : 1 ,
424434 locations : [ ] ,
435+ instantMeetingScheduleId : null ,
436+ assignRRMembersUsingSegment : false ,
437+ includeNoShowInRRCalculation : false ,
425438 ...evType ,
426439 } ;
427440
@@ -449,7 +462,6 @@ describe("handleChildrenEventTypes", () => {
449462 recurringEvent : undefined ,
450463 eventTypeColor : undefined ,
451464 customReplyToEmail : null ,
452- instantMeetingScheduleId : undefined ,
453465 locations : [ ] ,
454466 lockTimeZoneToggleOnBookingPage : false ,
455467 requiresBookerEmailVerification : false ,
@@ -461,28 +473,24 @@ describe("handleChildrenEventTypes", () => {
461473 workflows : {
462474 create : [ { workflowId : 11 } ] ,
463475 } ,
464- hashedLink : undefined ,
465476 rrSegmentQueryValue : undefined ,
466477 assignRRMembersUsingSegment : false ,
467478 useEventLevelSelectedCalendars : false ,
468479 } ,
469480 } ) ;
470- const { profileId, ...rest } = evType ;
481+ const { profileId, rrSegmentQueryValue , ...rest } = evType ;
471482 if ( "workflows" in rest ) delete rest . workflows ;
472483 expect ( prismaMock . eventType . update ) . toHaveBeenCalledWith ( {
473484 data : {
474485 ...rest ,
475486 locations : [ ] ,
476- assignRRMembersUsingSegment : undefined ,
477487 useEventLevelSelectedCalendars : undefined ,
478488 customReplyToEmail : null ,
479- rrSegmentQueryValue : undefined ,
480489 lockTimeZoneToggleOnBookingPage : false ,
481490 requiresBookerEmailVerification : false ,
482491 hashedLink : {
483492 deleteMany : { } ,
484493 } ,
485- instantMeetingScheduleId : undefined ,
486494 } ,
487495 where : {
488496 userId_parentId : {
0 commit comments