
    g΂                       S r SSKJr   " S S\5      r " S S\5      r " S S\5      r " S	 S
\5      r " S S\5      r " S S\5      r " S S\5      r	 " S S\5      r
 " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S \5      r " S! S"\5      r " S# S$\5      r " S% S&\5      r " S' S(\5      r " S) S*\5      r " S+ S,\5      r " S- S.\5      r " S/ S0\5      r " S1 S2\5      r " S3 S4\5      r " S5 S6\5      r " S7 S8\5      r " S9 S:\5      r " S; S<\5      r " S= S>\5      r  " S? S@\5      r! " SA SB\5      r" " SC SD\5      r# " SE SF\5      r$ " SG SH\5      r% " SI SJ\5      r& " SK SL\5      r' " SM SN\5      r( " SO SP\5      r) " SQ SR\5      r* " SS ST\5      r+ " SU SV\5      r, " SW SX\5      r- " SY SZ\5      r. " S[ S\\5      r/ " S] S^\5      r0 " S_ S`\5      r1 " Sa Sb\5      r2 " Sc Sd\5      r3 " Se Sf\5      r4 " Sg Sh\5      r5 " Si Sj\5      r6 " Sk Sl\5      r7gm)nza
This code was generated by
\ / _    _  _|   _  _
 | (_)\/(_)(_|\/| |(/_  v1.0.0
      /       /
    )TwiMLc                     ^  \ rS rSrSrU 4S jrSS jr                   SS jrS r       SS jr	                  SS jr
S	 rS
 rSS jrSS jr    SS jr            S S jrSS jrSS jrSS jr     S!S jr                  SS jr     S!S jrSS jrS rSS jrSrU =r$ )"VoiceResponse   z<Response> TwiML for Voicec                 <   > [         [        U ]
  " S0 UD6  SU l        g )NResponse )superr   __init__nameselfkwargs	__class__s     c/Users/Alptekin/Desktop/izin_takip/venv/lib/python3.13/site-packages/twilio/twiml/voice_response.pyr   VoiceResponse.__init__   s    mT+5f5	    c                 :    U R                  [        SXS.UD65      $ )z
Create a <Connect> element

:param action: Action URL
:param method: Action URL method
:param kwargs: additional attributes

:returns: <Connect> element
actionmethodr	   )nestConnectr   r   r   r   s       r   connectVoiceResponse.connect   s      yyHHHIIr   c                     U R                  [        S0 SU_SU_SU_SU_SU_SU_SU_SU_S	U	_S
U
_SU_SU_SU_SU_SU_SU_SU_SU_SU_UD65      $ )a	  
Create a <Dial> element

:param number: Phone number to dial
:param action: Action URL
:param method: Action URL method
:param timeout: Time to wait for answer
:param hangup_on_star: Hangup call on star press
:param time_limit: Max time length
:param caller_id: Caller ID to display
:param record: Record the call
:param trim: Trim the recording
:param recording_status_callback: Recording status callback URL
:param recording_status_callback_method: Recording status callback URL method
:param recording_status_callback_event: Recording status callback events
:param answer_on_bridge: Preserve the ringing behavior of the inbound call until the Dialed call picks up
:param ring_tone: Ringtone allows you to override the ringback tone that Twilio will play back to the caller while executing the Dial
:param recording_track: To indicate which audio track should be recorded
:param sequential: Used to determine if child TwiML nouns should be dialed in order, one after the other (sequential) or dial all at once (parallel). Default is false, parallel
:param refer_url: Webhook that will receive future SIP REFER requests
:param refer_method: The HTTP method to use for the refer Webhook
:param events: Subscription to events
:param kwargs: additional attributes

:returns: <Dial> element
numberr   r   timeouthangup_on_star
time_limit	caller_idrecordtrimrecording_status_callback recording_status_callback_methodrecording_status_callback_eventanswer_on_bridge	ring_tonerecording_track
sequential	refer_urlrefer_methodeventsr	   )r   Dial)r   r   r   r   r   r    r!   r"   r#   r$   r%   r&   r'   r(   r)   r*   r+   r,   r-   r.   r   s                        r   dialVoiceResponse.dial!   s    b yy    	
  . & $   +D 2R 1P "2 $ !0  &!" $#$ *%& )
 	
r   c                 6    U R                  [        S0 UD65      $ )zY
Create a <Echo> element

:param kwargs: additional attributes

:returns: <Echo> element
r	   )r   Echor   r   s     r   echoVoiceResponse.echok        yy((r   c                 F    U R                  [        SUUUUUUUS.UD65      $ )aQ  
Create a <Enqueue> element

:param name: Friendly name
:param action: Action URL
:param max_queue_size: Maximum size of queue
:param method: Action URL method
:param wait_url: Wait URL
:param wait_url_method: Wait URL method
:param workflow_sid: TaskRouter Workflow SID
:param kwargs: additional attributes

:returns: <Enqueue> element
)r   r   max_queue_sizer   wait_urlwait_url_methodworkflow_sidr	   )r   Enqueue)	r   r   r   r9   r   r:   r;   r<   r   s	            r   enqueueVoiceResponse.enqueueu   sA    2 yy 	-! /)	 	
 	
r   c                     U R                  [        S0 SU_SU_SU_SU_SU_SU_SU_SU_S	U	_S
U
_SU_SU_SU_SU_SU_SU_SU_SU_UD65      $ )a  
Create a <Gather> element

:param input: Input type Twilio should accept
:param action: Action URL
:param method: Action URL method
:param timeout: Time to wait to gather input
:param speech_timeout: Time to wait to gather speech input and it should be either auto or a positive integer.
:param max_speech_time: Max allowed time for speech input
:param profanity_filter: Profanity Filter on speech
:param finish_on_key: Finish gather on key
:param num_digits: Number of digits to collect
:param partial_result_callback: Partial result callback URL
:param partial_result_callback_method: Partial result callback URL method
:param language: Language to use
:param hints: Speech recognition hints
:param barge_in: Stop playing media upon speech
:param debug: Allow debug for gather
:param action_on_empty_result: Force webhook to the action URL event if there is no input
:param speech_model: Specify the model that is best suited for your use case
:param enhanced: Use enhanced speech model
:param kwargs: additional attributes

:returns: <Gather> element
inputr   r   r   speech_timeoutmax_speech_timeprofanity_filterfinish_on_key
num_digitspartial_result_callbackpartial_result_callback_methodlanguagehintsbarge_indebugaction_on_empty_resultspeech_modelenhancedr	   )r   Gather)r   rA   r   r   r   rB   rC   rD   rE   rF   rG   rH   rI   rJ   rK   rL   rM   rN   rO   r   s                       r   gatherVoiceResponse.gather   s    ^ yy    	
  . !0 "2 , & )@ 0N "  "   (>!" *#$ "'
 	
r   c                 6    U R                  [        S0 UD65      $ )z]
Create a <Hangup> element

:param kwargs: additional attributes

:returns: <Hangup> element
r	   )r   Hangupr4   s     r   hangupVoiceResponse.hangup   s     yy)&)**r   c                 6    U R                  [        S0 UD65      $ )z[
Create a <Leave> element

:param kwargs: additional attributes

:returns: <Leave> element
r	   )r   Leaver4   s     r   leaveVoiceResponse.leave   s     yy))r   c                 :    U R                  [        SSU0UD65      $ z
Create a <Pause> element

:param length: Length in seconds to pause
:param kwargs: additional attributes

:returns: <Pause> element
lengthr	   r   Pauser   r]   r   s      r   pauseVoiceResponse.pause         yy7f7788r   c           	      <    U R                  [        SXUS.UD65      $ z
Create a <Play> element

:param url: Media URL
:param loop: Times to loop media
:param digits: Play DTMF tones for digits
:param kwargs: additional attributes

:returns: <Play> element
)urlloopdigitsr	   r   Playr   rf   rg   rh   r   s        r   playVoiceResponse.play  "     yyJ#J6JKKr   c           
      B    U R                  [        U4UUUUS.UD65      $ a  
Create a <Queue> element

:param name: Queue name
:param url: Action URL
:param method: Action URL method
:param reservation_sid: TaskRouter Reservation SID
:param post_work_activity_sid: TaskRouter Activity SID
:param kwargs: additional attributes

:returns: <Queue> element
)rf   r   reservation_sidpost_work_activity_sidr   Queuer   r   rf   r   rq   rr   r   s          r   queueVoiceResponse.queue  ;    * yy /'= 	
 		
r   c                 P    U R                  [        SUUUUUUUUU	U
UUS.UD65      $ )a  
Create a <Record> element

