8000 [Librarian] Regenerated @ bdf3a23dbbe31ed526223499c081c55c48ccd0f5 · BioComputing/twilio-python@e09fc97 · GitHub
[go: up one dir, main page]

Skip to content

Commit e09fc97

Browse files
committed
[Librarian] Regenerated @ bdf3a23dbbe31ed526223499c081c55c48ccd0f5
1 parent 5f25b5b commit e09fc97

File tree

23 files changed

+357
-460
lines changed

23 files changed

+357
-460
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+
[2018-04-20] Version 6.12.1
7+
----------------------------
8+
**Twiml**
9+
- Gather input Enum: remove unnecessary "dtmf speech" value as you can now specify multiple enum values for this parameter and both "dtmf" and "speech" are already available.
10+
11+
612
[2018-04-13] Version 6.12.0
713
----------------------------
814
**Library**

tests/integration/pricing/v1/messaging/test_country.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ def test_read_empty_response(self):
3333
{
3434
"countries": [],
3535
"meta": {
36-
"first_page_url": "https://pricing.twilio.com/v1/Messaging/Countries?Page=0&PageSize=50",
36+
"first_page_url": "https://pricing.twilio.com/v1/Messaging/Countries?PageSize=50&Page=0",
3737
"key": "countries",
3838
"next_page_url": null,
3939
"page": 0,
40-
"page_size": 0,
40+
"page_size": 50,
4141
"previous_page_url": null,
42-
"url": "https://pricing.twilio.com/v1/Messaging/Countries"
42+
"url": "https://pricing.twilio.com/v1/Messaging/Countries?PageSize=50&Page=0"
4343
}
4444
}
4545
'''
@@ -59,17 +59,17 @@ def test_read_full_response(self):
5959
{
6060
"country": "country",
6161
"iso_country": "US",
62-
"url": "http://www.example.com"
62+
"url": "https://pricing.twilio.com/v1/Messaging/Countries/US"
6363
}
6464
],
6565
"meta": {
66-
"first_page_url": "https://pricing.twilio.com/v1/Messaging/Countries?Page=0&PageSize=50",
66+
"first_page_url": "https://pricing.twilio.com/v1/Messaging/Countries?PageSize=50&Page=0",
6767
"key": "countries",
6868
"next_page_url": null,
6969
"page": 0,
70-
"page_size": 1,
70+
"page_size": 50,
7171
"previous_page_url": null,
72-
"url": "https://pricing.twilio.com/v1/Messaging/Countries"
72+
"url": "https://pricing.twilio.com/v1/Messaging/Countries?PageSize=50&Page=0"
7373
}
7474
}
7575
'''
@@ -100,8 +100,8 @@ def test_fetch_response(self):
100100
"country": "country",
101101
"inbound_sms_prices": [
102102
{
103-
"base_price": 0.05,
104-
"current_price": 0.05,
103+
"base_price": "0.05",
104+
"current_price": "0.05",
105105
"number_type": "mobile"
106106
}
107107
],
@@ -113,15 +113,15 @@ def test_fetch_response(self):
113113
"mnc": "bar",
114114
"prices": [
115115
{
116-
"base_price": 0.05,
117-
"current_price": 0.05,
116+
"base_price": "0.05",
117+
"current_price": "0.05",
118118
"number_type": "mobile"
119119
}
120120
]
121121
}
122122
],
123123
"price_unit": "USD",
124-
"url": "http://www.example.com"
124+
"url": "https://pricing.twilio.com/v1/Messaging/Countries/US"
125125
}
126126
'''
127127
))

tests/integration/pricing/v1/phone_number/test_country.py

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ def test_read_full_response(self):
3939
}
4040
],
4141
"meta": {
42-
"first_page_url": "https://pricing.twilio.com/v1/PhoneNumbers/Countries?PageSize=1&Page=0",
43-
"key": "countries",
44-
"next_page_url": null,
4542
"page": 0,
46-
"page_size": 1,
43+
"page_size": 50,
44+
"first_page_url": "https://pricing.twilio.com/v1/PhoneNumbers/Countries?PageSize=50&Page=0",
4745
"previous_page_url": null,
48-
"url": "https://pricing.twilio.com/v1/PhoneNumbers/Countries?PageSize=1&Page=0"
46+
"url": "https://pricing.twilio.com/v1/PhoneNumbers/Countries?PageSize=50&Page=0",
47+
"next_page_url": null,
48+
"key": "countries"
4949
}
5050
}
5151
'''
@@ -63,13 +63,13 @@ def test_read_empty_response(self):
6363
{
6464
"countries": [],
6565
"meta": {
66-
"first_page_url": "https://pricing.twilio.com/v1/PhoneNumbers/Countries?PageSize=1&Page=0",
66+
"first_page_url": "https://pricing.twilio.com/v1/PhoneNumbers/Countries?PageSize=50&Page=0",
6767
"key": "countries",
6868
"next_page_url": null,
6969
"page": 0,
70-
"page_size": 1,
70+
"page_size": 50,
7171
"previous_page_url": null,
72-
"url": "https://pricing.twilio.com/v1/PhoneNumbers/Countries?PageSize=1&Page=0"
72+
"url": "https://pricing.twilio.com/v1/PhoneNumbers/Countries?PageSize=50&Page=0"
7373
}
7474
}
7575
'''
@@ -97,21 +97,21 @@ def test_fetch_response(self):
9797
200,
9898
'''
9999
{
100-
"country": "Estonia",
101-
"iso_country": "EE",
100+
"country": "United States",
101+
"iso_country": "US",
102102
"phone_number_prices": [
103103
{
104-
"base_price": 3.0,
105-
"current_price": 3.0,
106-
"type": "mobile"
104+
"number_type": "local",
105+
"base_price": "1.00",
106+
"current_price": "1.00"
107107
},
108108
{
109-
"base_price": 1.0,
110-
"current_price": 1.0,
111-
"type": "national"
109+
"number_type": "toll free",
110+
"base_price": "2.00",
111+
"current_price": "2.00"
112112
}
113113
],
114-
"price_unit": "usd",
114+
"price_unit": "USD",
115115
"url": "https://pricing.twilio.com/v1/PhoneNumbers/Countries/US"
116116
}
117117
'''

tests/integration/pricing/v1/voice/test_country.py

Lines changed: 21 additions & 149 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ def test_read_full_response(self):
3939
}
4040
],
4141
"meta": {
42-
"first_page_url": "https://pricing.twilio.com/v1/Voice/Countries?PageSize=1&Page=0",
42+
"first_page_url": "https://pricing.twilio.com/v1/Voice/Countries?PageSize=50&Page=0",
4343
"key": "countries",
4444
"next_page_url": null,
4545
"page": 0,
46-
"page_size": 1,
46+
"page_size": 50,
4747
"previous_page_url": null,
48-
"url": "https://pricing.twilio.com/v1/Voice/Countries?PageSize=1&Page=0"
48+
"url": "https://pricing.twilio.com/v1/Voice/Countries?PageSize=50&Page=0"
4949
}
5050
}
5151
'''
@@ -63,13 +63,13 @@ def test_read_empty_response(self):
6363
{
6464
"countries": [],
6565
"meta": {
66-
"first_page_url": "https://pricing.twilio.com/v1/Voice/Countries?PageSize=1&Page=0",
66+
"first_page_url": "https://pricing.twilio.com/v1/Voice/Countries?PageSize=50&Page=0",
6767
"key": "countries",
6868
"next_page_url": null,
6969
"page": 0,
70-
"page_size": 1,
70+
"page_size": 50,
7171
"previous_page_url": null,
72-
"url": "https://pricing.twilio.com/v1/Voice/Countries?PageSize=1&Page=0"
72+
"url": "https://pricing.twilio.com/v1/Voice/Countries?PageSize=50&Page=0"
7373
}
7474
}
7575
'''
@@ -97,156 +97,28 @@ def test_fetch_response(self):
9797
200,
9898
'''
9999
{
100-
"country": "Australia",
100+
"country": "United States",
101101
"inbound_call_prices": [
102102
{
103-
"base_price": "0.0075",
104-
"current_price": "0.0075",
105-
"number_type": "local"
103+
"current_price": "0.0085",
104+
"number_type": "local",
105+
"base_price": "0.0085"
106+
},
107+
{
108+
"current_price": "0.022",
109+
"number_type": "toll free",
110+
"base_price": "0.022"
106111
}
107112
],
108-
"iso_country": "AU",
113+
"iso_country": "US",
109114
"outbound_prefix_prices": [
110115
{
111-
"base_price": "0.024",
112-
"current_price": "0.024",
113-
"friendly_name": "Programmable Outbound Minute - Australia - Major Cities",
114-
"prefixes": [
115-
"6128",
116-
"6129",
117-
"6138",
118-
"6139",
119-
"6173",
120-
"61261",
121-
"61262",
122-
"61861",
123-
"61862",
124-
"61863",
125-
"61864",
126-
"61865",
127-
"61870",
128-
"61881",
129-
"61882",
130-
"61883",
131-
"61884",
132-
"61892",
133-
"61893",
134-
"61894"
135-
]
136-
},
137-
{
138-
"base_price": "0.035",
139-
"current_price": "0.035",
140-
"friendly_name": "Programmable Outbound Minute - Australia",
141-
"prefixes": [
142-
"61"
143-
]
144-
},
145-
{
146-
"base_price": "0.095",
147-
"current_price": "0.095",
148-
"friendly_name": "Programmable Outbound Minute - Australia - Shared Cost Service",
149-
"prefixes": [
150-
"6113"
151-
]
152-
},
153-
{
154-
"base_price": "0.095",
155-
"current_price": "0.095",
156-
"friendly_name": "Programmable Outbound Minute - Australia - Mobile",
157116
"prefixes": [
158-
"614",
159-
"6116",
160-
"61400",
161-
"61401",
162-
"61402",
163-
"61403",
164-
"61404",
165-
"61405",
166-
"61406",
167-
"61407",
168-
"61408",
169-
"61409",
170-
"61410",
171-
"61411",
172-
"61412",
173-
"61413",
174-
"61414",
175-
"61415",
176-
"61416",
177-
"61417",
178-
"61418",
179-
"61419",
180-
"61421",
181-
"61422",
182-
"61423",
183-
"61424",
184-
"61425",
185-
"61426",
186-
"61427",
187-
"61428",
188-
"61429",
189-
"61430",
190-
"61431",
191-
"61432",
192-
"61433",
193-
"61434",
194-
"61435",
195-
"61437",
196-
"61438",
197-
"61439",
198-
"61447",
199-
"61448",
200-
"61449",
201-
"61450",
202-
"61451",
203-
"61452",
204-
"61453",
205-
"61455",
206-
"61456",
207-
"61457",
208-
"61458",
209-
"61459",
210-
"61466",
211-
"61467",
212-
"61474",
213-
"61477",
214-
"61478",
215-
"61481",
216-
"61482",
217-
"61487",
218-
"61490",
219-
"61497",
220-
"61498",
221-
"61499",
222-
"614202",
223-
"614203",
224-
"614204",
225-
"614205",
226-
"614206",
227-
"614207",
228-
"614208",
229-
"614209",
230-
"614444",
231-
"614683",
232-
"614684",
233-
"614685",
234-
"614686",
235-
"614687",
236-
"614688",
237-
"614689",
238-
"614790",
239-
"614791",
240-
"614880",
241-
"614881",
242-
"614882",
243-
"614883",
244-
"614884",
245-
"614885",
246-
"614886",
247-
"614887",
248-
"614889"
249-
]
117+
"1907"
118+
],
119+
"current_price": "0.090",
120+
"friendly_name": "Programmable Outbound Minute - United States - Alaska",
121+
"base_price": "0.090"
250122
}
251123
],
252124
"price_unit": "USD",

tests/integration/pricing/v1/voice/test_number.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,17 @@ def test_fetch_response(self):
3131
200,
3232
'''
3333
{
34-
"country": "United States",
34+
"country": "Iran",
3535
"inbound_call_price": {
3636
"base_price": null,
3737
"current_price": null,
3838
"number_type": null
3939
},
40-
"iso_country": "US",
40+
"iso_country": "IR",
4141
"number": "+987654321",
4242
"outbound_call_price": {
43-
"base_price": "0.015",
44-
"current_price": "0.015"
43+
"base_price": "0.255",
44+
"current_price": "0.255"
4545
},
4646
"price_unit": "USD",
4747
"url": "https://pricing.twilio.com/v1/Voice/Numbers/+987654321"

0 commit comments

Comments
 (0)
0