diff --git a/sdk/eventgrid/azure-eventgrid/CHANGELOG.md b/sdk/eventgrid/azure-eventgrid/CHANGELOG.md index cf88dfb32d41..d0f5965f119f 100644 --- a/sdk/eventgrid/azure-eventgrid/CHANGELOG.md +++ b/sdk/eventgrid/azure-eventgrid/CHANGELOG.md @@ -1,14 +1,10 @@ # Release History -## 4.21.1 (Unreleased) +## 4.22.0 (2025-05-14) ### Features Added -### Breaking Changes - -### Bugs Fixed - -### Other Changes +- Added new enum values to `SystemEventNames` related to Azure Communication Services and Azure Edge. ## 4.21.0 (2024-11-19) diff --git a/sdk/eventgrid/azure-eventgrid/azure/eventgrid/_legacy/_event_mappings.py b/sdk/eventgrid/azure-eventgrid/azure/eventgrid/_legacy/_event_mappings.py index bdd1b51a3b13..934fa0517023 100644 --- a/sdk/eventgrid/azure-eventgrid/azure/eventgrid/_legacy/_event_mappings.py +++ b/sdk/eventgrid/azure-eventgrid/azure/eventgrid/_legacy/_event_mappings.py @@ -61,6 +61,16 @@ class SystemEventNames(str, Enum, metaclass=CaseInsensitiveEnumMeta): AcsAdvancedMessageReceivedEventName = "Microsoft.Communication.AdvancedMessageReceived" + AcsCallEndedEventName = "Microsoft.Communication.CallEnded" + + AcsCallParticipantAddedEventName = "Microsoft.Communication.CallParticipantAdded" + + AcsCallParticipantRemovedEventName = "Microsoft.Communication.CallParticipantRemoved" + + AcsCallStartedEventName = "Microsoft.Communication.CallStarted" + + AcsChatAzureBotCommandReceivedInThreadEventName = "Microsoft.Communication.ChatAzureBotCommandReceivedInThread" + AcsChatMessageDeletedEventName = "Microsoft.Communication.ChatMessageDeleted" AcsChatMessageDeletedInThreadEventName = "Microsoft.Communication.ChatMessageDeletedInThread" @@ -95,6 +105,8 @@ class SystemEventNames(str, Enum, metaclass=CaseInsensitiveEnumMeta): AcsChatThreadWithUserDeletedEventName = "Microsoft.Communication.ChatThreadWithUserDeleted" + AcsChatTypingIndicatorReceivedInThreadEventName = "Microsoft.Communication.ChatTypingIndicatorReceivedInThread" + AcsEmailDeliveryReportReceivedEventName = "Microsoft.Communication.EmailDeliveryReportReceived" AcsEmailEngagementTrackingReportReceivedEventName = "Microsoft.Communication.EmailEngagementTrackingReportReceived" @@ -169,6 +181,10 @@ class SystemEventNames(str, Enum, metaclass=CaseInsensitiveEnumMeta): ApiManagementApiUpdatedEventName = "Microsoft.ApiManagement.APIUpdated" + ApiManagementCircuitBreakerClosedEventName = "Microsoft.ApiManagement.CircuitBreaker.Closed" + + ApiManagementCircuitBreakerOpenedEventName = "Microsoft.ApiManagement.CircuitBreaker.Opened" + ApiManagementGatewayApiAddedEventName = "Microsoft.ApiManagement.GatewayAPIAdded" ApiManagementGatewayApiRemovedEventName = "Microsoft.ApiManagement.GatewayAPIRemoved" @@ -201,6 +217,10 @@ class SystemEventNames(str, Enum, metaclass=CaseInsensitiveEnumMeta): "Microsoft.ApiManagement.GatewayHostnameConfigurationUpdated" ) + ApiManagementGatewayTokenExpiredEventName = "Microsoft.ApiManagement.GatewayTokenExpired" + + ApiManagementGatewayTokenNearExpiryEventName = "Microsoft.ApiManagement.GatewayTokenNearExpiry" + ApiManagementGatewayUpdatedEventName = "Microsoft.ApiManagement.GatewayUpdated" ApiManagementProductCreatedEventName = "Microsoft.ApiManagement.ProductCreated" @@ -279,6 +299,8 @@ class SystemEventNames(str, Enum, metaclass=CaseInsensitiveEnumMeta): DataBoxOrderCompletedEventName = "Microsoft.DataBox.OrderCompleted" + EdgeSolutionVersionPublishedEventName = "Microsoft.Edge.SolutionVersionPublished" + EventGridMQTTClientCreatedOrUpdatedEventName = "Microsoft.EventGrid.MQTTClientCreatedOrUpdated" EventGridMQTTClientDeletedEventName = "Microsoft.EventGrid.MQTTClientDeleted" diff --git a/sdk/eventgrid/azure-eventgrid/azure/eventgrid/_version.py b/sdk/eventgrid/azure-eventgrid/azure/eventgrid/_version.py index 5b0fb6c42327..215940119a6c 100644 --- a/sdk/eventgrid/azure-eventgrid/azure/eventgrid/_version.py +++ b/sdk/eventgrid/azure-eventgrid/azure/eventgrid/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "4.21.1" +VERSION = "4.22.0" diff --git a/sdk/eventgrid/azure-eventgrid/swagger/_constants.py b/sdk/eventgrid/azure-eventgrid/swagger/_constants.py index 14e790d924c2..d38d04039264 100644 --- a/sdk/eventgrid/azure-eventgrid/swagger/_constants.py +++ b/sdk/eventgrid/azure-eventgrid/swagger/_constants.py @@ -30,6 +30,7 @@ "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/Web.json", "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/HealthcareApis.json", "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/eventgrid/data-plane/Microsoft.ApiCenter/stable/2018-01-01/ApiCenter.json", + "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/eventgrid/data-plane/Microsoft.Edge/stable/2018-01-01/Edge.json", ] @@ -80,6 +81,7 @@ "AvsPrivateCloudEventData", "AvsScriptExecutionEventData", "AcsMessageEventData", + "AcsCallParticipantEventData", ] NAMING_CHANGES = ["AcsMessageDeliveryStatusUpdatedEventName", "AcsMessageReceivedEventName"]