:param action: Action URL
:param method: Action URL method
:param timeout: Timeout to begin recording
:param finish_on_key: Finish recording on key
:param max_length: Max time to record in seconds
:param play_beep: Play beep
:param trim: Trim the recording
:param recording_status_callback: Status callback URL
:param recording_status_callback_method: Status callback URL method
:param recording_status_callback_event: Recording status callback events
:param transcribe: Transcribe the recording
:param transcribe_callback: Transcribe callback URL
:param kwargs: additional attributes

:returns: <Record> element
)r   r   r   rE   
max_length	play_beepr$   r%   r&   r'   
transcribetranscribe_callbackr	   )r   Record)r   r   r   r   rE   rz   r{   r$   r%   r&   r'   r|   r}   r   s                 r   r#   VoiceResponse.record.  sQ    F yy +%#*C1Q0O%$7 
 	
r   c                 <    U R                  [        U4SU0UD65      $ )z
Create a <Redirect> element

:param url: Redirect URL
:param method: Redirect URL method
:param kwargs: additional attributes

:returns: <Redirect> element
r   )r   Redirect)r   rf   r   r   s       r   redirectVoiceResponse.redirectc  s"     yy#?f??@@r   c                 :    U R                  [        SSU0UD65      $ )z}
Create a <Reject> element

:param reason: Rejection reason
:param kwargs: additional attributes

:returns: <Reject> element
reasonr	   )r   Reject)r   r   r   s      r   rejectVoiceResponse.rejecto  s      yy8v8899r   c           
      <    U R                  [        SXX4S.UD65      $ z
Create a <Say> element

:param message: Message to say
:param voice: Voice to use
:param loop: Times to loop message
:param language: Message language
:param kwargs: additional attributes

:returns: <Say> element
)messagevoicerg   rI   r	   r   Sayr   r   r   rg   rI   r   s         r   sayVoiceResponse.sayz  '     yyU4UfU
 	
r   c                 D    U R                  [        U4UUUUUS.UD65      $ )a)  
Create a <Sms> element

:param message: Message body
:param to: Number to send message to
:param from: Number to send message from
:param action: Action URL
:param method: Action URL method
:param status_callback: Status callback URL
:param kwargs: additional attributes

:returns: <Sms> element
)tofrom_r   r   status_callback)r   Sms)r   r   r   r   r   r   r   r   s           r   smsVoiceResponse.sms  s>    . yy / 

 
	
r   c                     U R                  [        S0 SU_SU_SU_SU_SU_SU_SU_SU_S	U	_S
U
_SU_SU_SU_SU_SU_SU_SU_SU_UD65      $ )a  
Create a <Pay> element

:param input: Input type Twilio should accept
:param action: Action URL
:param bank_account_type: Bank account type for ach transactions. If set, payment method attribute must be provided and value should be set to ach-debit. defaults to consumer-checking
:param status_callback: Status callback URL
:param status_callback_method: Status callback method
:param timeout: Time to wait to gather input
:param max_attempts: Maximum number of allowed retries when gathering input
:param security_code: Prompt for security code
:param postal_code: Prompt for postal code and it should be true/false or default postal code
:param min_postal_code_length: Prompt for minimum postal code length
:param payment_connector: Unique name for payment connector
:param payment_method: Payment method to be used. defaults to credit-card
:param token_type: Type of token
:param charge_amount: Amount to process. If value is greater than 0 then make the payment else create a payment token
:param currency: Currency of the amount attribute
:param description: Details regarding the payment
:param valid_card_types: Comma separated accepted card types
:param language: Language to use
:param kwargs: additional attributes

:returns: <Pay> element
rA   r   bank_account_typer   status_callback_methodr   max_attemptssecurity_codepostal_codemin_postal_code_lengthpayment_connectorpayment_method
token_typecharge_amountcurrencydescriptionvalid_card_typesrI   r	   )r   Pay)r   rA   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   rI   r   s                       r   payVoiceResponse.pay  s    ^ yy  #4 !0	
 (>   * , ( (> #4  . & , "  (!" "2#$ "'
 	
r   c                 B    U R                  [        SUUUUUS.UD65      $ an  
Create a <Prompt> element

:param for_: Name of the payment source data element
:param error_type: Type of error
:param card_type: Type of the credit card
:param attempt: Current attempt count
:param require_matching_inputs: Require customer to input requested information twice and verify matching.
:param kwargs: additional attributes

:returns: <Prompt> element
)for_
error_type	card_typeattemptrequire_matching_inputsr	   r   Promptr   r   r   r   r   r   r   s          r   promptVoiceResponse.prompt  ;    * yy %#(? 	
 		
r   c                 :    U R                  [        SXS.UD65      $ )z
Create a <Start> element

:param action: Action URL
:param method: Action URL method
:param kwargs: additional attributes

:returns: <Start> element
r   r	   )r   Startr   s       r   startVoiceResponse.start        yyFfFvFGGr   c                 6    U R                  [        S0 UD65      $ )zY
Create a <Stop> element

:param kwargs: additional attributes

:returns: <Stop> element
r	   )r   Stopr4   s     r   stopVoiceResponse.stop   r7   r   c                 :    U R                  [        SXS.UD65      $ )z
Create a <Refer> element

:param action: Action URL
:param method: Action URL method
:param kwargs: additional attributes

:returns: <Refer> element
r   r	   )r   Referr   s       r   referVoiceResponse.refer*  r   r   r   NN)NNNNNNNNNNNNNNNNNNN)NNNNNNN)NNNNNNNNNNNNNNNNNNNNNNNNNN)NNNNNNNNNNNNNNNNN)__name__
__module____qualname____firstlineno____doc__r   r   r0   r5   r>   rQ   rU   rY   ra   rl   rv   r#   r   r   r   r   r   r   r   r   r   __static_attributes____classcell__r   s   @r   r   r      s   $
J "&)-(,)H
T) $
P  $'+#'E
N+*	9L  #
D "&)-(, 3
j
A	:
& !
J ##'E
R  $
@
H)
H 
Hr   r   c                   2   ^  \ rS rSrSrU 4S jrS rSrU =r$ )r   i7  z<Refer> TwiML Verbc                 <   > [         [        U ]
  " S0 UD6  SU l        g )Nr   r	   )r
   r   r   r   r   s     r   r   Refer.__init__:      eT#-f-	r   c                 8    U R                  [        U40 UD65      $ )zo
Create a <Sip> element

:param sip_url: SIP URL
:param kwargs: additional attributes

:returns: <Sip> element
)r   ReferSip)r   sip_urlr   s      r   sip	Refer.sip>  s     yy'4V455r   r   )	r   r   r   r   r   r   r   r   r   r   s   @r   r   r   7  s    	6 	6r   r   c                   ,   ^  \ rS rSrSrU 4S jrSrU =r$ )r   iJ  z <Sip> TwiML Noun used in <Refer>c                 H   > [         [        U ]
  " S0 UD6  SU l        Xl        g NSipr	   )r
   r   r   r   valuer   r   r   r   s      r   r   ReferSip.__init__M  s!    h&00	
r   r   r   r   r   r   r   r   r   r   r   r   s   @r   r   r   J  s    * r   r   c                   |   ^  \ rS rSrSrU 4S jr      SS jr     S	S jr              S
S jrSr	U =r
$ )r   iS  z<Stop> TwiML Verbc                 <   > [         [        U ]
  " S0 UD6  SU l        g )Nr   r	   )r
   r   r   r   r   s     r   r   Stop.__init__V      dD",V,	r   c                 D    U R                  [        SUUUUUUS.UD65      $ a  
Create a <Stream> element

:param name: Friendly name given to the Stream
:param connector_name: Unique name for Stream Connector
:param url: URL of the remote service where the Stream is routed
:param track: Track to be streamed to remote service
:param status_callback: Status Callback URL
:param status_callback_method: Status Callback URL method
:param kwargs: additional attributes

:returns: <Stream> element
)r   connector_namerf   trackr   r   r	   r   Streamr   r   r   rf   r   r   r   r   s           r   streamStop.streamZ  >    . yy - /'= 

 
	
r   c                 B    U R                  [        SUUUUUS.UD65      $ aT  
Create a <Siprec> element

:param name: Friendly name given to SIPREC
:param connector_name: Unique name for Connector
:param track: Track to be streamed to remote service
:param status_callback: Status Callback URL
:param status_callback_method: Status Callback URL method
:param kwargs: additional attributes

:returns: <Siprec> element
)r   r   r   r   r   r	   r   Siprecr   r   r   r   r   r   r   s          r   siprecStop.siprec}  ;    * yy - /'= 	
 		
