
    pi?                      b   d dl mZ d dlmZ d dlmZmZ d dlmZ d dl	m
Z
 d dlmZ d dlmZ d dlmZ d d	lmZ d d
lmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlm Z  d dl!m"Z" d dl#m$Z$ d dl%m&Z& d dl'm(Z( d dl)m*Z* d dl+m,Z, d dl-m.Z. d dl/m0Z0 d dl1m2Z2 d dl3m4Z4 d dl5m6Z6  G d de      Z7y)    )warn)ApiBase)AccountContextAccountList)AddressList)ApplicationList)AuthorizedConnectAppList)AvailablePhoneNumberCountryList)BalanceList)CallList)ConferenceList)ConnectAppList)IncomingPhoneNumberList)KeyList)MessageList)
NewKeyList)NewSigningKeyList)NotificationList)OutgoingCallerIdList)	QueueList)RecordingList)ShortCodeList)SigningKeyList)SipList)	TokenList)TranscriptionList)	UsageList)ValidationRequestListc                   H   e Zd Zedefd       Zedefd       Zedefd       Z	ede
fd       Zedefd       Zedefd       Zedefd       Zedefd	       Zedefd
       Zedefd       Zedefd       Zedefd       Zedefd       Zedefd       Zede fd       Z!ede"fd       Z#ede$fd       Z%ede&fd       Z'ede(fd       Z)ede*fd       Z+ede,fd       Z-ede.fd       Z/ede0fd       Z1ede2fd       Z3ede4fd       Z5ede6fd       Z7y)Apireturnc                 .    | j                   j                  S N)v2010accountselfs    Z/opt/services/ai/voice_agent/venv/lib/python3.12/site-packages/twilio/rest/api/__init__.pyr%   zApi.account$   s    zz!!!    c                 .    | j                   j                  S r#   )r$   accountsr&   s    r(   r+   zApi.accounts(   s    zz"""r)   c                 R    t        dt        d       | j                  j                  S )Nz7addresses is deprecated. Use account.addresses instead.   
