From 969b58f17d9be9f95469fb7a073907a4983fa31d Mon Sep 17 00:00:00 2001 From: "devin-ai-integration[bot]" <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Wed, 16 Jul 2025 13:58:01 +0000 Subject: [PATCH] docs: clarify bookingFields replacement behavior in update event type input (#22554) * docs: clarify bookingFields replacement behavior in update event type input Update description to explain that bookingFields array completely replaces existing fields rather than adding to them. Users must fetch existing fields first before making modifications. Co-Authored-By: lauris@cal.com * Update update-event-type.input.ts --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: lauris@cal.com Co-authored-by: Lauris Skraucis --- .../event-types_2024_06_14/inputs/update-event-type.input.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/platform/types/event-types/event-types_2024_06_14/inputs/update-event-type.input.ts b/packages/platform/types/event-types/event-types_2024_06_14/inputs/update-event-type.input.ts index b281fe5d15..51fe047664 100644 --- a/packages/platform/types/event-types/event-types_2024_06_14/inputs/update-event-type.input.ts +++ b/packages/platform/types/event-types/event-types_2024_06_14/inputs/update-event-type.input.ts @@ -159,7 +159,7 @@ class BaseUpdateEventTypeInput { @ValidateInputBookingFields_2024_06_14() @DocsPropertyOptional({ description: - "Custom fields that can be added to the booking form when the event is booked by someone. By default booking form has name and email field.", + "Complete set of booking form fields. This array replaces all existing booking fields. To modify existing fields, first fetch the current event type, then include all desired fields in this array. Sending only one field will remove all other custom fields, keeping only default fields plus the provided one.", oneOf: [ { $ref: getSchemaPath(NameDefaultFieldInput_2024_06_14) }, { $ref: getSchemaPath(EmailDefaultFieldInput_2024_06_14) },