r   c                 T    U R                  [        SUUUUUUUUU	U
UUUUS.UD65      $ a  
Create a <Transcription> element

:param name: Friendly name given to the Transcription
:param track: Track to be analyze by the provider
:param status_callback_url: Status Callback URL
:param status_callback_method: Status Callback URL method
:param inbound_track_label: Friendly name given to the Inbound Track
:param outbound_track_label: Friendly name given to the Outbound Track Label
:param partial_results: Indicates if partial results are going to be send to the customer
:param language_code: Language Code used by the transcription engine
:param transcription_engine: Transcription Engine to be used
:param profanity_filter: Enable Profanity Filter
:param speech_model: Speech Model used by the transcription engine
:param hints: Hints to be provided to the transcription engine
:param enable_automatic_punctuation: Enable Automatic Punctuation
:param intelligence_service: The SID or the unique name of the Intelligence Service to be used
:param kwargs: additional attributes

:returns: <Transcription> element
)r   r   status_callback_urlr   inbound_track_labeloutbound_track_labelpartial_resultslanguage_codetranscription_enginerD   rN   rJ   enable_automatic_punctuationintelligence_servicer	   r   Transcriptionr   r   r   r   r   r   r   r   r  r  rD   rN   rJ   r  r  r   s                   r   transcriptionStop.transcription  W    N yy $7'=$7%9 /+%9!1)-I%9 
 	
r   r   NNNNNNr   NNNNNNNNNNNNNNr   r   r   r   r   r   r   r   r  r   r   r   s   @r   r   r   S  sr     #!
J #
D  # !!%)!9
 9
