feat: platform toggle calendar event creation (#21788)

* feat: add areCalendarEventsEnabled to PlatformOAuthClient table

* feat: areCalendarEvents enabled in handleNewBooking and v2

* feat: v2 handle areCalendarEventsEnabled

* feat: toggle areCalendarEventsEnabled on frontend

* feat: enable areCalendarEventsEnabled for recurring,confirm,paid

* refactor: use placeholder calendar event

* remove merge conflicts

* chore: bump libraries

* chore: bump libraries
This commit is contained in:
Lauris Skraucis
2025-06-13 14:15:47 +00:00
committed by GitHub
parent d7fd055171
commit 4a53ec0b74
33 changed files with 525 additions and 22 deletions
+16 -1
View File
@@ -13254,6 +13254,11 @@
"type": "boolean",
"default": false,
"description": "If true, when creating a managed user the managed user will have 4 default event types: 30 and 60 minutes without Cal video, 30 and 60 minutes with Cal video. Set this as false if you want to create a managed user and then manually create event types for the user."
},
"areCalendarEventsEnabled": {
"type": "boolean",
"default": true,
"description": "If true and if managed user has calendar connected, calendar events will be created. Disable it if you manually create calendar events. Default to true."
}
},
"required": ["name", "redirectUris", "permissions"]
@@ -13358,6 +13363,11 @@
"example": true,
"description": "If enabled, when creating a managed user the managed user will have 4 default event types: 30 and 60 minutes without Cal video, 30 and 60 minutes with Cal video. Leave this disabled if you want to create a managed user and then manually create event types for the user."
},
"areCalendarEventsEnabled": {
"type": "boolean",
"example": true,
"description": "If true and if managed user has calendar connected, calendar events will be created. Disable it if you manually create calendar events. Default to true."
},
"bookingRedirectUri": {
"type": "string",
"example": "https://example.com/booking-redirect"
@@ -13380,7 +13390,8 @@
"organizationId",
"createdAt",
"areEmailsEnabled",
"areDefaultEventTypesEnabled"
"areDefaultEventTypesEnabled",
"areCalendarEventsEnabled"
]
},
"GetOAuthClientsResponseDto": {
@@ -13444,6 +13455,10 @@
"areDefaultEventTypesEnabled": {
"type": "boolean",
"description": "If true, when creating a managed user the managed user will have 4 default event types: 30 and 60 minutes without Cal video, 30 and 60 minutes with Cal video. Set this as false if you want to create a managed user and then manually create event types for the user."
},
"areCalendarEventsEnabled": {
"type": "boolean",
"description": "If true and if managed user has calendar connected, calendar events will be created. Disable it if you manually create calendar events. Default to true."
}
}
},