@azure/eventgrid 5.11.1-alpha.20250514.1 → 5.12.1-alpha.20250515.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.
Files changed (85) hide show
  1. package/dist/browser/generated/generatedClient.js +1 -1
  2. package/dist/browser/generated/generatedClient.js.map +1 -1
  3. package/dist/browser/generated/generatedClientContext.js +1 -1
  4. package/dist/browser/generated/generatedClientContext.js.map +1 -1
  5. package/dist/browser/generated/models/index.d.ts +248 -39
  6. package/dist/browser/generated/models/index.d.ts.map +1 -1
  7. package/dist/browser/generated/models/index.js +22 -0
  8. package/dist/browser/generated/models/index.js.map +1 -1
  9. package/dist/browser/generated/models/mappers.d.ts +22 -0
  10. package/dist/browser/generated/models/mappers.d.ts.map +1 -1
  11. package/dist/browser/generated/models/mappers.js +496 -38
  12. package/dist/browser/generated/models/mappers.js.map +1 -1
  13. package/dist/browser/index.d.ts +1 -1
  14. package/dist/browser/index.d.ts.map +1 -1
  15. package/dist/browser/index.js +1 -1
  16. package/dist/browser/index.js.map +1 -1
  17. package/dist/browser/predicates.d.ts +23 -1
  18. package/dist/browser/predicates.d.ts.map +1 -1
  19. package/dist/browser/predicates.js.map +1 -1
  20. package/dist/browser/tracing.js +1 -1
  21. package/dist/browser/tracing.js.map +1 -1
  22. package/dist/commonjs/generated/generatedClient.js +1 -1
  23. package/dist/commonjs/generated/generatedClient.js.map +1 -1
  24. package/dist/commonjs/generated/generatedClientContext.js +1 -1
  25. package/dist/commonjs/generated/generatedClientContext.js.map +1 -1
  26. package/dist/commonjs/generated/models/index.d.ts +248 -39
  27. package/dist/commonjs/generated/models/index.d.ts.map +1 -1
  28. package/dist/commonjs/generated/models/index.js +23 -1
  29. package/dist/commonjs/generated/models/index.js.map +1 -1
  30. package/dist/commonjs/generated/models/mappers.d.ts +22 -0
  31. package/dist/commonjs/generated/models/mappers.d.ts.map +1 -1
  32. package/dist/commonjs/generated/models/mappers.js +501 -42
  33. package/dist/commonjs/generated/models/mappers.js.map +1 -1
  34. package/dist/commonjs/index.d.ts +1 -1
  35. package/dist/commonjs/index.d.ts.map +1 -1
  36. package/dist/commonjs/index.js +2 -1
  37. package/dist/commonjs/index.js.map +1 -1
  38. package/dist/commonjs/predicates.d.ts +23 -1
  39. package/dist/commonjs/predicates.d.ts.map +1 -1
  40. package/dist/commonjs/predicates.js.map +1 -1
  41. package/dist/commonjs/tracing.js +1 -1
  42. package/dist/commonjs/tracing.js.map +1 -1
  43. package/dist/esm/generated/generatedClient.js +1 -1
  44. package/dist/esm/generated/generatedClient.js.map +1 -1
  45. package/dist/esm/generated/generatedClientContext.js +1 -1
  46. package/dist/esm/generated/generatedClientContext.js.map +1 -1
  47. package/dist/esm/generated/models/index.d.ts +248 -39
  48. package/dist/esm/generated/models/index.d.ts.map +1 -1
  49. package/dist/esm/generated/models/index.js +22 -0
  50. package/dist/esm/generated/models/index.js.map +1 -1
  51. package/dist/esm/generated/models/mappers.d.ts +22 -0
  52. package/dist/esm/generated/models/mappers.d.ts.map +1 -1
  53. package/dist/esm/generated/models/mappers.js +496 -38
  54. package/dist/esm/generated/models/mappers.js.map +1 -1
  55. package/dist/esm/index.d.ts +1 -1
  56. package/dist/esm/index.d.ts.map +1 -1
  57. package/dist/esm/index.js +1 -1
  58. package/dist/esm/index.js.map +1 -1
  59. package/dist/esm/predicates.d.ts +23 -1
  60. package/dist/esm/predicates.d.ts.map +1 -1
  61. package/dist/esm/predicates.js.map +1 -1
  62. package/dist/esm/tracing.js +1 -1
  63. package/dist/esm/tracing.js.map +1 -1
  64. package/dist/react-native/generated/generatedClient.js +1 -1
  65. package/dist/react-native/generated/generatedClient.js.map +1 -1
  66. package/dist/react-native/generated/generatedClientContext.js +1 -1
  67. package/dist/react-native/generated/generatedClientContext.js.map +1 -1
  68. package/dist/react-native/generated/models/index.d.ts +248 -39
  69. package/dist/react-native/generated/models/index.d.ts.map +1 -1
  70. package/dist/react-native/generated/models/index.js +22 -0
  71. package/dist/react-native/generated/models/index.js.map +1 -1
  72. package/dist/react-native/generated/models/mappers.d.ts +22 -0
  73. package/dist/react-native/generated/models/mappers.d.ts.map +1 -1
  74. package/dist/react-native/generated/models/mappers.js +496 -38
  75. package/dist/react-native/generated/models/mappers.js.map +1 -1
  76. package/dist/react-native/index.d.ts +1 -1
  77. package/dist/react-native/index.d.ts.map +1 -1
  78. package/dist/react-native/index.js +1 -1
  79. package/dist/react-native/index.js.map +1 -1
  80. package/dist/react-native/predicates.d.ts +23 -1
  81. package/dist/react-native/predicates.d.ts.map +1 -1
  82. package/dist/react-native/predicates.js.map +1 -1
  83. package/dist/react-native/tracing.js +1 -1
  84. package/dist/react-native/tracing.js.map +1 -1
  85. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"predicates.js","sourceRoot":"","sources":["../../src/predicates.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AA4oBlC;;;;GAIG;AACH,SAAS,gBAAgB,CACvB,CAAgD;IAEhD,OAAQ,CAAS,CAAC,MAAM,KAAK,SAAS,CAAC;AACzC,CAAC;AA4BD,MAAM,UAAU,aAAa,CAC3B,SAAY,EACZ,KAAoD;IAIpD,IAAI,gBAAgB,CAAC,KAAK,CAAC,EAAE,CAAC;QAC5B,OAAO,KAAK,CAAC,IAAI,KAAK,SAAS,CAAC;IAClC,CAAC;SAAM,CAAC;QACN,OAAO,KAAK,CAAC,SAAS,KAAK,SAAS,CAAC;IACvC,CAAC;AACH,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type {\n AcsChatMessageDeletedEventData,\n AcsChatMessageDeletedInThreadEventData,\n AcsChatMessageEditedEventData,\n AcsChatMessageEditedInThreadEventData,\n AcsChatMessageReceivedEventData,\n AcsChatMessageReceivedInThreadEventData,\n AcsChatParticipantAddedToThreadEventData,\n AcsChatParticipantAddedToThreadWithUserEventData,\n AcsChatParticipantRemovedFromThreadEventData,\n AcsChatParticipantRemovedFromThreadWithUserEventData,\n AcsChatThreadCreatedWithUserEventData,\n AcsChatThreadPropertiesUpdatedPerUserEventData,\n AcsChatThreadWithUserDeletedEventData,\n AcsRecordingFileStatusUpdatedEventData,\n AcsSmsDeliveryReportReceivedEventData,\n AcsSmsReceivedEventData,\n AcsUserDisconnectedEventData,\n ApiManagementApiCreatedEventData,\n ApiManagementApiDeletedEventData,\n ApiManagementApiReleaseCreatedEventData,\n ApiManagementApiReleaseDeletedEventData,\n ApiManagementApiReleaseUpdatedEventData,\n ApiManagementApiUpdatedEventData,\n ApiManagementProductCreatedEventData,\n ApiManagementProductDeletedEventData,\n ApiManagementProductUpdatedEventData,\n ApiManagementSubscriptionCreatedEventData,\n ApiManagementSubscriptionDeletedEventData,\n ApiManagementSubscriptionUpdatedEventData,\n ApiManagementUserCreatedEventData,\n ApiManagementUserDeletedEventData,\n ApiManagementUserUpdatedEventData,\n AppConfigurationKeyValueDeletedEventData,\n AppConfigurationKeyValueModifiedEventData,\n ContainerRegistryChartDeletedEventData,\n ContainerRegistryChartPushedEventData,\n ContainerRegistryImageDeletedEventData,\n ContainerRegistryImagePushedEventData,\n ContainerServiceNewKubernetesVersionAvailableEventData,\n EventHubCaptureFileCreatedEventData,\n HealthcareDicomImageCreatedEventData,\n HealthcareDicomImageDeletedEventData,\n HealthcareFhirResourceCreatedEventData,\n HealthcareFhirResourceDeletedEventData,\n HealthcareFhirResourceUpdatedEventData,\n IotHubDeviceConnectedEventData,\n IotHubDeviceCreatedEventData,\n IotHubDeviceDeletedEventData,\n IotHubDeviceDisconnectedEventData,\n IotHubDeviceTelemetryEventData,\n KeyVaultAccessPolicyChangedEventData,\n KeyVaultCertificateExpiredEventData,\n KeyVaultCertificateNearExpiryEventData,\n KeyVaultCertificateNewVersionCreatedEventData,\n KeyVaultKeyExpiredEventData,\n KeyVaultKeyNearExpiryEventData,\n KeyVaultKeyNewVersionCreatedEventData,\n KeyVaultSecretExpiredEventData,\n KeyVaultSecretNearExpiryEventData,\n KeyVaultSecretNewVersionCreatedEventData,\n MachineLearningServicesDatasetDriftDetectedEventData,\n MachineLearningServicesModelDeployedEventData,\n MachineLearningServicesModelRegisteredEventData,\n MachineLearningServicesRunCompletedEventData,\n MachineLearningServicesRunStatusChangedEventData,\n MapsGeofenceEnteredEventData,\n MapsGeofenceExitedEventData,\n MapsGeofenceResultEventData,\n MediaJobCanceledEventData,\n MediaJobCancelingEventData,\n MediaJobErroredEventData,\n MediaJobFinishedEventData,\n MediaJobOutputCanceledEventData,\n MediaJobOutputCancelingEventData,\n MediaJobOutputErroredEventData,\n MediaJobOutputFinishedEventData,\n MediaJobOutputProcessingEventData,\n MediaJobOutputProgressEventData,\n MediaJobOutputScheduledEventData,\n MediaJobOutputStateChangeEventData,\n MediaJobProcessingEventData,\n MediaJobScheduledEventData,\n MediaJobStateChangeEventData,\n MediaLiveEventChannelArchiveHeartbeatEventData,\n MediaLiveEventConnectionRejectedEventData,\n MediaLiveEventEncoderConnectedEventData,\n MediaLiveEventEncoderDisconnectedEventData,\n MediaLiveEventIncomingDataChunkDroppedEventData,\n MediaLiveEventIncomingStreamReceivedEventData,\n MediaLiveEventIncomingStreamsOutOfSyncEventData,\n MediaLiveEventIncomingVideoStreamsOutOfSyncEventData,\n MediaLiveEventIngestHeartbeatEventData,\n MediaLiveEventTrackDiscontinuityDetectedEventData,\n PolicyInsightsPolicyStateChangedEventData,\n PolicyInsightsPolicyStateCreatedEventData,\n PolicyInsightsPolicyStateDeletedEventData,\n ResourceActionCancelEventData,\n ResourceActionFailureEventData,\n ResourceActionSuccessEventData,\n ResourceDeleteCancelEventData,\n ResourceDeleteFailureEventData,\n ResourceDeleteSuccessEventData,\n ResourceWriteCancelEventData,\n ResourceWriteFailureEventData,\n ResourceWriteSuccessEventData,\n ServiceBusActiveMessagesAvailableWithNoListenersEventData,\n ServiceBusDeadletterMessagesAvailableWithNoListenersEventData,\n StorageAsyncOperationInitiatedEventData,\n StorageBlobCreatedEventData,\n StorageBlobDeletedEventData,\n StorageBlobInventoryPolicyCompletedEventData,\n StorageBlobRenamedEventData,\n StorageBlobTierChangedEventData,\n StorageDirectoryCreatedEventData,\n StorageDirectoryDeletedEventData,\n StorageDirectoryRenamedEventData,\n StorageLifecyclePolicyCompletedEventData,\n SubscriptionDeletedEventData,\n SubscriptionValidationEventData,\n WebAppServicePlanUpdatedEventData,\n WebAppUpdatedEventData,\n WebBackupOperationCompletedEventData,\n WebBackupOperationFailedEventData,\n WebBackupOperationStartedEventData,\n WebRestoreOperationCompletedEventData,\n WebRestoreOperationFailedEventData,\n WebRestoreOperationStartedEventData,\n WebSlotSwapCompletedEventData,\n WebSlotSwapFailedEventData,\n WebSlotSwapStartedEventData,\n WebSlotSwapWithPreviewCancelledEventData,\n WebSlotSwapWithPreviewStartedEventData,\n StorageTaskQueuedEventData,\n StorageTaskCompletedEventData,\n DataBoxCopyStartedEventData,\n DataBoxCopyCompletedEventData,\n DataBoxOrderCompletedEventData,\n AcsIncomingCallEventData,\n AcsEmailDeliveryReportReceivedEventData,\n AcsEmailEngagementTrackingReportReceivedEventData,\n ApiManagementGatewayCreatedEventData,\n ApiManagementGatewayUpdatedEventData,\n ApiManagementGatewayDeletedEventData,\n ApiManagementGatewayHostnameConfigurationCreatedEventData,\n ApiManagementGatewayHostnameConfigurationUpdatedEventData,\n ApiManagementGatewayHostnameConfigurationDeletedEventData,\n ApiManagementGatewayCertificateAuthorityCreatedEventData,\n ApiManagementGatewayCertificateAuthorityUpdatedEventData,\n ApiManagementGatewayCertificateAuthorityDeletedEventData,\n ApiManagementGatewayApiAddedEventData,\n ApiManagementGatewayApiRemovedEventData,\n HealthcareDicomImageUpdatedEventData,\n ContainerServiceClusterSupportEndedEventData,\n ContainerServiceClusterSupportEndingEventData,\n ContainerServiceNodePoolRollingStartedEventData,\n ContainerServiceNodePoolRollingSucceededEventData,\n ContainerServiceNodePoolRollingFailedEventData,\n EventGridMqttClientCreatedOrUpdatedEventData,\n EventGridMqttClientDeletedEventData,\n EventGridMqttClientSessionConnectedEventData,\n EventGridMqttClientSessionDisconnectedEventData,\n AppConfigurationSnapshotCreatedEventData,\n AppConfigurationSnapshotModifiedEventData,\n ResourceNotificationsHealthResourcesAvailabilityStatusChangedEventData,\n ResourceNotificationsHealthResourcesAnnotatedEventData,\n AcsRouterWorkerDeregisteredEventData,\n AcsRouterWorkerRegisteredEventData,\n AcsRouterJobCancelledEventData,\n AcsRouterJobClassificationFailedEventData,\n AcsRouterJobClassifiedEventData,\n AcsRouterJobClosedEventData,\n AcsRouterJobCompletedEventData,\n AcsRouterJobDeletedEventData,\n AcsRouterJobExceptionTriggeredEventData,\n AcsRouterJobQueuedEventData,\n AcsRouterJobReceivedEventData,\n AcsRouterJobSchedulingFailedEventData,\n AcsRouterJobUnassignedEventData,\n AcsRouterJobWaitingForActivationEventData,\n AcsRouterJobWorkerSelectorsExpiredEventData,\n AcsRouterWorkerDeletedEventData,\n AcsRouterWorkerOfferAcceptedEventData,\n AcsRouterWorkerOfferDeclinedEventData,\n AcsRouterWorkerOfferExpiredEventData,\n AcsRouterWorkerOfferIssuedEventData,\n AcsRouterWorkerOfferRevokedEventData,\n ResourceNotificationsResourceManagementCreatedOrUpdatedEventData,\n ResourceNotificationsResourceManagementDeletedEventData,\n StorageTaskAssignmentQueuedEventData,\n AvsScriptExecutionStartedEventData,\n AvsScriptExecutionCancelledEventData,\n AvsClusterCreatedEventData,\n AvsPrivateCloudFailedEventData,\n AvsPrivateCloudUpdatingEventData,\n AvsPrivateCloudUpdatedEventData,\n AvsClusterUpdatingEventData,\n AvsClusterDeletedEventData,\n AvsScriptExecutionFailedEventData,\n AvsScriptExecutionFinishedEventData,\n StorageTaskAssignmentCompletedEventData,\n AvsClusterUpdatedEventData,\n AvsClusterFailedEventData,\n ApiCenterApiDefinitionAddedEventData,\n ApiCenterApiDefinitionUpdatedEventData,\n AcsMessageDeliveryStatusUpdatedEventData,\n AcsMessageReceivedEventData,\n AcsRouterWorkerUpdatedEventData,\n AcsChatThreadDeletedEventData,\n AcsChatThreadCreatedEventData,\n AcsChatThreadPropertiesUpdatedEventData,\n ResourceNotificationsContainerServiceEventResourcesScheduledEventData,\n} from \"./generated/models/index.js\";\n\nimport type { CloudEvent, EventGridEvent } from \"./models.js\";\n\n/**\n * The Event Types for all System Events. These may be used with `isSystemEvent` to determine if an\n * event is a system event of a given type.\n */\nexport type KnownSystemEventTypes = keyof SystemEventNameToEventData;\n\n/**\n * A mapping of event type names to event data type interfaces.\n */\nexport interface SystemEventNameToEventData {\n /** An interface for the event data of a \"Microsoft.ApiManagement.UserCreated\" event. */\n \"Microsoft.ApiManagement.UserCreated\": ApiManagementUserCreatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.UserUpdated\" event. */\n \"Microsoft.ApiManagement.UserUpdated\": ApiManagementUserUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.UserDeleted\" event. */\n \"Microsoft.ApiManagement.UserDeleted\": ApiManagementUserDeletedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.SubscriptionCreated\" event. */\n \"Microsoft.ApiManagement.SubscriptionCreated\": ApiManagementSubscriptionCreatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.SubscriptionUpdated\" event. */\n \"Microsoft.ApiManagement.SubscriptionUpdated\": ApiManagementSubscriptionUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.SubscriptionDeleted\" event. */\n \"Microsoft.ApiManagement.SubscriptionDeleted\": ApiManagementSubscriptionDeletedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.ProductCreated\" event. */\n \"Microsoft.ApiManagement.ProductCreated\": ApiManagementProductCreatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.ProductUpdated\" event. */\n \"Microsoft.ApiManagement.ProductUpdated\": ApiManagementProductUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.ProductDeleted\" event. */\n \"Microsoft.ApiManagement.ProductDeleted\": ApiManagementProductDeletedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.APICreated\" event. */\n \"Microsoft.ApiManagement.APICreated\": ApiManagementApiCreatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.APIUpdated\" event. */\n \"Microsoft.ApiManagement.APIUpdated\": ApiManagementApiUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.APIDeleted\" event. */\n \"Microsoft.ApiManagement.APIDeleted\": ApiManagementApiDeletedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.APIReleaseCreated\" event. */\n \"Microsoft.ApiManagement.APIReleaseCreated\": ApiManagementApiReleaseCreatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.APIReleaseUpdated\" event. */\n \"Microsoft.ApiManagement.APIReleaseUpdated\": ApiManagementApiReleaseUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.APIReleaseDeleted\" event. */\n \"Microsoft.ApiManagement.APIReleaseDeleted\": ApiManagementApiReleaseDeletedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatMessageReceived\" event. */\n \"Microsoft.Communication.ChatMessageReceived\": AcsChatMessageReceivedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatMessageReceivedInThread\" event. */\n \"Microsoft.Communication.ChatMessageReceivedInThread\": AcsChatMessageReceivedInThreadEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatMessageEdited\" event. */\n \"Microsoft.Communication.ChatMessageEdited\": AcsChatMessageEditedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatMessageEditedInThread\" event. */\n \"Microsoft.Communication.ChatMessageEditedInThread\": AcsChatMessageEditedInThreadEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatMessageDeleted\" event. */\n \"Microsoft.Communication.ChatMessageDeleted\": AcsChatMessageDeletedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatMessageDeletedInThread\" event. */\n \"Microsoft.Communication.ChatMessageDeletedInThread\": AcsChatMessageDeletedInThreadEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatThreadCreatedWithUser\" event. */\n \"Microsoft.Communication.ChatThreadCreatedWithUser\": AcsChatThreadCreatedWithUserEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatThreadWithUserDeleted\" event. */\n \"Microsoft.Communication.ChatThreadWithUserDeleted\": AcsChatThreadWithUserDeletedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatThreadPropertiesUpdatedPerUser\" event. */\n \"Microsoft.Communication.ChatThreadPropertiesUpdatedPerUser\": AcsChatThreadPropertiesUpdatedPerUserEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatThreadParticipantAdded\" event. */\n \"Microsoft.Communication.ChatThreadParticipantAdded\": AcsChatParticipantAddedToThreadEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatParticipantAddedToThreadWithUser\" event. */\n \"Microsoft.Communication.ChatParticipantAddedToThreadWithUser\": AcsChatParticipantAddedToThreadWithUserEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatThreadParticipantRemoved\" event. */\n \"Microsoft.Communication.ChatThreadParticipantRemoved\": AcsChatParticipantRemovedFromThreadEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatParticipantRemovedFromThreadWithUser\" event. */\n \"Microsoft.Communication.ChatParticipantRemovedFromThreadWithUser\": AcsChatParticipantRemovedFromThreadWithUserEventData;\n /** An interface for the event data of a \"Microsoft.Communication.RecordingFileStatusUpdated\" event. */\n \"Microsoft.Communication.RecordingFileStatusUpdated\": AcsRecordingFileStatusUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.SMSDeliveryReportReceived\" event. */\n \"Microsoft.Communication.SMSDeliveryReportReceived\": AcsSmsDeliveryReportReceivedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.SMSReceived\" event. */\n \"Microsoft.Communication.SMSReceived\": AcsSmsReceivedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.UserDisconnected\" event. */\n \"Microsoft.Communication.UserDisconnected\": AcsUserDisconnectedEventData;\n /** An interface for the event data of a \"Microsoft.ContainerService.NewKubernetesVersionAvailable\" event. */\n \"Microsoft.ContainerService.NewKubernetesVersionAvailable\": ContainerServiceNewKubernetesVersionAvailableEventData;\n /** An interface for the event data of a \"Microsoft.AppConfiguration.KeyValueDeleted\" event. */\n \"Microsoft.AppConfiguration.KeyValueDeleted\": AppConfigurationKeyValueDeletedEventData;\n /** An interface for the event data of a \"Microsoft.AppConfiguration.KeyValueModified\" event. */\n \"Microsoft.AppConfiguration.KeyValueModified\": AppConfigurationKeyValueModifiedEventData;\n /** An interface for the event data of a \"Microsoft.ContainerRegistry.ImagePushed\" event. */\n \"Microsoft.ContainerRegistry.ImagePushed\": ContainerRegistryImagePushedEventData;\n /** An interface for the event data of a \"Microsoft.ContainerRegistry.ImageDeleted\" event. */\n \"Microsoft.ContainerRegistry.ImageDeleted\": ContainerRegistryImageDeletedEventData;\n /** An interface for the event data of a \"Microsoft.ContainerRegistry.ChartDeleted\" event. */\n \"Microsoft.ContainerRegistry.ChartDeleted\": ContainerRegistryChartDeletedEventData;\n /** An interface for the event data of a \"Microsoft.ContainerRegistry.ChartPushed\" event. */\n \"Microsoft.ContainerRegistry.ChartPushed\": ContainerRegistryChartPushedEventData;\n /** An interface for the event data of a \"Microsoft.Devices.DeviceCreated\" event. */\n \"Microsoft.Devices.DeviceCreated\": IotHubDeviceCreatedEventData;\n /** An interface for the event data of a \"Microsoft.Devices.DeviceDeleted\" event. */\n \"Microsoft.Devices.DeviceDeleted\": IotHubDeviceDeletedEventData;\n /** An interface for the event data of a \"Microsoft.Devices.DeviceConnected\" event. */\n \"Microsoft.Devices.DeviceConnected\": IotHubDeviceConnectedEventData;\n /** An interface for the event data of a \"Microsoft.Devices.DeviceDisconnected\" event. */\n \"Microsoft.Devices.DeviceDisconnected\": IotHubDeviceDisconnectedEventData;\n /** An interface for the event data of a \"Microsoft.Devices.DeviceTelemetry\" event. */\n \"Microsoft.Devices.DeviceTelemetry\": IotHubDeviceTelemetryEventData;\n /** An interface for the event data of a \"Microsoft.EventGrid.SubscriptionValidationEvent\" event. */\n \"Microsoft.EventGrid.SubscriptionValidationEvent\": SubscriptionValidationEventData;\n /** An interface for the event data of a \"Microsoft.EventGrid.SubscriptionDeletedEvent\" event. */\n \"Microsoft.EventGrid.SubscriptionDeletedEvent\": SubscriptionDeletedEventData;\n /** An interface for the event data of a \"Microsoft.EventHub.CaptureFileCreated\" event. */\n \"Microsoft.EventHub.CaptureFileCreated\": EventHubCaptureFileCreatedEventData;\n /** An interface for the event data of a \"Microsoft.HealthcareApis.DicomImageCreated\" event. */\n \"Microsoft.HealthcareApis.DicomImageCreated\": HealthcareDicomImageCreatedEventData;\n /** An interface for the event data of a \"Microsoft.HealthcareApis.DicomImageDeleted\" event. */\n \"Microsoft.HealthcareApis.DicomImageDeleted\": HealthcareDicomImageDeletedEventData;\n /** An interface for the event data of a \"Microsoft.HealthcareApis.FhirResourceCreated\" event. */\n \"Microsoft.HealthcareApis.FhirResourceCreated\": HealthcareFhirResourceCreatedEventData;\n /** An interface for the event data of a \"Microsoft.HealthcareApis.FhirUpdatedCreated\" event. */\n \"Microsoft.HealthcareApis.FhirUpdatedCreated\": HealthcareFhirResourceUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.HealthcareApis.FhirDeletedCreated\" event. */\n \"Microsoft.HealthcareApis.FhirDeletedCreated\": HealthcareFhirResourceDeletedEventData;\n /** An interface for the event data of a \"Microsoft.KeyVault.CertificateNewVersionCreated\" event. */\n \"Microsoft.KeyVault.CertificateNewVersionCreated\": KeyVaultCertificateNewVersionCreatedEventData;\n /** An interface for the event data of a \"Microsoft.KeyVault.CertificateNearExpiry\" event. */\n \"Microsoft.KeyVault.CertificateNearExpiry\": KeyVaultCertificateNearExpiryEventData;\n /** An interface for the event data of a \"Microsoft.KeyVault.CertificateExpired\" event. */\n \"Microsoft.KeyVault.CertificateExpired\": KeyVaultCertificateExpiredEventData;\n /** An interface for the event data of a \"Microsoft.KeyVault.KeyNewVersionCreated\" event. */\n \"Microsoft.KeyVault.KeyNewVersionCreated\": KeyVaultKeyNewVersionCreatedEventData;\n /** An interface for the event data of a \"Microsoft.KeyVault.KeyNearExpiry\" event. */\n \"Microsoft.KeyVault.KeyNearExpiry\": KeyVaultKeyNearExpiryEventData;\n /** An interface for the event data of a \"Microsoft.KeyVault.KeyExpired\" event. */\n \"Microsoft.KeyVault.KeyExpired\": KeyVaultKeyExpiredEventData;\n /** An interface for the event data of a \"Microsoft.KeyVault.SecretNewVersionCreated\" event. */\n \"Microsoft.KeyVault.SecretNewVersionCreated\": KeyVaultSecretNewVersionCreatedEventData;\n /** An interface for the event data of a \"Microsoft.KeyVault.SecretNearExpiry\" event. */\n \"Microsoft.KeyVault.SecretNearExpiry\": KeyVaultSecretNearExpiryEventData;\n /** An interface for the event data of a \"Microsoft.KeyVault.SecretExpired\" event. */\n \"Microsoft.KeyVault.SecretExpired\": KeyVaultSecretExpiredEventData;\n /** An interface for the event data of a \"Microsoft.KeyVault.VaultAccessPolicyChanged\" event. */\n \"Microsoft.KeyVault.VaultAccessPolicyChanged\": KeyVaultAccessPolicyChangedEventData;\n /** An interface for the event data of a \"Microsoft.MachineLearningServices.DatasetDriftDetected\" event. */\n \"Microsoft.MachineLearningServices.DatasetDriftDetected\": MachineLearningServicesDatasetDriftDetectedEventData;\n /** An interface for the event data of a \"Microsoft.MachineLearningServices.ModelDeployed\" event. */\n \"Microsoft.MachineLearningServices.ModelDeployed\": MachineLearningServicesModelDeployedEventData;\n /** An interface for the event data of a \"Microsoft.MachineLearningServices.ModelRegistered\" event. */\n \"Microsoft.MachineLearningServices.ModelRegistered\": MachineLearningServicesModelRegisteredEventData;\n /** An interface for the event data of a \"Microsoft.MachineLearningServices.RunCompleted\" event. */\n \"Microsoft.MachineLearningServices.RunCompleted\": MachineLearningServicesRunCompletedEventData;\n /** An interface for the event data of a \"Microsoft.MachineLearningServices.RunStatusChanged\" event. */\n \"Microsoft.MachineLearningServices.RunStatusChanged\": MachineLearningServicesRunStatusChangedEventData;\n /** An interface for the event data of a \"Microsoft.Maps.GeofenceEntered\" event. */\n \"Microsoft.Maps.GeofenceEntered\": MapsGeofenceEnteredEventData;\n /** An interface for the event data of a \"Microsoft.Maps.GeofenceExited\" event. */\n \"Microsoft.Maps.GeofenceExited\": MapsGeofenceExitedEventData;\n /** An interface for the event data of a \"Microsoft.Maps.GeofenceResult\" event. */\n \"Microsoft.Maps.GeofenceResult\": MapsGeofenceResultEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobStateChange\" event. */\n \"Microsoft.Media.JobStateChange\": MediaJobStateChangeEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobOutputStateChange\" event. */\n \"Microsoft.Media.JobOutputStateChange\": MediaJobOutputStateChangeEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobScheduled\" event. */\n \"Microsoft.Media.JobScheduled\": MediaJobScheduledEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobProcessing\" event. */\n \"Microsoft.Media.JobProcessing\": MediaJobProcessingEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobCanceling\" event. */\n \"Microsoft.Media.JobCanceling\": MediaJobCancelingEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobFinished\" event. */\n \"Microsoft.Media.JobFinished\": MediaJobFinishedEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobCanceled\" event. */\n \"Microsoft.Media.JobCanceled\": MediaJobCanceledEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobErrored\" event. */\n \"Microsoft.Media.JobErrored\": MediaJobErroredEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobOutputCanceled\" event. */\n \"Microsoft.Media.JobOutputCanceled\": MediaJobOutputCanceledEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobOutputCanceling\" event. */\n \"Microsoft.Media.JobOutputCanceling\": MediaJobOutputCancelingEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobOutputErrored\" event. */\n \"Microsoft.Media.JobOutputErrored\": MediaJobOutputErroredEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobOutputFinished\" event. */\n \"Microsoft.Media.JobOutputFinished\": MediaJobOutputFinishedEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobOutputProcessing\" event. */\n \"Microsoft.Media.JobOutputProcessing\": MediaJobOutputProcessingEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobOutputScheduled\" event. */\n \"Microsoft.Media.JobOutputScheduled\": MediaJobOutputScheduledEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobOutputProgress\" event. */\n \"Microsoft.Media.JobOutputProgress\": MediaJobOutputProgressEventData;\n /** An interface for the event data of a \"Microsoft.Media.LiveEventEncoderConnected\" event. */\n \"Microsoft.Media.LiveEventEncoderConnected\": MediaLiveEventEncoderConnectedEventData;\n /** An interface for the event data of a \"Microsoft.Media.LiveEventChannelArchiveHeartbeat\" event. */\n \"Microsoft.Media.LiveEventChannelArchiveHeartbeat\": MediaLiveEventChannelArchiveHeartbeatEventData;\n /** An interface for the event data of a \"Microsoft.Media.LiveEventConnectionRejected\" event. */\n \"Microsoft.Media.LiveEventConnectionRejected\": MediaLiveEventConnectionRejectedEventData;\n /** An interface for the event data of a \"Microsoft.Media.LiveEventEncoderDisconnected\" event. */\n \"Microsoft.Media.LiveEventEncoderDisconnected\": MediaLiveEventEncoderDisconnectedEventData;\n /** An interface for the event data of a \"Microsoft.Media.LiveEventIncomingStreamReceived\" event. */\n \"Microsoft.Media.LiveEventIncomingStreamReceived\": MediaLiveEventIncomingStreamReceivedEventData;\n /** An interface for the event data of a \"Microsoft.Media.LiveEventIncomingStreamsOutOfSync\" event. */\n \"Microsoft.Media.LiveEventIncomingStreamsOutOfSync\": MediaLiveEventIncomingStreamsOutOfSyncEventData;\n /** An interface for the event data of a \"Microsoft.Media.LiveEventIncomingVideoStreamsOutOfSync\" event. */\n \"Microsoft.Media.LiveEventIncomingVideoStreamsOutOfSync\": MediaLiveEventIncomingVideoStreamsOutOfSyncEventData;\n /** An interface for the event data of a \"Microsoft.Media.LiveEventIncomingDataChunkDropped\" event. */\n \"Microsoft.Media.LiveEventIncomingDataChunkDropped\": MediaLiveEventIncomingDataChunkDroppedEventData;\n /** An interface for the event data of a \"Microsoft.Media.LiveEventIngestHeartbeat\" event. */\n \"Microsoft.Media.LiveEventIngestHeartbeat\": MediaLiveEventIngestHeartbeatEventData;\n /** An interface for the event data of a \"Microsoft.Media.LiveEventTrackDiscontinuityDetected\" event. */\n \"Microsoft.Media.LiveEventTrackDiscontinuityDetected\": MediaLiveEventTrackDiscontinuityDetectedEventData;\n /** An interface for the event data of a \"Microsoft.PolicyInsights.PolicyStateChanged\" event. */\n \"Microsoft.PolicyInsights.PolicyStateChanged \": PolicyInsightsPolicyStateChangedEventData;\n /** An interface for the event data of a \" Microsoft.PolicyInsights.PolicyStateCreated\" event. */\n \"Microsoft.PolicyInsights.PolicyStateCreated\": PolicyInsightsPolicyStateCreatedEventData;\n /** An interface for the event data of a \"Microsoft.PolicyInsights.PolicyStateDeleted\" event. */\n \"Microsoft.PolicyInsights.PolicyStateDeleted\": PolicyInsightsPolicyStateDeletedEventData;\n /** An interface for the event data of a \"Microsoft.Resources.ResourceDeleteSuccess\" event. */\n \"Microsoft.Resources.ResourceWriteSuccess\": ResourceWriteSuccessEventData;\n /** An interface for the event data of a \"Microsoft.Resources.ResourceWriteFailure\" event. */\n \"Microsoft.Resources.ResourceWriteFailure\": ResourceWriteFailureEventData;\n /** An interface for the event data of a \"Microsoft.Resources.ResourceWriteCancel\" event. */\n \"Microsoft.Resources.ResourceWriteCancel\": ResourceWriteCancelEventData;\n /** An interface for the event data of a \"Microsoft.Resources.ResourceDeleteSuccess\" event. */\n \"Microsoft.Resources.ResourceDeleteSuccess\": ResourceDeleteSuccessEventData;\n /** An interface for the event data of a \"Microsoft.Resources.ResourceDeleteFailure\" event. */\n \"Microsoft.Resources.ResourceDeleteFailure\": ResourceDeleteFailureEventData;\n /** An interface for the event data of a \"Microsoft.Resources.ResourceDeleteCancel\" event. */\n \"Microsoft.Resources.ResourceDeleteCancel\": ResourceDeleteCancelEventData;\n /** An interface for the event data of a \"Microsoft.Resources.ResourceActionSuccess\" event. */\n \"Microsoft.Resources.ResourceActionSuccess\": ResourceActionSuccessEventData;\n /** An interface for the event data of a \"Microsoft.Resources.ResourceActionFailure\" event. */\n \"Microsoft.Resources.ResourceActionFailure\": ResourceActionFailureEventData;\n /** An interface for the event data of a \"Microsoft.Resources.ResourceActionCancel\" event. */\n \"Microsoft.Resources.ResourceActionCancel\": ResourceActionCancelEventData;\n /** An interface for the event data of a \"Microsoft.ServiceBus.ActiveMessagesAvailableWithNoListeners\" event. */\n \"Microsoft.ServiceBus.ActiveMessagesAvailableWithNoListeners\": ServiceBusActiveMessagesAvailableWithNoListenersEventData;\n /** An interface for the event data of a \"Microsoft.ServiceBus.DeadletterMessagesAvailableWithNoListeners\" event. */\n \"Microsoft.ServiceBus.DeadletterMessagesAvailableWithNoListeners\": ServiceBusDeadletterMessagesAvailableWithNoListenersEventData;\n /** An interface for the event data of a \"Microsoft.Storage.AsyncOperationInitiated\" event. */\n \"Microsoft.Storage.AsyncOperationInitiated\": StorageAsyncOperationInitiatedEventData;\n /** An interface for the event data of a \"Microsoft.Storage.BlobCreated\" event. */\n \"Microsoft.Storage.BlobCreated\": StorageBlobCreatedEventData;\n /** An interface for the event data of a \"Microsoft.Storage.BlobDeleted\" event. */\n \"Microsoft.Storage.BlobDeleted\": StorageBlobDeletedEventData;\n /** An interface for the event data of a \"Microsoft.Storage.BlobInventoryPolicyCompleted\" event. */\n \"Microsoft.Storage.BlobInventoryPolicyCompleted\": StorageBlobInventoryPolicyCompletedEventData;\n /** An interface for the event data of a \"Microsoft.Storage.BlobTierChanged\" event. */\n \"Microsoft.Storage.BlobTierChanged\": StorageBlobTierChangedEventData;\n /** An interface for the event data of a \"Microsoft.Storage.BlobRenamed\" event. */\n \"Microsoft.Storage.BlobRenamed\": StorageBlobRenamedEventData;\n /** An interface for the event data of a \"Microsoft.Storage.DirectoryCreated\" event. */\n \"Microsoft.Storage.DirectoryCreated\": StorageDirectoryCreatedEventData;\n /** An interface for the event data of a \"Microsoft.Storage.DirectoryDeleted\" event. */\n \"Microsoft.Storage.DirectoryDeleted\": StorageDirectoryDeletedEventData;\n /** An interface for the event data of a \"Microsoft.Storage.DirectoryRenamed\" event. */\n \"Microsoft.Storage.DirectoryRenamed\": StorageDirectoryRenamedEventData;\n /** An interface for the event data of a \"Microsoft.Storage.LifecyclePolicyCompleted\" event. */\n \"Microsoft.Storage.LifecyclePolicyCompleted\": StorageLifecyclePolicyCompletedEventData;\n /** An interface for the event data of a \"Microsoft.Web.AppUpdated\" event. */\n \"Microsoft.Web.AppUpdated\": WebAppUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.Web.BackupOperationStarted\" event. */\n \"Microsoft.Web.BackupOperationStarted\": WebBackupOperationStartedEventData;\n /** An interface for the event data of a \"Microsoft.Web.BackupOperationCompleted\" event. */\n \"Microsoft.Web.BackupOperationCompleted\": WebBackupOperationCompletedEventData;\n /** An interface for the event data of a \"Microsoft.Web.BackupOperationFailed\" event. */\n \"Microsoft.Web.BackupOperationFailed\": WebBackupOperationFailedEventData;\n /** An interface for the event data of a \"Microsoft.Web.RestoreOperationStarted\" event. */\n \"Microsoft.Web.RestoreOperationStarted\": WebRestoreOperationStartedEventData;\n /** An interface for the event data of a \"Microsoft.Web.RestoreOperationCompleted\" event. */\n \"Microsoft.Web.RestoreOperationCompleted\": WebRestoreOperationCompletedEventData;\n /** An interface for the event data of a \"Microsoft.Web.RestoreOperationFailed\" event. */\n \"Microsoft.Web.RestoreOperationFailed\": WebRestoreOperationFailedEventData;\n /** An interface for the event data of a \"Microsoft.Web.SlotSwapStarted\" event. */\n \"Microsoft.Web.SlotSwapStarted\": WebSlotSwapStartedEventData;\n /** An interface for the event data of a \"Microsoft.Web.SlotSwapCompleted\" event. */\n \"Microsoft.Web.SlotSwapCompleted\": WebSlotSwapCompletedEventData;\n /** An interface for the event data of a \"Microsoft.Web.SlotSwapFailed\" event. */\n \"Microsoft.Web.SlotSwapFailed\": WebSlotSwapFailedEventData;\n /** An interface for the event data of a \"Microsoft.Web.SlotSwapWithPreviewStarted\" event. */\n \"Microsoft.Web.SlotSwapWithPreviewStarted\": WebSlotSwapWithPreviewStartedEventData;\n /** An interface for the event data of a \"Microsoft.Web.SlotSwapWithPreviewCancelled\" event. */\n \"Microsoft.Web.SlotSwapWithPreviewCancelled\": WebSlotSwapWithPreviewCancelledEventData;\n /** An interface for the event data of a \"Microsoft.Web.AppServicePlanUpdated\" event. */\n \"Microsoft.Web.AppServicePlanUpdated\": WebAppServicePlanUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.Storage.StorageTaskQueued\" event. */\n \"Microsoft.Storage.StorageTaskQueued\": StorageTaskQueuedEventData;\n /** An interface for the event data of a \"Microsoft.Storage.StorageTaskCompleted\" event. */\n \"Microsoft.Storage.StorageTaskCompleted\": StorageTaskCompletedEventData;\n /** An interface for the event data of a \"Microsoft.DataBox.CopyStarted\" event. */\n \"Microsoft.DataBox.CopyStarted\": DataBoxCopyStartedEventData;\n /** An interface for the event data of a \"Microsoft.DataBox.CopyCompleted\" event. */\n \"Microsoft.DataBox.CopyCompleted\": DataBoxCopyCompletedEventData;\n /** An interface for the event data of a \"Microsoft.DataBox.OrderCompleted\" event. */\n \"Microsoft.DataBox.OrderCompleted\": DataBoxOrderCompletedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.IncomingCall\" event. */\n \"Microsoft.Communication.IncomingCall\": AcsIncomingCallEventData;\n /** An interface for the event data of a \"Microsoft.Communication.EmailDeliveryReportReceived\" event. */\n \"Microsoft.Communication.EmailDeliveryReportReceived\": AcsEmailDeliveryReportReceivedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.EmailEngagementTrackingReportReceived\" event. */\n \"Microsoft.Communication.EmailEngagementTrackingReportReceived\": AcsEmailEngagementTrackingReportReceivedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.GatewayCreated\" event. */\n \"Microsoft.ApiManagement.GatewayCreated\": ApiManagementGatewayCreatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.GatewayUpdated\" event. */\n \"Microsoft.ApiManagement.GatewayUpdated\": ApiManagementGatewayUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.GatewayDeleted\" event. */\n \"Microsoft.ApiManagement.GatewayDeleted\": ApiManagementGatewayDeletedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.GatewayHostnameConfigurationCreated\" event. */\n \"Microsoft.ApiManagement.GatewayHostnameConfigurationCreated\": ApiManagementGatewayHostnameConfigurationCreatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.GatewayHostnameConfigurationUpdated\" event. */\n \"Microsoft.ApiManagement.GatewayHostnameConfigurationUpdated\": ApiManagementGatewayHostnameConfigurationUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.GatewayHostnameConfigurationDeleted\" event. */\n \"Microsoft.ApiManagement.GatewayHostnameConfigurationDeleted\": ApiManagementGatewayHostnameConfigurationDeletedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.GatewayCertificateAuthorityCreated\" event. */\n \"Microsoft.ApiManagement.GatewayCertificateAuthorityCreated\": ApiManagementGatewayCertificateAuthorityCreatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.GatewayCertificateAuthorityUpdated\" event. */\n \"Microsoft.ApiManagement.GatewayCertificateAuthorityUpdated\": ApiManagementGatewayCertificateAuthorityUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.GatewayCertificateAuthorityDeleted\" event. */\n \"Microsoft.ApiManagement.GatewayCertificateAuthorityDeleted\": ApiManagementGatewayCertificateAuthorityDeletedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.GatewayAPIAdded\" event. */\n \"Microsoft.ApiManagement.GatewayAPIAdded\": ApiManagementGatewayApiAddedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.GatewayAPIRemoved\" event. */\n \"Microsoft.ApiManagement.GatewayAPIRemoved\": ApiManagementGatewayApiRemovedEventData;\n /** An interface for the event data of a \"Microsoft.HealthcareApis.DicomImageUpdated\" event. */\n \"Microsoft.HealthcareApis.DicomImageUpdated\": HealthcareDicomImageUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.ContainerService.ClusterSupportEnded\" event. */\n \"Microsoft.ContainerService.ClusterSupportEnded\": ContainerServiceClusterSupportEndedEventData;\n /** An interface for the event data of a \"Microsoft.ContainerService.ClusterSupportEnding\" event. */\n \"Microsoft.ContainerService.ClusterSupportEnding\": ContainerServiceClusterSupportEndingEventData;\n /** An interface for the event data of a \"Microsoft.ContainerService.NodePoolRollingStarted\" event. */\n \"Microsoft.ContainerService.NodePoolRollingStarted\": ContainerServiceNodePoolRollingStartedEventData;\n /** An interface for the event data of a \"Microsoft.ContainerService.NodePoolRollingSucceeded\" event. */\n \"Microsoft.ContainerService.NodePoolRollingSucceeded\": ContainerServiceNodePoolRollingSucceededEventData;\n /** An interface for the event data of a \"Microsoft.ContainerService.NodePoolRollingFailed\" event. */\n \"Microsoft.ContainerService.NodePoolRollingFailed\": ContainerServiceNodePoolRollingFailedEventData;\n /** An interface for the event data of a \"Microsoft.EventGrid.MQTTClientCreatedOrUpdated\" event. */\n \"Microsoft.EventGrid.MQTTClientCreatedOrUpdated\": EventGridMqttClientCreatedOrUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.EventGrid.MQTTClientDeleted\" event. */\n \"Microsoft.EventGrid.MQTTClientDeleted\": EventGridMqttClientDeletedEventData;\n /** An interface for the event data of a \"Microsoft.EventGrid.MQTTClientSessionConnected\" event. */\n \"Microsoft.EventGrid.MQTTClientSessionConnected\": EventGridMqttClientSessionConnectedEventData;\n /** An interface for the event data of a \"Microsoft.EventGrid.MQTTClientSessionDisconnected\" event. */\n \"Microsoft.EventGrid.MQTTClientSessionDisconnected\": EventGridMqttClientSessionDisconnectedEventData;\n /** An interface for the event data of a \"Microsoft.AppConfiguration.SnapshotCreated\" event. */\n \"Microsoft.AppConfiguration.SnapshotCreated\": AppConfigurationSnapshotCreatedEventData;\n /** An interface for the event data of a \"Microsoft.AppConfiguration.SnapshotModified\" event. */\n \"Microsoft.AppConfiguration.SnapshotModified\": AppConfigurationSnapshotModifiedEventData;\n /** An interface for the event data of a \"Microsoft.ResourceNotifications.HealthResources.AvailabilityStatusChanged\" event. */\n \"Microsoft.ResourceNotifications.HealthResources.AvailabilityStatusChanged\": ResourceNotificationsHealthResourcesAvailabilityStatusChangedEventData;\n /** An interface for the event data of a \"Microsoft.ResourceNotifications.HealthResources.ResourceAnnotated\" event. */\n \"Microsoft.ResourceNotifications.HealthResources.ResourceAnnotated\": ResourceNotificationsHealthResourcesAnnotatedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.RouterWorkerDeregistered\" event. */\n \"Microsoft.Communication.RouterWorkerDeregistered\": AcsRouterWorkerDeregisteredEventData;\n /** An interface for the event data of a \"Microsoft.Communication.RouterWorkerRegistered\" event. */\n \"Microsoft.Communication.RouterWorkerRegistered\": AcsRouterWorkerRegisteredEventData;\n /** An interface for the event data of a \"Microsoft.Communication.RouterJobCancelled\" event. */\n \"Microsoft.Communication.RouterJobCancelled\": AcsRouterJobCancelledEventData;\n /** An interface for the event data of a \"Microsoft.Communication.RouterJobClassificationFailed\" event. */\n \"Microsoft.Communication.RouterJobClassificationFailed\": AcsRouterJobClassificationFailedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.RouterJobClassified\" event. */\n \"Microsoft.Communication.RouterJobClassified\": AcsRouterJobClassifiedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.RouterJobClosed\" event. */\n \"Microsoft.Communication.RouterJobClosed\": AcsRouterJobClosedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.RouterJobCompleted\" event. */\n \"Microsoft.Communication.RouterJobCompleted\": AcsRouterJobCompletedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.RouterJobDeleted\" event. */\n \"Microsoft.Communication.RouterJobDeleted\": AcsRouterJobDeletedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.RouterJobExceptionTriggered\" event. */\n \"Microsoft.Communication.RouterJobExceptionTriggered\": AcsRouterJobExceptionTriggeredEventData;\n /** An interface for the event data of a \"Microsoft.Communication.RouterJobQueued\" event. */\n \"Microsoft.Communication.RouterJobQueued\": AcsRouterJobQueuedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.RouterJobReceived\" event. */\n \"Microsoft.Communication.RouterJobReceived\": AcsRouterJobReceivedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.RouterJobSchedulingFailed\" event. */\n \"Microsoft.Communication.RouterJobSchedulingFailed\": AcsRouterJobSchedulingFailedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.RouterJobUnassigned\" event. */\n \"Microsoft.Communication.RouterJobUnassigned\": AcsRouterJobUnassignedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.RouterJobWaitingForActivation\" event. */\n \"Microsoft.Communication.RouterJobWaitingForActivation\": AcsRouterJobWaitingForActivationEventData;\n /** An interface for the event data of a \"Microsoft.Communication.RouterJobWorkerSelectorsExpire\" event. */\n \"Microsoft.Communication.RouterJobWorkerSelectorsExpire\": AcsRouterJobWorkerSelectorsExpiredEventData;\n /** An interface for the event data of a \"Microsoft.Communication.RouterWorkerDeleted\" event. */\n \"Microsoft.Communication.RouterWorkerDeleted\": AcsRouterWorkerDeletedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.RouterWorkerOfferAccepted\" event. */\n \"Microsoft.Communication.RouterWorkerOfferAccepted\": AcsRouterWorkerOfferAcceptedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.RouterWorkerOfferDeclined\" event. */\n \"Microsoft.Communication.RouterWorkerOfferDeclined\": AcsRouterWorkerOfferDeclinedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.RouterWorkerOfferExpired\" event. */\n \"Microsoft.Communication.RouterWorkerOfferExpired\": AcsRouterWorkerOfferExpiredEventData;\n /** An interface for the event data of a \"Microsoft.Communication.RouterWorkerOfferIssued\" event. */\n \"Microsoft.Communication.RouterWorkerOfferIssued\": AcsRouterWorkerOfferIssuedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.RouterWorkerOfferRevoked\" event. */\n \"Microsoft.Communication.RouterWorkerOfferRevoked\": AcsRouterWorkerOfferRevokedEventData;\n /** An interface for the event data of a \"Microsoft.ResourceNotifications.Resources.CreatedOrUpdated\" event. */\n \"Microsoft.ResourceNotifications.Resources.CreatedOrUpdated\": ResourceNotificationsResourceManagementCreatedOrUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.ResourceNotifications.Resources.Deleted\" event. */\n \"Microsoft.ResourceNotifications.Resources.Deleted\": ResourceNotificationsResourceManagementDeletedEventData;\n /** An interface for the event data of a \"Microsoft.Storage.StorageTaskAssignmentQueued\" event. */\n \"Microsoft.Storage.StorageTaskAssignmentQueued\": StorageTaskAssignmentQueuedEventData;\n /** An interface for the event data of a \"Microsoft.Storage.StorageTaskAssignmentCompleted\" event. */\n \"Microsoft.Storage.StorageTaskAssignmentCompleted\": StorageTaskAssignmentCompletedEventData;\n /** An interface for the event data of a \"Microsoft.AVS.ScriptExecutionStarted\" event. */\n \"Microsoft.AVS.ScriptExecutionStarted\": AvsScriptExecutionStartedEventData;\n /** An interface for the event data of a \"Microsoft.AVS.ScriptExecutionFinished\" event. */\n \"Microsoft.AVS.ScriptExecutionFinished\": AvsScriptExecutionFinishedEventData;\n /** An interface for the event data of a \"Microsoft.AVS.ScriptExecutionCancelled\" event. */\n \"Microsoft.AVS.ScriptExecutionCancelled\": AvsScriptExecutionCancelledEventData;\n /** An interface for the event data of a \"Microsoft.AVS.ScriptExecutionFailed\" event. */\n \"Microsoft.AVS.ScriptExecutionFailed\": AvsScriptExecutionFailedEventData;\n /** An interface for the event data of a \"Microsoft.AVS.PrivateCloudUpdating\" event. */\n \"Microsoft.AVS.PrivateCloudUpdating\": AvsPrivateCloudUpdatingEventData;\n /** An interface for the event data of a \"Microsoft.AVS.PrivateCloudUpdated\" event. */\n \"Microsoft.AVS.PrivateCloudUpdated\": AvsPrivateCloudUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.AVS.PrivateCloudFailed\" event. */\n \"Microsoft.AVS.PrivateCloudFailed\": AvsPrivateCloudFailedEventData;\n /** An interface for the event data of a \"Microsoft.AVS.ClusterCreated\" event. */\n \"Microsoft.AVS.ClusterCreated\": AvsClusterCreatedEventData;\n /** An interface for the event data of a \"Microsoft.AVS.ClusterDeleted\" event. */\n \"Microsoft.AVS.ClusterDeleted\": AvsClusterDeletedEventData;\n /** An interface for the event data of a \"Microsoft.AVS.ClusterUpdating\" event. */\n \"Microsoft.AVS.ClusterUpdating\": AvsClusterUpdatingEventData;\n /** An interface for the event data of a \"Microsoft.AVS.ClusterUpdated\" event. */\n \"Microsoft.AVS.ClusterUpdated\": AvsClusterUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.AVS.ClusterFailed\" event. */\n \"Microsoft.AVS.ClusterFailed\": AvsClusterFailedEventData;\n /** An interface for the event data of a \"Microsoft.ApiCenter.ApiDefinitionAdded\" event. */\n \"Microsoft.ApiCenter.ApiDefinitionAdded\": ApiCenterApiDefinitionAddedEventData;\n /** An interface for the event data of a \"Microsoft.ApiCenter.ApiDefinitionUpdated\" event. */\n \"Microsoft.ApiCenter.ApiDefinitionUpdated\": ApiCenterApiDefinitionUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.AdvancedMessageDeliveryStatusUpdated\" event. */\n \"Microsoft.Communication.AdvancedMessageDeliveryStatusUpdated\": AcsMessageDeliveryStatusUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.AdvancedMessageReceived\" event. */\n \"Microsoft.Communication.AdvancedMessageReceived\": AcsMessageReceivedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.RouterWorkerUpdated\" event. */\n \"Microsoft.Communication.RouterWorkerUpdated\": AcsRouterWorkerUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatThreadCreated\" event. */\n \"Microsoft.Communication.ChatThreadCreated\": AcsChatThreadCreatedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatThreadDeleted\" event. */\n \"Microsoft.Communication.ChatThreadDeleted\": AcsChatThreadDeletedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatThreadPropertiesUpdated\" event. */\n \"Microsoft.Communication.ChatThreadPropertiesUpdated\": AcsChatThreadPropertiesUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.ResourceNotifications.ContainerServiceEventResources.ScheduledEventEmitted\" event. */\n \"Microsoft.ResourceNotifications.ContainerServiceEventResources.ScheduledEventEmitted\": ResourceNotificationsContainerServiceEventResourcesScheduledEventData;\n}\n\n/**\n * isCloudEventLike returns \"true\" when the event is a CloudEvent\n *\n * @param o - Either an EventGrid our CloudEvent event.\n */\nfunction isCloudEventLike(\n o: EventGridEvent<unknown> | CloudEvent<unknown>,\n): o is CloudEvent<unknown> {\n return (o as any).source !== undefined;\n}\n\n/**\n * iSystemEvent returns \"true\" when a given event is a system event of a given type. When using\n * TypeScript, this function acts as a custom type guard and allows the TypeScript compiler to\n * identify the underlying data\n *\n * @param eventType - The type of system event to check for, e.g., \"Microsoft.AppConfiguration.KeyValueDeleted\"\n * @param event - The event to test.\n */\nexport function isSystemEvent<T extends KnownSystemEventTypes>(\n eventType: T,\n event: EventGridEvent<unknown>,\n): event is EventGridEvent<SystemEventNameToEventData[T]>;\n\n/**\n * iSystemEvent returns \"true\" when a given event is a system event of a given type. When using\n * TypeScript, this function acts as a custom type guard and allows the TypeScript compiler to\n * identify the underlying data\n *\n * @param eventType - The type of system event to check for, e.g., \"Microsoft.AppConfiguration.KeyValueDeleted\"\n * @param event - The event to test.\n */\nexport function isSystemEvent<T extends KnownSystemEventTypes>(\n eventType: T,\n event: CloudEvent<unknown>,\n): event is CloudEvent<SystemEventNameToEventData[T]>;\n\nexport function isSystemEvent<T extends KnownSystemEventTypes>(\n eventType: T,\n event: EventGridEvent<unknown> | CloudEvent<unknown>,\n): event is\n | EventGridEvent<SystemEventNameToEventData[T]>\n | CloudEvent<SystemEventNameToEventData[T]> {\n if (isCloudEventLike(event)) {\n return event.type === eventType;\n } else {\n return event.eventType === eventType;\n }\n}\n"]}