r   r   c                   @   ^  \ rS rSrSrU 4S jrSS jrSS jrSrU =r	$ )r  i  z<Transcription> TwiML Nounc                 <   > [         [        U ]
  " S0 UD6  SU l        g )Nr  r	   )r
   r  r   r   r   s     r   r   Transcription.__init__  s    mT+5f5#	r   c                 :    U R                  [        SXS.UD65      $ z
Create a <Config> element

:param name: The name of the custom config
:param value: The value of the custom config
:param kwargs: additional attributes

:returns: <Config> element
r   r	   r   Configr   r   r   r   s       r   configTranscription.config        yyATA&ABBr   c                 :    U R                  [        SXS.UD65      $ z
Create a <Parameter> element

:param name: The name of the custom parameter
:param value: The value of the custom parameter
:param kwargs: additional attributes

:returns: <Parameter> element
r   r	   r   	Parameterr  s       r   	parameterTranscription.parameter        yyDDVDEEr   r   r   
r   r   r   r   r   r   r  r  r   r   r   s   @r   r  r    s    $$
C
F 
Fr   r  c                   ,   ^  \ rS rSrSrU 4S jrSrU =r$ )r  i  z<Parameter> TwiML Nounc                 <   > [         [        U ]
  " S0 UD6  SU l        g )Nr  r	   )r
   r  r   r   r   s     r   r   Parameter.__init__      i'1&1	r   r   r   r   s   @r   r  r    s        r   r  c                   ,   ^  \ rS rSrSrU 4S jrSrU =r$ )r  i  z<Config> TwiML Nounc                 <   > [         [        U ]
  " S0 UD6  SU l        g )Nr  r	   )r
   r  r   r   r   s     r   r   Config.__init__      fd$.v.	r   r   r   r   s   @r   r  r         r   r  c                   6   ^  \ rS rSrSrU 4S jrSS jrSrU =r$ )r   i	  z<Siprec> TwiML Nounc                 <   > [         [        U ]
  " S0 UD6  SU l        g )Nr   r	   )r
   r   r   r   r   s     r   r   Siprec.__init__  r(  r   c                 :    U R                  [        SXS.UD65      $ r  r  r  s       r   r  Siprec.parameter  r  r   r   r   	r   r   r   r   r   r   r  r   r   r   s   @r   r   r   	      
F 
Fr   r   c                   6   ^  \ rS rSrSrU 4S jrSS jrSrU =r$ )r   i  z<Stream> TwiML Nounc                 <   > [         [        U ]
  " S0 UD6  SU l        g )Nr   r	   )r
   r   r   r   r   s     r   r   Stream.__init__   r(  r   c                 :    U R                  [        SXS.UD65      $ r  r  r  s       r   r  Stream.parameter$  r  r   r   r   r/  r   s   @r   r   r     r0  r   r   c                   |   ^  \ rS rSrSrU 4S jr      SS jr     S	S jr              S
S jrSr	U =r
$ )r   i1  z<Start> TwiML Verbc                 <   > [         [        U ]
  " S0 UD6  SU l        g )Nr   r	   )r
   r   r   r   r   s     r   r   Start.__init__4  r   r   c                 D    U R                  [        SUUUUUUS.UD65      $ r   r   r   s           r   r   Start.stream8  r   r   c                 B    U R                  [        SUUUUUS.UD65      $ r   r   r   s          r   r   Start.siprec[  r   r   c                 T    U R                  [        SUUUUUUUUU	U
UUUUS.UD65      $ r   r  r  s                   r   r  Start.transcription{  r
  r   r   r  r   r  r  r   s   @r   r   r   1  sr     #!
J #
D  # !!%)!9
 9
r   r   c                   J   ^  \ rS rSrSrU 4S jrSS jrS	S jrS
S jrSr	U =r
$ )r   i  z<Prompt> Twiml Verbc                 <   > [         [        U ]
  " S0 UD6  SU l        g )Nr   r	   )r
   r   r   r   r   s     r   r   Prompt.__init__  r(  r   c           
      <    U R                  [        SXX4S.UD65      $ r   r   r   s         r   r   
Prompt.say  r   r   c           	      <    U R                  [        SXUS.UD65      $ re   ri   rk   s        r   rl   Prompt.play  rn   r   c                 :    U R                  [        SSU0UD65      $ r\   r^   r`   s      r   ra   Prompt.pause  rc   r   r   r   r   r   )r   r   r   r   r   r   r   rl   ra   r   r   r   s   @r   r   r     s     
 L	9 	9r   r   c                   ,   ^  \ rS rSrSrU 4S jrSrU =r$ )r_   i  z<Pause> TwiML Verbc                 <   > [         [        U ]
  " S0 UD6  SU l        g )Nr_   r	   )r
   r_   r   r   r   s     r   r   Pause.__init__  r   r   r   r   r   s   @r   r_   r_          r   r_   c                   0   ^  \ rS rSrSrSU 4S jjrSrU =r$ )rj   i  z<Play> TwiML Verbc                 X   > [         [        U ]
  " S0 UD6  SU l        U(       a  Xl        g g )Nrj   r	   )r
   rj   r   r   r   r   rf   r   r   s      r   r   Play.__init__  s)    dD",V,	J r   r   r   r   r   s   @r   rj   rj     s     r   rj   c                      ^  \ rS rSrSrSU 4S jjrSS jrSS jrSS jrSS jr	SS jr
SS	 jrSS
 jrSS jrSS jrSS jrSrU =r$ )r   i  z<Say> TwiML Verbc                 X   > [         [        U ]
  " S0 UD6  SU l        U(       a  Xl        g g )Nr   r	   )r
   r   r   r   r   r   r   r   r   s      r   r   Say.__init__  s)    c4!+F+	 J r   c                 :    U R                  [        SXS.UD65      $ a  
Create a <Break> element

:param strength: Set a pause based on strength
:param time: Set a pause to a specific length of time in seconds or milliseconds, available values: [number]s, [number]ms
:param kwargs: additional attributes

:returns: <Break> element
)strengthtimer	   r   	SsmlBreakr   rV  rW  r   s       r   break_
Say.break_        yyJHJ6JKKr   c                 :    U R                  [        SXS.UD65      $ z
Create a <Emphasis> element

:param words: Words to emphasize
:param level: Specify the degree of emphasis
:param kwargs: additional attributes

:returns: <Emphasis> element
)wordslevelr	   r   SsmlEmphasisr   r`  ra  r   s       r   emphasisSay.emphasis        yyIEI&IJJr   c                 :    U R                  [        SXS.UD65      $ z
Create a <Lang> element

:param words: Words to speak
:param xml:lang: Specify the language
:param kwargs: additional attributes

:returns: <Lang> element
)r`  xml_langr	   r   SsmlLangr   r`  rj  r   s       r   langSay.lang        yyKKFKLLr   c                 :    U R                  [        SSU0UD65      $ zp
Create a <P> element

:param words: Words to speak
:param kwargs: additional attributes

:returns: <P> element
r`  r	   r   SsmlPr   r`  r   s      r   pSay.p&        yy5U5f566r   c                 <    U R                  [        U4X#S.UD65      $ z
Create a <Phoneme> element

:param words: Words to speak
:param alphabet: Specify the phonetic alphabet
:param ph: Specifiy the phonetic symbols for pronunciation
:param kwargs: additional attributes

:returns: <Phoneme> element
)alphabetphr   SsmlPhonemer   r`  r{  r|  r   s        r   phonemeSay.phoneme1  "     yyUOXOOPPr   c           
      <    U R                  [        SXX4S.UD65      $ a  
Create a <Prosody> element

:param words: Words to speak
:param volume: Specify the volume, available values: default, silent, x-soft, soft, medium, loud, x-loud, +ndB, -ndB
:param rate: Specify the rate, available values: x-slow, slow, medium, fast, x-fast, n%
:param pitch: Specify the pitch, available values: default, x-low, low, medium, high, x-high, +n%, -n%
:param kwargs: additional attributes

:returns: <Prosody> element
)r`  volumeratepitchr	   r   SsmlProsodyr   r`  r  r  r  r   s         r   prosodySay.prosody>  '     yyUeUfU
 	
r   c                 :    U R                  [        SSU0UD65      $ zp
Create a <S> element

:param words: Words to speak
:param kwargs: additional attributes

:returns: <S> element
r`  r	   r   SsmlSru  s      r   sSay.sN  rx  r   c                 <    U R                  [        U4X#S.UD65      $ a  
Create a <Say-As> element

:param words: Words to be interpreted
:param interpret-as: Specify the type of words are spoken
:param format: Specify the format of the date when interpret-as is set to date
:param kwargs: additional attributes

:returns: <Say-As> element
)interpret_asformatr   	SsmlSayAsr   r`  r  r  r   s        r   say_as
Say.say_asY  '     yyeP,PP
 	
r   c                 <    U R                  [        U4SU0UD65      $ z
Create a <Sub> element

:param words: Words to be substituted
:param alias: Substitute a different word (or pronunciation) for selected text such as an acronym or abbreviation
:param kwargs: additional attributes

:returns: <Sub> element
aliasr   SsmlSubr   r`  r  r   s       r   subSay.subh  "     yy>e>v>??r   c                 :    U R                  [        SXS.UD65      $ u   
Create a <W> element

:param words: Words to speak
:param role: Customize the pronunciation of words by specifying the word’s part of speech or alternate meaning
:param kwargs: additional attributes

:returns: <W> element
)r`  roler	   r   SsmlWr   r`  r  r   s       r   wSay.wt        yy@U@@AAr   r   r   r   r   r   r   r   r   r   r   r[  re  rn  rv  r  r  r  r  r  r  r   r   r   s   @r   r   r     sI    !
L
K
M	7Q
 	7

@
B 
Br   r   c                   l   ^  \ rS rSrSrSU 4S jjrSS jrSS jrSS jrSS jr	SS jr
SS	 jrS
rU =r$ )r  i  z>Improving Pronunciation by Specifying Parts of Speech in <Say>c                 X   > [         [        U ]
  " S0 UD6  SU l        U(       a  Xl        g g )Nr  r	   )r
   r  r   r   r   r   r`  r   r   s      r   r   SsmlW.__init__  )    eT#-f-	J r   c                 :    U R                  [        SXS.UD65      $ rU  rX  rZ  s       r   r[  SsmlW.break_  r]  r   c                 :    U R                  [        SXS.UD65      $ r_  rb  rd  s       r   re  SsmlW.emphasis  rg  r   c                 <    U R                  [        U4X#S.UD65      $ rz  r}  r  s        r   r  SsmlW.phoneme  r  r   c           
      <    U R                  [        SXX4S.UD65      $ r  r  r  s         r   r  SsmlW.prosody  r  r   c                 <    U R                  [        U4X#S.UD65      $ r  r  r  s        r   r  SsmlW.say_as  r  r   c                 <    U R                  [        U4SU0UD65      $ r  r  r  s       r   r  	SsmlW.sub  r  r   r   r   r   r   )r   r   r   r   r   r   r[  re  r  r  r  r  r   r   r   s   @r   r  r    s3    H
L
KQ
 

@ 
@r   r  c                   ,   ^  \ rS rSrSrU 4S jrSrU =r$ )r  i  z/Pronouncing Acronyms and Abbreviations in <Say>c                 H   > [         [        U ]
  " S0 UD6  SU l        Xl        g )Nr  r	   )r
   r  r   r   r   r  s      r   r   SsmlSub.__init__  s!    gt%//	
r   r   r   r   s   @r   r  r    s    9 r   r  c                   ,   ^  \ rS rSrSrU 4S jrSrU =r$ )r  i  z:Controlling How Special Types of Words Are Spoken in <Say>c                 H   > [         [        U ]
  " S0 UD6  SU l        Xl        g )Nzsay-asr	   )r
   r  r   r   r   r  s      r   r   SsmlSayAs.__init__  s!    i'1&1	
r   r   r   r   s   @r   r  r    s    D r   r  c                      ^  \ rS rSrSrSU 4S jjrSS jrSS jrSS jrSS jr	SS jr
SS	 jrSS
 jrSS jrSS jrSS jrSrU =r$ )r  i  z4Controling Volume, Speaking Rate, and Pitch in <Say>c                 X   > [         [        U ]
  " S0 UD6  SU l        U(       a  Xl        g g )Nr  r	   )r
   r  r   r   r   r  s      r   r   SsmlProsody.__init__  s)    k4)3F3	J r   c                 :    U R                  [        SXS.UD65      $ rU  rX  rZ  s       r   r[  SsmlProsody.break_  r]  r   c                 :    U R                  [        SXS.UD65      $ r_  rb  rd  s       r   re  SsmlProsody.emphasis  rg  r   c                 :    U R                  [        SXS.UD65      $ ri  rk  rm  s       r   rn  SsmlProsody.lang  rp  r   c                 :    U R                  [        SSU0UD65      $ rr  rs  ru  s      r   rv  SsmlProsody.p  rx  r   c                 <    U R                  [        U4X#S.UD65      $ rz  r}  r  s        r   r  SsmlProsody.phoneme%  r  r   c           
      <    U R                  [        SXX4S.UD65      $ r  r  r  s         r   r  SsmlProsody.prosody2  r  r   c                 :    U R                  [        SSU0UD65      $ r  r  ru  s      r   r  SsmlProsody.sB  rx  r   c                 <    U R                  [        U4X#S.UD65      $ r  r  r  s        r   r  SsmlProsody.say_asM  r  r   c                 <    U R                  [        U4SU0UD65      $ r  r  r  s       r   r  SsmlProsody.sub\  r  r   c                 :    U R                  [        SXS.UD65      $ r  r  r  s       r   r  SsmlProsody.wh  r  r   r   r   r   r   r  r   s   @r   r  r    sI    >
L
K
M	7Q
 	7

@
B 
Br   r  c                      ^  \ rS rSrSrSU 4S jjrSS jrSS jrSS jrSS jr	SS jr
SS	 jrSS
 jrSS jrSrU =r$ )r  iu  z)Adding A Pause Between Sentences in <Say>c                 X   > [         [        U ]
  " S0 UD6  SU l        U(       a  Xl        g g )Nr  r	   )r
   r  r   r   r   r  s      r   r   SsmlS.__init__x  r  r   c                 :    U R                  [        SXS.UD65      $ rU  rX  rZ  s       r   r[  SsmlS.break_~  r]  r   c                 :    U R                  [        SXS.UD65      $ r_  rb  rd  s       r   re  SsmlS.emphasis  rg  r   c                 :    U R                  [        SXS.UD65      $ ri  rk  rm  s       r   rn  
SsmlS.lang  rp  r   c                 <    U R                  [        U4X#S.UD65      $ rz  r}  r  s        r   r  SsmlS.phoneme  r  r   c           
      <    U R                  [        SXX4S.UD65      $ r  r  r  s         r   r  SsmlS.prosody  r  r   c                 <    U R                  [        U4X#S.UD65      $ r  r  r  s        r   r  SsmlS.say_as  r  r   c                 <    U R                  [        U4SU0UD65      $ r  r  r  s       r   r  	SsmlS.sub  r  r   c                 :    U R                  [        SXS.UD65      $ r  r  r  s       r   r  SsmlS.w  r  r   r   r   r   r   r   r   r   r   r   r   r[  re  rn  r  r  r  r  r  r   r   r   s   @r   r  r  u  s?    3
L
K
MQ
 

@
B 
Br   r  c                   ,   ^  \ rS rSrSrU 4S jrSrU =r$ )r~  i  z%Using Phonetic Pronunciation in <Say>c                 H   > [         [        U ]
  " S0 UD6  SU l        Xl        g )Nr  r	   )r
   r~  r   r   r   r  s      r   r   SsmlPhoneme.__init__  s!    k4)3F3	
r   r   r   r   s   @r   r~  r~    s    / r   r~  c                      ^  \ rS rSrSrSU 4S jjrSS jrSS jrSS jrSS jr	SS jr
SS	 jrSS
 jrSS jrSS jrSS jrSrU =r$ )rl  i  z7Specifying Another Language for Specific Words in <Say>c                 X   > [         [        U ]
  " S0 UD6  SU l        U(       a  Xl        g g )Nrn  r	   )r
   rl  r   r   r   r  s      r   r   SsmlLang.__init__  s)    h&00	J r   c                 :    U R                  [        SXS.UD65      $ rU  rX  rZ  s       r   r[  SsmlLang.break_  r]  r   c                 :    U R                  [        SXS.UD65      $ r_  rb  rd  s       r   re  SsmlLang.emphasis  rg  r   c                 :    U R                  [        SXS.UD65      $ ri  rk  rm  s       r   rn  SsmlLang.lang  rp  r   c                 :    U R                  [        SSU0UD65      $ rr  rs  ru  s      r   rv  
SsmlLang.p  rx  r   c                 <    U R                  [        U4X#S.UD65      $ rz  r}  r  s        r   r  SsmlLang.phoneme(  r  r   c           
      <    U R                  [        SXX4S.UD65      $ r  r  r  s         r   r  SsmlLang.prosody5  r  r   c                 :    U R                  [        SSU0UD65      $ r  r  ru  s      r   r  
SsmlLang.sE  rx  r   c                 <    U R                  [        U4X#S.UD65      $ r  r  r  s        r   r  SsmlLang.say_asP  r  r   c                 <    U R                  [        U4SU0UD65      $ r  r  r  s       r   r  SsmlLang.sub_  r  r   c                 :    U R                  [        SXS.UD65      $ r  r  r  s       r   r  
SsmlLang.wk  r  r   r   r   r   r   r  r   s   @r   rl  rl    sI    A
L
K
M	7Q
 	7

@
B 
Br   rl  c                      ^  \ rS rSrSrSU 4S jjrSS jrSS jrSS jrSS jr	SS jr
SS	 jrSS
 jrSS jrSS jrSrU =r$ )rt  ix  z*Adding a Pause Between Paragraphs in <Say>c                 X   > [         [        U ]
  " S0 UD6  SU l        U(       a  Xl        g g )Nrv  r	   )r
   rt  r   r   r   r  s      r   r   SsmlP.__init__{  r  r   c                 :    U R                  [        SXS.UD65      $ rU  rX  rZ  s       r   r[  SsmlP.break_  r]  r   c                 :    U R                  [        SXS.UD65      $ r_  rb  rd  s       r   re  SsmlP.emphasis  rg  r   c                 :    U R                  [        SXS.UD65      $ ri  rk  rm  s       r   rn  
SsmlP.lang  rp  r   c                 <    U R                  [        U4X#S.UD65      $ rz  r}  r  s        r   r  SsmlP.phoneme  r  r   c           
      <    U R                  [        SXX4S.UD65      $ r  r  r  s         r   r  SsmlP.prosody  r  r   c                 :    U R                  [        SSU0UD65      $ r  r  ru  s      r   r  SsmlP.s  rx  r   c                 <    U R                  [        U4X#S.UD65      $ r  r  r  s        r   r  SsmlP.say_as  r  r   c                 <    U R                  [        U4SU0UD65      $ r  r  r  s       r   r  	SsmlP.sub  r  r   c                 :    U R                  [        SXS.UD65      $ r  r  r  s       r   r  SsmlP.w  r  r   r   r   r   r   )r   r   r   r   r   r   r[  re  rn  r  r  r  r  r  r  r   r   r   s   @r   rt  rt  x  sD    4
L
K
MQ
 	7

@
B 
Br   rt  c                      ^  \ rS rSrSrSU 4S jjrSS jrSS jrSS jrSS jr	SS jr
SS	 jrSS
 jrSS jrSrU =r$ )rc  i  zEmphasizing Words in <Say>c                 X   > [         [        U ]
  " S0 UD6  SU l        U(       a  Xl        g g )Nre  r	   )r
   rc  r   r   r   r  s      r   r   SsmlEmphasis.__init__  s)    lD*4V4	J r   c                 :    U R                  [        SXS.UD65      $ rU  rX  rZ  s       r   r[  SsmlEmphasis.break_  r]  r   c                 :    U R                  [        SXS.UD65      $ r_  rb  rd  s       r   re  SsmlEmphasis.emphasis
  rg  r   c                 :    U R                  [        SXS.UD65      $ ri  rk  rm  s       r   rn  SsmlEmphasis.lang  rp  r   c                 <    U R                  [        U4X#S.UD65      $ rz  r}  r  s        r   r  SsmlEmphasis.phoneme"  r  r   c           
      <    U R                  [        SXX4S.UD65      $ r  r  r  s         r   r  SsmlEmphasis.prosody/  r  r   c                 <    U R                  [        U4X#S.UD65      $ r  r  r  s        r   r  SsmlEmphasis.say_as?  r  r   c                 <    U R                  [        U4SU0UD65      $ r  r  r  s       r   r  SsmlEmphasis.subN  r  r   c                 :    U R                  [        SXS.UD65      $ r  r  r  s       r   r  SsmlEmphasis.wZ  r  r   r   r   r   r   r  r   s   @r   rc  rc    s?    $
L
K
MQ
 

@
B 
Br   rc  c                   ,   ^  \ rS rSrSrU 4S jrSrU =r$ )rY  ig  zAdding a Pause in <Say>c                 <   > [         [        U ]
  " S0 UD6  SU l        g )Nbreakr	   )r
   rY  r   r   r   s     r   r   SsmlBreak.__init__j  s    i'1&1	r   r   r   r   s   @r   rY  rY  g  s    ! r   rY  c                   J   ^  \ rS rSrSrU 4S jr     SS jrSS jrSrU =r	$ )	r   io  z<Pay> Twiml Verbc                 <   > [         [        U ]
  " S0 UD6  SU l        g )Nr   r	   )r
   r   r   r   r   s     r   r   Pay.__init__r  s    c4!+F+	r   c                 B    U R                  [        SUUUUUS.UD65      $ r   r   r   s          r   r   
Pay.promptv  r   r   c                 :    U R                  [        SXS.UD65      $ r  r  r  s       r   r  Pay.parameter  r  r   r   r   r   )
r   r   r   r   r   r   r   r  r   r   r   s   @r   r   r   o  s.      $
@
F 
Fr   r   c                   ,   ^  \ rS rSrSrU 4S jrSrU =r$ )r   i  z<Sms> TwiML Nounc                 H   > [         [        U ]
  " S0 UD6  SU l        Xl        g )Nr   r	   )r
   r   r   r   r   rR  s      r   r   Sms.__init__  !    c4!+F+	
r   r   r   r   s   @r   r   r          r   r   c                   6   ^  \ rS rSrSrU 4S jrSS jrSrU =r$ )r   i  z<Reject> TwiML Verbc                 <   > [         [        U ]
  " S0 UD6  SU l        g )Nr   r	   )r
   r   r   r   r   s     r   r   Reject.__init__  r(  r   c                 :    U R                  [        SXS.UD65      $ r  r  r  s       r   r  Reject.parameter  r  r   r   r   r/  r   s   @r   r   r     r0  r   r   c                   ,   ^  \ rS rSrSrU 4S jrSrU =r$ )r   i  z<Redirect> TwiML Verbc                 H   > [         [        U ]
  " S0 UD6  SU l        Xl        g )Nr   r	   )r
   r   r   r   r   rN  s      r   r   Redirect.__init__  s!    h&00	
r   r   r   r   s   @r   r   r     s     r   r   c                   ,   ^  \ rS rSrSrU 4S jrSrU =r$ )r~   i  z<Record> TwiML Verbc                 <   > [         [        U ]
  " S0 UD6  SU l        g )Nr~   r	   )r
   r~   r   r   r   s     r   r   Record.__init__  r(  r   r   r   r   s   @r   r~   r~     r)  r   r~   c                   ,   ^  \ rS rSrSrU 4S jrSrU =r$ )rt   i  z<Queue> TwiML Nounc                 H   > [         [        U ]
  " S0 UD6  SU l        Xl        g )Nrt   r	   )r
   rt   r   r   r   r   r   r   r   s      r   r   Queue.__init__  s!    eT#-f-	
r   r   r   r   s   @r   rt   rt     s     r   rt   c                   ,   ^  \ rS rSrSrU 4S jrSrU =r$ )rX   i  z<Leave> TwiML Verbc                 <   > [         [        U ]
  " S0 UD6  SU l        g )NrX   r	   )r
   rX   r   r   r   s     r   r   Leave.__init__  r   r   r   r   r   s   @r   rX   rX     rK  r   rX   c                   6   ^  \ rS rSrSrU 4S jrSS jrSrU =r$ )rT   i  z<Hangup> TwiML Verbc                 <   > [         [        U ]
  " S0 UD6  SU l        g )NrT   r	   )r
   rT   r   r   r   s     r   r   Hangup.__init__  r(  r   c                 :    U R                  [        SXS.UD65      $ r  r  r  s       r   r  Hangup.parameter  r  r   r   r   r/  r   s   @r   rT   rT     r0  r   rT   c                   J   ^  \ rS rSrSrU 4S jrSS jrS	S jrS
S jrSr	U =r
$ )rP   i  z<Gather> TwiML Verbc                 <   > [         [        U ]
  " S0 UD6  SU l        g )NrP   r	   )r
   rP   r   r   r   s     r   r   Gather.__init__  r(  r   c           
      <    U R                  [        SXX4S.UD65      $ r   r   r   s         r   r   
Gather.say  r   r   c                 :    U R                  [        SSU0UD65      $ r\   r^   r`   s      r   ra   Gather.pause  rc   r   c           	      <    U R                  [        SXUS.UD65      $ re   ri   rk   s        r   rl   Gather.play  rn   r   r   r   r   r   )r   r   r   r   r   r   r   ra   rl   r   r   r   s   @r   rP   rP     s!    
 	9L Lr   rP   c                   :   ^  \ rS rSrSrSU 4S jjrSS jrSrU =r$ )r=   i&  z<Enqueue> TwiML Nounc                 X   > [         [        U ]
  " S0 UD6  SU l        U(       a  Xl        g g )Nr=   r	   )r
   r=   r   r   r   rR  s      r   r   Enqueue.__init__)  s)    gt%//	J r   c                 <    U R                  [        U4X#S.UD65      $ )z
Create a <Task> element

:param body: TaskRouter task attributes
:param priority: Task priority
:param timeout: Timeout associated with task
:param kwargs: additional attributes

:returns: <Task> element
)priorityr   )r   Task)r   bodyri  r   r   s        r   taskEnqueue.task/  s"     yydQXQ&QRRr   r   r   r   )	r   r   r   r   r   r   rl  r   r   r   s   @r   r=   r=   &  s    S Sr   r=   c                   ,   ^  \ rS rSrSrU 4S jrSrU =r$ )rj  i=  z<Task> TwiML Nounc                 H   > [         [        U ]
  " S0 UD6  SU l        Xl        g )Nrj  r	   )r
   rj  r   r   r   )r   rk  r   r   s      r   r   Task.__init__@  !    dD",V,	
r   r   r   r   s   @r   rj  rj  =       r   rj  c                   ,   ^  \ rS rSrSrU 4S jrSrU =r$ )r3   iF  z<Echo> TwiML Verbc                 <   > [         [        U ]
  " S0 UD6  SU l        g )Nr3   r	   )r
   r3   r   r   r   s     r   r   Echo.__init__I  r   r   r   r   r   s   @r   r3   r3   F  s     r   r3   c                      ^  \ rS rSrSrSU 4S jjr      SS jr                    SS jr              SS jr    SS jr	S r
              SS	 jr        SS
 jrSrU =r$ )r/   iN  z<Dial> TwiML Verbc                 X   > [         [        U ]
  " S0 UD6  SU l        U(       a  Xl        g g )Nr/   r	   )r
   r/   r   r   r   )r   r   r   r   s      r   r   Dial.__init__Q  s)    dD",V,	J r   c                 D    U R                  [        SUUUUUUS.UD65      $ )a\  
Create a <Client> element

:param identity: Client identity
:param url: Client URL
:param method: Client URL Method
:param status_callback_event: Events to trigger status callback
:param status_callback: Status Callback URL
:param status_callback_method: Status Callback URL Method
:param kwargs: additional attributes

:returns: <Client> element
)identityrf   r   status_callback_eventr   r   r	   )r   Client)r   rz  rf   r   r{  r   r   r   s           r   clientDial.clientW  s>    . yy !&; /'= 

 
	
r   c                     U R                  [        U40 SU_SU_SU_SU_SU_SU_SU_SU	_S	U
_S
U_SU_SU_SU_SU_SU_SU_SU_SU_SU_SU_UD65      $ )af  
Create a <Conference> element

:param name: Conference name
:param muted: Join the conference muted
:param beep: Play beep when joining
:param start_conference_on_enter: Start the conference on enter
:param end_conference_on_exit: End the conferenceon exit
:param wait_url: Wait URL
:param wait_method: Wait URL method
:param max_participants: Maximum number of participants
:param record: Record the conference
:param region: Conference region
:param coach: Call coach
:param trim: Trim the conference recording
:param status_callback_event: Events to call status callback URL
:param status_callback: Status callback URL
:param status_callback_method: Status callback URL method
:param recording_status_callback: Recording status callback URL
:param recording_status_callback_method: Recording status callback URL method
:param recording_status_callback_event: Recording status callback events
:param event_callback_url: Event callback URL
:param jitter_buffer_size: Size of jitter buffer for participant
:param participant_label: A label for participant
:param kwargs: additional attributes

:returns: <Conference> element
mutedbeepstart_conference_on_enterend_conference_on_exitr:   wait_methodmax_participantsr#   regioncoachr$   r{  r   r   r%   r&   r'   event_callback_urljitter_buffer_sizeparticipant_label)r   
Conference)r   r   r  r  r  r  r:   r  r  r#   r  r  r$   r{  r   r   r%   r&   r'   r  r  r  r   s                          r   
conferenceDial.conferencez  s    j yy  +D	
 (> " ( "2     '< !0 (>  +D!" 2R#$ 1P%& $6'( $6)* #4-
 	
r   c                 V    U R                  [        U4UUUUUUUU	U
UUUUUS.UD65      $ )aR  
Create a <Number> element

:param phone_number: Phone Number to dial
:param send_digits: DTMF tones to play when the call is answered
:param url: TwiML URL
:param method: TwiML URL method
:param status_callback_event: Events to call status callback
:param status_callback: Status callback URL
:param status_callback_method: Status callback URL method
:param byoc: BYOC trunk SID (Beta)
:param machine_detection: Enable machine detection or end of greeting detection
:param amd_status_callback_method: HTTP Method to use with amd_status_callback
:param amd_status_callback: The URL we should call to send amd status information to your application
:param machine_detection_timeout: Number of seconds to wait for machine detection
:param machine_detection_speech_threshold: Number of milliseconds for measuring stick for the length of the speech activity
:param machine_detection_speech_end_threshold: Number of milliseconds of silence after speech activity
:param machine_detection_silence_timeout: Number of milliseconds of initial silence
:param kwargs: additional attributes

:returns: <Number> element
)send_digitsrf   r   r{  r   r   byocmachine_detectionamd_status_callback_methodamd_status_callbackmachine_detection_timeout"machine_detection_speech_threshold&machine_detection_speech_end_threshold!machine_detection_silence_timeout)r   Number)r   phone_numberr  rf   r   r{  r   r   r  r  r  r  r  r  r  r  r   s                    r   r   Dial.number  sZ    R yy'&; /'="3+E$7*C3U7]2S  !
 	
r   c           
      B    U R                  [        U4UUUUS.UD65      $ rp   rs   ru   s          r   rv   
Dial.queue	  rx   r   c                 8    U R                  [        U40 UD65      $ )zo
Create a <Sim> element

:param sim_sid: SIM SID
:param kwargs: additional attributes

:returns: <Sim> element
)r   Sim)r   sim_sidr   s      r   simDial.sim(	  s     yyW//00r   c                 V    U R                  [        U4UUUUUUUU	U
UUUUUS.UD65      $ )a  
Create a <Sip> element

:param sip_url: SIP URL
:param username: SIP Username
:param password: SIP Password
:param url: Action URL
:param method: Action URL method
:param status_callback_event: Status callback events
:param status_callback: Status callback URL
:param status_callback_method: Status callback URL method
:param machine_detection: Enable machine detection or end of greeting detection
:param amd_status_callback_method: HTTP Method to use with amd_status_callback
:param amd_status_callback: The URL we should call to send amd status information to your application
:param machine_detection_timeout: Number of seconds to wait for machine detection
:param machine_detection_speech_threshold: Number of milliseconds for measuring stick for the length of the speech activity
:param machine_detection_speech_end_threshold: Number of milliseconds of silence after speech activity
:param machine_detection_silence_timeout: Number of milliseconds of initial silence
:param kwargs: additional attributes

:returns: <Sip> element
)usernamepasswordrf   r   r{  r   r   r  r  r  r  r  r  r  )r   r   )r   r   r  r  rf   r   r{  r   r   r  r  r  r  r  r  r  r   s                    r   r   Dial.sip3	  sZ    R yy!!&; /'="3+E$7*C3U7]2S  !
 	
r   c	                 H    U R                  [        SUUUUUUUUS.U	D65      $ )a'  
Create a <Application> element

:param application_sid: Application sid
:param url: TwiML URL
:param method: TwiML URL Method
:param status_callback_event: Events to trigger status callback
:param status_callback: Status Callback URL
:param status_callback_method: Status Callback URL Method
:param customer_id: Identity of the customer calling application
:param copy_parent_to: Copy parent call To field to called application side, otherwise use the application sid as To field
:param kwargs: additional attributes

:returns: <Application> element
)application_sidrf   r   r{  r   r   customer_idcopy_parent_tor	   )r   Application)
r   r  rf   r   r{  r   r   r  r  r   s
             r   applicationDial.applicationq	  sD    6 yy 
 /&; /'='-
 

 	
r   r   r   r  )NNNNNNNNNNNNNNNNNNNNr  r   )NNNNNNNN)r   r   r   r   r   r   r}  r  r   rv   r  r   r  r   r   r   s   @r   r/   r/   N  s     "#!
L "&#"#"&)-(,-N
f "##' "&+//3*.!<
B #
@	1 "##' "&+//3*.!<
@ "#'
 '
