@azure/eventgrid 4.15.1-alpha.20231106.1 → 5.0.0-alpha.20231110.4

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
@@ -6541,6 +6541,14 @@ const AcsChatThreadParticipant = {
6541
6541
  name: "Composite",
6542
6542
  className: "CommunicationIdentifierModel"
6543
6543
  }
6544
+ },
6545
+ metadata: {
6546
+ serializedName: "metadata",
6547
+ required: true,
6548
+ type: {
6549
+ name: "Dictionary",
6550
+ value: { type: { name: "String" } }
6551
+ }
6544
6552
  }
6545
6553
  }
6546
6554
  }
@@ -7775,7 +7783,8 @@ const ResourceNotificationsResourceUpdatedDetails = {
7775
7783
  serializedName: "tags",
7776
7784
  required: true,
7777
7785
  type: {
7778
- name: "String"
7786
+ name: "Dictionary",
7787
+ value: { type: { name: "String" } }
7779
7788
  }
7780
7789
  },
7781
7790
  properties: {
@@ -7833,6 +7842,57 @@ const ResourceNotificationsResourceUpdatedEventData = {
7833
7842
  }
7834
7843
  }
7835
7844
  };
7845
+ const ResourceNotificationsResourceDeletedDetails = {
7846
+ type: {
7847
+ name: "Composite",
7848
+ className: "ResourceNotificationsResourceDeletedDetails",
7849
+ modelProperties: {
7850
+ id: {
7851
+ serializedName: "id",
7852
+ required: true,
7853
+ type: {
7854
+ name: "String"
7855
+ }
7856
+ },
7857
+ name: {
7858
+ serializedName: "name",
7859
+ required: true,
7860
+ type: {
7861
+ name: "String"
7862
+ }
7863
+ },
7864
+ type: {
7865
+ serializedName: "type",
7866
+ required: true,
7867
+ type: {
7868
+ name: "String"
7869
+ }
7870
+ }
7871
+ }
7872
+ }
7873
+ };
7874
+ const ResourceNotificationsResourceDeletedEventData = {
7875
+ type: {
7876
+ name: "Composite",
7877
+ className: "ResourceNotificationsResourceDeletedEventData",
7878
+ modelProperties: {
7879
+ resourceDetails: {
7880
+ serializedName: "resourceInfo",
7881
+ type: {
7882
+ name: "Composite",
7883
+ className: "ResourceNotificationsResourceDeletedDetails"
7884
+ }
7885
+ },
7886
+ operationalDetails: {
7887
+ serializedName: "operationalInfo",
7888
+ type: {
7889
+ name: "Composite",
7890
+ className: "ResourceNotificationsOperationalDetails"
7891
+ }
7892
+ }
7893
+ }
7894
+ }
7895
+ };
7836
7896
  const EventGridMqttClientCreatedOrUpdatedEventData = {
7837
7897
  type: {
7838
7898
  name: "Composite",
@@ -8499,6 +8559,20 @@ const ResourceNotificationsHealthResourcesAnnotatedEventData = {
8499
8559
  modelProperties: Object.assign({}, ResourceNotificationsResourceUpdatedEventData.type.modelProperties)
8500
8560
  }
8501
8561
  };
8562
+ const ResourceNotificationsResourceManagementCreatedOrUpdatedEventData = {
8563
+ type: {
8564
+ name: "Composite",
8565
+ className: "ResourceNotificationsResourceManagementCreatedOrUpdatedEventData",
8566
+ modelProperties: Object.assign({}, ResourceNotificationsResourceUpdatedEventData.type.modelProperties)
8567
+ }
8568
+ };
8569
+ const ResourceNotificationsResourceManagementDeletedEventData = {
8570
+ type: {
8571
+ name: "Composite",
8572
+ className: "ResourceNotificationsResourceManagementDeletedEventData",
8573
+ modelProperties: Object.assign({}, ResourceNotificationsResourceDeletedEventData.type.modelProperties)
8574
+ }
8575
+ };
8502
8576
  const AcsRouterJobCancelledEventData = {
8503
8577
  type: {
8504
8578
  name: "Composite",
@@ -9139,6 +9213,13 @@ const AcsChatThreadCreatedWithUserEventData = {
9139
9213
  name: "Dictionary",
9140
9214
  value: { type: { name: "any" } }
9141
9215
  }
9216
+ }, metadata: {
9217
+ serializedName: "metadata",
9218
+ required: true,
9219
+ type: {
9220
+ name: "Dictionary",
9221
+ value: { type: { name: "String" } }
9222
+ }
9142
9223
  }, participants: {
9143
9224
  serializedName: "participants",
9144
9225
  required: true,
@@ -9189,6 +9270,13 @@ const AcsChatThreadPropertiesUpdatedPerUserEventData = {
9189
9270
  type: {
9190
9271
  name: "String"
9191
9272
  }
9273
+ }, metadata: {
9274
+ serializedName: "metadata",
9275
+ required: true,
9276
+ type: {
9277
+ name: "Dictionary",
9278
+ value: { type: { name: "String" } }
9279
+ }
9192
9280
  }, properties: {
9193
9281
  serializedName: "properties",
9194
9282
  required: true,
@@ -9382,6 +9470,13 @@ const AcsChatThreadPropertiesUpdatedEventData = {
9382
9470
  name: "Dictionary",
9383
9471
  value: { type: { name: "any" } }
9384
9472
  }
9473
+ }, metadata: {
9474
+ serializedName: "metadata",
9475
+ required: true,
9476
+ type: {
9477
+ name: "Dictionary",
9478
+ value: { type: { name: "String" } }
9479
+ }
9385
9480
  } })
9386
9481
  }
