@azure/eventgrid 5.1.1 → 5.2.0

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/dist/index.js CHANGED
@@ -1206,6 +1206,71 @@ const StorageTaskCompletedEventData = {
1206
1206
  }
1207
1207
  }
1208
1208
  };
1209
+ const StorageTaskAssignmentQueuedEventData = {
1210
+ type: {
1211
+ name: "Composite",
1212
+ className: "StorageTaskAssignmentQueuedEventData",
1213
+ modelProperties: {
1214
+ queuedOn: {
1215
+ serializedName: "queuedDateTime",
1216
+ required: true,
1217
+ type: {
1218
+ name: "String"
1219
+ }
1220
+ },
1221
+ taskExecutionId: {
1222
+ serializedName: "taskExecutionId",
1223
+ required: true,
1224
+ type: {
1225
+ name: "String"
1226
+ }
1227
+ }
1228
+ }
1229
+ }
1230
+ };
1231
+ const StorageTaskAssignmentCompletedEventData = {
1232
+ type: {
1233
+ name: "Composite",
1234
+ className: "StorageTaskAssignmentCompletedEventData",
1235
+ modelProperties: {
1236
+ status: {
1237
+ serializedName: "status",
1238
+ required: true,
1239
+ type: {
1240
+ name: "String"
1241
+ }
1242
+ },
1243
+ completedOn: {
1244
+ serializedName: "completedDateTime",
1245
+ required: true,
1246
+ type: {
1247
+ name: "String"
1248
+ }
1249
+ },
1250
+ taskExecutionId: {
1251
+ serializedName: "taskExecutionId",
1252
+ required: true,
1253
+ type: {
1254
+ name: "String"
1255
+ }
1256
+ },
1257
+ taskName: {
1258
+ serializedName: "taskName",
1259
+ required: true,
1260
+ type: {
1261
+ name: "String"
1262
+ }
1263
+ },
1264
+ summaryReportBlobUri: {
1265
+ serializedName: "summaryReportBlobUrl",
1266
+ required: true,
1267
+ type: {
1268
+ name: "String"
1269
+ }
1270
+ }
1271
+ }
1272
+ }
1273
+ };
1209
1274
  const EventHubCaptureFileCreatedEventData = {
1210
1275
  type: {
1211
1276
  name: "Composite",
@@ -7893,6 +7958,106 @@ const ResourceNotificationsResourceDeletedEventData = {
7893
7958
  }
7894
7959
  }
7895
7960
  };
