o
    f>h?                      @   s\  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 deZ7dS )    )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                   @   s  e Zd ZedefddZedefddZedefddZ	ede
fdd	Zedefd
dZedefddZedefddZedefddZedefddZedefddZedefddZedefddZedefddZedefddZede fddZ!ede"fd d!Z#ede$fd"d#Z%ede&fd$d%Z'ede(fd&d'Z)ede*fd(d)Z+ede,fd*d+Z-ede.fd,d-Z/ede0fd.d/Z1ede2fd0d1Z3ede4fd2d3Z5ede6fd4d5Z7d6S )7Apireturnc                 C      | j jS N)v2010accountself r&   K/var/www/html/venv/lib/python3.10/site-packages/twilio/rest/api/__init__.pyr#   $      zApi.accountc                 C   r    r!   )r"   accountsr$   r&   r&   r'   r)   (   r(   zApi.accountsc                 C      t dtdd | jjS )Nz7addresses is deprecated. Use account.addresses instead.   
stacklevel)r   DeprecationWarningr#   	addressesr$   r&   r&   r'   r/   ,      zApi.addressesc                 C   r*   )Nz=applications is deprecated. Use account.applications instead.r+   r,   )r   r.   r#   applicationsr$   r&   r&   r'   r1   5   r0   zApi.applicationsc                 C   r*   )NzSauthorized_connect_apps is deprecated. Use account.authorized_connect_apps instead.r+   r,   )r   r.   r#   authorized_connect_appsr$   r&   r&   r'   r2   >   r0   zApi.authorized_connect_appsc                 C   r*   )NzSavailable_phone_numbers is deprecated. Use account.available_phone_numbers instead.r+   r,   )r   r.   r#   available_phone_numbersr$   r&   r&   r'   r3   G   r0   zApi.available_phone_numbersc                 C   r*   )Nz3balance is deprecated. Use account.balance instead.r+   r,   )r   r.   r#   balancer$   r&   r&   r'   r4   P   r0   zApi.balancec                 C   r*   )Nz/calls is deprecated. Use account.calls instead.r+   r,   )r   r.   r#   callsr$   r&   r&   r'   r5   Y   r0   z	Api.callsc                 C   r*   )Nz;conferences is deprecated. Use account.conferences instead.r+   r,   )r   r.   r#   conferencesr$   r&   r&   r'   r6   b   r0   zApi.conferencesc                 C   r*   )Nz=connect_apps is deprecated. Use account.connect_apps instead.r+   r,   )r   r.   r#   connect_appsr$   r&   r&   r'   r7   k   r0   zApi.connect_appsc                 C   r*   )NzQincoming_phone_numbers is deprecated. Use account.incoming_phone_numbers instead.r+   r,   )r   r.   r#   incoming_phone_numbersr$   r&   r&   r'   r8   t   r0   zApi.incoming_phone_numbersc                 C   r*   )Nz-keys is deprecated. Use account.keys instead.r+   r,   )r   r.   r#   keysr$   r&   r&   r'   r9   }   r0   zApi.keysc                 C   r*   )Nz5messages is deprecated. Use account.messages instead.r+   r,   )r   r.   r#   messagesr$   r&   r&   r'   r:      r0   zApi.messagesc                 C   r*   )Nz5new_keys is deprecated. Use account.new_keys instead.r+   r,   )r   r.   r#   new_keysr$   r&   r&   r'   r;      r0   zApi.new_keysc                 C   r*   )NzEnew_signing_keys is deprecated. Use account.new_signing_keys instead.r+   r,   )r   r.   r#   new_signing_keysr$   r&   r&   r'   r<      r0   zApi.new_signing_keysc                 C   r*   )Nz?notifications is deprecated. Use account.notifications instead.r+   r,   )r   r.   r#   notificationsr$   r&   r&   r'   r=      r0   zApi.notificationsc                 C   r*   )NzKoutgoing_caller_ids is deprecated. Use account.outgoing_caller_ids instead.r+   r,   )r   r.   r#   outgoing_caller_idsr$   r&   r&   r'   r>      r0   zApi.outgoing_caller_idsc                 C   r*   )Nz1queues is deprecated. Use account.queues instead.r+   r,   )r   r.   r#   queuesr$   r&   r&   r'   r?      r0   z
Api.queuesc                 C   r*   )Nz9recordings is deprecated. Use account.recordings instead.r+   r,   )r   r.   r#   
recordingsr$   r&   r&   r'   r@      r0   zApi.recordingsc                 C   r*   )Nz=signing_keys is deprecated. Use account.signing_keys instead.r+   r,   )r   r.   r#   signing_keysr$   r&   r&   r'   rA      r0   zApi.signing_keysc                 C   r*   )Nz+sip is deprecated. Use account.sip instead.r+   r,   )r   r.   r#   sipr$   r&   r&   r'   rB      r0   zApi.sipc                 C   r*   )Nz;short_codes is deprecated. Use account.short_codes instead.r+   r,   )r   r.   r#   short_codesr$   r&   r&   r'   rC      r0   zApi.short_codesc                 C   r*   )Nz1tokens is deprecated. Use account.tokens instead.r+   r,   )r   r.   r#   tokensr$   r&   r&   r'   rD      r0   z
Api.tokensc                 C   r*   )NzAtranscriptions is deprecated. Use account.transcriptions instead.r+   r,   )r   r.   r#   transcriptionsr$   r&   r&   r'   rE      r0   zApi.transcriptionsc                 C   r*   )Nz/usage is deprecated. Use account.usage instead.r+   r,   )r   r.   r#   usager$   r&   r&   r'   rF      r0   z	Api.usagec                 C   r*   )NzKvalidation_requests is deprecated. Use account.validation_requests instead.r+   r,   )r   r.   r#   validation_requestsr$   r&   r&   r'   rG      r0   zApi.validation_requestsN)8__name__
__module____qualname__propertyr   r#   r   r)   r   r/   r   r1   r   r2   r	   r3   r
   r4   r   r5   r   r6   r   r7   r   r8   r   r9   r   r:   r   r;   r   r<   r   r=   r   r>   r   r?   r   r@   r   rA   r   rB   r   rC   r   rD   r   rE   r   rF   r   rG   r&   r&   r&   r'   r   #   sj    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   r&   r&   r&   r'   <module>   s8    