Skip to content

Commit 5ad6ea5

Browse files
committed
[Librarian] Regenerated @ a4cb3dcc12627f0ab0fcc6104a6bed708e9375c4
1 parent 93cf463 commit 5ad6ea5

File tree

346 files changed

+2850
-2069
lines changed

Some content is hidden

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

346 files changed

+2850
-2069
lines changed

CHANGES.md

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

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

6+
[2018-01-19] Version 6.10.1
7+
----------------------------
8+
**Api**
9+
- Add `conference_sid` property on Recordings
10+
- Add proxy and sms usage key
11+
12+
**Chat**
13+
- Make user channels accessible by identity
14+
- Add notifications logs flag parameter
15+
16+
**Fax**
17+
- Added `ttl` parameter
18+
`ttl` is the number of minutes a fax is considered valid.
19+
20+
**Preview**
21+
- Add `call_delay`, `extension`, `verification_code`, and `verification_call_sids`.
22+
- Add `failure_reason` to HostedNumberOrders.
23+
- Add DependentHostedNumberOrders endpoint for AuthorizationDocuments preview API.
24+
25+
**Taskrouter**
26+
- Less verbose naming of cumulative and real time statistics *(breaking change)*
27+
28+
629
[2017-12-15] Version 6.10.0
730
----------------------------
831
**Library**

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (C) 2017, Twilio, Inc. <[email protected]>
3+
Copyright (C) 2018, Twilio, Inc. <[email protected]>
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy of
66
this software and associated documentation files (the "Software"), to deal in

tests/integration/accounts/v1/credential/test_aws.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def test_create_request(self):
9090
self.client.accounts.v1.credentials \
9191
.aws.create(credentials="AKIAIOSFODNN7EXAMPLE:wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY")
9292

93-
values = {'Credentials': "AKIAIOSFODNN7EXAMPLE:wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"}
93+
values = {'Credentials': "AKIAIOSFODNN7EXAMPLE:wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY", }
9494

9595
self.holodeck.assert_has_request(Request(
9696
'post',

tests/integration/accounts/v1/credential/test_public_key.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def test_create_request(self):
9090
self.client.accounts.v1.credentials \
9191
.public_key.create(public_key="publickey")
9292

93-
values = {'PublicKey': "publickey"}
93+
values = {'PublicKey': "publickey", }
9494

9595
self.holodeck.assert_has_request(Request(
9696
'post',

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def test_create_request(self):
2222
.calls(sid="CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
2323
.feedback().create(quality_score=1)
2424

25-
values = {'QualityScore': 1}
25+
values = {'QualityScore': 1, }
2626

2727
self.holodeck.assert_has_request(Request(
2828
'post',
@@ -99,7 +99,7 @@ def test_update_request(self):
9999
.calls(sid="CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
100100
.feedback().update(quality_score=1)
101101

102-
values = {'QualityScore': 1}
102+
values = {'QualityScore': 1, }
103103

104104
self.holodeck.assert_has_request(Request(
105105
'post',

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@ def test_create_request(self):
9898
with self.assertRaises(TwilioException):
9999
self.client.api.v2010.accounts(sid="ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
100100
.conferences(sid="CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
101-
.participants.create(from_="+987654321", to="+123456789")
101+
.participants.create(from_="+15017122661", to="+15558675310")
102102

103-
values = {'From': "+987654321", 'To': "+123456789"}
103+
values = {'From': "+15017122661", 'To': "+15558675310", }
104104

105105
self.holodeck.assert_has_request(Request(
106106
'post',
@@ -130,7 +130,7 @@ def test_create_with_sid_response(self):
130130

131131
actual = self.client.api.v2010.accounts(sid="ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
132132
.conferences(sid="CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
133-
.participants.create(from_="+987654321", to="+123456789")
133+
.participants.create(from_="+15017122661", to="+15558675310")
134134

135135
self.assertIsNotNone(actual)
136136

@@ -156,7 +156,7 @@ def test_create_with_friendly_name_response(self):
156156

157157
actual = self.client.api.v2010.accounts(sid="ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
158158
.conferences(sid="CFaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
159-
.participants.create(from_="+987654321", to="+123456789")
159+
.participants.create(from_="+15017122661", to="+15558675310")
160160

161161
self.assertIsNotNone(actual)
162162

tests/integration/api/v2010/account/incoming_phone_number/test_assigned_add_on.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def test_create_request(self):
144144
.incoming_phone_numbers(sid="PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
145145
.assigned_add_ons.create(installed_add_on_sid="XEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")
146146

147-
values = {'InstalledAddOnSid': "XEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
147+
values = {'InstalledAddOnSid': "XEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", }
148148

149149
self.holodeck.assert_has_request(Request(
150150
'post',

tests/integration/api/v2010/account/incoming_phone_number/test_local.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,9 @@ def test_create_request(self):
122122
with self.assertRaises(TwilioException):
123123
self.client.api.v2010.accounts(sid="ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
124124
.incoming_phone_numbers \
125-
.local.create(phone_number="+987654321")
125+
.local.create(phone_number="+15017122661")
126126

127-
values = {'PhoneNumber': "+987654321"}
127+
values = {'PhoneNumber': "+15017122661", }
128128

129129
self.holodeck.assert_has_request(Request(
130130
'post',
@@ -175,6 +175,6 @@ def test_create_response(self):
175175

176176
actual = self.client.api.v2010.accounts(sid="ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
177177
.incoming_phone_numbers \
178-
.local.create(phone_number="+987654321")
178+
.local.create(phone_number="+15017122661")
179179

180180
self.assertIsNotNone(actual)

tests/integration/api/v2010/account/incoming_phone_number/test_mobile.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,9 @@ def test_create_request(self):
122122
with self.assertRaises(TwilioException):
123123
self.client.api.v2010.accounts(sid="ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
124124
.incoming_phone_numbers \
125-
.mobile.create(phone_number="+987654321")
125+
.mobile.create(phone_number="+15017122661")
126126

127-
values = {'PhoneNumber': "+987654321"}
127+
values = {'PhoneNumber': "+15017122661", }
128128

129129
self.holodeck.assert_has_request(Request(
130130
'post',
@@ -175,6 +175,6 @@ def test_create_response(self):
175175

176176
actual = self.client.api.v2010.accounts(sid="ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
177177
.incoming_phone_numbers \
178-
.mobile.create(phone_number="+987654321")
178+
.mobile.create(phone_number="+15017122661")
179179

180180
self.assertIsNotNone(actual)

tests/integration/api/v2010/account/incoming_phone_number/test_toll_free.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,9 @@ def test_create_request(self):
122122
with self.assertRaises(TwilioException):
123123
self.client.api.v2010.accounts(sid="ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
124124
.incoming_phone_numbers \
125-
.toll_free.create(phone_number="+987654321")
125+
.toll_free.create(phone_number="+15017122661")
126126

127-
values = {'PhoneNumber': "+987654321"}
127+
values = {'PhoneNumber': "+15017122661", }
128128

129129
self.holodeck.assert_has_request(Request(
130130
'post',
@@ -175,6 +175,6 @@ def test_create_response(self):
175175

176176
actual = self.client.api.v2010.accounts(sid="ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa") \
177177
.incoming_phone_numbers \
178-
.toll_free.create(phone_number="+987654321")
178+
.toll_free.create(phone_number="+15017122661")
179179

180180
self.assertIsNotNone(actual)

0 commit comments

Comments
 (0)