feat: v2 toggle transcription settings (#23836)
This commit is contained in:
+12
@@ -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;
|
||||
|
||||
+21
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user