Skip to content
Merged
Show file tree
Hide file tree
Changes from 35 commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
2785338
Add StatusNotificationContent for read receipt and typing indicator
glorialimicrosoft Jul 23, 2025
7d20a74
update based on latest design doc
glorialimicrosoft Jul 25, 2025
09609c2
update dependency version
glorialimicrosoft Jul 25, 2025
f1abe22
Add light weight read receipt endpoint
glorialimicrosoft Jul 28, 2025
869a1d1
remove the alternative approach for now
glorialimicrosoft Jul 28, 2025
c670bda
Merge branch 'main' into gelli/readReceiptTypingIndicator
scbedd Jul 29, 2025
eafa211
make the description more clear
glorialimicrosoft Aug 12, 2025
2457f48
Merge branch 'gelli/readReceiptTypingIndicator' of https://github.com…
glorialimicrosoft Aug 12, 2025
65ff348
regenerate json
glorialimicrosoft Aug 12, 2025
1545394
add examples for 2025-09-01-preview
glorialimicrosoft Aug 12, 2025
4a50b02
uuid for channelRegistrationId, use readReceiptContent as body name
glorialimicrosoft Aug 22, 2025
63685b4
add suppression for non-204 response expected to have a body
glorialimicrosoft Aug 22, 2025
382209a
Add StatusNotificationContent for read receipt and typing indicator
glorialimicrosoft Jul 23, 2025
0b679fe
update based on latest design doc
glorialimicrosoft Jul 25, 2025
94c5ec6
update dependency version
glorialimicrosoft Jul 25, 2025
64c9754
Add light weight read receipt endpoint
glorialimicrosoft Jul 28, 2025
8cd99ae
remove the alternative approach for now
glorialimicrosoft Jul 28, 2025
00d4a9e
make the description more clear
glorialimicrosoft Aug 12, 2025
b33f354
regenerate json
glorialimicrosoft Aug 12, 2025
1d78eb9
add examples for 2025-09-01-preview
glorialimicrosoft Aug 12, 2025
c863be3
uuid for channelRegistrationId, use readReceiptContent as body name
glorialimicrosoft Aug 22, 2025
92579ae
add suppression for non-204 response expected to have a body
glorialimicrosoft Aug 22, 2025
9490738
Merge branch 'gelli/readReceiptTypingIndicator' of https://github.com…
glorialimicrosoft Aug 22, 2025
9fef6ff
fix Swagger Avocado
glorialimicrosoft Aug 22, 2025
8d74780
fix Swagger ModelValidation
glorialimicrosoft Aug 22, 2025
bdae08c
fix TypeSpec Validation
glorialimicrosoft Aug 22, 2025
113cf7f
fix TypeSpec Validation
glorialimicrosoft Aug 22, 2025
9365f08
try again
glorialimicrosoft Aug 22, 2025
061cf26
run npm ci and npx tsv specification/communication/Communication.Mess…
glorialimicrosoft Aug 22, 2025
b6d7eaa
try latest tspconfig.yaml template
glorialimicrosoft Aug 22, 2025
91ec4de
try removing src from emitter-output-dir
glorialimicrosoft Aug 25, 2025
b709f30
Merge branch 'gelli/readReceiptTypingIndicator' of https://github.com…
glorialimicrosoft Aug 25, 2025
7aaf3a0
fix
glorialimicrosoft Aug 25, 2025
5180f8e
update emitter-output-dir
glorialimicrosoft Aug 25, 2025
68d4d6a
try adding /src back
glorialimicrosoft Aug 25, 2025
f484954
Update specification/communication/Communication.Messages/tspconfig.yaml
glorialimicrosoft Aug 26, 2025
90c4abd
Add @action("send")
glorialimicrosoft Aug 26, 2025
341adbd
Merge branch 'main' into gelli/readReceiptTypingIndicator
glorialimicrosoft Sep 3, 2025
e4ea3a1
Update tspconfig.yaml
glorialimicrosoft Oct 1, 2025
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 @@ -7,7 +7,7 @@ import "./main.tsp";
using Azure.ClientGenerator.Core;
using TypeSpec.Versioning;