1
+ {"version":3,"file":"predicates.js","sourceRoot":"","sources":["../../src/predicates.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AA6qBlC;;;;GAIG;AACH,SAAS,gBAAgB,CACvB,CAAgD;IAEhD,OAAQ,CAAS,CAAC,MAAM,KAAK,SAAS,CAAC;AACzC,CAAC;AA4BD,MAAM,UAAU,aAAa,CAC3B,SAAY,EACZ,KAAoD;IAIpD,IAAI,gBAAgB,CAAC,KAAK,CAAC,EAAE,CAAC;QAC5B,OAAO,KAAK,CAAC,IAAI,KAAK,SAAS,CAAC;IAClC,CAAC;SAAM,CAAC;QACN,OAAO,KAAK,CAAC,SAAS,KAAK,SAAS,CAAC;IACvC,CAAC;AACH,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type {\n AcsCallEndedEventData,\n AcsCallParticipantAddedEventData,\n AcsCallParticipantRemovedEventData,\n AcsCallStartedEventData,\n AcsChatAzureBotCommandReceivedInThreadEventData,\n AcsChatMessageDeletedEventData,\n AcsChatMessageDeletedInThreadEventData,\n AcsChatMessageEditedEventData,\n AcsChatMessageEditedInThreadEventData,\n AcsChatMessageReceivedEventData,\n AcsChatMessageReceivedInThreadEventData,\n AcsChatParticipantAddedToThreadEventData,\n AcsChatParticipantAddedToThreadWithUserEventData,\n AcsChatParticipantRemovedFromThreadEventData,\n AcsChatParticipantRemovedFromThreadWithUserEventData,\n AcsChatThreadCreatedWithUserEventData,\n AcsChatThreadPropertiesUpdatedPerUserEventData,\n AcsChatThreadWithUserDeletedEventData,\n AcsChatTypingIndicatorReceivedInThreadEventData,\n AcsRecordingFileStatusUpdatedEventData,\n AcsSmsDeliveryReportReceivedEventData,\n AcsSmsReceivedEventData,\n AcsUserDisconnectedEventData,\n ApiManagementApiCreatedEventData,\n ApiManagementApiDeletedEventData,\n ApiManagementApiReleaseCreatedEventData,\n ApiManagementApiReleaseDeletedEventData,\n ApiManagementApiReleaseUpdatedEventData,\n ApiManagementApiUpdatedEventData,\n ApiManagementCircuitBreakerClosedEventData,\n ApiManagementCircuitBreakerOpenedEventData,\n ApiManagementGatewayTokenExpiredEventData,\n ApiManagementGatewayTokenNearExpiryEventData,\n ApiManagementProductCreatedEventData,\n ApiManagementProductDeletedEventData,\n ApiManagementProductUpdatedEventData,\n ApiManagementSubscriptionCreatedEventData,\n ApiManagementSubscriptionDeletedEventData,\n ApiManagementSubscriptionUpdatedEventData,\n ApiManagementUserCreatedEventData,\n ApiManagementUserDeletedEventData,\n ApiManagementUserUpdatedEventData,\n AppConfigurationKeyValueDeletedEventData,\n AppConfigurationKeyValueModifiedEventData,\n ContainerRegistryChartDeletedEventData,\n ContainerRegistryChartPushedEventData,\n ContainerRegistryImageDeletedEventData,\n ContainerRegistryImagePushedEventData,\n ContainerServiceNewKubernetesVersionAvailableEventData,\n EdgeSolutionVersionPublishedEventData,\n EventHubCaptureFileCreatedEventData,\n HealthcareDicomImageCreatedEventData,\n HealthcareDicomImageDeletedEventData,\n HealthcareFhirResourceCreatedEventData,\n HealthcareFhirResourceDeletedEventData,\n HealthcareFhirResourceUpdatedEventData,\n IotHubDeviceConnectedEventData,\n IotHubDeviceCreatedEventData,\n IotHubDeviceDeletedEventData,\n IotHubDeviceDisconnectedEventData,\n IotHubDeviceTelemetryEventData,\n KeyVaultAccessPolicyChangedEventData,\n KeyVaultCertificateExpiredEventData,\n KeyVaultCertificateNearExpiryEventData,\n KeyVaultCertificateNewVersionCreatedEventData,\n KeyVaultKeyExpiredEventData,\n KeyVaultKeyNearExpiryEventData,\n KeyVaultKeyNewVersionCreatedEventData,\n KeyVaultSecretExpiredEventData,\n KeyVaultSecretNearExpiryEventData,\n KeyVaultSecretNewVersionCreatedEventData,\n MachineLearningServicesDatasetDriftDetectedEventData,\n MachineLearningServicesModelDeployedEventData,\n MachineLearningServicesModelRegisteredEventData,\n MachineLearningServicesRunCompletedEventData,\n MachineLearningServicesRunStatusChangedEventData,\n MapsGeofenceEnteredEventData,\n MapsGeofenceExitedEventData,\n MapsGeofenceResultEventData,\n MediaJobCanceledEventData,\n MediaJobCancelingEventData,\n MediaJobErroredEventData,\n MediaJobFinishedEventData,\n MediaJobOutputCanceledEventData,\n MediaJobOutputCancelingEventData,\n MediaJobOutputErroredEventData,\n MediaJobOutputFinishedEventData,\n MediaJobOutputProcessingEventData,\n MediaJobOutputProgressEventData,\n MediaJobOutputScheduledEventData,\n MediaJobOutputStateChangeEventData,\n MediaJobProcessingEventData,\n MediaJobScheduledEventData,\n MediaJobStateChangeEventData,\n MediaLiveEventChannelArchiveHeartbeatEventData,\n MediaLiveEventConnectionRejectedEventData,\n MediaLiveEventEncoderConnectedEventData,\n MediaLiveEventEncoderDisconnectedEventData,\n MediaLiveEventIncomingDataChunkDroppedEventData,\n MediaLiveEventIncomingStreamReceivedEventData,\n MediaLiveEventIncomingStreamsOutOfSyncEventData,\n MediaLiveEventIncomingVideoStreamsOutOfSyncEventData,\n MediaLiveEventIngestHeartbeatEventData,\n MediaLiveEventTrackDiscontinuityDetectedEventData,\n PolicyInsightsPolicyStateChangedEventData,\n PolicyInsightsPolicyStateCreatedEventData,\n PolicyInsightsPolicyStateDeletedEventData,\n ResourceActionCancelEventData,\n ResourceActionFailureEventData,\n ResourceActionSuccessEventData,\n ResourceDeleteCancelEventData,\n ResourceDeleteFailureEventData,\n ResourceDeleteSuccessEventData,\n ResourceWriteCancelEventData,\n ResourceWriteFailureEventData,\n ResourceWriteSuccessEventData,\n ServiceBusActiveMessagesAvailableWithNoListenersEventData,\n ServiceBusDeadletterMessagesAvailableWithNoListenersEventData,\n StorageAsyncOperationInitiatedEventData,\n StorageBlobCreatedEventData,\n StorageBlobDeletedEventData,\n StorageBlobInventoryPolicyCompletedEventData,\n StorageBlobRenamedEventData,\n StorageBlobTierChangedEventData,\n StorageDirectoryCreatedEventData,\n StorageDirectoryDeletedEventData,\n StorageDirectoryRenamedEventData,\n StorageLifecyclePolicyCompletedEventData,\n SubscriptionDeletedEventData,\n SubscriptionValidationEventData,\n WebAppServicePlanUpdatedEventData,\n WebAppUpdatedEventData,\n WebBackupOperationCompletedEventData,\n WebBackupOperationFailedEventData,\n WebBackupOperationStartedEventData,\n WebRestoreOperationCompletedEventData,\n WebRestoreOperationFailedEventData,\n WebRestoreOperationStartedEventData,\n WebSlotSwapCompletedEventData,\n WebSlotSwapFailedEventData,\n WebSlotSwapStartedEventData,\n WebSlotSwapWithPreviewCancelledEventData,\n WebSlotSwapWithPreviewStartedEventData,\n StorageTaskQueuedEventData,\n StorageTaskCompletedEventData,\n DataBoxCopyStartedEventData,\n DataBoxCopyCompletedEventData,\n DataBoxOrderCompletedEventData,\n AcsIncomingCallEventData,\n AcsEmailDeliveryReportReceivedEventData,\n AcsEmailEngagementTrackingReportReceivedEventData,\n ApiManagementGatewayCreatedEventData,\n ApiManagementGatewayUpdatedEventData,\n ApiManagementGatewayDeletedEventData,\n ApiManagementGatewayHostnameConfigurationCreatedEventData,\n ApiManagementGatewayHostnameConfigurationUpdatedEventData,\n ApiManagementGatewayHostnameConfigurationDeletedEventData,\n ApiManagementGatewayCertificateAuthorityCreatedEventData,\n ApiManagementGatewayCertificateAuthorityUpdatedEventData,\n ApiManagementGatewayCertificateAuthorityDeletedEventData,\n ApiManagementGatewayApiAddedEventData,\n ApiManagementGatewayApiRemovedEventData,\n HealthcareDicomImageUpdatedEventData,\n ContainerServiceClusterSupportEndedEventData,\n ContainerServiceClusterSupportEndingEventData,\n ContainerServiceNodePoolRollingStartedEventData,\n ContainerServiceNodePoolRollingSucceededEventData,\n ContainerServiceNodePoolRollingFailedEventData,\n EventGridMqttClientCreatedOrUpdatedEventData,\n EventGridMqttClientDeletedEventData,\n EventGridMqttClientSessionConnectedEventData,\n EventGridMqttClientSessionDisconnectedEventData,\n AppConfigurationSnapshotCreatedEventData,\n AppConfigurationSnapshotModifiedEventData,\n ResourceNotificationsHealthResourcesAvailabilityStatusChangedEventData,\n ResourceNotificationsHealthResourcesAnnotatedEventData,\n AcsRouterWorkerDeregisteredEventData,\n AcsRouterWorkerRegisteredEventData,\n AcsRouterJobCancelledEventData,\n AcsRouterJobClassificationFailedEventData,\n AcsRouterJobClassifiedEventData,\n AcsRouterJobClosedEventData,\n AcsRouterJobCompletedEventData,\n AcsRouterJobDeletedEventData,\n AcsRouterJobExceptionTriggeredEventData,\n AcsRouterJobQueuedEventData,\n AcsRouterJobReceivedEventData,\n AcsRouterJobSchedulingFailedEventData,\n AcsRouterJobUnassignedEventData,\n AcsRouterJobWaitingForActivationEventData,\n AcsRouterJobWorkerSelectorsExpiredEventData,\n AcsRouterWorkerDeletedEventData,\n AcsRouterWorkerOfferAcceptedEventData,\n AcsRouterWorkerOfferDeclinedEventData,\n AcsRouterWorkerOfferExpiredEventData,\n AcsRouterWorkerOfferIssuedEventData,\n AcsRouterWorkerOfferRevokedEventData,\n ResourceNotificationsResourceManagementCreatedOrUpdatedEventData,\n ResourceNotificationsResourceManagementDeletedEventData,\n StorageTaskAssignmentQueuedEventData,\n AvsScriptExecutionStartedEventData,\n AvsScriptExecutionCancelledEventData,\n AvsClusterCreatedEventData,\n AvsPrivateCloudFailedEventData,\n AvsPrivateCloudUpdatingEventData,\n AvsPrivateCloudUpdatedEventData,\n AvsClusterUpdatingEventData,\n AvsClusterDeletedEventData,\n AvsScriptExecutionFailedEventData,\n AvsScriptExecutionFinishedEventData,\n StorageTaskAssignmentCompletedEventData,\n AvsClusterUpdatedEventData,\n AvsClusterFailedEventData,\n ApiCenterApiDefinitionAddedEventData,\n ApiCenterApiDefinitionUpdatedEventData,\n AcsMessageDeliveryStatusUpdatedEventData,\n AcsMessageReceivedEventData,\n AcsRouterWorkerUpdatedEventData,\n AcsChatThreadDeletedEventData,\n AcsChatThreadCreatedEventData,\n AcsChatThreadPropertiesUpdatedEventData,\n ResourceNotificationsContainerServiceEventResourcesScheduledEventData,\n} from \"./generated/models/index.js\";\n\nimport type { CloudEvent, EventGridEvent } from \"./models.js\";\n\n/**\n * The Event Types for all System Events. These may be used with `isSystemEvent` to determine if an\n * event is a system event of a given type.\n */\nexport type KnownSystemEventTypes = keyof SystemEventNameToEventData;\n\n/**\n * A mapping of event type names to event data type interfaces.\n */\nexport interface SystemEventNameToEventData {\n /** An interface for the event data of a \"Microsoft.ApiManagement.UserCreated\" event. */\n \"Microsoft.ApiManagement.UserCreated\": ApiManagementUserCreatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.UserUpdated\" event. */\n \"Microsoft.ApiManagement.UserUpdated\": ApiManagementUserUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.UserDeleted\" event. */\n \"Microsoft.ApiManagement.UserDeleted\": ApiManagementUserDeletedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.SubscriptionCreated\" event. */\n \"Microsoft.ApiManagement.SubscriptionCreated\": ApiManagementSubscriptionCreatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.SubscriptionUpdated\" event. */\n \"Microsoft.ApiManagement.SubscriptionUpdated\": ApiManagementSubscriptionUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.SubscriptionDeleted\" event. */\n \"Microsoft.ApiManagement.SubscriptionDeleted\": ApiManagementSubscriptionDeletedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.ProductCreated\" event. */\n \"Microsoft.ApiManagement.ProductCreated\": ApiManagementProductCreatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.ProductUpdated\" event. */\n \"Microsoft.ApiManagement.ProductUpdated\": ApiManagementProductUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.ProductDeleted\" event. */\n \"Microsoft.ApiManagement.ProductDeleted\": ApiManagementProductDeletedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.APICreated\" event. */\n \"Microsoft.ApiManagement.APICreated\": ApiManagementApiCreatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.APIUpdated\" event. */\n \"Microsoft.ApiManagement.APIUpdated\": ApiManagementApiUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.CircuitBreaker.Closed\" event. */\n \"Microsoft.ApiManagement.CircuitBreaker.Closed\": ApiManagementCircuitBreakerClosedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.CircuitBreaker.Opened\" event. */\n \"Microsoft.ApiManagement.CircuitBreaker.Opened\": ApiManagementCircuitBreakerOpenedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.APIDeleted\" event. */\n \"Microsoft.ApiManagement.APIDeleted\": ApiManagementApiDeletedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.APIReleaseCreated\" event. */\n \"Microsoft.ApiManagement.APIReleaseCreated\": ApiManagementApiReleaseCreatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.APIReleaseUpdated\" event. */\n \"Microsoft.ApiManagement.APIReleaseUpdated\": ApiManagementApiReleaseUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.APIReleaseDeleted\" event. */\n \"Microsoft.ApiManagement.APIReleaseDeleted\": ApiManagementApiReleaseDeletedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.GatewayTokenExpired\" event. */\n \"Microsoft.ApiManagement.GatewayTokenExpired\": ApiManagementGatewayTokenExpiredEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.GatewayTokenNearExpiry\" event. */\n \"Microsoft.ApiManagement.GatewayTokenNearExpiry\": ApiManagementGatewayTokenNearExpiryEventData;\n /** An interface for the event data of a \"Microsoft.Communication.CallEnded\" event. */\n \"Microsoft.Communication.CallEnded\": AcsCallEndedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.CallParticipantAdded\" event. */\n \"Microsoft.Communication.CallParticipantAdded\": AcsCallParticipantAddedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.CallParticipantRemoved\" event. */\n \"Microsoft.Communication.CallParticipantRemoved\": AcsCallParticipantRemovedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.CallStarted\" event. */\n \"Microsoft.Communication.CallStarted\": AcsCallStartedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatAzureBotCommandReceivedInThread\" event. */\n \"Microsoft.Communication.ChatAzureBotCommandReceivedInThread\": AcsChatAzureBotCommandReceivedInThreadEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatMessageReceived\" event. */\n \"Microsoft.Communication.ChatMessageReceived\": AcsChatMessageReceivedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatMessageReceivedInThread\" event. */\n \"Microsoft.Communication.ChatMessageReceivedInThread\": AcsChatMessageReceivedInThreadEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatMessageEdited\" event. */\n \"Microsoft.Communication.ChatMessageEdited\": AcsChatMessageEditedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatMessageEditedInThread\" event. */\n \"Microsoft.Communication.ChatMessageEditedInThread\": AcsChatMessageEditedInThreadEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatMessageDeleted\" event. */\n \"Microsoft.Communication.ChatMessageDeleted\": AcsChatMessageDeletedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatMessageDeletedInThread\" event. */\n \"Microsoft.Communication.ChatMessageDeletedInThread\": AcsChatMessageDeletedInThreadEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatThreadCreatedWithUser\" event. */\n \"Microsoft.Communication.ChatThreadCreatedWithUser\": AcsChatThreadCreatedWithUserEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatThreadWithUserDeleted\" event. */\n \"Microsoft.Communication.ChatThreadWithUserDeleted\": AcsChatThreadWithUserDeletedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatTypingIndicatorReceivedInThread\" event. */\n \"Microsoft.Communication.ChatTypingIndicatorReceivedInThread\": AcsChatTypingIndicatorReceivedInThreadEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatThreadPropertiesUpdatedPerUser\" event. */\n \"Microsoft.Communication.ChatThreadPropertiesUpdatedPerUser\": AcsChatThreadPropertiesUpdatedPerUserEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatThreadParticipantAdded\" event. */\n \"Microsoft.Communication.ChatThreadParticipantAdded\": AcsChatParticipantAddedToThreadEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatParticipantAddedToThreadWithUser\" event. */\n \"Microsoft.Communication.ChatParticipantAddedToThreadWithUser\": AcsChatParticipantAddedToThreadWithUserEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatThreadParticipantRemoved\" event. */\n \"Microsoft.Communication.ChatThreadParticipantRemoved\": AcsChatParticipantRemovedFromThreadEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatParticipantRemovedFromThreadWithUser\" event. */\n \"Microsoft.Communication.ChatParticipantRemovedFromThreadWithUser\": AcsChatParticipantRemovedFromThreadWithUserEventData;\n /** An interface for the event data of a \"Microsoft.Communication.RecordingFileStatusUpdated\" event. */\n \"Microsoft.Communication.RecordingFileStatusUpdated\": AcsRecordingFileStatusUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.SMSDeliveryReportReceived\" event. */\n \"Microsoft.Communication.SMSDeliveryReportReceived\": AcsSmsDeliveryReportReceivedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.SMSReceived\" event. */\n \"Microsoft.Communication.SMSReceived\": AcsSmsReceivedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.UserDisconnected\" event. */\n \"Microsoft.Communication.UserDisconnected\": AcsUserDisconnectedEventData;\n /** An interface for the event data of a \"Microsoft.ContainerService.NewKubernetesVersionAvailable\" event. */\n \"Microsoft.ContainerService.NewKubernetesVersionAvailable\": ContainerServiceNewKubernetesVersionAvailableEventData;\n /** An interface for the event data of a \"Microsoft.AppConfiguration.KeyValueDeleted\" event. */\n \"Microsoft.AppConfiguration.KeyValueDeleted\": AppConfigurationKeyValueDeletedEventData;\n /** An interface for the event data of a \"Microsoft.AppConfiguration.KeyValueModified\" event. */\n \"Microsoft.AppConfiguration.KeyValueModified\": AppConfigurationKeyValueModifiedEventData;\n /** An interface for the event data of a \"Microsoft.ContainerRegistry.ImagePushed\" event. */\n \"Microsoft.ContainerRegistry.ImagePushed\": ContainerRegistryImagePushedEventData;\n /** An interface for the event data of a \"Microsoft.ContainerRegistry.ImageDeleted\" event. */\n \"Microsoft.ContainerRegistry.ImageDeleted\": ContainerRegistryImageDeletedEventData;\n /** An interface for the event data of a \"Microsoft.ContainerRegistry.ChartDeleted\" event. */\n \"Microsoft.ContainerRegistry.ChartDeleted\": ContainerRegistryChartDeletedEventData;\n /** An interface for the event data of a \"Microsoft.ContainerRegistry.ChartPushed\" event. */\n \"Microsoft.ContainerRegistry.ChartPushed\": ContainerRegistryChartPushedEventData;\n /** An interface for the event data of a \"Microsoft.Devices.DeviceCreated\" event. */\n \"Microsoft.Devices.DeviceCreated\": IotHubDeviceCreatedEventData;\n /** An interface for the event data of a \"Microsoft.Devices.DeviceDeleted\" event. */\n \"Microsoft.Devices.DeviceDeleted\": IotHubDeviceDeletedEventData;\n /** An interface for the event data of a \"Microsoft.Devices.DeviceConnected\" event. */\n \"Microsoft.Devices.DeviceConnected\": IotHubDeviceConnectedEventData;\n /** An interface for the event data of a \"Microsoft.Devices.DeviceDisconnected\" event. */\n \"Microsoft.Devices.DeviceDisconnected\": IotHubDeviceDisconnectedEventData;\n /** An interface for the event data of a \"Microsoft.Devices.DeviceTelemetry\" event. */\n \"Microsoft.Devices.DeviceTelemetry\": IotHubDeviceTelemetryEventData;\n /** An interface for the event data of a \"Microsoft.EventGrid.SubscriptionValidationEvent\" event. */\n \"Microsoft.EventGrid.SubscriptionValidationEvent\": SubscriptionValidationEventData;\n /** An interface for the event data of a \"Microsoft.EventGrid.SubscriptionDeletedEvent\" event. */\n \"Microsoft.EventGrid.SubscriptionDeletedEvent\": SubscriptionDeletedEventData;\n /** An interface for the event data of a \"Microsoft.EventHub.CaptureFileCreated\" event. */\n \"Microsoft.EventHub.CaptureFileCreated\": EventHubCaptureFileCreatedEventData;\n /** An interface for the event data of a \"Microsoft.HealthcareApis.DicomImageCreated\" event. */\n \"Microsoft.HealthcareApis.DicomImageCreated\": HealthcareDicomImageCreatedEventData;\n /** An interface for the event data of a \"Microsoft.HealthcareApis.DicomImageDeleted\" event. */\n \"Microsoft.HealthcareApis.DicomImageDeleted\": HealthcareDicomImageDeletedEventData;\n /** An interface for the event data of a \"Microsoft.HealthcareApis.FhirResourceCreated\" event. */\n \"Microsoft.HealthcareApis.FhirResourceCreated\": HealthcareFhirResourceCreatedEventData;\n /** An interface for the event data of a \"Microsoft.HealthcareApis.FhirUpdatedCreated\" event. */\n \"Microsoft.HealthcareApis.FhirUpdatedCreated\": HealthcareFhirResourceUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.HealthcareApis.FhirDeletedCreated\" event. */\n \"Microsoft.HealthcareApis.FhirDeletedCreated\": HealthcareFhirResourceDeletedEventData;\n /** An interface for the event data of a \"Microsoft.KeyVault.CertificateNewVersionCreated\" event. */\n \"Microsoft.KeyVault.CertificateNewVersionCreated\": KeyVaultCertificateNewVersionCreatedEventData;\n /** An interface for the event data of a \"Microsoft.KeyVault.CertificateNearExpiry\" event. */\n \"Microsoft.KeyVault.CertificateNearExpiry\": KeyVaultCertificateNearExpiryEventData;\n /** An interface for the event data of a \"Microsoft.KeyVault.CertificateExpired\" event. */\n \"Microsoft.KeyVault.CertificateExpired\": KeyVaultCertificateExpiredEventData;\n /** An interface for the event data of a \"Microsoft.KeyVault.KeyNewVersionCreated\" event. */\n \"Microsoft.KeyVault.KeyNewVersionCreated\": KeyVaultKeyNewVersionCreatedEventData;\n /** An interface for the event data of a \"Microsoft.KeyVault.KeyNearExpiry\" event. */\n \"Microsoft.KeyVault.KeyNearExpiry\": KeyVaultKeyNearExpiryEventData;\n /** An interface for the event data of a \"Microsoft.KeyVault.KeyExpired\" event. */\n \"Microsoft.KeyVault.KeyExpired\": KeyVaultKeyExpiredEventData;\n /** An interface for the event data of a \"Microsoft.KeyVault.SecretNewVersionCreated\" event. */\n \"Microsoft.KeyVault.SecretNewVersionCreated\": KeyVaultSecretNewVersionCreatedEventData;\n /** An interface for the event data of a \"Microsoft.KeyVault.SecretNearExpiry\" event. */\n \"Microsoft.KeyVault.SecretNearExpiry\": KeyVaultSecretNearExpiryEventData;\n /** An interface for the event data of a \"Microsoft.KeyVault.SecretExpired\" event. */\n \"Microsoft.KeyVault.SecretExpired\": KeyVaultSecretExpiredEventData;\n /** An interface for the event data of a \"Microsoft.KeyVault.VaultAccessPolicyChanged\" event. */\n \"Microsoft.KeyVault.VaultAccessPolicyChanged\": KeyVaultAccessPolicyChangedEventData;\n /** An interface for the event data of a \"Microsoft.MachineLearningServices.DatasetDriftDetected\" event. */\n \"Microsoft.MachineLearningServices.DatasetDriftDetected\": MachineLearningServicesDatasetDriftDetectedEventData;\n /** An interface for the event data of a \"Microsoft.MachineLearningServices.ModelDeployed\" event. */\n \"Microsoft.MachineLearningServices.ModelDeployed\": MachineLearningServicesModelDeployedEventData;\n /** An interface for the event data of a \"Microsoft.MachineLearningServices.ModelRegistered\" event. */\n \"Microsoft.MachineLearningServices.ModelRegistered\": MachineLearningServicesModelRegisteredEventData;\n /** An interface for the event data of a \"Microsoft.MachineLearningServices.RunCompleted\" event. */\n \"Microsoft.MachineLearningServices.RunCompleted\": MachineLearningServicesRunCompletedEventData;\n /** An interface for the event data of a \"Microsoft.MachineLearningServices.RunStatusChanged\" event. */\n \"Microsoft.MachineLearningServices.RunStatusChanged\": MachineLearningServicesRunStatusChangedEventData;\n /** An interface for the event data of a \"Microsoft.Maps.GeofenceEntered\" event. */\n \"Microsoft.Maps.GeofenceEntered\": MapsGeofenceEnteredEventData;\n /** An interface for the event data of a \"Microsoft.Maps.GeofenceExited\" event. */\n \"Microsoft.Maps.GeofenceExited\": MapsGeofenceExitedEventData;\n /** An interface for the event data of a \"Microsoft.Maps.GeofenceResult\" event. */\n \"Microsoft.Maps.GeofenceResult\": MapsGeofenceResultEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobStateChange\" event. */\n \"Microsoft.Media.JobStateChange\": MediaJobStateChangeEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobOutputStateChange\" event. */\n \"Microsoft.Media.JobOutputStateChange\": MediaJobOutputStateChangeEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobScheduled\" event. */\n \"Microsoft.Media.JobScheduled\": MediaJobScheduledEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobProcessing\" event. */\n \"Microsoft.Media.JobProcessing\": MediaJobProcessingEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobCanceling\" event. */\n \"Microsoft.Media.JobCanceling\": MediaJobCancelingEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobFinished\" event. */\n \"Microsoft.Media.JobFinished\": MediaJobFinishedEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobCanceled\" event. */\n \"Microsoft.Media.JobCanceled\": MediaJobCanceledEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobErrored\" event. */\n \"Microsoft.Media.JobErrored\": MediaJobErroredEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobOutputCanceled\" event. */\n \"Microsoft.Media.JobOutputCanceled\": MediaJobOutputCanceledEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobOutputCanceling\" event. */\n \"Microsoft.Media.JobOutputCanceling\": MediaJobOutputCancelingEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobOutputErrored\" event. */\n \"Microsoft.Media.JobOutputErrored\": MediaJobOutputErroredEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobOutputFinished\" event. */\n \"Microsoft.Media.JobOutputFinished\": MediaJobOutputFinishedEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobOutputProcessing\" event. */\n \"Microsoft.Media.JobOutputProcessing\": MediaJobOutputProcessingEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobOutputScheduled\" event. */\n \"Microsoft.Media.JobOutputScheduled\": MediaJobOutputScheduledEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobOutputProgress\" event. */\n \"Microsoft.Media.JobOutputProgress\": MediaJobOutputProgressEventData;\n /** An interface for the event data of a \"Microsoft.Media.LiveEventEncoderConnected\" event. */\n \"Microsoft.Media.LiveEventEncoderConnected\": MediaLiveEventEncoderConnectedEventData;\n /** An interface for the event data of a \"Microsoft.Media.LiveEventChannelArchiveHeartbeat\" event. */\n \"Microsoft.Media.LiveEventChannelArchiveHeartbeat\": MediaLiveEventChannelArchiveHeartbeatEventData;\n /** An interface for the event data of a \"Microsoft.Media.LiveEventConnectionRejected\" event. */\n \"Microsoft.Media.LiveEventConnectionRejected\": MediaLiveEventConnectionRejectedEventData;\n /** An interface for the event data of a \"Microsoft.Media.LiveEventEncoderDisconnected\" event. */\n \"Microsoft.Media.LiveEventEncoderDisconnected\": MediaLiveEventEncoderDisconnectedEventData;\n /** An interface for the event data of a \"Microsoft.Media.LiveEventIncomingStreamReceived\" event. */\n \"Microsoft.Media.LiveEventIncomingStreamReceived\": MediaLiveEventIncomingStreamReceivedEventData;\n /** An interface for the event data of a \"Microsoft.Media.LiveEventIncomingStreamsOutOfSync\" event. */\n \"Microsoft.Media.LiveEventIncomingStreamsOutOfSync\": MediaLiveEventIncomingStreamsOutOfSyncEventData;\n /** An interface for the event data of a \"Microsoft.Media.LiveEventIncomingVideoStreamsOutOfSync\" event. */\n \"Microsoft.Media.LiveEventIncomingVideoStreamsOutOfSync\": MediaLiveEventIncomingVideoStreamsOutOfSyncEventData;\n /** An interface for the event data of a \"Microsoft.Media.LiveEventIncomingDataChunkDropped\" event. */\n \"Microsoft.Media.LiveEventIncomingDataChunkDropped\": MediaLiveEventIncomingDataChunkDroppedEventData;\n /** An interface for the event data of a \"Microsoft.Media.LiveEventIngestHeartbeat\" event. */\n \"Microsoft.Media.LiveEventIngestHeartbeat\": MediaLiveEventIngestHeartbeatEventData;\n /** An interface for the event data of a \"Microsoft.Media.LiveEventTrackDiscontinuityDetected\" event. */\n \"Microsoft.Media.LiveEventTrackDiscontinuityDetected\": MediaLiveEventTrackDiscontinuityDetectedEventData;\n /** An interface for the event data of a \"Microsoft.PolicyInsights.PolicyStateChanged\" event. */\n \"Microsoft.PolicyInsights.PolicyStateChanged \": PolicyInsightsPolicyStateChangedEventData;\n /** An interface for the event data of a \" Microsoft.PolicyInsights.PolicyStateCreated\" event. */\n \"Microsoft.PolicyInsights.PolicyStateCreated\": PolicyInsightsPolicyStateCreatedEventData;\n /** An interface for the event data of a \"Microsoft.PolicyInsights.PolicyStateDeleted\" event. */\n \"Microsoft.PolicyInsights.PolicyStateDeleted\": PolicyInsightsPolicyStateDeletedEventData;\n /** An interface for the event data of a \"Microsoft.Resources.ResourceDeleteSuccess\" event. */\n \"Microsoft.Resources.ResourceWriteSuccess\": ResourceWriteSuccessEventData;\n /** An interface for the event data of a \"Microsoft.Resources.ResourceWriteFailure\" event. */\n \"Microsoft.Resources.ResourceWriteFailure\": ResourceWriteFailureEventData;\n /** An interface for the event data of a \"Microsoft.Resources.ResourceWriteCancel\" event. */\n \"Microsoft.Resources.ResourceWriteCancel\": ResourceWriteCancelEventData;\n /** An interface for the event data of a \"Microsoft.Resources.ResourceDeleteSuccess\" event. */\n \"Microsoft.Resources.ResourceDeleteSuccess\": ResourceDeleteSuccessEventData;\n /** An interface for the event data of a \"Microsoft.Resources.ResourceDeleteFailure\" event. */\n \"Microsoft.Resources.ResourceDeleteFailure\": ResourceDeleteFailureEventData;\n /** An interface for the event data of a \"Microsoft.Resources.ResourceDeleteCancel\" event. */\n \"Microsoft.Resources.ResourceDeleteCancel\": ResourceDeleteCancelEventData;\n /** An interface for the event data of a \"Microsoft.Resources.ResourceActionSuccess\" event. */\n \"Microsoft.Resources.ResourceActionSuccess\": ResourceActionSuccessEventData;\n /** An interface for the event data of a \"Microsoft.Resources.ResourceActionFailure\" event. */\n \"Microsoft.Resources.ResourceActionFailure\": ResourceActionFailureEventData;\n /** An interface for the event data of a \"Microsoft.Resources.ResourceActionCancel\" event. */\n \"Microsoft.Resources.ResourceActionCancel\": ResourceActionCancelEventData;\n /** An interface for the event data of a \"Microsoft.ServiceBus.ActiveMessagesAvailableWithNoListeners\" event. */\n \"Microsoft.ServiceBus.ActiveMessagesAvailableWithNoListeners\": ServiceBusActiveMessagesAvailableWithNoListenersEventData;\n /** An interface for the event data of a \"Microsoft.ServiceBus.DeadletterMessagesAvailableWithNoListeners\" event. */\n \"Microsoft.ServiceBus.DeadletterMessagesAvailableWithNoListeners\": ServiceBusDeadletterMessagesAvailableWithNoListenersEventData;\n /** An interface for the event data of a \"Microsoft.Storage.AsyncOperationInitiated\" event. */\n \"Microsoft.Storage.AsyncOperationInitiated\": StorageAsyncOperationInitiatedEventData;\n /** An interface for the event data of a \"Microsoft.Storage.BlobCreated\" event. */\n \"Microsoft.Storage.BlobCreated\": StorageBlobCreatedEventData;\n /** An interface for the event data of a \"Microsoft.Storage.BlobDeleted\" event. */\n \"Microsoft.Storage.BlobDeleted\": StorageBlobDeletedEventData;\n /** An interface for the event data of a \"Microsoft.Storage.BlobInventoryPolicyCompleted\" event. */\n \"Microsoft.Storage.BlobInventoryPolicyCompleted\": StorageBlobInventoryPolicyCompletedEventData;\n /** An interface for the event data of a \"Microsoft.Storage.BlobTierChanged\" event. */\n \"Microsoft.Storage.BlobTierChanged\": StorageBlobTierChangedEventData;\n /** An interface for the event data of a \"Microsoft.Storage.BlobRenamed\" event. */\n \"Microsoft.Storage.BlobRenamed\": StorageBlobRenamedEventData;\n /** An interface for the event data of a \"Microsoft.Storage.DirectoryCreated\" event. */\n \"Microsoft.Storage.DirectoryCreated\": StorageDirectoryCreatedEventData;\n /** An interface for the event data of a \"Microsoft.Storage.DirectoryDeleted\" event. */\n \"Microsoft.Storage.DirectoryDeleted\": StorageDirectoryDeletedEventData;\n /** An interface for the event data of a \"Microsoft.Storage.DirectoryRenamed\" event. */\n \"Microsoft.Storage.DirectoryRenamed\": StorageDirectoryRenamedEventData;\n /** An interface for the event data of a \"Microsoft.Storage.LifecyclePolicyCompleted\" event. */\n \"Microsoft.Storage.LifecyclePolicyCompleted\": StorageLifecyclePolicyCompletedEventData;\n /** An interface for the event data of a \"Microsoft.Web.AppUpdated\" event. */\n \"Microsoft.Web.AppUpdated\": WebAppUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.Web.BackupOperationStarted\" event. */\n \"Microsoft.Web.BackupOperationStarted\": WebBackupOperationStartedEventData;\n /** An interface for the event data of a \"Microsoft.Web.BackupOperationCompleted\" event. */\n \"Microsoft.Web.BackupOperationCompleted\": WebBackupOperationCompletedEventData;\n /** An interface for the event data of a \"Microsoft.Web.BackupOperationFailed\" event. */\n \"Microsoft.Web.BackupOperationFailed\": WebBackupOperationFailedEventData;\n /** An interface for the event data of a \"Microsoft.Web.RestoreOperationStarted\" event. */\n \"Microsoft.Web.RestoreOperationStarted\": WebRestoreOperationStartedEventData;\n /** An interface for the event data of a \"Microsoft.Web.RestoreOperationCompleted\" event. */\n \"Microsoft.Web.RestoreOperationCompleted\": WebRestoreOperationCompletedEventData;\n /** An interface for the event data of a \"Microsoft.Web.RestoreOperationFailed\" event. */\n \"Microsoft.Web.RestoreOperationFailed\": WebRestoreOperationFailedEventData;\n /** An interface for the event data of a \"Microsoft.Web.SlotSwapStarted\" event. */\n \"Microsoft.Web.SlotSwapStarted\": WebSlotSwapStartedEventData;\n /** An interface for the event data of a \"Microsoft.Web.SlotSwapCompleted\" event. */\n \"Microsoft.Web.SlotSwapCompleted\": WebSlotSwapCompletedEventData;\n /** An interface for the event data of a \"Microsoft.Web.SlotSwapFailed\" event. */\n \"Microsoft.Web.SlotSwapFailed\": WebSlotSwapFailedEventData;\n /** An interface for the event data of a \"Microsoft.Web.SlotSwapWithPreviewStarted\" event. */\n \"Microsoft.Web.SlotSwapWithPreviewStarted\": WebSlotSwapWithPreviewStartedEventData;\n /** An interface for the event data of a \"Microsoft.Web.SlotSwapWithPreviewCancelled\" event. */\n \"Microsoft.Web.SlotSwapWithPreviewCancelled\": WebSlotSwapWithPreviewCancelledEventData;\n /** An interface for the event data of a \"Microsoft.Web.AppServicePlanUpdated\" event. */\n \"Microsoft.Web.AppServicePlanUpdated\": WebAppServicePlanUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.Storage.StorageTaskQueued\" event. */\n \"Microsoft.Storage.StorageTaskQueued\": StorageTaskQueuedEventData;\n /** An interface for the event data of a \"Microsoft.Storage.StorageTaskCompleted\" event. */\n \"Microsoft.Storage.StorageTaskCompleted\": StorageTaskCompletedEventData;\n /** An interface for the event data of a \"Microsoft.DataBox.CopyStarted\" event. */\n \"Microsoft.DataBox.CopyStarted\": DataBoxCopyStartedEventData;\n /** An interface for the event data of a \"Microsoft.DataBox.CopyCompleted\" event. */\n \"Microsoft.DataBox.CopyCompleted\": DataBoxCopyCompletedEventData;\n /** An interface for the event data of a \"Microsoft.DataBox.OrderCompleted\" event. */\n \"Microsoft.DataBox.OrderCompleted\": DataBoxOrderCompletedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.IncomingCall\" event. */\n \"Microsoft.Communication.IncomingCall\": AcsIncomingCallEventData;\n /** An interface for the event data of a \"Microsoft.Communication.EmailDeliveryReportReceived\" event. */\n \"Microsoft.Communication.EmailDeliveryReportReceived\": AcsEmailDeliveryReportReceivedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.EmailEngagementTrackingReportReceived\" event. */\n \"Microsoft.Communication.EmailEngagementTrackingReportReceived\": AcsEmailEngagementTrackingReportReceivedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.GatewayCreated\" event. */\n \"Microsoft.ApiManagement.GatewayCreated\": ApiManagementGatewayCreatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.GatewayUpdated\" event. */\n \"Microsoft.ApiManagement.GatewayUpdated\": ApiManagementGatewayUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.GatewayDeleted\" event. */\n \"Microsoft.ApiManagement.GatewayDeleted\": ApiManagementGatewayDeletedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.GatewayHostnameConfigurationCreated\" event. */\n \"Microsoft.ApiManagement.GatewayHostnameConfigurationCreated\": ApiManagementGatewayHostnameConfigurationCreatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.GatewayHostnameConfigurationUpdated\" event. */\n \"Microsoft.ApiManagement.GatewayHostnameConfigurationUpdated\": ApiManagementGatewayHostnameConfigurationUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.GatewayHostnameConfigurationDeleted\" event. */\n \"Microsoft.ApiManagement.GatewayHostnameConfigurationDeleted\": ApiManagementGatewayHostnameConfigurationDeletedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.GatewayCertificateAuthorityCreated\" event. */\n \"Microsoft.ApiManagement.GatewayCertificateAuthorityCreated\": ApiManagementGatewayCertificateAuthorityCreatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.GatewayCertificateAuthorityUpdated\" event. */\n \"Microsoft.ApiManagement.GatewayCertificateAuthorityUpdated\": ApiManagementGatewayCertificateAuthorityUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.GatewayCertificateAuthorityDeleted\" event. */\n \"Microsoft.ApiManagement.GatewayCertificateAuthorityDeleted\": ApiManagementGatewayCertificateAuthorityDeletedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.GatewayAPIAdded\" event. */\n \"Microsoft.ApiManagement.GatewayAPIAdded\": ApiManagementGatewayApiAddedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.GatewayAPIRemoved\" event. */\n \"Microsoft.ApiManagement.GatewayAPIRemoved\": ApiManagementGatewayApiRemovedEventData;\n /** An interface for the event data of a \"Microsoft.HealthcareApis.DicomImageUpdated\" event. */\n \"Microsoft.HealthcareApis.DicomImageUpdated\": HealthcareDicomImageUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.ContainerService.ClusterSupportEnded\" event. */\n \"Microsoft.ContainerService.ClusterSupportEnded\": ContainerServiceClusterSupportEndedEventData;\n /** An interface for the event data of a \"Microsoft.ContainerService.ClusterSupportEnding\" event. */\n \"Microsoft.ContainerService.ClusterSupportEnding\": ContainerServiceClusterSupportEndingEventData;\n /** An interface for the event data of a \"Microsoft.ContainerService.NodePoolRollingStarted\" event. */\n \"Microsoft.ContainerService.NodePoolRollingStarted\": ContainerServiceNodePoolRollingStartedEventData;\n /** An interface for the event data of a \"Microsoft.ContainerService.NodePoolRollingSucceeded\" event. */\n \"Microsoft.ContainerService.NodePoolRollingSucceeded\": ContainerServiceNodePoolRollingSucceededEventData;\n /** An interface for the event data of a \"Microsoft.ContainerService.NodePoolRollingFailed\" event. */\n \"Microsoft.ContainerService.NodePoolRollingFailed\": ContainerServiceNodePoolRollingFailedEventData;\n /** An interface for the event data of a \"Microsoft.Edge.SolutionVersionPublished\" event. */\n \"Microsoft.Edge.SolutionVersionPublished\": EdgeSolutionVersionPublishedEventData;\n /** An interface for the event data of a \"Microsoft.EventGrid.MQTTClientCreatedOrUpdated\" event. */\n \"Microsoft.EventGrid.MQTTClientCreatedOrUpdated\": EventGridMqttClientCreatedOrUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.EventGrid.MQTTClientDeleted\" event. */\n \"Microsoft.EventGrid.MQTTClientDeleted\": EventGridMqttClientDeletedEventData;\n /** An interface for the event data of a \"Microsoft.EventGrid.MQTTClientSessionConnected\" event. */\n \"Microsoft.EventGrid.MQTTClientSessionConnected\": EventGridMqttClientSessionConnectedEventData;\n /** An interface for the event data of a \"Microsoft.EventGrid.MQTTClientSessionDisconnected\" event. */\n \"Microsoft.EventGrid.MQTTClientSessionDisconnected\": EventGridMqttClientSessionDisconnectedEventData;\n /** An interface for the event data of a \"Microsoft.AppConfiguration.SnapshotCreated\" event. */\n \"Microsoft.AppConfiguration.SnapshotCreated\": AppConfigurationSnapshotCreatedEventData;\n /** An interface for the event data of a \"Microsoft.AppConfiguration.SnapshotModified\" event. */\n \"Microsoft.AppConfiguration.SnapshotModified\": AppConfigurationSnapshotModifiedEventData;\n /** An interface for the event data of a \"Microsoft.ResourceNotifications.HealthResources.AvailabilityStatusChanged\" event. */\n \"Microsoft.ResourceNotifications.HealthResources.AvailabilityStatusChanged\": ResourceNotificationsHealthResourcesAvailabilityStatusChangedEventData;\n /** An interface for the event data of a \"Microsoft.ResourceNotifications.HealthResources.ResourceAnnotated\" event. */\n \"Microsoft.ResourceNotifications.HealthResources.ResourceAnnotated\": ResourceNotificationsHealthResourcesAnnotatedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.RouterWorkerDeregistered\" event. */\n \"Microsoft.Communication.RouterWorkerDeregistered\": AcsRouterWorkerDeregisteredEventData;\n /** An interface for the event data of a \"Microsoft.Communication.RouterWorkerRegistered\" event. */\n \"Microsoft.Communication.RouterWorkerRegistered\": AcsRouterWorkerRegisteredEventData;\n /** An interface for the event data of a \"Microsoft.Communication.RouterJobCancelled\" event. */\n \"Microsoft.Communication.RouterJobCancelled\": AcsRouterJobCancelledEventData;\n /** An interface for the event data of a \"Microsoft.Communication.RouterJobClassificationFailed\" event. */\n \"Microsoft.Communication.RouterJobClassificationFailed\": AcsRouterJobClassificationFailedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.RouterJobClassified\" event. */\n \"Microsoft.Communication.RouterJobClassified\": AcsRouterJobClassifiedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.RouterJobClosed\" event. */\n \"Microsoft.Communication.RouterJobClosed\": AcsRouterJobClosedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.RouterJobCompleted\" event. */\n \"Microsoft.Communication.RouterJobCompleted\": AcsRouterJobCompletedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.RouterJobDeleted\" event. */\n \"Microsoft.Communication.RouterJobDeleted\": AcsRouterJobDeletedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.RouterJobExceptionTriggered\" event. */\n \"Microsoft.Communication.RouterJobExceptionTriggered\": AcsRouterJobExceptionTriggeredEventData;\n /** An interface for the event data of a \"Microsoft.Communication.RouterJobQueued\" event. */\n \"Microsoft.Communication.RouterJobQueued\": AcsRouterJobQueuedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.RouterJobReceived\" event. */\n \"Microsoft.Communication.RouterJobReceived\": AcsRouterJobReceivedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.RouterJobSchedulingFailed\" event. */\n \"Microsoft.Communication.RouterJobSchedulingFailed\": AcsRouterJobSchedulingFailedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.RouterJobUnassigned\" event. */\n \"Microsoft.Communication.RouterJobUnassigned\": AcsRouterJobUnassignedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.RouterJobWaitingForActivation\" event. */\n \"Microsoft.Communication.RouterJobWaitingForActivation\": AcsRouterJobWaitingForActivationEventData;\n /** An interface for the event data of a \"Microsoft.Communication.RouterJobWorkerSelectorsExpire\" event. */\n \"Microsoft.Communication.RouterJobWorkerSelectorsExpire\": AcsRouterJobWorkerSelectorsExpiredEventData;\n /** An interface for the event data of a \"Microsoft.Communication.RouterWorkerDeleted\" event. */\n \"Microsoft.Communication.RouterWorkerDeleted\": AcsRouterWorkerDeletedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.RouterWorkerOfferAccepted\" event. */\n \"Microsoft.Communication.RouterWorkerOfferAccepted\": AcsRouterWorkerOfferAcceptedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.RouterWorkerOfferDeclined\" event. */\n \"Microsoft.Communication.RouterWorkerOfferDeclined\": AcsRouterWorkerOfferDeclinedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.RouterWorkerOfferExpired\" event. */\n \"Microsoft.Communication.RouterWorkerOfferExpired\": AcsRouterWorkerOfferExpiredEventData;\n /** An interface for the event data of a \"Microsoft.Communication.RouterWorkerOfferIssued\" event. */\n \"Microsoft.Communication.RouterWorkerOfferIssued\": AcsRouterWorkerOfferIssuedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.RouterWorkerOfferRevoked\" event. */\n \"Microsoft.Communication.RouterWorkerOfferRevoked\": AcsRouterWorkerOfferRevokedEventData;\n /** An interface for the event data of a \"Microsoft.ResourceNotifications.Resources.CreatedOrUpdated\" event. */\n \"Microsoft.ResourceNotifications.Resources.CreatedOrUpdated\": ResourceNotificationsResourceManagementCreatedOrUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.ResourceNotifications.Resources.Deleted\" event. */\n \"Microsoft.ResourceNotifications.Resources.Deleted\": ResourceNotificationsResourceManagementDeletedEventData;\n /** An interface for the event data of a \"Microsoft.Storage.StorageTaskAssignmentQueued\" event. */\n \"Microsoft.Storage.StorageTaskAssignmentQueued\": StorageTaskAssignmentQueuedEventData;\n /** An interface for the event data of a \"Microsoft.Storage.StorageTaskAssignmentCompleted\" event. */\n \"Microsoft.Storage.StorageTaskAssignmentCompleted\": StorageTaskAssignmentCompletedEventData;\n /** An interface for the event data of a \"Microsoft.AVS.ScriptExecutionStarted\" event. */\n \"Microsoft.AVS.ScriptExecutionStarted\": AvsScriptExecutionStartedEventData;\n /** An interface for the event data of a \"Microsoft.AVS.ScriptExecutionFinished\" event. */\n \"Microsoft.AVS.ScriptExecutionFinished\": AvsScriptExecutionFinishedEventData;\n /** An interface for the event data of a \"Microsoft.AVS.ScriptExecutionCancelled\" event. */\n \"Microsoft.AVS.ScriptExecutionCancelled\": AvsScriptExecutionCancelledEventData;\n /** An interface for the event data of a \"Microsoft.AVS.ScriptExecutionFailed\" event. */\n \"Microsoft.AVS.ScriptExecutionFailed\": AvsScriptExecutionFailedEventData;\n /** An interface for the event data of a \"Microsoft.AVS.PrivateCloudUpdating\" event. */\n \"Microsoft.AVS.PrivateCloudUpdating\": AvsPrivateCloudUpdatingEventData;\n /** An interface for the event data of a \"Microsoft.AVS.PrivateCloudUpdated\" event. */\n \"Microsoft.AVS.PrivateCloudUpdated\": AvsPrivateCloudUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.AVS.PrivateCloudFailed\" event. */\n \"Microsoft.AVS.PrivateCloudFailed\": AvsPrivateCloudFailedEventData;\n /** An interface for the event data of a \"Microsoft.AVS.ClusterCreated\" event. */\n \"Microsoft.AVS.ClusterCreated\": AvsClusterCreatedEventData;\n /** An interface for the event data of a \"Microsoft.AVS.ClusterDeleted\" event. */\n \"Microsoft.AVS.ClusterDeleted\": AvsClusterDeletedEventData;\n /** An interface for the event data of a \"Microsoft.AVS.ClusterUpdating\" event. */\n \"Microsoft.AVS.ClusterUpdating\": AvsClusterUpdatingEventData;\n /** An interface for the event data of a \"Microsoft.AVS.ClusterUpdated\" event. */\n \"Microsoft.AVS.ClusterUpdated\": AvsClusterUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.AVS.ClusterFailed\" event. */\n \"Microsoft.AVS.ClusterFailed\": AvsClusterFailedEventData;\n /** An interface for the event data of a \"Microsoft.ApiCenter.ApiDefinitionAdded\" event. */\n \"Microsoft.ApiCenter.ApiDefinitionAdded\": ApiCenterApiDefinitionAddedEventData;\n /** An interface for the event data of a \"Microsoft.ApiCenter.ApiDefinitionUpdated\" event. */\n \"Microsoft.ApiCenter.ApiDefinitionUpdated\": ApiCenterApiDefinitionUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.AdvancedMessageDeliveryStatusUpdated\" event. */\n \"Microsoft.Communication.AdvancedMessageDeliveryStatusUpdated\": AcsMessageDeliveryStatusUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.AdvancedMessageReceived\" event. */\n \"Microsoft.Communication.AdvancedMessageReceived\": AcsMessageReceivedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.RouterWorkerUpdated\" event. */\n \"Microsoft.Communication.RouterWorkerUpdated\": AcsRouterWorkerUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatThreadCreated\" event. */\n \"Microsoft.Communication.ChatThreadCreated\": AcsChatThreadCreatedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatThreadDeleted\" event. */\n \"Microsoft.Communication.ChatThreadDeleted\": AcsChatThreadDeletedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatThreadPropertiesUpdated\" event. */\n \"Microsoft.Communication.ChatThreadPropertiesUpdated\": AcsChatThreadPropertiesUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.ResourceNotifications.ContainerServiceEventResources.ScheduledEventEmitted\" event. */\n \"Microsoft.ResourceNotifications.ContainerServiceEventResources.ScheduledEventEmitted\": ResourceNotificationsContainerServiceEventResourcesScheduledEventData;\n}\n\n/**\n * isCloudEventLike returns \"true\" when the event is a CloudEvent\n *\n * @param o - Either an EventGrid our CloudEvent event.\n */\nfunction isCloudEventLike(\n o: EventGridEvent<unknown> | CloudEvent<unknown>,\n): o is CloudEvent<unknown> {\n return (o as any).source !== undefined;\n}\n\n/**\n * iSystemEvent returns \"true\" when a given event is a system event of a given type. When using\n * TypeScript, this function acts as a custom type guard and allows the TypeScript compiler to\n * identify the underlying data\n *\n * @param eventType - The type of system event to check for, e.g., \"Microsoft.AppConfiguration.KeyValueDeleted\"\n * @param event - The event to test.\n */\nexport function isSystemEvent<T extends KnownSystemEventTypes>(\n eventType: T,\n event: EventGridEvent<unknown>,\n): event is EventGridEvent<SystemEventNameToEventData[T]>;\n\n/**\n * iSystemEvent returns \"true\" when a given event is a system event of a given type. When using\n * TypeScript, this function acts as a custom type guard and allows the TypeScript compiler to\n * identify the underlying data\n *\n * @param eventType - The type of system event to check for, e.g., \"Microsoft.AppConfiguration.KeyValueDeleted\"\n * @param event - The event to test.\n */\nexport function isSystemEvent<T extends KnownSystemEventTypes>(\n eventType: T,\n event: CloudEvent<unknown>,\n): event is CloudEvent<SystemEventNameToEventData[T]>;\n\nexport function isSystemEvent<T extends KnownSystemEventTypes>(\n eventType: T,\n event: EventGridEvent<unknown> | CloudEvent<unknown>,\n): event is\n | EventGridEvent<SystemEventNameToEventData[T]>\n | CloudEvent<SystemEventNameToEventData[T]> {\n if (isCloudEventLike(event)) {\n return event.type === eventType;\n } else {\n return event.eventType === eventType;\n }\n}\n"]}
@@ -8,6 +8,6 @@ import { createTracingClient } from "@azure/core-tracing";
8
8
  export const tracingClient = createTracingClient({
9
9
  namespace: "Microsoft.Messaging.EventGrid",
10
10
  packageName: "@azure/event-grid",
11
- packageVersion: "5.11.1",
11
+ packageVersion: "5.12.1",
12
12
  });
