8000 [Librarian] Regenerated @ 28cbb7d771677c50c64003cc2c5afc660ccc6fa3 · githubib/twilio-python@8aac826 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8aac826

Browse files
committed
[Librarian] Regenerated @ 28cbb7d771677c50c64003cc2c5afc660ccc6fa3
1 parent 8da819d commit 8aac826

29 files changed

+24
-1777
lines changed

CHANGES.md

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

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

6+
[2020-12-08] Version 6.50.0
7+
---------------------------
8+
**Api**
9+
- Added optional `RecordingTrack` parameter for create calls, create participants, and create call recordings
10+
- Removed deprecated Programmable Chat usage record categories **(breaking change)**
11+
12+
**Twiml**
13+
- Add `recordingTrack` to `Dial`.
14+
15+
616
[2020-12-02] Version 6.49.0
717
---------------------------
818
**Library - Feature**

tests/integration/preview/trusted_comms/business/__init__.py

Lines changed: 0 additions & 8 deletions
This file was deleted.

tests/integration/preview/trusted_comms/business/insights/__init__.py

Lines changed: 0 additions & 8 deletions
This file was deleted.

tests/integration/preview/trusted_comms/business/insights/test_impressions_rate.py

Lines changed: 0 additions & 56 deletions
This file was deleted.

tests/integration/preview/trusted_comms/business/test_insights.py

Lines changed: 0 additions & 16 deletions
This file was deleted.

tests/integration/preview/trusted_comms/test_branded_call.py

Lines changed: 0 additions & 60 deletions
This file was deleted.

tests/integration/preview/trusted_comms/test_business.py

Lines changed: 0 additions & 45 deletions
This file was deleted.

tests/integration/preview/trusted_comms/test_phone_call.py

Lines changed: 0 additions & 60 deletions
This file was deleted.

twilio/rest/api/v2010/account/call/__init__.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ def create(self, to, from_, method=values.unset, fallback_url=values.unset,
6060
machine_detection_silence_timeout=values.unset,
6161
async_amd=values.unset, async_amd_status_callback=values.unset,
6262
async_amd_status_callback_method=values.unset, byoc=values.unset,
63-
call_reason=values.unset, url=values.unset, twiml=values.unset,
64-
application_sid=values.unset):
63+
call_reason=values.unset, recording_track=values.unset,
64+
url=values.unset, twiml=values.unset, application_sid=values.unset):
6565
"""
6666
Create the CallInstance
6767
@@ -94,6 +94,7 @@ def create(self, to, from_, method=values.unset, fallback_url=values.unset,
9494
:param unicode async_amd_status_callback_method: HTTP Method to use with async_amd_status_callback
9595
:param unicode byoc: BYOC trunk SID (Beta)
9696
:param unicode call_reason: Reason for the call (Branded Calls Beta)
97+
:param unicode recording_track: Which track(s) to record
9798
:param unicode url: The absolute URL that returns TwiML for this call
9899
:param unicode twiml: TwiML instructions for the call
99100
:param unicode application_sid: The SID of the Application resource that will handle the call
@@ -134,6 +135,7 @@ def create(self, to, from_, method=values.unset, fallback_url=values.unset,
134135
'AsyncAmdStatusCallbackMethod': async_amd_status_callback_method,
135136
'Byoc': byoc,
136137
'CallReason': call_reason,
138+
'RecordingTrack': recording_track,
137139
})
138140

139141
payload = self._version.create(method='POST', uri=self._uri, data=data, )

twilio/rest/api/v2010/account/call/recording.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def __init__(self, version, account_sid, call_sid):
3737
def create(self, recording_status_callback_event=values.unset,
3838
recording_status_callback=values.unset,
3939
recording_status_callback_method=values.unset, trim=values.unset,
40-
recording_channels=values.unset):
40+
recording_channels=values.unset, recording_track=values.unset):
4141
"""
4242
Create the RecordingInstance
4343
@@ -46,6 +46,7 @@ def create(self, recording_status_callback_event=values.unset,
4646
:param unicode recording_status_callback_method: The HTTP method we should use to call `recording_status_callback`
4747
:param unicode trim: Whether to trim the silence in the recording
4848
:param unicode recording_channels: The number of channels that the output recording will be configured with
49+
:param unicode recording_track: Which track(s) to record
4950
5051
:returns: The created RecordingInstance
5152
:rtype: twilio.rest.api.v2010.account.call.recording.RecordingInstance
@@ -56,6 +57,7 @@ def create(self, recording_status_callback_event=values.unset,
5657
'RecordingStatusCallbackMethod': recording_status_callback_method,
5758
'Trim': trim,
5859
'RecordingChannels': recording_channels,
60+
'RecordingTrack': recording_track,
5961
})
6062