r   r/   c                   @   ^  \ rS rSrSrSU 4S jjrS rSS jrSrU =r	$ )	r  i	  z<Application> TwiML Nounc                 X   > [         [        U ]
  " S0 UD6  SU l        U(       a  Xl        g g )Nr  r	   )r
   r  r   r   r   )r   r  r   r   s      r   r   Application.__init__	  s)    k4)3F3!	(J r   c                 8    U R                  [        U40 UD65      $ )z
Create a <ApplicationSid> element

:param sid: Application sid to dial
:param kwargs: additional attributes

:returns: <ApplicationSid> element
)r   ApplicationSid)r   sidr   s      r   r  Application.application_sid	  s     yy6v677r   c                 :    U R                  [        SXS.UD65      $ r  r  r  s       r   r  Application.parameter	  r  r   r   r   r   )
r   r   r   r   r   r   r  r  r   r   r   s   @r   r  r  	  s    ")	8
F 
Fr   r  c                   ,   ^  \ rS rSrSrU 4S jrSrU =r$ )r  i	  z<ApplicationSid> TwiML Nounc                 H   > [         [        U ]
  " S0 UD6  SU l        Xl        g )Nr  r	   )r
   r  r   r   r   )r   r  r   r   s      r   r   ApplicationSid.__init__	  s!    nd,6v6$	
