Skip to content

Commit ae55ba1

Browse files
vikrampraveenVikram Praveen Kumar
andauthored
Update the swagger with ACS prefix (#10566)
* Update the swagger with ACS prefix and add a field to SMSDeliveryReportReceivedEventData * Add ACS prefix to referenced objects * Update refs * Add ACSSMS to custom words Co-authored-by: Vikram Praveen Kumar <[email protected]>
1 parent edecc35 commit ae55ba1

File tree

2 files changed

+39
-33
lines changed

2 files changed

+39
-33
lines changed

custom-words.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1872,5 +1872,6 @@ watchlists
18721872
Watchlists
18731873
watchlist
18741874
Watchlist
1875+
ACSSMS
18751876
Mibps
18761877
ntfs

specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json

Lines changed: 38 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
},
88
"paths": {},
99
"definitions": {
10-
"ChatMessageReceivedEventData": {
10+
"ACSChatMessageReceivedEventData": {
1111
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.ChatMessageReceived event.",
1212
"allOf": [
1313
{
14-
"$ref": "#/definitions/ChatMessageEventBaseProperties"
14+
"$ref": "#/definitions/ACSChatMessageEventBaseProperties"
1515
}
1616
],
1717
"properties": {
@@ -21,11 +21,11 @@
2121
}
2222
}
2323
},
24-
"ChatMessageEditedEventData": {
24+
"ACSChatMessageEditedEventData": {
2525
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.ChatMessageEdited event.",
2626
"allOf": [
2727
{
28-
"$ref": "#/definitions/ChatMessageEventBaseProperties"
28+
"$ref": "#/definitions/ACSChatMessageEventBaseProperties"
2929
}
3030
],
3131
"properties": {
@@ -40,11 +40,11 @@
4040
}
4141
}
4242
},
43-
"ChatMessageDeletedEventData": {
43+
"ACSChatMessageDeletedEventData": {
4444
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.ChatMessageDeleted event.",
4545
"allOf": [
4646
{
47-
"$ref": "#/definitions/ChatMessageEventBaseProperties"
47+
"$ref": "#/definitions/ACSChatMessageEventBaseProperties"
4848
}
4949
],
5050
"properties": {
@@ -55,11 +55,11 @@
5555
}
5656
}
5757
},
58-
"ChatThreadCreatedWithUserEventData": {
58+
"ACSChatThreadCreatedWithUserEventData": {
5959
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.ChatThreadCreatedWithUser event.",
6060
"allOf": [
6161
{
62-
"$ref": "#/definitions/ChatThreadEventBaseProperties"
62+
"$ref": "#/definitions/ACSChatThreadEventBaseProperties"
6363
}
6464
],
6565
"properties": {
@@ -82,16 +82,16 @@
8282
"description": "The list of properties of users who are part of the thread",
8383
"type": "array",
8484
"items": {
85-
"$ref": "#/definitions/ChatThreadMemberProperties"
85+
"$ref": "#/definitions/ACSChatThreadMemberProperties"
8686
}
8787
}
8888
}
8989
},
90-
"ChatThreadWithUserDeletedEventData": {
90+
"ACSChatThreadWithUserDeletedEventData": {
9191
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.ChatThreadWithUserDeleted event.",
9292
"allOf": [
9393
{
94-
"$ref": "#/definitions/ChatThreadEventBaseProperties"
94+
"$ref": "#/definitions/ACSChatThreadEventBaseProperties"
9595
}
9696
],
9797
"properties": {
@@ -106,11 +106,11 @@
106106
}
107107
}
108108
},
109-
"ChatThreadPropertiesUpdatedPerUserEventData": {
109+
"ACSChatThreadPropertiesUpdatedPerUserEventData": {
110110
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.ChatThreadPropertiesUpdatedPerUser event.",
111111
"allOf": [
112112
{
113-
"$ref": "#/definitions/ChatThreadEventBaseProperties"
113+
"$ref": "#/definitions/ACSChatThreadEventBaseProperties"
114114
}
115115
],
116116
"properties": {
@@ -132,11 +132,11 @@
132132
}
133133
}
134134
},
135-
"ChatMemberAddedToThreadWithUserEventData": {
135+
"ACSChatMemberAddedToThreadWithUserEventData": {
136136
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.ChatMemberAddedToThreadWithUser event.",
137137
"allOf": [
138138
{
139-
"$ref": "#/definitions/ChatThreadEventBaseProperties"
139+
"$ref": "#/definitions/ACSChatThreadEventBaseProperties"
140140
}
141141
],
142142
"properties": {
@@ -151,15 +151,15 @@
151151
},
152152
"member": {
153153
"description": "The details of the user who was added",
154-
"$ref": "#/definitions/ChatThreadMemberProperties"
154+
"$ref": "#/definitions/ACSChatThreadMemberProperties"
155155
}
156156
}
157157
},
158-
"ChatMemberRemovedFromThreadForWithUserEventData": {
159-
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.ChatMemberRemovedFromThreadForWithUser event.",
158+
"ACSChatMemberRemovedFromThreadWithUserEventData": {
159+
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.ChatMemberRemovedFromThreadWithUser event.",
160160
"allOf": [
161161
{
162-
"$ref": "#/definitions/ChatThreadEventBaseProperties"
162+
"$ref": "#/definitions/ACSChatThreadEventBaseProperties"
163163
}
164164
],
165165
"properties": {
@@ -174,15 +174,15 @@
174174
},
175175
"member": {
176176
"description": "The details of the user who was removed",
177-
"$ref": "#/definitions/ChatThreadMemberProperties"
177+
"$ref": "#/definitions/ACSChatThreadMemberProperties"
178178
}
179179
}
180180
},
181-
"SMSDeliveryReportReceivedEventData": {
181+
"ACSSMSDeliveryReportReceivedEventData": {
182182
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.SMSDeliveryReportReceived event.",
183183
"allOf": [
184184
{
185-
"$ref": "#/definitions/SMSEventBaseProperties"
185+
"$ref": "#/definitions/ACSSMSEventBaseProperties"
186186
}
187187
],
188188
"properties": {
@@ -198,16 +198,21 @@
198198
"description": "List of details of delivery attempts made",
199199
"type": "array",
200200
"items": {
201-
"$ref": "#/definitions/SMSDeliveryAttemptProperties"
201+
"$ref": "#/definitions/ACSSMSDeliveryAttemptProperties"
202202
}
203+
},
204+
"receivedTimestamp": {
205+
"description": "The time at which the SMS delivery report was received",
206+
"format": "date-time",
207+
"type": "string"
203208
}
204209
}
205210
},
206-
"SMSReceivedEventData": {
211+
"ACSSMSReceivedEventData": {
207212
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.SMSReceived event.",
208213
"allOf": [
209214
{
210-
"$ref": "#/definitions/SMSEventBaseProperties"
215+
"$ref": "#/definitions/ACSSMSEventBaseProperties"
211216
}
212217
],
213218
"properties": {
@@ -222,11 +227,11 @@
222227
}
223228
}
224229
},
225-
"ChatThreadEventBaseProperties": {
230+
"ACSChatThreadEventBaseProperties": {
226231
"description": "Schema of common properties of all chat thread events",
227232
"allOf": [
228233
{
229-
"$ref": "#/definitions/ChatEventBaseProperties"
234+
"$ref": "#/definitions/ACSChatEventBaseProperties"
230235
}
231236
],
232237
"properties": {
@@ -241,11 +246,11 @@
241246
}
242247
}
243248
},
244-
"ChatMessageEventBaseProperties": {
249+
"ACSChatMessageEventBaseProperties": {
245250
"description": "Schema of common properties of all chat message events",
246251
"allOf": [
247252
{
248-
"$ref": "#/definitions/ChatEventBaseProperties"
253+
"$ref": "#/definitions/ACSChatEventBaseProperties"
249254
}
250255
],
251256
"properties": {
@@ -284,7 +289,7 @@
284289
}
285290
}
286291
},
287-
"ChatEventBaseProperties": {
292+
"ACSChatEventBaseProperties": {
288293
"description": "Schema of common properties of all chat events",
289294
"type": "object",
290295
"properties": {
@@ -302,7 +307,7 @@
302307
}
303308
}
304309
},
305-
"ChatThreadMemberProperties": {
310+
"ACSChatThreadMemberProperties": {
306311
"description": "Schema of the chat thread member",
307312
"type": "object",
308313
"properties": {
@@ -316,7 +321,7 @@
316321
}
317322
}
318323
},
319-
"SMSEventBaseProperties": {
324+
"ACSSMSEventBaseProperties": {
320325
"description": "Schema of common properties of all SMS events",
321326
"type": "object",
322327
"properties": {
@@ -334,7 +339,7 @@
334339
}
335340
}
336341
},
337-
"SMSDeliveryAttemptProperties": {
342+
"ACSSMSDeliveryAttemptProperties": {
338343
"description": "Schema for details of a delivery attempt",
339344
"type": "object",
340345
"properties": {

0 commit comments

Comments
 (0)