13
13
  //# sourceMappingURL=tracing.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tracing.js","sourceRoot":"","sources":["../../src/tracing.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAE1D;;;GAGG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,mBAAmB,CAAC;IAC/C,SAAS,EAAE,+BAA+B;IAC1C,WAAW,EAAE,mBAAmB;IAChC,cAAc,EAAE,QAAQ;CACzB,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { createTracingClient } from \"@azure/core-tracing\";\n\n/**\n * A tracing client to handle spans.\n * @internal\n */\nexport const tracingClient = createTracingClient({\n namespace: \"Microsoft.Messaging.EventGrid\",\n packageName: \"@azure/event-grid\",\n packageVersion: \"5.11.1\",\n});\n"]}
1
+ {"version":3,"file":"tracing.js","sourceRoot":"","sources":["../../src/tracing.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAE1D;;;GAGG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,mBAAmB,CAAC;IAC/C,SAAS,EAAE,+BAA+B;IAC1C,WAAW,EAAE,mBAAmB;IAChC,cAAc,EAAE,QAAQ;CACzB,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { createTracingClient } from \"@azure/core-tracing\";\n\n/**\n * A tracing client to handle spans.\n * @internal\n */\nexport const tracingClient = createTracingClient({\n namespace: \"Microsoft.Messaging.EventGrid\",\n packageName: \"@azure/event-grid\",\n packageVersion: \"5.12.1\",\n});\n"]}
@@ -27,7 +27,7 @@ class GeneratedClient extends coreClient.ServiceClient {
27
27
  const defaults = {
28
28
  requestContentType: "application/json; charset=utf-8",
29
29
  };
30
- const packageDetails = `azsdk-js-eventgrid/5.11.0`;
30
+ const packageDetails = `azsdk-js-eventgrid/5.12.0`;
31
31
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
32
32
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
33
33
  : `${packageDetails}`;
@@ -1 +1 @@
1
- {"version":3,"file":"generatedClient.js","sourceRoot":"","sources":["../../../src/generated/generatedClient.ts"],"names":[],"mappings":"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","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest,\n} from \"@azure/core-rest-pipeline\";\nimport * as Parameters from \"./models/parameters.js\";\nimport * as Mappers from \"./models/mappers.js\";\nimport {\n GeneratedClientOptionalParams,\n EventGridEvent,\n PublishEventGridEventsOptionalParams,\n CloudEvent,\n PublishCloudEventEventsOptionalParams,\n PublishCustomEventEventsOptionalParams,\n} from \"./models/index.js\";\n\n/** @internal */\nexport class GeneratedClient extends coreClient.ServiceClient {\n apiVersion: string;\n\n /**\n * Initializes a new instance of the GeneratedClient class.\n * @param options The parameter options\n */\n constructor(options?: GeneratedClientOptionalParams) {\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: GeneratedClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n };\n\n const packageDetails = `azsdk-js-eventgrid/5.11.0`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint: options.endpoint ?? options.baseUri ?? \"{topicHostname}\",\n };\n super(optionsWithDefaults);\n\n // Assigning values to Constant parameters\n this.apiVersion = options.apiVersion || \"2018-01-01\";\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest,\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n },\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n /**\n * Publishes a batch of events to an Azure Event Grid topic.\n * @param topicHostname The host name of the topic, e.g. topic1.westus2-1.eventgrid.azure.net\n * @param events An array of events to be published to Event Grid.\n * @param options The options parameters.\n */\n publishEventGridEvents(\n topicHostname: string,\n events: EventGridEvent[],\n options?: PublishEventGridEventsOptionalParams,\n ): Promise<void> {\n return this.sendOperationRequest(\n { topicHostname, events, options },\n publishEventGridEventsOperationSpec,\n );\n }\n\n /**\n * Publishes a batch of events to an Azure Event Grid topic.\n * @param topicHostname The host name of the topic, e.g. topic1.westus2-1.eventgrid.azure.net\n * @param events An array of events to be published to Event Grid.\n * @param options The options parameters.\n */\n publishCloudEventEvents(\n topicHostname: string,\n events: CloudEvent[],\n options?: PublishCloudEventEventsOptionalParams,\n ): Promise<void> {\n return this.sendOperationRequest(\n { topicHostname, events, options },\n publishCloudEventEventsOperationSpec,\n );\n }\n\n /**\n * Publishes a batch of events to an Azure Event Grid topic.\n * @param topicHostname The host name of the topic, e.g. topic1.westus2-1.eventgrid.azure.net\n * @param events An array of events to be published to Event Grid.\n * @param options The options parameters.\n */\n publishCustomEventEvents(\n topicHostname: string,\n events: Record<string, unknown>[],\n options?: PublishCustomEventEventsOptionalParams,\n ): Promise<void> {\n return this.sendOperationRequest(\n { topicHostname, events, options },\n publishCustomEventEventsOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst publishEventGridEventsOperationSpec: coreClient.OperationSpec = {\n path: \"\",\n httpMethod: \"POST\",\n responses: { 200: {}, default: {} },\n requestBody: Parameters.events,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.topicHostname],\n headerParameters: [Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst publishCloudEventEventsOperationSpec: coreClient.OperationSpec = {\n path: \"\",\n httpMethod: \"POST\",\n responses: { 200: {}, default: {} },\n requestBody: Parameters.events1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.topicHostname],\n headerParameters: [Parameters.contentType1, Parameters.aegChannelName],\n mediaType: \"json\",\n serializer,\n};\nconst publishCustomEventEventsOperationSpec: coreClient.OperationSpec = {\n path: \"\",\n httpMethod: \"POST\",\n responses: { 200: {}, default: {} },\n requestBody: Parameters.events2,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.topicHostname],\n headerParameters: [Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\n"]}
1
+ {"version":3,"file":"generatedClient.js","sourceRoot":"","sources":["../../../src/generated/generatedClient.ts"],"names":[],"mappings":"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","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest,\n} from \"@azure/core-rest-pipeline\";\nimport * as Parameters from \"./models/parameters.js\";\nimport * as Mappers from \"./models/mappers.js\";\nimport {\n GeneratedClientOptionalParams,\n EventGridEvent,\n PublishEventGridEventsOptionalParams,\n CloudEvent,\n PublishCloudEventEventsOptionalParams,\n PublishCustomEventEventsOptionalParams,\n} from \"./models/index.js\";\n\n/** @internal */\nexport class GeneratedClient extends coreClient.ServiceClient {\n apiVersion: string;\n\n /**\n * Initializes a new instance of the GeneratedClient class.\n * @param options The parameter options\n */\n constructor(options?: GeneratedClientOptionalParams) {\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: GeneratedClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n };\n\n const packageDetails = `azsdk-js-eventgrid/5.12.0`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint: options.endpoint ?? options.baseUri ?? \"{topicHostname}\",\n };\n super(optionsWithDefaults);\n\n // Assigning values to Constant parameters\n this.apiVersion = options.apiVersion || \"2018-01-01\";\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest,\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n },\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n /**\n * Publishes a batch of events to an Azure Event Grid topic.\n * @param topicHostname The host name of the topic, e.g. topic1.westus2-1.eventgrid.azure.net\n * @param events An array of events to be published to Event Grid.\n * @param options The options parameters.\n */\n publishEventGridEvents(\n topicHostname: string,\n events: EventGridEvent[],\n options?: PublishEventGridEventsOptionalParams,\n ): Promise<void> {\n return this.sendOperationRequest(\n { topicHostname, events, options },\n publishEventGridEventsOperationSpec,\n );\n }\n\n /**\n * Publishes a batch of events to an Azure Event Grid topic.\n * @param topicHostname The host name of the topic, e.g. topic1.westus2-1.eventgrid.azure.net\n * @param events An array of events to be published to Event Grid.\n * @param options The options parameters.\n */\n publishCloudEventEvents(\n topicHostname: string,\n events: CloudEvent[],\n options?: PublishCloudEventEventsOptionalParams,\n ): Promise<void> {\n return this.sendOperationRequest(\n { topicHostname, events, options },\n publishCloudEventEventsOperationSpec,\n );\n }\n\n /**\n * Publishes a batch of events to an Azure Event Grid topic.\n * @param topicHostname The host name of the topic, e.g. topic1.westus2-1.eventgrid.azure.net\n * @param events An array of events to be published to Event Grid.\n * @param options The options parameters.\n */\n publishCustomEventEvents(\n topicHostname: string,\n events: Record<string, unknown>[],\n options?: PublishCustomEventEventsOptionalParams,\n ): Promise<void> {\n return this.sendOperationRequest(\n { topicHostname, events, options },\n publishCustomEventEventsOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst publishEventGridEventsOperationSpec: coreClient.OperationSpec = {\n path: \"\",\n httpMethod: \"POST\",\n responses: { 200: {}, default: {} },\n requestBody: Parameters.events,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.topicHostname],\n headerParameters: [Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst publishCloudEventEventsOperationSpec: coreClient.OperationSpec = {\n path: \"\",\n httpMethod: \"POST\",\n responses: { 200: {}, default: {} },\n requestBody: Parameters.events1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.topicHostname],\n headerParameters: [Parameters.contentType1, Parameters.aegChannelName],\n mediaType: \"json\",\n serializer,\n};\nconst publishCustomEventEventsOperationSpec: coreClient.OperationSpec = {\n path: \"\",\n httpMethod: \"POST\",\n responses: { 200: {}, default: {} },\n requestBody: Parameters.events2,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.topicHostname],\n headerParameters: [Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\n"]}
@@ -24,7 +24,7 @@ class GeneratedClientContext extends coreClient.ServiceClient {
24
24
  const defaults = {
25
25
  requestContentType: "application/json; charset=utf-8"
26
26
  };
27
- const packageDetails = `azsdk-js-eventgrid/5.11.1`;
27
+ const packageDetails = `azsdk-js-eventgrid/5.12.1`;
28
28
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
29
29
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
30
30
  : `${packageDetails}`;
@@ -1 +1 @@
1
- {"version":3,"file":"generatedClientContext.js","sourceRoot":"","sources":["../../../src/generated/generatedClientContext.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAEH,uEAAiD;AAGjD,gBAAgB;AAChB,MAAa,sBAAuB,SAAQ,UAAU,CAAC,aAAa;IAGlE;;;OAGG;IACH,YAAY,OAAuC;QACjD,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAAkC;YAC9C,kBAAkB,EAAE,iCAAiC;SACtD,CAAC;QAEF,MAAM,cAAc,GAAG,2BAA2B,CAAC;QACnD,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;YAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,cAAc,EAAE;YACjE,CAAC,CAAC,GAAG,cAAc,EAAE,CAAC;QAE1B,MAAM,mBAAmB,iDACpB,QAAQ,GACR,OAAO,KACV,gBAAgB,EAAE;gBAChB,eAAe;aAChB,EACD,OAAO,EAAE,OAAO,CAAC,QAAQ,IAAI,iBAAiB,GAC/C,CAAC;QACF,KAAK,CAAC,mBAAmB,CAAC,CAAC;QAE3B,0CAA0C;QAC1C,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,IAAI,YAAY,CAAC;IACvD,CAAC;CACF;AAnCD,wDAmCC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport { GeneratedClientOptionalParams } from \"./models/index.js\";\n\n/** @internal */\nexport class GeneratedClientContext extends coreClient.ServiceClient {\n apiVersion: string;\n\n /**\n * Initializes a new instance of the GeneratedClientContext class.\n * @param options The parameter options\n */\n constructor(options?: GeneratedClientOptionalParams) {\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: GeneratedClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\"\n };\n\n const packageDetails = `azsdk-js-eventgrid/5.11.1`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n baseUri: options.endpoint || \"{topicHostname}\"\n };\n super(optionsWithDefaults);\n\n // Assigning values to Constant parameters\n this.apiVersion = options.apiVersion || \"2018-01-01\";\n }\n}\n"]}
1
+ {"version":3,"file":"generatedClientContext.js","sourceRoot":"","sources":["../../../src/generated/generatedClientContext.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAEH,uEAAiD;AAGjD,gBAAgB;AAChB,MAAa,sBAAuB,SAAQ,UAAU,CAAC,aAAa;IAGlE;;;OAGG;IACH,YAAY,OAAuC;QACjD,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAAkC;YAC9C,kBAAkB,EAAE,iCAAiC;SACtD,CAAC;QAEF,MAAM,cAAc,GAAG,2BAA2B,CAAC;QACnD,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;YAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,cAAc,EAAE;YACjE,CAAC,CAAC,GAAG,cAAc,EAAE,CAAC;QAE1B,MAAM,mBAAmB,iDACpB,QAAQ,GACR,OAAO,KACV,gBAAgB,EAAE;gBAChB,eAAe;aAChB,EACD,OAAO,EAAE,OAAO,CAAC,QAAQ,IAAI,iBAAiB,GAC/C,CAAC;QACF,KAAK,CAAC,mBAAmB,CAAC,CAAC;QAE3B,0CAA0C;QAC1C,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,IAAI,YAAY,CAAC;IACvD,CAAC;CACF;AAnCD,wDAmCC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport { GeneratedClientOptionalParams } from \"./models/index.js\";\n\n/** @internal */\nexport class GeneratedClientContext extends coreClient.ServiceClient {\n apiVersion: string;\n\n /**\n * Initializes a new instance of the GeneratedClientContext class.\n * @param options The parameter options\n */\n constructor(options?: GeneratedClientOptionalParams) {\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: GeneratedClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\"\n };\n\n const packageDetails = `azsdk-js-eventgrid/5.12.1`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n baseUri: options.endpoint || \"{topicHostname}\"\n };\n super(optionsWithDefaults);\n\n // Assigning values to Constant parameters\n this.apiVersion = options.apiVersion || \"2018-01-01\";\n }\n}\n"]}