@azure/eventgrid
Advanced tools
Comparing version 3.0.0-beta.1 to 3.0.0-beta.2
# Release History | ||
## 3.0.0-beta.2 (2020-09-24) | ||
- Added support for system events sent by the Azure Communication Services. | ||
## 3.0.0-beta.1 (2020-09-08) | ||
@@ -4,0 +8,0 @@ |
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT license. | ||
export const SDK_VERSION = "3.0.0-preview.1"; | ||
export const SDK_VERSION = "3.0.0-beta.2"; | ||
export const DEFAULT_API_VERSION = "2018-01-01"; | ||
//# sourceMappingURL=constants.js.map |
@@ -10,3 +10,3 @@ /* | ||
const packageName = "@azure/eventgrid"; | ||
const packageVersion = "1.0.0"; | ||
const packageVersion = "3.0.0-beta.2"; | ||
export class GeneratedClientContext extends coreHttp.ServiceClient { | ||
@@ -13,0 +13,0 @@ /** |
@@ -5,4 +5,19 @@ // Copyright (c) Microsoft Corporation. | ||
import { Serializer } from "@azure/core-http"; | ||
import { AppConfigurationKeyValueDeletedEventData, AppConfigurationKeyValueModifiedEventData, AppEventTypeDetail, AppServicePlanEventTypeDetail, ContainerRegistryArtifactEventData, ContainerRegistryArtifactEventTarget, ContainerRegistryChartDeletedEventData, ContainerRegistryChartPushedEventData, ContainerRegistryEventActor, ContainerRegistryEventData, ContainerRegistryEventRequest, ContainerRegistryEventSource, ContainerRegistryEventTarget, ContainerRegistryImageDeletedEventData, ContainerRegistryImagePushedEventData, DeviceConnectionStateEventInfo, DeviceConnectionStateEventProperties, DeviceLifeCycleEventProperties, DeviceTelemetryEventProperties, DeviceTwinInfo, DeviceTwinInfoProperties, DeviceTwinInfoX509Thumbprint, DeviceTwinMetadata, DeviceTwinProperties, EventHubCaptureFileCreatedEventData, IotHubDeviceConnectedEventData, IotHubDeviceCreatedEventData, IotHubDeviceDeletedEventData, IotHubDeviceDisconnectedEventData, IotHubDeviceTelemetryEventData, KeyVaultCertificateExpiredEventData, KeyVaultCertificateNearExpiryEventData, KeyVaultCertificateNewVersionCreatedEventData, KeyVaultKeyExpiredEventData, KeyVaultKeyNearExpiryEventData, KeyVaultKeyNewVersionCreatedEventData, KeyVaultSecretExpiredEventData, KeyVaultSecretNearExpiryEventData, KeyVaultSecretNewVersionCreatedEventData, MachineLearningServicesDatasetDriftDetectedEventData, MachineLearningServicesModelDeployedEventData, MachineLearningServicesModelRegisteredEventData, MachineLearningServicesRunCompletedEventData, MachineLearningServicesRunStatusChangedEventData, MapsGeofenceEnteredEventData, MapsGeofenceEventProperties, MapsGeofenceExitedEventData, MapsGeofenceGeometry, MapsGeofenceResultEventData, MediaJobCanceledEventData, MediaJobCancelingEventData, MediaJobError, MediaJobErrorDetail, MediaJobErroredEventData, MediaJobFinishedEventData, MediaJobOutput, MediaJobOutputAsset, MediaJobOutputCanceledEventData, MediaJobOutputCancelingEventData, MediaJobOutputErroredEventData, MediaJobOutputFinishedEventData, MediaJobOutputProcessingEventData, MediaJobOutputProgressEventData, MediaJobOutputScheduledEventData, MediaJobOutputStateChangeEventData, MediaJobProcessingEventData, MediaJobScheduledEventData, MediaJobStateChangeEventData, MediaLiveEventConnectionRejectedEventData, MediaLiveEventEncoderConnectedEventData, MediaLiveEventEncoderDisconnectedEventData, MediaLiveEventIncomingDataChunkDroppedEventData, MediaLiveEventIncomingStreamReceivedEventData, MediaLiveEventIncomingStreamsOutOfSyncEventData, MediaLiveEventIncomingVideoStreamsOutOfSyncEventData, MediaLiveEventIngestHeartbeatEventData, MediaLiveEventTrackDiscontinuityDetectedEventData, RedisExportRDBCompletedEventData, RedisImportRDBCompletedEventData, RedisPatchingCompletedEventData, RedisScalingCompletedEventData, ResourceActionCancelEventData, ResourceActionFailureEventData, ResourceActionSuccessEventData, ResourceDeleteCancelEventData, ResourceDeleteFailureEventData, ResourceDeleteSuccessEventData, ResourceWriteCancelEventData, ResourceWriteFailureEventData, ResourceWriteSuccessEventData, ServiceBusActiveMessagesAvailableWithNoListenersEventData, ServiceBusDeadletterMessagesAvailableWithNoListenersEventData, SignalRServiceClientConnectionConnectedEventData, SignalRServiceClientConnectionDisconnectedEventData, StorageBlobCreatedEventData, StorageBlobDeletedEventData, StorageBlobRenamedEventData, StorageDirectoryCreatedEventData, StorageDirectoryDeletedEventData, StorageDirectoryRenamedEventData, StorageLifecyclePolicyActionSummaryDetail, StorageLifecyclePolicyCompletedEventData, SubscriptionDeletedEventData, SubscriptionValidationEventData, SubscriptionValidationResponse, WebAppServicePlanUpdatedEventData, WebAppServicePlanUpdatedEventDataSku, WebAppUpdatedEventData, WebBackupOperationCompletedEventData, WebBackupOperationFailedEventData, WebBackupOperationStartedEventData, WebRestoreOperationCompletedEventData, WebRestoreOperationFailedEventData, WebRestoreOperationStartedEventData, WebSlotSwapCompletedEventData, WebSlotSwapFailedEventData, WebSlotSwapStartedEventData, WebSlotSwapWithPreviewCancelledEventData, WebSlotSwapWithPreviewStartedEventData } from "./generated/models/mappers"; | ||
import { ACSChatMessageReceivedEventData, ACSChatMessageEditedEventData, ACSChatMessageDeletedEventData, ACSChatThreadCreatedWithUserEventData, ACSChatThreadWithUserDeletedEventData, ACSChatThreadPropertiesUpdatedPerUserEventData, ACSChatMemberAddedToThreadWithUserEventData, ACSChatMemberRemovedFromThreadWithUserEventData, AcssmsDeliveryReportReceivedEventData, AcssmsReceivedEventData, ACSChatMessageEventBase, ACSChatEventBase, ACSChatThreadMember, AcssmsEventBase, AcssmsDeliveryAttempt, AppConfigurationKeyValueDeletedEventData, AppConfigurationKeyValueModifiedEventData, AppEventTypeDetail, AppServicePlanEventTypeDetail, ContainerRegistryArtifactEventData, ContainerRegistryArtifactEventTarget, ContainerRegistryChartDeletedEventData, ContainerRegistryChartPushedEventData, ContainerRegistryEventActor, ContainerRegistryEventData, ContainerRegistryEventRequest, ContainerRegistryEventSource, ContainerRegistryEventTarget, ContainerRegistryImageDeletedEventData, ContainerRegistryImagePushedEventData, DeviceConnectionStateEventInfo, DeviceConnectionStateEventProperties, DeviceLifeCycleEventProperties, DeviceTelemetryEventProperties, DeviceTwinInfo, DeviceTwinInfoProperties, DeviceTwinInfoX509Thumbprint, DeviceTwinMetadata, DeviceTwinProperties, EventHubCaptureFileCreatedEventData, IotHubDeviceConnectedEventData, IotHubDeviceCreatedEventData, IotHubDeviceDeletedEventData, IotHubDeviceDisconnectedEventData, IotHubDeviceTelemetryEventData, KeyVaultCertificateExpiredEventData, KeyVaultCertificateNearExpiryEventData, KeyVaultCertificateNewVersionCreatedEventData, KeyVaultKeyExpiredEventData, KeyVaultKeyNearExpiryEventData, KeyVaultKeyNewVersionCreatedEventData, KeyVaultSecretExpiredEventData, KeyVaultSecretNearExpiryEventData, KeyVaultSecretNewVersionCreatedEventData, MachineLearningServicesDatasetDriftDetectedEventData, MachineLearningServicesModelDeployedEventData, MachineLearningServicesModelRegisteredEventData, MachineLearningServicesRunCompletedEventData, MachineLearningServicesRunStatusChangedEventData, MapsGeofenceEnteredEventData, MapsGeofenceEventProperties, MapsGeofenceExitedEventData, MapsGeofenceGeometry, MapsGeofenceResultEventData, MediaJobCanceledEventData, MediaJobCancelingEventData, MediaJobError, MediaJobErrorDetail, MediaJobErroredEventData, MediaJobFinishedEventData, MediaJobOutput, MediaJobOutputAsset, MediaJobOutputCanceledEventData, MediaJobOutputCancelingEventData, MediaJobOutputErroredEventData, MediaJobOutputFinishedEventData, MediaJobOutputProcessingEventData, MediaJobOutputProgressEventData, MediaJobOutputScheduledEventData, MediaJobOutputStateChangeEventData, MediaJobProcessingEventData, MediaJobScheduledEventData, MediaJobStateChangeEventData, MediaLiveEventConnectionRejectedEventData, MediaLiveEventEncoderConnectedEventData, MediaLiveEventEncoderDisconnectedEventData, MediaLiveEventIncomingDataChunkDroppedEventData, MediaLiveEventIncomingStreamReceivedEventData, MediaLiveEventIncomingStreamsOutOfSyncEventData, MediaLiveEventIncomingVideoStreamsOutOfSyncEventData, MediaLiveEventIngestHeartbeatEventData, MediaLiveEventTrackDiscontinuityDetectedEventData, RedisExportRDBCompletedEventData, RedisImportRDBCompletedEventData, RedisPatchingCompletedEventData, RedisScalingCompletedEventData, ResourceActionCancelEventData, ResourceActionFailureEventData, ResourceActionSuccessEventData, ResourceDeleteCancelEventData, ResourceDeleteFailureEventData, ResourceDeleteSuccessEventData, ResourceWriteCancelEventData, ResourceWriteFailureEventData, ResourceWriteSuccessEventData, ServiceBusActiveMessagesAvailableWithNoListenersEventData, ServiceBusDeadletterMessagesAvailableWithNoListenersEventData, SignalRServiceClientConnectionConnectedEventData, SignalRServiceClientConnectionDisconnectedEventData, StorageBlobCreatedEventData, StorageBlobDeletedEventData, StorageBlobRenamedEventData, StorageDirectoryCreatedEventData, StorageDirectoryDeletedEventData, StorageDirectoryRenamedEventData, StorageLifecyclePolicyActionSummaryDetail, StorageLifecyclePolicyCompletedEventData, SubscriptionDeletedEventData, SubscriptionValidationEventData, SubscriptionValidationResponse, WebAppServicePlanUpdatedEventData, WebAppServicePlanUpdatedEventDataSku, WebAppUpdatedEventData, WebBackupOperationCompletedEventData, WebBackupOperationFailedEventData, WebBackupOperationStartedEventData, WebRestoreOperationCompletedEventData, WebRestoreOperationFailedEventData, WebRestoreOperationStartedEventData, WebSlotSwapCompletedEventData, WebSlotSwapFailedEventData, WebSlotSwapStartedEventData, WebSlotSwapWithPreviewCancelledEventData, WebSlotSwapWithPreviewStartedEventData } from "./generated/models/mappers"; | ||
const serializer = new Serializer({ | ||
ACSChatMessageReceivedEventData: ACSChatMessageReceivedEventData, | ||
ACSChatMessageEditedEventData: ACSChatMessageEditedEventData, | ||
ACSChatMessageDeletedEventData: ACSChatMessageDeletedEventData, | ||
ACSChatThreadCreatedWithUserEventData: ACSChatThreadCreatedWithUserEventData, | ||
ACSChatThreadWithUserDeletedEventData: ACSChatThreadWithUserDeletedEventData, | ||
ACSChatThreadPropertiesUpdatedPerUserEventData: ACSChatThreadPropertiesUpdatedPerUserEventData, | ||
ACSChatMemberAddedToThreadWithUserEventData: ACSChatMemberAddedToThreadWithUserEventData, | ||
ACSChatMemberRemovedFromThreadWithUserEventData: ACSChatMemberRemovedFromThreadWithUserEventData, | ||
AcssmsDeliveryReportReceivedEventData: AcssmsDeliveryReportReceivedEventData, | ||
AcssmsReceivedEventData: AcssmsReceivedEventData, | ||
ACSChatMessageEventBase: ACSChatMessageEventBase, | ||
ACSChatEventBase: ACSChatEventBase, | ||
ACSChatThreadMember: ACSChatThreadMember, | ||
AcssmsEventBase: AcssmsEventBase, | ||
AcssmsDeliveryAttempt: AcssmsDeliveryAttempt, | ||
AppConfigurationKeyValueDeletedEventData: AppConfigurationKeyValueDeletedEventData, | ||
@@ -155,2 +170,12 @@ AppConfigurationKeyValueModifiedEventData: AppConfigurationKeyValueModifiedEventData, | ||
"Microsoft.AppConfiguration.KeyValueModified": makeDeserializerFromMapper(AppConfigurationKeyValueModifiedEventData), | ||
"Microsoft.Communication.ChatMessageReceived": makeDeserializerFromMapper(ACSChatMessageReceivedEventData), | ||
"Microsoft.Communication.ChatMessageEdited": makeDeserializerFromMapper(ACSChatMessageEditedEventData), | ||
"Microsoft.Communication.ChatMessageDeleted": makeDeserializerFromMapper(ACSChatMessageDeletedEventData), | ||
"Microsoft.Communication.ChatThreadCreatedWithUser": makeDeserializerFromMapper(ACSChatThreadCreatedWithUserEventData), | ||
"Microsoft.Communication.ChatThreadWithUserDeleted": makeDeserializerFromMapper(ACSChatThreadWithUserDeletedEventData), | ||
"Microsoft.Communication.ChatThreadPropertiesUpdatedPerUser": makeDeserializerFromMapper(ACSChatThreadPropertiesUpdatedPerUserEventData), | ||
"Microsoft.Communication.ChatMemberAddedToThreadWithUser": makeDeserializerFromMapper(ACSChatMemberAddedToThreadWithUserEventData), | ||
"Microsoft.Communication.ChatMemberRemovedFromThreadWithUser": makeDeserializerFromMapper(ACSChatMemberRemovedFromThreadWithUserEventData), | ||
"Microsoft.Communication.SMSDeliveryReportReceived": makeDeserializerFromMapper(AcssmsDeliveryReportReceivedEventData), | ||
"Microsoft.Communication.SMSReceived": makeDeserializerFromMapper(AcssmsReceivedEventData), | ||
"Microsoft.ContainerRegistry.ChartDeleted": makeDeserializerFromMapper(ContainerRegistryEventData, [jsonParseDeserializer]), | ||
@@ -157,0 +182,0 @@ "Microsoft.ContainerRegistry.ChartPushed": makeDeserializerFromMapper(ContainerRegistryEventData, [jsonParseDeserializer]), |
@@ -6,3 +6,3 @@ { | ||
"description": "An isomorphic client library for the Azure Event Grid service.", | ||
"version": "3.0.0-beta.1", | ||
"version": "3.0.0-beta.2", | ||
"keywords": [ | ||
@@ -57,3 +57,3 @@ "node", | ||
"build": "tsc -p . && rollup -c 2>&1 && api-extractor run --local", | ||
"check-format": "prettier --list-different --config ../../.prettierrc.json \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"", | ||
"check-format": "prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"", | ||
"clean": "rimraf dist dist-browser dist-esm test-dist temp types *.tgz *.log", | ||
@@ -64,3 +64,3 @@ "execute:js-samples": "node ../../../common/scripts/run-samples.js samples/javascript/", | ||
"extract-api": "tsc -p . && api-extractor run --local", | ||
"format": "prettier --write --config ../../.prettierrc.json \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"", | ||
"format": "prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"", | ||
"integration-test:browser": "karma start --single-run", | ||
@@ -67,0 +67,0 @@ "integration-test:node": "nyc mocha -r esm --require source-map-support/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 5000000 --full-trace dist-esm/test/**/*.spec.js", |
# Azure Event Grid client library for JavaScript | ||
[Azure Event Grid](https://azure.microsoft.com/en-us/services/event-grid/) is a cloud-based service that provides reliable event delivery at massive scale. | ||
[Azure Event Grid](https://azure.microsoft.com/services/event-grid/) is a cloud-based service that provides reliable event delivery at massive scale. | ||
@@ -14,3 +14,3 @@ Use the client library to: | ||
[API reference documentation](https://aka.ms/azsdk-js-eventgrid-ref-docs) | | ||
[Product documentation](https://docs.microsoft.com/en-us/azure/event-grid/) | | ||
[Product documentation](https://docs.microsoft.com/azure/event-grid/) | | ||
[Samples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/eventgrid/eventgrid/samples) | ||
@@ -260,3 +260,3 @@ | ||
[azure_sub]: https://azure.microsoft.com/free/ | ||
[event_grid]: https://docs.microsoft.com/en-us/azure/event-grid | ||
[event_grid]: https://docs.microsoft.com/azure/event-grid | ||
[azure_portal]: https://portal.azure.com |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
1243848
15373