feat: v2 toggle transcription settings (#23836)

This commit is contained in:
Lauris Skraucis
2025-09-15 09:13:22 +00:00
committed by GitHub
parent 0332118724
commit 18bac4a063
2 changed files with 33 additions and 0 deletions
@@ -1141,6 +1141,9 @@ describe("Event types Endpoints", () => {
disableRecordingForGuests: true,
disableRecordingForOrganizer: true,
enableAutomaticRecordingForOrganizer: true,
enableAutomaticTranscription: true,
disableTranscriptionForGuests: true,
disableTranscriptionForOrganizer: true,
},
bookingFields: [
nameBookingField,
@@ -1274,6 +1277,15 @@ describe("Event types Endpoints", () => {
expect(updatedEventType.calVideoSettings?.enableAutomaticRecordingForOrganizer).toEqual(
body.calVideoSettings?.enableAutomaticRecordingForOrganizer
);
expect(updatedEventType.calVideoSettings?.enableAutomaticTranscription).toEqual(
body.calVideoSettings?.enableAutomaticTranscription
);
expect(updatedEventType.calVideoSettings?.disableTranscriptionForGuests).toEqual(
body.calVideoSettings?.disableTranscriptionForGuests
);
expect(updatedEventType.calVideoSettings?.disableTranscriptionForOrganizer).toEqual(
body.calVideoSettings?.disableTranscriptionForOrganizer
);
eventType.title = newTitle;
eventType.scheduleId = secondSchedule.id;
@@ -152,6 +152,27 @@ export class CalVideoSettings {
description: "If true, enables the automatic recording for the event when organizer joins the call",
})
enableAutomaticRecordingForOrganizer?: boolean;
@IsOptional()
@IsBoolean()
@DocsPropertyOptional({
description: "If true, enables the automatic transcription for the event whenever someone joins the call",
})
enableAutomaticTranscription?: boolean;
@IsOptional()
@IsBoolean()
@DocsPropertyOptional({
description: "If true, the guests will not be able to receive transcription of the meeting",
})
disableTranscriptionForGuests?: boolean;
@IsOptional()
@IsBoolean()
@DocsPropertyOptional({
description: "If true, the organizer will not be able to receive transcription of the meeting",
})
disableTranscriptionForOrganizer?: boolean;
}
class BaseCreateEventTypeInput {