@azure/eventgrid 4.7.1-alpha.20220307.1 → 4.8.1-alpha.20220309.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Release History
2
2
 
3
- ## 4.7.1 (Unreleased)
3
+ ## 4.8.1 (Unreleased)
4
4
 
5
5
  ### Features Added
6
6
 
@@ -10,6 +10,12 @@
10
10
 
11
11
  ### Other Changes
12
12
 
13
+ ## 4.8.0 (2022-03-08)
14
+
15
+ ### Features Added
16
+
17
+ - Added new value `IdentityUnsupported` to `MediaJobErrorCode` and `Account` to `MediaJobErrorCategory` for `Microsoft.Media` events.
18
+
13
19
  ## 4.7.0 (2022-02-08)
14
20
 
15
21
  ### Key Bug Fixes
package/dist/index.js CHANGED
@@ -275,6 +275,15 @@ const events1 = {
275
275
  }
276
276
  }
277
277
  };
278
+ const aegChannelName = {
279
+ parameterPath: ["options", "aegChannelName"],
280
+ mapper: {
281
+ serializedName: "aeg-channel-name",
282
+ type: {
283
+ name: "String"
284
+ }
285
+ }
286
+ };
278
287
  const events2 = {
279
288
  parameterPath: "events",
280
289
  mapper: {
@@ -2972,7 +2981,8 @@ const MediaJobError = {
2972
2981
  "UploadTransientError",
2973
2982
  "ConfigurationUnsupported",
2974
2983
  "ContentMalformed",
2975
- "ContentUnsupported"
2984
+ "ContentUnsupported",
2985
+ "IdentityUnsupported"
2976
2986
  ]
2977
2987
  }
2978
2988
  },
@@ -2995,7 +3005,8 @@ const MediaJobError = {
2995
3005
  "Download",
2996
3006
  "Upload",
2997
3007
  "Configuration",
2998
- "Content"
3008
+ "Content",
3009
+ "Account"
2999
3010
  ]
3000
3011
  }
3001
3012
  },
@@ -7612,7 +7623,7 @@ class GeneratedClientContext extends coreClient__namespace.ServiceClient {
7612
7623
  const defaults = {
7613
7624
  requestContentType: "application/json; charset=utf-8"
7614
7625
  };
7615
- const packageDetails = `azsdk-js-eventgrid/4.7.1`;
7626
+ const packageDetails = `azsdk-js-eventgrid/4.8.1`;
7616
7627
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
7617
7628
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
7618
7629
  : `${packageDetails}`;
@@ -7689,7 +7700,7 @@ const publishCloudEventEventsOperationSpec = {
7689
7700
  requestBody: events1,
7690
7701
  queryParameters: [apiVersion],
7691
7702
  urlParameters: [topicHostname],
7692
- headerParameters: [contentType1],
7703
+ headerParameters: [contentType1, aegChannelName],
7693
7704
  mediaType: "json",
7694
7705
  serializer: serializer$1
7695
7706
  };