8000 [Librarian] Regenerated @ 673f7e3a0f079d74e7f4e865f6f39d1015dbf6e5 · BioComputing/twilio-python@79a7a67 · GitHub
[go: up one dir, main page]

Skip to content

Commit 79a7a67

Browse files
committed
[Librarian] Regenerated @ 673f7e3a0f079d74e7f4e865f6f39d1015dbf6e5
1 parent 68fd9d3 commit 79a7a67

File tree

33 files changed

+504
-351
lines changed

33 files changed

+504
-351
lines changed

CHANGES.md

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

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

6+
[2018-05-18] Version 6.14.1
7+
----------------------------
8+
**Api**
9+
- Add more programmable video categories to usage records
10+
- Add 'include_subaccounts' parameter to all variation of usage_record fetch
11+
12+
**Trunking**
13+
- Added cnam_lookup_enabled parameter to Trunk resource.
14+
- Added case-insensitivity for recording parameter to Trunk resource.
15+
16+
617
[2018-05-11] Version 6.14.0
718
----------------------------
819
**Chat**

tests/integration/trunking/v1/test_trunk.py

Lines changed: 32 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ def test_fetch_response(self):
3737
"disaster_recovery_url": "http://disaster-recovery.com",
3838
"friendly_name": "friendly_name",
3939
"secure": false,
40+
"cnam_lookup_enabled": false,
4041
"recording": {
4142
"mode": "do-not-record",
4243
"trim": "do-not-trim"
@@ -45,12 +46,12 @@ def test_fetch_response(self):
4546
"auth_type_set": [],
4647
"date_created": "2015-01-02T11:23:45Z",
4748
"date_updated": "2015-01-02T11:23:45Z",
48-
"url": "http://trunking.twilio.com/v1/Trunks/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
49+
"url": "https://trunking.twilio.com/v1/Trunks/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
4950
"links": {
50-
"origination_urls": "http://trunking.twilio.com/v1/Trunks/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/OriginationUrls",
51-
"credential_lists": "http://trunking.twilio.com/v1/Trunks/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/CredentialLists",
52-
"ip_access_control_lists": "http://trunking.twilio.com/v1/Trunks/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IpAccessControlLists",
53-
"phone_numbers": "http://trunking.twilio.com/v1/Trunks/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/PhoneNumbers"
51+
"origination_urls": "https://trunking.twilio.com/v1/Trunks/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/OriginationUrls",
52+
"credential_lists": "https://trunking.twilio.com/v1/Trunks/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/CredentialLists",
53+
"ip_access_control_lists": "https://trunking.twilio.com/v1/Trunks/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IpAccessControlLists",
54+
"phone_numbers": "https://trunking.twilio.com/v1/Trunks/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/PhoneNumbers"
5455
}
5556
}
5657
'''
@@ -104,6 +105,7 @@ def test_create_response(self):
104105
"disaster_recovery_url": "http://disaster-recovery.com",
105106
"friendly_name": "friendly_name",
106107
"secure": false,
108+
"cnam_lookup_enabled": false,
107109
"recording": {
108110
"mode": "do-not-record",
109111
"trim": "do-not-trim"
@@ -112,12 +114,12 @@ def test_create_response(self):
112114
"auth_type_set": [],
113115
"date_created": "2015-01-02T11:23:45Z",
114116
"date_updated": "2015-01-02T11:23:45Z",
115-
"url": "http://trunking.twilio.com/v1/Trunks/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
117+
"url": "https://trunking.twilio.com/v1/Trunks/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
116118
"links": {
117-
"origination_urls": "http://trunking.twilio.com/v1/Trunks/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/OriginationUrls",
118-
"credential_lists": "http://trunking.twilio.com/v1/Trunks/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/CredentialLists",
119-
"ip_access_control_lists": "http://trunking.twilio.com/v1/Trunks/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IpAccessControlLists",
120-
"phone_numbers": "http://trunking.twilio.com/v1/Trunks/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/PhoneNumbers"
119+
"origination_urls": "https://trunking.twilio.com/v1/Trunks/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/OriginationUrls",
120+
"credential_lists": "https://trunking.twilio.com/v1/Trunks/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/CredentialLists",
121+
"ip_access_control_lists": "https://trunking.twilio.com/v1/Trunks/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IpAccessControlLists",
122+
"phone_numbers": "https://trunking.twilio.com/v1/Trunks/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/PhoneNumbers"
121123
}
122124
}
123125
'''
@@ -144,13 +146,13 @@ def test_read_full_response(self):
144146
'''
145147
{
146148
"meta": {
147-
"first_page_url": "https://trunking.twilio.com/v1/Trunks?PageSize=1&Page=0",
149+
"first_page_url": "https://trunking.twilio.com/v1/Trunks?PageSize=50&Page=0",
150+
"url": "https://trunking.twilio.com/v1/Trunks?PageSize=50&Page=0",
151+
"page_size": 50,
148152
"key": "trunks",
149153
"next_page_url": null,
150154
"page": 0,
151-
"page_size": 1,
152-
"previous_page_url": null,
153-
"url": "https://trunking.twilio.com/v1/Trunks?PageSize=1&Page=0"
155+
"previous_page_url": null
154156
},
155157
"trunks": [
156158
{
@@ -161,6 +163,7 @@ def test_read_full_response(self):
161163
"disaster_recovery_url": "http://disaster-recovery.com",
162164
"friendly_name": "friendly_name",
163165
"secure": false,
166+
"cnam_lookup_enabled": false,
164167
"recording": {
165168
"mode": "do-not-record",
166169
"trim": "do-not-trim"
@@ -169,12 +172,12 @@ def test_read_full_response(self):
169172
"auth_type_set": [],
170173
"date_created": "2015-01-02T11:23:45Z",
171174
"date_updated": "2015-01-02T11:23:45Z",
172-
"url": "http://trunking.twilio.com/v1/Trunks/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
175+
"url": "https://trunking.twilio.com/v1/Trunks/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
173176
"links": {
174-
"origination_urls": "http://trunking.twilio.com/v1/Trunks/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/OriginationUrls",
175-
"credential_lists": "http://trunking.twilio.com/v1/Trunks/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/CredentialLists",
176-
"ip_access_control_lists": "http://trunking.twilio.com/v1/Trunks/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IpAccessControlLists",
177-
"phone_numbers": "http://trunking.twilio.com/v1/Trunks/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/PhoneNumbers"
177+
"origination_urls": "https://trunking.twilio.com/v1/Trunks/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/OriginationUrls",
178+
"credential_lists": "https://trunking.twilio.com/v1/Trunks/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/CredentialLists",
179+
"ip_access_control_lists": "https://trunking.twilio.com/v1/Trunks/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IpAccessControlLists",
180+
"phone_numbers": "https://trunking.twilio.com/v1/Trunks/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/PhoneNumbers"
178181
}
179182
}
180183
]
@@ -192,13 +195,13 @@ def test_read_empty_response(self):
192195
'''
193196
{
194197
"meta": {
195-
"first_page_url": "https://trunking.twilio.com/v1/Trunks?PageSize=1&Page=0",
198+
"first_page_url": "https://trunking.twilio.com/v1/Trunks?PageSize=50&Page=0",
199+
"url": "https://trunking.twilio.com/v1/Trunks?PageSize=50&Page=0",
200+
"page_size": 50,
196201
"key": "trunks",
197202
"next_page_url": null,
198203
"page": 0,
199-
"page_size": 1,
200-
"previous_page_url": null,
201-
"url": "https://trunking.twilio.com/v1/Trunks?PageSize=1&Page=0"
204+
"previous_page_url": null
202205
},
203206
"trunks": []
204207
}
@@ -232,6 +235,7 @@ def test_update_response(self):
232235
"disaster_recovery_url": "http://updated-recovery.com",
233236
"friendly_name": "updated_name",
234237
"secure": true,
238+
"cnam_lookup_enabled": true,
235239
"recording": {
236240
"mode": "do-not-record",
237241
"trim": "do-not-trim"
@@ -240,12 +244,12 @@ def test_update_response(self):
240244
"auth_type_set": [],
241245
"date_created": "2015-01-02T11:23:45Z",
242246
"date_updated": "2015-01-02T11:23:45Z",
243-
"url": "http://trunking.twilio.com/v1/Trunks/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
247+
"url": "https://trunking.twilio.com/v1/Trunks/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
244248
"links": {
245-
"origination_urls": "http://trunking.twilio.com/v1/Trunks/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/OriginationUrls",
246-
"credential_lists": "http://trunking.twilio.com/v1/Trunks/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/CredentialLists",
247-
"ip_access_control_lists": "http://trunking.twilio.com/v1/Trunks/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IpAccessControlLists",
248-
"phone_numbers": "http://trunking.twilio.com/v1/Trunks/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/PhoneNumbers"
249+
"origination_urls": "https://trunking.twilio.com/v1/Trunks/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/OriginationUrls",
250+
"credential_lists": "https://trunking.twilio.com/v1/Trunks/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/CredentialLists",
251+
"ip_access_control_lists": "https://trunking.twilio.com/v1/Trunks/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IpAccessControlLists",
252+
"phone_numbers": "https://trunking.twilio.com/v1/Trunks/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/PhoneNumbers"
249253
}
250254
}
251255
'''

tests/integration/trunking/v1/trunk/test_credential_list.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ def test_fetch_response(self):
3333
{
3434
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
3535
"trunk_sid": "TKaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
36-
"date_created": "Wed, 11 Sep 2013 17:51:38 -0000",
37-
"date_updated": "Wed, 11 Sep 2013 17:51:38 -0000",
38-
"friendly_name": "Low Rises",
36+
"date_created": "2018-04-28T00:10:23Z",
37+
"date_updated": "2018-04-28T00:10:23Z",
38+
"friendly_name": "friendly_name",
3939
"sid": "CLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
4040
"url": "https://trunking.twilio.com/v1/Trunks/TKaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/CredentialLists/CLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
4141
}
@@ -92,9 +92,9 @@ def test_create_response(self):
9292
{
9393
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
9494
"trunk_sid": "TKaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
95-
"date_created": "Wed, 11 Sep 2013 17:51:38 -0000",
96-
"date_updated": "Wed, 11 Sep 2013 17:51:38 -0000",
97-
"friendly_name": "Low Rises",
95+
"date_created": "2018-05-02T17:29:30Z",
96+
"date_updated": "2018-05-02T17:29:30Z",
97+
"friendly_name": "friendly_name",
9898
"sid": "CLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
9999
"url": "https://trunking.twilio.com/v1/Trunks/TKaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/CredentialLists/CLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
100100
}
@@ -127,9 +127,9 @@ def test_read_full_response(self):
127127
{
128128
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
129129
"trunk_sid": "TKaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
130-
"date_created": "Wed, 11 Sep 2013 17:51:38 -0000",
131-
"date_updated": "Wed, 11 Sep 2013 17:51:38 -0000",
132-
"friendly_name": "Low Rises",
130+
"date_created": "2018-04-27T22:02:11Z",
131+
"date_updated": "2018-04-27T22:02:11Z",
132+
"friendly_name": "friendly_name",
133133
"sid": "CLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
134134
"url": "https://trunking.twilio.com/v1/Trunks/TKaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/CredentialLists/CLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
135135
}

tests/integration/trunking/v1/trunk/test_ip_access_control_list.py

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ def test_fetch_response(self):
3232
'''
3333
{
3434
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
35-
"date_created": "2015-07-30T20:00:00Z",
36-
"date_updated": "2015-07-30T20:00:00Z",
35+
"date_created": "2018-05-02T17:29:34Z",
36+
"date_updated": "2018-05-02T17:29:34Z",
3737
"friendly_name": "friendly_name",
3838
"sid": "ALaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
3939
"trunk_sid": "TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
40-
"url": "http://www.example.com"
40+
"url": "https://trunking.twilio.com/v1/Trunks/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IpAccessControlLists/ALaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
4141
}
4242
'''
4343
))
@@ -91,12 +91,12 @@ def test_create_response(self):
9191
'''
9292
{
9393
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
94-
"date_created": "2015-07-30T20:00:00Z",
95-
"date_updated": "2015-07-30T20:00:00Z",
94+
"date_created": "2018-04-30T20:59:06Z",
95+
"date_updated": "2018-04-30T20:59:06Z",
9696
"friendly_name": "friendly_name",
9797
"sid": "ALaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
9898
"trunk_sid": "TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
99-
"url": "http://www.example.com"
99+
"url": "https://trunking.twilio.com/v1/Trunks/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IpAccessControlLists/ALaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
100100
}
101101
'''
102102
))
@@ -125,13 +125,13 @@ def test_read_empty_response(self):
125125
{
126126
"ip_access_control_lists": [],
127127
"meta": {
128-
"first_page_url": "https://trunking.twilio.com/v1/Trunks/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IpAccessControlLists?Page=0&PageSize=50",
128+
"first_page_url": "https://trunking.twilio.com/v1/Trunks/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IpAccessControlLists?PageSize=50&Page=0",
129129
"key": "ip_access_control_lists",
130130
"next_page_url": null,
131131
"page": 0,
132-
"page_size": 0,
132+
"page_size": 50,
133133
"previous_page_url": null,
134-
"url": "https://trunking.twilio.com/v1/Trunks/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IpAccessControlLists"
134+
"url": "https://trunking.twilio.com/v1/Trunks/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IpAccessControlLists?PageSize=50&Page=0"
135135
}
136136
}
137137
'''
@@ -150,22 +150,22 @@ def test_read_full_response(self):
150150
"ip_access_control_lists": [
151151
{
152152
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
153-
"date_created": "2015-07-30T20:00:00Z",
154-
"date_updated": "2015-07-30T20:00:00Z",
153+
"date_created": "2018-05-02T17:29:34Z",
154+
"date_updated": "2018-05-02T17:29:34Z",
155155
"friendly_name": "friendly_name",
156156
"sid": "ALaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
157157
"trunk_sid": "TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
158-
"url": "http://www.example.com"
158+
"url": "https://trunking.twilio.com/v1/Trunks/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IpAccessControlLists/ALaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
159159
}
160160
],
161161
"meta": {
162-
"first_page_url": "https://trunking.twilio.com/v1/Trunks/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IpAccessControlLists?Page=0&PageSize=50",
162+
"first_page_url": "https://trunking.twilio.com/v1/Trunks/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IpAccessControlLists?PageSize=50&Page=0",
163163
"key": "ip_access_control_lists",
164164
"next_page_url": null,
165165
"page": 0,
166-
"page_size": 1,
166+
"page_size": 50,
167167
"previous_page_url": null,
168-
"url": "https://trunking.twilio.com/v1/Trunks/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IpAccessControlLists"
168+
"url": "https://trunking.twilio.com/v1/Trunks/TRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IpAccessControlLists?PageSize=50&Page=0"
169169
}
170170
}
171171
'''

0 commit comments

Comments
 (0)
0