Skip to content

Commit 63c8b79

Browse files
committed
[Librarian] Regenerated @ f65fb6491354c2afb05cb81a1442ab0880c883c1
1 parent 84972e5 commit 63c8b79

File tree

13 files changed

+81
-3
lines changed

13 files changed

+81
-3
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+
[2022-10-05] Version 7.14.2
7+
---------------------------
8+
**Api**
9+
- Added `virtual-agent` to `usage_record` API.
10+
- Add AMD attributes to participant create request
11+
12+
**Twiml**
13+
- Add AMD attributes to `Number` and `Sip`
14+
15+
616
[2022-09-21] Version 7.14.1
717
---------------------------
818
**Library - Fix**

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

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,14 @@ def create(self, from_, to, status_callback=values.unset,
5858
coaching=values.unset, call_sid_to_coach=values.unset,
5959
jitter_buffer_size=values.unset, byoc=values.unset,
6060
caller_id=values.unset, call_reason=values.unset,
61-
recording_track=values.unset, time_limit=values.unset):
61+
recording_track=values.unset, time_limit=values.unset,
62+
machine_detection=values.unset,
63+
machine_detection_timeout=values.unset,
64+
machine_detection_speech_threshold=values.unset,
65+
machine_detection_speech_end_threshold=values.unset,
66+
machine_detection_silence_timeout=values.unset,
67+
amd_status_callback=values.unset,
68+
amd_status_callback_method=values.unset):
6269
"""
6370
Create the ParticipantInstance
6471
@@ -101,6 +108,13 @@ def create(self, from_, to, status_callback=values.unset,
101108
:param unicode call_reason: Reason for the call (Branded Calls Beta)
102109
:param unicode recording_track: The track(s) to record
103110
:param unicode time_limit: The maximum duration of the call in seconds.
111+
:param unicode machine_detection: Enable machine detection or end of greeting detection
112+
:param unicode machine_detection_timeout: Number of seconds to wait for machine detection
113+
:param unicode machine_detection_speech_threshold: Number of milliseconds for measuring stick for the length of the speech activity
114+
:param unicode machine_detection_speech_end_threshold: Number of milliseconds of silence after speech activity
115+
:param unicode machine_detection_silence_timeout: Number of milliseconds of initial silence
116+
:param unicode amd_status_callback: The URL we should call to send amd status information to your application
117+
:param unicode amd_status_callback_method: HTTP Method to use with amd_status_callback
104118
105119
:returns: The created ParticipantInstance
106120
:rtype: twilio.rest.api.v2010.account.conference.participant.ParticipantInstance
@@ -145,6 +159,13 @@ def create(self, from_, to, status_callback=values.unset,
145159
'CallReason': call_reason,
146160
'RecordingTrack': recording_track,
147161
'TimeLimit': time_limit,
162+
'MachineDetection': machine_detection,
163+
'MachineDetectionTimeout': machine_detection_timeout,
164+
'MachineDetectionSpeechThreshold': machine_detection_speech_threshold,
165+
'MachineDetectionSpeechEndThreshold': machine_detection_speech_end_threshold,
166+
'MachineDetectionSilenceTimeout': machine_detection_silence_timeout,
167+
'AmdStatusCallback': amd_status_callback,
168+
'AmdStatusCallbackMethod': amd_status_callback_method,
148169
})
149170

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

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -512,6 +512,7 @@ class Category(object):
512512
VERIFY_TOTP = "verify-totp"
513513
VERIFY_WHATSAPP_CONVERSATIONS_BUSINESS_INITIATED = "verify-whatsapp-conversations-business-initiated"
514514
VIDEO_RECORDINGS = "video-recordings"
515+
VIRTUAL_AGENT = "virtual-agent"
515516
VOICE_INSIGHTS = "voice-insights"
516517
VOICE_INSIGHTS_CLIENT_INSIGHTS_ON_DEMAND_MINUTE = "voice-insights-client-insights-on-demand-minute"
517518
VOICE_INSIGHTS_PTSN_INSIGHTS_ON_DEMAND_MINUTE = "voice-insights-ptsn-insights-on-demand-minute"

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,7 @@ class Category(object):
398398
VERIFY_TOTP = "verify-totp"
399399
VERIFY_WHATSAPP_CONVERSATIONS_BUSINESS_INITIATED = "verify-whatsapp-conversations-business-initiated"
400400
VIDEO_RECORDINGS = "video-recordings"
401+
VIRTUAL_AGENT = "virtual-agent"
401402
VOICE_INSIGHTS = "voice-insights"
402403
VOICE_INSIGHTS_CLIENT_INSIGHTS_ON_DEMAND_MINUTE = "voice-insights-client-insights-on-demand-minute"
403404
VOICE_INSIGHTS_PTSN_INSIGHTS_ON_DEMAND_MINUTE = "voice-insights-ptsn-insights-on-demand-minute"

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,7 @@ class Category(object):
398398
VERIFY_TOTP = "verify-totp"
399399
VERIFY_WHATSAPP_CONVERSATIONS_BUSINESS_INITIATED = "verify-whatsapp-conversations-business-initiated"
400400
VIDEO_RECORDINGS = "video-recordings"
401+
VIRTUAL_AGENT = "virtual-agent"
401402
VOICE_INSIGHTS = "voice-insights"
402403
VOICE_INSIGHTS_CLIENT_INSIGHTS_ON_DEMAND_MINUTE = "voice-insights-client-insights-on-demand-minute"
403404
VOICE_INSIGHTS_PTSN_INSIGHTS_ON_DEMAND_MINUTE = "voice-insights-ptsn-insights-on-demand-minute"

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,7 @@ class Category(object):
398398
VERIFY_TOTP = "verify-totp"
399399
VERIFY_WHATSAPP_CONVERSATIONS_BUSINESS_INITIATED = "verify-whatsapp-conversations-business-initiated"
400400
VIDEO_RECORDINGS = "video-recordings"
401+
VIRTUAL_AGENT = "virtual-agent"
401402
VOICE_INSIGHTS = "voice-insights"
402403
VOICE_INSIGHTS_CLIENT_INSIGHTS_ON_DEMAND_MINUTE = "voice-insights-client-insights-on-demand-minute"
403404
VOICE_INSIGHTS_PTSN_INSIGHTS_ON_DEMAND_MINUTE = "voice-insights-ptsn-insights-on-demand-minute"

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,7 @@ class Category(object):
398398
VERIFY_TOTP = "verify-totp"
399399
VERIFY_WHATSAPP_CONVERSATIONS_BUSINESS_INITIATED = "verify-whatsapp-conversations-business-initiated"
400400
VIDEO_RECORDINGS = "video-recordings"
401+
VIRTUAL_AGENT = "virtual-agent"
401402
VOICE_INSIGHTS = "voice-insights"
402403
VOICE_INSIGHTS_CLIENT_INSIGHTS_ON_DEMAND_MINUTE = "voice-insights-client-insights-on-demand-minute"
403404
VOICE_INSIGHTS_PTSN_INSIGHTS_ON_DEMAND_MINUTE = "voice-insights-ptsn-insights-on-demand-minute"

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,7 @@ class Category(object):
398398
VERIFY_TOTP = "verify-totp"
399399
VERIFY_WHATSAPP_CONVERSATIONS_BUSINESS_INITIATED = "verify-whatsapp-conversations-business-initiated"
400400
VIDEO_RECORDINGS = "video-recordings"
401+
VIRTUAL_AGENT = "virtual-agent"
401402
VOICE_INSIGHTS = "voice-insights"
402403
VOICE_INSIGHTS_CLIENT_INSIGHTS_ON_DEMAND_MINUTE = "voice-insights-client-insights-on-demand-minute"
403404
VOICE_INSIGHTS_PTSN_INSIGHTS_ON_DEMAND_MINUTE = "voice-insights-ptsn-insights-on-demand-minute"

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,7 @@ class Category(object):
398398
VERIFY_TOTP = "verify-totp"
399399
VERIFY_WHATSAPP_CONVERSATIONS_BUSINESS_INITIATED = "verify-whatsapp-conversations-business-initiated"
400400
VIDEO_RECORDINGS = "video-recordings"
401+
VIRTUAL_AGENT = "virtual-agent"
401402
VOICE_INSIGHTS = "voice-insights"
402403
VOICE_INSIGHTS_CLIENT_INSIGHTS_ON_DEMAND_MINUTE = "voice-insights-client-insights-on-demand-minute"
403404
VOICE_INSIGHTS_PTSN_INSIGHTS_ON_DEMAND_MINUTE = "voice-insights-ptsn-insights-on-demand-minute"

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,7 @@ class Category(object):
398398
VERIFY_TOTP = "verify-totp"
399399
VERIFY_WHATSAPP_CONVERSATIONS_BUSINESS_INITIATED = "verify-whatsapp-conversations-business-initiated"
400400
VIDEO_RECORDINGS = "video-recordings"
401+
VIRTUAL_AGENT = "virtual-agent"
401402
VOICE_INSIGHTS = "voice-insights"
402403
VOICE_INSIGHTS_CLIENT_INSIGHTS_ON_DEMAND_MINUTE = "voice-insights-client-insights-on-demand-minute"
403404
VOICE_INSIGHTS_PTSN_INSIGHTS_ON_DEMAND_MINUTE = "voice-insights-ptsn-insights-on-demand-minute"

0 commit comments

Comments
 (0)