6163
payload = self._version.create(method='POST', uri=self._uri, data=data, )

twilio/rest/api/v2010/account/conference/participant.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ def create(self, from_, to, status_callback=values.unset,
5757
conference_recording_status_callback_event=values.unset,
5858
coaching=values.unset, call_sid_to_coach=values.unset,
5959
jitter_buffer_size=values.unset, byoc=values.unset,
60-
caller_id=values.unset, call_reason=values.unset):
60+
caller_id=values.unset, call_reason=values.unset,
61+
recording_track=values.unset):
6162
"""
6263
Create the ParticipantInstance
6364
@@ -98,6 +99,7 @@ def create(self, from_, to, status_callback=values.unset,
9899
:param unicode byoc: BYOC trunk SID (Beta)
99100
:param unicode caller_id: The phone number, Client identifier, or username portion of SIP address that made this call.
100101
:param unicode call_reason: Reason for the call (Branded Calls Beta)
102+
:param unicode recording_track: The track to record
101103
102104
:returns: The created ParticipantInstance
103105
:rtype: twilio.rest.api.v2010.account.conference.participant.ParticipantInstance
@@ -140,6 +142,7 @@ def create(self, from_, to, status_callback=values.unset,
140142
'Byoc': byoc,
141143
'CallerId': caller_id,
142144
'CallReason': call_reason,
145+
'RecordingTrack': recording_track,
143146
})
144147

145148
payload = self._version.create(method='POST', uri=self._uri, data=data, )

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

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -356,11 +356,6 @@ 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-
IP_MESSAGING = "ip-messaging"
360-
IP_MESSAGING_COMMANDS = "ip-messaging-commands"
361-
IP_MESSAGING_DATA_STORAGE = "ip-messaging-data-storage"
362-
IP_MESSAGING_DATA_TRANSFER = "ip-messaging-data-transfer"
363-
IP_MESSAGING_ENDPOINT_CONNECTIVITY = "ip-messaging-endpoint-connectivity"
364359
LOOKUPS = "lookups"
365360
MARKETPLACE = "marketplace"
366361
MARKETPLACE_ALGORITHMIA_NAMED_ENTITY_RECOGNITION = "marketplace-algorithmia-named-entity-recognition"
@@ -419,11 +414,6 @@ class Category(object):
419414
NOTIFY_CHANNELS = "notify-channels"
420415
NUMBER_FORMAT_LOOKUPS = "number-format-lookups"
421416
PCHAT = "pchat"
422-
PCHAT_ACTIONS = "pchat-actions"
423-
PCHAT_APS = "pchat-aps"
424-
PCHAT_MESSAGES = "pchat-messages"
425-
PCHAT_NOTIFICATIONS = "pchat-notifications"
426-
PCHAT_READS = "pchat-reads"
427417
PCHAT_USERS = "pchat-users"
428418
PEER_TO_PEER_ROOMS_PARTICIPANT_MINUTES = "peer-to-peer-rooms-participant-minutes"
429419
PFAX = "pfax"

0 commit comments

Comments
 (0)
0