-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support serialization for CreateConversation
- Loading branch information
Showing
3 changed files
with
77 additions
and
1 deletion.
There are no files selected for viewing
48 changes: 48 additions & 0 deletions
48
Vonage.Test.Unit/Conversations/CreateConversation/Data/ShouldSerialize-request.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"name": "customer_chat", | ||
"display_name": "Customer Chat", | ||
"image_url": "https://example.com/image.png", | ||
"properties": { | ||
"ttl": 60, | ||
"type": "string", | ||
"custom_sort_key": "string", | ||
"custom_data": { | ||
"property1": "string", | ||
"property2": "string" | ||
} | ||
}, | ||
"numbers": [ | ||
{ | ||
"type": "phone", | ||
"number": "447700900000" | ||
}, | ||
{ | ||
"type": "sip", | ||
"uri": "sip:+Htg:;xa", | ||
"username": "string", | ||
"password": "string" | ||
}, | ||
{ | ||
"type": "app", | ||
"user": "string" | ||
}, | ||
{ | ||
"type": "websocket", | ||
"uri": "ws://example.com:8080", | ||
"content_type": "string" | ||
}, | ||
{ | ||
"type": "vbc", | ||
"extension": "447700900000" | ||
} | ||
], | ||
"callback": { | ||
"url": "http://example.com", | ||
"event_mask": "string", | ||
"params": { | ||
"applicationId": "string", | ||
"ncco_url": "http://example.com" | ||
}, | ||
"method": "POST" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters