
    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   )AsyncRawAnalyticsClientRawAnalyticsClient)AsyncLiveCountClientLiveCountClientc                  6    e Zd ZddZedd       Zed        Zy)AnalyticsClientc               B    t        |      | _        || _        d | _        y Nclient_wrapper)r	   _raw_client_client_wrapper_live_countselfr   s     x/root/.openclaw/workspace/visionaryfx/venv/lib/python3.12/site-packages/elevenlabs/conversational_ai/analytics/client.py__init__zAnalyticsClient.__init__   s    -^L-=A    c                    | j                   S )z
        Retrieves a raw implementation of this client that returns raw responses.

        Returns
        -------
        RawAnalyticsClient
        r   r   s    r   with_raw_responsez!AnalyticsClient.with_raw_response        r   c                n    | j                   ddlm}  || j                        | _         | j                   S )Nr   )r   r   )r   live_count.clientr   r   )r   r   s     r   
live_countzAnalyticsClient.live_count   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)AsyncAnalyticsClientc               B    t        |      | _        || _        d | _        y r   )r   r   r   r   r   s     r   r   zAsyncAnalyticsClient.__init__)   s    2.Q-BFr   c                    | j                   S )z
        Retrieves a raw implementation of this client that returns raw responses.

        Returns
        -------
        AsyncRawAnalyticsClient
        r   r   s    r   r   z&AsyncAnalyticsClient.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AsyncAnalyticsClient.live_count9   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    #  H C	H   4   r   