= ({
)}
- {isCalVideo && !isPlatform && (
-
-
-
- {
- return (
- }
- />
- );
- }}
- />
-
- {
- return (
- }
- />
- );
- }}
- />
-
- {!isPlatform && (
- {
- return (
- }
- />
- );
- }}
- />
- )}
-
- {
- return (
- }
- />
- );
- }}
- />
-
- {!isPlatform && (
- {
- return (
- }
- />
- );
- }}
- />
- )}
- {!isPlatform && (
- {
- return (
- }
- />
- );
- }}
- />
- )}
-
- (!v || v.trim() === "" ? null : v),
- })}
- />
-
-
-
-
- )}
+ {isCalVideo && !isPlatform && }
{eventLocationType?.organizerInputType && (
diff --git a/packages/features/eventtypes/components/tabs/setup/EventSetupTab.tsx b/packages/features/eventtypes/components/tabs/setup/EventSetupTab.tsx
index 56ee20296d..edda79f005 100644
--- a/packages/features/eventtypes/components/tabs/setup/EventSetupTab.tsx
+++ b/packages/features/eventtypes/components/tabs/setup/EventSetupTab.tsx
@@ -5,8 +5,6 @@ import type { MultiValue } from "react-select";
import { useIsPlatform } from "@calcom/atoms/hooks/useIsPlatform";
import useLockedFieldsManager from "@calcom/features/ee/managed-event-types/hooks/useLockedFieldsManager";
-import type { LocationCustomClassNames } from "@calcom/features/eventtypes/components/Locations";
-import Locations from "@calcom/features/eventtypes/components/Locations";
import type {
EventTypeSetupProps,
InputClassNames,
@@ -28,6 +26,9 @@ import { Select } from "@calcom/ui/components/form";
import { SettingsToggle } from "@calcom/ui/components/form";
import { Skeleton } from "@calcom/ui/components/skeleton";
+import type { LocationCustomClassNames } from "../../locations/Locations";
+import Locations from "../../locations/Locations";
+
export type EventSetupTabCustomClassNames = {
wrapper?: string;
titleSection?: {
diff --git a/packages/features/eventtypes/lib/types.ts b/packages/features/eventtypes/lib/types.ts
index d5d34505f7..cd74f47195 100644
--- a/packages/features/eventtypes/lib/types.ts
+++ b/packages/features/eventtypes/lib/types.ts
@@ -168,15 +168,7 @@ export type FormValues = {
restrictionScheduleId: number | null;
useBookerTimezone: boolean;
restrictionScheduleName: string | null;
- calVideoSettings?: {
- disableRecordingForOrganizer?: boolean;
- disableRecordingForGuests?: boolean;
- enableAutomaticTranscription?: boolean;
- enableAutomaticRecordingForOrganizer?: boolean;
- disableTranscriptionForGuests?: boolean;
- disableTranscriptionForOrganizer?: boolean;
- redirectUrlOnExit?: string;
- };
+ calVideoSettings?: CalVideoSettings;
maxActiveBookingPerBookerOfferReschedule: boolean;
};
@@ -243,3 +235,13 @@ export interface EventTypePlatformWrapperRef {
validateForm: () => Promise;
handleFormSubmit: (callbacks?: { onSuccess?: () => void; onError?: (error: Error) => void }) => void;
}
+
+export interface CalVideoSettings {
+ disableRecordingForOrganizer?: boolean;
+ disableRecordingForGuests?: boolean;
+ enableAutomaticTranscription?: boolean;
+ enableAutomaticRecordingForOrganizer?: boolean;
+ disableTranscriptionForGuests?: boolean;
+ disableTranscriptionForOrganizer?: boolean;
+ redirectUrlOnExit?: string;
+}