a
    !f?                      @   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edddZeedddZeedddZ	ee
ddd	Zeedd
dZeedddZeedddZeedddZeedddZeedddZeedddZeedddZeedddZeedddZee dddZ!ee"dd d!Z#ee$dd"d#Z%ee&dd$d%Z'ee(dd&d'Z)ee*dd(d)Z+ee,dd*d+Z-ee.dd,d-Z/ee0dd.d/Z1ee2dd0d1Z3ee4dd2d3Z5ee6dd4d5Z7d6S )7Api)returnc                 C   s   | j jS N)v2010accountself r%   Y/var/www/html/python-backend/venv/lib/python3.9/site-packages/twilio/rest/api/__init__.pyr"   $   s    zApi.accountc                 C   s   | j jS r    )r!   accountsr#   r%   r%   r&   r'   (   s    zApi.accountsc                 C   s   t dtdd | jjS )Nz7addresses is deprecated. Use account.addresses instead.   
stacklevel)r   DeprecationWarningr"   	addressesr#   r%   r%   r&   r,   ,   s    zApi.addressesc                 C   s   t dtdd | jjS )Nz=applications is deprecated. Use account.applications instead.r(   r)   )r   r+   r"   applicationsr#   r%   r%   r&   r-   5   s    zApi.applicationsc                 C   s   t dtdd | jjS )NzSauthorized_connect_apps is deprecated. Use account.authorized_connect_apps instead.r(   r)   )r   r+   r"   authorized_connect_appsr#   r%   r%   r&   r.   >   s    zApi.authorized_connect_appsc                 C   s   t dtdd | jjS )NzSavailable_phone_numbers is deprecated. Use account.available_phone_numbers instead.r(   r)   )r   r+   r"   available_phone_numbersr#   r%   r%   r&   r/   G   s    zApi.available_phone_numbersc                 C   s   t dtdd | jjS )Nz3balance is deprecated. Use account.balance instead.r(   r)   )r   r+   r"   balancer#   r%   r%   r&   r0   P   s    zApi.balancec                 C   s   t dtdd | jjS )Nz/calls is deprecated. Use account.calls instead.r(   r)   )r   r+   r"   callsr#   r%   r%   r&   r1   Y   s    z	Api.callsc                 C   s   t dtdd | jjS )Nz;conferences is deprecated. Use account.conferences instead.r(   r)   )r   r+   r"   conferencesr#   r%   r%   r&   r2   b   s    zApi.conferencesc                 C   s   t dtdd | jjS )Nz=connect_apps is deprecated. Use account.connect_apps instead.r(   r)   )r   r+   r"   connect_appsr#   r%   r%   r&   r3   k   s    zApi.connect_appsc                 C   s   t dtdd | jjS )NzQincoming_phone_numbers is deprecated. Use account.incoming_phone_numbers instead.r(   r)   )r   r+   r"   incoming_phone_numbersr#   r%   r%   r&   r4   t   s    zApi.incoming_phone_numbersc                 C   s   t dtdd | jjS )Nz-keys is deprecated. Use account.keys instead.r(   r)   )r   r+   r"   keysr#   r%   r%   r&   r5   }   s    zApi.keysc                 C   s   t dtdd | jjS )Nz5messages is deprecated. Use account.messages instead.r(   r)   )r   r+   r"   messagesr#   r%   r%   r&   r6      s    zApi.messagesc                 C   s   t dtdd | jjS )Nz5new_keys is deprecated. Use account.new_keys instead.r(   r)   )r   r+   r"   new_keysr#   r%   r%   r&   r7      s    zApi.new_keysc                 C   s   t dtdd | jjS )NzEnew_signing_keys is deprecated. Use account.new_signing_keys instead.r(   r)   )r   r+   r"   new_signing_keysr#   r%   r%   r&   r8      s    zApi.new_signing_keysc                 C   s   t dtdd | jjS )Nz?notifications is deprecated. Use account.notifications instead.r(   r)   )r   r+   r"   notificationsr#   r%   r%   r&   r9      s    zApi.notificationsc                 C   s   t dtdd | jjS )NzKoutgoing_caller_ids is deprecated. Use account.outgoing_caller_ids instead.r(   r)   )r   r+   r"   outgoing_caller_idsr#   r%   r%   r&   r:      s    zApi.outgoing_caller_idsc                 C   s   t dtdd | jjS )Nz1queues is deprecated. Use account.queues instead.r(   r)   )r   r+   r"   queuesr#   r%   r%   r&   r;      s    z
Api.queuesc                 C   s   t dtdd | jjS )Nz9recordings is deprecated. Use account.recordings instead.r(   r)   )r   r+   r"   
recordingsr#   r%   r%   r&   r<      s    zApi.recordingsc                 C   s   t dtdd | jjS )Nz=signing_keys is deprecated. Use account.signing_keys instead.r(   r)   )r   r+   r"   signing_keysr#   r%   r%   r&   r=      s    zApi.signing_keysc                 C   s   t dtdd | jjS )Nz+sip is deprecated. Use account.sip instead.r(   r)   )r   r+   r"   sipr#   r%   r%   r&   r>      s    zApi.sipc                 C   s   t dtdd | jjS )Nz;short_codes is deprecated. Use account.short_codes instead.r(   r)   )r   r+   r"   short_codesr#   r%   r%   r&   r?      s    zApi.short_codesc                 C   s   t dtdd | jjS )Nz1tokens is deprecated. Use account.tokens instead.r(   r)   )r   r+   r"   tokensr#   r%   r%   r&   r@      s    z
Api.tokensc                 C   s   t dtdd | jjS )NzAtranscriptions is deprecated. Use account.transcriptions instead.r(   r)   )r   r+   r"   transcriptionsr#   r%   r%   r&   rA      s    zApi.transcriptionsc                 C   s   t dtdd | jjS )Nz/usage is deprecated. Use account.usage instead.r(   r)   )r   r+   r"   usager#   r%   r%   r&   rB      s    z	Api.usagec                 C   s   t dtdd | jjS )NzKvalidation_requests is deprecated. Use account.validation_requests instead.r(   r)   )r   r+   r"   validation_requestsr#   r%   r%   r&   rC      s    zApi.validation_requestsN)8__name__
__module____qualname__propertyr   r"   r   r'   r   r,   r   r-   r   r.   r	   r/   r
   r0   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%   r%   r%   r&   r   #   sh   r   N)8warningsr   Ztwilio.rest.api.ApiBaser   Ztwilio.rest.api.v2010.accountr   r   Z%twilio.rest.api.v2010.account.addressr   Z)twilio.rest.api.v2010.account.applicationr   Z4twilio.rest.api.v2010.account.authorized_connect_appr   Z<twilio.rest.api.v2010.account.available_phone_number_countryr	   Z%twilio.rest.api.v2010.account.balancer
   Z"twilio.rest.api.v2010.account.callr   Z(twilio.rest.api.v2010.account.conferencer   Z)twilio.rest.api.v2010.account.connect_appr   Z3twilio.rest.api.v2010.account.incoming_phone_numberr   Z!twilio.rest.api.v2010.account.keyr   Z%twilio.rest.api.v2010.account.messager   Z%twilio.rest.api.v2010.account.new_keyr   Z-twilio.rest.api.v2010.account.new_signing_keyr   Z*twilio.rest.api.v2010.account.notificationr   Z0twilio.rest.api.v2010.account.outgoing_caller_idr   Z#twilio.rest.api.v2010.account.queuer   Z'twilio.rest.api.v2010.account.recordingr   Z(twilio.rest.api.v2010.account.short_coder   Z)twilio.rest.api.v2010.account.signing_keyr   Z!twilio.rest.api.v2010.account.sipr   Z#twilio.rest.api.v2010.account.tokenr   Z+twilio.rest.api.v2010.account.transcriptionr   Z#twilio.rest.api.v2010.account.usager   Z0twilio.rest.api.v2010.account.validation_requestr   r   r%   r%   r%   r&   <module>   s6   