o
    �¨Êh��  ã                   @   s€  d Z ddlZddlmZmZ G dd„ deƒZG dd„ deƒZG dd	„ d	eƒZG d
d„ deƒZG dd„ deƒZ	G dd„ deƒZ
G dd„ deƒZG dd„ deƒZG dd„ deƒZG dd„ deƒZG dd„ deƒZG dd„ deƒZG dd„ deƒZG dd„ deƒZG d d!„ d!eƒZG d"d#„ d#eƒZG d$d%„ d%eƒZG d&d'„ d'eƒZG d(d)„ d)eƒZG d*d+„ d+eƒZG d,d-„ d-eƒZG d.d/„ d/eƒZG d0d1„ d1eƒZG d2d3„ d3eƒZG d4d5„ d5eƒZG d6d7„ d7eƒZG d8d9„ d9eƒZG d:d;„ d;eƒZ G d<d=„ d=eƒZ!G d>d?„ d?eƒZ"G d@dA„ dAeƒZ#G dBdC„ dCeƒZ$G dDdE„ dEeƒZ%G dFdG„ dGeƒZ&G dHdI„ dIeƒZ'G dJdK„ dKeƒZ(G dLdM„ dMeƒZ)G dNdO„ dOeƒZ*dS )Pza
This code was generated by
\ / _    _  _|   _  _
 | (_)\/(_)(_|\/| |(/_  v1.0.0
      /       /
é    N)ÚTwiMLÚformat_languagec                       sú   e Zd ZdZ‡ fdd„Zd'dd„Z						d(dd„Zd	d
„ Z		d)dd„Z					d*dd„Z	dd„ Z
dd„ Zd+dd„Zd,dd„Z		d-dd„Z					d.dd„Zd+dd„Zd+dd„Zd-dd „Z		d/d!d"„Z					d*d#d$„Zd-d%d&„Z‡  ZS )0ÚVoiceResponsez <Response> TwiML for Voice c                    ó    t t| ƒjdi |¤Ž d| _d S )NÚResponse© )Úsuperr   Ú__init__Úname©ÚselfÚkwargs©Ú	__class__r   úM/var/www/html/env/lib/python3.10/site-packages/twilio/twiml/voice_response.pyr	      ó   
zVoiceResponse.__init__Nc                 K   ó   |   td||dœ|¤Ž¡S )zÊ
        Create a <Connect> element

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

        :returns: <Connect> element
        )ÚactionÚmethodNr   )ÚnestÚConnect)r   r   r   r   r   r   r   Úconnect   ó   
zVoiceResponse.connectc                 K   s2   |   td|||||||||	|
||||dœ|¤Ž¡S )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 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_toneNr   )r   ÚDial)r   r   r   r   r   r   r   r   r   r   r    r!   r"   r#   r$   r   r   r   r   Údial#   s$   òñzVoiceResponse.dialc                 K   ó   |   tdi |¤Ž¡S )zy
        Create a <Echo> element

        :param kwargs: additional attributes

        :returns: <Echo> element
        Nr   )r   ÚEchor   r   r   r   ÚechoP   ó   zVoiceResponse.echoc                 K   ó"   |   td||||||dœ|¤Ž¡S )at  
        Create a <Enqueue> element

        :param name: Friendly name
        :param action: Action URL
        :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   r   Úwait_urlÚwait_url_methodÚworkflow_sidNr   )r   ÚEnqueue)r   r
   r   r   r,   r-   r.   r   r   r   r   ÚenqueueZ   s   úùzVoiceResponse.enqueuec                 K   ó4   |   td|||||||||	|
|||||dœ|¤Ž¡S )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 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ÚdebugNr   )r   ÚGather)r   r2   r   r   r   r3   r4   r5   r6   r7   r8   r9   r:   r;   r<   r=   r   r   r   r   Úgathers   ó&   ñðzVoiceResponse.gatherc                 K   r'   )z}
        Create a <Hangup> element

        :param kwargs: additional attributes

        :returns: <Hangup> element
        Nr   )r   ÚHangupr   r   r   r   Úhangup¡   r*   zVoiceResponse.hangupc                 K   r'   )z{
        Create a <Leave> element

        :param kwargs: additional attributes

        :returns: <Leave> element
        Nr   )r   ÚLeaver   r   r   r   Úleave«   r*   zVoiceResponse.leavec                 K   ó   |   tdd|i|¤Ž¡S ©z­
        Create a <Pause> element

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

        :returns: <Pause> element
        ÚlengthNr   ©r   ÚPause©r   rG   r   r   r   r   Úpauseµ   ó   	zVoiceResponse.pausec                 K   ó   |   td|||dœ|¤Ž¡S ©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ÚdigitsNr   ©r   ÚPlay©r   rO   rP   rQ   r   r   r   r   ÚplayÀ   ó   zVoiceResponse.playc              	   K   ó    |   t|f||||dœ|¤Ž¡S ©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
        )rO   r   Úreservation_sidÚpost_work_activity_sid©r   ÚQueue©r   r
   rO   r   rY   rZ   r   r   r   r   ÚqueueÍ   ó   ÿûúzVoiceResponse.queuec                 K   s,   |   td|||||||||	|