r   r   r   r   s   @r   r  r  	  s    % r   r  c                   ,   ^  \ rS rSrSrU 4S jrSrU =r$ )r   i	  z<Sip> TwiML Nounc                 H   > [         [        U ]
  " S0 UD6  SU l        Xl        g r   )r
   r   r   r   r   r   s      r   r   Sip.__init__	  rC  r   r   r   r   s   @r   r   r   	  rD  r   r   c                   ,   ^  \ rS rSrSrU 4S jrSrU =r$ )r  i	  z<Sim> TwiML Nounc                 H   > [         [        U ]
  " S0 UD6  SU l        Xl        g )Nr  r	   )r
   r  r   r   r   )r   r  r   r   s      r   r   Sim.__init__	  rC  r   r   r   r   s   @r   r  r  	  rD  r   r  c                   ,   ^  \ rS rSrSrU 4S jrSrU =r$ )r  i	  z<Number> TwiML Nounc                 H   > [         [        U ]
  " S0 UD6  SU l        Xl        g )Nr  r	   )r
   r  r   r   r   )r   r  r   r   s      r   r   Number.__init__	  s!    fd$.v.	!
r   r   r   r   s   @r   r  r  	  s    " "r   r  c                   ,   ^  \ rS rSrSrU 4S jrSrU =r$ )r  i	  z<Conference> TwiML Nounc                 H   > [         [        U ]
  " S0 UD6  SU l        Xl        g )Nr  r	   )r
   r  r   r   r   rR  s      r   r   Conference.__init__	  s!    j$(262 	
r   r   r   r   s   @r   r  r  	  s    ! r   r  c                   @   ^  \ rS rSrSrSU 4S jjrS rSS jrSrU =r	$ )	r|  i	  z<Client> TwiML Nounc                 X   > [         [        U ]
  " S0 UD6  SU l        U(       a  Xl        g g )Nr|  r	   )r
   r|  r   r   r   )r   rz  r   r   s      r   r   Client.__init__	  s)    fd$.v.	!J r   c                 8    U R                  [        U40 UD65      $ )z
