From b81a30cfeca9873872374279e8351923326cdb04 Mon Sep 17 00:00:00 2001 From: Prema Grandhi Date: Fri, 12 Mar 2021 16:52:49 -0800 Subject: [PATCH] Adding CallRecording event to ACS Eventgrid Schema and adding tag field to SMSDeliveryReportReceived event (#13408) * Adding CallRecording event to ACS Eventgrid Schema and adding tag field to SMSDeliveryReportReceived event * Prettier run fix * Removing breakchanges caused by type:object * Removing breakchanges caused by type:object --- .../AzureCommunicationServices.json | 60 +++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json index 1836a22c9559..de6017c5b246 100644 --- a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json @@ -378,6 +378,10 @@ "description": "The time at which the SMS delivery report was received", "format": "date-time", "type": "string" + }, + "tag": { + "description": "Customer Content", + "type": "string" } } }, @@ -400,6 +404,30 @@ } } }, + "AcsRecordingFileStatusUpdatedEventData": { + "description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.RecordingFileStatusUpdated event.", + "properties": { + "recordingStorageInfo": { + "description": "The details of recording storage information", + "$ref": "#/definitions/AcsRecordingStorageInfoProperties", + "type": "object" + }, + "recordingStartTime": { + "description": "The time at which the recording started", + "format": "date-time", + "type": "string" + }, + "recordingDurationMs": { + "description": "The recording duration in milliseconds", + "format": "int64", + "type": "integer" + }, + "sessionEndReason": { + "description": "The reason for ending recording session", + "type": "string" + } + } + }, "AcsChatThreadEventBaseProperties": { "description": "Schema of common properties of all chat thread events", "allOf": [ @@ -590,6 +618,38 @@ "type": "integer" } } + }, + "AcsRecordingStorageInfoProperties": { + "description": "Schema for all properties of Recording Storage Information.", + "type": "object", + "properties": { + "recordingChunks": { + "description": "List of details of recording chunks information", + "type": "array", + "items": { + "$ref": "#/definitions/AcsRecordingChunkInfoProperties" + } + } + } + }, + "AcsRecordingChunkInfoProperties": { + "description": "Schema for all properties of Recording Chunk Information.", + "type": "object", + "properties": { + "documentId": { + "description": "The documentId of the recording chunk", + "type": "string" + }, + "index": { + "description": "The index of the recording chunk", + "type": "integer", + "format": "int64" + }, + "endReason": { + "description": "The reason for ending the recording chunk", + "type": "string" + } + } } } }