8000 [Librarian] Regenerated @ b2ed90a517aa8929dc9f2604f9a947225a9d7295 · Wombatpm/twilio-python@c88eba2 · GitHub
[go: up one dir, main page]

Skip to content

Commit c88eba2

Browse files
committed
[Librarian] Regenerated @ b2ed90a517aa8929dc9f2604f9a947225a9d7295
1 parent 82ffa68 commit c88eba2

File tree

3 files changed

+54
-2
lines changed

3 files changed

+54
-2
lines changed

CHANGES.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ twilio-python Changelog
33

44
Here you can see the full list of changes between each twilio-python release.
55

6+
[2019-03-06] Version 6.25.1
7+
----------------------------
8+
**Twiml**
9+
- Add `de1` to `<Conference>` regions
10+
11+
612
[2019-03-01] Version 6.25.0
713
----------------------------
814
**Api**

tests/integration/api/v2010/account/test_call.py

Lines changed: 47 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,53 @@ def test_update_response(self):
279279
"status": "completed",
280280
"subresource_uris": {
281281
"notifications": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Notifications.json",
282-
"recordings": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings.json"
282+
"recordings": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings.json",
283+
"feedback": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Feedback.json",
284+
"feedback_summaries": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/FeedbackSummary.json"
285+
},
286+
"to": "+14158675309",
287+
"to_formatted": "(415) 867-5309",
288+
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json"
289+
}
290+
'''
291+
))
292+
293+
actual = self.client.api.v2010.accounts(sid="ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX") \
294+
.calls(sid="CAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX").update()
295+
296+
self.assertIsNotNone(actual)
297+
298+
def test_cancel_response(self):
299+
self.holodeck.mock(Response(
300+
200,
301+
'''
302+
{
303+
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
304+
"annotation": null,
305+
"answered_by": null,
306+
"api_version": "2010-04-01",
307+
"caller_name": null,
308+
"date_created": "Tue, 31 Aug 2010 20:36:28 +0000",
309+
"date_updated": "Tue, 31 Aug 2010 20:36:44 +0000",
310+
"direction": "inbound",
311+
"duration": "15",
312+
"end_time": "Tue, 31 Aug 2010 20:36:44 +0000",
313+
"forwarded_from": "+141586753093",
314+
"from": "+14158675308",
315+
"from_formatted": "(415) 867-5308",
316+
"group_sid": null,
317+
"parent_call_sid": null,
318+
"phone_number_sid": "PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
319+
"price": "-0.03000",
320+
"price_unit": "USD",
321+
"sid": "CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
322+
"start_time": "Tue, 31 Aug 2010 20:36:29 +0000",
323+
"status": "canceled",
324+
"subresource_uris": {
325+
"notifications": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Notifications.json",
326+
"recordings": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings.json",
327+
"feedback": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Feedback.json",
328+
"feedback_summaries": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/FeedbackSummary.json"
283329
},
284330
"to": "+14158675309",
285331
"to_formatted": "(415) 867-5309",

twilio/rest/api/v2010/account/call/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def create(self, to, from_, method=values.unset, fallback_url=values.unset,
6767
:param unicode status_callback_event: The call progress events that we send to the `status_callback` URL.
6868
:param unicode status_callback_method: HTTP Method to use with status_callback
6969
:param unicode send_digits: The digits to dial after connecting to the number
70-
:param unicode if_machine: The action to take if an answering machine is detected
70+
:param unicode if_machine: Deprecated. Action to take if a machine has answered the call
7171
:param unicode timeout: Number of seconds to wait for an answer
7272
:param bool record: Whether or not to record the call
7373
:param unicode recording_channels: The number of channels in the final recording

0 commit comments

Comments
 (0)
0