
    b6i                        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   )AsyncRawTokensClientRawTokensClient)AsyncSingleUseClientSingleUseClientc                  6    e Zd ZddZedd       Zed        Zy)TokensClientc               B    t        |      | _        || _        d | _        y Nclient_wrapper)r	   _raw_client_client_wrapper_single_useselfr   s     c/root/.openclaw/workspace/visionaryfx/venv/lib/python3.12/site-packages/elevenlabs/tokens/client.py__init__zTokensClient.__init__   s    *.I-=A    c                    | j                   S )z
        Retrieves a raw implementation of this client that returns raw responses.

        Returns
        -------
        RawTokensClient
        r   r   s    r   with_raw_responsezTokensClient.with_raw_response        r   c                n    | j                   ddlm}  || j                        | _         | j                   S )Nr   )r   r   )r   single_use.clientr   r   )r   r   s     r   
single_usezTokensClient.single_use   s0    #:.d>R>RSDr   N)r   r   )returnr	   __name__
__module____qualname__r   propertyr   r!    r   r   r   r      s0    B
        r   r   c                  6    e Zd ZddZedd       Zed        Zy)AsyncTokensClientc               B    t        |      | _        || _        d | _        y r   )r   r   r   r   r   s     r   r   zAsyncTokensClient.__init__)   s    /~N-BFr   c                    | j                   S )z
        Retrieves a raw implementation of this client that returns raw responses.

        Returns
        -------
        AsyncRawTokensClient
        r   r   s    r   r   z#AsyncTokensClient.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AsyncTokensClient.single_use9   s0    #?34CWCWXDr   N)r   r   )r"   r   r#   r(   r   r   r*   r*   (   s0    G
        r   r*   )
__future__r   typingcore.client_wrapperr   r   
raw_clientr   r	   TYPE_CHECKINGr    r
   r   r   r*   r(   r   r   <module>r3      s3    #  G =	H   4   r   