|dœ|¤Ž¡S )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 transcribe: Transcribe the recording
        :param transcribe_callback: Transcribe callback URL
        :param kwargs: additional attributes

        :returns: <Record> element
        )r   r   r   r6   Ú
max_lengthÚ	play_beepr   r    r!   Ú
transcribeÚtranscribe_callbackNr   )r   ÚRecord)r   r   r   r   r6   r`   ra   r   r    r!   rb   rc   r   r   r   r   r   ä   s   õôzVoiceResponse.recordc                 K   ó   |   t|fd|i|¤Ž¡S )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   rO   r   r   r   r   r   Úredirect
  r   zVoiceResponse.redirectc                 K   rE   )z¥
        Create a <Reject> element

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

        :returns: <Reject> element
        ÚreasonNr   )r   ÚReject)r   rh   r   r   r   r   Úreject  rL   zVoiceResponse.rejectc              	   K   ó   |   td||||dœ|¤Ž¡S ©a  
        Create a <Say> element

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

        :returns: <Say> element
        )ÚmessageÚvoicerP   r:   Nr   ©r   ÚSay©r   rm   rn   rP   r:   r   r   r   r   Úsay!  ó   zVoiceResponse.sayc              
   K   s"   |   t|f|||||dœ|¤Ž¡S )ay  
        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   rm   rt   ru   r   r   rv   r   r   r   r   Úsms/  s   ÿúùzVoiceResponse.smsc                 K   r1   )a4  
        Create a <Pay> element

        :param input: Input type Twilio should accept
        :param action: Action URL
        :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 payment_connector: Unique name for payment connector
        :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
        )r2   r   rv   Ústatus_callback_methodr   Úmax_attemptsÚsecurity_codeÚpostal_codeÚpayment_connectorÚ
token_typeÚcharge_amountÚcurrencyÚdescriptionÚvalid_card_typesr:   Nr   )r   ÚPay)r   r2   r   rv   ry   r   rz   r{   r|   r}   r~   r   r€   r�   r‚   r:   r   r   r   r   ÚpayH  r@   zVoiceResponse.payc              	   K   rk   ©a@  
        Create a <Prompt> element

        :param for_: Name of the credit card data element
        :param error_type: Type of error
        :param card_type: Type of the credit card
        :param attempt: Current attempt count
        :param kwargs: additional attributes

        :returns: <Prompt> element
        )Úfor_Ú
error_typeÚ	card_typeÚattemptNr   ©r   ÚPrompt©r   r†   r‡   rˆ   r‰   r   r   r   r   Úpromptv  ó   üûzVoiceResponse.prompt©NN)NNNNNNNNNNNNNN©NNNNNN)NNNNNNNNNNNNNNN©N©NNN©NNNN)NNNNNNNNNNN)NNNNN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r	   r   r&   r)   r0   r?   rB   rD   rK   rU   r^   r   rg   rj   rr   rx   r„   r�   Ú__classcell__r   r   r   r   r      s^    

û-

ÿ
ü.




ÿ
ü
&


ÿ
ü.r   c                       ó>   e Zd ZdZ‡ fdd„Zddd„Zddd„Zdd	d
„Z‡  ZS )r‹   z <Prompt> Twiml Verb c                    r   )Nr‹   r   )r   r‹   r	   r
   r   r   r   r   r	   �  r   zPrompt.__init__Nc              	   K   rk   rl   ro   rq   r   r   r   rr   “  rs   z
Prompt.sayc                 K   rM   rN   rR   rT   r   r   r   rU   ¡  rV   zPrompt.playc                 K   rE   rF   rH   rJ   r   r   r   rK   ®  rL   zPrompt.pauser“   r’   r‘   )	r”   r•   r–   r—   r	   rr   rU   rK   r˜   r   r   r   r   r‹   Œ  s    

r‹   c                       ó    e Zd ZdZ‡ fdd„Z‡  ZS )rI   z <Pause> TwiML Verb c                    r   )NrI   r   )r   rI   r	   r
   r   r   r   r   r	   ½  r   zPause.__init__©r”   r•   r–   r—   r	   r˜   r   r   r   r   rI   º  ó    rI   c                       s"   e Zd ZdZd‡ fdd„	Z‡  ZS )rS   z <Play> TwiML Verb Nc                    ó.   t t| ƒjdi |¤Ž d| _|r|| _d S d S )NrS   r   )r   rS   r	   r
   Úvalue©r   rO   r   r   r   r   r	   Å  ó
   
ÿzPlay.__init__r‘   r›   r   r   r   r   rS   Â  s    rS   c                       s‚   e Zd ZdZd‡ fdd„	Zddd„Zddd„Zdd	d
„Zdd„ Zddd„Z	ddd„Z
dd„ Zddd„Zddd„Zddd„Z‡  ZS )rp   z <Say> TwiML Verb Nc                    r�   )Nrp   r   )r   rp   r	   r
   rž   ©r   rm   r   r   r   r   r	   Ï  r    zSay.__init__c                 K   r   )a4  
        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ÚtimeNr   )r   Ú	SsmlBreak)r   r¢   r£   r   r   r   r   Ú
ssml_breakÕ  r   zSay.ssml_breakc                 K   re   )zß
        Create a <Emphasis> element

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

        :returns: <Emphasis> element
        Úlevel)r   ÚSsmlEmphasis)r   Úwordsr¦   r   r   r   r   Ússml_emphasisá  r   zSay.ssml_emphasisc                 K   re   )zÌ
        Create a <Lang> element

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

        :returns: <Lang> element
        Úxml_lang)r   ÚSsmlLang)r   r¨   rª   r   r   r   r   Ú	ssml_langí  r   zSay.ssml_langc                 K   ó   |   t|fi |¤Ž¡S )z˜
        Create a <P> element

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

        :returns: <P> element
        )r   ÚSsmlP©r   r¨   r   r   r   r   Ússml_pù  ó   	z
Say.ssml_pc                 K   ó   |   t|f||dœ|¤Ž¡S )a  
        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   r   r   r   Ússml_phoneme  rV   zSay.ssml_phonemec                 K   s   |   t|f|||dœ|¤Ž¡S )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
        )ÚvolumeÚrateÚpitch)r   ÚSsmlProsody)r   r¨   r·   r¸   r¹   r   r   r   r   Ússml_prosody  rs   zSay.ssml_prosodyc                 K   r­   )z˜
        Create a <S> element

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

        :returns: <S> element
        )r   ÚSsmlSr¯   r   r   r   Ússml_s  r±   z
Say.ssml_sc                 K   r²   )aB  
        Create a <Say-As> element

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

        :returns: <Say-As> element
        )Úinterpret_asÚrole)r   Ú	SsmlSayAs)r   r¨   r¾   r¿   r   r   r   r   Ússml_say_as*  rV   zSay.ssml_say_asc                 K   re   )a  
        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   r   r   r   Ússml_sub7  r   zSay.ssml_subc                 K   re   )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¿   )r   ÚSsmlW)r   r¨   r¿   r   r   r   r   Ússml_wC  r   z
Say.ssml_wr‘   r�   r’   )r”   r•   r–   r—   r	   r¥   r©   r¬   r°   r¶   r»   r½   rÁ   rÄ   rÆ   r˜   r   r   r   r   rp   Ì  s    






rp   c                       rš   )rÅ   z@ Improving Pronunciation by Specifying Parts of Speech in <Say> c                    ó&   t t| ƒjdi |¤Ž d| _|| _d S )NÚwr   )r   rÅ   r	   r
   rž   r¯   r   r   r   r	   S  ó   
zSsmlW.__init__r›   r   r   r   r   rÅ   P  rœ   rÅ   c                       rš   )rÃ   z1 Pronouncing Acronyms and Abbreviations in <Say> c                    rÇ   )NÚsubr   )r   rÃ   r	   r
   rž   r¯   r   r   r   r	   \  rÉ   zSsmlSub.__init__r›   r   r   r   r   rÃ   Y  rœ   rÃ   c                       rš   )rÀ   z< Controlling How Special Types of Words Are Spoken in <Say> c                    rÇ   )Nzsay-asr   )r   rÀ   r	   r
   rž   r¯   r   r   r   r	   e  rÉ   zSsmlSayAs.__init__r›   r   r   r   r   rÀ   b  rœ   rÀ   c                       rš   )r¼   z+ Adding A Pause Between Sentences in <Say> c                    rÇ   )NÚsr   )r   r¼   r	   r
   rž   r¯   r   r   r   r	   n  rÉ   zSsmlS.__init__r›   r   r   r   r   r¼   k  rœ   r¼   c                       rš   )rº   z6 Controling Volume, Speaking Rate, and Pitch in <Say> c                    rÇ   )NÚprosodyr   )r   rº   r	   r
   rž   r¯   r   r   r   r	   w  rÉ   zSsmlProsody.__init__r›   r   r   r   r   rº   t  rœ   rº   c                       rš   )rµ   z' Using Phonetic Pronunciation in <Say> c                    rÇ   )NÚphonemer   )r   rµ   r	   r
   rž   r¯   r   r   r   r	   €  rÉ   zSsmlPhoneme.__init__r›   r   r   r   r   rµ   }  rœ   rµ   c                       rš   )r®   z, Adding a Pause Between Paragraphs in <Say> c                    rÇ   )NÚpr   )r   r®   r	   r
   rž   r¯   r   r   r   r	   ‰  rÉ   zSsmlP.__init__r›   r   r   r   r   r®   †  rœ   r®   c                       rš   )r«   z9 Specifying Another Language for Specific Words in <Say> c                    rÇ   )NÚlangr   )r   r«   r	   r
   rž   r¯   r   r   r   r	   ’  rÉ   zSsmlLang.__init__r›   r   r   r   r   r«   �  rœ   r«   c                       rš   )r§   z Emphasizing Words in <Say> c                    rÇ   )NÚemphasisr   )r   r§   r	   r
   rž   r¯   r   r   r   r	   ›  rÉ   zSsmlEmphasis.__init__r›   r   r   r   r   r§   ˜  rœ   r§   c                       rš   )r¤   z Adding a Pause in <Say> c                    r   )NÚbreakr   )r   r¤   r	   r
   r   r   r   r   r	   ¤  r   zSsmlBreak.__init__r›   r   r   r   r   r¤   ¡  rœ   r¤   c                       s*   e Zd ZdZ‡ fdd„Zddd„Z‡  ZS )rƒ   z <Pay> Twiml Verb c                    r   )Nrƒ   r   )r   rƒ   r	   r
   r   r   r   r   r	   ¬  r   zPay.__init__Nc              	   K   rk   r…   rŠ   rŒ   r   r   r   r�   °  rŽ   z
Pay.promptr“   )r”   r•   r–   r—   r	   r�   r˜   r   r   r   r   rƒ   ©  s    rƒ   c                       rš   )rw   z <Sms> TwiML Noun c                    rÇ   )Nrw   r   )r   rw   r	   r
   rž   r¡   r   r   r   r	   É  rÉ   zSms.__init__r›   r   r   r   r   rw   Æ  rœ   rw   c                       rš   )ri   z <Reject> TwiML Verb c                    r   )Nri   r   )r   ri   r	   r
   r   r   r   r   r	   Ò  r   zReject.__init__r›   r   r   r   r   ri   Ï  rœ   ri   c                       rš   )rf   z <Redirect> TwiML Verb c                    rÇ   )Nrf   r   )r   rf   r	   r
   rž   rŸ   r   r   r   r	   Ú  rÉ   zRedirect.__init__r›   r   r   r   r   rf   ×  rœ   rf   c                       rš   )rd   z <Record> TwiML Verb c                    r   )Nrd   r   )r   rd   r	   r
   r   r   r   r   r	   ã  r   zRecord.__init__r›   r   r   r   r   rd   à  rœ   rd   c                       rš   )r\   z <Queue> TwiML Noun c                    rÇ   )Nr\   r   )r   r\   r	   r
   rž   ©r   r
   r   r   r   r   r	   ë  rÉ   zQueue.__init__r›   r   r   r   r   r\   è  rœ   r\   c                       rš   )rC   z <Leave> TwiML Verb c                    r   )NrC   r   )r   rC   r	   r
   r   r   r   r   r	   ô  r   zLeave.__init__r›   r   r   r   r   rC   ñ  rœ   rC   c                       rš   )rA   z <Hangup> TwiML Verb c                    r   )NrA   r   )r   rA   r	   r
   r   r   r   r   r	   ü  r   zHangup.__init__r›   r   r   r   r   rA   ù  rœ   rA   c                       r™   )r>   z <Gather> TwiML Verb c                    r   )Nr>   r   )r   r>   r	   r
   r   r   r   r   r	     r   zGather.__init__Nc              	   K   rk   rl   ro   rq   r   r   r   rr     rs   z
Gather.sayc                 K   rE   rF   rH   rJ   r   r   r   rK     rL   zGather.pausec                 K   rM   rN   rR   rT   r   r   r   rU   !  rV   zGather.playr“   r‘   r’   )	r”   r•   r–   r—   r	   rr   rK   rU   r˜   r   r   r   r   r>     s    

r>   c                       s,   e Zd ZdZd‡ fdd„	Zddd„Z‡  ZS )	r/   z <Enqueue> TwiML Noun Nc                    r�   )Nr/   r   )r   r/   r	   r
   rž   rÒ   r   r   r   r	   2  r    zEnqueue.__init__c                 K   r²   )a  
        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   ÚbodyrÓ   r   r   r   r   r   Útask8  rV   zEnqueue.taskr‘   r�   )r”   r•   r–   r—   r	   rÖ   r˜   r   r   r   r   r/   /  s    r/   c                       rš   )rÔ   z <Task> TwiML Noun c                    rÇ   )NrÔ   r   )r   rÔ   r	   r
   rž   )r   rÕ   r   r   r   r   r	   I  rÉ   zTask.__init__r›   r   r   r   r   rÔ   F  rœ   rÔ   c                       rš   )r(   z <Echo> TwiML Verb c                    r   )Nr(   r   )r   r(   r	   r
   r   r   r   r   r	   R  r   zEcho.__init__r›   r   r   r   r   r(   O  rœ   r(   c                       s‚   e Zd ZdZd‡ fdd„	Z			ddd„Z								ddd„Z			dd	d
„Z		ddd„Zdd„ Z				ddd„Z
‡  ZS )r%   z <Dial> TwiML Verb Nc                    r�   )Nr%   r   )r   r%   r	   r
   rž   )r   r   r   r   r   r   r	   Z  r    zDial.__init__c                 K   r+   )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
        )ÚidentityrO   r   Ústatus_callback_eventrv   ry   Nr   )r   ÚClient)r   r×   rO   r   rØ   rv   ry   r   r   r   r   Úclient`  s   úùzDial.clientc                 K   s‚   |   t|fi d|“d|“d|“d|“d|“d|“d|“d|	“d	|
