diff --git a/apps/api/v2/src/env.ts b/apps/api/v2/src/env.ts index af0fc72f62..b81b5a81f8 100644 --- a/apps/api/v2/src/env.ts +++ b/apps/api/v2/src/env.ts @@ -21,6 +21,9 @@ export type Environment = { API_KEY_PREFIX: string; DOCS_URL: string; RATE_LIMIT_DEFAULT_TTL_MS: number; + RATE_LIMIT_DEFAULT_LIMIT_API_KEY: number; + RATE_LIMIT_DEFAULT_LIMIT_OAUTH_CLIENT: number; + RATE_LIMIT_DEFAULT_LIMIT_ACCESS_TOKEN: number; RATE_LIMIT_DEFAULT_LIMIT: number; RATE_LIMIT_DEFAULT_BLOCK_DURATION_MS: number; }; diff --git a/apps/api/v2/src/lib/throttler-guard.ts b/apps/api/v2/src/lib/throttler-guard.ts index 372489a40b..c7e4a3c5fb 100644 --- a/apps/api/v2/src/lib/throttler-guard.ts +++ b/apps/api/v2/src/lib/throttler-guard.ts @@ -22,18 +22,23 @@ const rateLimitSchema = z.object({ ttl: z.number(), blockDuration: z.number(), }); - type RateLimitType = z.infer; - const rateLimitsSchema = z.array(rateLimitSchema); +const sixtySecondsMs = 60 * 1000; + @Injectable() export class CustomThrottlerGuard extends ThrottlerGuard { private logger = new Logger("CustomThrottlerGuard"); - private defaultTttl = Number(getEnv("RATE_LIMIT_DEFAULT_TTL_MS", 60 * 1000)); + private defaultTttl = Number(getEnv("RATE_LIMIT_DEFAULT_TTL_MS", sixtySecondsMs)); + + private defaultLimitApiKey = Number(getEnv("RATE_LIMIT_DEFAULT_LIMIT_API_KEY", 120)); + private defaultLimitOAuthClient = Number(getEnv("RATE_LIMIT_DEFAULT_LIMIT_OAUTH_CLIENT", 500)); + private defaultLimitAccessToken = Number(getEnv("RATE_LIMIT_DEFAULT_LIMIT_ACCESS_TOKEN", 500)); private defaultLimit = Number(getEnv("RATE_LIMIT_DEFAULT_LIMIT", 120)); - private defaultBlockDuration = Number(getEnv("RATE_LIMIT_DEFAULT_BLOCK_DURATION_MS", 60 * 1000)); + + private defaultBlockDuration = Number(getEnv("RATE_LIMIT_DEFAULT_BLOCK_DURATION_MS", sixtySecondsMs)); constructor( options: ThrottlerModuleOptions, @@ -83,7 +88,7 @@ export class CustomThrottlerGuard extends ThrottlerGuard { } private async handleNonApiKeyRequest(tracker: string, response: Response): Promise { - const rateLimit = this.getDefaultRateLimit(); + const rateLimit = this.getDefaultRateLimit(tracker); this.logger.log(`Tracker "${tracker}" uses default rate limits because it is not tracking api key: ${JSON.stringify(rateLimit, null, 2)} `); @@ -96,17 +101,25 @@ export class CustomThrottlerGuard extends ThrottlerGuard { return true; } - private getDefaultRateLimit() { + private getDefaultRateLimit(tracker: string) { return { name: "default", - limit: this.getDefaultLimit(), + limit: this.getDefaultLimit(tracker), ttl: this.getDefaultTtl(), blockDuration: this.getDefaultBlockDuration(), }; } - getDefaultLimit() { - return this.defaultLimit; + getDefaultLimit(tracker: string) { + if (tracker.startsWith("api_key_")) { + return this.defaultLimitApiKey; + } else if (tracker.startsWith("oauth_client_")) { + return this.defaultLimitOAuthClient; + } else if (tracker.startsWith("access_token_")) { + return this.defaultLimitAccessToken; + } else { + return this.defaultLimit; + } } getDefaultTtl() { @@ -150,7 +163,7 @@ export class CustomThrottlerGuard extends ThrottlerGuard { } if (!rateLimits || rateLimits.length === 0) { - rateLimits = [this.getDefaultRateLimit()]; + rateLimits = [this.getDefaultRateLimit(tracker)]; this.logger.log(`Tracker "${tracker}" rate limits not found in database. Using default rate limits: ${JSON.stringify(rateLimits, null, 2)}`); } diff --git a/docs/api-reference/v2/openapi.json b/docs/api-reference/v2/openapi.json index 33fd491050..3ec0a9b29c 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/gcal/oauth/auth-url": { @@ -89,9 +85,7 @@ } } }, - "tags": [ - "Platform / Google Calendar" - ] + "tags": ["Platform / Google Calendar"] } }, "/v2/gcal/oauth/save": { @@ -128,9 +122,7 @@ } } }, - "tags": [ - "Platform / Google Calendar" - ] + "tags": ["Platform / Google Calendar"] } }, "/v2/gcal/check": { @@ -150,9 +142,7 @@ } } }, - "tags": [ - "Platform / Google Calendar" - ] + "tags": ["Platform / Google Calendar"] } }, "/v2/oauth-clients/{clientId}/users": { @@ -191,9 +181,7 @@ } } }, - "tags": [ - "Platform / Managed Users" - ] + "tags": ["Platform / Managed Users"] }, "post": { "operationId": "OAuthClientUsersController_createUser", @@ -230,9 +218,7 @@ } } }, - "tags": [ - "Platform / Managed Users" - ] + "tags": ["Platform / Managed Users"] } }, "/v2/oauth-clients/{clientId}/users/{userId}": { @@ -269,9 +255,7 @@ } } }, - "tags": [ - "Platform / Managed Users" - ] + "tags": ["Platform / Managed Users"] }, "patch": { "operationId": "OAuthClientUsersController_updateUser", @@ -316,9 +300,7 @@ } } }, - "tags": [ - "Platform / Managed Users" - ] + "tags": ["Platform / Managed Users"] }, "delete": { "operationId": "OAuthClientUsersController_deleteUser", @@ -353,9 +335,7 @@ } } }, - "tags": [ - "Platform / Managed Users" - ] + "tags": ["Platform / Managed Users"] } }, "/v2/oauth-clients/{clientId}/users/{userId}/force-refresh": { @@ -392,9 +372,7 @@ } } }, - "tags": [ - "Platform / Managed Users" - ] + "tags": ["Platform / Managed Users"] } }, "/v2/oauth-clients/{clientId}/webhooks": { @@ -433,9 +411,7 @@ } } }, - "tags": [ - "Platform / Webhooks" - ] + "tags": ["Platform / Webhooks"] }, "get": { "operationId": "OAuthClientWebhooksController_getOAuthClientWebhooks", @@ -482,9 +458,7 @@ } } }, - "tags": [ - "Platform / Webhooks" - ] + "tags": ["Platform / Webhooks"] }, "delete": { "operationId": "OAuthClientWebhooksController_deleteAllOAuthClientWebhooks", @@ -511,9 +485,7 @@ } } }, - "tags": [ - "Platform / Webhooks" - ] + "tags": ["Platform / Webhooks"] } }, "/v2/oauth-clients/{clientId}/webhooks/{webhookId}": { @@ -552,9 +524,7 @@ } } }, - "tags": [ - "Platform / Webhooks" - ] + "tags": ["Platform / Webhooks"] }, "get": { "operationId": "OAuthClientWebhooksController_getOAuthClientWebhook", @@ -572,9 +542,7 @@ } } }, - "tags": [ - "Platform / Webhooks" - ] + "tags": ["Platform / Webhooks"] }, "delete": { "operationId": "OAuthClientWebhooksController_deleteOAuthClientWebhook", @@ -592,9 +560,7 @@ } } }, - "tags": [ - "Platform / Webhooks" - ] + "tags": ["Platform / Webhooks"] } }, "/v2/organizations/{orgId}/attributes": { @@ -643,9 +609,7 @@ } } }, - "tags": [ - "Orgs / Attributes" - ] + "tags": ["Orgs / Attributes"] }, "post": { "operationId": "OrganizationsAttributesController_createOrganizationAttribute", @@ -682,9 +646,7 @@ } } }, - "tags": [ - "Orgs / Attributes" - ] + "tags": ["Orgs / Attributes"] } }, "/v2/organizations/{orgId}/attributes/{attributeId}": { @@ -721,9 +683,7 @@ } } }, - "tags": [ - "Orgs / Attributes" - ] + "tags": ["Orgs / Attributes"] }, "patch": { "operationId": "OrganizationsAttributesController_updateOrganizationAttribute", @@ -768,9 +728,7 @@ } } }, - "tags": [ - "Orgs / Attributes" - ] + "tags": ["Orgs / Attributes"] }, "delete": { "operationId": "OrganizationsAttributesController_deleteOrganizationAttribute", @@ -805,9 +763,7 @@ } } }, - "tags": [ - "Orgs / Attributes" - ] + "tags": ["Orgs / Attributes"] } }, "/v2/organizations/{orgId}/attributes/{attributeId}/options": { @@ -854,9 +810,7 @@ } } }, - "tags": [ - "Orgs / Attributes / Options" - ] + "tags": ["Orgs / Attributes / Options"] }, "get": { "operationId": "OrganizationsOptionsAttributesController_getOrganizationAttributeOptions", @@ -891,9 +845,7 @@ } } }, - "tags": [ - "Orgs / Attributes / Options" - ] + "tags": ["Orgs / Attributes / Options"] } }, "/v2/organizations/{orgId}/attributes/{attributeId}/options/{optionId}": { @@ -938,9 +890,7 @@ } } }, - "tags": [ - "Orgs / Attributes / Options" - ] + "tags": ["Orgs / Attributes / Options"] }, "patch": { "operationId": "OrganizationsOptionsAttributesController_updateOrganizationAttributeOption", @@ -993,9 +943,7 @@ } } }, - "tags": [ - "Orgs / Attributes / Options" - ] + "tags": ["Orgs / Attributes / Options"] } }, "/v2/organizations/{orgId}/attributes/options/{userId}": { @@ -1042,9 +990,7 @@ } } }, - "tags": [ - "Orgs / Attributes / Options" - ] + "tags": ["Orgs / Attributes / Options"] }, "get": { "operationId": "OrganizationsOptionsAttributesController_getOrganizationAttributeOptionsForUser", @@ -1079,9 +1025,7 @@ } } }, - "tags": [ - "Orgs / Attributes / Options" - ] + "tags": ["Orgs / Attributes / Options"] } }, "/v2/organizations/{orgId}/attributes/options/{userId}/{attributeOptionId}": { @@ -1126,9 +1070,7 @@ } } }, - "tags": [ - "Orgs / Attributes / Options" - ] + "tags": ["Orgs / Attributes / Options"] } }, "/v2/organizations/{orgId}/teams/{teamId}/event-types": { @@ -1175,9 +1117,7 @@ } } }, - "tags": [ - "Orgs / Event Types" - ] + "tags": ["Orgs / Event Types"] }, "get": { "operationId": "OrganizationsEventTypesController_getTeamEventTypes", @@ -1213,9 +1153,7 @@ } } }, - "tags": [ - "Orgs / Event Types" - ] + "tags": ["Orgs / Event Types"] } }, "/v2/organizations/{orgId}/teams/{teamId}/event-types/{eventTypeId}": { @@ -1252,9 +1190,7 @@ } } }, - "tags": [ - "Orgs / Event Types" - ] + "tags": ["Orgs / Event Types"] }, "patch": { "operationId": "OrganizationsEventTypesController_updateTeamEventType", @@ -1299,9 +1235,7 @@ } } }, - "tags": [ - "Orgs / Event Types" - ] + "tags": ["Orgs / Event Types"] }, "delete": { "operationId": "OrganizationsEventTypesController_deleteTeamEventType", @@ -1336,9 +1270,7 @@ } } }, - "tags": [ - "Orgs / Event Types" - ] + "tags": ["Orgs / Event Types"] } }, "/v2/organizations/{orgId}/teams/{teamId}/event-types/{eventTypeId}/create-phone-call": { @@ -1385,9 +1317,7 @@ } } }, - "tags": [ - "Orgs / Event Types" - ] + "tags": ["Orgs / Event Types"] } }, "/v2/organizations/{orgId}/teams/event-types": { @@ -1436,9 +1366,7 @@ } } }, - "tags": [ - "Orgs / Event Types" - ] + "tags": ["Orgs / Event Types"] } }, "/v2/organizations/{orgId}/memberships": { @@ -1487,9 +1415,7 @@ } } }, - "tags": [ - "Orgs / Memberships" - ] + "tags": ["Orgs / Memberships"] }, "post": { "operationId": "OrganizationsMembershipsController_createMembership", @@ -1526,9 +1452,7 @@ } } }, - "tags": [ - "Orgs / Memberships" - ] + "tags": ["Orgs / Memberships"] } }, "/v2/organizations/{orgId}/memberships/{membershipId}": { @@ -1565,9 +1489,7 @@ } } }, - "tags": [ - "Orgs / Memberships" - ] + "tags": ["Orgs / Memberships"] }, "delete": { "operationId": "OrganizationsMembershipsController_deleteMembership", @@ -1602,9 +1524,7 @@ } } }, - "tags": [ - "Orgs / Memberships" - ] + "tags": ["Orgs / Memberships"] }, "patch": { "operationId": "OrganizationsMembershipsController_updateMembership", @@ -1649,9 +1569,7 @@ } } }, - "tags": [ - "Orgs / Memberships" - ] + "tags": ["Orgs / Memberships"] } }, "/v2/organizations/{orgId}/schedules": { @@ -1700,9 +1618,7 @@ } } }, - "tags": [ - "Orgs / Schedules" - ] + "tags": ["Orgs / Schedules"] } }, "/v2/organizations/{orgId}/users/{userId}/schedules": { @@ -1741,10 +1657,7 @@ } } }, - "tags": [ - "Orgs / Schedules", - "Orgs / Users / Schedules" - ] + "tags": ["Orgs / Schedules", "Orgs / Users / Schedules"] }, "get": { "operationId": "OrganizationsSchedulesController_getUserSchedules", @@ -1771,10 +1684,7 @@ } } }, - "tags": [ - "Orgs / Schedules", - "Orgs / Users / Schedules" - ] + "tags": ["Orgs / Schedules", "Orgs / Users / Schedules"] } }, "/v2/organizations/{orgId}/users/{userId}/schedules/{scheduleId}": { @@ -1811,10 +1721,7 @@ } } }, - "tags": [ - "Orgs / Schedules", - "Orgs / Users / Schedules" - ] + "tags": ["Orgs / Schedules", "Orgs / Users / Schedules"] }, "patch": { "operationId": "OrganizationsSchedulesController_updateUserSchedule", @@ -1859,10 +1766,7 @@ } } }, - "tags": [ - "Orgs / Schedules", - "Orgs / Users / Schedules" - ] + "tags": ["Orgs / Schedules", "Orgs / Users / Schedules"] }, "delete": { "operationId": "OrganizationsSchedulesController_deleteUserSchedule", @@ -1897,10 +1801,7 @@ } } }, - "tags": [ - "Orgs / Schedules", - "Orgs / Users / Schedules" - ] + "tags": ["Orgs / Schedules", "Orgs / Users / Schedules"] } }, "/v2/organizations/{orgId}/teams": { @@ -1949,10 +1850,7 @@ } } }, - "tags": [ - "Orgs / Teams", - "Teams" - ] + "tags": ["Orgs / Teams", "Teams"] }, "post": { "operationId": "OrganizationsTeamsController_createTeam", @@ -1997,9 +1895,7 @@ } } }, - "tags": [ - "Orgs / Teams" - ] + "tags": ["Orgs / Teams"] } }, "/v2/organizations/{orgId}/teams/me": { @@ -2048,9 +1944,7 @@ } } }, - "tags": [ - "Orgs / Teams" - ] + "tags": ["Orgs / Teams"] } }, "/v2/organizations/{orgId}/teams/{teamId}": { @@ -2070,9 +1964,7 @@ } } }, - "tags": [ - "Orgs / Teams" - ] + "tags": ["Orgs / Teams"] }, "delete": { "operationId": "OrganizationsTeamsController_deleteTeam", @@ -2107,9 +1999,7 @@ } } }, - "tags": [ - "Orgs / Teams" - ] + "tags": ["Orgs / Teams"] }, "patch": { "operationId": "OrganizationsTeamsController_updateTeam", @@ -2154,9 +2044,7 @@ } } }, - "tags": [ - "Orgs / Teams" - ] + "tags": ["Orgs / Teams"] } }, "/v2/organizations/{orgId}/teams/{teamId}/memberships": { @@ -2213,9 +2101,7 @@ } } }, - "tags": [ - "Orgs / Teams / Memberships" - ] + "tags": ["Orgs / Teams / Memberships"] }, "post": { "operationId": "OrganizationsTeamsMembershipsController_createOrgTeamMembership", @@ -2260,9 +2146,7 @@ } } }, - "tags": [ - "Orgs / Teams / Memberships" - ] + "tags": ["Orgs / Teams / Memberships"] } }, "/v2/organizations/{orgId}/teams/{teamId}/memberships/{membershipId}": { @@ -2307,9 +2191,7 @@ } } }, - "tags": [ - "Orgs / Teams / Memberships" - ] + "tags": ["Orgs / Teams / Memberships"] }, "delete": { "operationId": "OrganizationsTeamsMembershipsController_deleteOrgTeamMembership", @@ -2352,9 +2234,7 @@ } } }, - "tags": [ - "Orgs / Teams / Memberships" - ] + "tags": ["Orgs / Teams / Memberships"] }, "patch": { "operationId": "OrganizationsTeamsMembershipsController_updateOrgTeamMembership", @@ -2407,9 +2287,7 @@ } } }, - "tags": [ - "Orgs / Teams / Memberships" - ] + "tags": ["Orgs / Teams / Memberships"] } }, "/v2/organizations/{orgId}/users": { @@ -2470,9 +2348,7 @@ } } }, - "tags": [ - "Orgs / Users" - ] + "tags": ["Orgs / Users"] }, "post": { "operationId": "OrganizationsUsersController_createOrganizationUser", @@ -2509,9 +2385,7 @@ } } }, - "tags": [ - "Orgs / Users" - ] + "tags": ["Orgs / Users"] } }, "/v2/organizations/{orgId}/users/{userId}": { @@ -2558,9 +2432,7 @@ } } }, - "tags": [ - "Orgs / Users" - ] + "tags": ["Orgs / Users"] }, "delete": { "operationId": "OrganizationsUsersController_deleteOrganizationUser", @@ -2595,9 +2467,7 @@ } } }, - "tags": [ - "Orgs / Users" - ] + "tags": ["Orgs / Users"] } }, "/v2/organizations/{orgId}/webhooks": { @@ -2646,9 +2516,7 @@ } } }, - "tags": [ - "Orgs / Webhooks" - ] + "tags": ["Orgs / Webhooks"] }, "post": { "operationId": "OrganizationsWebhooksController_createOrganizationWebhook", @@ -2685,9 +2553,7 @@ } } }, - "tags": [ - "Orgs / Webhooks" - ] + "tags": ["Orgs / Webhooks"] } }, "/v2/organizations/{orgId}/webhooks/{webhookId}": { @@ -2716,9 +2582,7 @@ } } }, - "tags": [ - "Orgs / Webhooks" - ] + "tags": ["Orgs / Webhooks"] }, "delete": { "operationId": "OrganizationsWebhooksController_deleteWebhook", @@ -2745,9 +2609,7 @@ } } }, - "tags": [ - "Orgs / Webhooks" - ] + "tags": ["Orgs / Webhooks"] }, "patch": { "operationId": "OrganizationsWebhooksController_updateOrgWebhook", @@ -2784,9 +2646,7 @@ } } }, - "tags": [ - "Orgs / Webhooks" - ] + "tags": ["Orgs / Webhooks"] } }, "/v2/bookings": { @@ -2838,9 +2698,7 @@ } } }, - "tags": [ - "Bookings" - ] + "tags": ["Bookings"] }, "get": { "operationId": "BookingsController_2024_08_13_getBookings", @@ -2865,13 +2723,7 @@ "type": "array", "items": { "type": "string", - "enum": [ - "upcoming", - "recurring", - "past", - "cancelled", - "unconfirmed" - ] + "enum": ["upcoming", "recurring", "past", "cancelled", "unconfirmed"] } } }, @@ -2962,10 +2814,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" } }, @@ -2976,10 +2825,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" } }, @@ -2990,10 +2836,7 @@ "description": "Sort results by their creation time (when booking was made) in ascending or descending order.", "example": "?sortEnd=asc OR ?sortEnd=desc", "schema": { - "enum": [ - "asc", - "desc" - ], + "enum": ["asc", "desc"], "type": "string" } }, @@ -3039,9 +2882,7 @@ } } }, - "tags": [ - "Bookings" - ] + "tags": ["Bookings"] } }, "/v2/bookings/{bookingUid}": { @@ -3080,9 +2921,7 @@ } } }, - "tags": [ - "Bookings" - ] + "tags": ["Bookings"] } }, "/v2/bookings/{bookingUid}/reschedule": { @@ -3131,9 +2970,7 @@ } } }, - "tags": [ - "Bookings" - ] + "tags": ["Bookings"] } }, "/v2/bookings/{bookingUid}/cancel": { @@ -3181,9 +3018,7 @@ } } }, - "tags": [ - "Bookings" - ] + "tags": ["Bookings"] } }, "/v2/bookings/{bookingUid}/mark-absent": { @@ -3240,9 +3075,7 @@ } } }, - "tags": [ - "Bookings" - ] + "tags": ["Bookings"] } }, "/v2/calendars/ics-feed/save": { @@ -3272,9 +3105,7 @@ } } }, - "tags": [ - "Calendars" - ] + "tags": ["Calendars"] } }, "/v2/calendars/ics-feed/check": { @@ -3294,9 +3125,7 @@ } } }, - "tags": [ - "Calendars" - ] + "tags": ["Calendars"] } }, "/v2/calendars/busy-times": { @@ -3340,9 +3169,7 @@ } } }, - "tags": [ - "Calendars" - ] + "tags": ["Calendars"] } }, "/v2/calendars": { @@ -3362,9 +3189,7 @@ } } }, - "tags": [ - "Calendars" - ] + "tags": ["Calendars"] } }, "/v2/calendars/{calendar}/connect": { @@ -3401,9 +3226,7 @@ } } }, - "tags": [ - "Calendars" - ] + "tags": ["Calendars"] } }, "/v2/calendars/{calendar}/save": { @@ -3441,9 +3264,7 @@ "description": "" } }, - "tags": [ - "Calendars" - ] + "tags": ["Calendars"] } }, "/v2/calendars/{calendar}/credentials": { @@ -3465,9 +3286,7 @@ "description": "" } }, - "tags": [ - "Calendars" - ] + "tags": ["Calendars"] } }, "/v2/calendars/{calendar}/check": { @@ -3496,9 +3315,7 @@ } } }, - "tags": [ - "Calendars" - ] + "tags": ["Calendars"] } }, "/v2/calendars/{calendar}/disconnect": { @@ -3537,9 +3354,7 @@ } } }, - "tags": [ - "Calendars" - ] + "tags": ["Calendars"] } }, "/v2/destination-calendars": { @@ -3569,9 +3384,7 @@ } } }, - "tags": [ - "Destination Calendars" - ] + "tags": ["Destination Calendars"] } }, "/v2/event-types": { @@ -3620,9 +3433,7 @@ } } }, - "tags": [ - "Event Types" - ] + "tags": ["Event Types"] }, "get": { "operationId": "EventTypesController_2024_06_14_getEventTypes", @@ -3677,9 +3488,7 @@ } } }, - "tags": [ - "Event Types" - ] + "tags": ["Event Types"] } }, "/v2/event-types/{eventTypeId}": { @@ -3726,9 +3535,7 @@ } } }, - "tags": [ - "Event Types" - ] + "tags": ["Event Types"] }, "patch": { "operationId": "EventTypesController_2024_06_14_updateEventType", @@ -3783,9 +3590,7 @@ } } }, - "tags": [ - "Event Types" - ] + "tags": ["Event Types"] }, "delete": { "operationId": "EventTypesController_2024_06_14_deleteEventType", @@ -3830,9 +3635,7 @@ } } }, - "tags": [ - "Event Types" - ] + "tags": ["Event Types"] } }, "/v2/event-types/{eventTypeId}/webhooks": { @@ -3871,9 +3674,7 @@ } } }, - "tags": [ - "Event Types / Webhooks" - ] + "tags": ["Event Types / Webhooks"] }, "get": { "operationId": "EventTypeWebhooksController_getEventTypeWebhooks", @@ -3920,9 +3721,7 @@ } } }, - "tags": [ - "Event Types / Webhooks" - ] + "tags": ["Event Types / Webhooks"] }, "delete": { "operationId": "EventTypeWebhooksController_deleteAllEventTypeWebhooks", @@ -3949,9 +3748,7 @@ } } }, - "tags": [ - "Event Types / Webhooks" - ] + "tags": ["Event Types / Webhooks"] } }, "/v2/event-types/{eventTypeId}/webhooks/{webhookId}": { @@ -3990,9 +3787,7 @@ } } }, - "tags": [ - "Event Types / Webhooks" - ] + "tags": ["Event Types / Webhooks"] }, "get": { "operationId": "EventTypeWebhooksController_getEventTypeWebhook", @@ -4010,9 +3805,7 @@ } } }, - "tags": [ - "Event Types / Webhooks" - ] + "tags": ["Event Types / Webhooks"] }, "delete": { "operationId": "EventTypeWebhooksController_deleteEventTypeWebhook", @@ -4030,9 +3823,7 @@ } } }, - "tags": [ - "Event Types / Webhooks" - ] + "tags": ["Event Types / Webhooks"] } }, "/health": { @@ -4051,9 +3842,7 @@ } } }, - "tags": [ - "Health - development only" - ] + "tags": ["Health - development only"] } }, "/v2/me": { @@ -4073,9 +3862,7 @@ } } }, - "tags": [ - "Me" - ] + "tags": ["Me"] }, "patch": { "operationId": "MeController_updateMe", @@ -4103,9 +3890,7 @@ } } }, - "tags": [ - "Me" - ] + "tags": ["Me"] } }, "/v2/oauth/{clientId}/authorize": { @@ -4141,9 +3926,7 @@ "description": "Bad request if the OAuth client is not found, if the redirect URI is invalid, or if the user has already authorized the client." } }, - "tags": [ - "OAuth" - ] + "tags": ["OAuth"] } }, "/v2/oauth/{clientId}/exchange": { @@ -4194,9 +3977,7 @@ "description": "Bad request if the authorization code is missing, invalid, or if the client ID and secret do not match." } }, - "tags": [ - "OAuth" - ] + "tags": ["OAuth"] } }, "/v2/oauth/{clientId}/refresh": { @@ -4243,10 +4024,7 @@ } } }, - "tags": [ - "OAuth", - "Managed users" - ] + "tags": ["OAuth", "Managed users"] } }, "/v2/oauth-clients": { @@ -4277,9 +4055,7 @@ } } }, - "tags": [ - "OAuth - development only" - ] + "tags": ["OAuth - development only"] }, "get": { "operationId": "OAuthClientsController_getOAuthClients", @@ -4298,9 +4074,7 @@ } } }, - "tags": [ - "OAuth - development only" - ] + "tags": ["OAuth - development only"] } }, "/v2/oauth-clients/{clientId}": { @@ -4330,9 +4104,7 @@ } } }, - "tags": [ - "OAuth - development only" - ] + "tags": ["OAuth - development only"] }, "patch": { "operationId": "OAuthClientsController_updateOAuthClient", @@ -4370,9 +4142,7 @@ } } }, - "tags": [ - "OAuth - development only" - ] + "tags": ["OAuth - development only"] }, "delete": { "operationId": "OAuthClientsController_deleteOAuthClient", @@ -4400,9 +4170,7 @@ } } }, - "tags": [ - "OAuth - development only" - ] + "tags": ["OAuth - development only"] } }, "/v2/oauth-clients/{clientId}/managed-users": { @@ -4442,9 +4210,7 @@ } } }, - "tags": [ - "OAuth - development only" - ] + "tags": ["OAuth - development only"] } }, "/v2/schedules": { @@ -4494,9 +4260,7 @@ } } }, - "tags": [ - "Schedules" - ] + "tags": ["Schedules"] }, "get": { "operationId": "SchedulesController_2024_06_11_getSchedules", @@ -4534,9 +4298,7 @@ } } }, - "tags": [ - "Schedules" - ] + "tags": ["Schedules"] } }, "/v2/schedules/default": { @@ -4576,9 +4338,7 @@ } } }, - "tags": [ - "Schedules" - ] + "tags": ["Schedules"] } }, "/v2/schedules/{scheduleId}": { @@ -4625,9 +4385,7 @@ } } }, - "tags": [ - "Schedules" - ] + "tags": ["Schedules"] }, "patch": { "operationId": "SchedulesController_2024_06_11_updateSchedule", @@ -4682,9 +4440,7 @@ } } }, - "tags": [ - "Schedules" - ] + "tags": ["Schedules"] }, "delete": { "operationId": "SchedulesController_2024_06_11_deleteSchedule", @@ -4729,9 +4485,7 @@ } } }, - "tags": [ - "Schedules" - ] + "tags": ["Schedules"] } }, "/v2/selected-calendars": { @@ -4761,9 +4515,7 @@ } } }, - "tags": [ - "Selected Calendars" - ] + "tags": ["Selected Calendars"] }, "delete": { "operationId": "SelectedCalendarsController_removeSelectedCalendar", @@ -4806,9 +4558,7 @@ } } }, - "tags": [ - "Selected Calendars" - ] + "tags": ["Selected Calendars"] } }, "/v2/slots/reserve": { @@ -4853,9 +4603,7 @@ } } }, - "tags": [ - "Slots" - ] + "tags": ["Slots"] } }, "/v2/slots/selected-slot": { @@ -4892,9 +4640,7 @@ } } }, - "tags": [ - "Slots" - ] + "tags": ["Slots"] } }, "/v2/slots/available": { @@ -5028,9 +4774,7 @@ } } }, - "tags": [ - "Slots" - ] + "tags": ["Slots"] } }, "/v2/stripe/connect": { @@ -5059,9 +4803,7 @@ } } }, - "tags": [ - "Stripe" - ] + "tags": ["Stripe"] } }, "/v2/stripe/save": { @@ -5098,9 +4840,7 @@ } } }, - "tags": [ - "Stripe" - ] + "tags": ["Stripe"] } }, "/v2/stripe/check": { @@ -5120,9 +4860,7 @@ } } }, - "tags": [ - "Stripe" - ] + "tags": ["Stripe"] } }, "/v2/timezones": { @@ -5142,9 +4880,7 @@ } } }, - "tags": [ - "Timezones" - ] + "tags": ["Timezones"] } }, "/v2/webhooks": { @@ -5174,9 +4910,7 @@ } } }, - "tags": [ - "Webhooks" - ] + "tags": ["Webhooks"] }, "get": { "operationId": "WebhooksController_getWebhooks", @@ -5215,9 +4949,7 @@ } } }, - "tags": [ - "Webhooks" - ] + "tags": ["Webhooks"] } }, "/v2/webhooks/{webhookId}": { @@ -5256,9 +4988,7 @@ } } }, - "tags": [ - "Webhooks" - ] + "tags": ["Webhooks"] }, "get": { "operationId": "WebhooksController_getWebhook", @@ -5276,9 +5006,7 @@ } } }, - "tags": [ - "Webhooks" - ] + "tags": ["Webhooks"] }, "delete": { "operationId": "WebhooksController_deleteWebhook", @@ -5305,9 +5033,7 @@ } } }, - "tags": [ - "Webhooks" - ] + "tags": ["Webhooks"] } } }, @@ -5431,10 +5157,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "type": "array", @@ -5443,10 +5166,7 @@ } } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "CreateManagedUserInput": { "type": "object", @@ -5462,25 +5182,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", @@ -5536,10 +5245,7 @@ "example": "en" } }, - "required": [ - "email", - "name" - ] + "required": ["email", "name"] }, "CreateManagedUserData": { "type": "object", @@ -5557,12 +5263,7 @@ "type": "number" } }, - "required": [ - "user", - "accessToken", - "refreshToken", - "accessTokenExpiresAt" - ] + "required": ["user", "accessToken", "refreshToken", "accessTokenExpiresAt"] }, "CreateManagedUserOutput": { "type": "object", @@ -5570,19 +5271,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/CreateManagedUserData" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "GetManagedUserOutput": { "type": "object", @@ -5590,43 +5285,26 @@ "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", "properties": { "timeFormat": { "type": "number", - "enum": [ - 12, - 24 - ], + "enum": [12, 24], "example": 12, "description": "Must be 12 or 24" }, "weekStart": { "type": "string", - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday" - ], + "enum": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"], "example": "Monday" }, "locale": { @@ -5706,11 +5384,7 @@ "type": "number" } }, - "required": [ - "accessToken", - "refreshToken", - "accessTokenExpiresAt" - ] + "required": ["accessToken", "refreshToken", "accessTokenExpiresAt"] }, "KeysResponseDto": { "type": "object", @@ -5718,19 +5392,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", @@ -5748,20 +5416,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": { @@ -5776,10 +5438,7 @@ ] } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "PlatformOAuthClientDto": { "type": "object", @@ -5806,9 +5465,7 @@ "example": "https://example.com/logo.png" }, "redirectUris": { - "example": [ - "https://example.com/callback" - ], + "example": ["https://example.com/callback"], "type": "array", "items": { "type": "string" @@ -5824,15 +5481,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", @@ -5840,10 +5489,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "type": "array", @@ -5852,10 +5498,7 @@ } } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "GetOAuthClientResponseDto": { "type": "object", @@ -5863,19 +5506,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", @@ -5914,9 +5551,7 @@ "type": "string" } }, - "required": [ - "redirectUri" - ] + "required": ["redirectUri"] }, "ExchangeAuthorizationCodeInput": { "type": "object", @@ -5925,9 +5560,7 @@ "type": "string" } }, - "required": [ - "clientSecret" - ] + "required": ["clientSecret"] }, "RefreshTokenInput": { "type": "object", @@ -5937,9 +5570,7 @@ "description": "Managed user's refresh token." } }, - "required": [ - "refreshToken" - ] + "required": ["refreshToken"] }, "AddressLocation_2024_06_14": { "type": "object", @@ -5957,11 +5588,7 @@ "type": "boolean" } }, - "required": [ - "type", - "address", - "public" - ] + "required": ["type", "address", "public"] }, "LinkLocation_2024_06_14": { "type": "object", @@ -5979,11 +5606,7 @@ "type": "boolean" } }, - "required": [ - "type", - "link", - "public" - ] + "required": ["type", "link", "public"] }, "IntegrationLocation_2024_06_14": { "type": "object", @@ -5996,15 +5619,10 @@ "integration": { "type": "string", "example": "cal-video", - "enum": [ - "cal-video" - ] + "enum": ["cal-video"] } }, - "required": [ - "type", - "integration" - ] + "required": ["type", "integration"] }, "PhoneLocation_2024_06_14": { "type": "object", @@ -6022,11 +5640,7 @@ "type": "boolean" } }, - "required": [ - "type", - "phone", - "public" - ] + "required": ["type", "phone", "public"] }, "PhoneFieldInput_2024_06_14": { "type": "object", @@ -6051,13 +5665,7 @@ "type": "string" } }, - "required": [ - "type", - "slug", - "label", - "required", - "placeholder" - ] + "required": ["type", "slug", "label", "required", "placeholder"] }, "AddressFieldInput_2024_06_14": { "type": "object", @@ -6084,13 +5692,7 @@ "example": "e.g., 1234 Main St" } }, - "required": [ - "type", - "slug", - "label", - "required", - "placeholder" - ] + "required": ["type", "slug", "label", "required", "placeholder"] }, "TextFieldInput_2024_06_14": { "type": "object", @@ -6117,13 +5719,7 @@ "example": "e.g., Enter text here" } }, - "required": [ - "type", - "slug", - "label", - "required", - "placeholder" - ] + "required": ["type", "slug", "label", "required", "placeholder"] }, "NumberFieldInput_2024_06_14": { "type": "object", @@ -6150,13 +5746,7 @@ "example": "e.g., 100" } }, - "required": [ - "type", - "slug", - "label", - "required", - "placeholder" - ] + "required": ["type", "slug", "label", "required", "placeholder"] }, "TextAreaFieldInput_2024_06_14": { "type": "object", @@ -6183,13 +5773,7 @@ "example": "e.g., Detailed description here..." } }, - "required": [ - "type", - "slug", - "label", - "required", - "placeholder" - ] + "required": ["type", "slug", "label", "required", "placeholder"] }, "SelectFieldInput_2024_06_14": { "type": "object", @@ -6216,24 +5800,14 @@ "example": "Select..." }, "options": { - "example": [ - "Option 1", - "Option 2" - ], + "example": ["Option 1", "Option 2"], "type": "array", "items": { "type": "string" } } }, - "required": [ - "type", - "slug", - "label", - "required", - "placeholder", - "options" - ] + "required": ["type", "slug", "label", "required", "placeholder", "options"] }, "MultiSelectFieldInput_2024_06_14": { "type": "object", @@ -6256,23 +5830,14 @@ "type": "boolean" }, "options": { - "example": [ - "Option 1", - "Option 2" - ], + "example": ["Option 1", "Option 2"], "type": "array", "items": { "type": "string" } } }, - "required": [ - "type", - "slug", - "label", - "required", - "options" - ] + "required": ["type", "slug", "label", "required", "options"] }, "MultiEmailFieldInput_2024_06_14": { "type": "object", @@ -6299,13 +5864,7 @@ "example": "e.g., example@example.com" } }, - "required": [ - "type", - "slug", - "label", - "required", - "placeholder" - ] + "required": ["type", "slug", "label", "required", "placeholder"] }, "CheckboxGroupFieldInput_2024_06_14": { "type": "object", @@ -6328,23 +5887,14 @@ "type": "boolean" }, "options": { - "example": [ - "Checkbox 1", - "Checkbox 2" - ], + "example": ["Checkbox 1", "Checkbox 2"], "type": "array", "items": { "type": "string" } } }, - "required": [ - "type", - "slug", - "label", - "required", - "options" - ] + "required": ["type", "slug", "label", "required", "options"] }, "RadioGroupFieldInput_2024_06_14": { "type": "object", @@ -6367,23 +5917,14 @@ "type": "boolean" }, "options": { - "example": [ - "Radio 1", - "Radio 2" - ], + "example": ["Radio 1", "Radio 2"], "type": "array", "items": { "type": "string" } } }, - "required": [ - "type", - "slug", - "label", - "required", - "options" - ] + "required": ["type", "slug", "label", "required", "options"] }, "BooleanFieldInput_2024_06_14": { "type": "object", @@ -6406,23 +5947,14 @@ "type": "boolean" } }, - "required": [ - "type", - "slug", - "label", - "required" - ] + "required": ["type", "slug", "label", "required"] }, "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": { @@ -6436,21 +5968,14 @@ "description": "If true, the window will be rolling aka from the moment that someone is trying to book this event. Otherwise it will be specified amount of days from the current date." } }, - "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": { @@ -6464,28 +5989,18 @@ "description": "If true, the window will be rolling aka from the moment that someone is trying to book this event. Otherwise it will be specified amount of days from the current date." } }, - "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": { @@ -6493,10 +6008,7 @@ } } }, - "required": [ - "type", - "value" - ] + "required": ["type", "value"] }, "BaseBookingLimitsCount_2024_06_14": { "type": "object", @@ -6533,9 +6045,7 @@ "default": false } }, - "required": [ - "disabled" - ] + "required": ["disabled"] }, "BaseBookingLimitsDuration_2024_06_14": { "type": "object", @@ -6577,18 +6087,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", @@ -6604,10 +6106,7 @@ "example": 30 } }, - "required": [ - "unit", - "count" - ] + "required": ["unit", "count"] }, "BaseConfirmationPolicy_2024_06_14": { "type": "object", @@ -6626,9 +6125,7 @@ ] } }, - "required": [ - "type" - ] + "required": ["type"] }, "Seats_2024_06_14": { "type": "object", @@ -6649,39 +6146,24 @@ "example": true } }, - "required": [ - "seatsPerTimeSlot", - "showAttendeeInfo", - "showAvailabilityCount" - ] + "required": ["seatsPerTimeSlot", "showAttendeeInfo", "showAvailabilityCount"] }, "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", @@ -6697,10 +6179,7 @@ "example": "#fafafa" } }, - "required": [ - "lightThemeHex", - "darkThemeHex" - ] + "required": ["lightThemeHex", "darkThemeHex"] }, "DestinationCalendar_2024_06_14": { "type": "object", @@ -6714,10 +6193,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", @@ -6938,11 +6414,7 @@ "type": "boolean" } }, - "required": [ - "lengthInMinutes", - "title", - "slug" - ] + "required": ["lengthInMinutes", "title", "slug"] }, "EmailDefaultFieldOutput_2024_06_14": { "type": "object", @@ -6965,12 +6437,7 @@ "type": "boolean" } }, - "required": [ - "isDefault", - "slug", - "type", - "required" - ] + "required": ["isDefault", "slug", "type", "required"] }, "NameDefaultFieldOutput_2024_06_14": { "type": "object", @@ -6993,12 +6460,7 @@ "type": "boolean" } }, - "required": [ - "isDefault", - "slug", - "type", - "required" - ] + "required": ["isDefault", "slug", "type", "required"] }, "LocationDefaultFieldOutput_2024_06_14": { "type": "object", @@ -7021,12 +6483,7 @@ "type": "boolean" } }, - "required": [ - "isDefault", - "slug", - "type", - "required" - ] + "required": ["isDefault", "slug", "type", "required"] }, "RescheduleReasonDefaultFieldOutput_2024_06_14": { "type": "object", @@ -7049,12 +6506,7 @@ "type": "boolean" } }, - "required": [ - "isDefault", - "slug", - "type", - "required" - ] + "required": ["isDefault", "slug", "type", "required"] }, "TitleDefaultFieldOutput_2024_06_14": { "type": "object", @@ -7077,12 +6529,7 @@ "type": "boolean" } }, - "required": [ - "isDefault", - "slug", - "type", - "required" - ] + "required": ["isDefault", "slug", "type", "required"] }, "NotesDefaultFieldOutput_2024_06_14": { "type": "object", @@ -7105,12 +6552,7 @@ "type": "boolean" } }, - "required": [ - "isDefault", - "slug", - "type", - "required" - ] + "required": ["isDefault", "slug", "type", "required"] }, "GuestsDefaultFieldOutput_2024_06_14": { "type": "object", @@ -7133,12 +6575,7 @@ "type": "boolean" } }, - "required": [ - "isDefault", - "slug", - "type", - "required" - ] + "required": ["isDefault", "slug", "type", "required"] }, "AddressFieldOutput_2024_06_14": { "type": "object", @@ -7184,13 +6621,7 @@ "example": false } }, - "required": [ - "type", - "slug", - "label", - "required", - "isDefault" - ] + "required": ["type", "slug", "label", "required", "isDefault"] }, "BooleanFieldOutput_2024_06_14": { "type": "object", @@ -7232,13 +6663,7 @@ "example": false } }, - "required": [ - "type", - "slug", - "label", - "required", - "isDefault" - ] + "required": ["type", "slug", "label", "required", "isDefault"] }, "CheckboxGroupFieldOutput_2024_06_14": { "type": "object", @@ -7274,10 +6699,7 @@ "type": "boolean" }, "options": { - "example": [ - "Checkbox 1", - "Checkbox 2" - ], + "example": ["Checkbox 1", "Checkbox 2"], "type": "array", "items": { "type": "string" @@ -7290,14 +6712,7 @@ "example": false } }, - "required": [ - "type", - "slug", - "label", - "required", - "options", - "isDefault" - ] + "required": ["type", "slug", "label", "required", "options", "isDefault"] }, "MultiEmailFieldOutput_2024_06_14": { "type": "object", @@ -7343,13 +6758,7 @@ "example": false } }, - "required": [ - "type", - "slug", - "label", - "required", - "isDefault" - ] + "required": ["type", "slug", "label", "required", "isDefault"] }, "MultiSelectFieldOutput_2024_06_14": { "type": "object", @@ -7385,10 +6794,7 @@ "type": "boolean" }, "options": { - "example": [ - "Option 1", - "Option 2" - ], + "example": ["Option 1", "Option 2"], "type": "array", "items": { "type": "string" @@ -7401,14 +6807,7 @@ "example": false } }, - "required": [ - "type", - "slug", - "label", - "required", - "options", - "isDefault" - ] + "required": ["type", "slug", "label", "required", "options", "isDefault"] }, "NumberFieldOutput_2024_06_14": { "type": "object", @@ -7454,13 +6853,7 @@ "example": false } }, - "required": [ - "type", - "slug", - "label", - "required", - "isDefault" - ] + "required": ["type", "slug", "label", "required", "isDefault"] }, "PhoneFieldOutput_2024_06_14": { "type": "object", @@ -7504,13 +6897,7 @@ "example": false } }, - "required": [ - "type", - "slug", - "label", - "required", - "isDefault" - ] + "required": ["type", "slug", "label", "required", "isDefault"] }, "RadioGroupFieldOutput_2024_06_14": { "type": "object", @@ -7546,10 +6933,7 @@ "type": "boolean" }, "options": { - "example": [ - "Radio 1", - "Radio 2" - ], + "example": ["Radio 1", "Radio 2"], "type": "array", "items": { "type": "string" @@ -7562,14 +6946,7 @@ "example": false } }, - "required": [ - "type", - "slug", - "label", - "required", - "options", - "isDefault" - ] + "required": ["type", "slug", "label", "required", "options", "isDefault"] }, "SelectFieldOutput_2024_06_14": { "type": "object", @@ -7609,10 +6986,7 @@ "example": "Select..." }, "options": { - "example": [ - "Option 1", - "Option 2" - ], + "example": ["Option 1", "Option 2"], "type": "array", "items": { "type": "string" @@ -7625,14 +6999,7 @@ "example": false } }, - "required": [ - "type", - "slug", - "label", - "required", - "options", - "isDefault" - ] + "required": ["type", "slug", "label", "required", "options", "isDefault"] }, "TextAreaFieldOutput_2024_06_14": { "type": "object", @@ -7678,13 +7045,7 @@ "example": false } }, - "required": [ - "type", - "slug", - "label", - "required", - "isDefault" - ] + "required": ["type", "slug", "label", "required", "isDefault"] }, "TextFieldOutput_2024_06_14": { "type": "object", @@ -7730,13 +7091,7 @@ "example": false } }, - "required": [ - "type", - "slug", - "label", - "required", - "isDefault" - ] + "required": ["type", "slug", "label", "required", "isDefault"] }, "EventTypeOutput_2024_06_14": { "type": "object", @@ -8011,30 +7366,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": { @@ -8046,20 +7392,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": { @@ -8069,10 +7409,7 @@ } } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "UpdateEventTypeInput_2024_06_14": { "type": "object", @@ -8299,20 +7636,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", @@ -8333,32 +7664,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", @@ -8373,11 +7693,7 @@ "type": "number" } }, - "required": [ - "integration", - "externalId", - "credentialId" - ] + "required": ["integration", "externalId", "credentialId"] }, "SelectedCalendarOutputDto": { "type": "object", @@ -8396,12 +7712,7 @@ "nullable": true } }, - "required": [ - "userId", - "integration", - "externalId", - "credentialId" - ] + "required": ["userId", "integration", "externalId", "credentialId"] }, "SelectedCalendarOutputResponseDto": { "type": "object", @@ -8409,19 +7720,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", @@ -8494,10 +7799,7 @@ "default": "Sunday" } }, - "required": [ - "id", - "name" - ] + "required": ["id", "name"] }, "OrgTeamsOutputResponseDto": { "type": "object", @@ -8505,10 +7807,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "type": "array", @@ -8517,10 +7816,7 @@ } } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "OrgMeTeamsOutputResponseDto": { "type": "object", @@ -8528,10 +7824,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "type": "array", @@ -8540,10 +7833,7 @@ } } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "OrgTeamOutputResponseDto": { "type": "object", @@ -8551,19 +7841,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", @@ -8697,28 +7981,15 @@ "default": true } }, - "required": [ - "name" - ] + "required": ["name"] }, "ScheduleAvailabilityInput_2024_06_11": { "type": "object", "properties": { "days": { "type": "string", - "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." }, "startTime": { @@ -8734,11 +8005,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", @@ -8760,11 +8027,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", @@ -8788,18 +8051,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" } @@ -8827,15 +8084,7 @@ } } }, - "required": [ - "id", - "ownerId", - "name", - "timeZone", - "availability", - "isDefault", - "overrides" - ] + "required": ["id", "ownerId", "name", "timeZone", "availability", "isDefault", "overrides"] }, "GetSchedulesOutput_2024_06_11": { "type": "object", @@ -8843,10 +8092,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "type": "array", @@ -8858,10 +8104,7 @@ "type": "object" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "CreateScheduleInput_2024_06_11": { "type": "object", @@ -8879,18 +8122,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" } @@ -8920,11 +8157,7 @@ } } }, - "required": [ - "name", - "timeZone", - "isDefault" - ] + "required": ["name", "timeZone", "isDefault"] }, "CreateScheduleOutput_2024_06_11": { "type": "object", @@ -8932,19 +8165,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", @@ -8952,10 +8179,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "nullable": true, @@ -8969,10 +8193,7 @@ "type": "object" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "UpdateScheduleInput_2024_06_11": { "type": "object", @@ -8988,10 +8209,7 @@ "availability": { "example": [ { - "days": [ - "Monday", - "Tuesday" - ], + "days": ["Monday", "Tuesday"], "startTime": "09:00", "endTime": "10:00" } @@ -9026,10 +8244,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/ScheduleOutput_2024_06_11" @@ -9038,10 +8253,7 @@ "type": "object" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "DeleteScheduleOutput_2024_06_11": { "type": "object", @@ -9049,15 +8261,10 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] } }, - "required": [ - "status" - ] + "required": ["status"] }, "GetUserOutput": { "type": "object", @@ -9185,14 +8392,7 @@ "example": 1 } }, - "required": [ - "id", - "email", - "timeZone", - "weekStart", - "hideBranding", - "createdDate" - ] + "required": ["id", "email", "timeZone", "weekStart", "hideBranding", "createdDate"] }, "GetOrganizationUsersOutput": { "type": "object", @@ -9200,10 +8400,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "type": "array", @@ -9212,10 +8409,7 @@ } } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "CreateOrganizationUserInput": { "type": "object", @@ -9299,11 +8493,7 @@ "default": true } }, - "required": [ - "email", - "organizationRole", - "autoAccept" - ] + "required": ["email", "organizationRole", "autoAccept"] }, "GetOrganizationUserOutput": { "type": "object", @@ -9311,19 +8501,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/GetUserOutput" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "UpdateOrganizationUserInput": { "type": "object", @@ -9334,11 +8518,7 @@ "properties": { "role": { "type": "string", - "enum": [ - "MEMBER", - "OWNER", - "ADMIN" - ] + "enum": ["MEMBER", "OWNER", "ADMIN"] }, "id": { "type": "number" @@ -9356,13 +8536,7 @@ "type": "boolean" } }, - "required": [ - "role", - "id", - "userId", - "teamId", - "accepted" - ] + "required": ["role", "id", "userId", "teamId", "accepted"] }, "GetAllOrgMemberships": { "type": "object", @@ -9370,19 +8544,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", @@ -9390,11 +8558,7 @@ "role": { "type": "string", "default": "MEMBER", - "enum": [ - "MEMBER", - "OWNER", - "ADMIN" - ] + "enum": ["MEMBER", "OWNER", "ADMIN"] }, "userId": { "type": "number" @@ -9408,10 +8572,7 @@ "default": false } }, - "required": [ - "role", - "userId" - ] + "required": ["role", "userId"] }, "CreateOrgMembershipOutput": { "type": "object", @@ -9419,19 +8580,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", @@ -9439,19 +8594,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", @@ -9459,19 +8608,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", @@ -9479,11 +8622,7 @@ "role": { "type": "string", "default": "MEMBER", - "enum": [ - "MEMBER", - "OWNER", - "ADMIN" - ] + "enum": ["MEMBER", "OWNER", "ADMIN"] }, "accepted": { "type": "boolean", @@ -9501,19 +8640,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", @@ -9528,18 +8661,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", @@ -9773,13 +8898,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", @@ -9787,10 +8906,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "oneOf": [ @@ -9806,10 +8922,7 @@ ] } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "TeamEventTypeResponseHost": { "type": "object", @@ -9826,23 +8939,14 @@ "priority": { "type": "string", "default": "medium", - "enum": [ - "lowest", - "low", - "medium", - "high", - "highest" - ] + "enum": ["lowest", "low", "medium", "high", "highest"] }, "name": { "type": "string", "example": "John Doe" } }, - "required": [ - "userId", - "name" - ] + "required": ["userId", "name"] }, "TeamEventTypeOutput_2024_06_14": { "type": "object", @@ -10097,11 +9201,7 @@ "schedulingType": { "type": "string", "nullable": true, - "enum": [ - "ROUND_ROBIN", - "COLLECTIVE", - "MANAGED" - ] + "enum": ["ROUND_ROBIN", "COLLECTIVE", "MANAGED"] } }, "required": [ @@ -10132,19 +9232,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", @@ -10170,10 +9264,7 @@ }, "templateType": { "default": "CUSTOM_TEMPLATE", - "enum": [ - "CHECK_IN_APPOINTMENT", - "CUSTOM_TEMPLATE" - ], + "enum": ["CHECK_IN_APPOINTMENT", "CUSTOM_TEMPLATE"], "type": "string", "description": "Template type" }, @@ -10202,13 +9293,7 @@ "description": "General prompt" } }, - "required": [ - "yourPhoneNumber", - "numberToCall", - "calApiKey", - "enabled", - "templateType" - ] + "required": ["yourPhoneNumber", "numberToCall", "calApiKey", "enabled", "templateType"] }, "Data": { "type": "object", @@ -10220,10 +9305,7 @@ "type": "string" } }, - "required": [ - "callId", - "agentId" - ] + "required": ["callId", "agentId"] }, "CreatePhoneCallOutput": { "type": "object", @@ -10231,19 +9313,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", @@ -10251,10 +9327,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "type": "array", @@ -10263,10 +9336,7 @@ } } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "UpdateTeamEventTypeInput_2024_06_14": { "type": "object", @@ -10504,10 +9574,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "oneOf": [ @@ -10523,10 +9590,7 @@ ] } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "DeleteTeamEventTypeOutput": { "type": "object", @@ -10534,30 +9598,20 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "type": "object" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "OrgTeamMembershipOutputDto": { "type": "object", "properties": { "role": { "type": "string", - "enum": [ - "MEMBER", - "OWNER", - "ADMIN" - ] + "enum": ["MEMBER", "OWNER", "ADMIN"] }, "id": { "type": "number" @@ -10575,13 +9629,7 @@ "type": "boolean" } }, - "required": [ - "role", - "id", - "userId", - "teamId", - "accepted" - ] + "required": ["role", "id", "userId", "teamId", "accepted"] }, "OrgTeamMembershipsOutputResponseDto": { "type": "object", @@ -10589,10 +9637,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "type": "array", @@ -10601,10 +9646,7 @@ } } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "OrgTeamMembershipOutputResponseDto": { "type": "object", @@ -10612,19 +9654,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", @@ -10632,11 +9668,7 @@ "role": { "type": "string", "default": "MEMBER", - "enum": [ - "MEMBER", - "OWNER", - "ADMIN" - ] + "enum": ["MEMBER", "OWNER", "ADMIN"] }, "accepted": { "type": "boolean", @@ -10654,11 +9686,7 @@ "role": { "type": "string", "default": "MEMBER", - "enum": [ - "MEMBER", - "OWNER", - "ADMIN" - ] + "enum": ["MEMBER", "OWNER", "ADMIN"] }, "userId": { "type": "number" @@ -10672,10 +9700,7 @@ "default": false } }, - "required": [ - "role", - "userId" - ] + "required": ["role", "userId"] }, "Attribute": { "type": "object", @@ -10693,12 +9718,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", @@ -10721,14 +9741,7 @@ "example": true } }, - "required": [ - "id", - "teamId", - "type", - "name", - "slug", - "enabled" - ] + "required": ["id", "teamId", "type", "name", "slug", "enabled"] }, "GetOrganizationAttributesOutput": { "type": "object", @@ -10736,10 +9749,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "type": "array", @@ -10748,10 +9758,7 @@ } } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "GetSingleAttributeOutput": { "type": "object", @@ -10759,10 +9766,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "nullable": true, @@ -10773,10 +9777,7 @@ ] } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "CreateOrganizationAttributeOptionInput": { "type": "object", @@ -10788,10 +9789,7 @@ "type": "string" } }, - "required": [ - "value", - "slug" - ] + "required": ["value", "slug"] }, "CreateOrganizationAttributeInput": { "type": "object", @@ -10815,12 +9813,7 @@ "type": "boolean" } }, - "required": [ - "name", - "slug", - "type", - "options" - ] + "required": ["name", "slug", "type", "options"] }, "CreateOrganizationAttributesOutput": { "type": "object", @@ -10828,19 +9821,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", @@ -10865,19 +9852,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", @@ -10885,19 +9866,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", @@ -10923,12 +9898,7 @@ "example": "option-slug" } }, - "required": [ - "id", - "attributeId", - "value", - "slug" - ] + "required": ["id", "attributeId", "value", "slug"] }, "CreateAttributeOptionOutput": { "type": "object", @@ -10936,19 +9906,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", @@ -10956,19 +9920,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", @@ -10987,19 +9945,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", @@ -11007,10 +9959,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "type": "array", @@ -11019,10 +9968,7 @@ } } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "AssignOrganizationAttributeOptionToUserInput": { "type": "object", @@ -11037,9 +9983,7 @@ "type": "string" } }, - "required": [ - "attributeId" - ] + "required": ["attributeId"] }, "AssignOptionUserOutputData": { "type": "object", @@ -11057,11 +10001,7 @@ "description": "The value of the option" } }, - "required": [ - "id", - "memberId", - "attributeOptionId" - ] + "required": ["id", "memberId", "attributeOptionId"] }, "AssignOptionUserOutput": { "type": "object", @@ -11069,19 +10009,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", @@ -11089,19 +10023,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", @@ -11123,12 +10051,7 @@ "description": "The slug of the option" } }, - "required": [ - "id", - "attributeId", - "value", - "slug" - ] + "required": ["id", "attributeId", "value", "slug"] }, "GetOptionUserOutput": { "type": "object", @@ -11136,10 +10059,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "type": "array", @@ -11148,10 +10068,7 @@ } } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "TeamWebhookOutputDto": { "type": "object", @@ -11183,14 +10100,7 @@ "type": "string" } }, - "required": [ - "payloadTemplate", - "teamId", - "id", - "triggers", - "subscriberUrl", - "active" - ] + "required": ["payloadTemplate", "teamId", "id", "triggers", "subscriberUrl", "active"] }, "TeamWebhooksOutputResponseDto": { "type": "object", @@ -11198,10 +10108,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "type": "array", @@ -11210,10 +10117,7 @@ } } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "CreateWebhookInputDto": { "type": "object", @@ -11263,11 +10167,7 @@ "type": "string" } }, - "required": [ - "triggers", - "active", - "subscriberUrl" - ] + "required": ["triggers", "active", "subscriberUrl"] }, "TeamWebhookOutputResponseDto": { "type": "object", @@ -11275,19 +10175,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", @@ -11345,9 +10239,7 @@ "type": "string" } }, - "required": [ - "authUrl" - ] + "required": ["authUrl"] }, "StripConnectOutputResponseDto": { "type": "object", @@ -11355,19 +10247,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", @@ -11376,9 +10262,7 @@ "type": "string" } }, - "required": [ - "url" - ] + "required": ["url"] }, "StripCredentialsCheckOutputResponseDto": { "type": "object", @@ -11388,9 +10272,7 @@ "example": "success" } }, - "required": [ - "status" - ] + "required": ["status"] }, "GetDefaultScheduleOutput_2024_06_11": { "type": "object", @@ -11398,19 +10280,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"] }, "AuthUrlData": { "type": "object", @@ -11419,9 +10295,7 @@ "type": "string" } }, - "required": [ - "authUrl" - ] + "required": ["authUrl"] }, "GcalAuthUrlOutput": { "type": "object", @@ -11429,19 +10303,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/AuthUrlData" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "GcalSaveRedirectOutput": { "type": "object", @@ -11450,9 +10318,7 @@ "type": "string" } }, - "required": [ - "url" - ] + "required": ["url"] }, "GcalCheckOutput": { "type": "object", @@ -11460,15 +10326,10 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] } }, - "required": [ - "status" - ] + "required": ["status"] }, "ProviderVerifyClientData": { "type": "object", @@ -11483,11 +10344,7 @@ "type": "string" } }, - "required": [ - "clientId", - "organizationId", - "name" - ] + "required": ["clientId", "organizationId", "name"] }, "ProviderVerifyClientOutput": { "type": "object", @@ -11495,19 +10352,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", @@ -11515,15 +10366,10 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] } }, - "required": [ - "status" - ] + "required": ["status"] }, "MeOrgOutput": { "type": "object", @@ -11535,10 +10381,7 @@ "type": "number" } }, - "required": [ - "isPlatform", - "id" - ] + "required": ["isPlatform", "id"] }, "MeOutput": { "type": "object", @@ -11590,19 +10433,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", @@ -11610,29 +10447,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", @@ -11646,9 +10474,7 @@ "description": "Whether to allowing writing to the calendar or not" } }, - "required": [ - "urls" - ] + "required": ["urls"] }, "CreateIcsFeedOutput": { "type": "object", @@ -11688,14 +10514,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", @@ -11703,19 +10522,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", @@ -11733,10 +10546,7 @@ "nullable": true } }, - "required": [ - "start", - "end" - ] + "required": ["start", "end"] }, "GetBusyTimesOutput": { "type": "object", @@ -11744,10 +10554,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "type": "array", @@ -11756,10 +10563,7 @@ } } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "Integration": { "type": "object", @@ -11864,13 +10668,7 @@ "type": "number" } }, - "required": [ - "externalId", - "primary", - "readOnly", - "isSelected", - "credentialId" - ] + "required": ["externalId", "primary", "readOnly", "isSelected", "credentialId"] }, "Calendar": { "type": "object", @@ -11901,12 +10699,7 @@ "type": "number" } }, - "required": [ - "externalId", - "readOnly", - "isSelected", - "credentialId" - ] + "required": ["externalId", "readOnly", "isSelected", "credentialId"] }, "ConnectedCalendar": { "type": "object", @@ -11927,10 +10720,7 @@ } } }, - "required": [ - "integration", - "credentialId" - ] + "required": ["integration", "credentialId"] }, "DestinationCalendar": { "type": "object", @@ -12000,10 +10790,7 @@ "$ref": "#/components/schemas/DestinationCalendar" } }, - "required": [ - "connectedCalendars", - "destinationCalendar" - ] + "required": ["connectedCalendars", "destinationCalendar"] }, "ConnectedCalendarsOutput": { "type": "object", @@ -12011,19 +10798,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", @@ -12034,9 +10815,7 @@ "description": "Credential ID of the calendar to delete, as returned by the /calendars endpoint" } }, - "required": [ - "id" - ] + "required": ["id"] }, "DeletedCalendarCredentialsOutputDto": { "type": "object", @@ -12064,14 +10843,7 @@ "nullable": true } }, - "required": [ - "id", - "type", - "userId", - "teamId", - "appId", - "invalid" - ] + "required": ["id", "type", "userId", "teamId", "appId", "invalid"] }, "DeletedCalendarCredentialsOutputResponseDto": { "type": "object", @@ -12079,19 +10851,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", @@ -12162,11 +10928,7 @@ "default": "en" } }, - "required": [ - "name", - "email", - "timeZone" - ] + "required": ["name", "email", "timeZone"] }, "CreateBookingInput_2024_08_13": { "type": "object", @@ -12191,10 +10953,7 @@ }, "guests": { "description": "An optional list of guest emails attending the event.", - "example": [ - "guest1@example.com", - "guest2@example.com" - ], + "example": ["guest1@example.com", "guest2@example.com"], "type": "array", "items": { "type": "string" @@ -12213,11 +10972,7 @@ } } }, - "required": [ - "start", - "eventTypeId", - "attendee" - ] + "required": ["start", "eventTypeId", "attendee"] }, "CreateInstantBookingInput_2024_08_13": { "type": "object", @@ -12242,10 +10997,7 @@ }, "guests": { "description": "An optional list of guest emails attending the event.", - "example": [ - "guest1@example.com", - "guest2@example.com" - ], + "example": ["guest1@example.com", "guest2@example.com"], "type": "array", "items": { "type": "string" @@ -12269,12 +11021,7 @@ "example": true } }, - "required": [ - "start", - "eventTypeId", - "attendee", - "instant" - ] + "required": ["start", "eventTypeId", "attendee", "instant"] }, "CreateRecurringBookingInput_2024_08_13": { "type": "object", @@ -12299,10 +11046,7 @@ }, "guests": { "description": "An optional list of guest emails attending the event.", - "example": [ - "guest1@example.com", - "guest2@example.com" - ], + "example": ["guest1@example.com", "guest2@example.com"], "type": "array", "items": { "type": "string" @@ -12321,11 +11065,7 @@ } } }, - "required": [ - "start", - "eventTypeId", - "attendee" - ] + "required": ["start", "eventTypeId", "attendee"] }, "BookingOutput_2024_08_13": { "type": "object", @@ -12346,13 +11086,7 @@ }, "status": { "type": "string", - "enum": [ - "cancelled", - "accepted", - "rejected", - "pending", - "rescheduled" - ], + "enum": ["cancelled", "accepted", "rejected", "pending", "rescheduled"], "example": "accepted" }, "cancellationReason": { @@ -12390,10 +11124,7 @@ } }, "guests": { - "example": [ - "guest1@example.com", - "guest2@example.com" - ], + "example": ["guest1@example.com", "guest2@example.com"], "type": "array", "items": { "type": "string" @@ -12440,12 +11171,7 @@ }, "status": { "type": "string", - "enum": [ - "cancelled", - "accepted", - "rejected", - "pending" - ], + "enum": ["cancelled", "accepted", "rejected", "pending"], "example": "pending" }, "cancellationReason": { @@ -12487,10 +11213,7 @@ } }, "guests": { - "example": [ - "guest3@example.com", - "guest4@example.com" - ], + "example": ["guest3@example.com", "guest4@example.com"], "type": "array", "items": { "type": "string" @@ -12525,10 +11248,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "oneOf": [ @@ -12545,10 +11265,7 @@ "description": "Booking data, which can be either a BookingOutput object or an array of RecurringBookingOutput objects" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "GetBookingOutput_2024_08_13": { "type": "object", @@ -12556,10 +11273,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "oneOf": [ @@ -12579,10 +11293,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"] }, "GetBookingsOutput_2024_08_13": { "type": "object", @@ -12590,10 +11301,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "type": "array", @@ -12610,10 +11318,7 @@ "description": "Array of booking data, which can contain either BookingOutput objects or RecurringBookingOutput objects" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "RescheduleBookingInput_2024_08_13": { "type": "object", @@ -12629,9 +11334,7 @@ "description": "Reason for rescheduling the booking" } }, - "required": [ - "start" - ] + "required": ["start"] }, "RescheduleBookingOutput_2024_08_13": { "type": "object", @@ -12639,10 +11342,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "oneOf": [ @@ -12656,10 +11356,7 @@ "description": "Booking data, which can be either a BookingOutput object or a RecurringBookingOutput object" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "CancelBookingInput_2024_08_13": { "type": "object", @@ -12669,9 +11366,7 @@ "example": "User requested cancellation" } }, - "required": [ - "cancellationReason" - ] + "required": ["cancellationReason"] }, "CancelBookingOutput_2024_08_13": { "type": "object", @@ -12679,10 +11374,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "oneOf": [ @@ -12702,10 +11394,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", @@ -12729,9 +11418,7 @@ } } }, - "required": [ - "attendees" - ] + "required": ["attendees"] }, "MarkAbsentBookingOutput_2024_08_13": { "type": "object", @@ -12739,10 +11426,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "oneOf": [ @@ -12756,10 +11440,7 @@ "description": "Booking data, which can be either a BookingOutput object or a RecurringBookingOutput object" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "ReserveSlotInput": { "type": "object", @@ -12784,11 +11465,7 @@ "description": "Optional but only for events with seats. Used to retrieve booking of a seated event." } }, - "required": [ - "eventTypeId", - "slotUtcStartDate", - "slotUtcEndDate" - ] + "required": ["eventTypeId", "slotUtcStartDate", "slotUtcEndDate"] }, "UserWebhookOutputDto": { "type": "object", @@ -12820,14 +11497,7 @@ "type": "string" } }, - "required": [ - "payloadTemplate", - "userId", - "id", - "triggers", - "subscriberUrl", - "active" - ] + "required": ["payloadTemplate", "userId", "id", "triggers", "subscriberUrl", "active"] }, "UserWebhookOutputResponseDto": { "type": "object", @@ -12835,19 +11505,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", @@ -12855,10 +11519,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "type": "array", @@ -12867,10 +11528,7 @@ } } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "EventTypeWebhookOutputDto": { "type": "object", @@ -12902,14 +11560,7 @@ "type": "string" } }, - "required": [ - "payloadTemplate", - "eventTypeId", - "id", - "triggers", - "subscriberUrl", - "active" - ] + "required": ["payloadTemplate", "eventTypeId", "id", "triggers", "subscriberUrl", "active"] }, "EventTypeWebhookOutputResponseDto": { "type": "object", @@ -12917,19 +11568,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", @@ -12937,10 +11582,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "type": "array", @@ -12949,10 +11591,7 @@ } } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "DeleteManyWebhooksOutputResponseDto": { "type": "object", @@ -12960,19 +11599,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "type": "string" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "OAuthClientWebhookOutputDto": { "type": "object", @@ -13004,14 +11637,7 @@ "type": "string" } }, - "required": [ - "payloadTemplate", - "oAuthClientId", - "id", - "triggers", - "subscriberUrl", - "active" - ] + "required": ["payloadTemplate", "oAuthClientId", "id", "triggers", "subscriberUrl", "active"] }, "OAuthClientWebhookOutputResponseDto": { "type": "object", @@ -13019,19 +11645,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", @@ -13039,10 +11659,7 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "type": "array", @@ -13051,10 +11668,7 @@ } } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] }, "DestinationCalendarsInputBodyDto": { "type": "object", @@ -13063,11 +11677,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", @@ -13075,10 +11685,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", @@ -13097,12 +11704,7 @@ "nullable": true } }, - "required": [ - "userId", - "integration", - "externalId", - "credentialId" - ] + "required": ["userId", "integration", "externalId", "credentialId"] }, "DestinationCalendarsOutputResponseDto": { "type": "object", @@ -13110,19 +11712,13 @@ "status": { "type": "string", "example": "success", - "enum": [ - "success", - "error" - ] + "enum": ["success", "error"] }, "data": { "$ref": "#/components/schemas/DestinationCalendarsOutputDto" } }, - "required": [ - "status", - "data" - ] + "required": ["status", "data"] } } }