Skip to content

Commit 2f5e2de

Browse files
committed
[Librarian] Regenerated @ 1fcecde51d0f6119db09fc31da74676010cccbc3
1 parent 9de93df commit 2f5e2de

File tree

84 files changed

+12599
-587
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+12599
-587
lines changed

CHANGES.md

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

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

6+
[2018-10-15] Version 6.19.0
7+
----------------------------
8+
**Api**
9+
- Add `coaching` and `call_sid_to_coach` to participant properties, create and update requests.
10+
11+
**Authy**
12+
- Set public library visibility, and added PII stanza
13+
- Dropped support for `FactorType` param given new Factor prefixes **(breaking change)**
14+
- Supported `DELETE` actions for Authy resources
15+
- Move Authy Services resources to `authy` subdomain
16+
17+
**Autopilot**
18+
- Introduce `autopilot` subdomain with all resources from `preview.understand`
19+
20+
**Preview**
21+
- Renamed Understand intent to task **(breaking change)**
22+
- Deprecated Authy endpoints from `preview` to `authy` subdomain
23+
24+
**Taskrouter**
25+
- Allow TaskQueue ReservationActivitySid and AssignmentActivitySid to not be configured for MultiTask Workspaces
26+
27+
**Verify**
28+
- Add `LookupEnabled` optional parameter on Service resource creation or update.
29+
- Add `SendDigits` optional parameter on Verification creation.
30+
- Add delete action on Service resourse.
31+
32+
**Twiml**
33+
- Add custom parameters to TwiML `Client` noun and renamed the optional `name` field to `identity`. This is a breaking change in Ruby, and applications will need to transition from `dial.client ''` and `dial.client 'alice'` formats to `dial.client` and `dial.client(identity: alice)` formats. **(breaking change)**
34+
35+
636
[2018-10-04] Version 6.18.1
737
----------------------------
838
**Preview**

tests/integration/api/v2010/account/call/test_recording.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def test_create_response(self):
4242
"start_time": "Fri, 14 Oct 2016 21:56:34 +0000",
4343
"price": null,
4444
"price_unit": null,
45-
"duration": "-1",
45+
"duration": null,
4646
"sid": "REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
4747
"source": "StartCallRecordingAPI",
4848
"status": "in-progress",
@@ -86,11 +86,11 @@ def test_update_response(self):
8686
"conference_sid": null,
8787
"channels": 2,
8888
"date_created": "Fri, 14 Oct 2016 21:56:34 +0000",
89-
"date_updated": "Fri, 14 Oct 2016 21:56:34 +0000",
89+
"date_updated": "Fri, 14 Oct 2016 21:56:36 +0000",
9090
"start_time": "Fri, 14 Oct 2016 21:56:34 +0000",
9191
"price": null,
9292
"price_unit": null,
93-
"duration": "-1",
93+
"duration": null,
9494
"sid": "REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
9595
"source": "StartCallRecordingAPI",
9696
"status": "paused",

tests/integration/api/v2010/account/conference/test_participant.py

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ def test_fetch_response(self):
4242
"hold": false,
4343
"status": "complete",
4444
"start_conference_on_enter": true,
45+
"coaching": true,
46+
"call_sid_to_coach": "CAbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
4547
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json"
4648
}
4749
'''
@@ -66,7 +68,7 @@ def test_update_request(self):
6668
'https://api.twilio.com/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Conferences/CFXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Participants/CAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.json',
6769
))
6870

69-
def test_update_response(self):
71+
def test_mute_participant_response(self):
7072
self.holodeck.mock(Response(
7173
200,
7274
'''
@@ -81,6 +83,36 @@ def test_update_response(self):
8183
"hold": false,
8284
"status": "complete",
8385
"start_conference_on_enter": true,
86+
"coaching": false,
87+
"call_sid_to_coach": null,
88+
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json"
89+
}
90+
'''
91+
))
92+
93+
actual = self.client.api.v2010.accounts(sid="ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX") \
94+
.conferences(sid="CFXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX") \
95+
.participants(call_sid="CAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX").update()
96+
97+
self.assertIsNotNone(actual)
98+
99+
def test_modify_participant_response(self):
100+
self.holodeck.mock(Response(
101+
200,
102+
'''
103+
{
104+
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
105+
"call_sid": "CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
106+
"conference_sid": "CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
107+
"date_created": "Fri, 18 Feb 2011 21:07:19 +0000",
108+
"date_updated": "Fri, 18 Feb 2011 21:07:19 +0000",
109+
"end_conference_on_exit": false,
110+
"muted": false,
111+
"hold": false,
112+
"status": "complete",
113+
"start_conference_on_enter": true,
114+
"coaching": true,
115+
"call_sid_to_coach": "CAbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
84116
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json"
85117
}
86118
'''
@@ -123,6 +155,8 @@ def test_create_with_sid_response(self):
123155
"hold": false,
124156
"status": "complete",
125157
"start_conference_on_enter": true,
158+
"coaching": false,
159+
"call_sid_to_coach": null,
126160
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json"
127161
}
128162
'''
@@ -149,6 +183,8 @@ def test_create_with_friendly_name_response(self):
149183
"hold": false,
150184
"status": "complete",
151185
"start_conference_on_enter": true,
186+
"coaching": false,
187+
"call_sid_to_coach": null,
152188
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json"
153189
}
154190
'''
@@ -175,6 +211,8 @@ def test_create_with_sid_as_coach_response(self):
175211
"hold": false,
176212
"status": "queued",
177213
"start_conference_on_enter": true,
214+
"coaching": false,
215+
"call_sid_to_coach": null,
178216
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json"
179217
}
180218
'''
@@ -246,6 +284,8 @@ def test_read_full_response(self):
246284
"hold": false,
247285
"status": "complete",
248286
"start_conference_on_enter": true,
287+
"coaching": true,
288+
"call_sid_to_coach": "CAbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
249289
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Conferences/CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json"
250290
}
251291
],

tests/integration/api/v2010/account/conference/test_recording.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ def test_update_response(self):
4141
"conference_sid": "CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
4242
"channels": 1,
4343
"date_created": "Fri, 14 Oct 2016 21:56:34 +0000",
44-
"date_updated": "Fri, 14 Oct 2016 21:56:34 +0000",
44+
"date_updated": "Fri, 14 Oct 2016 21:56:39 +0000",
4545
"start_time": "Fri, 14 Oct 2016 21:56:34 +0000",
4646
"price": null,
4747
"price_unit": null,
48-
"duration": "-1",
48+
"duration": null,
4949
"sid": "REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
5050
"source": "StartConferenceRecordingAPI",
5151
"status": "paused",
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# coding=utf-8
2+
"""
3+
This code was generated by
4+
\ / _ _ _| _ _
5+
| (_)\/(_)(_|\/| |(/_ v1.0.0
6+
/ /
7+
"""
8+
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# coding=utf-8
2+
"""
3+
This code was generated by
4+
\ / _ _ _| _ _
5+
| (_)\/(_)(_|\/| |(/_ v1.0.0
6+
/ /
7+
"""
8+
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# coding=utf-8
2+
"""
3+
This code was generated by
4+
\ / _ _ _| _ _
5+
| (_)\/(_)(_|\/| |(/_ v1.0.0
6+
/ /
7+
"""
8+
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# coding=utf-8
2+
"""
3+
This code was generated by
4+
\ / _ _ _| _ _
5+
| (_)\/(_)(_|\/| |(/_ v1.0.0
6+
/ /
7+
"""
8+

0 commit comments

Comments
 (0)