Scheduling infrastructure for absolutely everyone.
refactor: platform - remove host and attendee automatic no show webhook trigger (#20385)
Lauris Skraucisd04f10e7d1f6
diff --git a/apps/api/v2/src/ee/calendars/controllers/calendars.controller.ts b/apps/api/v2/src/ee/calendars/controllers/calendars.controller.tsindex ba69eddb411..40e5e529ba2 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, ApiParam, ApiTags as DocsTags } from "@nestjs/swagger";+import { ApiOperation, ApiParam, ApiQuery, ApiTags as DocsTags } from "@nestjs/swagger";import { User } from "@prisma/client";import { plainToClass } from "class-transformer";import { Request } from "express";@@ -132,6 +132,12 @@ export class CalendarsController {@Get("/:calendar/connect")@HttpCode(HttpStatus.OK)@ApiOperation({ summary: "Get oAuth connect URL" })+ @ApiQuery({+ name: "redir",+ required: false,+ type: String,+ description: "Redirect URL after successful calendar authorization.",+ })async redirect(@Req() req: Request,@Headers("Authorization") authorization: string,diff --git a/apps/api/v2/src/modules/teams/teams/inputs/create-team.input.ts b/apps/api/v2/src/modules/teams/teams/inputs/create-team.input.tsindex 5714b2ced80..cc4a74430d7 100644--- a/apps/api/v2/src/modules/teams/teams/inputs/create-team.input.ts+++ b/apps/api/v2/src/modules/teams/teams/inputs/create-team.input.ts@@ -120,6 +120,11 @@ export class CreateTeamInput {@IsOptional()@IsBoolean()- @ApiPropertyOptional({ type: Boolean, default: true })+ @ApiPropertyOptional({+ type: Boolean,+ default: true,+ description:+ "If you are a platform customer, don't pass 'false', because then team creator won't be able to create team event types.",+ })readonly autoAcceptCreator?: boolean = true;}diff --git a/apps/api/v2/swagger/documentation.json b/apps/api/v2/swagger/documentation.jsonindex 32590b9519e..5f7d9a04cb4 100644--- a/apps/api/v2/swagger/documentation.json+++ b/apps/api/v2/swagger/documentation.json@@ -4561,6 +4561,15 @@],"type": "string"}+ },+ {+ "name": "redir",+ "required": false,+ "in": "query",+ "description": "Redirect URL after successful calendar authorization.",+ "schema": {+ "type": "string"+ }}],"responses": {@@ -12046,7 +12055,8 @@},"autoAcceptCreator": {"type": "boolean",- "default": true+ "default": true,+ "description": "If you are a platform customer, don't pass 'false', because then team creator won't be able to create team event types."}},"required": [@@ -15185,7 +15195,8 @@},"autoAcceptCreator": {"type": "boolean",- "default": true+ "default": true,+ "description": "If you are a platform customer, don't pass 'false', because then team creator won't be able to create team event types."}},"required": [@@ -15524,66 +15535,80 @@"data"]},- "CreateOrganizationInput": {+ "CreateIcsFeedInputDto": {"type": "object","properties": {- "apiKeyDaysValid": {- "type": "number",- "minimum": 1,- "description": "For how many days is managed organization api key valid. Defaults to 30 days.",- "example": 60,- "default": 30+ "urls": {+ "type": "array",+ "example": [+ "https://cal.com/ics/feed.ics",+ "http://cal.com/ics/feed.ics"+ ],+ "description": "An array of ICS URLs",+ "items": {+ "type": "string",+ "example": "https://cal.com/ics/feed.ics"+ }},- "apiKeyNeverExpires": {+ "readOnly": {"type": "boolean",- "description": "If true, organization api key never expires.",- "example": true- },- "name": {- "type": "string",- "minLength": 1,- "description": "Name of the organization",- "example": "CalTeam"- },- "metadata": {- "type": "object",- "description": "You can store any additional data you want here.\nMetadata must have at most 50 keys, each key up to 40 characters.\nValues can be strings (up to 500 characters), numbers, or booleans.",- "example": {- "key": "value"- }+ "default": true,+ "example": false,+ "description": "Whether to allowing writing to the calendar or not"}},"required": [- "name"+ "urls"]},- "ManagedOrganizationWithApiKeyOutput": {+ "CreateIcsFeedOutput": {"type": "object","properties": {"id": {- "type": "number"+ "type": "number",+ "example": 1234567890,+ "description": "The id of the calendar credential"},- "name": {+ "type": {"type": "string",- "minLength": 1+ "example": "ics-feed_calendar",+ "description": "The type of the calendar"},- "metadata": {- "type": "object",- "example": {- "key": "value"- }+ "userId": {+ "type": "integer",+ "nullable": true,+ "example": 1234567890,+ "description": "The user id of the user that created the calendar"},- "apiKey": {- "type": "string"+ "teamId": {+ "type": "integer",+ "nullable": true,+ "example": 1234567890,+ "description": "The team id of the user that created the calendar"+ },+ "appId": {+ "type": "string",+ "nullable": true,+ "example": "ics-feed",+ "description": "The slug of the calendar"+ },+ "invalid": {+ "type": "boolean",+ "nullable": true,+ "example": false,+ "description": "Whether the calendar credentials are valid or not"}},"required": ["id",- "name",- "apiKey"+ "type",+ "userId",+ "teamId",+ "appId",+ "invalid"]},- "CreateManagedOrganizationOutput": {+ "CreateIcsFeedOutputResponseDto": {"type": "object","properties": {"status": {@@ -15595,7 +15620,7 @@]},"data": {- "$ref": "#/components/schemas/ManagedOrganizationWithApiKeyOutput"+ "$ref": "#/components/schemas/CreateIcsFeedOutput"}},"required": [@@ -15603,49 +15628,28 @@"data"]},- "ManagedOrganizationOutput": {+ "BusyTimesOutput": {"type": "object","properties": {- "id": {- "type": "number"+ "start": {+ "format": "date-time",+ "type": "string"},- "name": {- "type": "string",- "minLength": 1+ "end": {+ "format": "date-time",+ "type": "string"},- "metadata": {- "type": "object",- "example": {- "key": "value"- }- }- },- "required": [- "id",- "name"- ]- },- "GetManagedOrganizationOutput": {- "type": "object",- "properties": {- "status": {+ "source": {"type": "string",- "example": "success",- "enum": [- "success",- "error"- ]- },- "data": {- "$ref": "#/components/schemas/ManagedOrganizationOutput"+ "nullable": true}},"required": [- "status",- "data"+ "start",+ "end"]},- "GetManagedOrganizationsOutput": {+ "GetBusyTimesOutput": {"type": "object","properties": {"status": {@@ -15659,7 +15663,7 @@"data": {"type": "array","items": {- "$ref": "#/components/schemas/ManagedOrganizationOutput"+ "$ref": "#/components/schemas/BusyTimesOutput"}}},@@ -15668,220 +15672,267 @@"data"]},- "UpdateOrganizationInput": {+ "Integration": {"type": "object","properties": {- "name": {- "type": "string",- "minLength": 1,- "description": "Name of the organization",- "example": "CalTeam"- },- "metadata": {+ "appData": {"type": "object",- "description": "You can store any additional data you want here.\nMetadata must have at most 50 keys, each key up to 40 characters.\nValues can be strings (up to 500 characters), numbers, or booleans.",- "example": {- "key": "value"- }- }- }- },- "RoutingFormResponseOutput": {- "type": "object",- "properties": {- "id": {+ "nullable": true+ },+ "dirName": {"type": "string"},- "formId": {+ "__template": {"type": "string"},- "formFillerId": {+ "name": {"type": "string"},- "routedToBookingUid": {+ "description": {"type": "string"},- "response": {- "type": "object",- "example": {- "f00b26df-f54b-4985-8d98-17c5482c6a24": {- "label": "participant",- "value": "mamut"- }- }+ "installed": {+ "type": "boolean"},- "createdAt": {- "format": "date-time",+ "type": {"type": "string"- }- },- "required": [- "id",- "formId",- "formFillerId",- "routedToBookingUid",- "response",- "createdAt"- ]- },- "GetRoutingFormResponsesOutput": {- "type": "object",- "properties": {- "status": {- "type": "string",- "example": "success",- "enum": [- "success",- "error"- ]},- "data": {+ "title": {+ "type": "string"+ },+ "variant": {+ "type": "string"+ },+ "category": {+ "type": "string"+ },+ "categories": {"type": "array","items": {- "$ref": "#/components/schemas/RoutingFormResponseOutput"+ "type": "string"}- }- },- "required": [- "status",- "data"- ]- },- "ProviderVerifyClientData": {- "type": "object",- "properties": {- "clientId": {+ },+ "logo": {"type": "string"},- "organizationId": {- "type": "number"+ "publisher": {+ "type": "string"},- "name": {+ "slug": {+ "type": "string"+ },+ "url": {+ "type": "string"+ },+ "email": {"type": "string"+ },+ "locationOption": {+ "type": "object",+ "nullable": true}},"required": [- "clientId",- "organizationId",- "name"+ "name",+ "description",+ "type",+ "variant",+ "categories",+ "logo",+ "publisher",+ "slug",+ "url",+ "email",+ "locationOption"]},- "ProviderVerifyClientOutput": {+ "Primary": {"type": "object","properties": {- "status": {- "type": "string",- "example": "success",- "enum": [- "success",- "error"- ]+ "externalId": {+ "type": "string"},- "data": {- "$ref": "#/components/schemas/ProviderVerifyClientData"+ "integration": {+ "type": "string"+ },+ "name": {+ "type": "string"+ },+ "primary": {+ "type": "boolean",+ "nullable": true+ },+ "readOnly": {+ "type": "boolean"+ },+ "email": {+ "type": "string"+ },+ "isSelected": {+ "type": "boolean"+ },+ "credentialId": {+ "type": "number"+ },+ "delegationCredentialId": {+ "type": "string",+ "nullable": true}},"required": [- "status",- "data"+ "externalId",+ "primary",+ "readOnly",+ "isSelected",+ "credentialId"]},- "ProviderVerifyAccessTokenOutput": {+ "Calendar": {"type": "object","properties": {- "status": {+ "externalId": {+ "type": "string"+ },+ "integration": {+ "type": "string"+ },+ "name": {+ "type": "string"+ },+ "primary": {+ "type": "boolean",+ "nullable": true+ },+ "readOnly": {+ "type": "boolean"+ },+ "email": {+ "type": "string"+ },+ "isSelected": {+ "type": "boolean"+ },+ "credentialId": {+ "type": "number"+ },+ "delegationCredentialId": {"type": "string",- "example": "success",- "enum": [- "success",- "error"- ]+ "nullable": true}},"required": [- "status"+ "externalId",+ "readOnly",+ "isSelected",+ "credentialId"]},- "MeOrgOutput": {+ "ConnectedCalendar": {"type": "object","properties": {- "isPlatform": {- "type": "boolean"+ "integration": {+ "$ref": "#/components/schemas/Integration"},- "id": {+ "credentialId": {"type": "number"+ },+ "delegationCredentialId": {+ "type": "string",+ "nullable": true+ },+ "primary": {+ "$ref": "#/components/schemas/Primary"+ },+ "calendars": {+ "type": "array",+ "items": {+ "$ref": "#/components/schemas/Calendar"+ }}},"required": [- "isPlatform",- "id"+ "integration",+ "credentialId"]},- "MeOutput": {+ "DestinationCalendar": {"type": "object","properties": {"id": {- "type": "number"+ "type": "object"},- "username": {+ "integration": {"type": "string"},- "email": {+ "externalId": {"type": "string"},- "timeFormat": {- "type": "number"+ "primaryEmail": {+ "type": "string",+ "nullable": true},- "defaultScheduleId": {+ "userId": {"type": "number","nullable": true},- "weekStart": {- "type": "string"- },- "timeZone": {- "type": "string"+ "eventTypeId": {+ "type": "number",+ "nullable": true},- "organizationId": {+ "credentialId": {"type": "number","nullable": true},- "organization": {- "$ref": "#/components/schemas/MeOrgOutput"+ "delegationCredentialId": {+ "type": "string",+ "nullable": true+ },+ "name": {+ "type": "string",+ "nullable": true+ },+ "primary": {+ "type": "boolean"+ },+ "readOnly": {+ "type": "boolean"+ },+ "email": {+ "type": "string"+ },+ "integrationTitle": {+ "type": "string"}},"required": ["id",- "username",- "email",- "timeFormat",- "defaultScheduleId",- "weekStart",- "timeZone",- "organizationId"+ "integration",+ "externalId",+ "primaryEmail",+ "userId",+ "eventTypeId",+ "credentialId"]},- "GetMeOutput": {+ "ConnectedCalendarsData": {"type": "object","properties": {- "status": {- "type": "string",- "example": "success",- "enum": [- "success",- "error"- ]+ "connectedCalendars": {+ "type": "array",+ "items": {+ "$ref": "#/components/schemas/ConnectedCalendar"+ }},- "data": {- "$ref": "#/components/schemas/MeOutput"+ "destinationCalendar": {+ "$ref": "#/components/schemas/DestinationCalendar"}},"required": [- "status",- "data"+ "connectedCalendars",+ "destinationCalendar"]},- "UpdateMeOutput": {+ "ConnectedCalendarsOutput": {"type": "object","properties": {"status": {@@ -15893,7 +15944,7 @@]},"data": {- "$ref": "#/components/schemas/MeOutput"+ "$ref": "#/components/schemas/ConnectedCalendarsData"}},"required": [@@ -15901,68 +15952,43 @@"data"]},- "CreateIcsFeedInputDto": {+ "DeleteCalendarCredentialsInputBodyDto": {"type": "object","properties": {- "urls": {- "type": "array",- "example": [- "https://cal.com/ics/feed.ics",- "http://cal.com/ics/feed.ics"- ],- "description": "An array of ICS URLs",- "items": {- "type": "string",- "example": "https://cal.com/ics/feed.ics"- }- },- "readOnly": {- "type": "boolean",- "default": true,- "example": false,- "description": "Whether to allowing writing to the calendar or not"+ "id": {+ "type": "integer",+ "example": 10,+ "description": "Credential ID of the calendar to delete, as returned by the /calendars endpoint"}},"required": [- "urls"+ "id"]},- "CreateIcsFeedOutput": {+ "DeletedCalendarCredentialsOutputDto": {"type": "object","properties": {"id": {- "type": "number",- "example": 1234567890,- "description": "The id of the calendar credential"+ "type": "number"},"type": {- "type": "string",- "example": "ics-feed_calendar",- "description": "The type of the calendar"+ "type": "string"},"userId": {- "type": "integer",- "nullable": true,- "example": 1234567890,- "description": "The user id of the user that created the calendar"+ "type": "number",+ "nullable": true},"teamId": {- "type": "integer",- "nullable": true,- "example": 1234567890,- "description": "The team id of the user that created the calendar"+ "type": "number",+ "nullable": true},"appId": {"type": "string",- "nullable": true,- "example": "ics-feed",- "description": "The slug of the calendar"+ "nullable": true},"invalid": {"type": "boolean",- "nullable": true,- "example": false,- "description": "Whether the calendar credentials are valid or not"+ "nullable": true}},"required": [@@ -15974,7 +16000,7 @@"invalid"]},- "CreateIcsFeedOutputResponseDto": {+ "DeletedCalendarCredentialsOutputResponseDto": {"type": "object","properties": {"status": {@@ -15986,7 +16012,7 @@]},"data": {- "$ref": "#/components/schemas/CreateIcsFeedOutput"+ "$ref": "#/components/schemas/DeletedCalendarCredentialsOutputDto"}},"required": [@@ -15994,28 +16020,66 @@"data"]},- "BusyTimesOutput": {+ "CreateOrganizationInput": {"type": "object","properties": {- "start": {- "format": "date-time",- "type": "string"+ "apiKeyDaysValid": {+ "type": "number",+ "minimum": 1,+ "description": "For how many days is managed organization api key valid. Defaults to 30 days.",+ "example": 60,+ "default": 30},- "end": {- "format": "date-time",- "type": "string"+ "apiKeyNeverExpires": {+ "type": "boolean",+ "description": "If true, organization api key never expires.",+ "example": true},- "source": {+ "name": {"type": "string",- "nullable": true+ "minLength": 1,+ "description": "Name of the organization",+ "example": "CalTeam"+ },+ "metadata": {+ "type": "object",+ "description": "You can store any additional data you want here.\nMetadata must have at most 50 keys, each key up to 40 characters.\nValues can be strings (up to 500 characters), numbers, or booleans.",+ "example": {+ "key": "value"+ }}},"required": [- "start",- "end"+ "name"]},- "GetBusyTimesOutput": {+ "ManagedOrganizationWithApiKeyOutput": {+ "type": "object",+ "properties": {+ "id": {+ "type": "number"+ },+ "name": {+ "type": "string",+ "minLength": 1+ },+ "metadata": {+ "type": "object",+ "example": {+ "key": "value"+ }+ },+ "apiKey": {+ "type": "string"+ }+ },+ "required": [+ "id",+ "name",+ "apiKey"+ ]+ },+ "CreateManagedOrganizationOutput": {"type": "object","properties": {"status": {@@ -16027,10 +16091,7 @@]},"data": {- "type": "array",- "items": {- "$ref": "#/components/schemas/BusyTimesOutput"- }+ "$ref": "#/components/schemas/ManagedOrganizationWithApiKeyOutput"}},"required": [@@ -16038,267 +16099,190 @@"data"]},- "Integration": {+ "ManagedOrganizationOutput": {"type": "object","properties": {- "appData": {- "type": "object",- "nullable": true- },- "dirName": {- "type": "string"- },- "__template": {- "type": "string"+ "id": {+ "type": "number"},"name": {- "type": "string"- },- "description": {- "type": "string"- },- "installed": {- "type": "boolean"- },- "type": {- "type": "string"- },- "title": {- "type": "string"- },- "variant": {- "type": "string"- },- "category": {- "type": "string"- },- "categories": {- "type": "array",- "items": {- "type": "string"- }- },- "logo": {- "type": "string"- },- "publisher": {- "type": "string"- },- "slug": {- "type": "string"- },- "url": {- "type": "string"- },- "email": {- "type": "string"+ "type": "string",+ "minLength": 1},- "locationOption": {+ "metadata": {"type": "object",- "nullable": true+ "example": {+ "key": "value"+ }}},"required": [- "name",- "description",- "type",- "variant",- "categories",- "logo",- "publisher",- "slug",- "url",- "email",- "locationOption"+ "id",+ "name"]},- "Primary": {+ "GetManagedOrganizationOutput": {"type": "object","properties": {- "externalId": {- "type": "string"- },- "integration": {- "type": "string"- },- "name": {- "type": "string"- },- "primary": {- "type": "boolean",- "nullable": true- },- "readOnly": {- "type": "boolean"- },- "email": {- "type": "string"- },- "isSelected": {- "type": "boolean"- },- "credentialId": {- "type": "number"+ "status": {+ "type": "string",+ "example": "success",+ "enum": [+ "success",+ "error"+ ]},- "delegationCredentialId": {+ "data": {+ "$ref": "#/components/schemas/ManagedOrganizationOutput"+ }+ },+ "required": [+ "status",+ "data"+ ]+ },+ "GetManagedOrganizationsOutput": {+ "type": "object",+ "properties": {+ "status": {"type": "string",- "nullable": true+ "example": "success",+ "enum": [+ "success",+ "error"+ ]+ },+ "data": {+ "type": "array",+ "items": {+ "$ref": "#/components/schemas/ManagedOrganizationOutput"+ }}},"required": [- "externalId",- "primary",- "readOnly",- "isSelected",- "credentialId"+ "status",+ "data"]},- "Calendar": {+ "UpdateOrganizationInput": {"type": "object","properties": {- "externalId": {- "type": "string"+ "name": {+ "type": "string",+ "minLength": 1,+ "description": "Name of the organization",+ "example": "CalTeam"},- "integration": {+ "metadata": {+ "type": "object",+ "description": "You can store any additional data you want here.\nMetadata must have at most 50 keys, each key up to 40 characters.\nValues can be strings (up to 500 characters), numbers, or booleans.",+ "example": {+ "key": "value"+ }+ }+ }+ },+ "RoutingFormResponseOutput": {+ "type": "object",+ "properties": {+ "id": {"type": "string"},- "name": {+ "formId": {"type": "string"},- "primary": {- "type": "boolean",- "nullable": true- },- "readOnly": {- "type": "boolean"- },- "email": {+ "formFillerId": {"type": "string"},- "isSelected": {- "type": "boolean"+ "routedToBookingUid": {+ "type": "string"},- "credentialId": {- "type": "number"+ "response": {+ "type": "object",+ "example": {+ "f00b26df-f54b-4985-8d98-17c5482c6a24": {+ "label": "participant",+ "value": "mamut"+ }+ }},- "delegationCredentialId": {- "type": "string",- "nullable": true+ "createdAt": {+ "format": "date-time",+ "type": "string"}},"required": [- "externalId",- "readOnly",- "isSelected",- "credentialId"+ "id",+ "formId",+ "formFillerId",+ "routedToBookingUid",+ "response",+ "createdAt"]},- "ConnectedCalendar": {+ "GetRoutingFormResponsesOutput": {"type": "object","properties": {- "integration": {- "$ref": "#/components/schemas/Integration"- },- "credentialId": {- "type": "number"- },- "delegationCredentialId": {+ "status": {"type": "string",- "nullable": true- },- "primary": {- "$ref": "#/components/schemas/Primary"+ "example": "success",+ "enum": [+ "success",+ "error"+ ]},- "calendars": {+ "data": {"type": "array","items": {- "$ref": "#/components/schemas/Calendar"+ "$ref": "#/components/schemas/RoutingFormResponseOutput"}}},"required": [- "integration",- "credentialId"+ "status",+ "data"]},- "DestinationCalendar": {+ "ProviderVerifyClientData": {"type": "object","properties": {- "id": {- "type": "object"- },- "integration": {- "type": "string"- },- "externalId": {+ "clientId": {"type": "string"},- "primaryEmail": {- "type": "string",- "nullable": true- },- "userId": {- "type": "number",- "nullable": true- },- "eventTypeId": {- "type": "number",- "nullable": true- },- "credentialId": {- "type": "number",- "nullable": true- },- "delegationCredentialId": {- "type": "string",- "nullable": true+ "organizationId": {+ "type": "number"},"name": {- "type": "string",- "nullable": true- },- "primary": {- "type": "boolean"- },- "readOnly": {- "type": "boolean"- },- "email": {- "type": "string"- },- "integrationTitle": {"type": "string"}},"required": [- "id",- "integration",- "externalId",- "primaryEmail",- "userId",- "eventTypeId",- "credentialId"+ "clientId",+ "organizationId",+ "name"]},- "ConnectedCalendarsData": {+ "ProviderVerifyClientOutput": {"type": "object","properties": {- "connectedCalendars": {- "type": "array",- "items": {- "$ref": "#/components/schemas/ConnectedCalendar"- }+ "status": {+ "type": "string",+ "example": "success",+ "enum": [+ "success",+ "error"+ ]},- "destinationCalendar": {- "$ref": "#/components/schemas/DestinationCalendar"+ "data": {+ "$ref": "#/components/schemas/ProviderVerifyClientData"}},"required": [- "connectedCalendars",- "destinationCalendar"+ "status",+ "data"]},- "ConnectedCalendarsOutput": {+ "ProviderVerifyAccessTokenOutput": {"type": "object","properties": {"status": {@@ -16308,65 +16292,92 @@"success","error"]- },- "data": {- "$ref": "#/components/schemas/ConnectedCalendarsData"}},"required": [- "status",- "data"+ "status"]},- "DeleteCalendarCredentialsInputBodyDto": {+ "MeOrgOutput": {"type": "object","properties": {+ "isPlatform": {+ "type": "boolean"+ },"id": {- "type": "integer",- "example": 10,- "description": "Credential ID of the calendar to delete, as returned by the /calendars endpoint"+ "type": "number"}},"required": [+ "isPlatform","id"]},- "DeletedCalendarCredentialsOutputDto": {+ "MeOutput": {"type": "object","properties": {"id": {"type": "number"},- "type": {+ "username": {"type": "string"},- "userId": {+ "email": {+ "type": "string"+ },+ "timeFormat": {+ "type": "number"+ },+ "defaultScheduleId": {"type": "number","nullable": true},- "teamId": {+ "weekStart": {+ "type": "string"+ },+ "timeZone": {+ "type": "string"+ },+ "organizationId": {"type": "number","nullable": true},- "appId": {+ "organization": {+ "$ref": "#/components/schemas/MeOrgOutput"+ }+ },+ "required": [+ "id",+ "username",+ "email",+ "timeFormat",+ "defaultScheduleId",+ "weekStart",+ "timeZone",+ "organizationId"+ ]+ },+ "GetMeOutput": {+ "type": "object",+ "properties": {+ "status": {"type": "string",- "nullable": true+ "example": "success",+ "enum": [+ "success",+ "error"+ ]},- "invalid": {- "type": "boolean",- "nullable": true+ "data": {+ "$ref": "#/components/schemas/MeOutput"}},"required": [- "id",- "type",- "userId",- "teamId",- "appId",- "invalid"+ "status",+ "data"]},- "DeletedCalendarCredentialsOutputResponseDto": {+ "UpdateMeOutput": {"type": "object","properties": {"status": {@@ -16378,7 +16389,7 @@]},"data": {- "$ref": "#/components/schemas/DeletedCalendarCredentialsOutputDto"+ "$ref": "#/components/schemas/MeOutput"}},"required": [diff --git a/apps/web/modules/settings/platform/oauth-clients/[clientId]/edit/edit-webhooks-view.tsx b/apps/web/modules/settings/platform/oauth-clients/[clientId]/edit/edit-webhooks-view.tsxindex 14cedeed13e..f497cb52096 100644--- a/apps/web/modules/settings/platform/oauth-clients/[clientId]/edit/edit-webhooks-view.tsx+++ b/apps/web/modules/settings/platform/oauth-clients/[clientId]/edit/edit-webhooks-view.tsx@@ -73,14 +73,6 @@ export default function EditOAuthClientWebhooks() {value: WebhookTriggerEvents.RECORDING_TRANSCRIPTION_GENERATED,label: "recording_transcription_generated",},- {- value: WebhookTriggerEvents.AFTER_HOSTS_CAL_VIDEO_NO_SHOW,- label: "after_hosts_cal_video_no_show",- },- {- value: WebhookTriggerEvents.AFTER_GUESTS_CAL_VIDEO_NO_SHOW,- label: "after_guests_cal_video_no_show",- },]}onSubmit={async (data) => {try {diff --git a/docs/api-reference/v2/openapi.json b/docs/api-reference/v2/openapi.jsonindex 1e62d8eef16..24eb6742c2a 100644--- a/docs/api-reference/v2/openapi.json+++ b/docs/api-reference/v2/openapi.json@@ -4314,6 +4314,15 @@"enum": ["office365", "google"],"type": "string"}+ },+ {+ "name": "redir",+ "required": false,+ "in": "query",+ "description": "Redirect URL after successful calendar authorization.",+ "schema": {+ "type": "string"+ }}],"responses": {@@ -11062,7 +11071,8 @@},"autoAcceptCreator": {"type": "boolean",- "default": true+ "default": true,+ "description": "If you are a platform customer, don't pass 'false', because then team creator won't be able to create team event types."}},"required": ["name"]@@ -13733,7 +13743,8 @@},"autoAcceptCreator": {"type": "boolean",- "default": true+ "default": true,+ "description": "If you are a platform customer, don't pass 'false', because then team creator won't be able to create team event types."}},"required": ["name"]@@ -14019,60 +14030,68 @@},"required": ["status", "data"]},- "CreateOrganizationInput": {+ "CreateIcsFeedInputDto": {"type": "object","properties": {- "apiKeyDaysValid": {- "type": "number",- "minimum": 1,- "description": "For how many days is managed organization api key valid. Defaults to 30 days.",- "example": 60,- "default": 30+ "urls": {+ "type": "array",+ "example": ["https://cal.com/ics/feed.ics", "http://cal.com/ics/feed.ics"],+ "description": "An array of ICS URLs",+ "items": {+ "type": "string",+ "example": "https://cal.com/ics/feed.ics"+ }},- "apiKeyNeverExpires": {+ "readOnly": {"type": "boolean",- "description": "If true, organization api key never expires.",- "example": true- },- "name": {- "type": "string",- "minLength": 1,- "description": "Name of the organization",- "example": "CalTeam"- },- "metadata": {- "type": "object",- "description": "You can store any additional data you want here.\nMetadata must have at most 50 keys, each key up to 40 characters.\nValues can be strings (up to 500 characters), numbers, or booleans.",- "example": {- "key": "value"- }+ "default": true,+ "example": false,+ "description": "Whether to allowing writing to the calendar or not"}},- "required": ["name"]+ "required": ["urls"]},- "ManagedOrganizationWithApiKeyOutput": {+ "CreateIcsFeedOutput": {"type": "object","properties": {"id": {- "type": "number"+ "type": "number",+ "example": 1234567890,+ "description": "The id of the calendar credential"},- "name": {+ "type": {"type": "string",- "minLength": 1+ "example": "ics-feed_calendar",+ "description": "The type of the calendar"},- "metadata": {- "type": "object",- "example": {- "key": "value"- }+ "userId": {+ "type": "integer",+ "nullable": true,+ "example": 1234567890,+ "description": "The user id of the user that created the calendar"},- "apiKey": {- "type": "string"+ "teamId": {+ "type": "integer",+ "nullable": true,+ "example": 1234567890,+ "description": "The team id of the user that created the calendar"+ },+ "appId": {+ "type": "string",+ "nullable": true,+ "example": "ics-feed",+ "description": "The slug of the calendar"+ },+ "invalid": {+ "type": "boolean",+ "nullable": true,+ "example": false,+ "description": "Whether the calendar credentials are valid or not"}},- "required": ["id", "name", "apiKey"]+ "required": ["id", "type", "userId", "teamId", "appId", "invalid"]},- "CreateManagedOrganizationOutput": {+ "CreateIcsFeedOutputResponseDto": {"type": "object","properties": {"status": {@@ -14081,45 +14100,30 @@"enum": ["success", "error"]},"data": {- "$ref": "#/components/schemas/ManagedOrganizationWithApiKeyOutput"+ "$ref": "#/components/schemas/CreateIcsFeedOutput"}},"required": ["status", "data"]},- "ManagedOrganizationOutput": {+ "BusyTimesOutput": {"type": "object","properties": {- "id": {- "type": "number"+ "start": {+ "format": "date-time",+ "type": "string"},- "name": {- "type": "string",- "minLength": 1+ "end": {+ "format": "date-time",+ "type": "string"},- "metadata": {- "type": "object",- "example": {- "key": "value"- }- }- },- "required": ["id", "name"]- },- "GetManagedOrganizationOutput": {- "type": "object",- "properties": {- "status": {+ "source": {"type": "string",- "example": "success",- "enum": ["success", "error"]- },- "data": {- "$ref": "#/components/schemas/ManagedOrganizationOutput"+ "nullable": true}},- "required": ["status", "data"]+ "required": ["start", "end"]},- "GetManagedOrganizationsOutput": {+ "GetBusyTimesOutput": {"type": "object","properties": {"status": {@@ -14130,189 +14134,256 @@"data": {"type": "array","items": {- "$ref": "#/components/schemas/ManagedOrganizationOutput"+ "$ref": "#/components/schemas/BusyTimesOutput"}}},"required": ["status", "data"]},- "UpdateOrganizationInput": {+ "Integration": {"type": "object","properties": {- "name": {- "type": "string",- "minLength": 1,- "description": "Name of the organization",- "example": "CalTeam"- },- "metadata": {+ "appData": {"type": "object",- "description": "You can store any additional data you want here.\nMetadata must have at most 50 keys, each key up to 40 characters.\nValues can be strings (up to 500 characters), numbers, or booleans.",- "example": {- "key": "value"- }- }- }- },- "RoutingFormResponseOutput": {- "type": "object",- "properties": {- "id": {+ "nullable": true+ },+ "dirName": {"type": "string"},- "formId": {+ "__template": {"type": "string"},- "formFillerId": {+ "name": {"type": "string"},- "routedToBookingUid": {+ "description": {"type": "string"},- "response": {- "type": "object",- "example": {- "f00b26df-f54b-4985-8d98-17c5482c6a24": {- "label": "participant",- "value": "mamut"- }- }+ "installed": {+ "type": "boolean"},- "createdAt": {- "format": "date-time",+ "type": {"type": "string"- }- },- "required": ["id", "formId", "formFillerId", "routedToBookingUid", "response", "createdAt"]- },- "GetRoutingFormResponsesOutput": {- "type": "object",- "properties": {- "status": {- "type": "string",- "example": "success",- "enum": ["success", "error"]},- "data": {+ "title": {+ "type": "string"+ },+ "variant": {+ "type": "string"+ },+ "category": {+ "type": "string"+ },+ "categories": {"type": "array","items": {- "$ref": "#/components/schemas/RoutingFormResponseOutput"+ "type": "string"}+ },+ "logo": {+ "type": "string"+ },+ "publisher": {+ "type": "string"+ },+ "slug": {+ "type": "string"+ },+ "url": {+ "type": "string"+ },+ "email": {+ "type": "string"+ },+ "locationOption": {+ "type": "object",+ "nullable": true}},- "required": ["status", "data"]+ "required": [+ "name",+ "description",+ "type",+ "variant",+ "categories",+ "logo",+ "publisher",+ "slug",+ "url",+ "email",+ "locationOption"+ ]},- "ProviderVerifyClientData": {+ "Primary": {"type": "object","properties": {- "clientId": {+ "externalId": {"type": "string"},- "organizationId": {- "type": "number"+ "integration": {+ "type": "string"},"name": {"type": "string"- }- },- "required": ["clientId", "organizationId", "name"]- },- "ProviderVerifyClientOutput": {- "type": "object",- "properties": {- "status": {- "type": "string",- "example": "success",- "enum": ["success", "error"]},- "data": {- "$ref": "#/components/schemas/ProviderVerifyClientData"- }+ "primary": {+ "type": "boolean",+ "nullable": true+ },+ "readOnly": {+ "type": "boolean"+ },+ "email": {+ "type": "string"+ },+ "isSelected": {+ "type": "boolean"+ },+ "credentialId": {+ "type": "number"+ },+ "delegationCredentialId": {+ "type": "string",+ "nullable": true+ }},- "required": ["status", "data"]+ "required": ["externalId", "primary", "readOnly", "isSelected", "credentialId"]},- "ProviderVerifyAccessTokenOutput": {+ "Calendar": {"type": "object","properties": {- "status": {+ "externalId": {+ "type": "string"+ },+ "integration": {+ "type": "string"+ },+ "name": {+ "type": "string"+ },+ "primary": {+ "type": "boolean",+ "nullable": true+ },+ "readOnly": {+ "type": "boolean"+ },+ "email": {+ "type": "string"+ },+ "isSelected": {+ "type": "boolean"+ },+ "credentialId": {+ "type": "number"+ },+ "delegationCredentialId": {"type": "string",- "example": "success",- "enum": ["success", "error"]+ "nullable": true}},- "required": ["status"]+ "required": ["externalId", "readOnly", "isSelected", "credentialId"]},- "MeOrgOutput": {+ "ConnectedCalendar": {"type": "object","properties": {- "isPlatform": {- "type": "boolean"+ "integration": {+ "$ref": "#/components/schemas/Integration"},- "id": {+ "credentialId": {"type": "number"+ },+ "delegationCredentialId": {+ "type": "string",+ "nullable": true+ },+ "primary": {+ "$ref": "#/components/schemas/Primary"+ },+ "calendars": {+ "type": "array",+ "items": {+ "$ref": "#/components/schemas/Calendar"+ }}},- "required": ["isPlatform", "id"]+ "required": ["integration", "credentialId"]},- "MeOutput": {+ "DestinationCalendar": {"type": "object","properties": {"id": {- "type": "number"+ "type": "object"},- "username": {+ "integration": {"type": "string"},- "email": {+ "externalId": {"type": "string"},- "timeFormat": {- "type": "number"+ "primaryEmail": {+ "type": "string",+ "nullable": true},- "defaultScheduleId": {+ "userId": {"type": "number","nullable": true},- "weekStart": {- "type": "string"- },- "timeZone": {- "type": "string"+ "eventTypeId": {+ "type": "number",+ "nullable": true},- "organizationId": {+ "credentialId": {"type": "number","nullable": true},- "organization": {- "$ref": "#/components/schemas/MeOrgOutput"+ "delegationCredentialId": {+ "type": "string",+ "nullable": true+ },+ "name": {+ "type": "string",+ "nullable": true+ },+ "primary": {+ "type": "boolean"+ },+ "readOnly": {+ "type": "boolean"+ },+ "email": {+ "type": "string"+ },+ "integrationTitle": {+ "type": "string"}},"required": ["id",- "username",- "email",- "timeFormat",- "defaultScheduleId",- "weekStart",- "timeZone",- "organizationId"+ "integration",+ "externalId",+ "primaryEmail",+ "userId",+ "eventTypeId",+ "credentialId"]},- "GetMeOutput": {+ "ConnectedCalendarsData": {"type": "object","properties": {- "status": {- "type": "string",- "example": "success",- "enum": ["success", "error"]+ "connectedCalendars": {+ "type": "array",+ "items": {+ "$ref": "#/components/schemas/ConnectedCalendar"+ }},- "data": {- "$ref": "#/components/schemas/MeOutput"+ "destinationCalendar": {+ "$ref": "#/components/schemas/DestinationCalendar"}},- "required": ["status", "data"]+ "required": ["connectedCalendars", "destinationCalendar"]},- "UpdateMeOutput": {+ "ConnectedCalendarsOutput": {"type": "object","properties": {"status": {@@ -14321,73 +14392,51 @@"enum": ["success", "error"]},"data": {- "$ref": "#/components/schemas/MeOutput"+ "$ref": "#/components/schemas/ConnectedCalendarsData"}},"required": ["status", "data"]},- "CreateIcsFeedInputDto": {+ "DeleteCalendarCredentialsInputBodyDto": {"type": "object","properties": {- "urls": {- "type": "array",- "example": ["https://cal.com/ics/feed.ics", "http://cal.com/ics/feed.ics"],- "description": "An array of ICS URLs",- "items": {- "type": "string",- "example": "https://cal.com/ics/feed.ics"- }- },- "readOnly": {- "type": "boolean",- "default": true,- "example": false,- "description": "Whether to allowing writing to the calendar or not"+ "id": {+ "type": "integer",+ "example": 10,+ "description": "Credential ID of the calendar to delete, as returned by the /calendars endpoint"}},- "required": ["urls"]+ "required": ["id"]},- "CreateIcsFeedOutput": {+ "DeletedCalendarCredentialsOutputDto": {"type": "object","properties": {"id": {- "type": "number",- "example": 1234567890,- "description": "The id of the calendar credential"+ "type": "number"},"type": {- "type": "string",- "example": "ics-feed_calendar",- "description": "The type of the calendar"+ "type": "string"},"userId": {- "type": "integer",- "nullable": true,- "example": 1234567890,- "description": "The user id of the user that created the calendar"+ "type": "number",+ "nullable": true},"teamId": {- "type": "integer",- "nullable": true,- "example": 1234567890,- "description": "The team id of the user that created the calendar"+ "type": "number",+ "nullable": true},"appId": {"type": "string",- "nullable": true,- "example": "ics-feed",- "description": "The slug of the calendar"+ "nullable": true},"invalid": {"type": "boolean",- "nullable": true,- "example": false,- "description": "Whether the calendar credentials are valid or not"+ "nullable": true}},"required": ["id", "type", "userId", "teamId", "appId", "invalid"]},- "CreateIcsFeedOutputResponseDto": {+ "DeletedCalendarCredentialsOutputResponseDto": {"type": "object","properties": {"status": {@@ -14396,343 +14445,305 @@"enum": ["success", "error"]},"data": {- "$ref": "#/components/schemas/CreateIcsFeedOutput"+ "$ref": "#/components/schemas/DeletedCalendarCredentialsOutputDto"}},"required": ["status", "data"]},- "BusyTimesOutput": {+ "CreateOrganizationInput": {"type": "object","properties": {- "start": {- "format": "date-time",- "type": "string"+ "apiKeyDaysValid": {+ "type": "number",+ "minimum": 1,+ "description": "For how many days is managed organization api key valid. Defaults to 30 days.",+ "example": 60,+ "default": 30},- "end": {- "format": "date-time",- "type": "string"+ "apiKeyNeverExpires": {+ "type": "boolean",+ "description": "If true, organization api key never expires.",+ "example": true},- "source": {+ "name": {"type": "string",- "nullable": true+ "minLength": 1,+ "description": "Name of the organization",+ "example": "CalTeam"+ },+ "metadata": {+ "type": "object",+ "description": "You can store any additional data you want here.\nMetadata must have at most 50 keys, each key up to 40 characters.\nValues can be strings (up to 500 characters), numbers, or booleans.",+ "example": {+ "key": "value"+ }}},- "required": ["start", "end"]+ "required": ["name"]},- "GetBusyTimesOutput": {+ "ManagedOrganizationWithApiKeyOutput": {"type": "object","properties": {- "status": {- "type": "string",- "example": "success",- "enum": ["success", "error"]+ "id": {+ "type": "number"},- "data": {- "type": "array",- "items": {- "$ref": "#/components/schemas/BusyTimesOutput"+ "name": {+ "type": "string",+ "minLength": 1+ },+ "metadata": {+ "type": "object",+ "example": {+ "key": "value"}+ },+ "apiKey": {+ "type": "string"}},- "required": ["status", "data"]+ "required": ["id", "name", "apiKey"]},- "Integration": {+ "CreateManagedOrganizationOutput": {"type": "object","properties": {- "appData": {- "type": "object",- "nullable": true- },- "dirName": {- "type": "string"+ "status": {+ "type": "string",+ "example": "success",+ "enum": ["success", "error"]},- "__template": {- "type": "string"+ "data": {+ "$ref": "#/components/schemas/ManagedOrganizationWithApiKeyOutput"+ }+ },+ "required": ["status", "data"]+ },+ "ManagedOrganizationOutput": {+ "type": "object",+ "properties": {+ "id": {+ "type": "number"},"name": {- "type": "string"- },- "description": {- "type": "string"- },- "installed": {- "type": "boolean"- },- "type": {- "type": "string"- },- "title": {- "type": "string"+ "type": "string",+ "minLength": 1},- "variant": {- "type": "string"+ "metadata": {+ "type": "object",+ "example": {+ "key": "value"+ }+ }+ },+ "required": ["id", "name"]+ },+ "GetManagedOrganizationOutput": {+ "type": "object",+ "properties": {+ "status": {+ "type": "string",+ "example": "success",+ "enum": ["success", "error"]},- "category": {- "type": "string"+ "data": {+ "$ref": "#/components/schemas/ManagedOrganizationOutput"+ }+ },+ "required": ["status", "data"]+ },+ "GetManagedOrganizationsOutput": {+ "type": "object",+ "properties": {+ "status": {+ "type": "string",+ "example": "success",+ "enum": ["success", "error"]},- "categories": {+ "data": {"type": "array","items": {- "type": "string"+ "$ref": "#/components/schemas/ManagedOrganizationOutput"}- },- "logo": {- "type": "string"- },- "publisher": {- "type": "string"- },- "slug": {- "type": "string"- },- "url": {- "type": "string"- },- "email": {- "type": "string"- },- "locationOption": {- "type": "object",- "nullable": true}},- "required": [- "name",- "description",- "type",- "variant",- "categories",- "logo",- "publisher",- "slug",- "url",- "email",- "locationOption"- ]+ "required": ["status", "data"]},- "Primary": {+ "UpdateOrganizationInput": {"type": "object","properties": {- "externalId": {- "type": "string"- },- "integration": {- "type": "string"- },"name": {- "type": "string"- },- "primary": {- "type": "boolean",- "nullable": true- },- "readOnly": {- "type": "boolean"- },- "email": {- "type": "string"- },- "isSelected": {- "type": "boolean"- },- "credentialId": {- "type": "number"- },- "delegationCredentialId": {"type": "string",- "nullable": true+ "minLength": 1,+ "description": "Name of the organization",+ "example": "CalTeam"+ },+ "metadata": {+ "type": "object",+ "description": "You can store any additional data you want here.\nMetadata must have at most 50 keys, each key up to 40 characters.\nValues can be strings (up to 500 characters), numbers, or booleans.",+ "example": {+ "key": "value"+ }}- },- "required": ["externalId", "primary", "readOnly", "isSelected", "credentialId"]+ }},- "Calendar": {+ "RoutingFormResponseOutput": {"type": "object","properties": {- "externalId": {+ "id": {"type": "string"},- "integration": {+ "formId": {"type": "string"},- "name": {+ "formFillerId": {"type": "string"},- "primary": {- "type": "boolean",- "nullable": true- },- "readOnly": {- "type": "boolean"- },- "email": {+ "routedToBookingUid": {"type": "string"},- "isSelected": {- "type": "boolean"- },- "credentialId": {- "type": "number"+ "response": {+ "type": "object",+ "example": {+ "f00b26df-f54b-4985-8d98-17c5482c6a24": {+ "label": "participant",+ "value": "mamut"+ }+ }},- "delegationCredentialId": {- "type": "string",- "nullable": true+ "createdAt": {+ "format": "date-time",+ "type": "string"}},- "required": ["externalId", "readOnly", "isSelected", "credentialId"]+ "required": ["id", "formId", "formFillerId", "routedToBookingUid", "response", "createdAt"]},- "ConnectedCalendar": {+ "GetRoutingFormResponsesOutput": {"type": "object","properties": {- "integration": {- "$ref": "#/components/schemas/Integration"- },- "credentialId": {- "type": "number"- },- "delegationCredentialId": {+ "status": {"type": "string",- "nullable": true- },- "primary": {- "$ref": "#/components/schemas/Primary"+ "example": "success",+ "enum": ["success", "error"]},- "calendars": {+ "data": {"type": "array","items": {- "$ref": "#/components/schemas/Calendar"+ "$ref": "#/components/schemas/RoutingFormResponseOutput"}}},- "required": ["integration", "credentialId"]+ "required": ["status", "data"]},- "DestinationCalendar": {+ "ProviderVerifyClientData": {"type": "object","properties": {- "id": {- "type": "object"- },- "integration": {- "type": "string"- },- "externalId": {+ "clientId": {"type": "string"},- "primaryEmail": {- "type": "string",- "nullable": true- },- "userId": {- "type": "number",- "nullable": true- },- "eventTypeId": {- "type": "number",- "nullable": true- },- "credentialId": {- "type": "number",- "nullable": true- },- "delegationCredentialId": {- "type": "string",- "nullable": true+ "organizationId": {+ "type": "number"},"name": {- "type": "string",- "nullable": true- },- "primary": {- "type": "boolean"- },- "readOnly": {- "type": "boolean"- },- "email": {- "type": "string"- },- "integrationTitle": {"type": "string"}},- "required": [- "id",- "integration",- "externalId",- "primaryEmail",- "userId",- "eventTypeId",- "credentialId"- ]+ "required": ["clientId", "organizationId", "name"]},- "ConnectedCalendarsData": {+ "ProviderVerifyClientOutput": {"type": "object","properties": {- "connectedCalendars": {- "type": "array",- "items": {- "$ref": "#/components/schemas/ConnectedCalendar"- }+ "status": {+ "type": "string",+ "example": "success",+ "enum": ["success", "error"]},- "destinationCalendar": {- "$ref": "#/components/schemas/DestinationCalendar"+ "data": {+ "$ref": "#/components/schemas/ProviderVerifyClientData"}},- "required": ["connectedCalendars", "destinationCalendar"]+ "required": ["status", "data"]},- "ConnectedCalendarsOutput": {+ "ProviderVerifyAccessTokenOutput": {"type": "object","properties": {"status": {"type": "string","example": "success","enum": ["success", "error"]- },- "data": {- "$ref": "#/components/schemas/ConnectedCalendarsData"}},- "required": ["status", "data"]+ "required": ["status"]},- "DeleteCalendarCredentialsInputBodyDto": {+ "MeOrgOutput": {"type": "object","properties": {+ "isPlatform": {+ "type": "boolean"+ },"id": {- "type": "integer",- "example": 10,- "description": "Credential ID of the calendar to delete, as returned by the /calendars endpoint"+ "type": "number"}},- "required": ["id"]+ "required": ["isPlatform", "id"]},- "DeletedCalendarCredentialsOutputDto": {+ "MeOutput": {"type": "object","properties": {"id": {"type": "number"},- "type": {+ "username": {"type": "string"},- "userId": {+ "email": {+ "type": "string"+ },+ "timeFormat": {+ "type": "number"+ },+ "defaultScheduleId": {"type": "number","nullable": true},- "teamId": {+ "weekStart": {+ "type": "string"+ },+ "timeZone": {+ "type": "string"+ },+ "organizationId": {"type": "number","nullable": true},- "appId": {+ "organization": {+ "$ref": "#/components/schemas/MeOrgOutput"+ }+ },+ "required": [+ "id",+ "username",+ "email",+ "timeFormat",+ "defaultScheduleId",+ "weekStart",+ "timeZone",+ "organizationId"+ ]+ },+ "GetMeOutput": {+ "type": "object",+ "properties": {+ "status": {"type": "string",- "nullable": true+ "example": "success",+ "enum": ["success", "error"]},- "invalid": {- "type": "boolean",- "nullable": true+ "data": {+ "$ref": "#/components/schemas/MeOutput"}},- "required": ["id", "type", "userId", "teamId", "appId", "invalid"]+ "required": ["status", "data"]},- "DeletedCalendarCredentialsOutputResponseDto": {+ "UpdateMeOutput": {"type": "object","properties": {"status": {@@ -14741,7 +14752,7 @@"enum": ["success", "error"]},"data": {- "$ref": "#/components/schemas/DeletedCalendarCredentialsOutputDto"+ "$ref": "#/components/schemas/MeOutput"}},"required": ["status", "data"]