“d
|“d|“d|“d|“d|“d|“d|“d|“d|“|¤Ž¡S )a¯  
        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 whisper: Call whisper
        :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 kwargs: additional attributes

        :returns: <Conference> element
        ÚmutedÚbeepÚstart_conference_on_enterÚend_conference_on_exitr,   Úwait_methodÚmax_participantsr   ÚregionÚwhisperr   rØ   rv   ry   r    r!   r"   Úevent_callback_url)r   Ú
Conference)r   r
   rÛ   rÜ   rÝ   rÞ   r,   rß   rà   r   rá   râ   r   rØ   rv   ry   r    r!   r"   rã   r   r   r   r   Ú
conferencez  sP   #ÿþýüûúùø	÷
öõôóòñðïîìzDial.conferencec           	      K   s$   |   t|f||||||dœ|¤Ž¡S )aù  
        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 kwargs: additional attributes

        :returns: <Number> element
        )Úsend_digitsrO   r   rØ   rv   ry   )r   ÚNumber)	r   Úphone_numberræ   rO   r   rØ   rv   ry   r   r   r   r   r   ´  s   ÿùøzDial.numberc              	   K   rW   rX   r[   r]   r   r   r   r^   Ð  r_   z
Dial.queuec                 K   r­   )z—
        Create a <Sim> element

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

        :returns: <Sim> element
        )r   ÚSim©r   Úsim_sidr   r   r   r   Úsimç  r±   zDial.simc	           
      K   s&   |   t|f|||||||dœ|	¤Ž¡S )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 kwargs: additional attributes

        :returns: <Sip> element
        )ÚusernameÚpasswordrO   r   rØ   rv   ry   )r   ÚSip)