stacklevel)r   DeprecationWarningr%   	addressesr&   s    r(   r1   zApi.addresses,   s%    E	

 ||%%%r)   c                 R    t        dt        d       | j                  j                  S )Nz=applications is deprecated. Use account.applications instead.r-   r.   )r   r0   r%   applicationsr&   s    r(   r3   zApi.applications5   %    K	

 ||(((r)   c                 R    t        dt        d       | j                  j                  S )NzSauthorized_connect_apps is deprecated. Use account.authorized_connect_apps instead.r-   r.   )r   r0   r%   authorized_connect_appsr&   s    r(   r6   zApi.authorized_connect_apps>   %    a	

 ||333r)   c                 R    t        dt        d       | j                  j                  S )NzSavailable_phone_numbers is deprecated. Use account.available_phone_numbers instead.r-   r.   )r   r0   r%   available_phone_numbersr&   s    r(   r9   zApi.available_phone_numbersG   r7   r)   c                 R    t        dt        d       | j                  j                  S )Nz3balance is deprecated. Use account.balance instead.r-   r.   )r   r0   r%   balancer&   s    r(   r;   zApi.balanceP   s%    A	

 ||###r)   c                 R    t        dt        d       | j                  j                  S )Nz/calls is deprecated. Use account.calls instead.r-   r.   )r   r0   r%   callsr&   s    r(   r=   z	Api.callsY   %    =	

 ||!!!r)   c                 R    t        dt        d       | j                  j                  S )Nz;conferences is deprecated. Use account.conferences instead.r-   r.   )r   r0   r%   conferencesr&   s    r(   r@   zApi.conferencesb   %    I	

 ||'''r)   c                 R    t        dt        d       | j                  j                  S )Nz=connect_apps is deprecated. Use account.connect_apps instead.r-   r.   )r   r0   r%   connect_appsr&   s    r(   rC   zApi.connect_appsk   r4   r)   c                 R    t        dt        d       | j                  j                  S )NzQincoming_phone_numbers is deprecated. Use account.incoming_phone_numbers instead.r-   r.   )r   r0   r%   incoming_phone_numbersr&   s    r(   rE   zApi.incoming_phone_numberst   s%    _	

 ||222r)   c                 R    t        dt        d       | j                  j                  S )Nz-keys is deprecated. Use account.keys instead.r-   r.   )r   r0   r%   keysr&   s    r(   rG   zApi.keys}   s%    ;	

 ||   r)   c                 R    t        dt        d       | j                  j                  S )Nz5messages is deprecated. Use account.messages instead.r-   r.   )r   r0   r%   messagesr&   s    r(   rI   zApi.messages   %    C	

 ||$$$r)   c                 R    t        dt        d       | j                  j                  S )Nz5new_keys is deprecated. Use account.new_keys instead.r-   r.   )r   r0   r%   new_keysr&   s    r(   rL   zApi.new_keys   rJ   r)   c                 R    t        dt        d       | j                  j                  S )NzEnew_signing_keys is deprecated. Use account.new_signing_keys instead.r-   r.   )r   r0   r%   new_signing_keysr&   s    r(   rN   zApi.new_signing_keys   s%    S	

 ||,,,r)   c                 R    t        dt        d       | j                  j                  S )Nz?notifications is deprecated. Use account.notifications instead.r-   r.   )r   r0   r%   notificationsr&   s    r(   rP   zApi.notifications   s%    M	

 ||)))r)   c                 R    t        dt        d       | j                  j                  S )NzKoutgoing_caller_ids is deprecated. Use account.outgoing_caller_ids instead.r-   r.   )r   r0   r%   outgoing_caller_idsr&   s    r(   rR   zApi.outgoing_caller_ids   %    Y	

 ||///r)   c                 R    t        dt        d       | j                  j                  S )Nz1queues is deprecated. Use account.queues instead.r-   r.   )r   r0   r%   queuesr&   s    r(   rU   z
Api.queues   %    ?	

 ||"""r)   c                 R    t        dt        d       | j                  j                  S )Nz9recordings is deprecated. Use account.recordings instead.r-   r.   )r   r0   r%   
recordingsr&   s    r(   rX   zApi.recordings   s%    G	

 ||&&&r)   c                 R    t        dt        d       | j                  j                  S )Nz=signing_keys is deprecated. Use account.signing_keys instead.r-   r.   )r   r0   r%   signing_keysr&   s    r(   rZ   zApi.signing_keys   r4   r)   c                 R    t        dt        d       | j                  j                  S )Nz+sip is deprecated. Use account.sip instead.r-   r.   )r   r0   r%   sipr&   s    r(   r\   zApi.sip   s%    9	

 ||r)   c                 R    t        dt        d       | j                  j                  S )Nz;short_codes is deprecated. Use account.short_codes instead.r-   r.   )r   r0   r%   short_codesr&   s    r(   r^   zApi.short_codes   rA   r)   c                 R    t        dt        d       | j                  j                  S )Nz1tokens is deprecated. Use account.tokens instead.r-   r.   )r   r0   r%   tokensr&   s    r(   r`   z
Api.tokens   rV   r)   c                 R    t        dt        d       | j                  j                  S )NzAtranscriptions is deprecated. Use account.transcriptions instead.r-   r.   )r   r0   r%   transcriptionsr&   s    r(   rb   zApi.transcriptions   s%    O	

 ||***r)   c                 R    t        dt        d       | j                  j                  S )Nz/usage is deprecated. Use account.usage instead.r-   r.   )r   r0   r%   usager&   s    r(   rd   z	Api.usage   r>   r)   c                 R    t        dt        d       | j                  j                  S )NzKvalidation_requests is deprecated. Use account.validation_requests instead.r-   r.   )r   r0   r%   validation_requestsr&   s    r(   rf   zApi.validation_requests   rS   r)   N)8__name__
__module____qualname__propertyr   r%   r   r+   r   r1   r   r3   r	   r6   r
   r9   r   r;   r   r=   r   r@   r   rC   r   rE   r   rG   r   rI   r   rL   r   rN   r   rP   r   rR   r   rU   r   rX   r   rZ   r   r\   r   r^   r   r`   r   rb   r   rd   r   rf    r)   r(   r    r    #   s   " " " #+ # # &; & & )o ) ) 4)A 4 4 4)H 4 4 $ $ $ "x " " (^ ( ( )n ) ) 3(? 3 3 !g ! ! %+ % % %* % % -"3 - - */ * * 0%9 0 0 #	 # # 'M ' ' )n ) )  W     (] ( ( #	 # # + 1 + + "y " " 0%: 0 0r)   r    N)8warningsr   twilio.rest.api.ApiBaser   twilio.rest.api.v2010.accountr   r   %twilio.rest.api.v2010.account.addressr   )twilio.rest.api.v2010.account.applicationr   4twilio.rest.api.v2010.account.authorized_connect_appr	   <twilio.rest.api.v2010.account.available_phone_number_countryr
   %twilio.rest.api.v2010.account.balancer   "twilio.rest.api.v2010.account.callr   (twilio.rest.api.v2010.account.conferencer   )twilio.rest.api.v2010.account.connect_appr   3twilio.rest.api.v2010.account.incoming_phone_numberr   !twilio.rest.api.v2010.account.keyr   %twilio.rest.api.v2010.account.messager   %twilio.rest.api.v2010.account.new_keyr   -twilio.rest.api.v2010.account.new_signing_keyr   *twilio.rest.api.v2010.account.notificationr   0twilio.rest.api.v2010.account.outgoing_caller_idr   #twilio.rest.api.v2010.account.queuer   'twilio.rest.api.v2010.account.recordingr   (twilio.rest.api.v2010.account.short_coder   )twilio.rest.api.v2010.account.signing_keyr   !twilio.rest.api.v2010.account.sipr   #twilio.rest.api.v2010.account.tokenr   +twilio.rest.api.v2010.account.transcriptionr   #twilio.rest.api.v2010.account.usager   0twilio.rest.api.v2010.account.validation_requestr   r    rk   r)   r(   <module>r      sj     + E = E > 7 C D W 5 = < K G Q 9 A B D 5 9 I 9 R_0' _0r)   