feat: destination calendar settings for CalendarSettings atom (#16133)
Co-authored-by: Morgan <[email protected]> Co-authored-by: Morgan Vernay <[email protected]> Co-authored-by: Peer Richelsen <[email protected]>
This commit is contained in:
28 files changed
+1137
-282
No files matched your search
@@ -3794,6 +3794,38 @@
|
||||
"OAuthClients Webhooks"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/v2/destination-calendars": {
|
||||
"put": {
|
||||
"operationId": "DestinationCalendarsController_updateDestinationCalendars",
|
||||
"parameters": [],
|
||||
"requestBody": {
|
||||
"required": true,
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/DestinationCalendarsInputBodyDto"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/DestinationCalendarsOutputResponseDto"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": [
|
||||
"Destination-Calendars",
|
||||
"Select a third party destination calendar where events will be created"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"info": {
|
||||
@@ -9163,6 +9195,74 @@
|
||||
"status",
|
||||
"data"
|
||||
]
|
||||
},
|
||||
"DestinationCalendarsInputBodyDto": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"integration": {
|
||||
"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"
|
||||
]
|
||||
},
|
||||
"externalId": {
|
||||
"type": "string",
|
||||
"example": "https://caldav.icloud.com/26962146906/calendars/1644422A-1945-4438-BBC0-4F0Q23A57R7S/",
|
||||
"description": "Unique identifier used to represent the specfic calendar, as returned by the /calendars endpoint"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"integration",
|
||||
"externalId"
|
||||
]
|
||||
},
|
||||
"DestinationCalendarsOutputDto": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"userId": {
|
||||
"type": "number"
|
||||
},
|
||||
"integration": {
|
||||
"type": "string"
|
||||
},
|
||||
"externalId": {
|
||||
"type": "string"
|
||||
},
|
||||
"credentialId": {
|
||||
"type": "number",
|
||||
"nullable": true
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"userId",
|
||||
"integration",
|
||||
"externalId",
|
||||
"credentialId"
|
||||
]
|
||||
},
|
||||
"DestinationCalendarsOutputResponseDto": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"status": {
|
||||
"type": "string",
|
||||
"example": "success",
|
||||
"enum": [
|
||||
"success",
|
||||
"error"
|
||||
]
|
||||
},
|
||||
"data": {
|
||||
"$ref": "#/components/schemas/DestinationCalendarsOutputDto"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"status",
|
||||
"data"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user