feat: support updating cal video settings in API v2 (#21784)

* feat: support updating cal video settings in API v2

* chore: update descriptio

* feat: support create event type

* test: add test for updating event type

* test: add test for create event type

* chore: undo openapi

* chore: bump libraries

* Revert "chore: bump libraries"

This reverts commit bdf36d09b021fc531497a7b7ea66ab9c52b7d136.

* chore: bump libraries

---------

Co-authored-by: Lauris Skraucis <[email protected]>
Co-authored-by: supalarry <[email protected]>
This commit is contained in:
authored and GitHub committed 2025-06-13 12:05:29 +03:00
1 parent 8de4897042
commit ba8a71bf3a
15 files changed
+669 -2443

No files matched your search

+127 -61
View File
@@ -13757,6 +13757,71 @@
"data"
]
},
"BookerLayouts_2024_06_14": {
"type": "object",
"properties": {
"defaultLayout": {
"type": "string",
"enum": [
"month",
"week",
"column"
]
},
"enabledLayouts": {
"type": "array",
"description": "Array of valid layouts - month, week or column",
"items": {
"type": "string",
"enum": [
"month",
"week",
"column"
]
}
}
},
"required": [
"defaultLayout",
"enabledLayouts"
]
},
"EventTypeColor_2024_06_14": {
"type": "object",
"properties": {
"lightThemeHex": {
"type": "string",
"description": "Color used for event types in light theme",
"example": "#292929"
},
"darkThemeHex": {
"type": "string",
"description": "Color used for event types in dark theme",
"example": "#fafafa"
}
},
"required": [
"lightThemeHex",
"darkThemeHex"
]
},
"DestinationCalendar_2024_06_14": {
"type": "object",
"properties": {
"integration": {
"type": "string",
"description": "The integration type of the destination calendar. Refer to the /api/v2/calendars endpoint to retrieve the integration type of your connected calendars."
},
"externalId": {
"type": "string",
"description": "The external ID of the destination calendar. Refer to the /api/v2/calendars endpoint to retrieve the external IDs of your connected calendars."
}
},
"required": [
"integration",
"externalId"
]
},
"InputAddressLocation_2024_06_14": {
"type": "object",
"properties": {
@@ -14873,70 +14938,22 @@
"type"
]
},
"BookerLayouts_2024_06_14": {
"CalVideoSettings": {
"type": "object",
"properties": {
"defaultLayout": {
"type": "string",
"enum": [
"month",
"week",
"column"
]
"disableRecordingForOrganizer": {
"type": "boolean",
"description": "If true, the organizer will not be able to record the meeting"
},
"enabledLayouts": {
"type": "array",
"description": "Array of valid layouts - month, week or column",
"items": {
"type": "string",
"enum": [
"month",
"week",
"column"
]
}
}
},
"required": [
"defaultLayout",
"enabledLayouts"
]
},
"EventTypeColor_2024_06_14": {
"type": "object",
"properties": {
"lightThemeHex": {
"type": "string",
"description": "Color used for event types in light theme",
"example": "#292929"
"disableRecordingForGuests": {
"type": "boolean",
"description": "If true, the guests will not be able to record the meeting"
},
"darkThemeHex": {
"type": "string",
"description": "Color used for event types in dark theme",
"example": "#fafafa"
"redirectUrlOnExit": {
"type": "object",
"description": "URL to which participants are redirected when they exit the call"
}
},
"required": [
"lightThemeHex",
"darkThemeHex"
]
},
"DestinationCalendar_2024_06_14": {
"type": "object",
"properties": {
"integration": {
"type": "string",
"description": "The integration type of the destination calendar. Refer to the /api/v2/calendars endpoint to retrieve the integration type of your connected calendars."
},
"externalId": {
"type": "string",
"description": "The external ID of the destination calendar. Refer to the /api/v2/calendars endpoint to retrieve the external IDs of your connected calendars."
}
},
"required": [
"integration",
"externalId"
]
}
},
"CreateEventTypeInput_2024_06_14": {
"type": "object",
@@ -15160,7 +15177,7 @@
},
"customName": {
"type": "string",
"description": "Customizable event name with valid variables: \n {Event type title}, {Organiser}, {Scheduler}, {Location}, {Organiser first name}, \n {Scheduler first name}, {Scheduler last name}, {Event duration}, {LOCATION}, \n {HOST/ATTENDEE}, {HOST}, {ATTENDEE}, {USER}",
"description": "Customizable event name with valid variables:\n {Event type title}, {Organiser}, {Scheduler}, {Location}, {Organiser first name},\n {Scheduler first name}, {Scheduler last name}, {Event duration}, {LOCATION},\n {HOST/ATTENDEE}, {HOST}, {ATTENDEE}, {USER}",
"example": "{Event type title} between {Organiser} and {Scheduler}"
},
"destinationCalendar": {
@@ -15181,6 +15198,14 @@
"type": "boolean",
"description": "Boolean to Hide organizer's email address from the booking screen, email notifications, and calendar events"
},
"calVideoSettings": {
"description": "Cal video settings for the event type",
"allOf": [
{
"$ref": "#/components/schemas/CalVideoSettings"
}
]
},
"locations": {
"type": "array",
"description": "Locations where the event will take place. If not provided, cal video link will be used as the location.",
@@ -16834,6 +16859,14 @@
"type": "boolean",
"description": "Boolean to Hide organizer's email address from the booking screen, email notifications, and calendar events"
},
"calVideoSettings": {
"description": "Cal video settings for the event type",
"allOf": [
{
"$ref": "#/components/schemas/CalVideoSettings"
}
]
},
"ownerId": {
"type": "number",
"example": 10
@@ -17175,6 +17208,14 @@
"type": "boolean",
"description": "Boolean to Hide organizer's email address from the booking screen, email notifications, and calendar events"
},
"calVideoSettings": {
"description": "Cal video settings for the event type",
"allOf": [
{
"$ref": "#/components/schemas/CalVideoSettings"
}
]
},
"locations": {
"type": "array",
"description": "Locations where the event will take place. If not provided, cal video link will be used as the location.",
@@ -18974,7 +19015,7 @@
},
"customName": {
"type": "string",
"description": "Customizable event name with valid variables: \n {Event type title}, {Organiser}, {Scheduler}, {Location}, {Organiser first name}, \n {Scheduler first name}, {Scheduler last name}, {Event duration}, {LOCATION}, \n {HOST/ATTENDEE}, {HOST}, {ATTENDEE}, {USER}",
"description": "Customizable event name with valid variables:\n {Event type title}, {Organiser}, {Scheduler}, {Location}, {Organiser first name},\n {Scheduler first name}, {Scheduler last name}, {Event duration}, {LOCATION},\n {HOST/ATTENDEE}, {HOST}, {ATTENDEE}, {USER}",
"example": "{Event type title} between {Organiser} and {Scheduler}"
},
"destinationCalendar": {
@@ -18995,6 +19036,14 @@
"type": "boolean",
"description": "Boolean to Hide organizer's email address from the booking screen, email notifications, and calendar events"
},
"calVideoSettings": {
"description": "Cal video settings for the event type",
"allOf": [
{
"$ref": "#/components/schemas/CalVideoSettings"
}
]
},
"schedulingType": {
"type": "string",
"enum": [
@@ -19420,6 +19469,15 @@
"type": "boolean",
"description": "Boolean to Hide organizer's email address from the booking screen, email notifications, and calendar events"
},
"calVideoSettings": {
"nullable": true,
"description": "Cal video settings for the event type",
"allOf": [
{
"$ref": "#/components/schemas/CalVideoSettings"
}
]
},
"teamId": {
"type": "number"
},
@@ -19858,6 +19916,14 @@
"type": "boolean",
"description": "Boolean to Hide organizer's email address from the booking screen, email notifications, and calendar events"
},
"calVideoSettings": {
"description": "Cal video settings for the event type",
"allOf": [
{
"$ref": "#/components/schemas/CalVideoSettings"
}
]
},
"hosts": {
"type": "array",
"items": {