Skip to content

Scheduling infrastructure for absolutely everyone.

fix(api): specify default false for CalVideoSettings boolean fields (#30088)

JackAnsh23e91bb0c38251
diff --git a/docs/api-reference/v2/openapi.json b/docs/api-reference/v2/openapi.json
index a6c98c060e8..1eabe645b1e 100644
--- a/docs/api-reference/v2/openapi.json
+++ b/docs/api-reference/v2/openapi.json
@@ -8357,11 +8357,13 @@
"properties": {
"disableRecordingForOrganizer": {
"type": "boolean",
- "description": "If true, the organizer will not be able to record the meeting"
+ "description": "If true, the organizer will not be able to record the meeting",
+ "default": false
},
"disableRecordingForGuests": {
"type": "boolean",
- "description": "If true, the guests will not be able to record the meeting"
+ "description": "If true, the guests will not be able to record the meeting",
+ "default": false
},
"redirectUrlOnExit": {
"type": "object",
@@ -8369,19 +8371,23 @@
},
"enableAutomaticRecordingForOrganizer": {
"type": "boolean",
- "description": "If true, enables the automatic recording for the event when organizer joins the call"
+ "description": "If true, enables the automatic recording for the event when organizer joins the call",
+ "default": false
},
"enableAutomaticTranscription": {
"type": "boolean",
- "description": "If true, enables the automatic transcription for the event whenever someone joins the call"
+ "description": "If true, enables the automatic transcription for the event whenever someone joins the call",
+ "default": false
},
"disableTranscriptionForGuests": {
"type": "boolean",
- "description": "If true, the guests will not be able to receive transcription of the meeting"
+ "description": "If true, the guests will not be able to receive transcription of the meeting",
+ "default": false
},
"disableTranscriptionForOrganizer": {
"type": "boolean",
- "description": "If true, the organizer will not be able to receive transcription of the meeting"
+ "description": "If true, the organizer will not be able to receive transcription of the meeting",
+ "default": false
},
"sendTranscriptionEmails": {
"type": "boolean",
diff --git a/packages/platform/types/event-types/event-types_2024_06_14/inputs/create-event-type.input.ts b/packages/platform/types/event-types/event-types_2024_06_14/inputs/create-event-type.input.ts
index f9c706d1106..8ae11a7ea21 100644
--- a/packages/platform/types/event-types/event-types_2024_06_14/inputs/create-event-type.input.ts
+++ b/packages/platform/types/event-types/event-types_2024_06_14/inputs/create-event-type.input.ts
@@ -141,6 +141,7 @@ export class CalVideoSettings {
@IsBoolean()
@DocsPropertyOptional({
description: "If true, the organizer will not be able to record the meeting",
+ default: false,
})
disableRecordingForOrganizer?: boolean;
@@ -148,6 +149,7 @@ export class CalVideoSettings {
@IsBoolean()
@DocsPropertyOptional({
description: "If true, the guests will not be able to record the meeting",
+ default: false,
})
disableRecordingForGuests?: boolean;
@@ -162,6 +164,7 @@ export class CalVideoSettings {
@IsBoolean()
@DocsPropertyOptional({
description: "If true, enables the automatic recording for the event when organizer joins the call",
+ default: false,
})
enableAutomaticRecordingForOrganizer?: boolean;
@@ -169,6 +172,7 @@ export class CalVideoSettings {
@IsBoolean()
@DocsPropertyOptional({
description: "If true, enables the automatic transcription for the event whenever someone joins the call",
+ default: false,
})
enableAutomaticTranscription?: boolean;
@@ -176,6 +180,7 @@ export class CalVideoSettings {
@IsBoolean()
@DocsPropertyOptional({
description: "If true, the guests will not be able to receive transcription of the meeting",
+ default: false,
})
disableTranscriptionForGuests?: boolean;
@@ -183,6 +188,7 @@ export class CalVideoSettings {
@IsBoolean()
@DocsPropertyOptional({
description: "If true, the organizer will not be able to receive transcription of the meeting",
+ default: false,
})
disableTranscriptionForOrganizer?: boolean;