8000 [Librarian] Regenerated @ a6ee56bea099fb7910568546a832ac26f688836d · RoadRunner11/twilio-python@1da0d23 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1da0d23

Browse files
committed
[Librarian] Regenerated @ a6ee56bea099fb7910568546a832ac26f688836d
1 parent edb1911 commit 1da0d23

File tree

33 files changed

+151
-180
lines changed

33 files changed

+151
-180
lines changed

CHANGES.md

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

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

6+
[2021-01-13] Version 6.51.0
7+
---------------------------
8+
**Library - Docs**
9+
- [PR #555](https://github.com/twilio/twilio-python/pull/555): Fixing documentation for list parameter types. Thanks to [@shwetha-manvinkurke](https://github.com/shwetha-manvinkurke)!
10+
11+
**Library - Fix**
12+
- [PR #552](https://github.com/twilio/twilio-python/pull/552): pin pyjwt dependency. Thanks to [@thinkingserious](https://github.com/thinkingserious)!
13+
14+
**Api**
15+
- Add 'Electric Imp v1 Usage' to usage categories
16+
17+
**Conversations**
18+
- Changed `last_read_message_index` type in Participant's resource **(breaking change)**
19+
20+
**Insights**
21+
- Added `created_time` to call summary.
22+
23+
**Sync**
24+
- Remove HideExpired query parameter for filtering Sync Documents with expired **(breaking change)**
25+
26+
**Video**
27+
- [Rooms] Expose maxConcurrentPublishedTracks property in Room resource
28+
29+
630
[2020-12-16] Version 6.50.1
731
---------------------------
832
**Api**

tests/integration/events/v1/test_sink.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,20 @@ def test_read_results_response(self):
186186
"sink_test": "https://events.twilio.com/v1/Sinks/DGaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab/Test",
187187
"sink_validate": "https://events.twilio.com/v1/Sinks/DGaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab/Validate"
188188
}
189+
},
190+
{
191+
"status": "active",
192+
"sink_configuration": {},
193+
"description": "A webhook Sink",
194+
"sid": "DGaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaac",
195+
"date_created": "2015-07-30T20:00:00Z",
196+
"sink_type": "webhook",
197+
"date_updated": "2015-07-30T20:00:00Z",
198+
"url": "https://events.twilio.com/v1/Sinks/DGaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaac",
199+
"links": {
200+
"sink_test": "https://events.twilio.com/v1/Sinks/DGaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaac/Test",
201+
"sink_validate": "https://events.twilio.com/v1/Sinks/DGaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaac/Validate"
202+
}
189203
}
190204
],
191205
"meta": {

tests/integration/insights/v1/call/test_summary.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ def test_fetch_response(self):
3636
"call_type": "carrier",
3737
"call_state": "ringing",
3838
"processing_state": "complete",
39+
"created_time": "2015-07-30T20:00:00Z",
3940
"start_time": "2015-07-30T20:00:00Z",
4041
"end_time": "2015-07-30T20:00:00Z",
4142
"duration": 100,

tests/integration/video/v1/test_room.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ def test_fetch_response(self):
3939
"enable_turn": true,
4040
"unique_name": "unique_name",
4141
"max_participants": 10,
42+
"max_concurrent_published_tracks": 10,
4243
"duration": 0,
4344
"status_callback_method": "POST",
4445
"status_callback": "",
@@ -86,6 +87,7 @@ def test_create_response(self):
8687
"sid": "RMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
8788
"enable_turn": true,
8889
"unique_name": "RMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
90+
"max_concurrent_published_tracks": 10,
8991
"max_participants": 10,
9092
"duration": 0,
9193
"status_callback_method": "POST",
@@ -124,6 +126,7 @@ def test_create_webrtc_go_response(self):
124126
"enable_turn": true,
125127
"unique_name": "room1",
126128
"max_participants": 10,
129+
"max_concurrent_published_tracks": 10,
127130
"duration": 0,
128131
"status_callback_method": "POST",
129132
"status_callback": "",
@@ -201,6 +204,7 @@ def test_read_with_status_response(self):
201204
"end_time": "2017-04-03T22:21:51Z",
202205
"duration": 2,
203206
"max_participants": 10,
207+
"max_concurrent_published_tracks": 10,
204208
"record_participants_on_connect": false,
205209
"video_codecs": [
206210
"VP8"
@@ -259,6 +263,7 @@ def test_update_response(self):
259263
"enable_turn": true,
260264
"unique_name": "unique_name",
261265
"max_participants": 10,
266+
"max_concurrent_published_tracks": 10,
262267
"status_callback_method": "POST",
263268
"status_callback": "",
264269
"record_participants_on_connect": false,

twilio/rest/api/v2010/account/usage/record/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,7 @@ class Category(object):
356356
GROUP_ROOMS_MEDIA_STORED = "group-rooms-media-stored"
357357
GROUP_ROOMS_PARTICIPANT_MINUTES = "group-rooms-participant-minutes"
358358
GROUP_ROOMS_RECORDED_MINUTES = "group-rooms-recorded-minutes"
359+
IMP_V1_USAGE = "imp-v1-usage"
359360
LOOKUPS = "lookups"
360361
MARKETPLACE = "marketplace"
361362
MARKETPLACE_ALGORITHMIA_NAMED_ENTITY_RECOGNITION = "marketplace-algorithmia-named-entity-recognition"

twilio/rest/api/v2010/account/usage/record/all_time.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ class Category(object):
242242
GROUP_ROOMS_MEDIA_STORED = "group-rooms-media-stored"
243243
GROUP_ROOMS_PARTICIPANT_MINUTES = "group-rooms-participant-minutes"
244244
GROUP_ROOMS_RECORDED_MINUTES = "group-rooms-recorded-minutes"
245+
IMP_V1_USAGE = "imp-v1-usage"
245246
LOOKUPS = "lookups"
246247
MARKETPLACE = "marketplace"
247248
MARKETPLACE_ALGORITHMIA_NAMED_ENTITY_RECOGNITION = "marketplace-algorithmia-named-entity-recognition"

twilio/rest/api/v2010/account/usage/record/daily.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ class Category(object):
242242
GROUP_ROOMS_MEDIA_STORED = "group-rooms-media-stored"
243243
GROUP_ROOMS_PARTICIPANT_MINUTES = "group-rooms-participant-minutes"
244244
GROUP_ROOMS_RECORDED_MINUTES = "group-rooms-recorded-minutes"
245+
IMP_V1_USAGE = "imp-v1-usage"
245246
LOOKUPS = "lookups"
246247
MARKETPLACE = "marketplace"
247248
MARKETPLACE_ALGORITHMIA_NAMED_ENTITY_RECOGNITION = "marketplace-algorithmia-named-entity-recognition"

twilio/rest/api/v2010/account/usage/record/last_month.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ class Category(object):
242242
GROUP_ROOMS_MEDIA_STORED = "group-rooms-media-stored"
243243
GROUP_ROOMS_PARTICIPANT_MINUTES = "group-rooms-participant-minutes"
244244
GROUP_ROOMS_RECORDED_MINUTES = "group-rooms-recorded-minutes"
245+
IMP_V1_USAGE = "imp-v1-usage"
245246
LOOKUPS = "lookups"
246247
MARKETPLACE = "marketplace"
247248
MARKETPLACE_ALGORITHMIA_NAMED_ENTITY_RECOGNITION = "marketplace-algorithmia-named-entity-recognition"

twilio/rest/api/v2010/account/usage/record/monthly.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ class Category(object):
242242
GROUP_ROOMS_MEDIA_STORED = "group-rooms-media-stored"
243243
GROUP_ROOMS_PARTICIPANT_MINUTES = "group-rooms-participant-minutes"
244244
GROUP_ROOMS_RECORDED_MINUTES = "group-rooms-recorded-minutes"
245+
IMP_V1_USAGE = "imp-v1-usage"
245246
LOOKUPS = "lookups"
246247
MARKETPLACE = "marketplace"
247248
MARKETPLACE_ALGORITHMIA_NAMED_ENTITY_RECOGNITION = "marketplace-algorithmia-named-entity-recognition"

twilio/rest/api/v2010/account/usage/record/this_month.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ class Category(object):
242242
GROUP_ROOMS_MEDIA_STORED = "group-rooms-media-stored"
243243
GROUP_ROOMS_PARTICIPANT_MINUTES = "group-rooms-participant-minutes"
244244
GROUP_ROOMS_RECORDED_MINUTES = "group-rooms-recorded-minutes"
245+
IMP_V1_USAGE = "imp-v1-usage"
245246
LOOKUPS = "lookups"
246247
MARKETPLACE = "marketplace"
247248
MARKETPLACE_ALGORITHMIA_NAMED_ENTITY_RECOGNITION = "marketplace-algorithmia-named-entity-recognition"

twilio/rest/api/v2010/account/usage/record/today.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ class Category(object):
242242
GROUP_ROOMS_MEDIA_STORED = "group-rooms-media-stored"
243243
GROUP_ROOMS_PARTICIPANT_MINUTES = "group-rooms-participant-minutes"
244244
GROUP_ROOMS_RECORDED_MINUTES = "group-rooms-recorded-minutes"
245+
IMP_V1_USAGE = "imp-v1-usage"
245246
LOOKUPS = "lookups"
246247
MARKETPLACE = "marketplace"
247248
MARKETPLACE_ALGORITHMIA_NAMED_ENTITY_RECOGNITION = "marketplace-algorithmia-named-entity-recognition"

twilio/rest/api/v2010/account/usage/record/yearly.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ class Category(object):
242242
GROUP_ROOMS_MEDIA_STORED = "group-rooms-media-stored"
243243
GROUP_ROOMS_PARTICIPANT_MINUTES = "group-rooms-participant-minutes"
244244
GROUP_ROOMS_RECORDED_MINUTES = "group-rooms-recorded-minutes"
245+
IMP_V1_USAGE = "imp-v1-usage"
245246
LOOKUPS = "lookups"
246247
MARKETPLACE = "marketplace"
247248
MARKETPLACE_ALGORITHMIA_NAMED_ENTITY_RECOGNITION = "marketplace-algorithmia-named-entity-recognition"

twilio/rest/api/v2010/account/usage/record/yesterday.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ class Category(object):
242242
GROUP_ROOMS_MEDIA_STORED = "group-rooms-media-stored"
243243
GROUP_ROOMS_PARTICIPANT_MINUTES = "group-rooms-participant-minutes"
244244
GROUP_ROOMS_RECORDED_MINUTES = "group-rooms-recorded-minutes"
245+
IMP_V1_USAGE = "imp-v1-usage"
245246
LOOKUPS = "lookups"
246247
MARKETPLACE = "marketplace"
247248
MARKETPLACE_ALGORITHMIA_NAMED_ENTITY_RECOGNITION = "marketplace-algorithmia-named-entity-recognition"

twilio/rest/api/v2010/account/usage/trigger.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,7 @@ class UsageCategory(object):
368368
GROUP_ROOMS_MEDIA_STORED = "group-rooms-media-stored"
369369
GROUP_ROOMS_PARTICIPANT_MINUTES = "group-rooms-participant-minutes"
370370
GROUP_ROOMS_RECORDED_MINUTES = "group-rooms-recorded-minutes"
371+
IMP_V1_USAGE = "imp-v1-usage"
371372
LOOKUPS = "lookups"
372373
MARKETPLACE = "marketplace"
373374
MARKETPLACE_ALGORITHMIA_NAMED_ENTITY_RECOGNITION = "marketplace-algorithmia-named-entity-recognition"

twilio/rest/bulkexports/v1/export/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def get(self, resource_type):
5353
"""
5454
Constructs a ExportContext
5555
56-
:param resource_type: The type of communication – Messages, Calls
56+
:param resource_type: The type of communication – Messages, Calls, Conferences, and Participants
5757
5858
:returns: twilio.rest.bulkexports.v1.export.ExportContext
5959
:rtype: twilio.rest.bulkexports.v1.export.ExportContext
@@ -64,7 +64,7 @@ def __call__(self, resource_type):
6464
"""
6565
Constructs a ExportContext
6666
67-
:param resource_type: The type of communication – Messages, Calls
67+
:param resource_type: The type of communication – Messages, Calls, Conferences, and Participants
6868
6969
:returns: twilio.rest.bulkexports.v1.export.ExportContext
7070
:rtype: twilio.rest.bulkexports.v1.export.ExportContext
@@ -130,7 +130,7 @@ def __init__(self, version, resource_type):
130130
Initialize the ExportContext
131131
132132
:param Version version: Version that contains the resource
133-
:param resource_type: The type of communication – Messages, Calls
133+
:param resource_type: The type of communication – Messages, Calls, Conferences, and Participants
134134
135135
:returns: twilio.rest.bulkexports.v1.export.ExportContext
136136
:rtype: twilio.rest.bulkexports.v1.export.ExportContext
@@ -234,7 +234,7 @@ def _proxy(self):
234234
@property
235235
def resource_type(self):
236236
"""
237-
:returns: The type of communication – Messages, Calls
237+
:returns: The type of communication – Messages, Calls, Conferences, and Participants
238238
:rtype: unicode
239239
"""
240240
return self._properties['resource_type']

twilio/rest/bulkexports/v1/export/day.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def __init__(self, version, resource_type):
2323
Initialize the DayList
2424
2525
:param Version version: Version that contains the resource
26-
:param resource_type: The type of communication – Messages, Calls
26+
:param resource_type: The type of communication – Messages, Calls, Conferences, and Participants
2727
2828
:returns: twilio.rest.bulkexports.v1.export.day.DayList
2929
:rtype: twilio.rest.bulkexports.v1.export.day.DayList
@@ -153,7 +153,7 @@ def __init__(self, version, response, solution):
153153
154154
:param Version version: Version that contains the resource
155155
:param Response response: Response from the API
156-
:param resource_type: The type of communication – Messages, Calls
156+
:param resource_type: The type of communication – Messages, Calls, Conferences, and Participants
157157
158158
:returns: twilio.rest.bulkexports.v1.export.day.DayPage
159159
:rtype: twilio.rest.bulkexports.v1.export.day.DayPage
@@ -193,7 +193,7 @@ def __init__(self, version, resource_type, day):
193193
Initialize the DayContext
194194
195195
:param Version version: Version that contains the resource
196-
:param resource_type: The type of communication – Messages, Calls
196+
:param resource_type: The type of communication – Messages, Calls, Conferences, and Participants
197197
:param day: The date of the data in the file
198198
199199
:returns: twilio.rest.bulkexports.v1.export.day.DayContext
@@ -319,7 +319,7 @@ def friendly_name(self):
319319
@property
320320
def resource_type(self):
321321
"""
322-
:returns: The type of communication – Messages, Calls
322+
:returns: The type of communication – Messages, Calls, Conferences, and Participants
323323
:rtype: unicode
324324
"""
325325
return self._properties['resource_type']

twilio/rest/bulkexports/v1/export/export_custom_job.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def __init__(self, version, resource_type):
2121
Initialize the ExportCustomJobList
2222
2323
:param Version version: Version that contains the resource
24-
:param resource_type: The type of communication – Messages, Calls
24+
:param resource_type: The type of communication – Messages, Calls, Conferences, and Participants
2525
2626
:returns: twilio.rest.bulkexports.v1.export.export_custom_job.ExportCustomJobList
2727
:rtype: twilio.rest.bulkexports.v1.export.export_custom_job.ExportCustomJobList
@@ -161,7 +161,7 @@ def __init__(self, version, response, solution):
161161
162162
:param Version version: Version that contains the resource
163163
:param Response response: Response from the API
164-
:param resource_type: The type of communication – Messages, Calls
164+
:param resource_type: The type of communication – Messages, Calls, Conferences, and Participants
165165
166166
:returns: twilio.rest.bulkexports.v1.export.export_custom_job.ExportCustomJobPage
167167
:rtype: twilio.rest.bulkexports.v1.export.export_custom_job.ExportCustomJobPage
@@ -237,7 +237,7 @@ def friendly_name(self):
237237
@property
238238
def resource_type(self):
239239
"""
240-
:returns: The type of communication – Messages, Calls
240+
:returns: The type of communication – Messages, Calls, Conferences, and Participants
241241
:rtype: unicode
242242
"""
243243
return self._properties['resource_type']

twilio/rest/bulkexports/v1/export/job.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def get(self, job_sid):
3535
"""
3636
Constructs a JobContext
3737
38-
:param job_sid: The job_sid
38+
:param job_sid: The unique string that that we created to identify the Bulk Export job
3939
4040
:returns: twilio.rest.bulkexports.v1.export.job.JobContext
4141
:rtype: twilio.rest.bulkexports.v1.export.job.JobContext
@@ -46,7 +46,7 @@ def __call__(self, job_sid):
4646
"""
4747
Constructs a JobContext
4848
49-
:param job_sid: The job_sid
49+
:param job_sid: The unique string that that we created to identify the Bulk Export job
5050
5151
:returns: twilio.rest.bulkexports.v1.export.job.JobContext
5252
:rtype: twilio.rest.bulkexports.v1.export.job.JobContext
@@ -112,7 +112,7 @@ def __init__(self, version, job_sid):
112112
Initialize the JobContext
113113
114114
:param Version version: Version that contains the resource
115-
:param job_sid: The job_sid
115+
:param job_sid: The unique string that that we created to identify the Bulk Export job
116116
117117
:returns: twilio.rest.bulkexports.v1.export.job.JobContext
118118
:rtype: twilio.rest.bulkexports.v1.export.job.JobContext
@@ -201,7 +201,7 @@ def _proxy(self):
201201
@property
202202
def resource_type(self):
203203
"""
204-
:returns: The type of communication – Messages, Calls
204+
:returns: The type of communication – Messages, Calls, Conferences, and Participants
205205
:rtype: unicode
206206
"""
207207
return self._properties['resource_type']

twilio/rest/bulkexports/v1/export_configuration.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def get(self, resource_type):
3535
"""
3636
Constructs a ExportConfigurationContext
3737
38-
:param resource_type: The type of communication – Messages, Calls
38+
:param resource_type: The type of communication – Messages, Calls, Conferences, and Participants
3939
4040
:returns: twilio.rest.bulkexports.v1.export_configuration.ExportConfigurationContext
4141
:rtype: twilio.rest.bulkexports.v1.export_configuration.ExportConfigurationContext
@@ -46,7 +46,7 @@ def __call__(self, resource_type):
4646
"""
4747
Constructs a ExportConfigurationContext
4848
49-
:param resource_type: The type of communication – Messages, Calls
49+
:param resource_type: The type of communication – Messages, Calls, Conferences, and Participants
5050
5151
:returns: twilio.rest.bulkexports.v1.export_configuration.ExportConfigurationContext
5252
:rtype: twilio.rest.bulkexports.v1.export_configuration.ExportConfigurationContext
@@ -112,7 +112,7 @@ def __init__(self, version, resource_type):
112112
Initialize the ExportConfigurationContext
113113
114114
:param Version version: Version that contains the resource
115-
:param resource_type: The type of communication – Messages, Calls
115+
:param resource_type: The type of communication – Messages, Calls, Conferences, and Participants
116116
117117
:returns: twilio.rest.bulkexports.v1.export_configuration.ExportConfigurationContext
118118
:rtype: twilio.rest.bulkexports.v1.export_configuration.ExportConfigurationContext
@@ -240,7 +240,7 @@ def webhook_method(self):
240240
@property
241241
def resource_type(self):
242242
"""
243-
:returns: The type of communication – Messages, Calls
243+
:returns: The type of communication – Messages, Calls, Conferences, and Participants
244244
:rtype: unicode
245245
"""
246246
return self._properties['resource_type']

twilio/rest/events/v1/sink/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,7 @@ class Status(object):
301301

302302
class SinkType(object):
303303
KINESIS = "kinesis"
304+
WEBHOOK = "webhook"
304305

305306
def __init__(self, version, payload, sid=None):
306307
"""

0 commit comments

Comments
 (0)
0