a
    !f                     @   sP   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	 G dd deZ
dS )	    )warn)AccountsBase)AuthTokenPromotionList)CredentialList)SecondaryAuthTokenListc                   @   sB   e Zd ZeedddZeedddZeedddZ	dS )	Accounts)returnc                 C   s   t dtdd | jjS )NzHauth_token_promotion is deprecated. Use v1.auth_token_promotion instead.   
stacklevel)r   DeprecationWarningv1auth_token_promotionself r   ^/var/www/html/python-backend/venv/lib/python3.9/site-packages/twilio/rest/accounts/__init__.pyr   
   s    zAccounts.auth_token_promotionc                 C   s   t dtdd | jjS )Nz6credentials is deprecated. Use v1.credentials instead.r	   r
   )r   r   r   credentialsr   r   r   r   r      s    zAccounts.credentialsc                 C   s   t dtdd | jjS )NzHsecondary_auth_token is deprecated. Use v1.secondary_auth_token instead.r	   r
   )r   r   r   secondary_auth_tokenr   r   r   r   r      s    zAccounts.secondary_auth_tokenN)
__name__
__module____qualname__propertyr   r   r   r   r   r   r   r   r   r   r   	   s   r   N)warningsr   Z!twilio.rest.accounts.AccountsBaser   Z,twilio.rest.accounts.v1.auth_token_promotionr   Z"twilio.rest.accounts.v1.credentialr   Z,twilio.rest.accounts.v1.secondary_auth_tokenr   r   r   r   r   r   <module>   s
   