Create a <Identity> element

:param client_identity: Identity of the client to dial
:param kwargs: additional attributes

:returns: <Identity> element
)r   Identity)r   client_identityr   s      r   rz  Client.identity	  s     yy/<V<==r   c                 :    U R                  [        SXS.UD65      $ r  r  r  s       r   r  Client.parameter	  r  r   r   r   r   )
r   r   r   r   r   r   rz  r  r   r   r   s   @r   r|  r|  	  s    "	>
F 
Fr   r|  c                   ,   ^  \ rS rSrSrU 4S jrSrU =r$ )r  i

  z<Identity> TwiML Nounc                 H   > [         [        U ]
  " S0 UD6  SU l        Xl        g )Nr  r	   )r
   r  r   r   r   )r   r  r   r   s      r   r   Identity.__init__
  s!    h&00	$
r   r   r   r   s   @r   r  r  

  s    % %r   r  c                      ^  \ rS rSrSrU 4S jrSS jrS r      SS jr     SS jr	              SS jr
                SS	 jr                SS
 jrSrU =r$ )r   i
  z<Connect> TwiML Verbc                 <   > [         [        U ]
  " S0 UD6  SU l        g )Nr   r	   )r
   r   r   r   r   s     r   r   Connect.__init__
  s    gt%//	r   c                 <    U R                  [        U4SU0UD65      $ )z
Create a <Room> element

:param name: Room name
:param participant_identity: Participant identity when connecting to the Room
:param kwargs: additional attributes

:returns: <Room> element
participant_identity)r   Room)r   r   r  r   s       r   roomConnect.room
  s(     yyK,@KFK
 	
r   c                 8    U R                  [        U40 UD65      $ )z
Create a <Autopilot> element

:param name: Autopilot assistant sid or unique name
:param kwargs: additional attributes

:returns: <Autopilot> element
)r   	Autopilot)r   r   r   s      r   	autopilotConnect.autopilot(
  s     yy426233r   c                 D    U R                  [        SUUUUUUS.UD65      $ r   r   r   s           r   r   Connect.stream3
  r   r   c                 B    U R                  [        SUUUUUS.UD65      $ )a  
Create a <VirtualAgent> element

:param connector_name: Defines the conversation profile Dialogflow needs to use
:param language: Language to be used by Dialogflow to transcribe speech
:param sentiment_analysis: Whether sentiment analysis needs to be enabled or not
:param status_callback: URL to post status callbacks from Twilio
:param status_callback_method: HTTP method to use when requesting the status callback URL
:param kwargs: additional attributes

:returns: <VirtualAgent> element
)r   rI   sentiment_analysisr   r   r	   )r   VirtualAgent)r   r   rI   r  r   r   r   s          r   virtual_agentConnect.virtual_agentV
  s;    * yy -!#5 /'= 	
 		
r   c                 T    U R                  [        SUUUUUUUUU	U
UUUUS.UD65      $ )a  
Create a <Conversation> element

:param service_instance_sid: Service instance Sid
:param inbound_autocreation: Inbound autocreation
:param routing_assignment_timeout: Routing assignment timeout
:param inbound_timeout: Inbound timeout
:param url: TwiML URL
:param method: TwiML URL method
:param record: Record
:param trim: Trim
:param recording_status_callback: Recording status callback URL
:param recording_status_callback_method: Recording status callback URL method
:param recording_status_callback_event: Recording status callback events
:param status_callback: Status callback URL
:param status_callback_method: Status callback URL method
:param status_callback_event: Events to call status callback URL
:param kwargs: additional attributes

