
    b6i                         d dl Z ddlmZmZ ddlmZ ddlmZ ddlm	Z	m
Z
 ddlmZ  e j                  e j                  d	      Z G d
 d      Z G d d      Zy)    N   )AsyncClientWrapperSyncClientWrapper)RequestOptions)'GetConvAiDashboardSettingsResponseModel   )AsyncRawSettingsClientRawSettingsClient)-PatchConvAiDashboardSettingsRequestChartsItem.c                       e Zd ZdefdZedefd       Zdddej                  e
   defdZedd	d
ej                  ej                  e      dej                  e
   defdZy)SettingsClientclient_wrapperc                &    t        |      | _        y N)r   )r
   _raw_clientselfr   s     /root/.openclaw/workspace/visionaryfx/venv/lib/python3.12/site-packages/elevenlabs/conversational_ai/dashboard/settings/client.py__init__zSettingsClient.__init__   s    ,NK    returnc                     | j                   S )z
        Retrieves a raw implementation of this client that returns raw responses.

        Returns
        -------
        RawSettingsClient
        r   r   s    r   with_raw_responsez SettingsClient.with_raw_response        r   Nrequest_optionsr   c                R    | j                   j                  |      }|j                  S )a  
        Retrieve Convai dashboard settings for the workspace

        Parameters
        ----------
        request_options : typing.Optional[RequestOptions]
            Request-specific configuration.

        Returns
        -------
        GetConvAiDashboardSettingsResponseModel
            Successful Response

        Examples
        --------
        from elevenlabs import ElevenLabs

        client = ElevenLabs(
            api_key="YOUR_API_KEY",
        )
        client.conversational_ai.dashboard.settings.get()
        r   r   getdatar   r   	_responses      r   r!   zSettingsClient.get   s'    2 $$(((I	~~r   chartsr   r&   c                T    | j                   j                  ||      }|j                  S )az  
        Update Convai dashboard settings for the workspace

        Parameters
        ----------
        charts : typing.Optional[typing.Sequence[PatchConvAiDashboardSettingsRequestChartsItem]]

        request_options : typing.Optional[RequestOptions]
            Request-specific configuration.

        Returns
        -------
        GetConvAiDashboardSettingsResponseModel
            Successful Response

        Examples
        --------
        from elevenlabs import ElevenLabs

        client = ElevenLabs(
            api_key="YOUR_API_KEY",
        )
        client.conversational_ai.dashboard.settings.update()
        r%   r   updater"   r   r&   r   r$   s       r   r)   zSettingsClient.update:   s)    < $$++6?+[	~~r   )__name__
__module____qualname__r   r   propertyr
   r   typingOptionalr   r   r!   OMITSequencer   r)    r   r   r   r      s    L*; L  #4     EI"(//."A	0> cg;?	 0] ^_  8	
 
1r   r   c                       e Zd ZdefdZedefd       Zdddej                  e
   defdZedd	d
ej                  ej                  e      dej                  e
   defdZy)AsyncSettingsClientr   c                &    t        |      | _        y r   )r	   r   r   s     r   r   zAsyncSettingsClient.__init__]   s    1Pr   r   c                     | j                   S )z
        Retrieves a raw implementation of this client that returns raw responses.

        Returns
        -------
        AsyncRawSettingsClient
        r   r   s    r   r   z%AsyncSettingsClient.with_raw_response`   r   r   Nr   r   c                n   K   | j                   j                  |       d{   }|j                  S 7 w)a  
        Retrieve Convai dashboard settings for the workspace

        Parameters
        ----------
        request_options : typing.Optional[RequestOptions]
            Request-specific configuration.

        Returns
        -------
        GetConvAiDashboardSettingsResponseModel
            Successful Response

        Examples
        --------
        import asyncio

        from elevenlabs import AsyncElevenLabs

        client = AsyncElevenLabs(
            api_key="YOUR_API_KEY",
        )


        async def main() -> None:
            await client.conversational_ai.dashboard.settings.get()


        asyncio.run(main())
        r   Nr    r#   s      r   r!   zAsyncSettingsClient.getk   s5     B **...OO	~~ Ps    535r%   r&   c                p   K   | j                   j                  ||       d{   }|j                  S 7 w)a  
        Update Convai dashboard settings for the workspace

        Parameters
        ----------
        charts : typing.Optional[typing.Sequence[PatchConvAiDashboardSettingsRequestChartsItem]]

        request_options : typing.Optional[RequestOptions]
            Request-specific configuration.

        Returns
        -------
        GetConvAiDashboardSettingsResponseModel
            Successful Response

        Examples
        --------
        import asyncio

        from elevenlabs import AsyncElevenLabs

        client = AsyncElevenLabs(
            api_key="YOUR_API_KEY",
        )


        async def main() -> None:
            await client.conversational_ai.dashboard.settings.update()


        asyncio.run(main())
        r%   Nr(   r*   s       r   r)   zAsyncSettingsClient.update   s8     L **11Q`1aa	~~ bs   !646)r+   r,   r-   r   r   r.   r	   r   r/   r0   r   r   r!   r1   r2   r   r)   r3   r   r   r5   r5   \   s    Q*< Q  #9     EI""(//."A"	0"N cg;?	' 0] ^_'  8	'
 
1'r   r5   )r/   core.client_wrapperr   r   core.request_optionsr   3types.get_conv_ai_dashboard_settings_response_modelr   
raw_clientr	   r
   :types.patch_conv_ai_dashboard_settings_request_charts_itemr   castAnyr1   r   r5   r3   r   r   <module>rA      sJ     I 3 k A u v{{6::s#J JZZ Zr   