7961
+ const AvsPrivateCloudEventData = {
7962
+ type: {
7963
+ name: "Composite",
7964
+ className: "AvsPrivateCloudEventData",
7965
+ modelProperties: {
7966
+ operationId: {
7967
+ serializedName: "operationId",
7968
+ required: true,
7969
+ type: {
7970
+ name: "String"
7971
+ }
7972
+ }
7973
+ }
7974
+ }
7975
+ };
7976
+ const AvsClusterEventData = {
7977
+ type: {
7978
+ name: "Composite",
7979
+ className: "AvsClusterEventData",
7980
+ modelProperties: {
7981
+ operationId: {
7982
+ serializedName: "operationId",
7983
+ required: true,
7984
+ type: {
7985
+ name: "String"
7986
+ }
7987
+ },
7988
+ addedHostNames: {
7989
+ serializedName: "addedHostNames",
7990
+ required: true,
7991
+ type: {
7992
+ name: "Sequence",
7993
+ element: {
7994
+ type: {
7995
+ name: "String"
7996
+ }
7997
+ }
7998
+ }
7999
+ },
8000
+ removedHostNames: {
8001
+ serializedName: "removedHostNames",
8002
+ required: true,
8003
+ type: {
8004
+ name: "Sequence",
8005
+ element: {
8006
+ type: {
8007
+ name: "String"
8008
+ }
8009
+ }
8010
+ }
8011
+ },
8012
+ inMaintenanceHostNames: {
8013
+ serializedName: "inMaintenanceHostNames",
8014
+ required: true,
8015
+ type: {
8016
+ name: "Sequence",
8017
+ element: {
8018
+ type: {
8019
+ name: "String"
8020
+ }
8021
+ }
8022
+ }
8023
+ }
8024
+ }
8025
+ }
8026
+ };
8027
+ const AvsScriptExecutionEventData = {
8028
+ type: {
8029
+ name: "Composite",
8030
+ className: "AvsScriptExecutionEventData",
8031
+ modelProperties: {
8032
+ operationId: {
8033
+ serializedName: "operationId",
8034
+ required: true,
8035
+ type: {
8036
+ name: "String"
8037
+ }
8038
+ },
8039
+ cmdletId: {
8040
+ serializedName: "cmdletId",
8041
+ required: true,
8042
+ type: {
8043
+ name: "String"
8044
+ }
8045
+ },
8046
+ output: {
8047
+ serializedName: "output",
8048
+ required: true,
8049
+ type: {
8050
+ name: "Sequence",
8051
+ element: {
8052
+ type: {
8053
+ name: "String"
8054
+ }
8055
+ }
8056
+ }
8057
+ }
8058
+ }
8059
+ }
8060
+ };
7896
8061
  const EventGridMqttClientCreatedOrUpdatedEventData = {
7897
8062
  type: {
7898
8063
  name: "Composite",
@@ -8573,6 +8738,115 @@ const ResourceNotificationsResourceManagementDeletedEventData = {
8573
8738
  modelProperties: Object.assign({}, ResourceNotificationsResourceDeletedEventData.type.modelProperties)
8574
8739
  }
8575
8740
  };
8741
+ const AvsPrivateCloudUpdatingEventData = {
8742
+ type: {
8743
+ name: "Composite",
8744
+ className: "AvsPrivateCloudUpdatingEventData",
8745
+ modelProperties: Object.assign({}, AvsPrivateCloudEventData.type.modelProperties)
8746
+ }
8747
+ };
8748
+ const AvsPrivateCloudUpdatedEventData = {
8749
+ type: {
8750
+ name: "Composite",
8751
+ className: "AvsPrivateCloudUpdatedEventData",
8752
+ modelProperties: Object.assign({}, AvsPrivateCloudEventData.type.modelProperties)
8753
+ }
8754
+ };
8755
+ const AvsPrivateCloudFailedEventData = {
8756
+ type: {
8757
+ name: "Composite",
8758
+ className: "AvsPrivateCloudFailedEventData",
8759
+ modelProperties: Object.assign(Object.assign({}, AvsPrivateCloudEventData.type.modelProperties), { failureMessage: {
8760
+ serializedName: "failureMessage",
8761
+ required: true,
8762
+ type: {
8763
+ name: "String"
8764
+ }
8765
+ } })
8766
+ }
8767
+ };
8768
+ const AvsClusterCreatedEventData = {
8769
+ type: {
8770
+ name: "Composite",
8771
+ className: "AvsClusterCreatedEventData",
8772
+ modelProperties: Object.assign({}, AvsClusterEventData.type.modelProperties)
8773
+ }
8774
+ };
8775
+ const AvsClusterDeletedEventData = {
8776
+ type: {
8777
+ name: "Composite",
8778
+ className: "AvsClusterDeletedEventData",
8779
+ modelProperties: Object.assign({}, AvsClusterEventData.type.modelProperties)
8780
+ }
8781
+ };
8782
+ const AvsClusterUpdatingEventData = {
8783
+ type: {
8784
+ name: "Composite",
8785
+ className: "AvsClusterUpdatingEventData",
8786
+ modelProperties: Object.assign({}, AvsClusterEventData.type.modelProperties)
8787
+ }
8788
+ };
8789
+ const AvsClusterUpdatedEventData = {
8790
+ type: {
8791
+ name: "Composite",
8792
+ className: "AvsClusterUpdatedEventData",
8793
+ modelProperties: Object.assign({}, AvsClusterEventData.type.modelProperties)
8794
+ }
8795
+ };
8796
+ const AvsClusterFailedEventData = {
8797
+ type: {
8798
+ name: "Composite",
8799
+ className: "AvsClusterFailedEventData",
8800
+ modelProperties: Object.assign(Object.assign({}, AvsClusterEventData.type.modelProperties), { failureMessage: {
8801
+ serializedName: "failureMessage",
8802
+ required: true,
8803
+ type: {
8804
+ name: "String"
8805
+ }
8806
+ } })
8807
+ }
8808
+ };
8809
+ const AvsScriptExecutionStartedEventData = {
8810
+ type: {
8811
+ name: "Composite",
8812
+ className: "AvsScriptExecutionStartedEventData",
8813
+ modelProperties: Object.assign({}, AvsScriptExecutionEventData.type.modelProperties)
8814
+ }
8815
+ };
8816
+ const AvsScriptExecutionFinishedEventData = {
8817
+ type: {
8818
+ name: "Composite",
8819
+ className: "AvsScriptExecutionFinishedEventData",
8820
+ modelProperties: Object.assign(Object.assign({}, AvsScriptExecutionEventData.type.modelProperties), { namedOutputs: {
8821
+ serializedName: "namedOutputs",
8822
+ required: true,
8823
+ type: {
8824
+ name: "Dictionary",
8825
+ value: { type: { name: "String" } }
8826
+ }
8827
+ } })
8828
+ }
8829
+ };
8830
+ const AvsScriptExecutionCancelledEventData = {
8831
+ type: {
8832
+ name: "Composite",
8833
+ className: "AvsScriptExecutionCancelledEventData",
8834
+ modelProperties: Object.assign({}, AvsScriptExecutionEventData.type.modelProperties)
8835
+ }
8836
+ };
8837
+ const AvsScriptExecutionFailedEventData = {
8838
+ type: {
8839
+ name: "Composite",
8840
+ className: "AvsScriptExecutionFailedEventData",
8841
+ modelProperties: Object.assign(Object.assign({}, AvsScriptExecutionEventData.type.modelProperties), { failureMessage: {
8842
+ serializedName: "failureMessage",
8843
+ required: true,
8844
+ type: {
8845
+ name: "String"
8846
+ }
8847
+ } })
8848
+ }
8849
+ };
8576
8850
  const AcsRouterJobCancelledEventData = {
8577
8851
  type: {
8578
8852
  name: "Composite",
@@ -9413,6 +9687,13 @@ const AcsChatThreadCreatedEventData = {
9413
9687
  name: "Dictionary",
9414
9688
  value: { type: { name: "any" } }
9415
9689
  }
9690
+ }, metadata: {
9691
+ serializedName: "metadata",
9692
+ required: true,
9693
+ type: {
9694
+ name: "Dictionary",
9695
+ value: { type: { name: "String" } }
9696
+ }
9416
9697
  }, participants: {
9417
9698
  serializedName: "participants",
9418
9699
  required: true,
@@ -9584,6 +9865,21 @@ var Mappers = /*#__PURE__*/Object.freeze({
9584
9865
  AppConfigurationSnapshotModifiedEventData: AppConfigurationSnapshotModifiedEventData,
9585
9866
  AppEventTypeDetail: AppEventTypeDetail,
9586
9867
  AppServicePlanEventTypeDetail: AppServicePlanEventTypeDetail,
9868
+ AvsClusterCreatedEventData: AvsClusterCreatedEventData,
9869
+ AvsClusterDeletedEventData: AvsClusterDeletedEventData,
9870
+ AvsClusterEventData: AvsClusterEventData,
9871
+ AvsClusterFailedEventData: AvsClusterFailedEventData,
9872
+ AvsClusterUpdatedEventData: AvsClusterUpdatedEventData,
9873
+ AvsClusterUpdatingEventData: AvsClusterUpdatingEventData,
9874
+ AvsPrivateCloudEventData: AvsPrivateCloudEventData,
9875
+ AvsPrivateCloudFailedEventData: AvsPrivateCloudFailedEventData,
9876
+ AvsPrivateCloudUpdatedEventData: AvsPrivateCloudUpdatedEventData,
9877
+ AvsPrivateCloudUpdatingEventData: AvsPrivateCloudUpdatingEventData,
9878
+ AvsScriptExecutionCancelledEventData: AvsScriptExecutionCancelledEventData,
9879
+ AvsScriptExecutionEventData: AvsScriptExecutionEventData,
9880
+ AvsScriptExecutionFailedEventData: AvsScriptExecutionFailedEventData,
9881
+ AvsScriptExecutionFinishedEventData: AvsScriptExecutionFinishedEventData,
9882
+ AvsScriptExecutionStartedEventData: AvsScriptExecutionStartedEventData,
9587
9883
  CloudEvent: CloudEvent,
9588
9884
  CommunicationIdentifierModel: CommunicationIdentifierModel,
9589
9885
  CommunicationUserIdentifierModel: CommunicationUserIdentifierModel,
@@ -9732,6 +10028,8 @@ var Mappers = /*#__PURE__*/Object.freeze({
9732
10028
  StorageDirectoryRenamedEventData: StorageDirectoryRenamedEventData,
9733
10029
  StorageLifecyclePolicyActionSummaryDetail: StorageLifecyclePolicyActionSummaryDetail,
9734
10030
  StorageLifecyclePolicyCompletedEventData: StorageLifecyclePolicyCompletedEventData,
10031
+ StorageTaskAssignmentCompletedEventData: StorageTaskAssignmentCompletedEventData,
10032
+ StorageTaskAssignmentQueuedEventData: StorageTaskAssignmentQueuedEventData,
9735
10033
  StorageTaskCompletedEventData: StorageTaskCompletedEventData,
9736
10034
  StorageTaskQueuedEventData: StorageTaskQueuedEventData,
9737
10035
  SubscriptionDeletedEventData: SubscriptionDeletedEventData,
@@ -9775,7 +10073,7 @@ class GeneratedClientContext extends coreClient__namespace.ServiceClient {
9775
10073
  const defaults = {
9776
10074
  requestContentType: "application/json; charset=utf-8"
9777
10075
  };
9778
- const packageDetails = `azsdk-js-eventgrid/5.1.1`;
10076
+ const packageDetails = `azsdk-js-eventgrid/5.2.0`;
9779
10077
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
9780
10078
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
9781
10079
  : `${packageDetails}`;
@@ -9930,7 +10228,7 @@ function cloudEventDistributedTracingEnricherPolicy() {
9930
10228
  const tracingClient = coreTracing.createTracingClient({
9931
10229
  namespace: "Microsoft.Messaging.EventGrid",
9932
10230
  packageName: "@azure/event-grid",
9933
- packageVersion: "5.1.1",
10231
+ packageVersion: "5.2.0",
9934
10232
  });
9935
10233
 
9936
10234
  // Copyright (c) Microsoft Corporation.