Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a3941a6

Browse files
authored
[@azure/eventgrid] Update System events for EG Version 5.8.0 (Azure#31369)
### Packages impacted by this PR @azure/eventgrid ### Issues associated with this PR NA ### Describe the problem that is addressed by this PR This PR consists of the following changes: - A new property `onBehalfOfCallee` is added to the `AcsIncomingCallEventData` interface. - The property `serializedName` has been removed from `MediaJobOutputProgressEventData` & `MediaJobScheduledEventData` models. ### What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen? There are no specific/complex design scenarios for this task. It is a straightforward regenerate and some standard changes to the custom layer of the code. ### Are there test cases added in this PR? _(If not, why?)_ No. This item is standard and we need not add test cases for every new events. The existing cases would be sufficient. ### Provide a list of related PRs _(if any)_ - Azure#28513 (This is the PR that adds similar events to the SDK in the 5.2.0 release) - Azure#28891 (This is the PR that adds similar events to the SDK in the 5.3.0 release) - Azure#29035 (This is the PR that adds similar events to the SDK in the 5.4.0 release) - Azure#29872 (This is the PR that adds similar events to the SDK in the 5.5.0 release) - Azure#30811 (This is the PR that adds similar events to the SDK in the 5.6.0 release) - Azure#31186 (This is the PR that adds similar events to the SDK in the 5.7.0 release) ### Command used to generate this PR:**_(Applicable only to SDK release request PRs)_ ```autorest --typescript swagger\README.md``` ### Checklists - [X] Added impacted package name to the issue description - [ ] Does this PR needs any fixes in the SDK Generator?** _(If so, create an Issue in the [Autorest/typescript](https://github.com/Azure/autorest.typescript) repository and link it here)_ - [X] Added a changelog (if necessary)
1 parent e27c896 commit a3941a6

File tree

8 files changed

+25
-30
lines changed

8 files changed

+25
-30
lines changed

sdk/eventgrid/eventgrid/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Release History
22

3+
## 5.8.0 (2024-10-14)
4+
5+
### Other Changes
6+
7+
- A new property `onBehalfOfCallee` is added to the `AcsIncomingCallEventData` interface.
8+
9+
### Bugs Fixed
10+
11+
- The property `serializedName` has been removed from `MediaJobOutputProgressEventData` & `MediaJobScheduledEventData` models.
12+
313
## 5.7.0 (2024-09-23)
414

515
### Other Changes

sdk/eventgrid/eventgrid/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"sdk-type": "client",
44
"author": "Microsoft Corporation",
55
"description": "An isomorphic client library for the Azure Event Grid service.",
6-
"version": "5.7.0",
6+
"version": "5.8.0",
77
"keywords": [
88
"node",
99
"azure",

sdk/eventgrid/eventgrid/review/eventgrid.api.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ export interface AcsIncomingCallEventData {
246246
customContext: AcsIncomingCallCustomContext;
247247
fromCommunicationIdentifier: CommunicationIdentifierModel;
248248
incomingCallContext: string;
249+
onBehalfOfCallee: CommunicationIdentifierModel;
249250
serverCallId: string;
250251
toCommunicationIdentifier: CommunicationIdentifierModel;
251252
}

sdk/eventgrid/eventgrid/src/generated/generatedClientContext.ts

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/eventgrid/eventgrid/src/generated/models/index.ts

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/eventgrid/eventgrid/src/generated/models/mappers.ts

Lines changed: 7 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/eventgrid/eventgrid/src/tracing.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ import { createTracingClient } from "@azure/core-tracing";
1010
export const tracingClient = createTracingClient({
1111
namespace: "Microsoft.Messaging.EventGrid",
1212
packageName: "@azure/event-grid",
13-
packageVersion: "5.7.0",
13+
packageVersion: "5.8.0",
1414
});

sdk/eventgrid/eventgrid/swagger/README.md

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
## Configuration
66

77
```yaml
8-
require: "https://github.com/Azure/azure-rest-api-specs/blob/6c709e5a3325eaa862649acee2252ce1c8166042/specification/eventgrid/data-plane/readme.md"
8+
require: "https://github.com/Azure/azure-rest-api-specs/blob/012021c786c360e0c34faf7af888c7fd7dbe2df5/specification/eventgrid/data-plane/readme.md"
99
package-name: "@azure/eventgrid"
1010
package-version: "5.7.0"
1111
title: GeneratedClient
@@ -37,18 +37,6 @@ directive:
3737
$.useSchemePrefix = false;
3838
```
3939
40-
### Mark a discriminator property as "required"
41-
42-
Newer versions of AutoRest complain during validation about the discriminator property being required
43-
44-
```yaml
45-
directive:
46-
- from: swagger-document
47-
where: $.definitions.MediaJobOutput
48-
transform: >
49-
$.required.push("@odata.type");
50-
```
51-
5240
### Use the "EventData" suffix on the Azure Resource Manager Event types, instead of just "Data"
5341
5442
```yaml

0 commit comments

Comments
 (0)