:returns: <Conversation> element
)service_instance_sidinbound_autocreationrouting_assignment_timeoutinbound_timeoutrf   r   r#   r$   r%   r&   r'   r   r   r{  r	   )r   Conversation)r   r  r  r  r  rf   r   r#   r$   r%   r&   r'   r   r   r{  r   s                   r   conversationConnect.conversationv
  sW    N yy %9%9+E /*C1Q0O /'=&; 
 	
r   c                     U R                  [        S0 SU_SU_SU_SU_SU_SU_SU_SU_S	U	_S
U
_SU_SU_SU_SU_SU_SU_UD65      $ )ae  
Create a <ConversationRelay> element

:param url: URL of the remote service where the session is connected to
:param language: Language to be used for both text-to-speech and transcription
:param tts_language: Language to be used for text-to-speech
:param transcription_language: Language to be used for transcription
:param tts_provider: Provider to be used for text-to-speech
:param voice: Voice to be used for text-to-speech
:param transcription_provider: Provider to be used for transcription
:param speech_model: Speech model to be used for transcription
:param profanity_filter: Whether profanities should be filtered out of the speech transcription
:param dtmf_detection: Whether DTMF tones should be detected and reported in speech transcription
:param welcome_greeting: The sentence to be played automatically when the session is connected
:param partial_prompts: Whether partial prompts should be reported to WebSocket server before the caller finishes speaking
:param interruptible: Whether caller's speaking can interrupt the play of text-to-speech
:param interrupt_by_dtmf: Whether DTMF tone can interrupt the play of text-to-speech
:param welcome_greeting_interruptible: Whether caller's speaking can interrupt the welcome greeting
:param debug: Whether debugging on the session is enabled
:param kwargs: additional attributes

:returns: <ConversationRelay> element
rf   rI   tts_languagetranscription_languagetts_providerr   transcription_providerrN   rD   dtmf_detectionwelcome_greetingpartial_promptsinterruptibleinterrupt_by_dtmfwelcome_greeting_interruptiblerL   r	   )r   ConversationRelay)r   rf   rI   r  r  r  r   r  rN   rD   r  r  r  r  r  r  rL   r   s                     r   conversation_relayConnect.conversation_relay
  s    V yy ! * (>	
 *  (> * "2  . "2 !0 , #4 0N  #
 	
r   c                     U R                  [        S0 SU_SU_SU_SU_SU_SU_SU_SU_S	U	_S
U
_SU_SU_SU_SU_SU_SU_UD65      $ )a=  
Create a <Assistant> element

:param id: The assistant ID of the AI Assistant
:param language: Language to be used for both text-to-speech and transcription
:param tts_language: Language to be used for text-to-speech
:param transcription_language: Language to be used for transcription
:param tts_provider: Provider to be used for text-to-speech
:param voice: Voice to be used for text-to-speech
:param transcription_provider: Provider to be used for transcription
:param speech_model: Speech model to be used for transcription
:param profanity_filter: Whether profanities should be filtered out of the speech transcription
:param dtmf_detection: Whether DTMF tones should be detected and reported in speech transcription
:param welcome_greeting: The sentence to be played automatically when the session is connected
:param partial_prompts: Whether partial prompts should be reported to WebSocket server before the caller finishes speaking
:param interruptible: Whether caller's speaking can interrupt the play of text-to-speech
:param interrupt_by_dtmf: Whether DTMF tone can interrupt the play of text-to-speech
:param welcome_greeting_interruptible: Whether caller's speaking can interrupt the welcome greeting
:param debug: Whether debugging on the session is enabled
:param kwargs: additional attributes

:returns: <Assistant> element
idrI   r  r  r  r   r  rN   rD   r  r  r  r  r  r  rL   r	   )r   	Assistant)r   r  rI   r  r  r  r   r  rN   rD   r  r  r  r  r  r  rL   r   s                     r   	assistantConnect.assistant
  s    V yy ! * (>	
 *  (> * "2  . "2 !0 , #4 0N  #
 	
r   r   r   r  r   r  )NNNNNNNNNNNNNNNN)r   r   r   r   r   r   r  r  r   r  r  r  r  r   r   r   s   @r   r   r   
  s    
	4 #!
J #
D "!#'"&)-(,#"9
z ##'+#?
F ##'+#?
 ?
r   r   c                   J   ^  \ rS rSrSrU 4S jr     SS jrSS jrSrU =r	$ )	r  i4  z<Assistant> TwiML Nounc                 <   > [         [        U ]
  " S0 UD6  SU l        g )Nr  r	   )r
   r  r   r   r   s     r   r   Assistant.__init__7  r$  r   c                 B    U R                  [        SUUUUUS.UD65      $ a  
Create a <Language> element

:param code: Language code of this language setting is for
:param tts_provider: Provider to be used for text-to-speech of this language
:param voice: Voice to be used for text-to-speech of this language
:param transcription_provider: Provider to be used for transcription of this language
:param speech_model: Speech model to be used for transcription of this language
:param kwargs: additional attributes

:returns: <Language> element
)coder  r   r  rN   r	   r   Languager   r  r  r   r  rN   r   s          r   rI   Assistant.language;  ;    * yy )'=) 	
 		
r   c                 :    U R                  [        SXS.UD65      $ r  r  r  s       r   r  Assistant.parameter[  r  r   r   r   r   
r   r   r   r   r   r   rI   r  r   r   r   s   @r   r  r  4  s.       #
@
F 
Fr   r  c                   ,   ^  \ rS rSrSrU 4S jrSrU =r$ )r  ih  z<Language> TwiML Nounc                 <   > [         [        U ]
  " S0 UD6  SU l        g )Nr  r	   )r
   r  r   r   r   s     r   r   Language.__init__k  s    h&00	r   r   r   r   s   @r   r  r  h  s     r   r  c                   J   ^  \ rS rSrSrU 4S jr     SS jrSS jrSrU =r	$ )	r  ip  z<ConversationRelay> TwiML Nounc                 <   > [         [        U ]
  " S0 UD6  SU l        g )Nr  r	   )r
   r  r   r   r   s     r   r   ConversationRelay.__init__s  s    /9&9'	r   c                 B    U R                  [        SUUUUUS.UD65      $ r  r  r  s          r   rI   ConversationRelay.languagew  r	  r   c                 :    U R                  [        SXS.UD65      $ r  r  r  s       r   r  ConversationRelay.parameter  r  r   r   r   r   r  r   s   @r   r  r  p  s.    (( #
@
F 
Fr   r  c                   ,   ^  \ rS rSrSrU 4S jrSrU =r$ )r  i  z<Conversation> TwiML Nounc                 <   > [         [        U ]
  " S0 UD6  SU l        g )Nr  r	   )r
   r  r   r   r   s     r   r   Conversation.__init__      lD*4V4"	r   r   r   r   s   @r   r  r    s    ## #r   r  c                   @   ^  \ rS rSrSrU 4S jrSS jrSS jrSrU =r	$ )r  i  z<VirtualAgent> TwiML Nounc                 <   > [         [        U ]
  " S0 UD6  SU l        g )Nr  r	   )r
   r  r   r   r   s     r   r   VirtualAgent.__init__  r  r   c                 :    U R                  [        SXS.UD65      $ r  r  r  s       r   r  VirtualAgent.config  r  r   c                 :    U R                  [        SXS.UD65      $ r  r  r  s       r   r  VirtualAgent.parameter  r  r   r   r   r   r   s   @r   r  r    s    ##
C
F 
Fr   r  c                   ,   ^  \ rS rSrSrU 4S jrSrU =r$ )r  i  z<Autopilot> TwiML Nounc                 H   > [         [        U ]
  " S0 UD6  SU l        Xl        g )Nr  r	   )r
   r  r   r   r   rR  s      r   r   Autopilot.__init__  s!    i'1&1	
r   r   r   r   s   @r   r  r    s      r   r  c                   ,   ^  \ rS rSrSrU 4S jrSrU =r$ )r  i  z<Room> TwiML Nounc                 H   > [         [        U ]
  " S0 UD6  SU l        Xl        g )Nr  r	   )r
   r  r   r   r   rR  s      r   r   Room.__init__  rq  r   r   r   r   s   @r   r  r    rr  r   r  N)8r   twilio.twimlr   r   r   r   r   r  r  r  r   r   r   r   r_   rj   r   r  r  r  r  r  r~  rl  rt  rc  rY  r   r   r   r   r~   rt   rX   rT   rP   r=   rj  r3   r/   r  r  r   r  r  r  r|  r  r   r  r  r  r  r  r  r  r	   r   r   <module>r)     s  
fHE fHR6E 6&u C
5 C
LFE F@   U FU F(FU F(C
E C
L-9U -9`E 5 EB% EBPW@E W@te  EB% EBPoBE oBd% EBu EBPzBE zBzoB5 oBd 1F% 1Fh% FU F(u U E E FU F(-LU -L`Se S.5 5 J
5 J
Z
F% FBU % % "U " FU FB%u %^
e ^
B	1F 1Fhu 1F 1Fh#5 #F5 F@ 5 r   