From 658e65be4d4a858e5856817cf6800c4288871384 Mon Sep 17 00:00:00 2001
From: Romit <85230081+romitg2@users.noreply.github.com>
Date: Thu, 5 Mar 2026 19:34:03 +0530
Subject: [PATCH] fix: correct webhook triggers OpenAPI type from string to
array (#28288)
* fix(api): correct webhook triggers OpenAPI type from string to array
* chore: update .github/oasdiff-err-ignore.txt to allow schema change
---
.github/oasdiff-err-ignore.txt | 235 +++++++++
.../modules/webhooks/inputs/webhook.input.ts | 3 +-
.../webhooks/outputs/webhook.output.ts | 1 +
docs/api-reference/v2/openapi.json | 495 +++++++++++++++---
4 files changed, 654 insertions(+), 80 deletions(-)
diff --git a/.github/oasdiff-err-ignore.txt b/.github/oasdiff-err-ignore.txt
index 634506501b..4bd764b6a0 100644
--- a/.github/oasdiff-err-ignore.txt
+++ b/.github/oasdiff-err-ignore.txt
@@ -15,3 +15,238 @@ GET /v2/oauth-clients/{clientId}/webhooks/{webhookId} added the new path request
DELETE /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks/{webhookId} added the new path request parameter 'webhookId'
GET /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks/{webhookId} added the new path request parameter 'webhookId'
GET /v2/webhooks/{webhookId} added the new path request parameter 'webhookId'
+GET /v2/event-types/{eventTypeId}/webhooks the 'data/items/triggers/items/' response's property type/format changed from 'object'/'' to 'string'/'' for status '200'
+POST /v2/event-types/{eventTypeId}/webhooks removed the enum value 'AFTER_GUESTS_CAL_VIDEO_NO_SHOW' of the request property 'triggers'
+POST /v2/event-types/{eventTypeId}/webhooks removed the enum value 'AFTER_HOSTS_CAL_VIDEO_NO_SHOW' of the request property 'triggers'
+POST /v2/event-types/{eventTypeId}/webhooks removed the enum value 'BOOKING_CANCELLED' of the request property 'triggers'
+POST /v2/event-types/{eventTypeId}/webhooks removed the enum value 'BOOKING_CREATED' of the request property 'triggers'
+POST /v2/event-types/{eventTypeId}/webhooks removed the enum value 'BOOKING_NO_SHOW_UPDATED' of the request property 'triggers'
+POST /v2/event-types/{eventTypeId}/webhooks removed the enum value 'BOOKING_PAID' of the request property 'triggers'
+POST /v2/event-types/{eventTypeId}/webhooks removed the enum value 'BOOKING_PAYMENT_INITIATED' of the request property 'triggers'
+POST /v2/event-types/{eventTypeId}/webhooks removed the enum value 'BOOKING_REJECTED' of the request property 'triggers'
+POST /v2/event-types/{eventTypeId}/webhooks removed the enum value 'BOOKING_REQUESTED' of the request property 'triggers'
+POST /v2/event-types/{eventTypeId}/webhooks removed the enum value 'BOOKING_RESCHEDULED' of the request property 'triggers'
+POST /v2/event-types/{eventTypeId}/webhooks removed the enum value 'DELEGATION_CREDENTIAL_ERROR' of the request property 'triggers'
+POST /v2/event-types/{eventTypeId}/webhooks removed the enum value 'FORM_SUBMITTED' of the request property 'triggers'
+POST /v2/event-types/{eventTypeId}/webhooks removed the enum value 'FORM_SUBMITTED_NO_EVENT' of the request property 'triggers'
+POST /v2/event-types/{eventTypeId}/webhooks removed the enum value 'INSTANT_MEETING' of the request property 'triggers'
+POST /v2/event-types/{eventTypeId}/webhooks removed the enum value 'MEETING_ENDED' of the request property 'triggers'
+POST /v2/event-types/{eventTypeId}/webhooks removed the enum value 'MEETING_STARTED' of the request property 'triggers'
+POST /v2/event-types/{eventTypeId}/webhooks removed the enum value 'OOO_CREATED' of the request property 'triggers'
+POST /v2/event-types/{eventTypeId}/webhooks removed the enum value 'RECORDING_READY' of the request property 'triggers'
+POST /v2/event-types/{eventTypeId}/webhooks removed the enum value 'RECORDING_TRANSCRIPTION_GENERATED' of the request property 'triggers'
+POST /v2/event-types/{eventTypeId}/webhooks removed the enum value 'WRONG_ASSIGNMENT_REPORT' of the request property 'triggers'
+POST /v2/event-types/{eventTypeId}/webhooks the 'triggers' request property type/format changed from 'string'/'' to 'array'/''
+POST /v2/event-types/{eventTypeId}/webhooks the 'data/triggers/items/' response's property type/format changed from 'object'/'' to 'string'/'' for status '201'
+DELETE /v2/event-types/{eventTypeId}/webhooks/{webhookId} the 'data/triggers/items/' response's property type/format changed from 'object'/'' to 'string'/'' for status '200'
+GET /v2/event-types/{eventTypeId}/webhooks/{webhookId} the 'data/triggers/items/' response's property type/format changed from 'object'/'' to 'string'/'' for status '200'
+PATCH /v2/event-types/{eventTypeId}/webhooks/{webhookId} removed the enum value 'AFTER_GUESTS_CAL_VIDEO_NO_SHOW' of the request property 'triggers'
+PATCH /v2/event-types/{eventTypeId}/webhooks/{webhookId} removed the enum value 'AFTER_HOSTS_CAL_VIDEO_NO_SHOW' of the request property 'triggers'
+PATCH /v2/event-types/{eventTypeId}/webhooks/{webhookId} removed the enum value 'BOOKING_CANCELLED' of the request property 'triggers'
+PATCH /v2/event-types/{eventTypeId}/webhooks/{webhookId} removed the enum value 'BOOKING_CREATED' of the request property 'triggers'
+PATCH /v2/event-types/{eventTypeId}/webhooks/{webhookId} removed the enum value 'BOOKING_NO_SHOW_UPDATED' of the request property 'triggers'
+PATCH /v2/event-types/{eventTypeId}/webhooks/{webhookId} removed the enum value 'BOOKING_PAID' of the request property 'triggers'
+PATCH /v2/event-types/{eventTypeId}/webhooks/{webhookId} removed the enum value 'BOOKING_PAYMENT_INITIATED' of the request property 'triggers'
+PATCH /v2/event-types/{eventTypeId}/webhooks/{webhookId} removed the enum value 'BOOKING_REJECTED' of the request property 'triggers'
+PATCH /v2/event-types/{eventTypeId}/webhooks/{webhookId} removed the enum value 'BOOKING_REQUESTED' of the request property 'triggers'
+PATCH /v2/event-types/{eventTypeId}/webhooks/{webhookId} removed the enum value 'BOOKING_RESCHEDULED' of the request property 'triggers'
+PATCH /v2/event-types/{eventTypeId}/webhooks/{webhookId} removed the enum value 'DELEGATION_CREDENTIAL_ERROR' of the request property 'triggers'
+PATCH /v2/event-types/{eventTypeId}/webhooks/{webhookId} removed the enum value 'FORM_SUBMITTED' of the request property 'triggers'
+PATCH /v2/event-types/{eventTypeId}/webhooks/{webhookId} removed the enum value 'FORM_SUBMITTED_NO_EVENT' of the request property 'triggers'
+PATCH /v2/event-types/{eventTypeId}/webhooks/{webhookId} removed the enum value 'INSTANT_MEETING' of the request property 'triggers'
+PATCH /v2/event-types/{eventTypeId}/webhooks/{webhookId} removed the enum value 'MEETING_ENDED' of the request property 'triggers'
+PATCH /v2/event-types/{eventTypeId}/webhooks/{webhookId} removed the enum value 'MEETING_STARTED' of the request property 'triggers'
+PATCH /v2/event-types/{eventTypeId}/webhooks/{webhookId} removed the enum value 'OOO_CREATED' of the request property 'triggers'
+PATCH /v2/event-types/{eventTypeId}/webhooks/{webhookId} removed the enum value 'RECORDING_READY' of the request property 'triggers'
+PATCH /v2/event-types/{eventTypeId}/webhooks/{webhookId} removed the enum value 'RECORDING_TRANSCRIPTION_GENERATED' of the request property 'triggers'
+PATCH /v2/event-types/{eventTypeId}/webhooks/{webhookId} removed the enum value 'WRONG_ASSIGNMENT_REPORT' of the request property 'triggers'
+PATCH /v2/event-types/{eventTypeId}/webhooks/{webhookId} the 'triggers' request property type/format changed from 'string'/'' to 'array'/''
+PATCH /v2/event-types/{eventTypeId}/webhooks/{webhookId} the 'data/triggers/items/' response's property type/format changed from 'object'/'' to 'string'/'' for status '200'
+GET /v2/oauth-clients/{clientId}/webhooks the 'data/items/triggers/items/' response's property type/format changed from 'object'/'' to 'string'/'' for status '200'
+POST /v2/oauth-clients/{clientId}/webhooks removed the enum value 'AFTER_GUESTS_CAL_VIDEO_NO_SHOW' of the request property 'triggers'
+POST /v2/oauth-clients/{clientId}/webhooks removed the enum value 'AFTER_HOSTS_CAL_VIDEO_NO_SHOW' of the request property 'triggers'
+POST /v2/oauth-clients/{clientId}/webhooks removed the enum value 'BOOKING_CANCELLED' of the request property 'triggers'
+POST /v2/oauth-clients/{clientId}/webhooks removed the enum value 'BOOKING_CREATED' of the request property 'triggers'
+POST /v2/oauth-clients/{clientId}/webhooks removed the enum value 'BOOKING_NO_SHOW_UPDATED' of the request property 'triggers'
+POST /v2/oauth-clients/{clientId}/webhooks removed the enum value 'BOOKING_PAID' of the request property 'triggers'
+POST /v2/oauth-clients/{clientId}/webhooks removed the enum value 'BOOKING_PAYMENT_INITIATED' of the request property 'triggers'
+POST /v2/oauth-clients/{clientId}/webhooks removed the enum value 'BOOKING_REJECTED' of the request property 'triggers'
+POST /v2/oauth-clients/{clientId}/webhooks removed the enum value 'BOOKING_REQUESTED' of the request property 'triggers'
+POST /v2/oauth-clients/{clientId}/webhooks removed the enum value 'BOOKING_RESCHEDULED' of the request property 'triggers'
+POST /v2/oauth-clients/{clientId}/webhooks removed the enum value 'DELEGATION_CREDENTIAL_ERROR' of the request property 'triggers'
+POST /v2/oauth-clients/{clientId}/webhooks removed the enum value 'FORM_SUBMITTED' of the request property 'triggers'
+POST /v2/oauth-clients/{clientId}/webhooks removed the enum value 'FORM_SUBMITTED_NO_EVENT' of the request property 'triggers'
+POST /v2/oauth-clients/{clientId}/webhooks removed the enum value 'INSTANT_MEETING' of the request property 'triggers'
+POST /v2/oauth-clients/{clientId}/webhooks removed the enum value 'MEETING_ENDED' of the request property 'triggers'
+POST /v2/oauth-clients/{clientId}/webhooks removed the enum value 'MEETING_STARTED' of the request property 'triggers'
+POST /v2/oauth-clients/{clientId}/webhooks removed the enum value 'OOO_CREATED' of the request property 'triggers'
+POST /v2/oauth-clients/{clientId}/webhooks removed the enum value 'RECORDING_READY' of the request property 'triggers'
+POST /v2/oauth-clients/{clientId}/webhooks removed the enum value 'RECORDING_TRANSCRIPTION_GENERATED' of the request property 'triggers'
+POST /v2/oauth-clients/{clientId}/webhooks removed the enum value 'WRONG_ASSIGNMENT_REPORT' of the request property 'triggers'
+POST /v2/oauth-clients/{clientId}/webhooks the 'triggers' request property type/format changed from 'string'/'' to 'array'/''
+POST /v2/oauth-clients/{clientId}/webhooks the 'data/triggers/items/' response's property type/format changed from 'object'/'' to 'string'/'' for status '201'
+DELETE /v2/oauth-clients/{clientId}/webhooks/{webhookId} the 'data/triggers/items/' response's property type/format changed from 'object'/'' to 'string'/'' for status '200'
+GET /v2/oauth-clients/{clientId}/webhooks/{webhookId} the 'data/triggers/items/' response's property type/format changed from 'object'/'' to 'string'/'' for status '200'
+PATCH /v2/oauth-clients/{clientId}/webhooks/{webhookId} removed the enum value 'AFTER_GUESTS_CAL_VIDEO_NO_SHOW' of the request property 'triggers'
+PATCH /v2/oauth-clients/{clientId}/webhooks/{webhookId} removed the enum value 'AFTER_HOSTS_CAL_VIDEO_NO_SHOW' of the request property 'triggers'
+PATCH /v2/oauth-clients/{clientId}/webhooks/{webhookId} removed the enum value 'BOOKING_CANCELLED' of the request property 'triggers'
+PATCH /v2/oauth-clients/{clientId}/webhooks/{webhookId} removed the enum value 'BOOKING_CREATED' of the request property 'triggers'
+PATCH /v2/oauth-clients/{clientId}/webhooks/{webhookId} removed the enum value 'BOOKING_NO_SHOW_UPDATED' of the request property 'triggers'
+PATCH /v2/oauth-clients/{clientId}/webhooks/{webhookId} removed the enum value 'BOOKING_PAID' of the request property 'triggers'
+PATCH /v2/oauth-clients/{clientId}/webhooks/{webhookId} removed the enum value 'BOOKING_PAYMENT_INITIATED' of the request property 'triggers'
+PATCH /v2/oauth-clients/{clientId}/webhooks/{webhookId} removed the enum value 'BOOKING_REJECTED' of the request property 'triggers'
+PATCH /v2/oauth-clients/{clientId}/webhooks/{webhookId} removed the enum value 'BOOKING_REQUESTED' of the request property 'triggers'
+PATCH /v2/oauth-clients/{clientId}/webhooks/{webhookId} removed the enum value 'BOOKING_RESCHEDULED' of the request property 'triggers'
+PATCH /v2/oauth-clients/{clientId}/webhooks/{webhookId} removed the enum value 'DELEGATION_CREDENTIAL_ERROR' of the request property 'triggers'
+PATCH /v2/oauth-clients/{clientId}/webhooks/{webhookId} removed the enum value 'FORM_SUBMITTED' of the request property 'triggers'
+PATCH /v2/oauth-clients/{clientId}/webhooks/{webhookId} removed the enum value 'FORM_SUBMITTED_NO_EVENT' of the request property 'triggers'
+PATCH /v2/oauth-clients/{clientId}/webhooks/{webhookId} removed the enum value 'INSTANT_MEETING' of the request property 'triggers'
+PATCH /v2/oauth-clients/{clientId}/webhooks/{webhookId} removed the enum value 'MEETING_ENDED' of the request property 'triggers'
+PATCH /v2/oauth-clients/{clientId}/webhooks/{webhookId} removed the enum value 'MEETING_STARTED' of the request property 'triggers'
+PATCH /v2/oauth-clients/{clientId}/webhooks/{webhookId} removed the enum value 'OOO_CREATED' of the request property 'triggers'
+PATCH /v2/oauth-clients/{clientId}/webhooks/{webhookId} removed the enum value 'RECORDING_READY' of the request property 'triggers'
+PATCH /v2/oauth-clients/{clientId}/webhooks/{webhookId} removed the enum value 'RECORDING_TRANSCRIPTION_GENERATED' of the request property 'triggers'
+PATCH /v2/oauth-clients/{clientId}/webhooks/{webhookId} removed the enum value 'WRONG_ASSIGNMENT_REPORT' of the request property 'triggers'
+PATCH /v2/oauth-clients/{clientId}/webhooks/{webhookId} the 'triggers' request property type/format changed from 'string'/'' to 'array'/''
+PATCH /v2/oauth-clients/{clientId}/webhooks/{webhookId} the 'data/triggers/items/' response's property type/format changed from 'object'/'' to 'string'/'' for status '200'
+GET /v2/organizations/{orgId}/webhooks the 'data/items/triggers/items/' response's property type/format changed from 'object'/'' to 'string'/'' for status '200'
+POST /v2/organizations/{orgId}/webhooks removed the enum value 'AFTER_GUESTS_CAL_VIDEO_NO_SHOW' of the request property 'triggers'
+POST /v2/organizations/{orgId}/webhooks removed the enum value 'AFTER_HOSTS_CAL_VIDEO_NO_SHOW' of the request property 'triggers'
+POST /v2/organizations/{orgId}/webhooks removed the enum value 'BOOKING_CANCELLED' of the request property 'triggers'
+POST /v2/organizations/{orgId}/webhooks removed the enum value 'BOOKING_CREATED' of the request property 'triggers'
+POST /v2/organizations/{orgId}/webhooks removed the enum value 'BOOKING_NO_SHOW_UPDATED' of the request property 'triggers'
+POST /v2/organizations/{orgId}/webhooks removed the enum value 'BOOKING_PAID' of the request property 'triggers'
+POST /v2/organizations/{orgId}/webhooks removed the enum value 'BOOKING_PAYMENT_INITIATED' of the request property 'triggers'
+POST /v2/organizations/{orgId}/webhooks removed the enum value 'BOOKING_REJECTED' of the request property 'triggers'
+POST /v2/organizations/{orgId}/webhooks removed the enum value 'BOOKING_REQUESTED' of the request property 'triggers'
+POST /v2/organizations/{orgId}/webhooks removed the enum value 'BOOKING_RESCHEDULED' of the request property 'triggers'
+POST /v2/organizations/{orgId}/webhooks removed the enum value 'DELEGATION_CREDENTIAL_ERROR' of the request property 'triggers'
+POST /v2/organizations/{orgId}/webhooks removed the enum value 'FORM_SUBMITTED' of the request property 'triggers'
+POST /v2/organizations/{orgId}/webhooks removed the enum value 'FORM_SUBMITTED_NO_EVENT' of the request property 'triggers'
+POST /v2/organizations/{orgId}/webhooks removed the enum value 'INSTANT_MEETING' of the request property 'triggers'
+POST /v2/organizations/{orgId}/webhooks removed the enum value 'MEETING_ENDED' of the request property 'triggers'
+POST /v2/organizations/{orgId}/webhooks removed the enum value 'MEETING_STARTED' of the request property 'triggers'
+POST /v2/organizations/{orgId}/webhooks removed the enum value 'OOO_CREATED' of the request property 'triggers'
+POST /v2/organizations/{orgId}/webhooks removed the enum value 'RECORDING_READY' of the request property 'triggers'
+POST /v2/organizations/{orgId}/webhooks removed the enum value 'RECORDING_TRANSCRIPTION_GENERATED' of the request property 'triggers'
+POST /v2/organizations/{orgId}/webhooks removed the enum value 'WRONG_ASSIGNMENT_REPORT' of the request property 'triggers'
+POST /v2/organizations/{orgId}/webhooks the 'triggers' request property type/format changed from 'string'/'' to 'array'/''
+POST /v2/organizations/{orgId}/webhooks the 'data/triggers/items/' response's property type/format changed from 'object'/'' to 'string'/'' for status '201'
+DELETE /v2/organizations/{orgId}/webhooks/{webhookId} the 'data/triggers/items/' response's property type/format changed from 'object'/'' to 'string'/'' for status '200'
+GET /v2/organizations/{orgId}/webhooks/{webhookId} the 'data/triggers/items/' response's property type/format changed from 'object'/'' to 'string'/'' for status '200'
+PATCH /v2/organizations/{orgId}/webhooks/{webhookId} removed the enum value 'AFTER_GUESTS_CAL_VIDEO_NO_SHOW' of the request property 'triggers'
+PATCH /v2/organizations/{orgId}/webhooks/{webhookId} removed the enum value 'AFTER_HOSTS_CAL_VIDEO_NO_SHOW' of the request property 'triggers'
+PATCH /v2/organizations/{orgId}/webhooks/{webhookId} removed the enum value 'BOOKING_CANCELLED' of the request property 'triggers'
+PATCH /v2/organizations/{orgId}/webhooks/{webhookId} removed the enum value 'BOOKING_CREATED' of the request property 'triggers'
+PATCH /v2/organizations/{orgId}/webhooks/{webhookId} removed the enum value 'BOOKING_NO_SHOW_UPDATED' of the request property 'triggers'
+PATCH /v2/organizations/{orgId}/webhooks/{webhookId} removed the enum value 'BOOKING_PAID' of the request property 'triggers'
+PATCH /v2/organizations/{orgId}/webhooks/{webhookId} removed the enum value 'BOOKING_PAYMENT_INITIATED' of the request property 'triggers'
+PATCH /v2/organizations/{orgId}/webhooks/{webhookId} removed the enum value 'BOOKING_REJECTED' of the request property 'triggers'
+PATCH /v2/organizations/{orgId}/webhooks/{webhookId} removed the enum value 'BOOKING_REQUESTED' of the request property 'triggers'
+PATCH /v2/organizations/{orgId}/webhooks/{webhookId} removed the enum value 'BOOKING_RESCHEDULED' of the request property 'triggers'
+PATCH /v2/organizations/{orgId}/webhooks/{webhookId} removed the enum value 'DELEGATION_CREDENTIAL_ERROR' of the request property 'triggers'
+PATCH /v2/organizations/{orgId}/webhooks/{webhookId} removed the enum value 'FORM_SUBMITTED' of the request property 'triggers'
+PATCH /v2/organizations/{orgId}/webhooks/{webhookId} removed the enum value 'FORM_SUBMITTED_NO_EVENT' of the request property 'triggers'
+PATCH /v2/organizations/{orgId}/webhooks/{webhookId} removed the enum value 'INSTANT_MEETING' of the request property 'triggers'
+PATCH /v2/organizations/{orgId}/webhooks/{webhookId} removed the enum value 'MEETING_ENDED' of the request property 'triggers'
+PATCH /v2/organizations/{orgId}/webhooks/{webhookId} removed the enum value 'MEETING_STARTED' of the request property 'triggers'
+PATCH /v2/organizations/{orgId}/webhooks/{webhookId} removed the enum value 'OOO_CREATED' of the request property 'triggers'
+PATCH /v2/organizations/{orgId}/webhooks/{webhookId} removed the enum value 'RECORDING_READY' of the request property 'triggers'
+PATCH /v2/organizations/{orgId}/webhooks/{webhookId} removed the enum value 'RECORDING_TRANSCRIPTION_GENERATED' of the request property 'triggers'
+PATCH /v2/organizations/{orgId}/webhooks/{webhookId} removed the enum value 'WRONG_ASSIGNMENT_REPORT' of the request property 'triggers'
+PATCH /v2/organizations/{orgId}/webhooks/{webhookId} the 'triggers' request property type/format changed from 'string'/'' to 'array'/''
+PATCH /v2/organizations/{orgId}/webhooks/{webhookId} the 'data/triggers/items/' response's property type/format changed from 'object'/'' to 'string'/'' for status '200'
+GET /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks the 'data/items/triggers/items/' response's property type/format changed from 'object'/'' to 'string'/'' for status '200'
+POST /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks removed the enum value 'AFTER_GUESTS_CAL_VIDEO_NO_SHOW' of the request property 'triggers'
+POST /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks removed the enum value 'AFTER_HOSTS_CAL_VIDEO_NO_SHOW' of the request property 'triggers'
+POST /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks removed the enum value 'BOOKING_CANCELLED' of the request property 'triggers'
+POST /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks removed the enum value 'BOOKING_CREATED' of the request property 'triggers'
+POST /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks removed the enum value 'BOOKING_NO_SHOW_UPDATED' of the request property 'triggers'
+POST /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks removed the enum value 'BOOKING_PAID' of the request property 'triggers'
+POST /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks removed the enum value 'BOOKING_PAYMENT_INITIATED' of the request property 'triggers'
+POST /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks removed the enum value 'BOOKING_REJECTED' of the request property 'triggers'
+POST /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks removed the enum value 'BOOKING_REQUESTED' of the request property 'triggers'
+POST /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks removed the enum value 'BOOKING_RESCHEDULED' of the request property 'triggers'
+POST /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks removed the enum value 'DELEGATION_CREDENTIAL_ERROR' of the request property 'triggers'
+POST /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks removed the enum value 'FORM_SUBMITTED' of the request property 'triggers'
+POST /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks removed the enum value 'FORM_SUBMITTED_NO_EVENT' of the request property 'triggers'
+POST /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks removed the enum value 'INSTANT_MEETING' of the request property 'triggers'
+POST /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks removed the enum value 'MEETING_ENDED' of the request property 'triggers'
+POST /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks removed the enum value 'MEETING_STARTED' of the request property 'triggers'
+POST /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks removed the enum value 'OOO_CREATED' of the request property 'triggers'
+POST /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks removed the enum value 'RECORDING_READY' of the request property 'triggers'
+POST /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks removed the enum value 'RECORDING_TRANSCRIPTION_GENERATED' of the request property 'triggers'
+POST /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks removed the enum value 'WRONG_ASSIGNMENT_REPORT' of the request property 'triggers'
+POST /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks the 'triggers' request property type/format changed from 'string'/'' to 'array'/''
+POST /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks the 'data/triggers/items/' response's property type/format changed from 'object'/'' to 'string'/'' for status '201'
+DELETE /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks/{webhookId} the 'data/triggers/items/' response's property type/format changed from 'object'/'' to 'string'/'' for status '200'
+GET /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks/{webhookId} the 'data/triggers/items/' response's property type/format changed from 'object'/'' to 'string'/'' for status '200'
+PATCH /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks/{webhookId} removed the enum value 'AFTER_GUESTS_CAL_VIDEO_NO_SHOW' of the request property 'triggers'
+PATCH /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks/{webhookId} removed the enum value 'AFTER_HOSTS_CAL_VIDEO_NO_SHOW' of the request property 'triggers'
+PATCH /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks/{webhookId} removed the enum value 'BOOKING_CANCELLED' of the request property 'triggers'
+PATCH /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks/{webhookId} removed the enum value 'BOOKING_CREATED' of the request property 'triggers'
+PATCH /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks/{webhookId} removed the enum value 'BOOKING_NO_SHOW_UPDATED' of the request property 'triggers'
+PATCH /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks/{webhookId} removed the enum value 'BOOKING_PAID' of the request property 'triggers'
+PATCH /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks/{webhookId} removed the enum value 'BOOKING_PAYMENT_INITIATED' of the request property 'triggers'
+PATCH /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks/{webhookId} removed the enum value 'BOOKING_REJECTED' of the request property 'triggers'
+PATCH /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks/{webhookId} removed the enum value 'BOOKING_REQUESTED' of the request property 'triggers'
+PATCH /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks/{webhookId} removed the enum value 'BOOKING_RESCHEDULED' of the request property 'triggers'
+PATCH /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks/{webhookId} removed the enum value 'DELEGATION_CREDENTIAL_ERROR' of the request property 'triggers'
+PATCH /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks/{webhookId} removed the enum value 'FORM_SUBMITTED' of the request property 'triggers'
+PATCH /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks/{webhookId} removed the enum value 'FORM_SUBMITTED_NO_EVENT' of the request property 'triggers'
+PATCH /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks/{webhookId} removed the enum value 'INSTANT_MEETING' of the request property 'triggers'
+PATCH /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks/{webhookId} removed the enum value 'MEETING_ENDED' of the request property 'triggers'
+PATCH /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks/{webhookId} removed the enum value 'MEETING_STARTED' of the request property 'triggers'
+PATCH /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks/{webhookId} removed the enum value 'OOO_CREATED' of the request property 'triggers'
+PATCH /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks/{webhookId} removed the enum value 'RECORDING_READY' of the request property 'triggers'
+PATCH /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks/{webhookId} removed the enum value 'RECORDING_TRANSCRIPTION_GENERATED' of the request property 'triggers'
+PATCH /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks/{webhookId} removed the enum value 'WRONG_ASSIGNMENT_REPORT' of the request property 'triggers'
+PATCH /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks/{webhookId} the 'triggers' request property type/format changed from 'string'/'' to 'array'/''
+PATCH /v2/teams/{teamId}/event-types/{eventTypeId}/webhooks/{webhookId} the 'data/triggers/items/' response's property type/format changed from 'object'/'' to 'string'/'' for status '200'
+GET /v2/webhooks the 'data/items/triggers/items/' response's property type/format changed from 'object'/'' to 'string'/'' for status '200'
+POST /v2/webhooks removed the enum value 'AFTER_GUESTS_CAL_VIDEO_NO_SHOW' of the request property 'triggers'
+POST /v2/webhooks removed the enum value 'AFTER_HOSTS_CAL_VIDEO_NO_SHOW' of the request property 'triggers'
+POST /v2/webhooks removed the enum value 'BOOKING_CANCELLED' of the request property 'triggers'
+POST /v2/webhooks removed the enum value 'BOOKING_CREATED' of the request property 'triggers'
+POST /v2/webhooks removed the enum value 'BOOKING_NO_SHOW_UPDATED' of the request property 'triggers'
+POST /v2/webhooks removed the enum value 'BOOKING_PAID' of the request property 'triggers'
+POST /v2/webhooks removed the enum value 'BOOKING_PAYMENT_INITIATED' of the request property 'triggers'
+POST /v2/webhooks removed the enum value 'BOOKING_REJECTED' of the request property 'triggers'
+POST /v2/webhooks removed the enum value 'BOOKING_REQUESTED' of the request property 'triggers'
+POST /v2/webhooks removed the enum value 'BOOKING_RESCHEDULED' of the request property 'triggers'
+POST /v2/webhooks removed the enum value 'DELEGATION_CREDENTIAL_ERROR' of the request property 'triggers'
+POST /v2/webhooks removed the enum value 'FORM_SUBMITTED' of the request property 'triggers'
+POST /v2/webhooks removed the enum value 'FORM_SUBMITTED_NO_EVENT' of the request property 'triggers'
+POST /v2/webhooks removed the enum value 'INSTANT_MEETING' of the request property 'triggers'
+POST /v2/webhooks removed the enum value 'MEETING_ENDED' of the request property 'triggers'
+POST /v2/webhooks removed the enum value 'MEETING_STARTED' of the request property 'triggers'
+POST /v2/webhooks removed the enum value 'OOO_CREATED' of the request property 'triggers'
+POST /v2/webhooks removed the enum value 'RECORDING_READY' of the request property 'triggers'
+POST /v2/webhooks removed the enum value 'RECORDING_TRANSCRIPTION_GENERATED' of the request property 'triggers'
+POST /v2/webhooks removed the enum value 'WRONG_ASSIGNMENT_REPORT' of the request property 'triggers'
+POST /v2/webhooks the 'triggers' request property type/format changed from 'string'/'' to 'array'/''
+POST /v2/webhooks the 'data/triggers/items/' response's property type/format changed from 'object'/'' to 'string'/'' for status '201'
+DELETE /v2/webhooks/{webhookId} the 'data/triggers/items/' response's property type/format changed from 'object'/'' to 'string'/'' for status '200'
+GET /v2/webhooks/{webhookId} the 'data/triggers/items/' response's property type/format changed from 'object'/'' to 'string'/'' for status '200'
+PATCH /v2/webhooks/{webhookId} removed the enum value 'AFTER_GUESTS_CAL_VIDEO_NO_SHOW' of the request property 'triggers'
+PATCH /v2/webhooks/{webhookId} removed the enum value 'AFTER_HOSTS_CAL_VIDEO_NO_SHOW' of the request property 'triggers'
+PATCH /v2/webhooks/{webhookId} removed the enum value 'BOOKING_CANCELLED' of the request property 'triggers'
+PATCH /v2/webhooks/{webhookId} removed the enum value 'BOOKING_CREATED' of the request property 'triggers'
+PATCH /v2/webhooks/{webhookId} removed the enum value 'BOOKING_NO_SHOW_UPDATED' of the request property 'triggers'
+PATCH /v2/webhooks/{webhookId} removed the enum value 'BOOKING_PAID' of the request property 'triggers'
+PATCH /v2/webhooks/{webhookId} removed the enum value 'BOOKING_PAYMENT_INITIATED' of the request property 'triggers'
+PATCH /v2/webhooks/{webhookId} removed the enum value 'BOOKING_REJECTED' of the request property 'triggers'
+PATCH /v2/webhooks/{webhookId} removed the enum value 'BOOKING_REQUESTED' of the request property 'triggers'
+PATCH /v2/webhooks/{webhookId} removed the enum value 'BOOKING_RESCHEDULED' of the request property 'triggers'
+PATCH /v2/webhooks/{webhookId} removed the enum value 'DELEGATION_CREDENTIAL_ERROR' of the request property 'triggers'
+PATCH /v2/webhooks/{webhookId} removed the enum value 'FORM_SUBMITTED' of the request property 'triggers'
+PATCH /v2/webhooks/{webhookId} removed the enum value 'FORM_SUBMITTED_NO_EVENT' of the request property 'triggers'
+PATCH /v2/webhooks/{webhookId} removed the enum value 'INSTANT_MEETING' of the request property 'triggers'
+PATCH /v2/webhooks/{webhookId} removed the enum value 'MEETING_ENDED' of the request property 'triggers'
+PATCH /v2/webhooks/{webhookId} removed the enum value 'MEETING_STARTED' of the request property 'triggers'
+PATCH /v2/webhooks/{webhookId} removed the enum value 'OOO_CREATED' of the request property 'triggers'
+PATCH /v2/webhooks/{webhookId} removed the enum value 'RECORDING_READY' of the request property 'triggers'
+PATCH /v2/webhooks/{webhookId} removed the enum value 'RECORDING_TRANSCRIPTION_GENERATED' of the request property 'triggers'
+PATCH /v2/webhooks/{webhookId} removed the enum value 'WRONG_ASSIGNMENT_REPORT' of the request property 'triggers'
+PATCH /v2/webhooks/{webhookId} the 'triggers' request property type/format changed from 'string'/'' to 'array'/''
+PATCH /v2/webhooks/{webhookId} the 'data/triggers/items/' response's property type/format changed from 'object'/'' to 'string'/'' for status '200'
diff --git a/apps/api/v2/src/modules/webhooks/inputs/webhook.input.ts b/apps/api/v2/src/modules/webhooks/inputs/webhook.input.ts
index 35570173cf..f892b0cef7 100644
--- a/apps/api/v2/src/modules/webhooks/inputs/webhook.input.ts
+++ b/apps/api/v2/src/modules/webhooks/inputs/webhook.input.ts
@@ -29,6 +29,8 @@ export class CreateWebhookInputDto {
@IsArray()
@ApiProperty({
+ isArray: true,
+ enum: WebhookTriggerEvents,
example: [
"BOOKING_CREATED",
"BOOKING_RESCHEDULED",
@@ -39,7 +41,6 @@ export class CreateWebhookInputDto {
"BOOKING_NO_SHOW",
"BOOKING_REOPENED",
],
- enum: WebhookTriggerEvents,
})
@IsEnum(WebhookTriggerEvents, { each: true })
triggers!: WebhookTriggerEvents[];
diff --git a/apps/api/v2/src/modules/webhooks/outputs/webhook.output.ts b/apps/api/v2/src/modules/webhooks/outputs/webhook.output.ts
index e2ea2761b1..52408e8b58 100644
--- a/apps/api/v2/src/modules/webhooks/outputs/webhook.output.ts
+++ b/apps/api/v2/src/modules/webhooks/outputs/webhook.output.ts
@@ -28,6 +28,7 @@ export class WebhookOutputDto {
@IsArray()
@IsEnum(WebhookTriggerEvents, { each: true })
@Expose()
+ @ApiProperty({ isArray: true, enum: WebhookTriggerEvents })
readonly triggers!: WebhookTriggerEvents[];
@IsString()
diff --git a/docs/api-reference/v2/openapi.json b/docs/api-reference/v2/openapi.json
index 007be244f6..3c892a80f1 100644
--- a/docs/api-reference/v2/openapi.json
+++ b/docs/api-reference/v2/openapi.json
@@ -10234,6 +10234,64 @@
"tags": ["Bookings"]
}
},
+ "/v2/bookings/{bookingUid}/attendees": {
+ "post": {
+ "operationId": "BookingAttendeesController_2024_08_13_addAttendee",
+ "summary": "Add an attendee to a booking",
+ "description": "Add a new attendee to an existing booking by its UID.\n\n **Side effects:**\n - The booking's attendee list is updated in the database\n - The calendar event is updated on connected calendars (Google Calendar, Outlook, etc.) to include the new attendee\n - An email notification is sent to the new attendee with the booking details\n\n **Permissions:**\n - The authenticated user must be either the booking organizer, an existing attendee, or have the `booking.update` permission for the team\n\n The cal-api-version header is required for this endpoint. Without it, the request will fail with a 404 error.\n ",
+ "parameters": [
+ {
+ "name": "cal-api-version",
+ "in": "header",
+ "description": "Must be set to 2024-08-13. This header is required as this endpoint does not exist in older API versions.",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "bookingUid",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "Authorization",
+ "in": "header",
+ "description": "value must be `Bearer ` where `` is api key prefixed with cal_ or managed user access token",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/AddAttendeeInput_2024_08_13"
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/AddAttendeeOutput_2024_08_13"
+ }
+ }
+ }
+ }
+ },
+ "tags": ["Bookings / Attendees"]
+ }
+ },
"/v2/bookings/{bookingUid}/guests": {
"post": {
"operationId": "BookingGuestsController_2024_08_13_addGuests",
@@ -24232,18 +24290,41 @@
"description": "The template of the payload that will be sent to the subscriberUrl, check cal.com/docs/core-features/webhooks for more information",
"example": "{\"content\":\"A new event has been scheduled\",\"type\":\"{{type}}\",\"name\":\"{{title}}\",\"organizer\":\"{{organizer.name}}\",\"booker\":\"{{attendees.0.name}}\"}"
},
+ "triggers": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "enum": [
+ "BOOKING_CREATED",
+ "BOOKING_PAYMENT_INITIATED",
+ "BOOKING_PAID",
+ "BOOKING_RESCHEDULED",
+ "BOOKING_REQUESTED",
+ "BOOKING_CANCELLED",
+ "BOOKING_REJECTED",
+ "BOOKING_NO_SHOW_UPDATED",
+ "FORM_SUBMITTED",
+ "MEETING_ENDED",
+ "MEETING_STARTED",
+ "RECORDING_READY",
+ "INSTANT_MEETING",
+ "RECORDING_TRANSCRIPTION_GENERATED",
+ "OOO_CREATED",
+ "AFTER_HOSTS_CAL_VIDEO_NO_SHOW",
+ "AFTER_GUESTS_CAL_VIDEO_NO_SHOW",
+ "FORM_SUBMITTED_NO_EVENT",
+ "ROUTING_FORM_FALLBACK_HIT",
+ "DELEGATION_CREDENTIAL_ERROR",
+ "WRONG_ASSIGNMENT_REPORT"
+ ]
+ }
+ },
"teamId": {
"type": "number"
},
"id": {
"type": "number"
},
- "triggers": {
- "type": "array",
- "items": {
- "type": "object"
- }
- },
"subscriberUrl": {
"type": "string"
},
@@ -24254,7 +24335,7 @@
"type": "string"
}
},
- "required": ["payloadTemplate", "teamId", "id", "triggers", "subscriberUrl", "active"]
+ "required": ["payloadTemplate", "triggers", "teamId", "id", "subscriberUrl", "active"]
},
"TeamWebhooksOutputResponseDto": {
"type": "object",
@@ -24288,7 +24369,7 @@
"type": "string"
},
"triggers": {
- "type": "string",
+ "type": "array",
"example": [
"BOOKING_CREATED",
"BOOKING_RESCHEDULED",
@@ -24299,28 +24380,32 @@
"BOOKING_NO_SHOW",
"BOOKING_REOPENED"
],
- "enum": [
- "BOOKING_CREATED",
- "BOOKING_PAYMENT_INITIATED",
- "BOOKING_PAID",
- "BOOKING_RESCHEDULED",
- "BOOKING_REQUESTED",
- "BOOKING_CANCELLED",
- "BOOKING_REJECTED",
- "BOOKING_NO_SHOW_UPDATED",
- "FORM_SUBMITTED",
- "MEETING_ENDED",
- "MEETING_STARTED",
- "RECORDING_READY",
- "INSTANT_MEETING",
- "RECORDING_TRANSCRIPTION_GENERATED",
- "OOO_CREATED",
- "AFTER_HOSTS_CAL_VIDEO_NO_SHOW",
- "AFTER_GUESTS_CAL_VIDEO_NO_SHOW",
- "FORM_SUBMITTED_NO_EVENT",
- "DELEGATION_CREDENTIAL_ERROR",
- "WRONG_ASSIGNMENT_REPORT"
- ]
+ "items": {
+ "type": "string",
+ "enum": [
+ "BOOKING_CREATED",
+ "BOOKING_PAYMENT_INITIATED",
+ "BOOKING_PAID",
+ "BOOKING_RESCHEDULED",
+ "BOOKING_REQUESTED",
+ "BOOKING_CANCELLED",
+ "BOOKING_REJECTED",
+ "BOOKING_NO_SHOW_UPDATED",
+ "FORM_SUBMITTED",
+ "MEETING_ENDED",
+ "MEETING_STARTED",
+ "RECORDING_READY",
+ "INSTANT_MEETING",
+ "RECORDING_TRANSCRIPTION_GENERATED",
+ "OOO_CREATED",
+ "AFTER_HOSTS_CAL_VIDEO_NO_SHOW",
+ "AFTER_GUESTS_CAL_VIDEO_NO_SHOW",
+ "FORM_SUBMITTED_NO_EVENT",
+ "ROUTING_FORM_FALLBACK_HIT",
+ "DELEGATION_CREDENTIAL_ERROR",
+ "WRONG_ASSIGNMENT_REPORT"
+ ]
+ }
},
"secret": {
"type": "string"
@@ -24363,7 +24448,7 @@
"type": "string"
},
"triggers": {
- "type": "string",
+ "type": "array",
"example": [
"BOOKING_CREATED",
"BOOKING_RESCHEDULED",
@@ -24374,28 +24459,32 @@
"BOOKING_NO_SHOW",
"BOOKING_REOPENED"
],
- "enum": [
- "BOOKING_CREATED",
- "BOOKING_PAYMENT_INITIATED",
- "BOOKING_PAID",
- "BOOKING_RESCHEDULED",
- "BOOKING_REQUESTED",
- "BOOKING_CANCELLED",
- "BOOKING_REJECTED",
- "BOOKING_NO_SHOW_UPDATED",
- "FORM_SUBMITTED",
- "MEETING_ENDED",
- "MEETING_STARTED",
- "RECORDING_READY",
- "INSTANT_MEETING",
- "RECORDING_TRANSCRIPTION_GENERATED",
- "OOO_CREATED",
- "AFTER_HOSTS_CAL_VIDEO_NO_SHOW",
- "AFTER_GUESTS_CAL_VIDEO_NO_SHOW",
- "FORM_SUBMITTED_NO_EVENT",
- "DELEGATION_CREDENTIAL_ERROR",
- "WRONG_ASSIGNMENT_REPORT"
- ]
+ "items": {
+ "type": "string",
+ "enum": [
+ "BOOKING_CREATED",
+ "BOOKING_PAYMENT_INITIATED",
+ "BOOKING_PAID",
+ "BOOKING_RESCHEDULED",
+ "BOOKING_REQUESTED",
+ "BOOKING_CANCELLED",
+ "BOOKING_REJECTED",
+ "BOOKING_NO_SHOW_UPDATED",
+ "FORM_SUBMITTED",
+ "MEETING_ENDED",
+ "MEETING_STARTED",
+ "RECORDING_READY",
+ "INSTANT_MEETING",
+ "RECORDING_TRANSCRIPTION_GENERATED",
+ "OOO_CREATED",
+ "AFTER_HOSTS_CAL_VIDEO_NO_SHOW",
+ "AFTER_GUESTS_CAL_VIDEO_NO_SHOW",
+ "FORM_SUBMITTED_NO_EVENT",
+ "ROUTING_FORM_FALLBACK_HIT",
+ "DELEGATION_CREDENTIAL_ERROR",
+ "WRONG_ASSIGNMENT_REPORT"
+ ]
+ }
},
"secret": {
"type": "string"
@@ -29303,11 +29392,6 @@
"description": "The name of the attendee.",
"example": "John Doe"
},
- "email": {
- "type": "string",
- "description": "The email of the attendee.",
- "example": "john.doe@example.com"
- },
"timeZone": {
"type": "string",
"description": "The time zone of the attendee.",
@@ -29368,6 +29452,11 @@
"description": "The preferred language of the attendee. Used for booking confirmation.",
"example": "it",
"default": "en"
+ },
+ "email": {
+ "type": "string",
+ "description": "The email of the attendee.",
+ "example": "john.doe@example.com"
}
},
"required": ["name", "timeZone"]
@@ -31491,6 +31580,185 @@
},
"required": ["status", "data"]
},
+ "AddAttendeeInput_2024_08_13": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the attendee.",
+ "example": "John Doe"
+ },
+ "timeZone": {
+ "type": "string",
+ "description": "The time zone of the attendee.",
+ "example": "America/New_York"
+ },
+ "phoneNumber": {
+ "type": "string",
+ "description": "The phone number of the attendee in international format.",
+ "example": "+919876543210"
+ },
+ "language": {
+ "type": "string",
+ "enum": [
+ "ar",
+ "ca",
+ "de",
+ "es",
+ "eu",
+ "he",
+ "id",
+ "ja",
+ "lv",
+ "pl",
+ "ro",
+ "sr",
+ "th",
+ "vi",
+ "az",
+ "cs",
+ "el",
+ "es-419",
+ "fi",
+ "hr",
+ "it",
+ "km",
+ "nl",
+ "pt",
+ "ru",
+ "sv",
+ "tr",
+ "zh-CN",
+ "bg",
+ "da",
+ "en",
+ "et",
+ "fr",
+ "hu",
+ "iw",
+ "ko",
+ "no",
+ "pt-BR",
+ "sk",
+ "ta",
+ "uk",
+ "zh-TW",
+ "bn"
+ ],
+ "description": "The preferred language of the attendee. Used for booking confirmation.",
+ "example": "it",
+ "default": "en"
+ },
+ "email": {
+ "type": "string",
+ "description": "The email of the attendee.",
+ "example": "john.doe@example.com"
+ }
+ },
+ "required": ["name", "timeZone", "email"]
+ },
+ "BookingAttendeeOutput_2024_08_13": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "example": "John Doe"
+ },
+ "email": {
+ "type": "string",
+ "example": "john@example.com"
+ },
+ "displayEmail": {
+ "type": "string",
+ "example": "john@example.com",
+ "description": "Clean email for display purposes"
+ },
+ "timeZone": {
+ "type": "string",
+ "example": "America/New_York"
+ },
+ "language": {
+ "type": "string",
+ "enum": [
+ "ar",
+ "ca",
+ "de",
+ "es",
+ "eu",
+ "he",
+ "id",
+ "ja",
+ "lv",
+ "pl",
+ "ro",
+ "sr",
+ "th",
+ "vi",
+ "az",
+ "cs",
+ "el",
+ "es-419",
+ "fi",
+ "hr",
+ "it",
+ "km",
+ "nl",
+ "pt",
+ "ru",
+ "sv",
+ "tr",
+ "zh-CN",
+ "bg",
+ "da",
+ "en",
+ "et",
+ "fr",
+ "hu",
+ "iw",
+ "ko",
+ "no",
+ "pt-BR",
+ "sk",
+ "ta",
+ "uk",
+ "zh-TW",
+ "bn"
+ ],
+ "example": "en"
+ },
+ "absent": {
+ "type": "boolean",
+ "example": false
+ },
+ "phoneNumber": {
+ "type": "string",
+ "example": "+1234567890"
+ },
+ "id": {
+ "type": "number",
+ "example": 251
+ },
+ "bookingId": {
+ "type": "number",
+ "example": 313
+ }
+ },
+ "required": ["name", "email", "displayEmail", "timeZone", "absent", "id", "bookingId"]
+ },
+ "AddAttendeeOutput_2024_08_13": {
+ "type": "object",
+ "properties": {
+ "status": {
+ "type": "string",
+ "example": "success",
+ "enum": ["success", "error"]
+ },
+ "data": {
+ "$ref": "#/components/schemas/BookingAttendeeOutput_2024_08_13"
+ }
+ },
+ "required": ["status", "data"]
+ },
"Guest": {
"type": "object",
"properties": {
@@ -31905,18 +32173,41 @@
"description": "The template of the payload that will be sent to the subscriberUrl, check cal.com/docs/core-features/webhooks for more information",
"example": "{\"content\":\"A new event has been scheduled\",\"type\":\"{{type}}\",\"name\":\"{{title}}\",\"organizer\":\"{{organizer.name}}\",\"booker\":\"{{attendees.0.name}}\"}"
},
+ "triggers": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "enum": [
+ "BOOKING_CREATED",
+ "BOOKING_PAYMENT_INITIATED",
+ "BOOKING_PAID",
+ "BOOKING_RESCHEDULED",
+ "BOOKING_REQUESTED",
+ "BOOKING_CANCELLED",
+ "BOOKING_REJECTED",
+ "BOOKING_NO_SHOW_UPDATED",
+ "FORM_SUBMITTED",
+ "MEETING_ENDED",
+ "MEETING_STARTED",
+ "RECORDING_READY",
+ "INSTANT_MEETING",
+ "RECORDING_TRANSCRIPTION_GENERATED",
+ "OOO_CREATED",
+ "AFTER_HOSTS_CAL_VIDEO_NO_SHOW",
+ "AFTER_GUESTS_CAL_VIDEO_NO_SHOW",
+ "FORM_SUBMITTED_NO_EVENT",
+ "ROUTING_FORM_FALLBACK_HIT",
+ "DELEGATION_CREDENTIAL_ERROR",
+ "WRONG_ASSIGNMENT_REPORT"
+ ]
+ }
+ },
"userId": {
"type": "number"
},
"id": {
"type": "number"
},
- "triggers": {
- "type": "array",
- "items": {
- "type": "object"
- }
- },
"subscriberUrl": {
"type": "string"
},
@@ -31927,7 +32218,7 @@
"type": "string"
}
},
- "required": ["payloadTemplate", "userId", "id", "triggers", "subscriberUrl", "active"]
+ "required": ["payloadTemplate", "triggers", "userId", "id", "subscriberUrl", "active"]
},
"UserWebhookOutputResponseDto": {
"type": "object",
@@ -31968,18 +32259,41 @@
"description": "The template of the payload that will be sent to the subscriberUrl, check cal.com/docs/core-features/webhooks for more information",
"example": "{\"content\":\"A new event has been scheduled\",\"type\":\"{{type}}\",\"name\":\"{{title}}\",\"organizer\":\"{{organizer.name}}\",\"booker\":\"{{attendees.0.name}}\"}"
},
+ "triggers": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "enum": [
+ "BOOKING_CREATED",
+ "BOOKING_PAYMENT_INITIATED",
+ "BOOKING_PAID",
+ "BOOKING_RESCHEDULED",
+ "BOOKING_REQUESTED",
+ "BOOKING_CANCELLED",
+ "BOOKING_REJECTED",
+ "BOOKING_NO_SHOW_UPDATED",
+ "FORM_SUBMITTED",
+ "MEETING_ENDED",
+ "MEETING_STARTED",
+ "RECORDING_READY",
+ "INSTANT_MEETING",
+ "RECORDING_TRANSCRIPTION_GENERATED",
+ "OOO_CREATED",
+ "AFTER_HOSTS_CAL_VIDEO_NO_SHOW",
+ "AFTER_GUESTS_CAL_VIDEO_NO_SHOW",
+ "FORM_SUBMITTED_NO_EVENT",
+ "ROUTING_FORM_FALLBACK_HIT",
+ "DELEGATION_CREDENTIAL_ERROR",
+ "WRONG_ASSIGNMENT_REPORT"
+ ]
+ }
+ },
"eventTypeId": {
"type": "number"
},
"id": {
"type": "number"
},
- "triggers": {
- "type": "array",
- "items": {
- "type": "object"
- }
- },
"subscriberUrl": {
"type": "string"
},
@@ -31990,7 +32304,7 @@
"type": "string"
}
},
- "required": ["payloadTemplate", "eventTypeId", "id", "triggers", "subscriberUrl", "active"]
+ "required": ["payloadTemplate", "triggers", "eventTypeId", "id", "subscriberUrl", "active"]
},
"EventTypeWebhookOutputResponseDto": {
"type": "object",
@@ -32045,18 +32359,41 @@
"description": "The template of the payload that will be sent to the subscriberUrl, check cal.com/docs/core-features/webhooks for more information",
"example": "{\"content\":\"A new event has been scheduled\",\"type\":\"{{type}}\",\"name\":\"{{title}}\",\"organizer\":\"{{organizer.name}}\",\"booker\":\"{{attendees.0.name}}\"}"
},
+ "triggers": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "enum": [
+ "BOOKING_CREATED",
+ "BOOKING_PAYMENT_INITIATED",
+ "BOOKING_PAID",
+ "BOOKING_RESCHEDULED",
+ "BOOKING_REQUESTED",
+ "BOOKING_CANCELLED",
+ "BOOKING_REJECTED",
+ "BOOKING_NO_SHOW_UPDATED",
+ "FORM_SUBMITTED",
+ "MEETING_ENDED",
+ "MEETING_STARTED",
+ "RECORDING_READY",
+ "INSTANT_MEETING",
+ "RECORDING_TRANSCRIPTION_GENERATED",
+ "OOO_CREATED",
+ "AFTER_HOSTS_CAL_VIDEO_NO_SHOW",
+ "AFTER_GUESTS_CAL_VIDEO_NO_SHOW",
+ "FORM_SUBMITTED_NO_EVENT",
+ "ROUTING_FORM_FALLBACK_HIT",
+ "DELEGATION_CREDENTIAL_ERROR",
+ "WRONG_ASSIGNMENT_REPORT"
+ ]
+ }
+ },
"oAuthClientId": {
"type": "string"
},
"id": {
"type": "number"
},
- "triggers": {
- "type": "array",
- "items": {
- "type": "object"
- }
- },
"subscriberUrl": {
"type": "string"
},
@@ -32067,7 +32404,7 @@
"type": "string"
}
},
- "required": ["payloadTemplate", "oAuthClientId", "id", "triggers", "subscriberUrl", "active"]
+ "required": ["payloadTemplate", "triggers", "oAuthClientId", "id", "subscriberUrl", "active"]
},
"OAuthClientWebhookOutputResponseDto": {
"type": "object",