From 4ff543efc7c24e3ea887a610d0061ac5b7586c64 Mon Sep 17 00:00:00 2001 From: Lauris Skraucis Date: Wed, 12 Mar 2025 15:36:32 +0100 Subject: [PATCH] docs: v2 reschedule and cancel booking (#20011) --- .../controllers/bookings.controller.ts | 31 +- apps/api/v2/swagger/documentation.json | 202 +- docs/api-reference/v2/openapi.json | 3334 ++++------------- 3 files changed, 1006 insertions(+), 2561 deletions(-) diff --git a/apps/api/v2/src/ee/bookings/2024-08-13/controllers/bookings.controller.ts b/apps/api/v2/src/ee/bookings/2024-08-13/controllers/bookings.controller.ts index 1c1585abfa..797db5758c 100644 --- a/apps/api/v2/src/ee/bookings/2024-08-13/controllers/bookings.controller.ts +++ b/apps/api/v2/src/ee/bookings/2024-08-13/controllers/bookings.controller.ts @@ -39,11 +39,15 @@ import { Request } from "express"; import { BOOKING_READ, BOOKING_WRITE, SUCCESS_STATUS } from "@calcom/platform-constants"; import { CancelBookingInput, + CancelBookingInput_2024_08_13, CancelBookingInputPipe, + CancelSeatedBookingInput_2024_08_13, GetBookingOutput_2024_08_13, GetBookingsOutput_2024_08_13, RescheduleBookingInput, + RescheduleBookingInput_2024_08_13, RescheduleBookingInputPipe, + RescheduleSeatedBookingInput_2024_08_13, } from "@calcom/platform-types"; import { CreateBookingInputPipe, @@ -99,7 +103,7 @@ export class BookingsController_2024_08_13 { ], }, description: - "Accepts different types of booking input: CreateBookingInput_2024_08_13, CreateInstantBookingInput_2024_08_13, or CreateRecurringBookingInput_2024_08_13", + "Accepts different types of booking input: Create Booking (Option 1), Create Instant Booking (Option 2), or Create Recurring Booking (Option 3)", }) @ApiExtraModels( CreateBookingInput_2024_08_13, @@ -172,9 +176,19 @@ export class BookingsController_2024_08_13 { @UseGuards(BookingUidGuard) @ApiOperation({ summary: "Reschedule a booking", - description: - "Reschedule a booking by passing `:bookingUid` of the booking that should be rescheduled and pass request body with a new start time to create a new booking.", + description: "Reschedule a booking or seated booking", }) + @ApiBody({ + schema: { + oneOf: [ + { $ref: getSchemaPath(RescheduleBookingInput_2024_08_13) }, + { $ref: getSchemaPath(RescheduleSeatedBookingInput_2024_08_13) }, + ], + }, + description: + "Accepts different types of reschedule booking input: Reschedule Booking (Option 1) or Reschedule Seated Booking (Option 2)", + }) + @ApiExtraModels(RescheduleBookingInput_2024_08_13, RescheduleSeatedBookingInput_2024_08_13) async rescheduleBooking( @Param("bookingUid") bookingUid: string, @Body(new RescheduleBookingInputPipe()) @@ -199,6 +213,17 @@ export class BookingsController_2024_08_13 { For seated bookings to cancel one individual booking provide :bookingUid and :seatUid in the request body. For recurring seated bookings it is not possible to cancel all of them with 1 call like with non-seated recurring bookings by providing recurring bookind uid - you have to cancel each recurrence booking by its bookingUid + seatUid.`, }) + @ApiBody({ + schema: { + oneOf: [ + { $ref: getSchemaPath(CancelBookingInput_2024_08_13) }, + { $ref: getSchemaPath(CancelSeatedBookingInput_2024_08_13) }, + ], + }, + description: + "Accepts different types of cancel booking input: Cancel Booking (Option 1) or Cancel Seated Booking (Option 2)", + }) + @ApiExtraModels(CancelBookingInput_2024_08_13, CancelSeatedBookingInput_2024_08_13) async cancelBooking( @Req() request: Request, @Param("bookingUid") bookingUid: string, diff --git a/apps/api/v2/swagger/documentation.json b/apps/api/v2/swagger/documentation.json index e9d66bc632..aad0e11ea6 100644 --- a/apps/api/v2/swagger/documentation.json +++ b/apps/api/v2/swagger/documentation.json @@ -3606,7 +3606,7 @@ ], "requestBody": { "required": true, - "description": "Accepts different types of booking input: CreateBookingInput_2024_08_13, CreateInstantBookingInput_2024_08_13, or CreateRecurringBookingInput_2024_08_13", + "description": "Accepts different types of booking input: Create Booking (Option 1), Create Instant Booking (Option 2), or Create Recurring Booking (Option 3)", "content": { "application/json": { "schema": { @@ -3922,7 +3922,7 @@ "post": { "operationId": "BookingsController_2024_08_13_rescheduleBooking", "summary": "Reschedule a booking", - "description": "Reschedule a booking by passing `:bookingUid` of the booking that should be rescheduled and pass request body with a new start time to create a new booking.", + "description": "Reschedule a booking or seated booking", "parameters": [ { "name": "cal-api-version", @@ -3942,6 +3942,24 @@ } } ], + "requestBody": { + "required": true, + "description": "Accepts different types of reschedule booking input: Reschedule Booking (Option 1) or Reschedule Seated Booking (Option 2)", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/RescheduleBookingInput_2024_08_13" + }, + { + "$ref": "#/components/schemas/RescheduleSeatedBookingInput_2024_08_13" + } + ] + } + } + } + }, "responses": { "201": { "description": "", @@ -3983,6 +4001,24 @@ } } ], + "requestBody": { + "required": true, + "description": "Accepts different types of cancel booking input: Cancel Booking (Option 1) or Cancel Seated Booking (Option 2)", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/CancelBookingInput_2024_08_13" + }, + { + "$ref": "#/components/schemas/CancelSeatedBookingInput_2024_08_13" + } + ] + } + } + } + }, "responses": { "200": { "description": "", @@ -5640,6 +5676,16 @@ "schema": { "type": "number" } + }, + { + "name": "offset", + "required": false, + "in": "query", + "description": "The number of items to skip", + "example": 0, + "schema": { + "type": "number" + } } ], "responses": { @@ -11671,7 +11717,10 @@ "default": false }, "metadata": { - "type": "string" + "type": "object", + "example": { + "key": "value" + } }, "theme": { "type": "string" @@ -11810,7 +11859,11 @@ "type": "boolean" }, "metadata": { - "type": "string" + "type": "object", + "description": "You can store any additional data you want here.\nMetadata must have at most 50 keys, each key up to 40 characters.\nValues can be strings (up to 500 characters), numbers, or booleans.", + "example": { + "key": "value" + } }, "theme": { "type": "string" @@ -11888,7 +11941,11 @@ "type": "boolean" }, "metadata": { - "type": "string" + "type": "object", + "description": "You can store any additional data you want here.\nMetadata must have at most 50 keys, each key up to 40 characters.\nValues can be strings (up to 500 characters), numbers, or booleans.", + "example": { + "key": "value" + } }, "theme": { "type": "string" @@ -15017,7 +15074,11 @@ "type": "boolean" }, "metadata": { - "type": "string" + "type": "object", + "description": "You can store any additional data you want here.\nMetadata must have at most 50 keys, each key up to 40 characters.\nValues can be strings (up to 500 characters), numbers, or booleans.", + "example": { + "key": "value" + } }, "theme": { "type": "string" @@ -15129,7 +15190,10 @@ "default": false }, "metadata": { - "type": "string" + "type": "object", + "example": { + "key": "value" + } }, "theme": { "type": "string" @@ -15407,7 +15471,11 @@ "example": "CalTeam" }, "metadata": { - "type": "object" + "type": "object", + "description": "You can store any additional data you want here.\nMetadata must have at most 50 keys, each key up to 40 characters.\nValues can be strings (up to 500 characters), numbers, or booleans.", + "example": { + "key": "value" + } } }, "required": [ @@ -15425,7 +15493,10 @@ "minLength": 1 }, "metadata": { - "type": "object" + "type": "object", + "example": { + "key": "value" + } }, "apiKey": { "type": "string" @@ -15468,7 +15539,10 @@ "minLength": 1 }, "metadata": { - "type": "object" + "type": "object", + "example": { + "key": "value" + } } }, "required": [ @@ -15529,7 +15603,11 @@ "example": "CalTeam" }, "metadata": { - "type": "string" + "type": "object", + "description": "You can store any additional data you want here.\nMetadata must have at most 50 keys, each key up to 40 characters.\nValues can be strings (up to 500 characters), numbers, or booleans.", + "example": { + "key": "value" + } } } }, @@ -16313,7 +16391,36 @@ "example": "cal-video", "enum": [ "cal-video", - "google-meet" + "google-meet", + "zoom", + "whereby-video", + "whatsapp-video", + "webex-video", + "telegram-video", + "tandem", + "sylaps-video", + "skype-video", + "sirius-video", + "signal-video", + "shimmer-video", + "salesroom-video", + "roam-video", + "riverside-video", + "ping-video", + "office365-video", + "mirotalk-video", + "jitsi", + "jelly-video", + "jelly-conferencing", + "huddle", + "facetime-video", + "element-call-video", + "eightxeight-video", + "discord-video", + "demodesk-video", + "campsite-conferencing", + "campfire-video", + "around-video" ] } }, @@ -17853,6 +17960,51 @@ "data" ] }, + "RescheduleBookingInput_2024_08_13": { + "type": "object", + "properties": { + "start": { + "type": "string", + "description": "Start time in ISO 8601 format for the new booking", + "example": "2024-08-13T10:00:00Z" + }, + "rescheduledBy": { + "type": "string", + "description": "Email of the person who is rescheduling the booking - only needed when rescheduling a booking that requires a confirmation.\nIf event type owner email is provided then rescheduled booking will be automatically confirmed. If attendee email or no email is passed then the event type\nowner will have to confirm the rescheduled booking." + }, + "reschedulingReason": { + "type": "string", + "example": "User requested reschedule", + "description": "Reason for rescheduling the booking" + } + }, + "required": [ + "start" + ] + }, + "RescheduleSeatedBookingInput_2024_08_13": { + "type": "object", + "properties": { + "start": { + "type": "string", + "description": "Start time in ISO 8601 format for the new booking", + "example": "2024-08-13T10:00:00Z" + }, + "rescheduledBy": { + "type": "string", + "description": "Email of the person who is rescheduling the booking - only needed when rescheduling a booking that requires a confirmation.\nIf event type owner email is provided then rescheduled booking will be automatically confirmed. If attendee email or no email is passed then the event type\nowner will have to confirm the rescheduled booking." + }, + "seatUid": { + "type": "string", + "example": "3be561a9-31f1-4b8e-aefc-9d9a085f0dd1", + "description": "Uid of the specific seat within booking." + } + }, + "required": [ + "start", + "seatUid" + ] + }, "RescheduleBookingOutput_2024_08_13": { "type": "object", "properties": { @@ -17887,6 +18039,32 @@ "data" ] }, + "CancelBookingInput_2024_08_13": { + "type": "object", + "properties": { + "cancellationReason": { + "type": "string", + "example": "User requested cancellation" + }, + "cancelSubsequentBookings": { + "type": "boolean", + "description": "For recurring non-seated booking - if true, cancel booking with the bookingUid of the individual recurrence and all recurrences that come after it." + } + } + }, + "CancelSeatedBookingInput_2024_08_13": { + "type": "object", + "properties": { + "seatUid": { + "type": "string", + "example": "3be561a9-31f1-4b8e-aefc-9d9a085f0dd1", + "description": "Uid of the specific seat within booking." + } + }, + "required": [ + "seatUid" + ] + }, "CancelBookingOutput_2024_08_13": { "type": "object", "properties": { diff --git a/docs/api-reference/v2/openapi.json b/docs/api-reference/v2/openapi.json index 68d1a8fd3d..ef4f882fff 100644 --- a/docs/api-reference/v2/openapi.json +++ b/docs/api-reference/v2/openapi.json @@ -27,9 +27,7 @@ } } }, - "tags": [ - "Platform / Cal Provider" - ] + "tags": ["Platform / Cal Provider"] } }, "/v2/provider/{clientId}/access-token": { @@ -58,9 +56,7 @@ } } }, - "tags": [ - "Platform / Cal Provider" - ] + "tags": ["Platform / Cal Provider"] } }, "/v2/oauth-clients/{clientId}/users": { @@ -122,9 +118,7 @@ } } }, - "tags": [ - "Platform / Managed Users" - ] + "tags": ["Platform / Managed Users"] }, "post": { "operationId": "OAuthClientUsersController_createUser", @@ -161,9 +155,7 @@ } } }, - "tags": [ - "Platform / Managed Users" - ] + "tags": ["Platform / Managed Users"] } }, "/v2/oauth-clients/{clientId}/users/{userId}": { @@ -200,9 +192,7 @@ } } }, - "tags": [ - "Platform / Managed Users" - ] + "tags": ["Platform / Managed Users"] }, "patch": { "operationId": "OAuthClientUsersController_updateUser", @@ -247,9 +237,7 @@ } } }, - "tags": [ - "Platform / Managed Users" - ] + "tags": ["Platform / Managed Users"] }, "delete": { "operationId": "OAuthClientUsersController_deleteUser", @@ -284,9 +272,7 @@ } } }, - "tags": [ - "Platform / Managed Users" - ] + "tags": ["Platform / Managed Users"] } }, "/v2/oauth-clients/{clientId}/users/{userId}/force-refresh": { @@ -324,9 +310,7 @@ } } }, - "tags": [ - "Platform / Managed Users" - ] + "tags": ["Platform / Managed Users"] } }, "/v2/oauth/{clientId}/refresh": { @@ -375,9 +359,7 @@ } } }, - "tags": [ - "Platform / Managed Users" - ] + "tags": ["Platform / Managed Users"] } }, "/v2/oauth-clients/{clientId}/webhooks": { @@ -416,9 +398,7 @@ } } }, - "tags": [ - "Platform / Webhooks" - ] + "tags": ["Platform / Webhooks"] }, "get": { "operationId": "OAuthClientWebhooksController_getOAuthClientWebhooks", @@ -465,9 +445,7 @@ } } }, - "tags": [ - "Platform / Webhooks" - ] + "tags": ["Platform / Webhooks"] }, "delete": { "operationId": "OAuthClientWebhooksController_deleteAllOAuthClientWebhooks", @@ -494,9 +472,7 @@ } } }, - "tags": [ - "Platform / Webhooks" - ] + "tags": ["Platform / Webhooks"] } }, "/v2/oauth-clients/{clientId}/webhooks/{webhookId}": { @@ -535,9 +511,7 @@ } } }, - "tags": [ - "Platform / Webhooks" - ] + "tags": ["Platform / Webhooks"] }, "get": { "operationId": "OAuthClientWebhooksController_getOAuthClientWebhook", @@ -555,9 +529,7 @@ } } }, - "tags": [ - "Platform / Webhooks" - ] + "tags": ["Platform / Webhooks"] }, "delete": { "operationId": "OAuthClientWebhooksController_deleteOAuthClientWebhook", @@ -575,9 +547,7 @@ } } }, - "tags": [ - "Platform / Webhooks" - ] + "tags": ["Platform / Webhooks"] } }, "/v2/organizations/{orgId}/attributes": { @@ -626,9 +596,7 @@ } } }, - "tags": [ - "Orgs / Attributes" - ] + "tags": ["Orgs / Attributes"] }, "post": { "operationId": "OrganizationsAttributesController_createOrganizationAttribute", @@ -665,9 +633,7 @@ } } }, - "tags": [ - "Orgs / Attributes" - ] + "tags": ["Orgs / Attributes"] } }, "/v2/organizations/{orgId}/attributes/{attributeId}": { @@ -704,9 +670,7 @@ } } }, - "tags": [ - "Orgs / Attributes" - ] + "tags": ["Orgs / Attributes"] }, "patch": { "operationId": "OrganizationsAttributesController_updateOrganizationAttribute", @@ -751,9 +715,7 @@ } } }, - "tags": [ - "Orgs / Attributes" - ] + "tags": ["Orgs / Attributes"] }, "delete": { "operationId": "OrganizationsAttributesController_deleteOrganizationAttribute", @@ -788,9 +750,7 @@ } } }, - "tags": [ - "Orgs / Attributes" - ] + "tags": ["Orgs / Attributes"] } }, "/v2/organizations/{orgId}/attributes/{attributeId}/options": { @@ -837,9 +797,7 @@ } } }, - "tags": [ - "Orgs / Attributes / Options" - ] + "tags": ["Orgs / Attributes / Options"] }, "get": { "operationId": "OrganizationsAttributesOptionsController_getOrganizationAttributeOptions", @@ -874,9 +832,7 @@ } } }, - "tags": [ - "Orgs / Attributes / Options" - ] + "tags": ["Orgs / Attributes / Options"] } }, "/v2/organizations/{orgId}/attributes/{attributeId}/options/{optionId}": { @@ -921,9 +877,7 @@ } } }, - "tags": [ - "Orgs / Attributes / Options" - ] + "tags": ["Orgs / Attributes / Options"] }, "patch": { "operationId": "OrganizationsAttributesOptionsController_updateOrganizationAttributeOption", @@ -976,9 +930,7 @@ } } }, - "tags": [ - "Orgs / Attributes / Options" - ] + "tags": ["Orgs / Attributes / Options"] } }, "/v2/organizations/{orgId}/attributes/options/{userId}": { @@ -1025,9 +977,7 @@ } } }, - "tags": [ - "Orgs / Attributes / Options" - ] + "tags": ["Orgs / Attributes / Options"] }, "get": { "operationId": "OrganizationsAttributesOptionsController_getOrganizationAttributeOptionsForUser", @@ -1062,9 +1012,7 @@ } } }, - "tags": [ - "Orgs / Attributes / Options" - ] + "tags": ["Orgs / Attributes / Options"] } }, "/v2/organizations/{orgId}/attributes/options/{userId}/{attributeOptionId}": { @@ -1109,9 +1057,7 @@ } } }, - "tags": [ - "Orgs / Attributes / Options" - ] + "tags": ["Orgs / Attributes / Options"] } }, "/v2/organizations/{orgId}/delegation-credentials": { @@ -1150,9 +1096,7 @@ } } }, - "tags": [ - "Orgs / Delegation Credentials" - ] + "tags": ["Orgs / Delegation Credentials"] } }, "/v2/organizations/{orgId}/delegation-credentials/{credentialId}": { @@ -1199,9 +1143,7 @@ } } }, - "tags": [ - "Orgs / Delegation Credentials" - ] + "tags": ["Orgs / Delegation Credentials"] } }, "/v2/organizations/{orgId}/teams/{teamId}/event-types": { @@ -1248,9 +1190,7 @@ } } }, - "tags": [ - "Orgs / Event Types" - ] + "tags": ["Orgs / Event Types"] }, "get": { "operationId": "OrganizationsEventTypesController_getTeamEventTypes", @@ -1295,9 +1235,7 @@ } } }, - "tags": [ - "Orgs / Event Types" - ] + "tags": ["Orgs / Event Types"] } }, "/v2/organizations/{orgId}/teams/{teamId}/event-types/{eventTypeId}": { @@ -1334,9 +1272,7 @@ } } }, - "tags": [ - "Orgs / Event Types" - ] + "tags": ["Orgs / Event Types"] }, "patch": { "operationId": "OrganizationsEventTypesController_updateTeamEventType", @@ -1381,9 +1317,7 @@ } } }, - "tags": [ - "Orgs / Event Types" - ] + "tags": ["Orgs / Event Types"] }, "delete": { "operationId": "OrganizationsEventTypesController_deleteTeamEventType", @@ -1418,9 +1352,7 @@ } } }, - "tags": [ - "Orgs / Event Types" - ] + "tags": ["Orgs / Event Types"] } }, "/v2/organizations/{orgId}/teams/{teamId}/event-types/{eventTypeId}/create-phone-call": { @@ -1467,9 +1399,7 @@ } } }, - "tags": [ - "Orgs / Event Types" - ] + "tags": ["Orgs / Event Types"] } }, "/v2/organizations/{orgId}/teams/event-types": { @@ -1518,9 +1448,7 @@ } } }, - "tags": [ - "Orgs / Event Types" - ] + "tags": ["Orgs / Event Types"] } }, "/v2/organizations/{orgId}/memberships": { @@ -1569,9 +1497,7 @@ } } }, - "tags": [ - "Orgs / Memberships" - ] + "tags": ["Orgs / Memberships"] }, "post": { "operationId": "OrganizationsMembershipsController_createMembership", @@ -1608,9 +1534,7 @@ } } }, - "tags": [ - "Orgs / Memberships" - ] + "tags": ["Orgs / Memberships"] } }, "/v2/organizations/{orgId}/memberships/{membershipId}": { @@ -1647,9 +1571,7 @@ } } }, - "tags": [ - "Orgs / Memberships" - ] + "tags": ["Orgs / Memberships"] }, "delete": { "operationId": "OrganizationsMembershipsController_deleteMembership", @@ -1684,9 +1606,7 @@ } } }, - "tags": [ - "Orgs / Memberships" - ] + "tags": ["Orgs / Memberships"] }, "patch": { "operationId": "OrganizationsMembershipsController_updateMembership", @@ -1731,9 +1651,7 @@ } } }, - "tags": [ - "Orgs / Memberships" - ] + "tags": ["Orgs / Memberships"] } }, "/v2/organizations/{orgId}/organizations": { @@ -1773,9 +1691,7 @@ } } }, - "tags": [ - "Orgs / Orgs" - ] + "tags": ["Orgs / Orgs"] }, "get": { "operationId": "OrganizationsOrganizationsController_getOrganizations", @@ -1803,9 +1719,7 @@ } } }, - "tags": [ - "Orgs / Orgs" - ] + "tags": ["Orgs / Orgs"] } }, "/v2/organizations/{orgId}/organizations/{managedOrganizationId}": { @@ -1835,9 +1749,7 @@ } } }, - "tags": [ - "Orgs / Orgs" - ] + "tags": ["Orgs / Orgs"] }, "patch": { "operationId": "OrganizationsOrganizationsController_updateOrganization", @@ -1883,9 +1795,7 @@ } } }, - "tags": [ - "Orgs / Orgs" - ] + "tags": ["Orgs / Orgs"] }, "delete": { "operationId": "OrganizationsOrganizationsController_deleteOrganization", @@ -1913,9 +1823,7 @@ } } }, - "tags": [ - "Orgs / Orgs" - ] + "tags": ["Orgs / Orgs"] } }, "/v2/organizations/{orgId}/schedules": { @@ -1964,9 +1872,7 @@ } } }, - "tags": [ - "Orgs / Schedules" - ] + "tags": ["Orgs / Schedules"] } }, "/v2/organizations/{orgId}/users/{userId}/schedules": { @@ -2005,10 +1911,7 @@ } } }, - "tags": [ - "Orgs / Schedules", - "Orgs / Users / Schedules" - ] + "tags": ["Orgs / Schedules", "Orgs / Users / Schedules"] }, "get": { "operationId": "OrganizationsSchedulesController_getUserSchedules", @@ -2035,10 +1938,7 @@ } } }, - "tags": [ - "Orgs / Schedules", - "Orgs / Users / Schedules" - ] + "tags": ["Orgs / Schedules", "Orgs / Users / Schedules"] } }, "/v2/organizations/{orgId}/users/{userId}/schedules/{scheduleId}": { @@ -2075,10 +1975,7 @@ } } }, - "tags": [ - "Orgs / Schedules", - "Orgs / Users / Schedules" - ] + "tags": ["Orgs / Schedules", "Orgs / Users / Schedules"] }, "patch": { "operationId": "OrganizationsSchedulesController_updateUserSchedule", @@ -2123,10 +2020,7 @@ } } }, - "tags": [ - "Orgs / Schedules", - "Orgs / Users / Schedules" - ] + "tags": ["Orgs / Schedules", "Orgs / Users / Schedules"] }, "delete": { "operationId": "OrganizationsSchedulesController_deleteUserSchedule", @@ -2161,10 +2055,7 @@ } } }, - "tags": [ - "Orgs / Schedules", - "Orgs / Users / Schedules" - ] + "tags": ["Orgs / Schedules", "Orgs / Users / Schedules"] } }, "/v2/organizations/{orgId}/teams": { @@ -2213,10 +2104,7 @@ } } }, - "tags": [ - "Orgs / Teams", - "Teams" - ] + "tags": ["Orgs / Teams", "Teams"] }, "post": { "operationId": "OrganizationsTeamsController_createTeam", @@ -2261,9 +2149,7 @@ } } }, - "tags": [ - "Orgs / Teams" - ] + "tags": ["Orgs / Teams"] } }, "/v2/organizations/{orgId}/teams/me": { @@ -2312,9 +2198,7 @@ } } }, - "tags": [ - "Orgs / Teams" - ] + "tags": ["Orgs / Teams"] } }, "/v2/organizations/{orgId}/teams/{teamId}": { @@ -2334,9 +2218,7 @@ } } }, - "tags": [ - "Orgs / Teams" - ] + "tags": ["Orgs / Teams"] }, "delete": { "operationId": "OrganizationsTeamsController_deleteTeam", @@ -2371,9 +2253,7 @@ } } }, - "tags": [ - "Orgs / Teams" - ] + "tags": ["Orgs / Teams"] }, "patch": { "operationId": "OrganizationsTeamsController_updateTeam", @@ -2418,9 +2298,7 @@ } } }, - "tags": [ - "Orgs / Teams" - ] + "tags": ["Orgs / Teams"] } }, "/v2/organizations/{orgId}/teams/{teamId}/bookings": { @@ -2438,13 +2316,7 @@ "type": "array", "items": { "type": "string", - "enum": [ - "upcoming", - "recurring", - "past", - "cancelled", - "unconfirmed" - ] + "enum": ["upcoming", "recurring", "past", "cancelled", "unconfirmed"] } } }, @@ -2515,10 +2387,7 @@ "description": "Sort results by their start time in ascending or descending order.", "example": "?sortStart=asc OR ?sortStart=desc", "schema": { - "enum": [ - "asc", - "desc" - ], + "enum": ["asc", "desc"], "type": "string" } }, @@ -2529,10 +2398,7 @@ "description": "Sort results by their end time in ascending or descending order.", "example": "?sortEnd=asc OR ?sortEnd=desc", "schema": { - "enum": [ - "asc", - "desc" - ], + "enum": ["asc", "desc"], "type": "string" } }, @@ -2543,10 +2409,7 @@ "description": "Sort results by their creation time (when booking was made) in ascending or descending order.", "example": "?sortCreated=asc OR ?sortCreated=desc", "schema": { - "enum": [ - "asc", - "desc" - ], + "enum": ["asc", "desc"], "type": "string" } }, @@ -2594,9 +2457,7 @@ } } }, - "tags": [ - "Orgs / Teams / Bookings" - ] + "tags": ["Orgs / Teams / Bookings"] } }, "/v2/organizations/{orgId}/teams/{teamId}/memberships": { @@ -2653,9 +2514,7 @@ } } }, - "tags": [ - "Orgs / Teams / Memberships" - ] + "tags": ["Orgs / Teams / Memberships"] }, "post": { "operationId": "OrganizationsTeamsMembershipsController_createOrgTeamMembership", @@ -2700,9 +2559,7 @@ } } }, - "tags": [ - "Orgs / Teams / Memberships" - ] + "tags": ["Orgs / Teams / Memberships"] } }, "/v2/organizations/{orgId}/teams/{teamId}/memberships/{membershipId}": { @@ -2747,9 +2604,7 @@ } } }, - "tags": [ - "Orgs / Teams / Memberships" - ] + "tags": ["Orgs / Teams / Memberships"] }, "delete": { "operationId": "OrganizationsTeamsMembershipsController_deleteOrgTeamMembership", @@ -2792,9 +2647,7 @@ } } }, - "tags": [ - "Orgs / Teams / Memberships" - ] + "tags": ["Orgs / Teams / Memberships"] }, "patch": { "operationId": "OrganizationsTeamsMembershipsController_updateOrgTeamMembership", @@ -2847,9 +2700,7 @@ } } }, - "tags": [ - "Orgs / Teams / Memberships" - ] + "tags": ["Orgs / Teams / Memberships"] } }, "/v2/organizations/{orgId}/teams/{teamId}/routing-forms/{routingFormId}/responses": { @@ -2878,9 +2729,7 @@ } } }, - "tags": [ - "Orgs / Teams / Routing forms / Responses" - ] + "tags": ["Orgs / Teams / Routing forms / Responses"] } }, "/v2/organizations/{orgId}/teams/{teamId}/users/{userId}/schedules": { @@ -2909,10 +2758,7 @@ } } }, - "tags": [ - "Orgs / Teams / Schedules", - "Orgs / Teams / Users / Schedules" - ] + "tags": ["Orgs / Teams / Schedules", "Orgs / Teams / Users / Schedules"] } }, "/v2/organizations/{orgId}/users": { @@ -2976,9 +2822,7 @@ } } }, - "tags": [ - "Orgs / Users" - ] + "tags": ["Orgs / Users"] }, "post": { "operationId": "OrganizationsUsersController_createOrganizationUser", @@ -3015,9 +2859,7 @@ } } }, - "tags": [ - "Orgs / Users" - ] + "tags": ["Orgs / Users"] } }, "/v2/organizations/{orgId}/users/{userId}": { @@ -3064,9 +2906,7 @@ } } }, - "tags": [ - "Orgs / Users" - ] + "tags": ["Orgs / Users"] }, "delete": { "operationId": "OrganizationsUsersController_deleteOrganizationUser", @@ -3101,9 +2941,7 @@ } } }, - "tags": [ - "Orgs / Users" - ] + "tags": ["Orgs / Users"] } }, "/v2/organizations/{orgId}/users/{userId}/ooo": { @@ -3146,10 +2984,7 @@ "description": "Sort results by their start time in ascending or descending order.", "example": "?sortStart=asc OR ?sortStart=desc", "schema": { - "enum": [ - "asc", - "desc" - ], + "enum": ["asc", "desc"], "type": "string" } }, @@ -3160,10 +2995,7 @@ "description": "Sort results by their end time in ascending or descending order.", "example": "?sortEnd=asc OR ?sortEnd=desc", "schema": { - "enum": [ - "asc", - "desc" - ], + "enum": ["asc", "desc"], "type": "string" } } @@ -3173,9 +3005,7 @@ "description": "" } }, - "tags": [ - "Orgs / Users / OOO" - ] + "tags": ["Orgs / Users / OOO"] }, "post": { "operationId": "OrganizationsUsersOOOController_createOrganizationUserOOO", @@ -3205,9 +3035,7 @@ "description": "" } }, - "tags": [ - "Orgs / Users / OOO" - ] + "tags": ["Orgs / Users / OOO"] } }, "/v2/organizations/{orgId}/users/{userId}/ooo/{oooId}": { @@ -3247,9 +3075,7 @@ "description": "" } }, - "tags": [ - "Orgs / Users / OOO" - ] + "tags": ["Orgs / Users / OOO"] }, "delete": { "operationId": "OrganizationsUsersOOOController_deleteOrganizationUserOOO", @@ -3269,9 +3095,7 @@ "description": "" } }, - "tags": [ - "Orgs / Users / OOO" - ] + "tags": ["Orgs / Users / OOO"] } }, "/v2/organizations/{orgId}/ooo": { @@ -3314,10 +3138,7 @@ "description": "Sort results by their start time in ascending or descending order.", "example": "?sortStart=asc OR ?sortStart=desc", "schema": { - "enum": [ - "asc", - "desc" - ], + "enum": ["asc", "desc"], "type": "string" } }, @@ -3328,10 +3149,7 @@ "description": "Sort results by their end time in ascending or descending order.", "example": "?sortEnd=asc OR ?sortEnd=desc", "schema": { - "enum": [ - "asc", - "desc" - ], + "enum": ["asc", "desc"], "type": "string" } }, @@ -3351,9 +3169,7 @@ "description": "" } }, - "tags": [ - "Orgs / Users / OOO" - ] + "tags": ["Orgs / Users / OOO"] } }, "/v2/organizations/{orgId}/webhooks": { @@ -3402,9 +3218,7 @@ } } }, - "tags": [ - "Orgs / Webhooks" - ] + "tags": ["Orgs / Webhooks"] }, "post": { "operationId": "OrganizationsWebhooksController_createOrganizationWebhook", @@ -3441,9 +3255,7 @@ } } }, - "tags": [ - "Orgs / Webhooks" - ] + "tags": ["Orgs / Webhooks"] } }, "/v2/organizations/{orgId}/webhooks/{webhookId}": { @@ -3472,9 +3284,7 @@ } } }, - "tags": [ - "Orgs / Webhooks" - ] + "tags": ["Orgs / Webhooks"] }, "delete": { "operationId": "OrganizationsWebhooksController_deleteWebhook", @@ -3501,9 +3311,7 @@ } } }, - "tags": [ - "Orgs / Webhooks" - ] + "tags": ["Orgs / Webhooks"] }, "patch": { "operationId": "OrganizationsWebhooksController_updateOrgWebhook", @@ -3540,9 +3348,7 @@ } } }, - "tags": [ - "Orgs / Webhooks" - ] + "tags": ["Orgs / Webhooks"] } }, "/v2/api-keys/refresh": { @@ -3583,9 +3389,7 @@ } } }, - "tags": [ - "Api Keys" - ] + "tags": ["Api Keys"] } }, "/v2/bookings": { @@ -3606,7 +3410,7 @@ ], "requestBody": { "required": true, - "description": "Accepts different types of booking input: CreateBookingInput_2024_08_13, CreateInstantBookingInput_2024_08_13, or CreateRecurringBookingInput_2024_08_13", + "description": "Accepts different types of booking input: Create Booking (Option 1), Create Instant Booking (Option 2), or Create Recurring Booking (Option 3)", "content": { "application/json": { "schema": { @@ -3637,9 +3441,7 @@ } } }, - "tags": [ - "Bookings" - ] + "tags": ["Bookings"] }, "get": { "operationId": "BookingsController_2024_08_13_getBookings", @@ -3664,13 +3466,7 @@ "type": "array", "items": { "type": "string", - "enum": [ - "upcoming", - "recurring", - "past", - "cancelled", - "unconfirmed" - ] + "enum": ["upcoming", "recurring", "past", "cancelled", "unconfirmed"] } } }, @@ -3781,10 +3577,7 @@ "description": "Sort results by their start time in ascending or descending order.", "example": "?sortStart=asc OR ?sortStart=desc", "schema": { - "enum": [ - "asc", - "desc" - ], + "enum": ["asc", "desc"], "type": "string" } }, @@ -3795,10 +3588,7 @@ "description": "Sort results by their end time in ascending or descending order.", "example": "?sortEnd=asc OR ?sortEnd=desc", "schema": { - "enum": [ - "asc", - "desc" - ], + "enum": ["asc", "desc"], "type": "string" } }, @@ -3809,10 +3599,7 @@ "description": "Sort results by their creation time (when booking was made) in ascending or descending order.", "example": "?sortCreated=asc OR ?sortCreated=desc", "schema": { - "enum": [ - "asc", - "desc" - ], + "enum": ["asc", "desc"], "type": "string" } }, @@ -3823,10 +3610,7 @@ "description": "Sort results by their updated time (for example when booking status changes) in ascending or descending order.", "example": "?sortUpdated=asc OR ?sortUpdated=desc", "schema": { - "enum": [ - "asc", - "desc" - ], + "enum": ["asc", "desc"], "type": "string" } }, @@ -3872,9 +3656,7 @@ } } }, - "tags": [ - "Bookings" - ] + "tags": ["Bookings"] } }, "/v2/bookings/{bookingUid}": { @@ -3913,16 +3695,14 @@ } } }, - "tags": [ - "Bookings" - ] + "tags": ["Bookings"] } }, "/v2/bookings/{bookingUid}/reschedule": { "post": { "operationId": "BookingsController_2024_08_13_rescheduleBooking", "summary": "Reschedule a booking", - "description": "Reschedule a booking by passing `:bookingUid` of the booking that should be rescheduled and pass request body with a new start time to create a new booking.", + "description": "Reschedule a booking or seated booking", "parameters": [ { "name": "cal-api-version", @@ -3942,6 +3722,24 @@ } } ], + "requestBody": { + "required": true, + "description": "Accepts different types of reschedule booking input: Reschedule Booking (Option 1) or Reschedule Seated Booking (Option 2)", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/RescheduleBookingInput_2024_08_13" + }, + { + "$ref": "#/components/schemas/RescheduleSeatedBookingInput_2024_08_13" + } + ] + } + } + } + }, "responses": { "201": { "description": "", @@ -3954,9 +3752,7 @@ } } }, - "tags": [ - "Bookings" - ] + "tags": ["Bookings"] } }, "/v2/bookings/{bookingUid}/cancel": { @@ -3983,6 +3779,24 @@ } } ], + "requestBody": { + "required": true, + "description": "Accepts different types of cancel booking input: Cancel Booking (Option 1) or Cancel Seated Booking (Option 2)", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/CancelBookingInput_2024_08_13" + }, + { + "$ref": "#/components/schemas/CancelSeatedBookingInput_2024_08_13" + } + ] + } + } + } + }, "responses": { "200": { "description": "", @@ -3995,9 +3809,7 @@ } } }, - "tags": [ - "Bookings" - ] + "tags": ["Bookings"] } }, "/v2/bookings/{bookingUid}/mark-absent": { @@ -4054,9 +3866,7 @@ } } }, - "tags": [ - "Bookings" - ] + "tags": ["Bookings"] } }, "/v2/bookings/{bookingUid}/reassign": { @@ -4103,9 +3913,7 @@ } } }, - "tags": [ - "Bookings" - ] + "tags": ["Bookings"] } }, "/v2/bookings/{bookingUid}/reassign/{userId}": { @@ -4170,9 +3978,7 @@ } } }, - "tags": [ - "Bookings" - ] + "tags": ["Bookings"] } }, "/v2/bookings/{bookingUid}/confirm": { @@ -4219,9 +4025,7 @@ } } }, - "tags": [ - "Bookings" - ] + "tags": ["Bookings"] } }, "/v2/bookings/{bookingUid}/decline": { @@ -4278,9 +4082,7 @@ } } }, - "tags": [ - "Bookings" - ] + "tags": ["Bookings"] } }, "/v2/bookings/{bookingUid}/calendar-links": { @@ -4319,9 +4121,7 @@ } } }, - "tags": [ - "Bookings" - ] + "tags": ["Bookings"] } }, "/v2/calendars/ics-feed/save": { @@ -4351,9 +4151,7 @@ } } }, - "tags": [ - "Calendars" - ] + "tags": ["Calendars"] } }, "/v2/calendars/ics-feed/check": { @@ -4373,9 +4171,7 @@ } } }, - "tags": [ - "Calendars" - ] + "tags": ["Calendars"] } }, "/v2/calendars/busy-times": { @@ -4443,9 +4239,7 @@ } } }, - "tags": [ - "Calendars" - ] + "tags": ["Calendars"] } }, "/v2/calendars": { @@ -4465,9 +4259,7 @@ } } }, - "tags": [ - "Calendars" - ] + "tags": ["Calendars"] } }, "/v2/calendars/{calendar}/connect": { @@ -4488,10 +4280,7 @@ "required": true, "in": "path", "schema": { - "enum": [ - "office365", - "google" - ], + "enum": ["office365", "google"], "type": "string" } } @@ -4508,9 +4297,7 @@ } } }, - "tags": [ - "Calendars" - ] + "tags": ["Calendars"] } }, "/v2/calendars/{calendar}/save": { @@ -4539,10 +4326,7 @@ "required": true, "in": "path", "schema": { - "enum": [ - "office365", - "google" - ], + "enum": ["office365", "google"], "type": "string" } } @@ -4552,9 +4336,7 @@ "description": "" } }, - "tags": [ - "Calendars" - ] + "tags": ["Calendars"] } }, "/v2/calendars/{calendar}/credentials": { @@ -4567,9 +4349,7 @@ "required": true, "in": "path", "schema": { - "enum": [ - "apple" - ], + "enum": ["apple"], "type": "string" } } @@ -4579,9 +4359,7 @@ "description": "" } }, - "tags": [ - "Calendars" - ] + "tags": ["Calendars"] } }, "/v2/calendars/{calendar}/check": { @@ -4594,11 +4372,7 @@ "required": true, "in": "path", "schema": { - "enum": [ - "apple", - "google", - "office365" - ], + "enum": ["apple", "google", "office365"], "type": "string" } } @@ -4615,9 +4389,7 @@ } } }, - "tags": [ - "Calendars" - ] + "tags": ["Calendars"] } }, "/v2/calendars/{calendar}/disconnect": { @@ -4630,11 +4402,7 @@ "required": true, "in": "path", "schema": { - "enum": [ - "apple", - "google", - "office365" - ], + "enum": ["apple", "google", "office365"], "type": "string" } } @@ -4661,9 +4429,7 @@ } } }, - "tags": [ - "Calendars" - ] + "tags": ["Calendars"] } }, "/v2/conferencing/{app}/connect": { @@ -4692,9 +4458,7 @@ } } }, - "tags": [ - "Conferencing" - ] + "tags": ["Conferencing"] } }, "/v2/conferencing/{app}/oauth/auth-url": { @@ -4747,9 +4511,7 @@ } } }, - "tags": [ - "Conferencing" - ] + "tags": ["Conferencing"] } }, "/v2/conferencing/{app}/oauth/callback": { @@ -4787,9 +4549,7 @@ "description": "" } }, - "tags": [ - "Conferencing" - ] + "tags": ["Conferencing"] } }, "/v2/conferencing": { @@ -4809,9 +4569,7 @@ } } }, - "tags": [ - "Conferencing" - ] + "tags": ["Conferencing"] } }, "/v2/conferencing/{app}/default": { @@ -4840,9 +4598,7 @@ } } }, - "tags": [ - "Conferencing" - ] + "tags": ["Conferencing"] } }, "/v2/conferencing/default": { @@ -4862,9 +4618,7 @@ } } }, - "tags": [ - "Conferencing" - ] + "tags": ["Conferencing"] } }, "/v2/conferencing/{app}/disconnect": { @@ -4893,9 +4647,7 @@ } } }, - "tags": [ - "Conferencing" - ] + "tags": ["Conferencing"] } }, "/v2/destination-calendars": { @@ -4925,9 +4677,7 @@ } } }, - "tags": [ - "Destination Calendars" - ] + "tags": ["Destination Calendars"] } }, "/v2/event-types": { @@ -4976,9 +4726,7 @@ } } }, - "tags": [ - "Event Types" - ] + "tags": ["Event Types"] }, "get": { "operationId": "EventTypesController_2024_06_14_getEventTypes", @@ -5051,9 +4799,7 @@ } } }, - "tags": [ - "Event Types" - ] + "tags": ["Event Types"] } }, "/v2/event-types/{eventTypeId}": { @@ -5100,9 +4846,7 @@ } } }, - "tags": [ - "Event Types" - ] + "tags": ["Event Types"] }, "patch": { "operationId": "EventTypesController_2024_06_14_updateEventType", @@ -5157,9 +4901,7 @@ } } }, - "tags": [ - "Event Types" - ] + "tags": ["Event Types"] }, "delete": { "operationId": "EventTypesController_2024_06_14_deleteEventType", @@ -5204,9 +4946,7 @@ } } }, - "tags": [ - "Event Types" - ] + "tags": ["Event Types"] } }, "/v2/event-types/{eventTypeId}/webhooks": { @@ -5245,9 +4985,7 @@ } } }, - "tags": [ - "Event Types / Webhooks" - ] + "tags": ["Event Types / Webhooks"] }, "get": { "operationId": "EventTypeWebhooksController_getEventTypeWebhooks", @@ -5294,9 +5032,7 @@ } } }, - "tags": [ - "Event Types / Webhooks" - ] + "tags": ["Event Types / Webhooks"] }, "delete": { "operationId": "EventTypeWebhooksController_deleteAllEventTypeWebhooks", @@ -5323,9 +5059,7 @@ } } }, - "tags": [ - "Event Types / Webhooks" - ] + "tags": ["Event Types / Webhooks"] } }, "/v2/event-types/{eventTypeId}/webhooks/{webhookId}": { @@ -5364,9 +5098,7 @@ } } }, - "tags": [ - "Event Types / Webhooks" - ] + "tags": ["Event Types / Webhooks"] }, "get": { "operationId": "EventTypeWebhooksController_getEventTypeWebhook", @@ -5384,9 +5116,7 @@ } } }, - "tags": [ - "Event Types / Webhooks" - ] + "tags": ["Event Types / Webhooks"] }, "delete": { "operationId": "EventTypeWebhooksController_deleteEventTypeWebhook", @@ -5404,9 +5134,7 @@ } } }, - "tags": [ - "Event Types / Webhooks" - ] + "tags": ["Event Types / Webhooks"] } }, "/v2/me": { @@ -5426,9 +5154,7 @@ } } }, - "tags": [ - "Me" - ] + "tags": ["Me"] }, "patch": { "operationId": "MeController_updateMe", @@ -5456,9 +5182,7 @@ } } }, - "tags": [ - "Me" - ] + "tags": ["Me"] } }, "/v2/oauth-clients": { @@ -5489,9 +5213,7 @@ } } }, - "tags": [ - "OAuth Clients" - ] + "tags": ["OAuth Clients"] }, "get": { "operationId": "OAuthClientsController_getOAuthClients", @@ -5510,9 +5232,7 @@ } } }, - "tags": [ - "OAuth Clients" - ] + "tags": ["OAuth Clients"] } }, "/v2/oauth-clients/{clientId}": { @@ -5542,9 +5262,7 @@ } } }, - "tags": [ - "OAuth Clients" - ] + "tags": ["OAuth Clients"] }, "patch": { "operationId": "OAuthClientsController_updateOAuthClient", @@ -5582,9 +5300,7 @@ } } }, - "tags": [ - "OAuth Clients" - ] + "tags": ["OAuth Clients"] }, "delete": { "operationId": "OAuthClientsController_deleteOAuthClient", @@ -5612,9 +5328,7 @@ } } }, - "tags": [ - "OAuth Clients" - ] + "tags": ["OAuth Clients"] } }, "/v2/oauth-clients/{clientId}/managed-users": { @@ -5640,6 +5354,16 @@ "schema": { "type": "number" } + }, + { + "name": "offset", + "required": false, + "in": "query", + "description": "The number of items to skip", + "example": 0, + "schema": { + "type": "number" + } } ], "responses": { @@ -5654,9 +5378,7 @@ } } }, - "tags": [ - "OAuth Clients" - ] + "tags": ["OAuth Clients"] } }, "/v2/schedules": { @@ -5706,9 +5428,7 @@ } } }, - "tags": [ - "Schedules" - ] + "tags": ["Schedules"] }, "get": { "operationId": "SchedulesController_2024_06_11_getSchedules", @@ -5746,9 +5466,7 @@ } } }, - "tags": [ - "Schedules" - ] + "tags": ["Schedules"] } }, "/v2/schedules/default": { @@ -5788,9 +5506,7 @@ } } }, - "tags": [ - "Schedules" - ] + "tags": ["Schedules"] } }, "/v2/schedules/{scheduleId}": { @@ -5837,9 +5553,7 @@ } } }, - "tags": [ - "Schedules" - ] + "tags": ["Schedules"] }, "patch": { "operationId": "SchedulesController_2024_06_11_updateSchedule", @@ -5894,9 +5608,7 @@ } } }, - "tags": [ - "Schedules" - ] + "tags": ["Schedules"] }, "delete": { "operationId": "SchedulesController_2024_06_11_deleteSchedule", @@ -5941,9 +5653,7 @@ } } }, - "tags": [ - "Schedules" - ] + "tags": ["Schedules"] } }, "/v2/selected-calendars": { @@ -5973,9 +5683,7 @@ } } }, - "tags": [ - "Selected Calendars" - ] + "tags": ["Selected Calendars"] }, "delete": { "operationId": "SelectedCalendarsController_deleteSelectedCalendar", @@ -6026,9 +5734,7 @@ } } }, - "tags": [ - "Selected Calendars" - ] + "tags": ["Selected Calendars"] } }, "/v2/slots": { @@ -6206,9 +5912,7 @@ } } }, - "tags": [ - "Slots" - ] + "tags": ["Slots"] } }, "/v2/slots/reservations": { @@ -6249,9 +5953,7 @@ } } }, - "tags": [ - "Slots" - ] + "tags": ["Slots"] } }, "/v2/slots/reservations/{uid}": { @@ -6289,9 +5991,7 @@ } } }, - "tags": [ - "Slots" - ] + "tags": ["Slots"] }, "patch": { "operationId": "SlotsController_2024_09_04_updateReservedSlot", @@ -6337,9 +6037,7 @@ } } }, - "tags": [ - "Slots" - ] + "tags": ["Slots"] }, "delete": { "operationId": "SlotsController_2024_09_04_deleteReservedSlot", @@ -6377,9 +6075,7 @@ } } }, - "tags": [ - "Slots" - ] + "tags": ["Slots"] } }, "/v2/stripe/connect": { @@ -6408,9 +6104,7 @@ } } }, - "tags": [ - "Stripe" - ] + "tags": ["Stripe"] } }, "/v2/stripe/save": { @@ -6447,9 +6141,7 @@ } } }, - "tags": [ - "Stripe" - ] + "tags": ["Stripe"] } }, "/v2/stripe/check": { @@ -6469,9 +6161,7 @@ } } }, - "tags": [ - "Stripe" - ] + "tags": ["Stripe"] } }, "/v2/stripe/check/{teamId}": { @@ -6500,9 +6190,7 @@ } } }, - "tags": [ - "Stripe" - ] + "tags": ["Stripe"] } }, "/v2/teams": { @@ -6532,9 +6220,7 @@ } } }, - "tags": [ - "Teams" - ] + "tags": ["Teams"] }, "get": { "operationId": "TeamsController_getTeams", @@ -6552,9 +6238,7 @@ } } }, - "tags": [ - "Teams" - ] + "tags": ["Teams"] } }, "/v2/teams/{teamId}": { @@ -6583,9 +6267,7 @@ } } }, - "tags": [ - "Teams" - ] + "tags": ["Teams"] }, "patch": { "operationId": "TeamsController_updateTeam", @@ -6622,9 +6304,7 @@ } } }, - "tags": [ - "Teams" - ] + "tags": ["Teams"] }, "delete": { "operationId": "TeamsController_deleteTeam", @@ -6651,9 +6331,7 @@ } } }, - "tags": [ - "Teams" - ] + "tags": ["Teams"] } }, "/v2/teams/{teamId}/event-types": { @@ -6692,9 +6370,7 @@ } } }, - "tags": [ - "Teams / Event Types" - ] + "tags": ["Teams / Event Types"] }, "get": { "operationId": "TeamsEventTypesController_getTeamEventTypes", @@ -6739,9 +6415,7 @@ } } }, - "tags": [ - "Teams / Event Types" - ] + "tags": ["Teams / Event Types"] } }, "/v2/teams/{teamId}/event-types/{eventTypeId}": { @@ -6778,9 +6452,7 @@ } } }, - "tags": [ - "Teams / Event Types" - ] + "tags": ["Teams / Event Types"] }, "patch": { "operationId": "TeamsEventTypesController_updateTeamEventType", @@ -6825,9 +6497,7 @@ } } }, - "tags": [ - "Teams / Event Types" - ] + "tags": ["Teams / Event Types"] }, "delete": { "operationId": "TeamsEventTypesController_deleteTeamEventType", @@ -6862,9 +6532,7 @@ } } }, - "tags": [ - "Teams / Event Types" - ] + "tags": ["Teams / Event Types"] } }, "/v2/teams/{teamId}/event-types/{eventTypeId}/create-phone-call": { @@ -6911,9 +6579,7 @@ } } }, - "tags": [ - "Teams / Event Types" - ] + "tags": ["Teams / Event Types"] } }, "/v2/teams/{teamId}/memberships": { @@ -6952,9 +6618,7 @@ } } }, - "tags": [ - "Teams / Memberships" - ] + "tags": ["Teams / Memberships"] }, "get": { "operationId": "TeamsMembershipsController_getTeamMemberships", @@ -7001,9 +6665,7 @@ } } }, - "tags": [ - "Teams / Memberships" - ] + "tags": ["Teams / Memberships"] } }, "/v2/teams/{teamId}/memberships/{membershipId}": { @@ -7040,9 +6702,7 @@ } } }, - "tags": [ - "Teams / Memberships" - ] + "tags": ["Teams / Memberships"] }, "patch": { "operationId": "TeamsMembershipsController_updateTeamMembership", @@ -7087,9 +6747,7 @@ } } }, - "tags": [ - "Teams / Memberships" - ] + "tags": ["Teams / Memberships"] }, "delete": { "operationId": "TeamsMembershipsController_deleteTeamMembership", @@ -7124,9 +6782,7 @@ } } }, - "tags": [ - "Teams / Memberships" - ] + "tags": ["Teams / Memberships"] } }, "/v2/timezones": { @@ -7146,9 +6802,7 @@ } } }, - "tags": [ - "Timezones" - ] + "tags": ["Timezones"] } }, "/v2/webhooks": { @@ -7178,9 +6832,7 @@ } } }, - "tags": [ - "Webhooks" - ] + "tags": ["Webhooks"] }, "get": { "operationId": "WebhooksController_getWebhooks", @@ -7220,9 +6872,7 @@ } } }, - "tags": [ - "Webhooks" - ] + "tags": ["Webhooks"] } }, "/v2/webhooks/{webhookId}": { @@ -7261,9 +6911,7 @@ } } }, - "tags": [ - "Webhooks" - ] + "tags": ["Webhooks"] }, "get": { "operationId": "WebhooksController_getWebhook", @@ -7281,9 +6929,7 @@ } } }, - "tags": [ - "Webhooks" - ] + "tags": ["Webhooks"] }, "delete": { "operationId": "WebhooksController_deleteWebhook", @@ -7310,9 +6956,7 @@ } } }, - "tags": [ - "Webhooks" - ] + "tags": ["Webhooks"] } } }, @@ -7442,10 +7086,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "type": "array", @@ -7454,10 +7095,7 @@ } } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "CreateManagedUserInput": { "type": "object", @@ -7473,25 +7111,14 @@ }, "timeFormat": { "type": "number", - "enum": [ - 12, - 24 - ], + "enum": [12, 24], "example": 12, "description": "Must be a number 12 or 24" }, "weekStart": { "type": "string", "example": "Monday", - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday" - ] + "enum": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"] }, "timeZone": { "type": "string", @@ -7552,10 +7179,7 @@ "description": "URL of the user's avatar image" } }, - "required": [ - "email", - "name" - ] + "required": ["email", "name"] }, "CreateManagedUserData": { "type": "object", @@ -7573,12 +7197,7 @@ "type": "number" } }, - "required": [ - "user", - "accessToken", - "refreshToken", - "accessTokenExpiresAt" - ] + "required": ["user", "accessToken", "refreshToken", "accessTokenExpiresAt"] }, "CreateManagedUserOutput": { "type": "object", @@ -7586,10 +7205,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/CreateManagedUserData" @@ -7598,10 +7214,7 @@ "type": "object" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "GetManagedUserOutput": { "type": "object", @@ -7609,19 +7222,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/ManagedUserOutput" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "UpdateManagedUserInput": { "type": "object", @@ -7634,10 +7241,7 @@ }, "timeFormat": { "type": "number", - "enum": [ - 12, - 24 - ], + "enum": [12, 24], "example": 12, "description": "Must be 12 or 24" }, @@ -7646,15 +7250,7 @@ }, "weekStart": { "type": "string", - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday" - ], + "enum": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"], "example": "Monday" }, "timeZone": { @@ -7730,11 +7326,7 @@ "type": "number" } }, - "required": [ - "accessToken", - "refreshToken", - "accessTokenExpiresAt" - ] + "required": ["accessToken", "refreshToken", "accessTokenExpiresAt"] }, "KeysResponseDto": { "type": "object", @@ -7742,19 +7334,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/KeysDto" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "CreateOAuthClientInput": { "type": "object", @@ -7809,11 +7395,7 @@ "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." } }, - "required": [ - "name", - "redirectUris", - "permissions" - ] + "required": ["name", "redirectUris", "permissions"] }, "CreateOAuthClientOutput": { "type": "object", @@ -7827,20 +7409,14 @@ "example": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoib2F1dGgtY2xpZW50Iiwi" } }, - "required": [ - "clientId", - "clientSecret" - ] + "required": ["clientId", "clientSecret"] }, "CreateOAuthClientResponseDto": { "type": "object", "properties": { "status": { "type": "string", - "enum": [ - "success", - "error" - ], + "enum": ["success", "error"], "example": "success" }, "data": { @@ -7855,10 +7431,7 @@ ] } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "PlatformOAuthClientDto": { "type": "object", @@ -7893,19 +7466,14 @@ "PROFILE_WRITE" ] }, - "example": [ - "BOOKING_READ", - "BOOKING_WRITE" - ] + "example": ["BOOKING_READ", "BOOKING_WRITE"] }, "logo": { "type": "object", "example": "https://example.com/logo.png" }, "redirectUris": { - "example": [ - "https://example.com/callback" - ], + "example": ["https://example.com/callback"], "type": "array", "items": { "type": "string" @@ -7960,10 +7528,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "type": "array", @@ -7972,10 +7537,7 @@ } } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "GetOAuthClientResponseDto": { "type": "object", @@ -7983,19 +7545,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/PlatformOAuthClientDto" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "UpdateOAuthClientInput": { "type": "object", @@ -8038,9 +7594,7 @@ "description": "Managed user's refresh token." } }, - "required": [ - "refreshToken" - ] + "required": ["refreshToken"] }, "RefreshApiKeyInput": { "type": "object", @@ -8066,9 +7620,7 @@ "type": "string" } }, - "required": [ - "apiKey" - ] + "required": ["apiKey"] }, "RefreshApiKeyOutput": { "type": "object", @@ -8076,19 +7628,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/ApiKeyOutput" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "InputAddressLocation_2024_06_14": { "type": "object", @@ -8106,11 +7652,7 @@ "type": "boolean" } }, - "required": [ - "type", - "address", - "public" - ] + "required": ["type", "address", "public"] }, "InputLinkLocation_2024_06_14": { "type": "object", @@ -8128,11 +7670,7 @@ "type": "boolean" } }, - "required": [ - "type", - "link", - "public" - ] + "required": ["type", "link", "public"] }, "InputIntegrationLocation_2024_06_14": { "type": "object", @@ -8145,18 +7683,10 @@ "integration": { "type": "string", "example": "cal-video", - "enum": [ - "cal-video", - "google-meet", - "office365-video", - "zoom" - ] + "enum": ["cal-video", "google-meet", "office365-video", "zoom"] } }, - "required": [ - "type", - "integration" - ] + "required": ["type", "integration"] }, "InputPhoneLocation_2024_06_14": { "type": "object", @@ -8174,11 +7704,7 @@ "type": "boolean" } }, - "required": [ - "type", - "phone", - "public" - ] + "required": ["type", "phone", "public"] }, "PhoneFieldInput_2024_06_14": { "type": "object", @@ -8211,14 +7737,7 @@ "description": "If true show under event type settings but don't show this booking field in the Booker. If false show in both." } }, - "required": [ - "type", - "slug", - "label", - "required", - "placeholder", - "hidden" - ] + "required": ["type", "slug", "label", "required", "placeholder", "hidden"] }, "AddressFieldInput_2024_06_14": { "type": "object", @@ -8253,14 +7772,7 @@ "description": "If true show under event type settings but don't show this booking field in the Booker. If false show in both." } }, - "required": [ - "type", - "slug", - "label", - "required", - "placeholder", - "hidden" - ] + "required": ["type", "slug", "label", "required", "placeholder", "hidden"] }, "TextFieldInput_2024_06_14": { "type": "object", @@ -8295,14 +7807,7 @@ "description": "If true show under event type settings but don't show this booking field in the Booker. If false show in both." } }, - "required": [ - "type", - "slug", - "label", - "required", - "placeholder", - "hidden" - ] + "required": ["type", "slug", "label", "required", "placeholder", "hidden"] }, "NumberFieldInput_2024_06_14": { "type": "object", @@ -8337,14 +7842,7 @@ "description": "If true show under event type settings but don't show this booking field in the Booker. If false show in both." } }, - "required": [ - "type", - "slug", - "label", - "required", - "placeholder", - "hidden" - ] + "required": ["type", "slug", "label", "required", "placeholder", "hidden"] }, "TextAreaFieldInput_2024_06_14": { "type": "object", @@ -8379,14 +7877,7 @@ "description": "If true show under event type settings but don't show this booking field in the Booker. If false show in both." } }, - "required": [ - "type", - "slug", - "label", - "required", - "placeholder", - "hidden" - ] + "required": ["type", "slug", "label", "required", "placeholder", "hidden"] }, "SelectFieldInput_2024_06_14": { "type": "object", @@ -8413,10 +7904,7 @@ "example": "Select..." }, "options": { - "example": [ - "Option 1", - "Option 2" - ], + "example": ["Option 1", "Option 2"], "type": "array", "items": { "type": "string" @@ -8431,15 +7919,7 @@ "description": "If true show under event type settings but don't show this booking field in the Booker. If false show in both." } }, - "required": [ - "type", - "slug", - "label", - "required", - "placeholder", - "options", - "hidden" - ] + "required": ["type", "slug", "label", "required", "placeholder", "options", "hidden"] }, "MultiSelectFieldInput_2024_06_14": { "type": "object", @@ -8462,10 +7942,7 @@ "type": "boolean" }, "options": { - "example": [ - "Option 1", - "Option 2" - ], + "example": ["Option 1", "Option 2"], "type": "array", "items": { "type": "string" @@ -8480,14 +7957,7 @@ "description": "If true show under event type settings but don't show this booking field in the Booker. If false show in both." } }, - "required": [ - "type", - "slug", - "label", - "required", - "options", - "hidden" - ] + "required": ["type", "slug", "label", "required", "options", "hidden"] }, "MultiEmailFieldInput_2024_06_14": { "type": "object", @@ -8522,14 +7992,7 @@ "description": "If true show under event type settings but don't show this booking field in the Booker. If false show in both." } }, - "required": [ - "type", - "slug", - "label", - "required", - "placeholder", - "hidden" - ] + "required": ["type", "slug", "label", "required", "placeholder", "hidden"] }, "CheckboxGroupFieldInput_2024_06_14": { "type": "object", @@ -8552,10 +8015,7 @@ "type": "boolean" }, "options": { - "example": [ - "Checkbox 1", - "Checkbox 2" - ], + "example": ["Checkbox 1", "Checkbox 2"], "type": "array", "items": { "type": "string" @@ -8570,14 +8030,7 @@ "description": "If true show under event type settings but don't show this booking field in the Booker. If false show in both." } }, - "required": [ - "type", - "slug", - "label", - "required", - "options", - "hidden" - ] + "required": ["type", "slug", "label", "required", "options", "hidden"] }, "RadioGroupFieldInput_2024_06_14": { "type": "object", @@ -8600,10 +8053,7 @@ "type": "boolean" }, "options": { - "example": [ - "Radio 1", - "Radio 2" - ], + "example": ["Radio 1", "Radio 2"], "type": "array", "items": { "type": "string" @@ -8618,14 +8068,7 @@ "description": "If true show under event type settings but don't show this booking field in the Booker. If false show in both." } }, - "required": [ - "type", - "slug", - "label", - "required", - "options", - "hidden" - ] + "required": ["type", "slug", "label", "required", "options", "hidden"] }, "BooleanFieldInput_2024_06_14": { "type": "object", @@ -8655,13 +8098,7 @@ "description": "If true show under event type settings but don't show this booking field in the Booker. If false show in both." } }, - "required": [ - "type", - "slug", - "label", - "required", - "hidden" - ] + "required": ["type", "slug", "label", "required", "hidden"] }, "UrlFieldInput_2024_06_14": { "type": "object", @@ -8696,25 +8133,14 @@ "description": "If true show under event type settings but don't show this booking field in the Booker. If false show in both." } }, - "required": [ - "type", - "slug", - "label", - "required", - "placeholder", - "hidden" - ] + "required": ["type", "slug", "label", "required", "placeholder", "hidden"] }, "BusinessDaysWindow_2024_06_14": { "type": "object", "properties": { "type": { "type": "string", - "enum": [ - "businessDays", - "calendarDays", - "range" - ], + "enum": ["businessDays", "calendarDays", "range"], "description": "Whether the window should be business days, calendar days or a range of dates" }, "value": { @@ -8728,21 +8154,14 @@ "description": "\n Determines the behavior of the booking window:\n - If **true**, the window is rolling. This means the number of available days will always be equal the specified 'value' \n and adjust dynamically as bookings are made. For example, if 'value' is 3 and availability is only on Mondays, \n a booker attempting to schedule on November 10 will see slots on November 11, 18, and 25. As one of these days \n becomes fully booked, a new day (e.g., December 2) will open up to ensure 3 available days are always visible.\n - If **false**, the window is fixed. This means the booking window only considers the next 'value' days from the\n moment someone is trying to book. For example, if 'value' is 3, availability is only on Mondays, and the current \n date is November 10, the booker will only see slots on November 11 because the window is restricted to the next \n 3 calendar days (November 10–12).\n " } }, - "required": [ - "type", - "value" - ] + "required": ["type", "value"] }, "CalendarDaysWindow_2024_06_14": { "type": "object", "properties": { "type": { "type": "string", - "enum": [ - "businessDays", - "calendarDays", - "range" - ], + "enum": ["businessDays", "calendarDays", "range"], "description": "Whether the window should be business days, calendar days or a range of dates" }, "value": { @@ -8756,28 +8175,18 @@ "description": "\n Determines the behavior of the booking window:\n - If **true**, the window is rolling. This means the number of available days will always be equal the specified 'value' \n and adjust dynamically as bookings are made. For example, if 'value' is 3 and availability is only on Mondays, \n a booker attempting to schedule on November 10 will see slots on November 11, 18, and 25. As one of these days \n becomes fully booked, a new day (e.g., December 2) will open up to ensure 3 available days are always visible.\n - If **false**, the window is fixed. This means the booking window only considers the next 'value' days from the\n moment someone is trying to book. For example, if 'value' is 3, availability is only on Mondays, and the current \n date is November 10, the booker will only see slots on November 11 because the window is restricted to the next \n 3 calendar days (November 10–12).\n " } }, - "required": [ - "type", - "value" - ] + "required": ["type", "value"] }, "RangeWindow_2024_06_14": { "type": "object", "properties": { "type": { "type": "string", - "enum": [ - "businessDays", - "calendarDays", - "range" - ], + "enum": ["businessDays", "calendarDays", "range"], "description": "Whether the window should be business days, calendar days or a range of dates" }, "value": { - "example": [ - "2030-09-05", - "2030-09-09" - ], + "example": ["2030-09-05", "2030-09-09"], "description": "Date range for when this event can be booked.", "type": "array", "items": { @@ -8785,10 +8194,7 @@ } } }, - "required": [ - "type", - "value" - ] + "required": ["type", "value"] }, "BaseBookingLimitsCount_2024_06_14": { "type": "object", @@ -8829,9 +8235,7 @@ "default": false } }, - "required": [ - "disabled" - ] + "required": ["disabled"] }, "BaseBookingLimitsDuration_2024_06_14": { "type": "object", @@ -8873,18 +8277,10 @@ }, "frequency": { "type": "string", - "enum": [ - "yearly", - "monthly", - "weekly" - ] + "enum": ["yearly", "monthly", "weekly"] } }, - "required": [ - "interval", - "occurrences", - "frequency" - ] + "required": ["interval", "occurrences", "frequency"] }, "NoticeThreshold_2024_06_14": { "type": "object", @@ -8900,10 +8296,7 @@ "example": 30 } }, - "required": [ - "unit", - "count" - ] + "required": ["unit", "count"] }, "BaseConfirmationPolicy_2024_06_14": { "type": "object", @@ -8911,10 +8304,7 @@ "type": { "type": "string", "description": "The policy that determines when confirmation is required", - "enum": [ - "always", - "time" - ], + "enum": ["always", "time"], "example": "always" }, "noticeThreshold": { @@ -8930,10 +8320,7 @@ "description": "Unconfirmed bookings still block calendar slots." } }, - "required": [ - "type", - "blockUnconfirmedBookingsInBooker" - ] + "required": ["type", "blockUnconfirmedBookingsInBooker"] }, "Seats_2024_06_14": { "type": "object", @@ -8954,11 +8341,7 @@ "example": true } }, - "required": [ - "seatsPerTimeSlot", - "showAttendeeInfo", - "showAvailabilityCount" - ] + "required": ["seatsPerTimeSlot", "showAttendeeInfo", "showAvailabilityCount"] }, "InputAttendeeAddressLocation_2024_06_14": { "type": "object", @@ -8969,9 +8352,7 @@ "description": "only allowed value for type is `attendeeAddress`" } }, - "required": [ - "type" - ] + "required": ["type"] }, "InputAttendeePhoneLocation_2024_06_14": { "type": "object", @@ -8982,9 +8363,7 @@ "description": "only allowed value for type is `attendeePhone`" } }, - "required": [ - "type" - ] + "required": ["type"] }, "InputAttendeeDefinedLocation_2024_06_14": { "type": "object", @@ -8995,9 +8374,7 @@ "description": "only allowed value for type is `attendeeDefined`" } }, - "required": [ - "type" - ] + "required": ["type"] }, "NameDefaultFieldInput_2024_06_14": { "type": "object", @@ -9018,11 +8395,7 @@ "description": "Disable this booking field if the URL contains query parameter with key equal to the slug and prefill it with the provided value. For example, if URL contains query parameter `&name=bob`, the name field will be prefilled with this value and disabled." } }, - "required": [ - "type", - "label", - "placeholder" - ] + "required": ["type", "label", "placeholder"] }, "EmailDefaultFieldInput_2024_06_14": { "type": "object", @@ -9046,12 +8419,7 @@ "description": "Disable this booking field if the URL contains query parameter with key equal to the slug and prefill it with the provided value. For example, if URL contains query parameter `&email=bob@gmail.com`, the email field will be prefilled with this value and disabled." } }, - "required": [ - "type", - "label", - "required", - "placeholder" - ] + "required": ["type", "label", "required", "placeholder"] }, "TitleDefaultFieldInput_2024_06_14": { "type": "object", @@ -9079,9 +8447,7 @@ "description": "Disable this booking field if the URL contains query parameter with key equal to the slug and prefill it with the provided value. For example, if URL contains query parameter `&title=journey`, the title field will be prefilled with this value and disabled." } }, - "required": [ - "slug" - ] + "required": ["slug"] }, "NotesDefaultFieldInput_2024_06_14": { "type": "object", @@ -9109,9 +8475,7 @@ "description": "Disable this booking field if the URL contains query parameter with key equal to the slug and prefill it with the provided value. For example, if URL contains query parameter `¬es=journey`, the notes field will be prefilled with this value and disabled." } }, - "required": [ - "slug" - ] + "required": ["slug"] }, "GuestsDefaultFieldInput_2024_06_14": { "type": "object", @@ -9139,9 +8503,7 @@ "description": "Disable this booking field if the URL contains query parameter with key equal to the slug and prefill it with the provided value. For example, if URL contains query parameter `&guests=bob@cal.com`, the guests field will be prefilled with this value and disabled." } }, - "required": [ - "slug" - ] + "required": ["slug"] }, "RescheduleReasonDefaultFieldInput_2024_06_14": { "type": "object", @@ -9169,9 +8531,7 @@ "description": "Disable this booking field if the URL contains query parameter with key equal to the slug and prefill it with the provided value. For example, if URL contains query parameter `&rescheduleReason=travel`, the rescheduleReason field will be prefilled with this value and disabled." } }, - "required": [ - "slug" - ] + "required": ["slug"] }, "InputOrganizersDefaultApp_2024_06_14": { "type": "object", @@ -9182,37 +8542,24 @@ "description": "only allowed value for type is `organizersDefaultApp`" } }, - "required": [ - "type" - ] + "required": ["type"] }, "BookerLayouts_2024_06_14": { "type": "object", "properties": { "defaultLayout": { "type": "string", - "enum": [ - "month", - "week", - "column" - ] + "enum": ["month", "week", "column"] }, "enabledLayouts": { "type": "array", "items": { "type": "string", - "enum": [ - "month", - "week", - "column" - ] + "enum": ["month", "week", "column"] } } }, - "required": [ - "defaultLayout", - "enabledLayouts" - ] + "required": ["defaultLayout", "enabledLayouts"] }, "EventTypeColor_2024_06_14": { "type": "object", @@ -9228,10 +8575,7 @@ "example": "#fafafa" } }, - "required": [ - "lightThemeHex", - "darkThemeHex" - ] + "required": ["lightThemeHex", "darkThemeHex"] }, "DestinationCalendar_2024_06_14": { "type": "object", @@ -9245,10 +8589,7 @@ "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" - ] + "required": ["integration", "externalId"] }, "CreateEventTypeInput_2024_06_14": { "type": "object", @@ -9258,11 +8599,7 @@ "example": 60 }, "lengthInMinutesOptions": { - "example": [ - 15, - 30, - 60 - ], + "example": [15, 30, 60], "description": "If you want that user can choose between different lengths of the event you can specify them here. Must include the provided `lengthInMinutes`.", "type": "array", "items": { @@ -9516,11 +8853,7 @@ } } }, - "required": [ - "lengthInMinutes", - "title", - "slug" - ] + "required": ["lengthInMinutes", "title", "slug"] }, "OutputAddressLocation_2024_06_14": { "type": "object", @@ -9548,11 +8881,7 @@ "type": "boolean" } }, - "required": [ - "type", - "address", - "public" - ] + "required": ["type", "address", "public"] }, "OutputLinkLocation_2024_06_14": { "type": "object", @@ -9580,11 +8909,7 @@ "type": "boolean" } }, - "required": [ - "type", - "link", - "public" - ] + "required": ["type", "link", "public"] }, "OutputIntegrationLocation_2024_06_14": { "type": "object", @@ -9652,10 +8977,7 @@ "description": "Credential ID associated with the integration" } }, - "required": [ - "type", - "integration" - ] + "required": ["type", "integration"] }, "OutputPhoneLocation_2024_06_14": { "type": "object", @@ -9683,11 +9005,7 @@ "type": "boolean" } }, - "required": [ - "type", - "phone", - "public" - ] + "required": ["type", "phone", "public"] }, "OutputOrganizersDefaultAppLocation_2024_06_14": { "type": "object", @@ -9710,9 +9028,7 @@ "description": "only allowed value for type is `organizersDefaultApp`" } }, - "required": [ - "type" - ] + "required": ["type"] }, "OutputUnknownLocation_2024_06_14": { "type": "object", @@ -9738,10 +9054,7 @@ "type": "string" } }, - "required": [ - "type", - "location" - ] + "required": ["type", "location"] }, "EmailDefaultFieldOutput_2024_06_14": { "type": "object", @@ -9793,12 +9106,7 @@ "default": "email" } }, - "required": [ - "type", - "required", - "isDefault", - "slug" - ] + "required": ["type", "required", "isDefault", "slug"] }, "NameDefaultFieldOutput_2024_06_14": { "type": "object", @@ -9849,12 +9157,7 @@ "type": "boolean" } }, - "required": [ - "type", - "isDefault", - "slug", - "required" - ] + "required": ["type", "isDefault", "slug", "required"] }, "LocationDefaultFieldOutput_2024_06_14": { "type": "object", @@ -9882,26 +9185,14 @@ "description": "If true show under event type settings but don't show this booking field in the Booker. If false show in both." } }, - "required": [ - "isDefault", - "slug", - "type", - "required", - "hidden" - ] + "required": ["isDefault", "slug", "type", "required", "hidden"] }, "RescheduleReasonDefaultFieldOutput_2024_06_14": { "type": "object", "properties": { "slug": { "type": "string", - "enum": [ - "name", - "email", - "title", - "notes", - "guests" - ], + "enum": ["name", "email", "title", "notes", "guests"], "example": "rescheduleReason", "description": "only allowed value for type is `rescheduleReason`", "default": "rescheduleReason" @@ -9934,24 +9225,14 @@ "default": "textarea" } }, - "required": [ - "slug", - "isDefault", - "type" - ] + "required": ["slug", "isDefault", "type"] }, "TitleDefaultFieldOutput_2024_06_14": { "type": "object", "properties": { "slug": { "type": "string", - "enum": [ - "name", - "email", - "title", - "notes", - "guests" - ], + "enum": ["name", "email", "title", "notes", "guests"], "example": "title", "description": "only allowed value for type is `title`", "default": "title" @@ -9984,24 +9265,14 @@ "default": "text" } }, - "required": [ - "slug", - "isDefault", - "type" - ] + "required": ["slug", "isDefault", "type"] }, "NotesDefaultFieldOutput_2024_06_14": { "type": "object", "properties": { "slug": { "type": "string", - "enum": [ - "name", - "email", - "title", - "notes", - "guests" - ], + "enum": ["name", "email", "title", "notes", "guests"], "example": "notes", "description": "only allowed value for type is `notes`", "default": "notes" @@ -10034,24 +9305,14 @@ "default": "textarea" } }, - "required": [ - "slug", - "isDefault", - "type" - ] + "required": ["slug", "isDefault", "type"] }, "GuestsDefaultFieldOutput_2024_06_14": { "type": "object", "properties": { "slug": { "type": "string", - "enum": [ - "name", - "email", - "title", - "notes", - "guests" - ], + "enum": ["name", "email", "title", "notes", "guests"], "example": "guests", "description": "only allowed value for type is `guests`", "default": "guests" @@ -10084,11 +9345,7 @@ "default": "multiemail" } }, - "required": [ - "slug", - "isDefault", - "type" - ] + "required": ["slug", "isDefault", "type"] }, "AddressFieldOutput_2024_06_14": { "type": "object", @@ -10145,14 +9402,7 @@ "example": false } }, - "required": [ - "type", - "slug", - "label", - "required", - "hidden", - "isDefault" - ] + "required": ["type", "slug", "label", "required", "hidden", "isDefault"] }, "BooleanFieldOutput_2024_06_14": { "type": "object", @@ -10204,14 +9454,7 @@ "example": false } }, - "required": [ - "type", - "slug", - "label", - "required", - "hidden", - "isDefault" - ] + "required": ["type", "slug", "label", "required", "hidden", "isDefault"] }, "CheckboxGroupFieldOutput_2024_06_14": { "type": "object", @@ -10250,10 +9493,7 @@ "type": "boolean" }, "options": { - "example": [ - "Checkbox 1", - "Checkbox 2" - ], + "example": ["Checkbox 1", "Checkbox 2"], "type": "array", "items": { "type": "string" @@ -10274,15 +9514,7 @@ "example": false } }, - "required": [ - "type", - "slug", - "label", - "required", - "options", - "hidden", - "isDefault" - ] + "required": ["type", "slug", "label", "required", "options", "hidden", "isDefault"] }, "MultiEmailFieldOutput_2024_06_14": { "type": "object", @@ -10339,14 +9571,7 @@ "example": false } }, - "required": [ - "type", - "slug", - "label", - "required", - "hidden", - "isDefault" - ] + "required": ["type", "slug", "label", "required", "hidden", "isDefault"] }, "MultiSelectFieldOutput_2024_06_14": { "type": "object", @@ -10385,10 +9610,7 @@ "type": "boolean" }, "options": { - "example": [ - "Option 1", - "Option 2" - ], + "example": ["Option 1", "Option 2"], "type": "array", "items": { "type": "string" @@ -10409,15 +9631,7 @@ "example": false } }, - "required": [ - "type", - "slug", - "label", - "required", - "options", - "hidden", - "isDefault" - ] + "required": ["type", "slug", "label", "required", "options", "hidden", "isDefault"] }, "UrlFieldOutput_2024_06_14": { "type": "object", @@ -10474,14 +9688,7 @@ "example": false } }, - "required": [ - "type", - "slug", - "label", - "required", - "hidden", - "isDefault" - ] + "required": ["type", "slug", "label", "required", "hidden", "isDefault"] }, "NumberFieldOutput_2024_06_14": { "type": "object", @@ -10538,14 +9745,7 @@ "example": false } }, - "required": [ - "type", - "slug", - "label", - "required", - "hidden", - "isDefault" - ] + "required": ["type", "slug", "label", "required", "hidden", "isDefault"] }, "PhoneFieldOutput_2024_06_14": { "type": "object", @@ -10600,14 +9800,7 @@ "example": false } }, - "required": [ - "type", - "slug", - "label", - "required", - "hidden", - "isDefault" - ] + "required": ["type", "slug", "label", "required", "hidden", "isDefault"] }, "RadioGroupFieldOutput_2024_06_14": { "type": "object", @@ -10646,10 +9839,7 @@ "type": "boolean" }, "options": { - "example": [ - "Radio 1", - "Radio 2" - ], + "example": ["Radio 1", "Radio 2"], "type": "array", "items": { "type": "string" @@ -10670,15 +9860,7 @@ "example": false } }, - "required": [ - "type", - "slug", - "label", - "required", - "options", - "hidden", - "isDefault" - ] + "required": ["type", "slug", "label", "required", "options", "hidden", "isDefault"] }, "SelectFieldOutput_2024_06_14": { "type": "object", @@ -10721,10 +9903,7 @@ "example": "Select..." }, "options": { - "example": [ - "Option 1", - "Option 2" - ], + "example": ["Option 1", "Option 2"], "type": "array", "items": { "type": "string" @@ -10745,15 +9924,7 @@ "example": false } }, - "required": [ - "type", - "slug", - "label", - "required", - "options", - "hidden", - "isDefault" - ] + "required": ["type", "slug", "label", "required", "options", "hidden", "isDefault"] }, "TextAreaFieldOutput_2024_06_14": { "type": "object", @@ -10810,14 +9981,7 @@ "example": false } }, - "required": [ - "type", - "slug", - "label", - "required", - "hidden", - "isDefault" - ] + "required": ["type", "slug", "label", "required", "hidden", "isDefault"] }, "TextFieldOutput_2024_06_14": { "type": "object", @@ -10874,14 +10038,7 @@ "example": false } }, - "required": [ - "type", - "slug", - "label", - "required", - "hidden", - "isDefault" - ] + "required": ["type", "slug", "label", "required", "hidden", "isDefault"] }, "EventTypeOutput_2024_06_14": { "type": "object", @@ -10895,11 +10052,7 @@ "example": 60 }, "lengthInMinutesOptions": { - "example": [ - 15, - 30, - 60 - ], + "example": [15, 30, 60], "description": "If you want that user can choose between different lengths of the event you can specify them here. Must include the provided `lengthInMinutes`.", "type": "array", "items": { @@ -11167,30 +10320,21 @@ "properties": { "status": { "type": "string", - "enum": [ - "success", - "error" - ], + "enum": ["success", "error"], "example": "success" }, "data": { "$ref": "#/components/schemas/EventTypeOutput_2024_06_14" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "GetEventTypeOutput_2024_06_14": { "type": "object", "properties": { "status": { "type": "string", - "enum": [ - "success", - "error" - ], + "enum": ["success", "error"], "example": "success" }, "data": { @@ -11202,20 +10346,14 @@ ] } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "GetEventTypesOutput_2024_06_14": { "type": "object", "properties": { "status": { "type": "string", - "enum": [ - "success", - "error" - ], + "enum": ["success", "error"], "example": "success" }, "data": { @@ -11225,10 +10363,7 @@ } } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "UpdateEventTypeInput_2024_06_14": { "type": "object", @@ -11238,11 +10373,7 @@ "example": 60 }, "lengthInMinutesOptions": { - "example": [ - 15, - 30, - 60 - ], + "example": [15, 30, 60], "description": "If you want that user can choose between different lengths of the event you can specify them here. Must include the provided `lengthInMinutes`.", "type": "array", "items": { @@ -11499,20 +10630,14 @@ "properties": { "status": { "type": "string", - "enum": [ - "success", - "error" - ], + "enum": ["success", "error"], "example": "success" }, "data": { "$ref": "#/components/schemas/EventTypeOutput_2024_06_14" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "DeleteData_2024_06_14": { "type": "object", @@ -11533,32 +10658,21 @@ "type": "string" } }, - "required": [ - "id", - "lengthInMinutes", - "title", - "slug" - ] + "required": ["id", "lengthInMinutes", "title", "slug"] }, "DeleteEventTypeOutput_2024_06_14": { "type": "object", "properties": { "status": { "type": "string", - "enum": [ - "success", - "error" - ], + "enum": ["success", "error"], "example": "success" }, "data": { "$ref": "#/components/schemas/DeleteData_2024_06_14" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "SelectedCalendarsInputDto": { "type": "object", @@ -11576,11 +10690,7 @@ "type": "string" } }, - "required": [ - "integration", - "externalId", - "credentialId" - ] + "required": ["integration", "externalId", "credentialId"] }, "SelectedCalendarOutputDto": { "type": "object", @@ -11599,12 +10709,7 @@ "nullable": true } }, - "required": [ - "userId", - "integration", - "externalId", - "credentialId" - ] + "required": ["userId", "integration", "externalId", "credentialId"] }, "SelectedCalendarOutputResponseDto": { "type": "object", @@ -11612,19 +10717,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/SelectedCalendarOutputDto" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "OrgTeamOutputDto": { "type": "object", @@ -11671,7 +10770,10 @@ "default": false }, "metadata": { - "type": "string" + "type": "object", + "example": { + "key": "value" + } }, "theme": { "type": "string" @@ -11697,11 +10799,7 @@ "default": "Sunday" } }, - "required": [ - "id", - "name", - "isOrganization" - ] + "required": ["id", "name", "isOrganization"] }, "OrgTeamsOutputResponseDto": { "type": "object", @@ -11709,10 +10807,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "type": "array", @@ -11721,10 +10816,7 @@ } } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "OrgMeTeamsOutputResponseDto": { "type": "object", @@ -11732,10 +10824,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "type": "array", @@ -11744,10 +10833,7 @@ } } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "OrgTeamOutputResponseDto": { "type": "object", @@ -11755,19 +10841,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/OrgTeamOutputDto" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "UpdateOrgTeamDto": { "type": "object", @@ -11810,7 +10890,11 @@ "type": "boolean" }, "metadata": { - "type": "string" + "type": "object", + "description": "You can store any additional data you want here.\nMetadata must have at most 50 keys, each key up to 40 characters.\nValues can be strings (up to 500 characters), numbers, or booleans.", + "example": { + "key": "value" + } }, "theme": { "type": "string" @@ -11888,7 +10972,11 @@ "type": "boolean" }, "metadata": { - "type": "string" + "type": "object", + "description": "You can store any additional data you want here.\nMetadata must have at most 50 keys, each key up to 40 characters.\nValues can be strings (up to 500 characters), numbers, or booleans.", + "example": { + "key": "value" + } }, "theme": { "type": "string" @@ -11923,40 +11011,19 @@ "default": true } }, - "required": [ - "name" - ] + "required": ["name"] }, "ScheduleAvailabilityInput_2024_06_11": { "type": "object", "properties": { "days": { "type": "array", - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday" - ], - "example": [ - "Monday", - "Tuesday" - ], + "enum": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"], + "example": ["Monday", "Tuesday"], "description": "Array of days when schedule is active.", "items": { "type": "string", - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday" - ] + "enum": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"] } }, "startTime": { @@ -11972,11 +11039,7 @@ "description": "endTime must be a valid time in format HH:MM e.g. 15:00" } }, - "required": [ - "days", - "startTime", - "endTime" - ] + "required": ["days", "startTime", "endTime"] }, "ScheduleOverrideInput_2024_06_11": { "type": "object", @@ -11998,11 +11061,7 @@ "description": "endTime must be a valid time in format HH:MM e.g. 13:00" } }, - "required": [ - "date", - "startTime", - "endTime" - ] + "required": ["date", "startTime", "endTime"] }, "ScheduleOutput_2024_06_11": { "type": "object", @@ -12026,18 +11085,12 @@ "availability": { "example": [ { - "days": [ - "Monday", - "Tuesday" - ], + "days": ["Monday", "Tuesday"], "startTime": "17:00", "endTime": "19:00" }, { - "days": [ - "Wednesday", - "Thursday" - ], + "days": ["Wednesday", "Thursday"], "startTime": "16:00", "endTime": "20:00" } @@ -12065,15 +11118,7 @@ } } }, - "required": [ - "id", - "ownerId", - "name", - "timeZone", - "availability", - "isDefault", - "overrides" - ] + "required": ["id", "ownerId", "name", "timeZone", "availability", "isDefault", "overrides"] }, "GetSchedulesOutput_2024_06_11": { "type": "object", @@ -12081,10 +11126,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "type": "array", @@ -12096,10 +11138,7 @@ "type": "object" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "CreateScheduleInput_2024_06_11": { "type": "object", @@ -12117,18 +11156,12 @@ "description": "Each object contains days and times when the user is available. If not passed, the default availability is Monday to Friday from 09:00 to 17:00.", "example": [ { - "days": [ - "Monday", - "Tuesday" - ], + "days": ["Monday", "Tuesday"], "startTime": "17:00", "endTime": "19:00" }, { - "days": [ - "Wednesday", - "Thursday" - ], + "days": ["Wednesday", "Thursday"], "startTime": "16:00", "endTime": "20:00" } @@ -12158,11 +11191,7 @@ } } }, - "required": [ - "name", - "timeZone", - "isDefault" - ] + "required": ["name", "timeZone", "isDefault"] }, "CreateScheduleOutput_2024_06_11": { "type": "object", @@ -12170,19 +11199,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/ScheduleOutput_2024_06_11" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "GetScheduleOutput_2024_06_11": { "type": "object", @@ -12190,10 +11213,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "nullable": true, @@ -12207,10 +11227,7 @@ "type": "object" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "UpdateScheduleInput_2024_06_11": { "type": "object", @@ -12226,10 +11243,7 @@ "availability": { "example": [ { - "days": [ - "Monday", - "Tuesday" - ], + "days": ["Monday", "Tuesday"], "startTime": "09:00", "endTime": "10:00" } @@ -12264,10 +11278,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/ScheduleOutput_2024_06_11" @@ -12276,10 +11287,7 @@ "type": "object" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "DeleteScheduleOutput_2024_06_11": { "type": "object", @@ -12287,15 +11295,10 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] } }, - "required": [ - "status" - ] + "required": ["status"] }, "ProfileOutput": { "type": "object", @@ -12322,11 +11325,7 @@ "example": "john_doe" } }, - "required": [ - "id", - "organizationId", - "userId" - ] + "required": ["id", "organizationId", "userId"] }, "GetOrgUsersWithProfileOutput": { "type": "object", @@ -12462,15 +11461,7 @@ ] } }, - "required": [ - "id", - "email", - "timeZone", - "weekStart", - "hideBranding", - "createdDate", - "profile" - ] + "required": ["id", "email", "timeZone", "weekStart", "hideBranding", "createdDate", "profile"] }, "GetOrganizationUsersResponseDTO": { "type": "object", @@ -12478,10 +11469,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "type": "array", @@ -12490,10 +11478,7 @@ } } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "CreateOrganizationUserInput": { "type": "object", @@ -12571,20 +11556,14 @@ "organizationRole": { "type": "string", "default": "MEMBER", - "enum": [ - "MEMBER", - "ADMIN", - "OWNER" - ] + "enum": ["MEMBER", "ADMIN", "OWNER"] }, "autoAccept": { "type": "boolean", "default": true } }, - "required": [ - "email" - ] + "required": ["email"] }, "GetOrganizationUserOutput": { "type": "object", @@ -12592,19 +11571,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/GetOrgUsersWithProfileOutput" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "UpdateOrganizationUserInput": { "type": "object", @@ -12627,23 +11600,13 @@ }, "role": { "type": "string", - "enum": [ - "MEMBER", - "OWNER", - "ADMIN" - ] + "enum": ["MEMBER", "OWNER", "ADMIN"] }, "disableImpersonation": { "type": "boolean" } }, - "required": [ - "id", - "userId", - "teamId", - "accepted", - "role" - ] + "required": ["id", "userId", "teamId", "accepted", "role"] }, "GetAllOrgMemberships": { "type": "object", @@ -12651,19 +11614,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/OrgMembershipOutputDto" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "CreateOrgMembershipDto": { "type": "object", @@ -12678,21 +11635,14 @@ "role": { "type": "string", "default": "MEMBER", - "enum": [ - "MEMBER", - "OWNER", - "ADMIN" - ] + "enum": ["MEMBER", "OWNER", "ADMIN"] }, "disableImpersonation": { "type": "boolean", "default": false } }, - "required": [ - "userId", - "role" - ] + "required": ["userId", "role"] }, "CreateOrgMembershipOutput": { "type": "object", @@ -12700,19 +11650,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/OrgMembershipOutputDto" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "GetOrgMembership": { "type": "object", @@ -12720,19 +11664,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/OrgMembershipOutputDto" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "DeleteOrgMembership": { "type": "object", @@ -12740,19 +11678,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/OrgMembershipOutputDto" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "UpdateOrgMembershipDto": { "type": "object", @@ -12762,11 +11694,7 @@ }, "role": { "type": "string", - "enum": [ - "MEMBER", - "OWNER", - "ADMIN" - ] + "enum": ["MEMBER", "OWNER", "ADMIN"] }, "disableImpersonation": { "type": "boolean" @@ -12779,19 +11707,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/OrgMembershipOutputDto" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "Host": { "type": "object", @@ -12806,18 +11728,10 @@ }, "priority": { "type": "string", - "enum": [ - "lowest", - "low", - "medium", - "high", - "highest" - ] + "enum": ["lowest", "low", "medium", "high", "highest"] } }, - "required": [ - "userId" - ] + "required": ["userId"] }, "CreateTeamEventTypeInput_2024_06_14": { "type": "object", @@ -12827,11 +11741,7 @@ "example": 60 }, "lengthInMinutesOptions": { - "example": [ - 15, - 30, - 60 - ], + "example": [15, 30, 60], "description": "If you want that user can choose between different lengths of the event you can specify them here. Must include the provided `lengthInMinutes`.", "type": "array", "items": { @@ -13101,13 +12011,7 @@ } } }, - "required": [ - "lengthInMinutes", - "title", - "slug", - "schedulingType", - "hosts" - ] + "required": ["lengthInMinutes", "title", "slug", "schedulingType", "hosts"] }, "CreateTeamEventTypeOutput": { "type": "object", @@ -13115,10 +12019,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "oneOf": [ @@ -13134,10 +12035,7 @@ ] } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "TeamEventTypeResponseHost": { "type": "object", @@ -13154,13 +12052,7 @@ "priority": { "type": "string", "default": "medium", - "enum": [ - "lowest", - "low", - "medium", - "high", - "highest" - ] + "enum": ["lowest", "low", "medium", "high", "highest"] }, "name": { "type": "string", @@ -13172,10 +12064,7 @@ "example": "https://cal.com/api/avatar/d95949bc-ccb1-400f-acf6-045c51a16856.png" } }, - "required": [ - "userId", - "name" - ] + "required": ["userId", "name"] }, "EventTypeTeam": { "type": "object", @@ -13208,9 +12097,7 @@ "type": "string" } }, - "required": [ - "id" - ] + "required": ["id"] }, "TeamEventTypeOutput_2024_06_14": { "type": "object", @@ -13225,11 +12112,7 @@ "example": 60 }, "lengthInMinutesOptions": { - "example": [ - 15, - 30, - 60 - ], + "example": [15, 30, 60], "description": "If you want that user can choose between different lengths of the event you can specify them here. Must include the provided `lengthInMinutes`.", "type": "array", "items": { @@ -13488,11 +12371,7 @@ "schedulingType": { "type": "string", "nullable": true, - "enum": [ - "ROUND_ROBIN", - "COLLECTIVE", - "MANAGED" - ] + "enum": ["ROUND_ROBIN", "COLLECTIVE", "MANAGED"] }, "team": { "$ref": "#/components/schemas/EventTypeTeam" @@ -13528,19 +12407,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/TeamEventTypeOutput_2024_06_14" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "CreatePhoneCallInput": { "type": "object", @@ -13566,10 +12439,7 @@ }, "templateType": { "default": "CUSTOM_TEMPLATE", - "enum": [ - "CHECK_IN_APPOINTMENT", - "CUSTOM_TEMPLATE" - ], + "enum": ["CHECK_IN_APPOINTMENT", "CUSTOM_TEMPLATE"], "type": "string", "description": "Template type" }, @@ -13598,13 +12468,7 @@ "description": "General prompt" } }, - "required": [ - "yourPhoneNumber", - "numberToCall", - "calApiKey", - "enabled", - "templateType" - ] + "required": ["yourPhoneNumber", "numberToCall", "calApiKey", "enabled", "templateType"] }, "Data": { "type": "object", @@ -13616,9 +12480,7 @@ "type": "string" } }, - "required": [ - "callId" - ] + "required": ["callId"] }, "CreatePhoneCallOutput": { "type": "object", @@ -13626,19 +12488,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/Data" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "GetTeamEventTypesOutput": { "type": "object", @@ -13646,10 +12502,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "type": "array", @@ -13658,10 +12511,7 @@ } } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "UpdateTeamEventTypeInput_2024_06_14": { "type": "object", @@ -13671,11 +12521,7 @@ "example": 60 }, "lengthInMinutesOptions": { - "example": [ - 15, - 30, - 60 - ], + "example": [15, 30, 60], "description": "If you want that user can choose between different lengths of the event you can specify them here. Must include the provided `lengthInMinutes`.", "type": "array", "items": { @@ -13946,10 +12792,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "oneOf": [ @@ -13965,10 +12808,7 @@ ] } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "DeleteTeamEventTypeOutput": { "type": "object", @@ -13976,19 +12816,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "type": "object" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "MembershipUserOutputDto": { "type": "object", @@ -14006,9 +12840,7 @@ "type": "string" } }, - "required": [ - "email" - ] + "required": ["email"] }, "OrgTeamMembershipOutputDto": { "type": "object", @@ -14027,11 +12859,7 @@ }, "role": { "type": "string", - "enum": [ - "MEMBER", - "OWNER", - "ADMIN" - ] + "enum": ["MEMBER", "OWNER", "ADMIN"] }, "disableImpersonation": { "type": "boolean" @@ -14040,14 +12868,7 @@ "$ref": "#/components/schemas/MembershipUserOutputDto" } }, - "required": [ - "id", - "userId", - "teamId", - "accepted", - "role", - "user" - ] + "required": ["id", "userId", "teamId", "accepted", "role", "user"] }, "OrgTeamMembershipsOutputResponseDto": { "type": "object", @@ -14055,10 +12876,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "type": "array", @@ -14067,10 +12885,7 @@ } } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "OrgTeamMembershipOutputResponseDto": { "type": "object", @@ -14078,19 +12893,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/OrgTeamMembershipOutputDto" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "UpdateOrgTeamMembershipDto": { "type": "object", @@ -14100,11 +12909,7 @@ }, "role": { "type": "string", - "enum": [ - "MEMBER", - "OWNER", - "ADMIN" - ] + "enum": ["MEMBER", "OWNER", "ADMIN"] }, "disableImpersonation": { "type": "boolean" @@ -14124,21 +12929,14 @@ "role": { "type": "string", "default": "MEMBER", - "enum": [ - "MEMBER", - "OWNER", - "ADMIN" - ] + "enum": ["MEMBER", "OWNER", "ADMIN"] }, "disableImpersonation": { "type": "boolean", "default": false } }, - "required": [ - "userId", - "role" - ] + "required": ["userId", "role"] }, "Attribute": { "type": "object", @@ -14156,12 +12954,7 @@ "type": { "type": "string", "description": "The type of the attribute", - "enum": [ - "TEXT", - "NUMBER", - "SINGLE_SELECT", - "MULTI_SELECT" - ] + "enum": ["TEXT", "NUMBER", "SINGLE_SELECT", "MULTI_SELECT"] }, "name": { "type": "string", @@ -14184,14 +12977,7 @@ "example": true } }, - "required": [ - "id", - "teamId", - "type", - "name", - "slug", - "enabled" - ] + "required": ["id", "teamId", "type", "name", "slug", "enabled"] }, "GetOrganizationAttributesOutput": { "type": "object", @@ -14199,10 +12985,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "type": "array", @@ -14211,10 +12994,7 @@ } } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "GetSingleAttributeOutput": { "type": "object", @@ -14222,10 +13002,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "nullable": true, @@ -14236,10 +13013,7 @@ ] } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "CreateOrganizationAttributeOptionInput": { "type": "object", @@ -14251,10 +13025,7 @@ "type": "string" } }, - "required": [ - "value", - "slug" - ] + "required": ["value", "slug"] }, "CreateOrganizationAttributeInput": { "type": "object", @@ -14267,12 +13038,7 @@ }, "type": { "type": "string", - "enum": [ - "TEXT", - "NUMBER", - "SINGLE_SELECT", - "MULTI_SELECT" - ] + "enum": ["TEXT", "NUMBER", "SINGLE_SELECT", "MULTI_SELECT"] }, "options": { "type": "array", @@ -14284,12 +13050,7 @@ "type": "boolean" } }, - "required": [ - "name", - "slug", - "type", - "options" - ] + "required": ["name", "slug", "type", "options"] }, "CreateOrganizationAttributesOutput": { "type": "object", @@ -14297,19 +13058,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/Attribute" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "UpdateOrganizationAttributeInput": { "type": "object", @@ -14322,12 +13077,7 @@ }, "type": { "type": "string", - "enum": [ - "TEXT", - "NUMBER", - "SINGLE_SELECT", - "MULTI_SELECT" - ] + "enum": ["TEXT", "NUMBER", "SINGLE_SELECT", "MULTI_SELECT"] }, "enabled": { "type": "boolean" @@ -14340,19 +13090,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/Attribute" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "DeleteOrganizationAttributesOutput": { "type": "object", @@ -14360,19 +13104,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/Attribute" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "OptionOutput": { "type": "object", @@ -14398,12 +13136,7 @@ "example": "option-slug" } }, - "required": [ - "id", - "attributeId", - "value", - "slug" - ] + "required": ["id", "attributeId", "value", "slug"] }, "CreateAttributeOptionOutput": { "type": "object", @@ -14411,19 +13144,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/OptionOutput" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "DeleteAttributeOptionOutput": { "type": "object", @@ -14431,19 +13158,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/OptionOutput" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "UpdateOrganizationAttributeOptionInput": { "type": "object", @@ -14462,19 +13183,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/OptionOutput" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "GetAllAttributeOptionOutput": { "type": "object", @@ -14482,10 +13197,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "type": "array", @@ -14494,10 +13206,7 @@ } } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "AssignOrganizationAttributeOptionToUserInput": { "type": "object", @@ -14512,9 +13221,7 @@ "type": "string" } }, - "required": [ - "attributeId" - ] + "required": ["attributeId"] }, "AssignOptionUserOutputData": { "type": "object", @@ -14532,11 +13239,7 @@ "description": "The value of the option" } }, - "required": [ - "id", - "memberId", - "attributeOptionId" - ] + "required": ["id", "memberId", "attributeOptionId"] }, "AssignOptionUserOutput": { "type": "object", @@ -14544,19 +13247,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/AssignOptionUserOutputData" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "UnassignOptionUserOutput": { "type": "object", @@ -14564,19 +13261,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/AssignOptionUserOutputData" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "GetOptionUserOutputData": { "type": "object", @@ -14598,12 +13289,7 @@ "description": "The slug of the option" } }, - "required": [ - "id", - "attributeId", - "value", - "slug" - ] + "required": ["id", "attributeId", "value", "slug"] }, "GetOptionUserOutput": { "type": "object", @@ -14611,10 +13297,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "type": "array", @@ -14623,10 +13306,7 @@ } } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "TeamWebhookOutputDto": { "type": "object", @@ -14658,14 +13338,7 @@ "type": "string" } }, - "required": [ - "payloadTemplate", - "teamId", - "id", - "triggers", - "subscriberUrl", - "active" - ] + "required": ["payloadTemplate", "teamId", "id", "triggers", "subscriberUrl", "active"] }, "TeamWebhooksOutputResponseDto": { "type": "object", @@ -14673,10 +13346,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "type": "array", @@ -14685,10 +13355,7 @@ } } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "CreateWebhookInputDto": { "type": "object", @@ -14741,11 +13408,7 @@ "type": "string" } }, - "required": [ - "active", - "subscriberUrl", - "triggers" - ] + "required": ["active", "subscriberUrl", "triggers"] }, "TeamWebhookOutputResponseDto": { "type": "object", @@ -14753,19 +13416,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/TeamWebhookOutputDto" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "UpdateWebhookInputDto": { "type": "object", @@ -14848,19 +13505,10 @@ "type": "string", "description": "the reason for the out of office entry, if applicable", "example": "vacation", - "enum": [ - "unspecified", - "vacation", - "travel", - "sick", - "public_holiday" - ] + "enum": ["unspecified", "vacation", "travel", "sick", "public_holiday"] } }, - "required": [ - "start", - "end" - ] + "required": ["start", "end"] }, "UpdateOutOfOfficeEntryDto": { "type": "object", @@ -14891,13 +13539,7 @@ "type": "string", "description": "the reason for the out of office entry, if applicable", "example": "vacation", - "enum": [ - "unspecified", - "vacation", - "travel", - "sick", - "public_holiday" - ] + "enum": ["unspecified", "vacation", "travel", "sick", "public_holiday"] } } }, @@ -14908,9 +13550,7 @@ "type": "string" } }, - "required": [ - "authUrl" - ] + "required": ["authUrl"] }, "StripConnectOutputResponseDto": { "type": "object", @@ -14918,19 +13558,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/StripConnectOutputDto" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "StripCredentialsSaveOutputResponseDto": { "type": "object", @@ -14939,9 +13573,7 @@ "type": "string" } }, - "required": [ - "url" - ] + "required": ["url"] }, "StripCredentialsCheckOutputResponseDto": { "type": "object", @@ -14951,9 +13583,7 @@ "example": "success" } }, - "required": [ - "status" - ] + "required": ["status"] }, "GetDefaultScheduleOutput_2024_06_11": { "type": "object", @@ -14961,19 +13591,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/ScheduleOutput_2024_06_11" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "CreateTeamInput": { "type": "object", @@ -15017,7 +13641,11 @@ "type": "boolean" }, "metadata": { - "type": "string" + "type": "object", + "description": "You can store any additional data you want here.\nMetadata must have at most 50 keys, each key up to 40 characters.\nValues can be strings (up to 500 characters), numbers, or booleans.", + "example": { + "key": "value" + } }, "theme": { "type": "string" @@ -15052,9 +13680,7 @@ "default": true } }, - "required": [ - "name" - ] + "required": ["name"] }, "CreateTeamOutput": { "type": "object", @@ -15062,10 +13688,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "oneOf": [ @@ -15079,10 +13702,7 @@ "description": "Either an Output object or a TeamOutputDto." } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "TeamOutputDto": { "type": "object", @@ -15129,7 +13749,10 @@ "default": false }, "metadata": { - "type": "string" + "type": "object", + "example": { + "key": "value" + } }, "theme": { "type": "string" @@ -15155,11 +13778,7 @@ "default": "Sunday" } }, - "required": [ - "id", - "name", - "isOrganization" - ] + "required": ["id", "name", "isOrganization"] }, "GetTeamOutput": { "type": "object", @@ -15167,19 +13786,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/TeamOutputDto" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "GetTeamsOutput": { "type": "object", @@ -15187,10 +13800,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "type": "array", @@ -15199,10 +13809,7 @@ } } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "UpdateTeamOutput": { "type": "object", @@ -15210,19 +13817,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/TeamOutputDto" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "GoogleServiceAccountKeyInput": { "type": "object", @@ -15237,11 +13838,7 @@ "type": "string" } }, - "required": [ - "private_key", - "client_email", - "client_id" - ] + "required": ["private_key", "client_email", "client_id"] }, "CreateDelegationCredentialInput": { "type": "object", @@ -15266,11 +13863,7 @@ } } }, - "required": [ - "workspacePlatformSlug", - "domain", - "serviceAccountKey" - ] + "required": ["workspacePlatformSlug", "domain", "serviceAccountKey"] }, "WorkspacePlatformDto": { "type": "object", @@ -15282,10 +13875,7 @@ "type": "string" } }, - "required": [ - "name", - "slug" - ] + "required": ["name", "slug"] }, "DelegationCredentialOutput": { "type": "object", @@ -15330,19 +13920,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/DelegationCredentialOutput" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "UpdateDelegationCredentialInput": { "type": "object", @@ -15371,19 +13955,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/DelegationCredentialOutput" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "CreateOrganizationInput": { "type": "object", @@ -15407,12 +13985,14 @@ "example": "CalTeam" }, "metadata": { - "type": "object" + "type": "object", + "description": "You can store any additional data you want here.\nMetadata must have at most 50 keys, each key up to 40 characters.\nValues can be strings (up to 500 characters), numbers, or booleans.", + "example": { + "key": "value" + } } }, - "required": [ - "name" - ] + "required": ["name"] }, "ManagedOrganizationWithApiKeyOutput": { "type": "object", @@ -15425,17 +14005,16 @@ "minLength": 1 }, "metadata": { - "type": "object" + "type": "object", + "example": { + "key": "value" + } }, "apiKey": { "type": "string" } }, - "required": [ - "id", - "name", - "apiKey" - ] + "required": ["id", "name", "apiKey"] }, "CreateManagedOrganizationOutput": { "type": "object", @@ -15443,19 +14022,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/ManagedOrganizationWithApiKeyOutput" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "ManagedOrganizationOutput": { "type": "object", @@ -15468,13 +14041,13 @@ "minLength": 1 }, "metadata": { - "type": "object" + "type": "object", + "example": { + "key": "value" + } } }, - "required": [ - "id", - "name" - ] + "required": ["id", "name"] }, "GetManagedOrganizationOutput": { "type": "object", @@ -15482,19 +14055,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/ManagedOrganizationOutput" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "GetManagedOrganizationsOutput": { "type": "object", @@ -15502,10 +14069,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "type": "array", @@ -15514,10 +14078,7 @@ } } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "UpdateOrganizationInput": { "type": "object", @@ -15529,7 +14090,11 @@ "example": "CalTeam" }, "metadata": { - "type": "string" + "type": "object", + "description": "You can store any additional data you want here.\nMetadata must have at most 50 keys, each key up to 40 characters.\nValues can be strings (up to 500 characters), numbers, or booleans.", + "example": { + "key": "value" + } } } }, @@ -15562,14 +14127,7 @@ "type": "string" } }, - "required": [ - "id", - "formId", - "formFillerId", - "routedToBookingUid", - "response", - "createdAt" - ] + "required": ["id", "formId", "formFillerId", "routedToBookingUid", "response", "createdAt"] }, "GetRoutingFormResponsesOutput": { "type": "object", @@ -15577,10 +14135,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "type": "array", @@ -15589,10 +14144,7 @@ } } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "ProviderVerifyClientData": { "type": "object", @@ -15607,11 +14159,7 @@ "type": "string" } }, - "required": [ - "clientId", - "organizationId", - "name" - ] + "required": ["clientId", "organizationId", "name"] }, "ProviderVerifyClientOutput": { "type": "object", @@ -15619,19 +14167,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/ProviderVerifyClientData" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "ProviderVerifyAccessTokenOutput": { "type": "object", @@ -15639,15 +14181,10 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] } }, - "required": [ - "status" - ] + "required": ["status"] }, "MeOrgOutput": { "type": "object", @@ -15659,10 +14196,7 @@ "type": "number" } }, - "required": [ - "isPlatform", - "id" - ] + "required": ["isPlatform", "id"] }, "MeOutput": { "type": "object", @@ -15714,19 +14248,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/MeOutput" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "UpdateMeOutput": { "type": "object", @@ -15734,29 +14262,20 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/MeOutput" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "CreateIcsFeedInputDto": { "type": "object", "properties": { "urls": { "type": "array", - "example": [ - "https://cal.com/ics/feed.ics", - "http://cal.com/ics/feed.ics" - ], + "example": ["https://cal.com/ics/feed.ics", "http://cal.com/ics/feed.ics"], "description": "An array of ICS URLs", "items": { "type": "string", @@ -15770,9 +14289,7 @@ "description": "Whether to allowing writing to the calendar or not" } }, - "required": [ - "urls" - ] + "required": ["urls"] }, "CreateIcsFeedOutput": { "type": "object", @@ -15812,14 +14329,7 @@ "description": "Whether the calendar credentials are valid or not" } }, - "required": [ - "id", - "type", - "userId", - "teamId", - "appId", - "invalid" - ] + "required": ["id", "type", "userId", "teamId", "appId", "invalid"] }, "CreateIcsFeedOutputResponseDto": { "type": "object", @@ -15827,19 +14337,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/CreateIcsFeedOutput" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "BusyTimesOutput": { "type": "object", @@ -15857,10 +14361,7 @@ "nullable": true } }, - "required": [ - "start", - "end" - ] + "required": ["start", "end"] }, "GetBusyTimesOutput": { "type": "object", @@ -15868,10 +14369,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "type": "array", @@ -15880,10 +14378,7 @@ } } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "Integration": { "type": "object", @@ -15992,13 +14487,7 @@ "nullable": true } }, - "required": [ - "externalId", - "primary", - "readOnly", - "isSelected", - "credentialId" - ] + "required": ["externalId", "primary", "readOnly", "isSelected", "credentialId"] }, "Calendar": { "type": "object", @@ -16033,12 +14522,7 @@ "nullable": true } }, - "required": [ - "externalId", - "readOnly", - "isSelected", - "credentialId" - ] + "required": ["externalId", "readOnly", "isSelected", "credentialId"] }, "ConnectedCalendar": { "type": "object", @@ -16063,10 +14547,7 @@ } } }, - "required": [ - "integration", - "credentialId" - ] + "required": ["integration", "credentialId"] }, "DestinationCalendar": { "type": "object", @@ -16140,10 +14621,7 @@ "$ref": "#/components/schemas/DestinationCalendar" } }, - "required": [ - "connectedCalendars", - "destinationCalendar" - ] + "required": ["connectedCalendars", "destinationCalendar"] }, "ConnectedCalendarsOutput": { "type": "object", @@ -16151,19 +14629,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/ConnectedCalendarsData" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "DeleteCalendarCredentialsInputBodyDto": { "type": "object", @@ -16174,9 +14646,7 @@ "description": "Credential ID of the calendar to delete, as returned by the /calendars endpoint" } }, - "required": [ - "id" - ] + "required": ["id"] }, "DeletedCalendarCredentialsOutputDto": { "type": "object", @@ -16204,14 +14674,7 @@ "nullable": true } }, - "required": [ - "id", - "type", - "userId", - "teamId", - "appId", - "invalid" - ] + "required": ["id", "type", "userId", "teamId", "appId", "invalid"] }, "DeletedCalendarCredentialsOutputResponseDto": { "type": "object", @@ -16219,19 +14682,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/DeletedCalendarCredentialsOutputDto" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "BookingInputAddressLocation_2024_08_13": { "type": "object", @@ -16300,7 +14757,39 @@ "integration": { "type": "string", "example": "cal-video", - "enum": ["cal-video", "google-meet"] + "enum": [ + "cal-video", + "google-meet", + "zoom", + "whereby-video", + "whatsapp-video", + "webex-video", + "telegram-video", + "tandem", + "sylaps-video", + "skype-video", + "sirius-video", + "signal-video", + "shimmer-video", + "salesroom-video", + "roam-video", + "riverside-video", + "ping-video", + "office365-video", + "mirotalk-video", + "jitsi", + "jelly-video", + "jelly-conferencing", + "huddle", + "facetime-video", + "element-call-video", + "eightxeight-video", + "discord-video", + "demodesk-video", + "campsite-conferencing", + "campfire-video", + "around-video" + ] } }, "required": ["type", "integration"] @@ -16405,10 +14894,7 @@ "default": "en" } }, - "required": [ - "name", - "timeZone" - ] + "required": ["name", "timeZone"] }, "CreateBookingInput_2024_08_13": { "type": "object", @@ -16438,10 +14924,7 @@ }, "guests": { "description": "An optional list of guest emails attending the event.", - "example": [ - "guest1@example.com", - "guest2@example.com" - ], + "example": ["guest1@example.com", "guest2@example.com"], "type": "array", "items": { "type": "string" @@ -16494,11 +14977,7 @@ } } }, - "required": [ - "start", - "eventTypeId", - "attendee" - ] + "required": ["start", "eventTypeId", "attendee"] }, "CreateInstantBookingInput_2024_08_13": { "type": "object", @@ -16528,10 +15007,7 @@ }, "guests": { "description": "An optional list of guest emails attending the event.", - "example": [ - "guest1@example.com", - "guest2@example.com" - ], + "example": ["guest1@example.com", "guest2@example.com"], "type": "array", "items": { "type": "string" @@ -16589,12 +15065,7 @@ "example": true } }, - "required": [ - "start", - "eventTypeId", - "attendee", - "instant" - ] + "required": ["start", "eventTypeId", "attendee", "instant"] }, "CreateRecurringBookingInput_2024_08_13": { "type": "object", @@ -16624,10 +15095,7 @@ }, "guests": { "description": "An optional list of guest emails attending the event.", - "example": [ - "guest1@example.com", - "guest2@example.com" - ], + "example": ["guest1@example.com", "guest2@example.com"], "type": "array", "items": { "type": "string" @@ -16685,11 +15153,7 @@ "example": 5 } }, - "required": [ - "start", - "eventTypeId", - "attendee" - ] + "required": ["start", "eventTypeId", "attendee"] }, "BookingHost": { "type": "object", @@ -16715,13 +15179,7 @@ "example": "America/Los_Angeles" } }, - "required": [ - "id", - "name", - "email", - "username", - "timeZone" - ] + "required": ["id", "name", "email", "username", "timeZone"] }, "EventType": { "type": "object", @@ -16735,10 +15193,7 @@ "example": "some-event" } }, - "required": [ - "id", - "slug" - ] + "required": ["id", "slug"] }, "BookingOutput_2024_08_13": { "type": "object", @@ -16767,12 +15222,7 @@ }, "status": { "type": "string", - "enum": [ - "cancelled", - "accepted", - "rejected", - "pending" - ], + "enum": ["cancelled", "accepted", "rejected", "pending"], "example": "accepted" }, "cancellationReason": { @@ -16855,10 +15305,7 @@ } }, "guests": { - "example": [ - "guest1@example.com", - "guest2@example.com" - ], + "example": ["guest1@example.com", "guest2@example.com"], "type": "array", "items": { "type": "string" @@ -16919,12 +15366,7 @@ }, "status": { "type": "string", - "enum": [ - "cancelled", - "accepted", - "rejected", - "pending" - ], + "enum": ["cancelled", "accepted", "rejected", "pending"], "example": "accepted" }, "cancellationReason": { @@ -17007,10 +15449,7 @@ } }, "guests": { - "example": [ - "guest1@example.com", - "guest2@example.com" - ], + "example": ["guest1@example.com", "guest2@example.com"], "type": "array", "items": { "type": "string" @@ -17138,14 +15577,7 @@ } } }, - "required": [ - "name", - "email", - "timeZone", - "absent", - "seatUid", - "bookingFieldsResponses" - ] + "required": ["name", "email", "timeZone", "absent", "seatUid", "bookingFieldsResponses"] }, "CreateSeatedBookingOutput_2024_08_13": { "type": "object", @@ -17174,12 +15606,7 @@ }, "status": { "type": "string", - "enum": [ - "cancelled", - "accepted", - "rejected", - "pending" - ], + "enum": ["cancelled", "accepted", "rejected", "pending"], "example": "accepted" }, "cancellationReason": { @@ -17313,12 +15740,7 @@ }, "status": { "type": "string", - "enum": [ - "cancelled", - "accepted", - "rejected", - "pending" - ], + "enum": ["cancelled", "accepted", "rejected", "pending"], "example": "accepted" }, "cancellationReason": { @@ -17436,10 +15858,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "oneOf": [ @@ -17465,10 +15884,7 @@ "description": "Booking data, which can be either a BookingOutput object or an array of RecurringBookingOutput objects" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "GetSeatedBookingOutput_2024_08_13": { "type": "object", @@ -17497,12 +15913,7 @@ }, "status": { "type": "string", - "enum": [ - "cancelled", - "accepted", - "rejected", - "pending" - ], + "enum": ["cancelled", "accepted", "rejected", "pending"], "example": "accepted" }, "cancellationReason": { @@ -17631,12 +16042,7 @@ }, "status": { "type": "string", - "enum": [ - "cancelled", - "accepted", - "rejected", - "pending" - ], + "enum": ["cancelled", "accepted", "rejected", "pending"], "example": "accepted" }, "cancellationReason": { @@ -17749,10 +16155,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "oneOf": [ @@ -17787,10 +16190,7 @@ "type": "object" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "GetBookingsOutput_2024_08_13": { "type": "object", @@ -17798,10 +16198,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "type": "array", @@ -17827,10 +16224,47 @@ "type": "object" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] + }, + "RescheduleBookingInput_2024_08_13": { + "type": "object", + "properties": { + "start": { + "type": "string", + "description": "Start time in ISO 8601 format for the new booking", + "example": "2024-08-13T10:00:00Z" + }, + "rescheduledBy": { + "type": "string", + "description": "Email of the person who is rescheduling the booking - only needed when rescheduling a booking that requires a confirmation.\nIf event type owner email is provided then rescheduled booking will be automatically confirmed. If attendee email or no email is passed then the event type\nowner will have to confirm the rescheduled booking." + }, + "reschedulingReason": { + "type": "string", + "example": "User requested reschedule", + "description": "Reason for rescheduling the booking" + } + }, + "required": ["start"] + }, + "RescheduleSeatedBookingInput_2024_08_13": { + "type": "object", + "properties": { + "start": { + "type": "string", + "description": "Start time in ISO 8601 format for the new booking", + "example": "2024-08-13T10:00:00Z" + }, + "rescheduledBy": { + "type": "string", + "description": "Email of the person who is rescheduling the booking - only needed when rescheduling a booking that requires a confirmation.\nIf event type owner email is provided then rescheduled booking will be automatically confirmed. If attendee email or no email is passed then the event type\nowner will have to confirm the rescheduled booking." + }, + "seatUid": { + "type": "string", + "example": "3be561a9-31f1-4b8e-aefc-9d9a085f0dd1", + "description": "Uid of the specific seat within booking." + } + }, + "required": ["start", "seatUid"] }, "RescheduleBookingOutput_2024_08_13": { "type": "object", @@ -17838,10 +16272,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "oneOf": [ @@ -17861,10 +16292,31 @@ "description": "Booking data, which can be either a BookingOutput object or a RecurringBookingOutput object" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] + }, + "CancelBookingInput_2024_08_13": { + "type": "object", + "properties": { + "cancellationReason": { + "type": "string", + "example": "User requested cancellation" + }, + "cancelSubsequentBookings": { + "type": "boolean", + "description": "For recurring non-seated booking - if true, cancel booking with the bookingUid of the individual recurrence and all recurrences that come after it." + } + } + }, + "CancelSeatedBookingInput_2024_08_13": { + "type": "object", + "properties": { + "seatUid": { + "type": "string", + "example": "3be561a9-31f1-4b8e-aefc-9d9a085f0dd1", + "description": "Uid of the specific seat within booking." + } + }, + "required": ["seatUid"] }, "CancelBookingOutput_2024_08_13": { "type": "object", @@ -17872,10 +16324,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "oneOf": [ @@ -17907,10 +16356,7 @@ "description": "Booking data, which can be either a BookingOutput object, a RecurringBookingOutput object, or an array of RecurringBookingOutput objects" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "MarkAbsentBookingInput_2024_08_13": { "type": "object", @@ -17934,10 +16380,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "oneOf": [ @@ -17951,10 +16394,7 @@ "description": "Booking data, which can be either a BookingOutput object or a RecurringBookingOutput object" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "ReassignedToDto": { "type": "object", @@ -17972,11 +16412,7 @@ "example": "john.doe@example.com" } }, - "required": [ - "id", - "name", - "email" - ] + "required": ["id", "name", "email"] }, "ReassignBookingOutput_2024_08_13": { "type": "object", @@ -17984,10 +16420,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "oneOf": [ @@ -18003,10 +16436,7 @@ ] } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "ReassignToUserBookingInput_2024_08_13": { "type": "object", @@ -18040,10 +16470,7 @@ "description": "The link to the calendar" } }, - "required": [ - "label", - "link" - ] + "required": ["label", "link"] }, "CalendarLinksOutput_2024_08_13": { "type": "object", @@ -18061,10 +16488,7 @@ } } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "CreateTeamMembershipInput": { "type": "object", @@ -18079,20 +16503,14 @@ "role": { "type": "string", "default": "MEMBER", - "enum": [ - "MEMBER", - "OWNER", - "ADMIN" - ] + "enum": ["MEMBER", "OWNER", "ADMIN"] }, "disableImpersonation": { "type": "boolean", "default": false } }, - "required": [ - "userId" - ] + "required": ["userId"] }, "TeamMembershipOutput": { "type": "object", @@ -18111,23 +16529,13 @@ }, "role": { "type": "string", - "enum": [ - "MEMBER", - "OWNER", - "ADMIN" - ] + "enum": ["MEMBER", "OWNER", "ADMIN"] }, "disableImpersonation": { "type": "boolean" } }, - "required": [ - "id", - "userId", - "teamId", - "accepted", - "role" - ] + "required": ["id", "userId", "teamId", "accepted", "role"] }, "CreateTeamMembershipOutput": { "type": "object", @@ -18135,19 +16543,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/TeamMembershipOutput" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "GetTeamMembershipOutput": { "type": "object", @@ -18155,19 +16557,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/TeamMembershipOutput" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "GetTeamMembershipsOutput": { "type": "object", @@ -18175,19 +16571,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/TeamMembershipOutput" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "UpdateTeamMembershipInput": { "type": "object", @@ -18197,11 +16587,7 @@ }, "role": { "type": "string", - "enum": [ - "MEMBER", - "OWNER", - "ADMIN" - ] + "enum": ["MEMBER", "OWNER", "ADMIN"] }, "disableImpersonation": { "type": "boolean" @@ -18214,19 +16600,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/TeamMembershipOutput" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "DeleteTeamMembershipOutput": { "type": "object", @@ -18234,19 +16614,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/TeamMembershipOutput" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "ReserveSlotInput_2024_09_04": { "type": "object", @@ -18272,10 +16646,7 @@ "description": "ONLY for authenticated requests with api key, access token or OAuth credentials (ID + secret).\n \n For how many minutes the slot should be reserved - for this long time noone else can book this event type at `start` time. If not provided, defaults to 5 minutes." } }, - "required": [ - "eventTypeId", - "slotStart" - ] + "required": ["eventTypeId", "slotStart"] }, "ReserveSlotOutput_2024_09_04": { "type": "object", @@ -18332,19 +16703,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/ReserveSlotOutput_2024_09_04" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "GetReservedSlotOutput_2024_09_04": { "type": "object", @@ -18352,10 +16717,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "nullable": true, @@ -18366,10 +16728,7 @@ ] } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "UserWebhookOutputDto": { "type": "object", @@ -18401,14 +16760,7 @@ "type": "string" } }, - "required": [ - "payloadTemplate", - "userId", - "id", - "triggers", - "subscriberUrl", - "active" - ] + "required": ["payloadTemplate", "userId", "id", "triggers", "subscriberUrl", "active"] }, "UserWebhookOutputResponseDto": { "type": "object", @@ -18416,19 +16768,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/UserWebhookOutputDto" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "UserWebhooksOutputResponseDto": { "type": "object", @@ -18436,10 +16782,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "type": "array", @@ -18448,10 +16791,7 @@ } } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "EventTypeWebhookOutputDto": { "type": "object", @@ -18483,14 +16823,7 @@ "type": "string" } }, - "required": [ - "payloadTemplate", - "eventTypeId", - "id", - "triggers", - "subscriberUrl", - "active" - ] + "required": ["payloadTemplate", "eventTypeId", "id", "triggers", "subscriberUrl", "active"] }, "EventTypeWebhookOutputResponseDto": { "type": "object", @@ -18498,19 +16831,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/EventTypeWebhookOutputDto" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "EventTypeWebhooksOutputResponseDto": { "type": "object", @@ -18518,10 +16845,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "type": "array", @@ -18530,10 +16854,7 @@ } } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "DeleteManyWebhooksOutputResponseDto": { "type": "object", @@ -18541,19 +16862,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "type": "string" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "OAuthClientWebhookOutputDto": { "type": "object", @@ -18585,14 +16900,7 @@ "type": "string" } }, - "required": [ - "payloadTemplate", - "oAuthClientId", - "id", - "triggers", - "subscriberUrl", - "active" - ] + "required": ["payloadTemplate", "oAuthClientId", "id", "triggers", "subscriberUrl", "active"] }, "OAuthClientWebhookOutputResponseDto": { "type": "object", @@ -18600,19 +16908,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/OAuthClientWebhookOutputDto" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "OAuthClientWebhooksOutputResponseDto": { "type": "object", @@ -18620,10 +16922,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "type": "array", @@ -18632,10 +16931,7 @@ } } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "DestinationCalendarsInputBodyDto": { "type": "object", @@ -18644,11 +16940,7 @@ "type": "string", "example": "apple_calendar", "description": "The calendar service you want to integrate, as returned by the /calendars endpoint", - "enum": [ - "apple_calendar", - "google_calendar", - "office365_calendar" - ] + "enum": ["apple_calendar", "google_calendar", "office365_calendar"] }, "externalId": { "type": "string", @@ -18659,10 +16951,7 @@ "type": "string" } }, - "required": [ - "integration", - "externalId" - ] + "required": ["integration", "externalId"] }, "DestinationCalendarsOutputDto": { "type": "object", @@ -18681,12 +16970,7 @@ "nullable": true } }, - "required": [ - "userId", - "integration", - "externalId", - "credentialId" - ] + "required": ["userId", "integration", "externalId", "credentialId"] }, "DestinationCalendarsOutputResponseDto": { "type": "object", @@ -18694,19 +16978,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/DestinationCalendarsOutputDto" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "ConferencingAppsOutputDto": { "type": "object", @@ -18731,30 +17009,20 @@ "description": "Whether if the connection is working or not." } }, - "required": [ - "id", - "type", - "userId" - ] + "required": ["id", "type", "userId"] }, "ConferencingAppOutputResponseDto": { "type": "object", "properties": { "status": { "type": "string", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/ConferencingAppsOutputDto" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "GetConferencingAppsOauthUrlResponseDto": { "type": "object", @@ -18762,25 +17030,17 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] } }, - "required": [ - "status" - ] + "required": ["status"] }, "ConferencingAppsOutputResponseDto": { "type": "object", "properties": { "status": { "type": "string", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "type": "array", @@ -18789,10 +17049,7 @@ } } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "SetDefaultConferencingAppOutputResponseDto": { "type": "object", @@ -18800,15 +17057,10 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] } }, - "required": [ - "status" - ] + "required": ["status"] }, "DefaultConferencingAppsOutputDto": { "type": "object", @@ -18827,18 +17079,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/DefaultConferencingAppsOutputDto" } }, - "required": [ - "status" - ] + "required": ["status"] }, "DisconnectConferencingAppOutputResponseDto": { "type": "object", @@ -18846,16 +17093,11 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] } }, - "required": [ - "status" - ] + "required": ["status"] } } } -} \ No newline at end of file +}