diff --git a/CHANGELOG.md b/CHANGELOG.md index 81e8ea65..e6373f7b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Nylas Java SDK Changelog +## [Unreleased] + +### Added +* `Skype for Consumer` as a conferencing provider to ConferencingProvider +* `Skype for Business` as a conferencing provider to ConferencingProvider + ## [2.13.0] ### Added diff --git a/src/main/kotlin/com/nylas/models/ConferencingProvider.kt b/src/main/kotlin/com/nylas/models/ConferencingProvider.kt index 6065dd98..97a552de 100644 --- a/src/main/kotlin/com/nylas/models/ConferencingProvider.kt +++ b/src/main/kotlin/com/nylas/models/ConferencingProvider.kt @@ -21,6 +21,12 @@ enum class ConferencingProvider { @Json(name = "Zoom Meeting") ZOOM_MEETING, + @Json(name = "Skype for Consumer") + SKYPE_FOR_CONSUMER, + + @Json(name = "Skype for Business") + SKYPE_FOR_BUSINESS, + @Json(name = "unknown") UNKNOWN, } diff --git a/src/main/kotlin/com/nylas/models/CreateEventRequest.kt b/src/main/kotlin/com/nylas/models/CreateEventRequest.kt index ec4c3ea1..22675655 100644 --- a/src/main/kotlin/com/nylas/models/CreateEventRequest.kt +++ b/src/main/kotlin/com/nylas/models/CreateEventRequest.kt @@ -395,6 +395,8 @@ data class CreateEventRequest( ConferencingProvider.MICROSOFT_TEAMS -> CreateEventManualConferencingProvider.MICROSOFT_TEAMS ConferencingProvider.GOTOMEETING -> throw IllegalArgumentException("GoToMeeting is not supported in CreateEventManualConferencingProvider. Use the new enum directly.") ConferencingProvider.WEBEX -> throw IllegalArgumentException("WebEx is not supported in CreateEventManualConferencingProvider. Use the new enum directly.") + ConferencingProvider.SKYPE_FOR_CONSUMER -> throw IllegalArgumentException("Skype for Consumer is not supported in CreateEventManualConferencingProvider. Use the new enum directly.") + ConferencingProvider.SKYPE_FOR_BUSINESS -> throw IllegalArgumentException("Skype for Business is not supported in CreateEventManualConferencingProvider. Use the new enum directly.") ConferencingProvider.UNKNOWN -> throw IllegalArgumentException("Unknown provider is not supported for event creation. Use CreateEventManualConferencingProvider instead.") } return Details(newProvider, details) diff --git a/src/main/kotlin/com/nylas/models/UpdateEventRequest.kt b/src/main/kotlin/com/nylas/models/UpdateEventRequest.kt index 6075af95..98961616 100644 --- a/src/main/kotlin/com/nylas/models/UpdateEventRequest.kt +++ b/src/main/kotlin/com/nylas/models/UpdateEventRequest.kt @@ -457,6 +457,8 @@ data class UpdateEventRequest( ConferencingProvider.MICROSOFT_TEAMS -> UpdateEventManualConferencingProvider.MICROSOFT_TEAMS ConferencingProvider.GOTOMEETING -> throw IllegalArgumentException("GoToMeeting is not supported in UpdateEventManualConferencingProvider. Use the new enum directly.") ConferencingProvider.WEBEX -> throw IllegalArgumentException("WebEx is not supported in UpdateEventManualConferencingProvider. Use the new enum directly.") + ConferencingProvider.SKYPE_FOR_CONSUMER -> throw IllegalArgumentException("Skype for Consumer is not supported in UpdateEventManualConferencingProvider. Use the new enum directly.") + ConferencingProvider.SKYPE_FOR_BUSINESS -> throw IllegalArgumentException("Skype for Business is not supported in UpdateEventManualConferencingProvider. Use the new enum directly.") ConferencingProvider.UNKNOWN -> throw IllegalArgumentException("Unknown provider is not supported for event updates. Use UpdateEventManualConferencingProvider instead.") } return Details(newProvider, details)