
    b6ik                        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	      Z G d
 d      Zy)    )annotationsN   )AsyncClientWrapperSyncClientWrapper   )AsyncRawSamplesClientRawSamplesClient)AsyncAudioClientAudioClientc                  6    e Zd ZddZedd       Zed        Zy)SamplesClientc               B    t        |      | _        || _        d | _        y Nclient_wrapper)r	   _raw_client_client_wrapper_audioselfr   s     k/root/.openclaw/workspace/visionaryfx/venv/lib/python3.12/site-packages/elevenlabs/voices/samples/client.py__init__zSamplesClient.__init__   s    +>J-48    c                    | j                   S )z
        Retrieves a raw implementation of this client that returns raw responses.

        Returns
        -------
        RawSamplesClient
        r   r   s    r   with_raw_responsezSamplesClient.with_raw_response        r   c                n    | j                   ddlm}  || j                        | _         | j                   S )Nr   )r   r   )r   audio.clientr   r   )r   r   s     r   audiozSamplesClient.audio   s+    ;;1%T5I5IJDK{{r   N)r   r   )returnr	   __name__
__module____qualname__r   propertyr   r!    r   r   r   r      s/    9
      r   r   c                  6    e Zd ZddZedd       Zed        Zy)AsyncSamplesClientc               B    t        |      | _        || _        d | _        y r   )r   r   r   r   r   s     r   r   zAsyncSamplesClient.__init__)   s    0O-9=r   c                    | j                   S )z
        Retrieves a raw implementation of this client that returns raw responses.

        Returns
        -------
        AsyncRawSamplesClient
        r   r   s    r   r   z$AsyncSamplesClient.with_raw_response.   r   r   c                n    | j                   ddlm}  || j                        | _         | j                   S )Nr   )r
   r   )r   r    r
   r   )r   r
   s     r   r!   zAsyncSamplesClient.audio9   s+    ;;6*$:N:NODK{{r   N)r   r   )r"   r   r#   r(   r   r   r*   r*   (   s/    >
      r   r*   )
__future__r   typingcore.client_wrapperr   r   
raw_clientr   r	   TYPE_CHECKINGr    r
   r   r   r*   r(   r   r   <module>r3      s3    #  H ?	; 4 r   