Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding CallRecording event to ACS Eventgrid Schema and adding tag field to SMSDeliveryReportReceived event #13408

Merged
merged 4 commits into from
Mar 13, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"definitions": {
"AcsChatMessageReceivedEventData": {
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.ChatMessageReceived event.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AcsChatMessageEventBaseProperties"
Expand All @@ -23,6 +24,7 @@
},
"AcsChatMessageReceivedInThreadEventData": {
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.ChatMessageReceivedInThread event.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AcsChatMessageEventInThreadBaseProperties"
Expand All @@ -37,6 +39,7 @@
},
"AcsChatMessageEditedEventData": {
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.ChatMessageEdited event.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AcsChatMessageEventBaseProperties"
Expand All @@ -56,6 +59,7 @@
},
"AcsChatMessageEditedInThreadEventData": {
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.ChatMessageEditedInThread event.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AcsChatMessageEventInThreadBaseProperties"
Expand All @@ -75,6 +79,7 @@
},
"AcsChatMessageDeletedEventData": {
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.ChatMessageDeleted event.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AcsChatMessageEventBaseProperties"
Expand All @@ -90,6 +95,7 @@
},
"AcsChatMessageDeletedInThreadEventData": {
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.ChatMessageDeletedInThread event.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AcsChatMessageEventInThreadBaseProperties"
Expand All @@ -105,6 +111,7 @@
},
"AcsChatThreadCreatedWithUserEventData": {
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.ChatThreadCreatedWithUser event.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AcsChatThreadEventBaseProperties"
Expand Down Expand Up @@ -133,6 +140,7 @@
},
"AcsChatThreadCreatedEventData": {
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.ChatThreadCreated event.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AcsChatThreadEventInThreadBaseProperties"
Expand Down Expand Up @@ -161,6 +169,7 @@
},
"AcsChatThreadWithUserDeletedEventData": {
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.ChatThreadWithUserDeleted event.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AcsChatThreadEventBaseProperties"
Expand All @@ -180,6 +189,7 @@
},
"AcsChatThreadDeletedEventData": {
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.ChatThreadDeleted event.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AcsChatThreadEventInThreadBaseProperties"
Expand All @@ -199,6 +209,7 @@
},
"AcsChatThreadPropertiesUpdatedPerUserEventData": {
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.ChatThreadPropertiesUpdatedPerUser event.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AcsChatThreadEventBaseProperties"
Expand All @@ -225,6 +236,7 @@
},
"AcsChatThreadPropertiesUpdatedEventData": {
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.ChatThreadPropertiesUpdated event.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AcsChatThreadEventInThreadBaseProperties"
Expand All @@ -251,6 +263,7 @@
},
"AcsChatParticipantAddedToThreadWithUserEventData": {
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.ChatParticipantAddedToThreadWithUser event.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AcsChatThreadEventBaseProperties"
Expand All @@ -274,6 +287,7 @@
},
"AcsChatParticipantRemovedFromThreadWithUserEventData": {
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.ChatParticipantRemovedFromThreadWithUser event.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AcsChatThreadEventBaseProperties"
Expand All @@ -297,6 +311,7 @@
},
"AcsChatParticipantAddedToThreadEventData": {
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.ChatParticipantAddedToThread event.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AcsChatEventInThreadBaseProperties"
Expand Down Expand Up @@ -325,6 +340,7 @@
},
"AcsChatParticipantRemovedFromThreadEventData": {
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.ChatParticipantRemovedFromThread event.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AcsChatEventInThreadBaseProperties"
Expand Down Expand Up @@ -353,6 +369,7 @@
},
"AcsSmsDeliveryReportReceivedEventData": {
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.SMSDeliveryReportReceived event.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AcsSmsEventBaseProperties"
Expand All @@ -378,11 +395,16 @@
"description": "The time at which the SMS delivery report was received",
"format": "date-time",
"type": "string"
},
"tag": {
"description": "Customer Content",
"type": "string"
}
}
},
"AcsSmsReceivedEventData": {
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.SMSReceived event.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AcsSmsEventBaseProperties"
Expand All @@ -400,8 +422,34 @@
}
}
},
"AcsRecordingFileStatusUpdatedEventData": {
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.RecordingFileStatusUpdated event.",
"type": "object",
"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",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AcsChatEventBaseProperties"
Expand All @@ -422,6 +470,7 @@
},
"AcsChatThreadEventInThreadBaseProperties": {
"description": "Schema of common properties of all chat thread events",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AcsChatEventInThreadBaseProperties"
Expand All @@ -442,6 +491,7 @@
},
"AcsChatMessageEventBaseProperties": {
"description": "Schema of common properties of all chat message events",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AcsChatEventBaseProperties"
Expand Down Expand Up @@ -478,6 +528,7 @@
},
"AcsChatMessageEventInThreadBaseProperties": {
"description": "Schema of common properties of all thread-level chat message events",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AcsChatEventInThreadBaseProperties"
Expand Down Expand Up @@ -590,6 +641,38 @@
"type": "integer"
}
}
}
},
"AcsRecordingStorageInfoProperties": {
"description": "Schema for all properties for Recording Storage Ino properties.",
"type": "object",
"properties": {
"recordingChunks": {
"description": "List of details of recording chunks information",
"type": "array",
"items": {
"$ref": "#/definitions/AcsRecordingChunkInfoProperties"
}
}
}
},
"AcsRecordingChunkInfoProperties": {
"description": "Schema for all properties for Recording Storage Ino properties.",
"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"
}
}
}
}
}