9387
9482
  };
@@ -9611,6 +9706,10 @@ var Mappers = /*#__PURE__*/Object.freeze({
9611
9706
  ResourceNotificationsHealthResourcesAnnotatedEventData: ResourceNotificationsHealthResourcesAnnotatedEventData,
9612
9707
  ResourceNotificationsHealthResourcesAvailabilityStatusChangedEventData: ResourceNotificationsHealthResourcesAvailabilityStatusChangedEventData,
9613
9708
  ResourceNotificationsOperationalDetails: ResourceNotificationsOperationalDetails,
9709
+ ResourceNotificationsResourceDeletedDetails: ResourceNotificationsResourceDeletedDetails,
9710
+ ResourceNotificationsResourceDeletedEventData: ResourceNotificationsResourceDeletedEventData,
9711
+ ResourceNotificationsResourceManagementCreatedOrUpdatedEventData: ResourceNotificationsResourceManagementCreatedOrUpdatedEventData,
9712
+ ResourceNotificationsResourceManagementDeletedEventData: ResourceNotificationsResourceManagementDeletedEventData,
9614
9713
  ResourceNotificationsResourceUpdatedDetails: ResourceNotificationsResourceUpdatedDetails,
9615
9714
  ResourceNotificationsResourceUpdatedEventData: ResourceNotificationsResourceUpdatedEventData,
9616
9715
  ResourceWriteCancelEventData: ResourceWriteCancelEventData,
@@ -9676,7 +9775,7 @@ class GeneratedClientContext extends coreClient__namespace.ServiceClient {
9676
9775
  const defaults = {
9677
9776
  requestContentType: "application/json; charset=utf-8"
9678
9777
  };
9679
- const packageDetails = `azsdk-js-eventgrid/4.15.1`;
9778
+ const packageDetails = `azsdk-js-eventgrid/5.0.0`;
9680
9779
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
9681
9780
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
9682
9781
  : `${packageDetails}`;
@@ -9831,7 +9930,7 @@ function cloudEventDistributedTracingEnricherPolicy() {
9831
9930
  const tracingClient = coreTracing.createTracingClient({
9832
9931
  namespace: "Microsoft.Messaging.EventGrid",
9833
9932
  packageName: "@azure/event-grid",
9834
- packageVersion: "4.15.1",
9933
+ packageVersion: "5.0.0",
9835
9934
  });
9836
9935
 
9837
9936
  // Copyright (c) Microsoft Corporation.