@useDependency(Azure.Communication.MessagesService.Versions.c2025_04_01_Preview)
@useDependency(Azure.Communication.MessagesService.Versions.c2025_09_01_Preview)
namespace ClientForAcsMessages;

@client({
Expand All @@ -20,6 +20,7 @@ interface NotificationMessagesClient
@access(Access.internal, "csharp")
@clientName("downloadMediaInternal", "csharp")
downloadMedia is Azure.Communication.MessagesService.StreamOperations.getMedia;
sendReadReceipt is Azure.Communication.MessagesService.ReadReceiptsOperations.send;
}

@client({
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
{
"title": "Creates a new conversation",
"operationId": "ConversationAdministrationOperations_CreateConversation",
"parameters": {
"api-version": "2025-09-01-preview",
"content-type": "application/json",
"body": {
"conversation": {
"topic": "Test",
"deliveryChannelIds": [
"0f0eb78e-a576-1dfc-b414-0f0756de3338"
],
"outboundDeliveryStrategy": "allParticipants",
"participants": [
{
"displayName": "Customer",
"kind": "external",
"contacts": [
{
"id": "12345678901",
"kind": "whatsApp"
}
]
},
{
"displayName": "Support",
"kind": "internal",
"contact": {
"id": "8:acs:uuid1",
"kind": "communication"
}
}
]
},
"initialMessage": {
"content": "I need help"
}
},
"endpoint": "https://my-resource.communication.azure.com"
},
"responses": {
"201": {
"body": {
"id": "19:[email protected]",
"topic": "Test",
"deliveryChannelIds": [
"0f0eb78e-a576-1dfc-b414-0f0756de3338"
],
"outboundDeliveryStrategy": "allParticipants",
"participants": [
{
"id": "8:acs:uuid2",
"displayName": "Customer",
"kind": "external",
"contacts": [
{
"id": "12345678901",
"kind": "whatsApp"
},
{
"id": "8:acs:uuid2",
"kind": "communication"
}
]
},
{
"id": "8:acs:uuid1",
"displayName": "Support",
"kind": "internal",
"contact": {
"id": "8:acs:uuid1",
"kind": "communication"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"title": "Deletes a specific conversation",
"operationId": "ConversationAdministrationOperations_DeleteConversation",
"parameters": {
"api-version": "2025-09-01-preview",
"conversationId": "19:[email protected]",
"endpoint": "https://my-resource.communication.azure.com"
},
"responses": {
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"title": "Gets the details of a specific conversation",
"operationId": "ConversationAdministrationOperations_GetConversation",
"parameters": {
"api-version": "2025-09-01-preview",
"conversationId": "19:[email protected]",
"endpoint": "https://my-resource.communication.azure.com"
},
"responses": {
"200": {
"body": {
"id": "19:[email protected]",
"topic": "Test",
"deliveryChannelIds": [
"0f0eb78e-a576-1dfc-b414-0f0756de3338"
],
"outboundDeliveryStrategy": "allParticipants",
"participants": [
{
"id": "8:acs:uuid2",
"displayName": "Customer",
"kind": "external",
"contacts": [
{
"id": "12345678901",
"kind": "whatsApp"
},
{
"id": "8:acs:uuid2",
"kind": "communication"
}
]
},
{
"id": "8:acs:uuid1",
"displayName": "Support",
"kind": "internal",
"contact": {
"id": "8:acs:uuid1",
"kind": "communication"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"title": "Terminates a specific conversation",
"operationId": "ConversationAdministrationOperations_TerminateConversation",
"parameters": {
"api-version": "2025-09-01-preview",
"conversationId": "19:[email protected]",
"endpoint": "https://my-resource.communication.azure.com"
},
"responses": {
"200": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"title": "Adds participants to a specific conversation",
"operationId": "ConversationThreadOperations_AddParticipants",
"parameters": {
"api-version": "2025-09-01-preview",
"content-type": "application/json",
"conversationId": "19:[email protected]",
"options": {
"participants": [
{
"displayName": "Customer",
"kind": "external",
"contacts": [
{
"id": "12345678901",
"kind": "whatsApp"
}
]
},
{
"displayName": "Support",
"kind": "internal",
"contact": {
"id": "8:acs:uuid1",
"kind": "communication"
}
}
]
},
"endpoint": "https://my-resource.communication.azure.com"
},
"responses": {
"207": {
"body": {
"invalidParticipants": []
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"title": "Get AI Analysis of a conversation",
"operationId": "ConversationThreadOperations_AnalyzeConversation",
"parameters": {
"api-version": "2025-09-01-preview",
"conversationId": "19:[email protected]",
"endpoint": "https://my-resource.communication.azure.com"
},
"responses": {
"200": {
"body": {
"summary": "The customer needs help."
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
{
"title": "Retrieves list of conversations",
"operationId": "ConversationThreadOperations_ListConversations",
"parameters": {
"api-version": "2025-09-01-preview",
"maxPageSize": 25,
"channelId": "0f0eb78e-a576-1dfc-b414-0f0756de3338",
"endpoint": "https://my-resource.communication.azure.com"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "19:[email protected]",
"topic": "Test",
"deliveryChannelIds": [
"0f0eb78e-a576-1dfc-b414-0f0756de3338"
],
"outboundDeliveryStrategy": "allParticipants",
"participants": [
{
"id": "8:acs:uuid2",
"displayName": "Customer",
"kind": "external",
"contacts": [
{
"id": "12345678901",
"kind": "whatsApp"
},
{
"id": "8:acs:uuid2",
"kind": "communication"
}
]
},
{
"id": "8:acs:uuid1",
"displayName": "Support",
"kind": "internal",
"contact": {
"id": "8:acs:uuid1",
"kind": "communication"
}
}
]
},
{
"id": "19:[email protected]",
"topic": "Test",
"deliveryChannelIds": [
"0f0eb78e-a576-1dfc-b414-0f0756de3338"
],
"outboundDeliveryStrategy": "allParticipants",
"participants": [
{
"id": "8:acs:uuid3",
"displayName": "Customer",
"kind": "external",
"contacts": [
{
"id": "12331112222",
"kind": "whatsApp"
},
{
"id": "8:acs:uuid3",
"kind": "communication"
}
]
},
{
"id": "8:acs:uuid3",
"displayName": "Support",
"kind": "internal",
"contact": {
"id": "8:acs:uuid3",
"kind": "communication"
}
}
]
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"title": "Retrieves list of conversation messages",
"operationId": "ConversationThreadOperations_ListMessages",
"parameters": {
"api-version": "2025-09-01-preview",
"conversationId": "19:[email protected]",
"endpoint": "https://my-resource.communication.azure.com"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "1593108077690",
"sequenceId": 6,
"message": {
"kind": "text",
"content": "My order did not arrive"
},
"senderDisplayName": "Jane",
"createdOn": "2020-06-25T18:01:17.6900000Z",
"senderCommunicationIdentifier": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_0e59221d-0c1d-46ae-9544-c963ce56c10b"
},
{
"id": "1593107077690",
"sequenceId": 5,
"message": {
"kind": "text",
"content": "Hi I need help"
},
"senderDisplayName": "Jane",
"createdOn": "2020-06-25T17:44:37.6830000Z",
"senderCommunicationIdentifier": "8540c0de-899f-5cce-acb5-3ec493af3800_0e59221d-0c1d-46ae-9544-c963ce56c10b"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"title": "remove a participant from a conversation",
"operationId": "ConversationThreadOperations_RemoveParticipants",
"parameters": {
"api-version": "2025-09-01-preview",
"content-type": "application/json",
"conversationId": "19:[email protected]",
"options": {
"participantIds": [
"8:acs:uuid2"
]
},
"endpoint": "https://my-resource.communication.azure.com"
},
"responses": {
"207": {
"body": {
"invalidParticipants": []
}
}
}
}
Loading
Loading