@azure/eventgrid 4.15.1-alpha.20231102.2 → 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
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var coreAuth = require('@azure/core-auth');
4
6
  var tslib = require('tslib');
5
7
  var coreClient = require('@azure/core-client');
@@ -6539,6 +6541,14 @@ const AcsChatThreadParticipant = {
6539
6541
  name: "Composite",
6540
6542
  className: "CommunicationIdentifierModel"
6541
6543
  }
6544
+ },
6545
+ metadata: {
6546
+ serializedName: "metadata",
6547
+ required: true,
6548
+ type: {
6549
+ name: "Dictionary",
6550
+ value: { type: { name: "String" } }
6551
+ }
6542
6552
  }
6543
6553
  }
6544
6554
  }
@@ -7773,7 +7783,8 @@ const ResourceNotificationsResourceUpdatedDetails = {
7773
7783
  serializedName: "tags",
7774
7784
  required: true,
7775
7785
  type: {
7776
- name: "String"
7786
+ name: "Dictionary",
7787
+ value: { type: { name: "String" } }
7777
7788
  }
7778
7789
  },
7779
7790
  properties: {
@@ -7831,6 +7842,57 @@ const ResourceNotificationsResourceUpdatedEventData = {
7831
7842
  }
7832
7843
  }
7833
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
+ };
7834
7896
  const EventGridMqttClientCreatedOrUpdatedEventData = {
7835
7897
  type: {
7836
7898
  name: "Composite",
@@ -8497,6 +8559,20 @@ const ResourceNotificationsHealthResourcesAnnotatedEventData = {
8497
8559
  modelProperties: Object.assign({}, ResourceNotificationsResourceUpdatedEventData.type.modelProperties)
8498
8560
  }
8499
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
+ };
8500
8576
  const AcsRouterJobCancelledEventData = {
8501
8577
  type: {
8502
8578
  name: "Composite",
@@ -9137,6 +9213,13 @@ const AcsChatThreadCreatedWithUserEventData = {
9137
9213
  name: "Dictionary",
9138
9214
  value: { type: { name: "any" } }
9139
9215
  }
9216
+ }, metadata: {
9217
+ serializedName: "metadata",
9218
+ required: true,
9219
+ type: {
9220
+ name: "Dictionary",
9221
+ value: { type: { name: "String" } }
9222
+ }
9140
9223
  }, participants: {
9141
9224
  serializedName: "participants",
9142
9225
  required: true,
@@ -9187,6 +9270,13 @@ const AcsChatThreadPropertiesUpdatedPerUserEventData = {
9187
9270
  type: {
9188
9271
  name: "String"
9189
9272
  }
9273
+ }, metadata: {
9274
+ serializedName: "metadata",
9275
+ required: true,
9276
+ type: {
9277
+ name: "Dictionary",
9278
+ value: { type: { name: "String" } }
9279
+ }
9190
9280
  }, properties: {
9191
9281
  serializedName: "properties",
9192
9282
  required: true,
@@ -9380,6 +9470,13 @@ const AcsChatThreadPropertiesUpdatedEventData = {
9380
9470
  name: "Dictionary",
9381
9471
  value: { type: { name: "any" } }
9382
9472
  }
9473
+ }, metadata: {
9474
+ serializedName: "metadata",
9475
+ required: true,
9476
+ type: {
9477
+ name: "Dictionary",
9478
+ value: { type: { name: "String" } }
9479
+ }
9383
9480
  } })
9384
9481
  }
9385
9482
  };
@@ -9609,6 +9706,10 @@ var Mappers = /*#__PURE__*/Object.freeze({
9609
9706
  ResourceNotificationsHealthResourcesAnnotatedEventData: ResourceNotificationsHealthResourcesAnnotatedEventData,
9610
9707
  ResourceNotificationsHealthResourcesAvailabilityStatusChangedEventData: ResourceNotificationsHealthResourcesAvailabilityStatusChangedEventData,
9611
9708
  ResourceNotificationsOperationalDetails: ResourceNotificationsOperationalDetails,
9709
+ ResourceNotificationsResourceDeletedDetails: ResourceNotificationsResourceDeletedDetails,
9710
+ ResourceNotificationsResourceDeletedEventData: ResourceNotificationsResourceDeletedEventData,
9711
+ ResourceNotificationsResourceManagementCreatedOrUpdatedEventData: ResourceNotificationsResourceManagementCreatedOrUpdatedEventData,
9712
+ ResourceNotificationsResourceManagementDeletedEventData: ResourceNotificationsResourceManagementDeletedEventData,
9612
9713
  ResourceNotificationsResourceUpdatedDetails: ResourceNotificationsResourceUpdatedDetails,
9613
9714
  ResourceNotificationsResourceUpdatedEventData: ResourceNotificationsResourceUpdatedEventData,
9614
9715
  ResourceWriteCancelEventData: ResourceWriteCancelEventData,
@@ -9674,7 +9775,7 @@ class GeneratedClientContext extends coreClient__namespace.ServiceClient {
9674
9775
  const defaults = {
9675
9776
  requestContentType: "application/json; charset=utf-8"
9676
9777
  };
9677
- const packageDetails = `azsdk-js-eventgrid/4.15.1`;
9778
+ const packageDetails = `azsdk-js-eventgrid/5.0.0`;
9678
9779
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
9679
9780
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
9680
9781
  : `${packageDetails}`;
@@ -9829,7 +9930,7 @@ function cloudEventDistributedTracingEnricherPolicy() {
9829
9930
  const tracingClient = coreTracing.createTracingClient({
9830
9931
  namespace: "Microsoft.Messaging.EventGrid",
9831
9932
  packageName: "@azure/event-grid",
9832
- packageVersion: "4.15.1",
9933
+ packageVersion: "5.0.0",
9833
9934
  });
9834
9935
 
9835
9936
  // Copyright (c) Microsoft Corporation.