o
    lWik                     @  sj   d dl mZ d dlZddlmZmZ ddlmZmZ ej	r%ddl
mZmZ G dd	 d	ZG d
d dZdS )    )annotationsN   )AsyncClientWrapperSyncClientWrapper   )AsyncRawSamplesClientRawSamplesClient)AsyncAudioClientAudioClientc                   @  0   e Zd ZdddZedddZed	d
 ZdS )SamplesClientclient_wrapperr   c                C     t |d| _|| _d | _d S Nr   )r   _raw_client_client_wrapper_audioselfr    r   d/var/www/html/asistente-voz-ia/venv/lib/python3.10/site-packages/elevenlabs/voices/samples/client.py__init__      
zSamplesClient.__init__returnr   c                 C     | j S )z
        Retrieves a raw implementation of this client that returns raw responses.

        Returns
        -------
        RawSamplesClient
        r   r   r   r   r   with_raw_response      	zSamplesClient.with_raw_responsec                 C  *   | j d u rddlm} || jd| _ | j S )Nr   )r
   r   )r   audio.clientr
   r   )r   r
   r   r   r   audio      
zSamplesClient.audioN)r   r   )r   r   __name__
__module____qualname__r   propertyr   r"   r   r   r   r   r          

r   c                   @  r   )AsyncSamplesClientr   r   c                C  r   r   )r   r   r   r   r   r   r   r   r   )   r   zAsyncSamplesClient.__init__r   r   c                 C  r   )z
        Retrieves a raw implementation of this client that returns raw responses.

        Returns
        -------
        AsyncRawSamplesClient
        r   r   r   r   r   r   .   r   z$AsyncSamplesClient.with_raw_responsec                 C  r    )Nr   )r	   r   )r   r!   r	   r   )r   r	   r   r   r   r"   9   r#   zAsyncSamplesClient.audioN)r   r   )r   r   r$   r   r   r   r   r*   (   r)   r*   )
__future__r   typingcore.client_wrapperr   r   
raw_clientr   r   TYPE_CHECKINGr!   r	   r
   r   r*   r   r   r   r   <module>   s   