r   Úsip_urlrí   rî   rO   r   rØ   rv   ry   r   r   r   r   Úsipò  s   ÿø	÷zDial.sipr‘   r�   )NNNNNNNNNNNNNNNNNNr“   )NNNNNNN)r”   r•   r–   r—   r	   rÚ   rå   r   r^   rì   rñ   r˜   r   r   r   r   r%   W  s8    
þ
ù:
þ
ÿþr%   c                       rš   )rï   z <Sip> TwiML Noun c                    rÇ   )Nrï   r   )r   rï   r	   r
   rž   )r   rð   r   r   r   r   r	     rÉ   zSip.__init__r›   r   r   r   r   rï     rœ   rï   c                       rš   )ré   z <Sim> TwiML Noun c                    rÇ   )Nré   r   )r   ré   r	   r
   rž   rê   r   r   r   r	     rÉ   zSim.__init__r›   r   r   r   r   ré     rœ   ré   c                       rš   )rç   z <Number> TwiML Noun c                    rÇ   )Nrç   r   )r   rç   r	   r
   rž   )r   rè   r   r   r   r   r	   &  rÉ   zNumber.__init__r›   r   r   r   r   rç   #  rœ   rç   c                       rš   )rä   z <Conference> TwiML Noun c                    rÇ   )Nrä   r   )r   rä   r	   r
   rž   rÒ   r   r   r   r	   /  rÉ   zConference.__init__r›   r   r   r   r   rä   ,  rœ   rä   c                       s4   e Zd ZdZd	‡ fdd„	Zdd„ Zd
