U
    hRf                     @   s   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 G dd deZdS )    )warn)PreviewBase)	FleetList)AuthorizationDocumentList)HostedNumberOrderList)AvailableAddOnList)InstalledAddOnList)ServiceList)CommandList)RatePlanList)SimListc                   @   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dS )Preview)returnc                 C   s   t dtdd | jjS )Nz:fleets is deprecated. Use deployed_devices.fleets instead.   
stacklevel)r   DeprecationWarningZdeployed_devicesfleetsself r   @/tmp/pip-unpacked-wheel-74se_viw/twilio/rest/preview/__init__.pyr      s    zPreview.fleetsc                 C   s   t dtdd | jjS )NzZauthorization_documents is deprecated. Use hosted_numbers.authorization_documents instead.r   r   )r   r   hosted_numbersauthorization_documentsr   r   r   r   r      s    zPreview.authorization_documentsc                 C   s   t dtdd | jjS )NzThosted_number_orders is deprecated. Use hosted_numbers.hosted_number_orders instead.r   r   )r   r   r   hosted_number_ordersr   r   r   r   r   $   s    zPreview.hosted_number_ordersc                 C   s   t dtdd | jjS )NzKavailable_add_ons is deprecated. Use marketplace.available_add_ons instead.r   r   )r   r   marketplaceavailable_add_onsr   r   r   r   r   -   s    zPreview.available_add_onsc                 C   s   t dtdd | jjS )NzKinstalled_add_ons is deprecated. Use marketplace.installed_add_ons instead.r   r   )r   r   r   installed_add_onsr   r   r   r   r   6   s    zPreview.installed_add_onsc                 C   s   t dtdd | jjS )Nz2services is deprecated. Use sync.services instead.r   r   )r   r   syncservicesr   r   r   r   r   ?   s    zPreview.servicesc                 C   s   t dtdd | jjS )Nz6commands is deprecated. Use wireless.commands instead.r   r   )r   r   wirelesscommandsr   r   r   r   r!   H   s    zPreview.commandsc                 C   s   t dtdd | jjS )Nz:rate_plans is deprecated. Use wireless.rate_plans instead.r   r   )r   r   r    
rate_plansr   r   r   r   r"   Q   s    zPreview.rate_plansc                 C   s   t dtdd | jjS )Nz.sims is deprecated. Use wireless.sims instead.r   r   )r   r   r    simsr   r   r   r   r#   Z   s    zPreview.simsN)__name__
__module____qualname__propertyr   r   r   r   r   r   r   r   r   r   r	   r   r
   r!   r   r"   r   r#   r   r   r   r   r      s$   r   N)warningsr   Ztwilio.rest.preview.PreviewBaser   Z*twilio.rest.preview.deployed_devices.fleetr   Z9twilio.rest.preview.hosted_numbers.authorization_documentr   Z6twilio.rest.preview.hosted_numbers.hosted_number_orderr   Z0twilio.rest.preview.marketplace.available_add_onr   Z0twilio.rest.preview.marketplace.installed_add_onr   Z twilio.rest.preview.sync.servicer	   Z$twilio.rest.preview.wireless.commandr
   Z&twilio.rest.preview.wireless.rate_planr   Z twilio.rest.preview.wireless.simr   r   r   r   r   r   <module>   s   