
    gI                         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e      Zy)    )warn)PreviewBase)AuthorizationDocumentList)HostedNumberOrderList)AvailableAddOnList)InstalledAddOnList)ServiceList)CommandList)RatePlanList)SimListc                       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y
)Previewreturnc                 R    t        dt        d       | j                  j                  S )NzZauthorization_documents is deprecated. Use hosted_numbers.authorization_documents instead.   
stacklevel)r   DeprecationWarninghosted_numbersauthorization_documentsselfs    Y/var/www/html/Manimaran/venv/lib/python3.12/site-packages/twilio/rest/preview/__init__.pyr   zPreview.authorization_documents   s'    h	

 "":::    c                 R    t        dt        d       | j                  j                  S )NzThosted_number_orders is deprecated. Use hosted_numbers.hosted_number_orders instead.r   r   )r   r   r   hosted_number_ordersr   s    r   r   zPreview.hosted_number_orders   s'    b	

 ""777r   c                 R    t        dt        d       | j                  j                  S )NzKavailable_add_ons is deprecated. Use marketplace.available_add_ons instead.r   r   )r   r   marketplaceavailable_add_onsr   s    r   r   zPreview.available_add_ons$   '    Y	

 111r   c                 R    t        dt        d       | j                  j                  S )NzKinstalled_add_ons is deprecated. Use marketplace.installed_add_ons instead.r   r   )r   r   r   installed_add_onsr   s    r   r"   zPreview.installed_add_ons-   r    r   c                 R    t        dt        d       | j                  j                  S )Nz2services is deprecated. Use sync.services instead.r   r   )r   r   syncservicesr   s    r   r%   zPreview.services6   s%    @	

 yy!!!r   c                 R    t        dt        d       | j                  j                  S )Nz6commands is deprecated. Use wireless.commands instead.r   r   )r   r   wirelesscommandsr   s    r   r(   zPreview.commands?   s%    D	

 }}%%%r   c                 R    t        dt        d       | j                  j                  S )Nz:rate_plans is deprecated. Use wireless.rate_plans instead.r   r   )r   r   r'   
rate_plansr   s    r   r*   zPreview.rate_plansH   s%    H	

 }}'''r   c                 R    t        dt        d       | j                  j                  S )Nz.sims is deprecated. Use wireless.sims instead.r   r   )r   r   r'   simsr   s    r   r,   zPreview.simsQ   s%    <	

 }}!!!r   N)__name__
__module____qualname__propertyr   r   r   r   r   r   r   r"   r	   r%   r
   r(   r   r*   r   r,    r   r   r   r      s    ;)B ; ; 8&; 8 8 2#5 2 2 2#5 2 2 "+ " " &+ & & (L ( ( "g " "r   r   N)warningsr   twilio.rest.preview.PreviewBaser   9twilio.rest.preview.hosted_numbers.authorization_documentr   6twilio.rest.preview.hosted_numbers.hosted_number_orderr   0twilio.rest.preview.marketplace.available_add_onr   0twilio.rest.preview.marketplace.installed_add_onr    twilio.rest.preview.sync.servicer	   $twilio.rest.preview.wireless.commandr
   &twilio.rest.preview.wireless.rate_planr    twilio.rest.preview.wireless.simr   r   r1   r   r   <module>r<      s6     7 Y O O 8 < ? 4H"k H"r   