Skip to content

Scheduling infrastructure for absolutely everyone.

chore: calendars controller v2 docs (#19291)

Morgan0f67faeef31d
diff --git a/apps/api/v2/src/ee/calendars/controllers/calendars.controller.ts b/apps/api/v2/src/ee/calendars/controllers/calendars.controller.ts
index 515aa64d5eb..ba69eddb411 100644
--- a/apps/api/v2/src/ee/calendars/controllers/calendars.controller.ts
+++ b/apps/api/v2/src/ee/calendars/controllers/calendars.controller.ts
@@ -34,7 +34,7 @@ import {
Post,
Body,
} from "@nestjs/common";
-import { ApiOperation, ApiTags as DocsTags } from "@nestjs/swagger";
+import { ApiOperation, ApiParam, ApiTags as DocsTags } from "@nestjs/swagger";
import { User } from "@prisma/client";
import { plainToClass } from "class-transformer";
import { Request } from "express";
@@ -123,10 +123,15 @@ export class CalendarsController {
};
}
+ @ApiParam({
+ enum: [OFFICE_365_CALENDAR, GOOGLE_CALENDAR],
+ type: String,
+ name: "calendar",
+ })
@UseGuards(ApiAuthGuard)
@Get("/:calendar/connect")
@HttpCode(HttpStatus.OK)
- @ApiOperation({ summary: "Get connect URL" })
+ @ApiOperation({ summary: "Get oAuth connect URL" })
async redirect(
@Req() req: Request,
@Headers("Authorization") authorization: string,
@@ -146,10 +151,15 @@ export class CalendarsController {
}
}
+ @ApiParam({
+ enum: [OFFICE_365_CALENDAR, GOOGLE_CALENDAR],
+ type: String,
+ name: "calendar",
+ })
@Get("/:calendar/save")
@HttpCode(HttpStatus.OK)
@Redirect(undefined, 301)
- @ApiOperation({ summary: "Save a calendar" })
+ @ApiOperation({ summary: "Save an oAuth calendar credentials" })
async save(
@Query("state") state: string,
@Query("code") code: string,
@@ -177,6 +187,11 @@ export class CalendarsController {
}
}
+ @ApiParam({
+ enum: [APPLE_CALENDAR],
+ type: String,
+ name: "calendar",
+ })
@UseGuards(ApiAuthGuard)
@Post("/:calendar/credentials")
@ApiOperation({ summary: "Sync credentials" })
@@ -198,6 +213,11 @@ export class CalendarsController {
}
}
+ @ApiParam({
+ enum: [APPLE_CALENDAR, GOOGLE_CALENDAR, OFFICE_365_CALENDAR],
+ type: String,
+ name: "calendar",
+ })
@Get("/:calendar/check")
@HttpCode(HttpStatus.OK)
@UseGuards(ApiAuthGuard, PermissionsGuard)
@@ -219,6 +239,11 @@ export class CalendarsController {
}
}
+ @ApiParam({
+ enum: [APPLE_CALENDAR, GOOGLE_CALENDAR, OFFICE_365_CALENDAR],
+ type: String,
+ name: "calendar",
+ })
@UseGuards(ApiAuthGuard)
@Post("/:calendar/disconnect")
@HttpCode(HttpStatus.OK)
diff --git a/apps/api/v2/swagger/documentation.json b/apps/api/v2/swagger/documentation.json
index cd53b6c371a..2c02d896981 100644
--- a/apps/api/v2/swagger/documentation.json
+++ b/apps/api/v2/swagger/documentation.json
@@ -4063,7 +4063,7 @@
"/v2/calendars/{calendar}/connect": {
"get": {
"operationId": "CalendarsController_redirect",
- "summary": "Get connect URL",
+ "summary": "Get oAuth connect URL",
"parameters": [
{
"name": "Authorization",
@@ -4078,6 +4078,10 @@
"required": true,
"in": "path",
"schema": {
+ "enum": [
+ "office365",
+ "google"
+ ],
"type": "string"
}
}
@@ -4102,7 +4106,7 @@
"/v2/calendars/{calendar}/save": {
"get": {
"operationId": "CalendarsController_save",
- "summary": "Save a calendar",
+ "summary": "Save an oAuth calendar credentials",
"parameters": [
{
"name": "state",
@@ -4125,6 +4129,10 @@
"required": true,
"in": "path",
"schema": {
+ "enum": [
+ "office365",
+ "google"
+ ],
"type": "string"
}
}
@@ -4149,6 +4157,9 @@
"required": true,
"in": "path",
"schema": {
+ "enum": [
+ "apple"
+ ],
"type": "string"
}
}
@@ -4173,6 +4184,11 @@
"required": true,
"in": "path",
"schema": {
+ "enum": [
+ "apple",
+ "google",
+ "office365"
+ ],
"type": "string"
}
}
@@ -4204,6 +4220,11 @@
"required": true,
"in": "path",
"schema": {
+ "enum": [
+ "apple",
+ "google",
+ "office365"
+ ],
"type": "string"
}
}
@@ -12698,8 +12719,7 @@
}
},
"required": [
- "callId",
- "agentId"
+ "callId"
]
},
"CreatePhoneCallOutput": {
diff --git a/docs/api-reference/v2/openapi.json b/docs/api-reference/v2/openapi.json
index 85ec2d01e8f..d8914e06c77 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": {
@@ -99,9 +95,7 @@
}
}
},
- "tags": [
- "Platform / Managed Users"
- ]
+ "tags": ["Platform / Managed Users"]
},
"post": {
"operationId": "OAuthClientUsersController_createUser",
@@ -138,9 +132,7 @@
}
}
},
- "tags": [
- "Platform / Managed Users"
- ]
+ "tags": ["Platform / Managed Users"]
}
},
"/v2/oauth-clients/{clientId}/users/{userId}": {
@@ -177,9 +169,7 @@
}
}
},
- "tags": [
- "Platform / Managed Users"
- ]
+ "tags": ["Platform / Managed Users"]
},
"patch": {
"operationId": "OAuthClientUsersController_updateUser",
@@ -224,9 +214,7 @@
}
}
},
- "tags": [
- "Platform / Managed Users"
- ]
+ "tags": ["Platform / Managed Users"]
},
"delete": {
"operationId": "OAuthClientUsersController_deleteUser",
@@ -261,9 +249,7 @@
}
}
},
- "tags": [
- "Platform / Managed Users"
- ]
+ "tags": ["Platform / Managed Users"]
}
},
"/v2/oauth-clients/{clientId}/users/{userId}/force-refresh": {
@@ -301,9 +287,7 @@
}
}
},
- "tags": [
- "Platform / Managed Users"
- ]
+ "tags": ["Platform / Managed Users"]
}
},
"/v2/oauth/{clientId}/refresh": {
@@ -352,9 +336,7 @@
}
}
},
- "tags": [
- "Platform / Managed Users"
- ]
+ "tags": ["Platform / Managed Users"]
}
},
"/v2/oauth-clients/{clientId}/webhooks": {
@@ -393,9 +375,7 @@
}
}
},
- "tags": [
- "Platform / Webhooks"
- ]
+ "tags": ["Platform / Webhooks"]
},
"get": {
"operationId": "OAuthClientWebhooksController_getOAuthClientWebhooks",
@@ -442,9 +422,7 @@
}
}
},
- "tags": [
- "Platform / Webhooks"
- ]
+ "tags": ["Platform / Webhooks"]
},
"delete": {
"operationId": "OAuthClientWebhooksController_deleteAllOAuthClientWebhooks",
@@ -471,9 +449,7 @@
}
}
},
- "tags": [
- "Platform / Webhooks"
- ]
+ "tags": ["Platform / Webhooks"]
}
},
"/v2/oauth-clients/{clientId}/webhooks/{webhookId}": {
@@ -512,9 +488,7 @@
}
}
},
- "tags": [
- "Platform / Webhooks"
- ]
+ "tags": ["Platform / Webhooks"]
},
"get": {
"operationId": "OAuthClientWebhooksController_getOAuthClientWebhook",
@@ -532,9 +506,7 @@
}
}
},
- "tags": [
- "Platform / Webhooks"
- ]
+ "tags": ["Platform / Webhooks"]
},
"delete": {
"operationId": "OAuthClientWebhooksController_deleteOAuthClientWebhook",
@@ -552,9 +524,7 @@
}
}
},
- "tags": [
- "Platform / Webhooks"
- ]
+ "tags": ["Platform / Webhooks"]
}
},
"/v2/organizations/{orgId}/attributes": {
@@ -603,9 +573,7 @@
}
}
},
- "tags": [
- "Orgs / Attributes"
- ]
+ "tags": ["Orgs / Attributes"]
},
"post": {
"operationId": "OrganizationsAttributesController_createOrganizationAttribute",
@@ -642,9 +610,7 @@
}
}
},
- "tags": [
- "Orgs / Attributes"
- ]
+ "tags": ["Orgs / Attributes"]
}
},
"/v2/organizations/{orgId}/attributes/{attributeId}": {
@@ -681,9 +647,7 @@
}
}
},
- "tags": [
- "Orgs / Attributes"
- ]
+ "tags": ["Orgs / Attributes"]
},
"patch": {
"operationId": "OrganizationsAttributesController_updateOrganizationAttribute",
@@ -728,9 +692,7 @@
}
}
},
- "tags": [
- "Orgs / Attributes"
- ]
+ "tags": ["Orgs / Attributes"]
},
"delete": {
"operationId": "OrganizationsAttributesController_deleteOrganizationAttribute",
@@ -765,9 +727,7 @@
}
}
},
- "tags": [
- "Orgs / Attributes"
- ]
+ "tags": ["Orgs / Attributes"]
}
},
"/v2/organizations/{orgId}/attributes/{attributeId}/options": {
@@ -814,9 +774,7 @@
}
}
},
- "tags": [
- "Orgs / Attributes / Options"
- ]
+ "tags": ["Orgs / Attributes / Options"]
},
"get": {
"operationId": "OrganizationsOptionsAttributesController_getOrganizationAttributeOptions",
@@ -851,9 +809,7 @@
}
}
},
- "tags": [
- "Orgs / Attributes / Options"
- ]
+ "tags": ["Orgs / Attributes / Options"]
}
},
"/v2/organizations/{orgId}/attributes/{attributeId}/options/{optionId}": {
@@ -898,9 +854,7 @@
}
}
},
- "tags": [
- "Orgs / Attributes / Options"
- ]
+ "tags": ["Orgs / Attributes / Options"]
},
"patch": {
"operationId": "OrganizationsOptionsAttributesController_updateOrganizationAttributeOption",
@@ -953,9 +907,7 @@
}
}
},
- "tags": [
- "Orgs / Attributes / Options"
- ]
+ "tags": ["Orgs / Attributes / Options"]
}
},
"/v2/organizations/{orgId}/attributes/options/{userId}": {
@@ -1002,9 +954,7 @@
}
}
},
- "tags": [
- "Orgs / Attributes / Options"
- ]
+ "tags": ["Orgs / Attributes / Options"]
},
"get": {
"operationId": "OrganizationsOptionsAttributesController_getOrganizationAttributeOptionsForUser",
@@ -1039,9 +989,7 @@
}
}
},
- "tags": [
- "Orgs / Attributes / Options"
- ]
+ "tags": ["Orgs / Attributes / Options"]
}
},
"/v2/organizations/{orgId}/attributes/options/{userId}/{attributeOptionId}": {
@@ -1086,9 +1034,7 @@
}
}
},
- "tags": [
- "Orgs / Attributes / Options"
- ]
+ "tags": ["Orgs / Attributes / Options"]
}
},
"/v2/organizations/{orgId}/teams/{teamId}/event-types": {
@@ -1135,9 +1081,7 @@
}
}
},
- "tags": [
- "Orgs / Event Types"
- ]
+ "tags": ["Orgs / Event Types"]
},
"get": {
"operationId": "OrganizationsEventTypesController_getTeamEventTypes",
@@ -1182,9 +1126,7 @@
}
}
},
- "tags": [
- "Orgs / Event Types"
- ]
+ "tags": ["Orgs / Event Types"]
}
},
"/v2/organizations/{orgId}/teams/{teamId}/event-types/{eventTypeId}": {
@@ -1221,9 +1163,7 @@
}
}
},
- "tags": [
- "Orgs / Event Types"
- ]
+ "tags": ["Orgs / Event Types"]
},
"patch": {
"operationId": "OrganizationsEventTypesController_updateTeamEventType",
@@ -1268,9 +1208,7 @@
}
}
},
- "tags": [
- "Orgs / Event Types"
- ]
+ "tags": ["Orgs / Event Types"]
},
"delete": {
"operationId": "OrganizationsEventTypesController_deleteTeamEventType",
@@ -1305,9 +1243,7 @@
}
}
},
- "tags": [
- "Orgs / Event Types"
- ]
+ "tags": ["Orgs / Event Types"]
}
},
"/v2/organizations/{orgId}/teams/{teamId}/event-types/{eventTypeId}/create-phone-call": {
@@ -1354,9 +1290,7 @@
}
}
},
- "tags": [
- "Orgs / Event Types"
- ]
+ "tags": ["Orgs / Event Types"]
}
},
"/v2/organizations/{orgId}/teams/event-types": {
@@ -1405,9 +1339,7 @@
}
}
},
- "tags": [
- "Orgs / Event Types"
- ]
+ "tags": ["Orgs / Event Types"]
}
},
"/v2/organizations/{orgId}/memberships": {
@@ -1456,9 +1388,7 @@
}
}
},
- "tags": [
- "Orgs / Memberships"
- ]
+ "tags": ["Orgs / Memberships"]
},
"post": {
"operationId": "OrganizationsMembershipsController_createMembership",
@@ -1495,9 +1425,7 @@
}
}
},
- "tags": [
- "Orgs / Memberships"
- ]
+ "tags": ["Orgs / Memberships"]
}
},
"/v2/organizations/{orgId}/memberships/{membershipId}": {
@@ -1534,9 +1462,7 @@
}
}
},
- "tags": [
- "Orgs / Memberships"
- ]
+ "tags": ["Orgs / Memberships"]
},
"delete": {
"operationId": "OrganizationsMembershipsController_deleteMembership",
@@ -1571,9 +1497,7 @@
}
}
},
- "tags": [
- "Orgs / Memberships"
- ]
+ "tags": ["Orgs / Memberships"]
},
"patch": {
"operationId": "OrganizationsMembershipsController_updateMembership",
@@ -1618,9 +1542,7 @@
}
}
},
- "tags": [
- "Orgs / Memberships"
- ]
+ "tags": ["Orgs / Memberships"]
}
},
"/v2/organizations/{orgId}/schedules": {
@@ -1669,9 +1591,7 @@
}
}
},
- "tags": [
- "Orgs / Schedules"
- ]
+ "tags": ["Orgs / Schedules"]
}
},
"/v2/organizations/{orgId}/users/{userId}/schedules": {
@@ -1710,10 +1630,7 @@
}
}
},
- "tags": [
- "Orgs / Schedules",
- "Orgs / Users / Schedules"
- ]
+ "tags": ["Orgs / Schedules", "Orgs / Users / Schedules"]
},
"get": {
"operationId": "OrganizationsSchedulesController_getUserSchedules",
@@ -1740,10 +1657,7 @@
}
}
},
- "tags": [
- "Orgs / Schedules",
- "Orgs / Users / Schedules"
- ]
+ "tags": ["Orgs / Schedules", "Orgs / Users / Schedules"]
}
},
"/v2/organizations/{orgId}/users/{userId}/schedules/{scheduleId}": {
@@ -1780,10 +1694,7 @@
}
}
},
- "tags": [
- "Orgs / Schedules",
- "Orgs / Users / Schedules"
- ]
+ "tags": ["Orgs / Schedules", "Orgs / Users / Schedules"]
},
"patch": {
"operationId": "OrganizationsSchedulesController_updateUserSchedule",
@@ -1828,10 +1739,7 @@
}
}
},
- "tags": [
- "Orgs / Schedules",
- "Orgs / Users / Schedules"
- ]
+ "tags": ["Orgs / Schedules", "Orgs / Users / Schedules"]
},
"delete": {
"operationId": "OrganizationsSchedulesController_deleteUserSchedule",
@@ -1866,10 +1774,7 @@
}
}
},
- "tags": [
- "Orgs / Schedules",
- "Orgs / Users / Schedules"
- ]
+ "tags": ["Orgs / Schedules", "Orgs / Users / Schedules"]
}
},
"/v2/organizations/{orgId}/teams": {
@@ -1918,10 +1823,7 @@
}
}
},
- "tags": [
- "Orgs / Teams",
- "Teams"
- ]
+ "tags": ["Orgs / Teams", "Teams"]
},
"post": {
"operationId": "OrganizationsTeamsController_createTeam",
@@ -1966,9 +1868,7 @@
}
}
},
- "tags": [
- "Orgs / Teams"
- ]
+ "tags": ["Orgs / Teams"]
}
},
"/v2/organizations/{orgId}/teams/me": {
@@ -2017,9 +1917,7 @@
}
}
},
- "tags": [
- "Orgs / Teams"
- ]
+ "tags": ["Orgs / Teams"]
}
},
"/v2/organizations/{orgId}/teams/{teamId}": {
@@ -2039,9 +1937,7 @@
}
}
},
- "tags": [
- "Orgs / Teams"
- ]
+ "tags": ["Orgs / Teams"]
},
"delete": {
"operationId": "OrganizationsTeamsController_deleteTeam",
@@ -2076,9 +1972,7 @@
}
}
},
- "tags": [
- "Orgs / Teams"
- ]
+ "tags": ["Orgs / Teams"]
},
"patch": {
"operationId": "OrganizationsTeamsController_updateTeam",
@@ -2123,9 +2017,7 @@
}
}
},
- "tags": [
- "Orgs / Teams"
- ]
+ "tags": ["Orgs / Teams"]
}
},
"/v2/organizations/{orgId}/teams/{teamId}/bookings": {
@@ -2143,13 +2035,7 @@
"type": "array",
"items": {
"type": "string",
- "enum": [
- "upcoming",
- "recurring",
- "past",
- "cancelled",
- "unconfirmed"
- ]
+ "enum": ["upcoming", "recurring", "past", "cancelled", "unconfirmed"]
}
}
},
@@ -2220,10 +2106,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"
}
},
@@ -2234,10 +2117,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"
}
},
@@ -2248,10 +2128,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"
}
},
@@ -2299,9 +2176,7 @@
}
}
},
- "tags": [
- "Orgs / Teams / Bookings"
- ]
+ "tags": ["Orgs / Teams / Bookings"]
}
},
"/v2/organizations/{orgId}/teams/{teamId}/memberships": {
@@ -2358,9 +2233,7 @@
}
}
},
- "tags": [
- "Orgs / Teams / Memberships"
- ]
+ "tags": ["Orgs / Teams / Memberships"]
},
"post": {
"operationId": "OrganizationsTeamsMembershipsController_createOrgTeamMembership",
@@ -2405,9 +2278,7 @@
}
}
},
- "tags": [
- "Orgs / Teams / Memberships"
- ]
+ "tags": ["Orgs / Teams / Memberships"]
}
},
"/v2/organizations/{orgId}/teams/{teamId}/memberships/{membershipId}": {
@@ -2452,9 +2323,7 @@
}
}
},
- "tags": [
- "Orgs / Teams / Memberships"
- ]
+ "tags": ["Orgs / Teams / Memberships"]
},
"delete": {
"operationId": "OrganizationsTeamsMembershipsController_deleteOrgTeamMembership",
@@ -2497,9 +2366,7 @@
}
}
},
- "tags": [
- "Orgs / Teams / Memberships"
- ]
+ "tags": ["Orgs / Teams / Memberships"]
},
"patch": {
"operationId": "OrganizationsTeamsMembershipsController_updateOrgTeamMembership",
@@ -2552,9 +2419,7 @@
}
}
},
- "tags": [
- "Orgs / Teams / Memberships"
- ]
+ "tags": ["Orgs / Teams / Memberships"]
}
},
"/v2/organizations/{orgId}/teams/{teamId}/users/{userId}/schedules": {
@@ -2583,10 +2448,7 @@
}
}
},
- "tags": [
- "Orgs / Teams / Schedules",
- "Orgs / Teams / Users / Schedules"
- ]
+ "tags": ["Orgs / Teams / Schedules", "Orgs / Teams / Users / Schedules"]
}
},
"/v2/organizations/{orgId}/users": {
@@ -2650,9 +2512,7 @@
}
}
},
- "tags": [
- "Orgs / Users"
- ]
+ "tags": ["Orgs / Users"]
},
"post": {
"operationId": "OrganizationsUsersController_createOrganizationUser",
@@ -2689,9 +2549,7 @@
}
}
},
- "tags": [
- "Orgs / Users"
- ]
+ "tags": ["Orgs / Users"]
}
},
"/v2/organizations/{orgId}/users/{userId}": {
@@ -2738,9 +2596,7 @@
}
}
},
- "tags": [
- "Orgs / Users"
- ]
+ "tags": ["Orgs / Users"]
},
"delete": {
"operationId": "OrganizationsUsersController_deleteOrganizationUser",
@@ -2775,9 +2631,7 @@
}
}
},
- "tags": [
- "Orgs / Users"
- ]
+ "tags": ["Orgs / Users"]
}
},
"/v2/organizations/{orgId}/users/{userId}/ooo": {
@@ -2820,10 +2674,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"
}
},
@@ -2834,10 +2685,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"
}
}
@@ -2847,9 +2695,7 @@
"description": ""
}
},
- "tags": [
- "Orgs / Users / OOO"
- ]
+ "tags": ["Orgs / Users / OOO"]
},
"post": {
"operationId": "OrganizationsUsersOOOController_createOrganizationUserOOO",
@@ -2879,9 +2725,7 @@
"description": ""
}
},
- "tags": [
- "Orgs / Users / OOO"
- ]
+ "tags": ["Orgs / Users / OOO"]
}
},
"/v2/organizations/{orgId}/users/{userId}/ooo/{oooId}": {
@@ -2921,9 +2765,7 @@
"description": ""
}
},
- "tags": [
- "Orgs / Users / OOO"
- ]
+ "tags": ["Orgs / Users / OOO"]
},
"delete": {
"operationId": "OrganizationsUsersOOOController_deleteOrganizationUserOOO",
@@ -2943,9 +2785,7 @@
"description": ""
}
},
- "tags": [
- "Orgs / Users / OOO"
- ]
+ "tags": ["Orgs / Users / OOO"]
}
},
"/v2/organizations/{orgId}/ooo": {
@@ -2988,10 +2828,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"
}
},
@@ -3002,10 +2839,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"
}
},
@@ -3025,9 +2859,7 @@
"description": ""
}
},
- "tags": [
- "Orgs / Users / OOO"
- ]
+ "tags": ["Orgs / Users / OOO"]
}
},
"/v2/organizations/{orgId}/webhooks": {
@@ -3076,9 +2908,7 @@
}
}
},
- "tags": [
- "Orgs / Webhooks"
- ]
+ "tags": ["Orgs / Webhooks"]
},
"post": {
"operationId": "OrganizationsWebhooksController_createOrganizationWebhook",
@@ -3115,9 +2945,7 @@
}
}
},
- "tags": [
- "Orgs / Webhooks"
- ]
+ "tags": ["Orgs / Webhooks"]
}
},
"/v2/organizations/{orgId}/webhooks/{webhookId}": {
@@ -3146,9 +2974,7 @@
}
}
},
- "tags": [
- "Orgs / Webhooks"
- ]
+ "tags": ["Orgs / Webhooks"]
},
"delete": {
"operationId": "OrganizationsWebhooksController_deleteWebhook",
@@ -3175,9 +3001,7 @@
}
}
},
- "tags": [
- "Orgs / Webhooks"
- ]
+ "tags": ["Orgs / Webhooks"]
},
"patch": {
"operationId": "OrganizationsWebhooksController_updateOrgWebhook",
@@ -3214,9 +3038,7 @@
}
}
},
- "tags": [
- "Orgs / Webhooks"
- ]
+ "tags": ["Orgs / Webhooks"]
}
},
"/v2/bookings": {
@@ -3268,9 +3090,7 @@
}
}
},
- "tags": [
- "Bookings"
- ]
+ "tags": ["Bookings"]
},
"get": {
"operationId": "BookingsController_2024_08_13_getBookings",
@@ -3295,13 +3115,7 @@
"type": "array",
"items": {
"type": "string",
- "enum": [
- "upcoming",
- "recurring",
- "past",
- "cancelled",
- "unconfirmed"
- ]
+ "enum": ["upcoming", "recurring", "past", "cancelled", "unconfirmed"]
}
}
},
@@ -3412,10 +3226,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"
}
},
@@ -3426,10 +3237,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"
}
},
@@ -3440,10 +3248,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"
}
},
@@ -3454,10 +3259,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"
}
},
@@ -3503,9 +3305,7 @@
}
}
},
- "tags": [
- "Bookings"
- ]
+ "tags": ["Bookings"]
}
},
"/v2/bookings/{bookingUid}": {
@@ -3544,9 +3344,7 @@
}
}
},
- "tags": [
- "Bookings"
- ]
+ "tags": ["Bookings"]
}
},
"/v2/bookings/{bookingUid}/reschedule": {
@@ -3585,9 +3383,7 @@
}
}
},
- "tags": [
- "Bookings"
- ]
+ "tags": ["Bookings"]
}
},
"/v2/bookings/{bookingUid}/cancel": {
@@ -3626,9 +3422,7 @@
}
}
},
- "tags": [
- "Bookings"
- ]
+ "tags": ["Bookings"]
}
},
"/v2/bookings/{bookingUid}/mark-absent": {
@@ -3685,9 +3479,7 @@
}
}
},
- "tags": [
- "Bookings"
- ]
+ "tags": ["Bookings"]
}
},
"/v2/bookings/{bookingUid}/reassign": {
@@ -3734,9 +3526,7 @@
}
}
},
- "tags": [
- "Bookings"
- ]
+ "tags": ["Bookings"]
}
},
"/v2/bookings/{bookingUid}/reassign/{userId}": {
@@ -3801,9 +3591,7 @@
}
}
},
- "tags": [
- "Bookings"
- ]
+ "tags": ["Bookings"]
}
},
"/v2/bookings/{bookingUid}/confirm": {
@@ -3850,9 +3638,7 @@
}
}
},
- "tags": [
- "Bookings"
- ]
+ "tags": ["Bookings"]
}
},
"/v2/bookings/{bookingUid}/decline": {
@@ -3909,9 +3695,7 @@
}
}
},
- "tags": [
- "Bookings"
- ]
+ "tags": ["Bookings"]
}
},
"/v2/calendars/ics-feed/save": {
@@ -3941,9 +3725,7 @@
}
}
},
- "tags": [
- "Calendars"
- ]
+ "tags": ["Calendars"]
}
},
"/v2/calendars/ics-feed/check": {
@@ -3963,9 +3745,7 @@
}
}
},
- "tags": [
- "Calendars"
- ]
+ "tags": ["Calendars"]
}
},
"/v2/calendars/busy-times": {
@@ -4033,9 +3813,7 @@
}
}
},
- "tags": [
- "Calendars"
- ]
+ "tags": ["Calendars"]
}
},
"/v2/calendars": {
@@ -4055,15 +3833,13 @@
}
}
},
- "tags": [
- "Calendars"
- ]
+ "tags": ["Calendars"]
}
},
"/v2/calendars/{calendar}/connect": {
"get": {
"operationId": "CalendarsController_redirect",
- "summary": "Get connect URL",
+ "summary": "Get oAuth connect URL",
"parameters": [
{
"name": "Authorization",
@@ -4078,6 +3854,7 @@
"required": true,
"in": "path",
"schema": {
+ "enum": ["office365", "google"],
"type": "string"
}
}
@@ -4094,15 +3871,13 @@
}
}
},
- "tags": [
- "Calendars"
- ]
+ "tags": ["Calendars"]
}
},
"/v2/calendars/{calendar}/save": {
"get": {
"operationId": "CalendarsController_save",
- "summary": "Save a calendar",
+ "summary": "Save an oAuth calendar credentials",
"parameters": [
{
"name": "state",
@@ -4125,6 +3900,7 @@
"required": true,
"in": "path",
"schema": {
+ "enum": ["office365", "google"],
"type": "string"
}
}
@@ -4134,9 +3910,7 @@
"description": ""
}
},
- "tags": [
- "Calendars"
- ]
+ "tags": ["Calendars"]
}
},
"/v2/calendars/{calendar}/credentials": {
@@ -4149,6 +3923,7 @@
"required": true,
"in": "path",
"schema": {
+ "enum": ["apple"],
"type": "string"
}
}
@@ -4158,9 +3933,7 @@
"description": ""
}
},
- "tags": [
- "Calendars"
- ]
+ "tags": ["Calendars"]
}
},
"/v2/calendars/{calendar}/check": {
@@ -4173,6 +3946,7 @@
"required": true,
"in": "path",
"schema": {
+ "enum": ["apple", "google", "office365"],
"type": "string"
}
}
@@ -4189,9 +3963,7 @@
}
}
},
- "tags": [
- "Calendars"
- ]
+ "tags": ["Calendars"]
}
},
"/v2/calendars/{calendar}/disconnect": {
@@ -4204,6 +3976,7 @@
"required": true,
"in": "path",
"schema": {
+ "enum": ["apple", "google", "office365"],
"type": "string"
}
}
@@ -4230,9 +4003,7 @@
}
}
},
- "tags": [
- "Calendars"
- ]
+ "tags": ["Calendars"]
}
},
"/v2/conferencing/{app}/connect": {
@@ -4261,9 +4032,7 @@
}
}
},
- "tags": [
- "Conferencing"
- ]
+ "tags": ["Conferencing"]
}
},
"/v2/conferencing/{app}/oauth/auth-url": {
@@ -4316,9 +4085,7 @@
}
}
},
- "tags": [
- "Conferencing"
- ]
+ "tags": ["Conferencing"]
}
},
"/v2/conferencing/{app}/oauth/callback": {
@@ -4356,9 +4123,7 @@
"description": ""
}
},
- "tags": [
- "Conferencing"
- ]
+ "tags": ["Conferencing"]
}
},
"/v2/conferencing": {
@@ -4378,9 +4143,7 @@
}
}
},
- "tags": [
- "Conferencing"
- ]
+ "tags": ["Conferencing"]
}
},
"/v2/conferencing/{app}/default": {
@@ -4409,9 +4172,7 @@
}
}
},
- "tags": [
- "Conferencing"
- ]
+ "tags": ["Conferencing"]
}
},
"/v2/conferencing/default": {
@@ -4431,9 +4192,7 @@
}
}
},
- "tags": [
- "Conferencing"
- ]
+ "tags": ["Conferencing"]
}
},
"/v2/conferencing/{app}/disconnect": {
@@ -4462,9 +4221,7 @@
}
}
},
- "tags": [
- "Conferencing"
- ]
+ "tags": ["Conferencing"]
}
},
"/v2/destination-calendars": {
@@ -4494,9 +4251,7 @@
}
}
},
- "tags": [
- "Destination Calendars"
- ]
+ "tags": ["Destination Calendars"]
}
},
"/v2/event-types": {
@@ -4545,9 +4300,7 @@
}
}
},
- "tags": [
- "Event Types"
- ]
+ "tags": ["Event Types"]
},
"get": {
"operationId": "EventTypesController_2024_06_14_getEventTypes",
@@ -4620,9 +4373,7 @@
}
}
},
- "tags": [
- "Event Types"
- ]
+ "tags": ["Event Types"]
}
},
"/v2/event-types/{eventTypeId}": {
@@ -4669,9 +4420,7 @@
}
}
},
- "tags": [
- "Event Types"
- ]
+ "tags": ["Event Types"]
},
"patch": {
"operationId": "EventTypesController_2024_06_14_updateEventType",
@@ -4726,9 +4475,7 @@
}
}
},
- "tags": [
- "Event Types"
- ]
+ "tags": ["Event Types"]
},
"delete": {
"operationId": "EventTypesController_2024_06_14_deleteEventType",
@@ -4773,9 +4520,7 @@
}
}
},
- "tags": [
- "Event Types"
- ]
+ "tags": ["Event Types"]
}
},
"/v2/event-types/{eventTypeId}/webhooks": {
@@ -4814,9 +4559,7 @@
}
}
},
- "tags": [
- "Event Types / Webhooks"
- ]
+ "tags": ["Event Types / Webhooks"]
},
"get": {
"operationId": "EventTypeWebhooksController_getEventTypeWebhooks",
@@ -4863,9 +4606,7 @@
}
}
},
- "tags": [
- "Event Types / Webhooks"
- ]
+ "tags": ["Event Types / Webhooks"]
},
"delete": {
"operationId": "EventTypeWebhooksController_deleteAllEventTypeWebhooks",
@@ -4892,9 +4633,7 @@
}
}
},
- "tags": [
- "Event Types / Webhooks"
- ]
+ "tags": ["Event Types / Webhooks"]
}
},
"/v2/event-types/{eventTypeId}/webhooks/{webhookId}": {
@@ -4933,9 +4672,7 @@
}
}
},
- "tags": [
- "Event Types / Webhooks"
- ]
+ "tags": ["Event Types / Webhooks"]
},
"get": {
"operationId": "EventTypeWebhooksController_getEventTypeWebhook",
@@ -4953,9 +4690,7 @@
}
}
},
- "tags": [
- "Event Types / Webhooks"
- ]
+ "tags": ["Event Types / Webhooks"]
},
"delete": {
"operationId": "EventTypeWebhooksController_deleteEventTypeWebhook",
@@ -4973,9 +4708,7 @@
}
}
},
- "tags": [
- "Event Types / Webhooks"
- ]
+ "tags": ["Event Types / Webhooks"]
}
},
"/v2/me": {
@@ -4995,9 +4728,7 @@
}
}
},
- "tags": [
- "Me"
- ]
+ "tags": ["Me"]
},
"patch": {
"operationId": "MeController_updateMe",
@@ -5025,9 +4756,7 @@
}
}
},
- "tags": [
- "Me"
- ]
+ "tags": ["Me"]
}
},
"/v2/schedules": {
@@ -5077,9 +4806,7 @@
}
}
},
- "tags": [
- "Schedules"
- ]
+ "tags": ["Schedules"]
},
"get": {
"operationId": "SchedulesController_2024_06_11_getSchedules",
@@ -5117,9 +4844,7 @@
}
}
},
- "tags": [
- "Schedules"
- ]
+ "tags": ["Schedules"]
}
},
"/v2/schedules/default": {
@@ -5159,9 +4884,7 @@
}
}
},
- "tags": [
- "Schedules"
- ]
+ "tags": ["Schedules"]
}
},
"/v2/schedules/{scheduleId}": {
@@ -5208,9 +4931,7 @@
}
}
},
- "tags": [
- "Schedules"
- ]
+ "tags": ["Schedules"]
},
"patch": {
"operationId": "SchedulesController_2024_06_11_updateSchedule",
@@ -5265,9 +4986,7 @@
}
}
},
- "tags": [
- "Schedules"
- ]
+ "tags": ["Schedules"]
},
"delete": {
"operationId": "SchedulesController_2024_06_11_deleteSchedule",
@@ -5312,9 +5031,7 @@
}
}
},
- "tags": [
- "Schedules"
- ]
+ "tags": ["Schedules"]
}
},
"/v2/selected-calendars": {
@@ -5344,9 +5061,7 @@
}
}
},
- "tags": [
- "Selected Calendars"
- ]
+ "tags": ["Selected Calendars"]
},
"delete": {
"operationId": "SelectedCalendarsController_removeSelectedCalendar",
@@ -5389,9 +5104,7 @@
}
}
},
- "tags": [
- "Selected Calendars"
- ]
+ "tags": ["Selected Calendars"]
}
},
"/v2/slots": {
@@ -5569,9 +5282,7 @@
}
}
},
- "tags": [
- "Slots"
- ]
+ "tags": ["Slots"]
}
},
"/v2/slots/reservations": {
@@ -5612,9 +5323,7 @@
}
}
},
- "tags": [
- "Slots"
- ]
+ "tags": ["Slots"]
}
},
"/v2/slots/reservations/{uid}": {
@@ -5652,9 +5361,7 @@
}
}
},
- "tags": [
- "Slots"
- ]
+ "tags": ["Slots"]
},
"patch": {
"operationId": "SlotsController_2024_09_04_updateReservedSlot",
@@ -5700,9 +5407,7 @@
}
}
},
- "tags": [
- "Slots"
- ]
+ "tags": ["Slots"]
},
"delete": {
"operationId": "SlotsController_2024_09_04_deleteReservedSlot",
@@ -5740,9 +5445,7 @@
}
}
},
- "tags": [
- "Slots"
- ]
+ "tags": ["Slots"]
}
},
"/v2/stripe/connect": {
@@ -5771,9 +5474,7 @@
}
}
},
- "tags": [
- "Stripe"
- ]
+ "tags": ["Stripe"]
}
},
"/v2/stripe/save": {
@@ -5810,9 +5511,7 @@
}
}
},
- "tags": [
- "Stripe"
- ]
+ "tags": ["Stripe"]
}
},
"/v2/stripe/check": {
@@ -5832,9 +5531,7 @@
}
}
},
- "tags": [
- "Stripe"
- ]
+ "tags": ["Stripe"]
}
},
"/v2/stripe/check/{teamId}": {
@@ -5863,9 +5560,7 @@
}
}
},
- "tags": [
- "Stripe"
- ]
+ "tags": ["Stripe"]
}
},
"/v2/teams": {
@@ -5895,9 +5590,7 @@
}
}
},
- "tags": [
- "Teams"
- ]
+ "tags": ["Teams"]
},
"get": {
"operationId": "TeamsController_getTeams",
@@ -5915,9 +5608,7 @@
}
}
},
- "tags": [
- "Teams"
- ]
+ "tags": ["Teams"]
}
},
"/v2/teams/{teamId}": {
@@ -5946,9 +5637,7 @@
}
}
},
- "tags": [
- "Teams"
- ]
+ "tags": ["Teams"]
},
"patch": {
"operationId": "TeamsController_updateTeam",
@@ -5985,9 +5674,7 @@
}
}
},
- "tags": [
- "Teams"
- ]
+ "tags": ["Teams"]
},
"delete": {
"operationId": "TeamsController_deleteTeam",
@@ -6014,9 +5701,7 @@
}
}
},
- "tags": [
- "Teams"
- ]
+ "tags": ["Teams"]
}
},
"/v2/teams/{teamId}/event-types": {
@@ -6055,9 +5740,7 @@
}
}
},
- "tags": [
- "Teams / Event Types"
- ]
+ "tags": ["Teams / Event Types"]
},
"get": {
"operationId": "TeamsEventTypesController_getTeamEventTypes",
@@ -6102,9 +5785,7 @@
}
}
},
- "tags": [
- "Teams / Event Types"
- ]
+ "tags": ["Teams / Event Types"]
}
},
"/v2/teams/{teamId}/event-types/{eventTypeId}": {
@@ -6141,9 +5822,7 @@
}
}
},
- "tags": [
- "Teams / Event Types"
- ]
+ "tags": ["Teams / Event Types"]
},
"patch": {
"operationId": "TeamsEventTypesController_updateTeamEventType",
@@ -6188,9 +5867,7 @@
}
}
},
- "tags": [
- "Teams / Event Types"
- ]
+ "tags": ["Teams / Event Types"]
},
"delete": {
"operationId": "TeamsEventTypesController_deleteTeamEventType",
@@ -6225,9 +5902,7 @@
}
}
},
- "tags": [
- "Teams / Event Types"
- ]
+ "tags": ["Teams / Event Types"]
}
},
"/v2/teams/{teamId}/event-types/{eventTypeId}/create-phone-call": {
@@ -6274,9 +5949,7 @@
}
}
},
- "tags": [
- "Teams / Event Types"
- ]
+ "tags": ["Teams / Event Types"]
}
},
"/v2/teams/{teamId}/memberships": {
@@ -6315,9 +5988,7 @@
}
}
},
- "tags": [
- "Teams / Memberships"
- ]
+ "tags": ["Teams / Memberships"]
},
"get": {
"operationId": "TeamsMembershipsController_getTeamMemberships",
@@ -6364,9 +6035,7 @@
}
}
},
- "tags": [
- "Teams / Memberships"
- ]
+ "tags": ["Teams / Memberships"]
}
},
"/v2/teams/{teamId}/memberships/{membershipId}": {
@@ -6403,9 +6072,7 @@
}
}
},
- "tags": [
- "Teams / Memberships"
- ]
+ "tags": ["Teams / Memberships"]
},
"patch": {
"operationId": "TeamsMembershipsController_updateTeamMembership",
@@ -6450,9 +6117,7 @@
}
}
},
- "tags": [
- "Teams / Memberships"
- ]
+ "tags": ["Teams / Memberships"]
},
"delete": {
"operationId": "TeamsMembershipsController_deleteTeamMembership",
@@ -6487,9 +6152,7 @@
}
}
},
- "tags": [
- "Teams / Memberships"
- ]
+ "tags": ["Teams / Memberships"]
}
},
"/v2/timezones": {
@@ -6509,9 +6172,7 @@
}
}
},
- "tags": [
- "Timezones"
- ]
+ "tags": ["Timezones"]
}
},
"/v2/webhooks": {
@@ -6541,9 +6202,7 @@
}
}
},
- "tags": [
- "Webhooks"
- ]
+ "tags": ["Webhooks"]
},
"get": {
"operationId": "WebhooksController_getWebhooks",
@@ -6583,9 +6242,7 @@
}
}
},
- "tags": [
- "Webhooks"
- ]
+ "tags": ["Webhooks"]
}
},
"/v2/webhooks/{webhookId}": {
@@ -6624,9 +6281,7 @@
}
}
},
- "tags": [
- "Webhooks"
- ]
+ "tags": ["Webhooks"]
},
"get": {
"operationId": "WebhooksController_getWebhook",
@@ -6644,9 +6299,7 @@
}
}
},
- "tags": [
- "Webhooks"
- ]
+ "tags": ["Webhooks"]
},
"delete": {
"operationId": "WebhooksController_deleteWebhook",
@@ -6673,9 +6326,7 @@
}
}
},
- "tags": [
- "Webhooks"
- ]
+ "tags": ["Webhooks"]
}
}
},
@@ -6805,10 +6456,7 @@
"status": {
"type": "string",
"example": "success",
- "enum": [
- "success",
- "error"
- ]
+ "enum": ["success", "error"]
},
"data": {
"type": "array",
@@ -6817,10 +6465,7 @@
}
}
},
- "required": [
- "status",
- "data"
- ]
+ "required": ["status", "data"]
},
"CreateManagedUserInput": {
"type": "object",
@@ -6836,25 +6481,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",
@@ -6915,10 +6549,7 @@
"description": "URL of the user's avatar image"
}
},
- "required": [
- "email",
- "name"
- ]
+ "required": ["email", "name"]
},
"CreateManagedUserData": {
"type": "object",
@@ -6936,12 +6567,7 @@
"type": "number"
}
},
- "required": [
- "user",
- "accessToken",
- "refreshToken",
- "accessTokenExpiresAt"
- ]
+ "required": ["user", "accessToken", "refreshToken", "accessTokenExpiresAt"]
},
"CreateManagedUserOutput": {
"type": "object",
@@ -6949,10 +6575,7 @@
"status": {
"type": "string",
"example": "success",
- "enum": [
- "success",
- "error"
- ]
+ "enum": ["success", "error"]
},
"data": {
"$ref": "#/components/schemas/CreateManagedUserData"
@@ -6961,10 +6584,7 @@
"type": "object"
}
},
- "required": [
- "status",
- "data"
- ]
+ "required": ["status", "data"]
},
"GetManagedUserOutput": {
"type": "object",
@@ -6972,19 +6592,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",
@@ -6997,10 +6611,7 @@
},
"timeFormat": {
"type": "number",
- "enum": [
- 12,
- 24
- ],
+ "enum": [12, 24],
"example": 12,
"description": "Must be 12 or 24"
},
@@ -7009,15 +6620,7 @@
},
"weekStart": {
"type": "string",
- "enum": [
- "Monday",
- "Tuesday",
- "Wednesday",
- "Thursday",
- "Friday",
- "Saturday",
- "Sunday"
- ],
+ "enum": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"],
"example": "Monday"
},
"timeZone": {
@@ -7093,11 +6696,7 @@
"type": "number"
}
},
- "required": [
- "accessToken",
- "refreshToken",
- "accessTokenExpiresAt"
- ]
+ "required": ["accessToken", "refreshToken", "accessTokenExpiresAt"]
},
"KeysResponseDto": {
"type": "object",
@@ -7105,19 +6704,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",
@@ -7150,11 +6743,7 @@
"type": "boolean"
}
},
- "required": [
- "name",
- "redirectUris",
- "permissions"
- ]
+ "required": ["name", "redirectUris", "permissions"]
},
"DataDto": {
"type": "object",
@@ -7168,20 +6757,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": {
@@ -7196,10 +6779,7 @@
]
}
},
- "required": [
- "status",
- "data"
- ]
+ "required": ["status", "data"]
},
"PlatformOAuthClientDto": {
"type": "object",
@@ -7226,9 +6806,7 @@
"example": "https://example.com/logo.png"
},
"redirectUris": {
- "example": [
- "https://example.com/callback"
- ],
+ "example": ["https://example.com/callback"],
"type": "array",
"items": {
"type": "string"
@@ -7244,15 +6822,7 @@
"example": "2024-03-23T08:33:21.851Z"
}
},
- "required": [
- "id",
- "name",
- "secret",
- "permissions",
- "redirectUris",
- "organizationId",
- "createdAt"
- ]
+ "required": ["id", "name", "secret", "permissions", "redirectUris", "organizationId", "createdAt"]
},
"GetOAuthClientsResponseDto": {
"type": "object",
@@ -7260,10 +6830,7 @@
"status": {
"type": "string",
"example": "success",
- "enum": [
- "success",
- "error"
- ]
+ "enum": ["success", "error"]
},
"data": {
"type": "array",
@@ -7272,10 +6839,7 @@
}
}
},
- "required": [
- "status",
- "data"
- ]
+ "required": ["status", "data"]
},
"GetOAuthClientResponseDto": {
"type": "object",
@@ -7283,19 +6847,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",
@@ -7334,9 +6892,7 @@
"description": "Managed user's refresh token."
}
},
- "required": [
- "refreshToken"
- ]
+ "required": ["refreshToken"]
},
"InputAddressLocation_2024_06_14": {
"type": "object",
@@ -7354,11 +6910,7 @@
"type": "boolean"
}
},
- "required": [
- "type",
- "address",
- "public"
- ]
+ "required": ["type", "address", "public"]
},
"InputLinkLocation_2024_06_14": {
"type": "object",
@@ -7376,11 +6928,7 @@
"type": "boolean"
}
},
- "required": [
- "type",
- "link",
- "public"
- ]
+ "required": ["type", "link", "public"]
},
"InputIntegrationLocation_2024_06_14": {
"type": "object",
@@ -7393,16 +6941,10 @@
"integration": {
"type": "string",
"example": "cal-video",
- "enum": [
- "cal-video",
- "google-meet"
- ]
+ "enum": ["cal-video", "google-meet"]
}
},
- "required": [
- "type",
- "integration"
- ]
+ "required": ["type", "integration"]
},
"InputPhoneLocation_2024_06_14": {
"type": "object",
@@ -7420,11 +6962,7 @@
"type": "boolean"
}
},
- "required": [
- "type",
- "phone",
- "public"
- ]
+ "required": ["type", "phone", "public"]
},
"PhoneFieldInput_2024_06_14": {
"type": "object",
@@ -7457,14 +6995,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",
@@ -7499,14 +7030,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",
@@ -7541,14 +7065,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",
@@ -7583,14 +7100,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",
@@ -7625,14 +7135,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",
@@ -7659,10 +7162,7 @@
"example": "Select..."
},
"options": {
- "example": [
- "Option 1",
- "Option 2"
- ],
+ "example": ["Option 1", "Option 2"],
"type": "array",
"items": {
"type": "string"
@@ -7677,15 +7177,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",
@@ -7708,10 +7200,7 @@
"type": "boolean"
},
"options": {
- "example": [
- "Option 1",
- "Option 2"
- ],
+ "example": ["Option 1", "Option 2"],
"type": "array",
"items": {
"type": "string"
@@ -7726,14 +7215,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",
@@ -7768,14 +7250,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",
@@ -7798,10 +7273,7 @@
"type": "boolean"
},
"options": {
- "example": [
- "Checkbox 1",
- "Checkbox 2"
- ],
+ "example": ["Checkbox 1", "Checkbox 2"],
"type": "array",
"items": {
"type": "string"
@@ -7816,14 +7288,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",
@@ -7846,10 +7311,7 @@
"type": "boolean"
},
"options": {
- "example": [
- "Radio 1",
- "Radio 2"
- ],
+ "example": ["Radio 1", "Radio 2"],
"type": "array",
"items": {
"type": "string"
@@ -7864,14 +7326,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",
@@ -7901,24 +7356,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",
- "hidden"
- ]
+ "required": ["type", "slug", "label", "required", "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": {
@@ -7932,21 +7377,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": {
@@ -7960,28 +7398,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": {
@@ -7989,10 +7417,7 @@
}
}
},
- "required": [
- "type",
- "value"
- ]
+ "required": ["type", "value"]
},
"BaseBookingLimitsCount_2024_06_14": {
"type": "object",
@@ -8033,9 +7458,7 @@
"default": false
}
},
- "required": [
- "disabled"
- ]
+ "required": ["disabled"]
},
"BaseBookingLimitsDuration_2024_06_14": {
"type": "object",
@@ -8077,18 +7500,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",
@@ -8104,10 +7519,7 @@
"example": 30
}
},
- "required": [
- "unit",
- "count"
- ]
+ "required": ["unit", "count"]
},
"BaseConfirmationPolicy_2024_06_14": {
"type": "object",
@@ -8126,9 +7538,7 @@
]
}
},
- "required": [
- "type"
- ]
+ "required": ["type"]
},
"Seats_2024_06_14": {
"type": "object",
@@ -8149,11 +7559,7 @@
"example": true
}
},
- "required": [
- "seatsPerTimeSlot",
- "showAttendeeInfo",
- "showAvailabilityCount"
- ]
+ "required": ["seatsPerTimeSlot", "showAttendeeInfo", "showAvailabilityCount"]
},
"InputAttendeeAddressLocation_2024_06_14": {
"type": "object",
@@ -8164,9 +7570,7 @@
"description": "only allowed value for type is `attendeeAddress`"
}
},
- "required": [
- "type"
- ]
+ "required": ["type"]
},
"InputAttendeePhoneLocation_2024_06_14": {
"type": "object",
@@ -8177,9 +7581,7 @@
"description": "only allowed value for type is `attendeePhone`"
}
},
- "required": [
- "type"
- ]
+ "required": ["type"]
},
"InputAttendeeDefinedLocation_2024_06_14": {
"type": "object",
@@ -8190,9 +7592,7 @@
"description": "only allowed value for type is `attendeeDefined`"
}
},
- "required": [
- "type"
- ]
+ "required": ["type"]
},
"NameDefaultFieldInput_2024_06_14": {
"type": "object",
@@ -8213,11 +7613,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",
@@ -8241,12 +7637,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 protected]`, 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",
@@ -8274,9 +7665,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",
@@ -8304,9 +7693,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 `&notes=journey`, the notes field will be prefilled with this value and disabled."
}
},
- "required": [
- "slug"
- ]
+ "required": ["slug"]
},
"GuestsDefaultFieldInput_2024_06_14": {
"type": "object",
@@ -8334,9 +7721,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 protected]`, the guests field will be prefilled with this value and disabled."
}
},
- "required": [
- "slug"
- ]
+ "required": ["slug"]
},
"RescheduleReasonDefaultFieldInput_2024_06_14": {
"type": "object",
@@ -8364,37 +7749,24 @@
"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"]
},
"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",
@@ -8410,10 +7782,7 @@
"example": "#fafafa"
}
},
- "required": [
- "lightThemeHex",
- "darkThemeHex"
- ]
+ "required": ["lightThemeHex", "darkThemeHex"]
},
"DestinationCalendar_2024_06_14": {
"type": "object",
@@ -8427,10 +7796,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",
@@ -8440,11 +7806,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": {
@@ -8695,11 +8057,7 @@
"example": "https://masterchief.com/argentina/flan/video/9129412"
}
},
- "required": [
- "lengthInMinutes",
- "title",
- "slug"
- ]
+ "required": ["lengthInMinutes", "title", "slug"]
},
"OutputAddressLocation_2024_06_14": {
"type": "object",
@@ -8726,11 +8084,7 @@
"type": "boolean"
}
},
- "required": [
- "type",
- "address",
- "public"
- ]
+ "required": ["type", "address", "public"]
},
"OutputLinkLocation_2024_06_14": {
"type": "object",
@@ -8757,11 +8111,7 @@
"type": "boolean"
}
},
- "required": [
- "type",
- "link",
- "public"
- ]
+ "required": ["type", "link", "public"]
},
"OutputIntegrationLocation_2024_06_14": {
"type": "object",
@@ -8828,10 +8178,7 @@
"description": "Credential ID associated with the integration"
}
},
- "required": [
- "type",
- "integration"
- ]
+ "required": ["type", "integration"]
},
"OutputPhoneLocation_2024_06_14": {
"type": "object",
@@ -8858,11 +8205,7 @@
"type": "boolean"
}
},
- "required": [
- "type",
- "phone",
- "public"
- ]
+ "required": ["type", "phone", "public"]
},
"OutputConferencingLocation_2024_06_14": {
"type": "object",
@@ -8884,9 +8227,7 @@
"description": "only allowed value for type is `conferencing`"
}
},
- "required": [
- "type"
- ]
+ "required": ["type"]
},
"OutputUnknownLocation_2024_06_14": {
"type": "object",
@@ -8911,10 +8252,7 @@
"type": "string"
}
},
- "required": [
- "type",
- "location"
- ]
+ "required": ["type", "location"]
},
"EmailDefaultFieldOutput_2024_06_14": {
"type": "object",
@@ -8965,12 +8303,7 @@
"default": "email"
}
},
- "required": [
- "type",
- "required",
- "isDefault",
- "slug"
- ]
+ "required": ["type", "required", "isDefault", "slug"]
},
"NameDefaultFieldOutput_2024_06_14": {
"type": "object",
@@ -9020,12 +8353,7 @@
"type": "boolean"
}
},
- "required": [
- "type",
- "isDefault",
- "slug",
- "required"
- ]
+ "required": ["type", "isDefault", "slug", "required"]
},
"LocationDefaultFieldOutput_2024_06_14": {
"type": "object",
@@ -9053,26 +8381,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"
@@ -9105,24 +8421,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"
@@ -9155,24 +8461,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"
@@ -9205,24 +8501,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"
@@ -9255,11 +8541,7 @@
"default": "multiemail"
}
},
- "required": [
- "slug",
- "isDefault",
- "type"
- ]
+ "required": ["slug", "isDefault", "type"]
},
"AddressFieldOutput_2024_06_14": {
"type": "object",
@@ -9315,14 +8597,7 @@
"example": false
}
},
- "required": [
- "type",
- "slug",
- "label",
- "required",
- "hidden",
- "isDefault"
- ]
+ "required": ["type", "slug", "label", "required", "hidden", "isDefault"]
},
"BooleanFieldOutput_2024_06_14": {
"type": "object",
@@ -9373,14 +8648,7 @@
"example": false
}
},
- "required": [
- "type",
- "slug",
- "label",
- "required",
- "hidden",
- "isDefault"
- ]
+ "required": ["type", "slug", "label", "required", "hidden", "isDefault"]
},
"CheckboxGroupFieldOutput_2024_06_14": {
"type": "object",
@@ -9418,10 +8686,7 @@
"type": "boolean"
},
"options": {
- "example": [
- "Checkbox 1",
- "Checkbox 2"
- ],
+ "example": ["Checkbox 1", "Checkbox 2"],
"type": "array",
"items": {
"type": "string"
@@ -9442,15 +8707,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",
@@ -9506,14 +8763,7 @@
"example": false
}
},
- "required": [
- "type",
- "slug",
- "label",
- "required",
- "hidden",
- "isDefault"
- ]
+ "required": ["type", "slug", "label", "required", "hidden", "isDefault"]
},
"MultiSelectFieldOutput_2024_06_14": {
"type": "object",
@@ -9551,10 +8801,7 @@
"type": "boolean"
},
"options": {
- "example": [
- "Option 1",
- "Option 2"
- ],
+ "example": ["Option 1", "Option 2"],
"type": "array",
"items": {
"type": "string"
@@ -9575,15 +8822,7 @@
"example": false
}
},
- "required": [
- "type",
- "slug",
- "label",
- "required",
- "options",
- "hidden",
- "isDefault"
- ]
+ "required": ["type", "slug", "label", "required", "options", "hidden", "isDefault"]
},
"NumberFieldOutput_2024_06_14": {
"type": "object",
@@ -9639,14 +8878,7 @@
"example": false
}
},
- "required": [
- "type",
- "slug",
- "label",
- "required",
- "hidden",
- "isDefault"
- ]
+ "required": ["type", "slug", "label", "required", "hidden", "isDefault"]
},
"PhoneFieldOutput_2024_06_14": {
"type": "object",
@@ -9700,14 +8932,7 @@
"example": false
}
},
- "required": [
- "type",
- "slug",
- "label",
- "required",
- "hidden",
- "isDefault"
- ]
+ "required": ["type", "slug", "label", "required", "hidden", "isDefault"]
},
"RadioGroupFieldOutput_2024_06_14": {
"type": "object",
@@ -9745,10 +8970,7 @@
"type": "boolean"
},
"options": {
- "example": [
- "Radio 1",
- "Radio 2"
- ],
+ "example": ["Radio 1", "Radio 2"],
"type": "array",
"items": {
"type": "string"
@@ -9769,15 +8991,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",
@@ -9819,10 +9033,7 @@
"example": "Select..."
},
"options": {
- "example": [
- "Option 1",
- "Option 2"
- ],
+ "example": ["Option 1", "Option 2"],
"type": "array",
"items": {
"type": "string"
@@ -9843,15 +9054,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",
@@ -9907,14 +9110,7 @@
"example": false
}
},
- "required": [
- "type",
- "slug",
- "label",
- "required",
- "hidden",
- "isDefault"
- ]
+ "required": ["type", "slug", "label", "required", "hidden", "isDefault"]
},
"TextFieldOutput_2024_06_14": {
"type": "object",
@@ -9970,14 +9166,7 @@
"example": false
}
},
- "required": [
- "type",
- "slug",
- "label",
- "required",
- "hidden",
- "isDefault"
- ]
+ "required": ["type", "slug", "label", "required", "hidden", "isDefault"]
},
"EventTypeOutput_2024_06_14": {
"type": "object",
@@ -9991,11 +9180,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": {
@@ -10260,30 +9445,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": {
@@ -10295,20 +9471,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": {
@@ -10318,10 +9488,7 @@
}
}
},
- "required": [
- "status",
- "data"
- ]
+ "required": ["status", "data"]
},
"UpdateEventTypeInput_2024_06_14": {
"type": "object",
@@ -10331,11 +9498,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": {
@@ -10592,20 +9755,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",
@@ -10626,32 +9783,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",
@@ -10666,11 +9812,7 @@
"type": "number"
}
},
- "required": [
- "integration",
- "externalId",
- "credentialId"
- ]
+ "required": ["integration", "externalId", "credentialId"]
},
"SelectedCalendarOutputDto": {
"type": "object",
@@ -10689,12 +9831,7 @@
"nullable": true
}
},
- "required": [
- "userId",
- "integration",
- "externalId",
- "credentialId"
- ]
+ "required": ["userId", "integration", "externalId", "credentialId"]
},
"SelectedCalendarOutputResponseDto": {
"type": "object",
@@ -10702,19 +9839,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",
@@ -10787,11 +9918,7 @@
"default": "Sunday"
}
},
- "required": [
- "id",
- "name",
- "isOrganization"
- ]
+ "required": ["id", "name", "isOrganization"]
},
"OrgTeamsOutputResponseDto": {
"type": "object",
@@ -10799,10 +9926,7 @@
"status": {
"type": "string",
"example": "success",
- "enum": [
- "success",
- "error"
- ]
+ "enum": ["success", "error"]
},
"data": {
"type": "array",
@@ -10811,10 +9935,7 @@
}
}
},
- "required": [
- "status",
- "data"
- ]
+ "required": ["status", "data"]
},
"OrgMeTeamsOutputResponseDto": {
"type": "object",
@@ -10822,10 +9943,7 @@
"status": {
"type": "string",
"example": "success",
- "enum": [
- "success",
- "error"
- ]
+ "enum": ["success", "error"]
},
"data": {
"type": "array",
@@ -10834,10 +9952,7 @@
}
}
},
- "required": [
- "status",
- "data"
- ]
+ "required": ["status", "data"]
},
"OrgTeamOutputResponseDto": {
"type": "object",
@@ -10845,19 +9960,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",
@@ -11013,40 +10122,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": {
@@ -11062,11 +10150,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",
@@ -11088,11 +10172,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",
@@ -11116,18 +10196,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"
}
@@ -11155,15 +10229,7 @@
}
}
},
- "required": [
- "id",
- "ownerId",
- "name",
- "timeZone",
- "availability",
- "isDefault",
- "overrides"
- ]
+ "required": ["id", "ownerId", "name", "timeZone", "availability", "isDefault", "overrides"]
},
"GetSchedulesOutput_2024_06_11": {
"type": "object",
@@ -11171,10 +10237,7 @@
"status": {
"type": "string",
"example": "success",
- "enum": [
- "success",
- "error"
- ]
+ "enum": ["success", "error"]
},
"data": {
"type": "array",
@@ -11186,10 +10249,7 @@
"type": "object"
}
},
- "required": [
- "status",
- "data"
- ]
+ "required": ["status", "data"]
},
"CreateScheduleInput_2024_06_11": {
"type": "object",
@@ -11207,18 +10267,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"
}
@@ -11248,11 +10302,7 @@
}
}
},
- "required": [
- "name",
- "timeZone",
- "isDefault"
- ]
+ "required": ["name", "timeZone", "isDefault"]
},
"CreateScheduleOutput_2024_06_11": {
"type": "object",
@@ -11260,19 +10310,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",
@@ -11280,10 +10324,7 @@
"status": {
"type": "string",
"example": "success",
- "enum": [
- "success",
- "error"
- ]
+ "enum": ["success", "error"]
},
"data": {
"nullable": true,
@@ -11297,10 +10338,7 @@
"type": "object"
}
},
- "required": [
- "status",
- "data"
- ]
+ "required": ["status", "data"]
},
"UpdateScheduleInput_2024_06_11": {
"type": "object",
@@ -11316,10 +10354,7 @@
"availability": {
"example": [
{
- "days": [
- "Monday",
- "Tuesday"
- ],
+ "days": ["Monday", "Tuesday"],
"startTime": "09:00",
"endTime": "10:00"
}
@@ -11354,10 +10389,7 @@
"status": {
"type": "string",
"example": "success",
- "enum": [
- "success",
- "error"
- ]
+ "enum": ["success", "error"]
},
"data": {
"$ref": "#/components/schemas/ScheduleOutput_2024_06_11"
@@ -11366,10 +10398,7 @@
"type": "object"
}
},
- "required": [
- "status",
- "data"
- ]
+ "required": ["status", "data"]
},
"DeleteScheduleOutput_2024_06_11": {
"type": "object",
@@ -11377,15 +10406,10 @@
"status": {
"type": "string",
"example": "success",
- "enum": [
- "success",
- "error"
- ]
+ "enum": ["success", "error"]
}
},
- "required": [
- "status"
- ]
+ "required": ["status"]
},
"ProfileOutput": {
"type": "object",
@@ -11412,11 +10436,7 @@
"example": "john_doe"
}
},
- "required": [
- "id",
- "organizationId",
- "userId"
- ]
+ "required": ["id", "organizationId", "userId"]
},
"GetOrgUsersWithProfileOutput": {
"type": "object",
@@ -11552,15 +10572,7 @@
]
}
},
- "required": [
- "id",
- "email",
- "timeZone",
- "weekStart",
- "hideBranding",
- "createdDate",
- "profile"
- ]
+ "required": ["id", "email", "timeZone", "weekStart", "hideBranding", "createdDate", "profile"]
},
"GetOrganizationUsersResponseDTO": {
"type": "object",
@@ -11568,10 +10580,7 @@
"status": {
"type": "string",
"example": "success",
- "enum": [
- "success",
- "error"
- ]
+ "enum": ["success", "error"]
},
"data": {
"type": "array",
@@ -11580,10 +10589,7 @@
}
}
},
- "required": [
- "status",
- "data"
- ]
+ "required": ["status", "data"]
},
"CreateOrganizationUserInput": {
"type": "object",
@@ -11661,20 +10667,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",
@@ -11682,19 +10682,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",
@@ -11717,23 +10711,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",
@@ -11741,19 +10725,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",
@@ -11768,21 +10746,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",
@@ -11790,19 +10761,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",
@@ -11810,19 +10775,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",
@@ -11830,19 +10789,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",
@@ -11852,11 +10805,7 @@
},
"role": {
"type": "string",
- "enum": [
- "MEMBER",
- "OWNER",
- "ADMIN"
- ]
+ "enum": ["MEMBER", "OWNER", "ADMIN"]
},
"disableImpersonation": {
"type": "boolean"
@@ -11869,19 +10818,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",
@@ -11896,18 +10839,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",
@@ -11917,11 +10852,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": {
@@ -12185,13 +11116,7 @@
"description": "If true, all current and future team members will be assigned to this event type"
}
},
- "required": [
- "lengthInMinutes",
- "title",
- "slug",
- "schedulingType",
- "hosts"
- ]
+ "required": ["lengthInMinutes", "title", "slug", "schedulingType", "hosts"]
},
"CreateTeamEventTypeOutput": {
"type": "object",
@@ -12199,10 +11124,7 @@
"status": {
"type": "string",
"example": "success",
- "enum": [
- "success",
- "error"
- ]
+ "enum": ["success", "error"]
},
"data": {
"oneOf": [
@@ -12218,10 +11140,7 @@
]
}
},
- "required": [
- "status",
- "data"
- ]
+ "required": ["status", "data"]
},
"TeamEventTypeResponseHost": {
"type": "object",
@@ -12238,13 +11157,7 @@
"priority": {
"type": "string",
"default": "medium",
- "enum": [
- "lowest",
- "low",
- "medium",
- "high",
- "highest"
- ]
+ "enum": ["lowest", "low", "medium", "high", "highest"]
},
"name": {
"type": "string",
@@ -12256,10 +11169,7 @@
"example": "https://cal.com/api/avatar/d95949bc-ccb1-400f-acf6-045c51a16856.png"
}
},
- "required": [
- "userId",
- "name"
- ]
+ "required": ["userId", "name"]
},
"EventTypeTeam": {
"type": "object",
@@ -12292,9 +11202,7 @@
"type": "string"
}
},
- "required": [
- "id"
- ]
+ "required": ["id"]
},
"TeamEventTypeOutput_2024_06_14": {
"type": "object",
@@ -12309,11 +11217,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": {
@@ -12569,11 +11473,7 @@
"schedulingType": {
"type": "string",
"nullable": true,
- "enum": [
- "ROUND_ROBIN",
- "COLLECTIVE",
- "MANAGED"
- ]
+ "enum": ["ROUND_ROBIN", "COLLECTIVE", "MANAGED"]
},
"team": {
"$ref": "#/components/schemas/EventTypeTeam"
@@ -12609,19 +11509,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",
@@ -12647,10 +11541,7 @@
},
"templateType": {
"default": "CUSTOM_TEMPLATE",
- "enum": [
- "CHECK_IN_APPOINTMENT",
- "CUSTOM_TEMPLATE"
- ],
+ "enum": ["CHECK_IN_APPOINTMENT", "CUSTOM_TEMPLATE"],
"type": "string",
"description": "Template type"
},
@@ -12679,13 +11570,7 @@
"description": "General prompt"
}
},
- "required": [
- "yourPhoneNumber",
- "numberToCall",
- "calApiKey",
- "enabled",
- "templateType"
- ]
+ "required": ["yourPhoneNumber", "numberToCall", "calApiKey", "enabled", "templateType"]
},
"Data": {
"type": "object",
@@ -12697,10 +11582,7 @@
"type": "string"
}
},
- "required": [
- "callId",
- "agentId"
- ]
+ "required": ["callId"]
},
"CreatePhoneCallOutput": {
"type": "object",
@@ -12708,19 +11590,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",
@@ -12728,10 +11604,7 @@
"status": {
"type": "string",
"example": "success",
- "enum": [
- "success",
- "error"
- ]
+ "enum": ["success", "error"]
},
"data": {
"type": "array",
@@ -12740,10 +11613,7 @@
}
}
},
- "required": [
- "status",
- "data"
- ]
+ "required": ["status", "data"]
},
"UpdateTeamEventTypeInput_2024_06_14": {
"type": "object",
@@ -12753,11 +11623,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": {
@@ -13025,10 +11891,7 @@
"status": {
"type": "string",
"example": "success",
- "enum": [
- "success",
- "error"
- ]
+ "enum": ["success", "error"]
},
"data": {
"oneOf": [
@@ -13044,10 +11907,7 @@
]
}
},
- "required": [
- "status",
- "data"
- ]
+ "required": ["status", "data"]
},
"DeleteTeamEventTypeOutput": {
"type": "object",
@@ -13055,19 +11915,13 @@
"status": {
"type": "string",
"example": "success",
- "enum": [
- "success",
- "error"
- ]
+ "enum": ["success", "error"]
},
"data": {
"type": "object"
}
},
- "required": [
- "status",
- "data"
- ]
+ "required": ["status", "data"]
},
"MembershipUserOutputDto": {
"type": "object",
@@ -13085,9 +11939,7 @@
"type": "string"
}
},
- "required": [
- "email"
- ]
+ "required": ["email"]
},
"OrgTeamMembershipOutputDto": {
"type": "object",
@@ -13106,11 +11958,7 @@
},
"role": {
"type": "string",
- "enum": [
- "MEMBER",
- "OWNER",
- "ADMIN"
- ]
+ "enum": ["MEMBER", "OWNER", "ADMIN"]
},
"disableImpersonation": {
"type": "boolean"
@@ -13119,14 +11967,7 @@
"$ref": "#/components/schemas/MembershipUserOutputDto"
}
},
- "required": [
- "id",
- "userId",
- "teamId",
- "accepted",
- "role",
- "user"
- ]
+ "required": ["id", "userId", "teamId", "accepted", "role", "user"]
},
"OrgTeamMembershipsOutputResponseDto": {
"type": "object",
@@ -13134,10 +11975,7 @@
"status": {
"type": "string",
"example": "success",
- "enum": [
- "success",
- "error"
- ]
+ "enum": ["success", "error"]
},
"data": {
"type": "array",
@@ -13146,10 +11984,7 @@
}
}
},
- "required": [
- "status",
- "data"
- ]
+ "required": ["status", "data"]
},
"OrgTeamMembershipOutputResponseDto": {
"type": "object",
@@ -13157,19 +11992,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",
@@ -13179,11 +12008,7 @@
},
"role": {
"type": "string",
- "enum": [
- "MEMBER",
- "OWNER",
- "ADMIN"
- ]
+ "enum": ["MEMBER", "OWNER", "ADMIN"]
},
"disableImpersonation": {
"type": "boolean"
@@ -13203,21 +12028,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",
@@ -13235,12 +12053,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",
@@ -13263,14 +12076,7 @@
"example": true
}
},
- "required": [
- "id",
- "teamId",
- "type",
- "name",
- "slug",
- "enabled"
- ]
+ "required": ["id", "teamId", "type", "name", "slug", "enabled"]
},
"GetOrganizationAttributesOutput": {
"type": "object",
@@ -13278,10 +12084,7 @@
"status": {
"type": "string",
"example": "success",
- "enum": [
- "success",
- "error"
- ]
+ "enum": ["success", "error"]
},
"data": {
"type": "array",
@@ -13290,10 +12093,7 @@
}
}
},
- "required": [
- "status",
- "data"
- ]
+ "required": ["status", "data"]
},
"GetSingleAttributeOutput": {
"type": "object",
@@ -13301,10 +12101,7 @@
"status": {
"type": "string",
"example": "success",
- "enum": [
- "success",
- "error"
- ]
+ "enum": ["success", "error"]
},
"data": {
"nullable": true,
@@ -13315,10 +12112,7 @@
]
}
},
- "required": [
- "status",
- "data"
- ]
+ "required": ["status", "data"]
},
"CreateOrganizationAttributeOptionInput": {
"type": "object",
@@ -13330,10 +12124,7 @@
"type": "string"
}
},
- "required": [
- "value",
- "slug"
- ]
+ "required": ["value", "slug"]
},
"CreateOrganizationAttributeInput": {
"type": "object",
@@ -13346,12 +12137,7 @@
},
"type": {
"type": "string",
- "enum": [
- "TEXT",
- "NUMBER",
- "SINGLE_SELECT",
- "MULTI_SELECT"
- ]
+ "enum": ["TEXT", "NUMBER", "SINGLE_SELECT", "MULTI_SELECT"]
},
"options": {
"type": "array",
@@ -13363,12 +12149,7 @@
"type": "boolean"
}
},
- "required": [
- "name",
- "slug",
- "type",
- "options"
- ]
+ "required": ["name", "slug", "type", "options"]
},
"CreateOrganizationAttributesOutput": {
"type": "object",
@@ -13376,19 +12157,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",
@@ -13401,12 +12176,7 @@
},
"type": {
"type": "string",
- "enum": [
- "TEXT",
- "NUMBER",
- "SINGLE_SELECT",
- "MULTI_SELECT"
- ]
+ "enum": ["TEXT", "NUMBER", "SINGLE_SELECT", "MULTI_SELECT"]
},
"enabled": {
"type": "boolean"
@@ -13419,19 +12189,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",
@@ -13439,19 +12203,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",
@@ -13477,12 +12235,7 @@
"example": "option-slug"
}
},
- "required": [
- "id",
- "attributeId",
- "value",
- "slug"
- ]
+ "required": ["id", "attributeId", "value", "slug"]
},
"CreateAttributeOptionOutput": {
"type": "object",
@@ -13490,19 +12243,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",
@@ -13510,19 +12257,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",
@@ -13541,19 +12282,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",
@@ -13561,10 +12296,7 @@
"status": {
"type": "string",
"example": "success",
- "enum": [
- "success",
- "error"
- ]
+ "enum": ["success", "error"]
},
"data": {
"type": "array",
@@ -13573,10 +12305,7 @@
}
}
},
- "required": [
- "status",
- "data"
- ]
+ "required": ["status", "data"]
},
"AssignOrganizationAttributeOptionToUserInput": {
"type": "object",
@@ -13591,9 +12320,7 @@
"type": "string"
}
},
- "required": [
- "attributeId"
- ]
+ "required": ["attributeId"]
},
"AssignOptionUserOutputData": {
"type": "object",
@@ -13611,11 +12338,7 @@
"description": "The value of the option"
}
},
- "required": [
- "id",
- "memberId",
- "attributeOptionId"
- ]
+ "required": ["id", "memberId", "attributeOptionId"]
},
"AssignOptionUserOutput": {
"type": "object",
@@ -13623,19 +12346,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",
@@ -13643,19 +12360,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",
@@ -13677,12 +12388,7 @@
"description": "The slug of the option"
}
},
- "required": [
- "id",
- "attributeId",
- "value",
- "slug"
- ]
+ "required": ["id", "attributeId", "value", "slug"]
},
"GetOptionUserOutput": {
"type": "object",
@@ -13690,10 +12396,7 @@
"status": {
"type": "string",
"example": "success",
- "enum": [
- "success",
- "error"
- ]
+ "enum": ["success", "error"]
},
"data": {
"type": "array",
@@ -13702,10 +12405,7 @@
}
}
},
- "required": [
- "status",
- "data"
- ]
+ "required": ["status", "data"]
},
"TeamWebhookOutputDto": {
"type": "object",
@@ -13737,14 +12437,7 @@
"type": "string"
}
},
- "required": [
- "payloadTemplate",
- "teamId",
- "id",
- "triggers",
- "subscriberUrl",
- "active"
- ]
+ "required": ["payloadTemplate", "teamId", "id", "triggers", "subscriberUrl", "active"]
},
"TeamWebhooksOutputResponseDto": {
"type": "object",
@@ -13752,10 +12445,7 @@
"status": {
"type": "string",
"example": "success",
- "enum": [
- "success",
- "error"
- ]
+ "enum": ["success", "error"]
},
"data": {
"type": "array",
@@ -13764,10 +12454,7 @@
}
}
},
- "required": [
- "status",
- "data"
- ]
+ "required": ["status", "data"]
},
"CreateWebhookInputDto": {
"type": "object",
@@ -13820,11 +12507,7 @@
"type": "string"
}
},
- "required": [
- "active",
- "subscriberUrl",
- "triggers"
- ]
+ "required": ["active", "subscriberUrl", "triggers"]
},
"TeamWebhookOutputResponseDto": {
"type": "object",
@@ -13832,19 +12515,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",
@@ -13927,19 +12604,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",
@@ -13970,13 +12638,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"]
}
}
},
@@ -13987,9 +12649,7 @@
"type": "string"
}
},
- "required": [
- "authUrl"
- ]
+ "required": ["authUrl"]
},
"StripConnectOutputResponseDto": {
"type": "object",
@@ -13997,19 +12657,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",
@@ -14018,9 +12672,7 @@
"type": "string"
}
},
- "required": [
- "url"
- ]
+ "required": ["url"]
},
"StripCredentialsCheckOutputResponseDto": {
"type": "object",
@@ -14030,9 +12682,7 @@
"example": "success"
}
},
- "required": [
- "status"
- ]
+ "required": ["status"]
},
"GetDefaultScheduleOutput_2024_06_11": {
"type": "object",
@@ -14040,19 +12690,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",
@@ -14131,9 +12775,7 @@
"default": true
}
},
- "required": [
- "name"
- ]
+ "required": ["name"]
},
"CreateTeamOutput": {
"type": "object",
@@ -14141,10 +12783,7 @@
"status": {
"type": "string",
"example": "success",
- "enum": [
- "success",
- "error"
- ]
+ "enum": ["success", "error"]
},
"data": {
"oneOf": [
@@ -14158,10 +12797,7 @@
"description": "Either an Output object or a TeamOutputDto."
}
},
- "required": [
- "status",
- "data"
- ]
+ "required": ["status", "data"]
},
"TeamOutputDto": {
"type": "object",
@@ -14234,11 +12870,7 @@
"default": "Sunday"
}
},
- "required": [
- "id",
- "name",
- "isOrganization"
- ]
+ "required": ["id", "name", "isOrganization"]
},
"GetTeamOutput": {
"type": "object",
@@ -14246,19 +12878,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",
@@ -14266,10 +12892,7 @@
"status": {
"type": "string",
"example": "success",
- "enum": [
- "success",
- "error"
- ]
+ "enum": ["success", "error"]
},
"data": {
"type": "array",
@@ -14278,10 +12901,7 @@
}
}
},
- "required": [
- "status",
- "data"
- ]
+ "required": ["status", "data"]
},
"UpdateTeamOutput": {
"type": "object",
@@ -14289,19 +12909,13 @@
"status": {
"type": "string",
"example": "success",
- "enum": [
- "success",
- "error"
- ]
+ "enum": ["success", "error"]
},
"data": {
"$ref": "#/components/schemas/TeamOutputDto"
}
},
- "required": [
- "status",
- "data"
- ]
+ "required": ["status", "data"]
},
"ProviderVerifyClientData": {
"type": "object",
@@ -14316,11 +12930,7 @@
"type": "string"
}
},
- "required": [
- "clientId",
- "organizationId",
- "name"
- ]
+ "required": ["clientId", "organizationId", "name"]
},
"ProviderVerifyClientOutput": {
"type": "object",
@@ -14328,19 +12938,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",
@@ -14348,15 +12952,10 @@
"status": {
"type": "string",
"example": "success",
- "enum": [
- "success",
- "error"
- ]
+ "enum": ["success", "error"]
}
},
- "required": [
- "status"
- ]
+ "required": ["status"]
},
"MeOrgOutput": {
"type": "object",
@@ -14368,10 +12967,7 @@
"type": "number"
}
},
- "required": [
- "isPlatform",
- "id"
- ]
+ "required": ["isPlatform", "id"]
},
"MeOutput": {
"type": "object",
@@ -14423,19 +13019,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",
@@ -14443,29 +13033,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",
@@ -14479,9 +13060,7 @@
"description": "Whether to allowing writing to the calendar or not"
}
},
- "required": [
- "urls"
- ]
+ "required": ["urls"]
},
"CreateIcsFeedOutput": {
"type": "object",
@@ -14521,14 +13100,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",
@@ -14536,19 +13108,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",
@@ -14566,10 +13132,7 @@
"nullable": true
}
},
- "required": [
- "start",
- "end"
- ]
+ "required": ["start", "end"]
},
"GetBusyTimesOutput": {
"type": "object",
@@ -14577,10 +13140,7 @@
"status": {
"type": "string",
"example": "success",
- "enum": [
- "success",
- "error"
- ]
+ "enum": ["success", "error"]
},
"data": {
"type": "array",
@@ -14589,10 +13149,7 @@
}
}
},
- "required": [
- "status",
- "data"
- ]
+ "required": ["status", "data"]
},
"Integration": {
"type": "object",
@@ -14697,13 +13254,7 @@
"type": "number"
}
},
- "required": [
- "externalId",
- "primary",
- "readOnly",
- "isSelected",
- "credentialId"
- ]
+ "required": ["externalId", "primary", "readOnly", "isSelected", "credentialId"]
},
"Calendar": {
"type": "object",
@@ -14734,12 +13285,7 @@
"type": "number"
}
},
- "required": [
- "externalId",
- "readOnly",
- "isSelected",
- "credentialId"
- ]
+ "required": ["externalId", "readOnly", "isSelected", "credentialId"]
},
"ConnectedCalendar": {
"type": "object",
@@ -14760,10 +13306,7 @@
}
}
},
- "required": [
- "integration",
- "credentialId"
- ]
+ "required": ["integration", "credentialId"]
},
"DestinationCalendar": {
"type": "object",
@@ -14833,10 +13376,7 @@
"$ref": "#/components/schemas/DestinationCalendar"
}
},
- "required": [
- "connectedCalendars",
- "destinationCalendar"
- ]
+ "required": ["connectedCalendars", "destinationCalendar"]
},
"ConnectedCalendarsOutput": {
"type": "object",
@@ -14844,19 +13384,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",
@@ -14867,9 +13401,7 @@
"description": "Credential ID of the calendar to delete, as returned by the /calendars endpoint"
}
},
- "required": [
- "id"
- ]
+ "required": ["id"]
},
"DeletedCalendarCredentialsOutputDto": {
"type": "object",
@@ -14897,14 +13429,7 @@
"nullable": true
}
},
- "required": [
- "id",
- "type",
- "userId",
- "teamId",
- "appId",
- "invalid"
- ]
+ "required": ["id", "type", "userId", "teamId", "appId", "invalid"]
},
"DeletedCalendarCredentialsOutputResponseDto": {
"type": "object",
@@ -14912,19 +13437,13 @@
"status": {
"type": "string",
"example": "success",
- "enum": [
- "success",
- "error"
- ]
+ "enum": ["success", "error"]
},
"data": {
"$ref": "#/components/schemas/DeletedCalendarCredentialsOutputDto"
}
},
- "required": [
- "status",
- "data"
- ]
+ "required": ["status", "data"]
},
"Attendee": {
"type": "object",
@@ -15000,10 +13519,7 @@
"default": "en"
}
},
- "required": [
- "name",
- "timeZone"
- ]
+ "required": ["name", "timeZone"]
},
"CreateBookingInput_2024_08_13": {
"type": "object",
@@ -15033,10 +13549,7 @@
},
"guests": {
"description": "An optional list of guest emails attending the event.",
- "example": [
- ],
"type": "array",
"items": {
"type": "string"
@@ -15068,11 +13581,7 @@
}
}
},
- "required": [
- "start",
- "eventTypeId",
- "attendee"
- ]
+ "required": ["start", "eventTypeId", "attendee"]
},
"CreateInstantBookingInput_2024_08_13": {
"type": "object",
@@ -15102,10 +13611,7 @@
},
"guests": {
"description": "An optional list of guest emails attending the event.",
- "example": [
- ],
"type": "array",
"items": {
"type": "string"
@@ -15142,12 +13648,7 @@
"example": true
}
},
- "required": [
- "start",
- "eventTypeId",
- "attendee",
- "instant"
- ]
+ "required": ["start", "eventTypeId", "attendee", "instant"]
},
"CreateRecurringBookingInput_2024_08_13": {
"type": "object",
@@ -15177,10 +13678,7 @@
},
"guests": {
"description": "An optional list of guest emails attending the event.",
- "example": [
- ],
"type": "array",
"items": {
"type": "string"
@@ -15217,11 +13715,7 @@
"example": 5
}
},
- "required": [
- "start",
- "eventTypeId",
- "attendee"
- ]
+ "required": ["start", "eventTypeId", "attendee"]
},
"BookingHost": {
"type": "object",
@@ -15247,13 +13741,7 @@
"example": "America/Los_Angeles"
}
},
- "required": [
- "id",
- "name",
- "email",
- "username",
- "timeZone"
- ]
+ "required": ["id", "name", "email", "username", "timeZone"]
},
"EventType": {
"type": "object",
@@ -15267,10 +13755,7 @@
"example": "some-event"
}
},
- "required": [
- "id",
- "slug"
- ]
+ "required": ["id", "slug"]
},
"BookingOutput_2024_08_13": {
"type": "object",
@@ -15299,12 +13784,7 @@
},
"status": {
"type": "string",
- "enum": [
- "cancelled",
- "accepted",
- "rejected",
- "pending"
- ],
+ "enum": ["cancelled", "accepted", "rejected", "pending"],
"example": "accepted"
},
"cancellationReason": {
@@ -15383,10 +13863,7 @@
}
},
"guests": {
- "example": [
- ],
"type": "array",
"items": {
"type": "string"
@@ -15447,12 +13924,7 @@
},
"status": {
"type": "string",
- "enum": [
- "cancelled",
- "accepted",
- "rejected",
- "pending"
- ],
+ "enum": ["cancelled", "accepted", "rejected", "pending"],
"example": "accepted"
},
"cancellationReason": {
@@ -15531,10 +14003,7 @@
}
},
"guests": {
- "example": [
- ],
"type": "array",
"items": {
"type": "string"
@@ -15662,14 +14131,7 @@
}
}
},
- "required": [
- "name",
- "email",
- "timeZone",
- "absent",
- "seatUid",
- "bookingFieldsResponses"
- ]
+ "required": ["name", "email", "timeZone", "absent", "seatUid", "bookingFieldsResponses"]
},
"CreateSeatedBookingOutput_2024_08_13": {
"type": "object",
@@ -15698,12 +14160,7 @@
},
"status": {
"type": "string",
- "enum": [
- "cancelled",
- "accepted",
- "rejected",
- "pending"
- ],
+ "enum": ["cancelled", "accepted", "rejected", "pending"],
"example": "accepted"
},
"cancellationReason": {
@@ -15833,12 +14290,7 @@
},
"status": {
"type": "string",
- "enum": [
- "cancelled",
- "accepted",
- "rejected",
- "pending"
- ],
+ "enum": ["cancelled", "accepted", "rejected", "pending"],
"example": "accepted"
},
"cancellationReason": {
@@ -15952,10 +14404,7 @@
"status": {
"type": "string",
"example": "success",
- "enum": [
- "success",
- "error"
- ]
+ "enum": ["success", "error"]
},
"data": {
"oneOf": [
@@ -15981,10 +14430,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",
@@ -16013,12 +14459,7 @@
},
"status": {
"type": "string",
- "enum": [
- "cancelled",
- "accepted",
- "rejected",
- "pending"
- ],
+ "enum": ["cancelled", "accepted", "rejected", "pending"],
"example": "accepted"
},
"cancellationReason": {
@@ -16143,12 +14584,7 @@
},
"status": {
"type": "string",
- "enum": [
- "cancelled",
- "accepted",
- "rejected",
- "pending"
- ],
+ "enum": ["cancelled", "accepted", "rejected", "pending"],
"example": "accepted"
},
"cancellationReason": {
@@ -16257,10 +14693,7 @@
"status": {
"type": "string",
"example": "success",
- "enum": [
- "success",
- "error"
- ]
+ "enum": ["success", "error"]
},
"data": {
"oneOf": [
@@ -16295,10 +14728,7 @@
"type": "object"
}
},
- "required": [
- "status",
- "data"
- ]
+ "required": ["status", "data"]
},
"GetBookingsOutput_2024_08_13": {
"type": "object",
@@ -16306,10 +14736,7 @@
"status": {
"type": "string",
"example": "success",
- "enum": [
- "success",
- "error"
- ]
+ "enum": ["success", "error"]
},
"data": {
"type": "array",
@@ -16335,10 +14762,7 @@
"type": "object"
}
},
- "required": [
- "status",
- "data"
- ]
+ "required": ["status", "data"]
},
"RescheduleBookingOutput_2024_08_13": {
"type": "object",
@@ -16346,10 +14770,7 @@
"status": {
"type": "string",
"example": "success",
- "enum": [
- "success",
- "error"
- ]
+ "enum": ["success", "error"]
},
"data": {
"oneOf": [
@@ -16369,10 +14790,7 @@
"description": "Booking data, which can be either a BookingOutput object or a RecurringBookingOutput object"
}
},
- "required": [
- "status",
- "data"
- ]
+ "required": ["status", "data"]
},
"CancelBookingOutput_2024_08_13": {
"type": "object",
@@ -16380,10 +14798,7 @@
"status": {
"type": "string",
"example": "success",
- "enum": [
- "success",
- "error"
- ]
+ "enum": ["success", "error"]
},
"data": {
"oneOf": [
@@ -16415,10 +14830,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",
@@ -16442,10 +14854,7 @@
"status": {
"type": "string",
"example": "success",
- "enum": [
- "success",
- "error"
- ]
+ "enum": ["success", "error"]
},
"data": {
"oneOf": [
@@ -16459,10 +14868,7 @@
"description": "Booking data, which can be either a BookingOutput object or a RecurringBookingOutput object"
}
},
- "required": [
- "status",
- "data"
- ]
+ "required": ["status", "data"]
},
"ReassignedToDto": {
"type": "object",
@@ -16480,11 +14886,7 @@
"example": "[email protected]"
}
},
- "required": [
- "id",
- "name",
- "email"
- ]
+ "required": ["id", "name", "email"]
},
"ReassignBookingOutput_2024_08_13": {
"type": "object",
@@ -16492,10 +14894,7 @@
"status": {
"type": "string",
"example": "success",
- "enum": [
- "success",
- "error"
- ]
+ "enum": ["success", "error"]
},
"data": {
"oneOf": [
@@ -16511,10 +14910,7 @@
]
}
},
- "required": [
- "status",
- "data"
- ]
+ "required": ["status", "data"]
},
"ReassignToUserBookingInput_2024_08_13": {
"type": "object",
@@ -16549,20 +14945,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",
@@ -16581,23 +14971,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",
@@ -16605,19 +14985,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",
@@ -16625,19 +14999,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",
@@ -16645,19 +15013,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",
@@ -16667,11 +15029,7 @@
},
"role": {
"type": "string",
- "enum": [
- "MEMBER",
- "OWNER",
- "ADMIN"
- ]
+ "enum": ["MEMBER", "OWNER", "ADMIN"]
},
"disableImpersonation": {
"type": "boolean"
@@ -16684,19 +15042,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",
@@ -16704,19 +15056,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",
@@ -16742,10 +15088,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",
@@ -16802,19 +15145,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",
@@ -16822,10 +15159,7 @@
"status": {
"type": "string",
"example": "success",
- "enum": [
- "success",
- "error"
- ]
+ "enum": ["success", "error"]
},
"data": {
"nullable": true,
@@ -16836,10 +15170,7 @@
]
}
},
- "required": [
- "status",
- "data"
- ]
+ "required": ["status", "data"]
},
"UserWebhookOutputDto": {
"type": "object",
@@ -16871,14 +15202,7 @@
"type": "string"
}
},
- "required": [
- "payloadTemplate",
- "userId",
- "id",
- "triggers",
- "subscriberUrl",
- "active"
- ]
+ "required": ["payloadTemplate", "userId", "id", "triggers", "subscriberUrl", "active"]
},
"UserWebhookOutputResponseDto": {
"type": "object",
@@ -16886,19 +15210,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",
@@ -16906,10 +15224,7 @@
"status": {
"type": "string",
"example": "success",
- "enum": [
- "success",
- "error"
- ]
+ "enum": ["success", "error"]
},
"data": {
"type": "array",
@@ -16918,10 +15233,7 @@
}
}
},
- "required": [
- "status",
- "data"
- ]
+ "required": ["status", "data"]
},
"EventTypeWebhookOutputDto": {
"type": "object",
@@ -16953,14 +15265,7 @@
"type": "string"
}
},
- "required": [
- "payloadTemplate",
- "eventTypeId",
- "id",
- "triggers",
- "subscriberUrl",
- "active"
- ]
+ "required": ["payloadTemplate", "eventTypeId", "id", "triggers", "subscriberUrl", "active"]
},
"EventTypeWebhookOutputResponseDto": {
"type": "object",
@@ -16968,19 +15273,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",
@@ -16988,10 +15287,7 @@
"status": {
"type": "string",
"example": "success",
- "enum": [
- "success",
- "error"
- ]
+ "enum": ["success", "error"]
},
"data": {
"type": "array",
@@ -17000,10 +15296,7 @@
}
}
},
- "required": [
- "status",
- "data"
- ]
+ "required": ["status", "data"]
},
"DeleteManyWebhooksOutputResponseDto": {
"type": "object",
@@ -17011,19 +15304,13 @@
"status": {
"type": "string",
"example": "success",
- "enum": [
- "success",
- "error"
- ]
+ "enum": ["success", "error"]
},
"data": {
"type": "string"
}
},
- "required": [
- "status",
- "data"
- ]
+ "required": ["status", "data"]
},
"OAuthClientWebhookOutputDto": {
"type": "object",
@@ -17055,14 +15342,7 @@
"type": "string"
}
},
- "required": [
- "payloadTemplate",
- "oAuthClientId",
- "id",
- "triggers",
- "subscriberUrl",
- "active"
- ]
+ "required": ["payloadTemplate", "oAuthClientId", "id", "triggers", "subscriberUrl", "active"]
},
"OAuthClientWebhookOutputResponseDto": {
"type": "object",
@@ -17070,19 +15350,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",
@@ -17090,10 +15364,7 @@
"status": {
"type": "string",
"example": "success",
- "enum": [
- "success",
- "error"
- ]
+ "enum": ["success", "error"]
},
"data": {
"type": "array",
@@ -17102,10 +15373,7 @@
}
}
},
- "required": [
- "status",
- "data"
- ]
+ "required": ["status", "data"]
},
"DestinationCalendarsInputBodyDto": {
"type": "object",
@@ -17114,11 +15382,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",
@@ -17126,10 +15390,7 @@
"description": "Unique identifier used to represent the specfic calendar, as returned by the /calendars endpoint"
}
},
- "required": [
- "integration",
- "externalId"
- ]
+ "required": ["integration", "externalId"]
},
"DestinationCalendarsOutputDto": {
"type": "object",
@@ -17148,12 +15409,7 @@
"nullable": true
}
},
- "required": [
- "userId",
- "integration",
- "externalId",
- "credentialId"
- ]
+ "required": ["userId", "integration", "externalId", "credentialId"]
},
"DestinationCalendarsOutputResponseDto": {
"type": "object",
@@ -17161,19 +15417,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",
@@ -17198,30 +15448,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",
@@ -17229,25 +15469,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",
@@ -17256,10 +15488,7 @@
}
}
},
- "required": [
- "status",
- "data"
- ]
+ "required": ["status", "data"]
},
"SetDefaultConferencingAppOutputResponseDto": {
"type": "object",
@@ -17267,15 +15496,10 @@
"status": {
"type": "string",
"example": "success",
- "enum": [
- "success",
- "error"
- ]
+ "enum": ["success", "error"]
}
},
- "required": [
- "status"
- ]
+ "required": ["status"]
},
"DefaultConferencingAppsOutputDto": {
"type": "object",
@@ -17294,18 +15518,13 @@
"status": {
"type": "string",
"example": "success",
- "enum": [
- "success",
- "error"
- ]
+ "enum": ["success", "error"]
},
"data": {
"$ref": "#/components/schemas/DefaultConferencingAppsOutputDto"
}
},
- "required": [
- "status"
- ]
+ "required": ["status"]
},
"DisconnectConferencingAppOutputResponseDto": {
"type": "object",
@@ -17313,16 +15532,11 @@
"status": {
"type": "string",
"example": "success",
- "enum": [
- "success",
- "error"
- ]
+ "enum": ["success", "error"]
}
},
- "required": [
- "status"
- ]
+ "required": ["status"]
}
}
}
-}
\ No newline at end of file
+}