dd„Z‡  ZS )rÙ   z <Client> TwiML Noun Nc                    r�   )NrÙ   r   )r   rÙ   r	   r
   rž   )r   r×   r   r   r   r   r	   8  r    zClient.__init__c                 K   r­   )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   r   r   r   r×   >  r±   zClient.identityc                 K   r   )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ž   Nr   )r   Ú	Parameter)r   r
   rž   r   r   r   r   Ú	parameterI  r   zClient.parameterr‘   r�   )r”   r•   r–   r—   r	   r×   rö   r˜   r   r   r   r   rÙ   5  s
    rÙ   c                       rš   )rõ   z <Parameter> TwiML Noun c                    r   )Nrõ   r   )r   rõ   r	   r
   r   r   r   r   r	   Y  r   zParameter.__init__r›   r   r   r   r   rõ   V  rœ   rõ   c                       rš   )rò   z <Identity> TwiML Noun c                    rÇ   )Nrò   r   )r   rò   r	   r
   rž   ró   r   r   r   r	   a  rÉ   zIdentity.__init__r›   r   r   r   r   rò   ^  rœ   rò   c                       s2   e Zd ZdZ‡ fdd„Zd	dd„Zdd„ Z‡  ZS )
r   z <Connect> TwiML Verb c                    r   )Nr   r   )r   r   r	   r
   r   r   r   r   r	   j  r   zConnect.__init__Nc                 K   re   )zí
        Create a <Room> element

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

        :returns: <Room> element
        ÚparticipantIdentity)r   ÚRoom)r   r
   r÷   r   r   r   r   Úroomn  r   zConnect.roomc                 K   r­   )z¿
        Create a <Autopilot> element

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

        :returns: <Autopilot> element
        )r   Ú	AutopilotrÒ   r   r   r   Ú	autopilotz  r±   zConnect.autopilotr‘   )r”   r•   r–   r—   r	   rù   rû   r˜   r   r   r   r   r   g  s
    
r   c                       rš   )rú   z <Autopilot> TwiML Noun c                    rÇ   )Nrú   r   )r   rú   r	   r
   rž   rÒ   r   r   r   r	   ‰  rÉ   zAutopilot.__init__r›   r   r   r   r   rú   †  rœ   rú   c                       rš   )rø   z <Room> TwiML Noun c                    rÇ   )Nrø   r   )r   rø   r	   r
   rž   rÒ   r   r   r   r	   ’  rÉ   zRoom.__init__r›   r   r   r   r   rø   �  rœ   rø   )+r—   ÚjsonÚtwilio.twimlr   r   r   r‹   rI   rS   rp   rÅ   rÃ   rÀ   r¼   rº   rµ   r®   r«   r§   r¤   rƒ   rw   ri   rf   rd   r\   rC   rA   r>   r/   rÔ   r(   r%   rï   ré   rç   rä   rÙ   rõ   rò   r   rú   rø   r   r   r   r   Ú<module>   sZ     ~.
 												.	 ;				!		