
    gle                       d dl Z ddlmZ ddlmZ ddlmZ ddlmZ ddl	m
Z
 ddlmZ dd	lmZ dd
lmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlm Z  d dl!m"Z" ddl#m$Z$ ddl%m&Z& ddl'm(Z( ddl)m*Z* ddl+m,Z, ddl-m.Z. ddl/m0Z0 ddl1m2Z2 ddl3m4Z4 ddl5m6Z6 ddlm7Z7  e jp                  e jr                  d      Z: G d  d!      Z; G d" d#      Z<y)$    N   )SyncClientWrapper)RequestOptions)ListConnectorsResponse)construct_type)BadRequestError)UnauthorizedError)ForbiddenError)NotFoundError)UnprocessableEntityError)TooManyRequestsError)InvalidTokenError)ClientClosedRequestError)InternalServerError)NotImplementedError)ServiceUnavailableError)GatewayTimeoutError)JSONDecodeError)ApiError)CreateConnectorOAuth)CreateConnectorServiceAuth)CreateConnectorResponse)'convert_and_respect_annotation_metadata)GetConnectorResponse)jsonable_encoder)DeleteConnectorResponse)UpdateConnectorResponse)OAuthAuthorizeResponse)AsyncClientWrapper.c                      e Zd ZdefdZdddddej                  e   dej                  e   dej                  e   de	fd	Z
eeeeeedd
dededej                  e   dej                  ej                  e      dej                  e   dej                  e   dej                  e   dej                  e   dej                  e   defdZdddedej                  e   defdZdddedej                  e   defdZeeeeeeedddedej                  e   dej                  e   dej                  ej                  e      dej                  e   dej                  e   dej                  e   dej                  e   dej                  e   defdZddddedej                  e   dej                  e   defdZy)ConnectorsClientclient_wrapperc                    || _         y N_client_wrapperselfr"   s     M/var/www/openai/venv/lib/python3.12/site-packages/cohere/connectors/client.py__init__zConnectorsClient.__init__&   
    -    Nlimitoffsetrequest_optionsr.   r/   r0   returnc          
         | j                   j                  j                  dd||d|      }	 d|j                  cxk  rdk  r:n n7t	        j
                  t        t        t        |j                                     S |j                  dk(  rvt        t	        j
                  t        j                  t        j                     t        t        j                  t        j                     |j                                           |j                  d	k(  rvt        t	        j
                  t        j                  t        j                     t        t        j                  t        j                     |j                                           |j                  d
k(  rvt        t	        j
                  t        j                  t        j                     t        t        j                  t        j                     |j                                           |j                  dk(  rvt        t	        j
                  t        j                  t        j                     t        t        j                  t        j                     |j                                           |j                  dk(  rvt        t	        j
                  t        j                  t        j                     t        t        j                  t        j                     |j                                           |j                  dk(  rvt!        t	        j
                  t        j                  t        j                     t        t        j                  t        j                     |j                                           |j                  dk(  rvt#        t	        j
                  t        j                  t        j                     t        t        j                  t        j                     |j                                           |j                  dk(  rvt%        t	        j
                  t        j                  t        j                     t        t        j                  t        j                     |j                                           |j                  dk(  rvt'        t	        j
                  t        j                  t        j                     t        t        j                  t        j                     |j                                           |j                  dk(  rvt)        t	        j
                  t        j                  t        j                     t        t        j                  t        j                     |j                                           |j                  dk(  rvt+        t	        j
                  t        j                  t        j                     t        t        j                  t        j                     |j                                           |j                  dk(  rvt-        t	        j
                  t        j                  t        j                     t        t        j                  t        j                     |j                                           |j                         }t1        |j                  |      # t.        $ r" t1        |j                  |j2                        w xY w)aY  
        Returns a list of connectors ordered by descending creation date (newer first). See ['Managing your Connector'](https://docs.cohere.com/docs/managing-your-connector) for more information.

        Parameters
        ----------
        limit : typing.Optional[float]
            Maximum number of connectors to return [0, 100].

        offset : typing.Optional[float]
            Number of connectors to skip before returning results [0, inf].

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

        Returns
        -------
        ListConnectorsResponse
            OK

        Examples
        --------
        from cohere import Client

        client = Client(
            client_name="YOUR_CLIENT_NAME",
            token="YOUR_TOKEN",
        )
        client.connectors.list()
        v1/connectorsGETr.   r/   methodparamsr0      ,  type_object_                        status_codebodyr&   httpx_clientrequestrK   typingcastr   r   jsonr   OptionalAnyr	   r
   r   r   r   r   r   r   r   r   r   r   r   textr(   r.   r/   r0   	_response_response_jsons         r)   listzConnectorsClient.list)   s   H ((55==  , > 
	C	Si++1c1{{*"4 ) 0  $$+%KK

3&"(//&**"=$-NN$4  $$+'KK

3&"(//&**"=$-NN$4  $$+$KK

3&"(//&**"=$-NN$4  $$+#KK

3&"(//&**"=$-NN$4  $$+.KK

3&"(//&**"=$-NN$4  $$+*KK

3&"(//&**"=$-NN$4  $$+'KK

3&"(//&**"=$-NN$4  $$+.KK

3&"(//&**"=$-NN$4  $$+)KK

3&"(//&**"=$-NN$4  $$+)KK

3&"(//&**"=$-NN$4  $$+-KK

3&"(//&**"=$-NN$4  $$+)KK

3&"(//&**"=$-NN$4  '^^-N 9#8#8~NN  	Sy'<'<9>>RR	Ss   A[  =Y[   +\descriptionexcludesoauthactivecontinue_on_failureservice_authr0   nameurlr[   r\   r]   r^   r_   r`   c       	         x   | j                   j                  j                  dd||||t        |t        d      ||t        |t
        d      dddi|	t              }
	 d	|
j                  cxk  rd
k  r:n n7t        j                  t        t        t        |
j                                     S |
j                  dk(  rvt        t        j                  t        j                  t        j                     t        t        j                  t        j                     |
j                                           |
j                  dk(  rvt!        t        j                  t        j                  t        j                     t        t        j                  t        j                     |
j                                           |
j                  dk(  rvt#        t        j                  t        j                  t        j                     t        t        j                  t        j                     |
j                                           |
j                  dk(  rvt%        t        j                  t        j                  t        j                     t        t        j                  t        j                     |
j                                           |
j                  dk(  rvt'        t        j                  t        j                  t        j                     t        t        j                  t        j                     |
j                                           |
j                  dk(  rvt)        t        j                  t        j                  t        j                     t        t        j                  t        j                     |
j                                           |
j                  dk(  rvt+        t        j                  t        j                  t        j                     t        t        j                  t        j                     |
j                                           |
j                  dk(  rvt-        t        j                  t        j                  t        j                     t        t        j                  t        j                     |
j                                           |
j                  dk(  rvt/        t        j                  t        j                  t        j                     t        t        j                  t        j                     |
j                                           |
j                  dk(  rvt1        t        j                  t        j                  t        j                     t        t        j                  t        j                     |
j                                           |
j                  dk(  rvt3        t        j                  t        j                  t        j                     t        t        j                  t        j                     |
j                                           |
j                  dk(  rvt5        t        j                  t        j                  t        j                     t        t        j                  t        j                     |
j                                           |
j                         }t9        |
j                  |      # t6        $ r" t9        |
j                  |
j:                        w xY w)a  
        Creates a new connector. The connector is tested during registration and will cancel registration when the test is unsuccessful. See ['Creating and Deploying a Connector'](https://docs.cohere.com/v1/docs/creating-and-deploying-a-connector) for more information.

        Parameters
        ----------
        name : str
            A human-readable name for the connector.

        url : str
            The URL of the connector that will be used to search for documents.

        description : typing.Optional[str]
            A description of the connector.

        excludes : typing.Optional[typing.Sequence[str]]
            A list of fields to exclude from the prompt (fields remain in the document).

        oauth : typing.Optional[CreateConnectorOAuth]
            The OAuth 2.0 configuration for the connector. Cannot be specified if service_auth is specified.

        active : typing.Optional[bool]
            Whether the connector is active or not.

        continue_on_failure : typing.Optional[bool]
            Whether a chat request should continue or not if the request to this connector fails.

        service_auth : typing.Optional[CreateConnectorServiceAuth]
            The service to service authentication configuration for the connector. Cannot be specified if oauth is specified.

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

        Returns
        -------
        CreateConnectorResponse
            OK

        Examples
        --------
        from cohere import Client

        client = Client(
            client_name="YOUR_CLIENT_NAME",
            token="YOUR_TOKEN",
        )
        client.connectors.create(
            name="name",
            url="url",
        )
        r3   POSTwriter=   
annotation	directionra   r[   rb   r\   r]   r^   r_   r`   content-typeapplication/jsonr7   rR   headersr0   omitr9   r:   r;   r>   r?   r@   rA   rB   rC   rD   rE   rF   rG   rH   rI   rJ   r&   rN   rO   r   r   r   OMITrK   rP   rQ   r   r   rR   r   rS   rT   r	   r
   r   r   r   r   r   r   r   r   r   r   r   rU   r(   ra   rb   r[   r\   r]   r^   r_   r`   r0   rW   rX   s               r)   createzConnectorsClient.create   sO   ~ ((55==*$@!.Bg !': G(5O[b!  2 ,+ > 
	.C	Si++1c1{{+"5 ) 0  $$+%KK

3&"(//&**"=$-NN$4  $$+'KK

3&"(//&**"=$-NN$4  $$+$KK

3&"(//&**"=$-NN$4  $$+#KK

3&"(//&**"=$-NN$4  $$+.KK

3&"(//&**"=$-NN$4  $$+*KK

3&"(//&**"=$-NN$4  $$+'KK

3&"(//&**"=$-NN$4  $$+.KK

3&"(//&**"=$-NN$4  $$+)KK

3&"(//&**"=$-NN$4  $$+)KK

3&"(//&**"=$-NN$4  $$+-KK

3&"(//&**"=$-NN$4  $$+)KK

3&"(//&**"=$-NN$4  '^^-N 9#8#8~NN  	Sy'<'<9>>RR	Ss   A\ +Y\ +\9r0   idc          
      ,   | j                   j                  j                  dt        |       d|      }	 d|j                  cxk  rdk  r:n n7t        j                  t        t        t        |j                                     S |j                  dk(  rvt        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  dk(  rvt        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  d	k(  rvt        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  d
k(  rvt        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  dk(  rvt!        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  dk(  rvt#        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  dk(  rvt%        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  dk(  rvt'        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  dk(  rvt)        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  dk(  rvt+        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  dk(  rvt-        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  dk(  rvt/        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                         }t3        |j                  |      # t0        $ r" t3        |j                  |j4                        w xY w)a  
        Retrieve a connector by ID. See ['Connectors'](https://docs.cohere.com/docs/connectors) for more information.

        Parameters
        ----------
        id : str
            The ID of the connector to retrieve.

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

        Returns
        -------
        GetConnectorResponse
            OK

        Examples
        --------
        from cohere import Client

        client = Client(
            client_name="YOUR_CLIENT_NAME",
            token="YOUR_TOKEN",
        )
        client.connectors.get(
            id="id",
        )
        v1/connectors/r4   r7   r0   r9   r:   r;   r>   r?   r@   rA   rB   rC   rD   rE   rF   rG   rH   rI   rJ   r&   rN   rO   r   rK   rP   rQ   r   r   rR   r   rS   rT   r	   r
   r   r   r   r   r   r   r   r   r   r   r   rU   r(   rt   r0   rW   rX   s        r)   getzConnectorsClient.get  s   : ((55==-b123+ > 
	
C	Si++1c1{{("2 ) 0  $$+%KK

3&"(//&**"=$-NN$4  $$+'KK

3&"(//&**"=$-NN$4  $$+$KK

3&"(//&**"=$-NN$4  $$+#KK

3&"(//&**"=$-NN$4  $$+.KK

3&"(//&**"=$-NN$4  $$+*KK

3&"(//&**"=$-NN$4  $$+'KK

3&"(//&**"=$-NN$4  $$+.KK

3&"(//&**"=$-NN$4  $$+)KK

3&"(//&**"=$-NN$4  $$+)KK

3&"(//&**"=$-NN$4  $$+-KK

3&"(//&**"=$-NN$4  $$+)KK

3&"(//&**"=$-NN$4  '^^-N 9#8#8~NN  	Sy'<'<9>>RR	S   A[( Y[( (+\c          
      ,   | j                   j                  j                  dt        |       d|      }	 d|j                  cxk  rdk  r:n n7t        j                  t        t        t        |j                                     S |j                  dk(  rvt        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  dk(  rvt        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  d	k(  rvt        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  d
k(  rvt        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  dk(  rvt!        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  dk(  rvt#        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  dk(  rvt%        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  dk(  rvt'        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  dk(  rvt)        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  dk(  rvt+        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  dk(  rvt-        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  dk(  rvt/        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                         }t3        |j                  |      # t0        $ r" t3        |j                  |j4                        w xY w)a  
        Delete a connector by ID. See ['Connectors'](https://docs.cohere.com/docs/connectors) for more information.

        Parameters
        ----------
        id : str
            The ID of the connector to delete.

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

        Returns
        -------
        DeleteConnectorResponse
            OK

        Examples
        --------
        from cohere import Client

        client = Client(
            client_name="YOUR_CLIENT_NAME",
            token="YOUR_TOKEN",
        )
        client.connectors.delete(
            id="id",
        )
        rv   DELETErw   r9   r:   r;   r>   r?   r@   rA   rB   rC   rD   rE   rF   rG   rH   rI   rJ   r&   rN   rO   r   rK   rP   rQ   r   r   rR   r   rS   rT   r	   r
   r   r   r   r   r   r   r   r   r   r   r   rU   ry   s        r)   deletezConnectorsClient.delete`  s   : ((55==-b123+ > 
	
C	Si++1c1{{+"5 ) 0  $$+%KK

3&"(//&**"=$-NN$4  $$+'KK

3&"(//&**"=$-NN$4  $$+$KK

3&"(//&**"=$-NN$4  $$+#KK

3&"(//&**"=$-NN$4  $$+.KK

3&"(//&**"=$-NN$4  $$+*KK

3&"(//&**"=$-NN$4  $$+'KK

3&"(//&**"=$-NN$4  $$+.KK

3&"(//&**"=$-NN$4  $$+)KK

3&"(//&**"=$-NN$4  $$+)KK

3&"(//&**"=$-NN$4  $$+-KK

3&"(//&**"=$-NN$4  $$+)KK

3&"(//&**"=$-NN$4  '^^-N 9#8#8~NN  	Sy'<'<9>>RR	Sr{   ra   rb   r\   r]   r^   r_   r`   r0   c                   | j                   j                  j                  dt        |       d|||t	        |t
        d      ||t	        |t        d      dddi|	t              }
	 d	|
j                  cxk  rd
k  r:n n7t        j                  t        t        t        |
j                                     S |
j                  dk(  rvt        t        j                  t        j                  t        j                      t        t        j                  t        j                      |
j                                           |
j                  dk(  rvt#        t        j                  t        j                  t        j                      t        t        j                  t        j                      |
j                                           |
j                  dk(  rvt%        t        j                  t        j                  t        j                      t        t        j                  t        j                      |
j                                           |
j                  dk(  rvt'        t        j                  t        j                  t        j                      t        t        j                  t        j                      |
j                                           |
j                  dk(  rvt)        t        j                  t        j                  t        j                      t        t        j                  t        j                      |
j                                           |
j                  dk(  rvt+        t        j                  t        j                  t        j                      t        t        j                  t        j                      |
j                                           |
j                  dk(  rvt-        t        j                  t        j                  t        j                      t        t        j                  t        j                      |
j                                           |
j                  dk(  rvt/        t        j                  t        j                  t        j                      t        t        j                  t        j                      |
j                                           |
j                  dk(  rvt1        t        j                  t        j                  t        j                      t        t        j                  t        j                      |
j                                           |
j                  dk(  rvt3        t        j                  t        j                  t        j                      t        t        j                  t        j                      |
j                                           |
j                  dk(  rvt5        t        j                  t        j                  t        j                      t        t        j                  t        j                      |
j                                           |
j                  dk(  rvt7        t        j                  t        j                  t        j                      t        t        j                  t        j                      |
j                                           |
j                         }t;        |
j                  |      # t8        $ r" t;        |
j                  |
j<                        w xY w)a  
        Update a connector by ID. Omitted fields will not be updated. See ['Managing your Connector'](https://docs.cohere.com/docs/managing-your-connector) for more information.

        Parameters
        ----------
        id : str
            The ID of the connector to update.

        name : typing.Optional[str]
            A human-readable name for the connector.

        url : typing.Optional[str]
            The URL of the connector that will be used to search for documents.

        excludes : typing.Optional[typing.Sequence[str]]
            A list of fields to exclude from the prompt (fields remain in the document).

        oauth : typing.Optional[CreateConnectorOAuth]
            The OAuth 2.0 configuration for the connector. Cannot be specified if service_auth is specified.

        active : typing.Optional[bool]

        continue_on_failure : typing.Optional[bool]

        service_auth : typing.Optional[CreateConnectorServiceAuth]
            The service to service authentication configuration for the connector. Cannot be specified if oauth is specified.

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

        Returns
        -------
        UpdateConnectorResponse
            OK

        Examples
        --------
        from cohere import Client

        client = Client(
            client_name="YOUR_CLIENT_NAME",
            token="YOUR_TOKEN",
        )
        client.connectors.update(
            id="id",
        )
        rv   PATCHre   rf   ra   rb   r\   r]   r^   r_   r`   rj   rk   rl   r9   r:   r;   r>   r?   r@   rA   rB   rC   rD   rE   rF   rG   rH   rI   rJ   r&   rN   rO   r   r   r   r   rp   rK   rP   rQ   r   r   rR   r   rS   rT   r	   r
   r   r   r   r   r   r   r   r   r   r   r   rU   r(   rt   ra   rb   r\   r]   r^   r_   r`   r0   rW   rX   s               r)   updatezConnectorsClient.update  sZ   x ((55==-b123$@!.Bg !': G(5O[b!  2 ,) > 
	,C	Si++1c1{{+"5 ) 0  $$+%KK

3&"(//&**"=$-NN$4  $$+'KK

3&"(//&**"=$-NN$4  $$+$KK

3&"(//&**"=$-NN$4  $$+#KK

3&"(//&**"=$-NN$4  $$+.KK

3&"(//&**"=$-NN$4  $$+*KK

3&"(//&**"=$-NN$4  $$+'KK

3&"(//&**"=$-NN$4  $$+.KK

3&"(//&**"=$-NN$4  $$+)KK

3&"(//&**"=$-NN$4  $$+)KK

3&"(//&**"=$-NN$4  $$+-KK

3&"(//&**"=$-NN$4  $$+)KK

3&"(//&**"=$-NN$4  '^^-N 9#8#8~NN  	Sy'<'<9>>RR	Ss   'A\ 6Y\ +]after_token_redirectr0   r   c          
      4   | j                   j                  j                  dt        |       ddd|i|      }	 d|j                  cxk  rdk  r:n n7t        j                  t        t        t        |j                                     S |j                  d	k(  rvt        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  d
k(  rvt        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  dk(  rvt        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  dk(  rvt        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  dk(  rvt!        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  dk(  rvt#        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  dk(  rvt%        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  dk(  rvt'        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  dk(  rvt)        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  dk(  rvt+        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  dk(  rvt-        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  dk(  rvt/        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                         }t3        |j                  |      # t0        $ r" t3        |j                  |j4                        w xY w)ah  
        Authorize the connector with the given ID for the connector oauth app.  See ['Connector Authentication'](https://docs.cohere.com/docs/connector-authentication) for more information.

        Parameters
        ----------
        id : str
            The ID of the connector to authorize.

        after_token_redirect : typing.Optional[str]
            The URL to redirect to after the connector has been authorized.

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

        Returns
        -------
        OAuthAuthorizeResponse
            OK

        Examples
        --------
        from cohere import Client

        client = Client(
            client_name="YOUR_CLIENT_NAME",
            token="YOUR_TOKEN",
        )
        client.connectors.o_auth_authorize(
            id="id",
        )
        rv   /oauth/authorizerd   r   r6   r9   r:   r;   r>   r?   r@   rA   rB   rC   rD   rE   rF   rG   rH   rI   rJ   r&   rN   rO   r   rK   rP   rQ   r   r   rR   r   rS   rT   r	   r
   r   r   r   r   r   r   r   r   r   r   r   rU   r(   rt   r   r0   rW   rX   s         r)   o_auth_authorizez!ConnectorsClient.o_auth_authorize  s!   L ((55==-b122BC&(< , > 
	C	Si++1c1{{*"4 ) 0  $$+%KK

3&"(//&**"=$-NN$4  $$+'KK

3&"(//&**"=$-NN$4  $$+$KK

3&"(//&**"=$-NN$4  $$+#KK

3&"(//&**"=$-NN$4  $$+.KK

3&"(//&**"=$-NN$4  $$+*KK

3&"(//&**"=$-NN$4  $$+'KK

3&"(//&**"=$-NN$4  $$+.KK

3&"(//&**"=$-NN$4  $$+)KK

3&"(//&**"=$-NN$4  $$+)KK

3&"(//&**"=$-NN$4  $$+-KK

3&"(//&**"=$-NN$4  $$+)KK

3&"(//&**"=$-NN$4  '^^-N 9#8#8~NN  	Sy'<'<9>>RR	Ss   A[, 	Y[, ,+\)__name__
__module____qualname__r   r*   rP   rS   floatr   r   rY   rp   strSequencer   boolr   r   rr   r   rz   r   r   r   r   r   r    r,   r)   r!   r!   %   s   .*; . )-)-;?qO u%qO &	qO
  8qO 
 qOp -1:>7;(,59DH;?ZO ZO 	ZO
 __S)ZO //&//#"67ZO 34ZO %ZO $__T2ZO oo&@AZO  8ZO 
!ZOx RV fOc fOv~/N fOZn fOP UY fO fO&//.2Q fO]t fOX &*$(:>7;(,59DH;?VOVO ooc"	VO
 __S!VO //&//#"67VO 34VO %VO $__T2VO oo&@AVO  8VO 
!VOx 6:;?rOrO %ooc2	rO
  8rO 
 rOr,   r!   c                      e Zd ZdefdZdddddej                  e   dej                  e   dej                  e   de	fd	Z
eeeeeedd
dededej                  e   dej                  ej                  e      dej                  e   dej                  e   dej                  e   dej                  e   dej                  e   defdZdddedej                  e   defdZdddedej                  e   defdZeeeeeeedddedej                  e   dej                  e   dej                  ej                  e      dej                  e   dej                  e   dej                  e   dej                  e   dej                  e   defdZddddedej                  e   dej                  e   defdZy)AsyncConnectorsClientr"   c                    || _         y r$   r%   r'   s     r)   r*   zAsyncConnectorsClient.__init__  r+   r,   Nr-   r.   r/   r0   r1   c          
      :  K   | j                   j                  j                  dd||d|       d{   }	 d|j                  cxk  rdk  r:n n7t	        j
                  t        t        t        |j                                     S |j                  d	k(  rvt        t	        j
                  t        j                  t        j                     t        t        j                  t        j                     |j                                           |j                  d
k(  rvt        t	        j
                  t        j                  t        j                     t        t        j                  t        j                     |j                                           |j                  dk(  rvt        t	        j
                  t        j                  t        j                     t        t        j                  t        j                     |j                                           |j                  dk(  rvt        t	        j
                  t        j                  t        j                     t        t        j                  t        j                     |j                                           |j                  dk(  rvt        t	        j
                  t        j                  t        j                     t        t        j                  t        j                     |j                                           |j                  dk(  rvt!        t	        j
                  t        j                  t        j                     t        t        j                  t        j                     |j                                           |j                  dk(  rvt#        t	        j
                  t        j                  t        j                     t        t        j                  t        j                     |j                                           |j                  dk(  rvt%        t	        j
                  t        j                  t        j                     t        t        j                  t        j                     |j                                           |j                  dk(  rvt'        t	        j
                  t        j                  t        j                     t        t        j                  t        j                     |j                                           |j                  dk(  rvt)        t	        j
                  t        j                  t        j                     t        t        j                  t        j                     |j                                           |j                  dk(  rvt+        t	        j
                  t        j                  t        j                     t        t        j                  t        j                     |j                                           |j                  dk(  rvt-        t	        j
                  t        j                  t        j                     t        t        j                  t        j                     |j                                           |j                         }t1        |j                  |      7 # t.        $ r" t1        |j                  |j2                        w xY ww)a  
        Returns a list of connectors ordered by descending creation date (newer first). See ['Managing your Connector'](https://docs.cohere.com/docs/managing-your-connector) for more information.

        Parameters
        ----------
        limit : typing.Optional[float]
            Maximum number of connectors to return [0, 100].

        offset : typing.Optional[float]
            Number of connectors to skip before returning results [0, inf].

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

        Returns
        -------
        ListConnectorsResponse
            OK

        Examples
        --------
        import asyncio

        from cohere import AsyncClient

        client = AsyncClient(
            client_name="YOUR_CLIENT_NAME",
            token="YOUR_TOKEN",
        )


        async def main() -> None:
            await client.connectors.list()


        asyncio.run(main())
        r3   r4   r5   r6   Nr9   r:   r;   r>   r?   r@   rA   rB   rC   rD   rE   rF   rG   rH   rI   rJ   rM   rV   s         r)   rY   zAsyncConnectorsClient.list  s     X ..;;CC  , D 
 
	C	Si++1c1{{*"4 ) 0  $$+%KK

3&"(//&**"=$-NN$4  $$+'KK

3&"(//&**"=$-NN$4  $$+$KK

3&"(//&**"=$-NN$4  $$+#KK

3&"(//&**"=$-NN$4  $$+.KK

3&"(//&**"=$-NN$4  $$+*KK

3&"(//&**"=$-NN$4  $$+'KK

3&"(//&**"=$-NN$4  $$+.KK

3&"(//&**"=$-NN$4  $$+)KK

3&"(//&**"=$-NN$4  $$+)KK

3&"(//&**"=$-NN$4  $$+-KK

3&"(//&**"=$-NN$4  $$+)KK

3&"(//&**"=$-NN$4  '^^-N 9#8#8~NN[
V  	Sy'<'<9>>RR	Ss4   0\[*\A[- \Y[- \-+\\rZ   ra   rb   r[   r\   r]   r^   r_   r`   c       	           K   | j                   j                  j                  dd||||t        |t        d      ||t        |t
        d      dddi|	t               d	{   }
	 d
|
j                  cxk  rdk  r:n n7t        j                  t        t        t        |
j                                     S |
j                  dk(  rvt        t        j                  t        j                  t        j                     t        t        j                  t        j                     |
j                                           |
j                  dk(  rvt!        t        j                  t        j                  t        j                     t        t        j                  t        j                     |
j                                           |
j                  dk(  rvt#        t        j                  t        j                  t        j                     t        t        j                  t        j                     |
j                                           |
j                  dk(  rvt%        t        j                  t        j                  t        j                     t        t        j                  t        j                     |
j                                           |
j                  dk(  rvt'        t        j                  t        j                  t        j                     t        t        j                  t        j                     |
j                                           |
j                  dk(  rvt)        t        j                  t        j                  t        j                     t        t        j                  t        j                     |
j                                           |
j                  dk(  rvt+        t        j                  t        j                  t        j                     t        t        j                  t        j                     |
j                                           |
j                  dk(  rvt-        t        j                  t        j                  t        j                     t        t        j                  t        j                     |
j                                           |
j                  dk(  rvt/        t        j                  t        j                  t        j                     t        t        j                  t        j                     |
j                                           |
j                  dk(  rvt1        t        j                  t        j                  t        j                     t        t        j                  t        j                     |
j                                           |
j                  dk(  rvt3        t        j                  t        j                  t        j                     t        t        j                  t        j                     |
j                                           |
j                  dk(  rvt5        t        j                  t        j                  t        j                     t        t        j                  t        j                     |
j                                           |
j                         }t9        |
j                  |      7 # t6        $ r" t9        |
j                  |
j:                        w xY ww)ao  
        Creates a new connector. The connector is tested during registration and will cancel registration when the test is unsuccessful. See ['Creating and Deploying a Connector'](https://docs.cohere.com/v1/docs/creating-and-deploying-a-connector) for more information.

        Parameters
        ----------
        name : str
            A human-readable name for the connector.

        url : str
            The URL of the connector that will be used to search for documents.

        description : typing.Optional[str]
            A description of the connector.

        excludes : typing.Optional[typing.Sequence[str]]
            A list of fields to exclude from the prompt (fields remain in the document).

        oauth : typing.Optional[CreateConnectorOAuth]
            The OAuth 2.0 configuration for the connector. Cannot be specified if service_auth is specified.

        active : typing.Optional[bool]
            Whether the connector is active or not.

        continue_on_failure : typing.Optional[bool]
            Whether a chat request should continue or not if the request to this connector fails.

        service_auth : typing.Optional[CreateConnectorServiceAuth]
            The service to service authentication configuration for the connector. Cannot be specified if oauth is specified.

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

        Returns
        -------
        CreateConnectorResponse
            OK

        Examples
        --------
        import asyncio

        from cohere import AsyncClient

        client = AsyncClient(
            client_name="YOUR_CLIENT_NAME",
            token="YOUR_TOKEN",
        )


        async def main() -> None:
            await client.connectors.create(
                name="name",
                url="url",
            )


        asyncio.run(main())
        r3   rd   re   rf   ri   rj   rk   rl   Nr9   r:   r;   r>   r?   r@   rA   rB   rC   rD   rE   rF   rG   rH   rI   rJ   ro   rq   s               r)   rr   zAsyncConnectorsClient.createT  s_    N ..;;CC*$@!.Bg !': G(5O[b!  2 ,+ D 
 
	.C	Si++1c1{{+"5 ) 0  $$+%KK

3&"(//&**"=$-NN$4  $$+'KK

3&"(//&**"=$-NN$4  $$+$KK

3&"(//&**"=$-NN$4  $$+#KK

3&"(//&**"=$-NN$4  $$+.KK

3&"(//&**"=$-NN$4  $$+*KK

3&"(//&**"=$-NN$4  $$+'KK

3&"(//&**"=$-NN$4  $$+.KK

3&"(//&**"=$-NN$4  $$+)KK

3&"(//&**"=$-NN$4  $$+)KK

3&"(//&**"=$-NN$4  $$+-KK

3&"(//&**"=$-NN$4  $$+)KK

3&"(//&**"=$-NN$4  '^^-N 9#8#8~NNw
r  	Sy'<'<9>>RR	Ss8   A]	 \!]	&A\ 4]	5Y\ ]	+]]	rs   rt   c          
      J  K   | j                   j                  j                  dt        |       d|       d{   }	 d|j                  cxk  rdk  r:n n7t        j                  t        t        t        |j                                     S |j                  dk(  rvt        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  d	k(  rvt        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  d
k(  rvt        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  dk(  rvt        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  dk(  rvt!        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  dk(  rvt#        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  dk(  rvt%        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  dk(  rvt'        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  dk(  rvt)        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  dk(  rvt+        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  dk(  rvt-        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  dk(  rvt/        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                         }t3        |j                  |      7 # t0        $ r" t3        |j                  |j4                        w xY ww)a  
        Retrieve a connector by ID. See ['Connectors'](https://docs.cohere.com/docs/connectors) for more information.

        Parameters
        ----------
        id : str
            The ID of the connector to retrieve.

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

        Returns
        -------
        GetConnectorResponse
            OK

        Examples
        --------
        import asyncio

        from cohere import AsyncClient

        client = AsyncClient(
            client_name="YOUR_CLIENT_NAME",
            token="YOUR_TOKEN",
        )


        async def main() -> None:
            await client.connectors.get(
                id="id",
            )


        asyncio.run(main())
        rv   r4   rw   Nr9   r:   r;   r>   r?   r@   rA   rB   rC   rD   rE   rF   rG   rH   rI   rJ   rx   ry   s        r)   rz   zAsyncConnectorsClient.get8  s!    J ..;;CC-b123+ D 
 
	
C	Si++1c1{{("2 ) 0  $$+%KK

3&"(//&**"=$-NN$4  $$+'KK

3&"(//&**"=$-NN$4  $$+$KK

3&"(//&**"=$-NN$4  $$+#KK

3&"(//&**"=$-NN$4  $$+.KK

3&"(//&**"=$-NN$4  $$+*KK

3&"(//&**"=$-NN$4  $$+'KK

3&"(//&**"=$-NN$4  $$+.KK

3&"(//&**"=$-NN$4  $$+)KK

3&"(//&**"=$-NN$4  $$+)KK

3&"(//&**"=$-NN$4  $$+-KK

3&"(//&**"=$-NN$4  $$+)KK

3&"(//&**"=$-NN$4  '^^-N 9#8#8~NNS
N  	Sy'<'<9>>RR	S5   8\#[2\# A[5 \#Y[5 \#5+\  \#c          
      J  K   | j                   j                  j                  dt        |       d|       d{   }	 d|j                  cxk  rdk  r:n n7t        j                  t        t        t        |j                                     S |j                  dk(  rvt        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  d	k(  rvt        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  d
k(  rvt        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  dk(  rvt        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  dk(  rvt!        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  dk(  rvt#        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  dk(  rvt%        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  dk(  rvt'        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  dk(  rvt)        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  dk(  rvt+        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  dk(  rvt-        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                  dk(  rvt/        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                                           |j                         }t3        |j                  |      7 # t0        $ r" t3        |j                  |j4                        w xY ww)a  
        Delete a connector by ID. See ['Connectors'](https://docs.cohere.com/docs/connectors) for more information.

        Parameters
        ----------
        id : str
            The ID of the connector to delete.

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

        Returns
        -------
        DeleteConnectorResponse
            OK

        Examples
        --------
        import asyncio

        from cohere import AsyncClient

        client = AsyncClient(
            client_name="YOUR_CLIENT_NAME",
            token="YOUR_TOKEN",
        )


        async def main() -> None:
            await client.connectors.delete(
                id="id",
            )


        asyncio.run(main())
        rv   r}   rw   Nr9   r:   r;   r>   r?   r@   rA   rB   rC   rD   rE   rF   rG   rH   rI   rJ   r~   ry   s        r)   r   zAsyncConnectorsClient.delete  s!    N ..;;CC-b123+ D 
 
	
C	Si++1c1{{+"5 ) 0  $$+%KK

3&"(//&**"=$-NN$4  $$+'KK

3&"(//&**"=$-NN$4  $$+$KK

3&"(//&**"=$-NN$4  $$+#KK

3&"(//&**"=$-NN$4  $$+.KK

3&"(//&**"=$-NN$4  $$+*KK

3&"(//&**"=$-NN$4  $$+'KK

3&"(//&**"=$-NN$4  $$+.KK

3&"(//&**"=$-NN$4  $$+)KK

3&"(//&**"=$-NN$4  $$+)KK

3&"(//&**"=$-NN$4  $$+-KK

3&"(//&**"=$-NN$4  $$+)KK

3&"(//&**"=$-NN$4  '^^-N 9#8#8~NNS
N  	Sy'<'<9>>RR	Sr   r   c                  K   | j                   j                  j                  dt        |       d|||t	        |t
        d      ||t	        |t        d      dddi|	t               d	{   }
	 d
|
j                  cxk  rdk  r:n n7t        j                  t        t        t        |
j                                     S |
j                  dk(  rvt        t        j                  t        j                  t        j                      t        t        j                  t        j                      |
j                                           |
j                  dk(  rvt#        t        j                  t        j                  t        j                      t        t        j                  t        j                      |
j                                           |
j                  dk(  rvt%        t        j                  t        j                  t        j                      t        t        j                  t        j                      |
j                                           |
j                  dk(  rvt'        t        j                  t        j                  t        j                      t        t        j                  t        j                      |
j                                           |
j                  dk(  rvt)        t        j                  t        j                  t        j                      t        t        j                  t        j                      |
j                                           |
j                  dk(  rvt+        t        j                  t        j                  t        j                      t        t        j                  t        j                      |
j                                           |
j                  dk(  rvt-        t        j                  t        j                  t        j                      t        t        j                  t        j                      |
j                                           |
j                  dk(  rvt/        t        j                  t        j                  t        j                      t        t        j                  t        j                      |
j                                           |
j                  dk(  rvt1        t        j                  t        j                  t        j                      t        t        j                  t        j                      |
j                                           |
j                  dk(  rvt3        t        j                  t        j                  t        j                      t        t        j                  t        j                      |
j                                           |
j                  dk(  rvt5        t        j                  t        j                  t        j                      t        t        j                  t        j                      |
j                                           |
j                  dk(  rvt7        t        j                  t        j                  t        j                      t        t        j                  t        j                      |
j                                           |
j                         }t;        |
j                  |      7 # t8        $ r" t;        |
j                  |
j<                        w xY ww)ai  
        Update a connector by ID. Omitted fields will not be updated. See ['Managing your Connector'](https://docs.cohere.com/docs/managing-your-connector) for more information.

        Parameters
        ----------
        id : str
            The ID of the connector to update.

        name : typing.Optional[str]
            A human-readable name for the connector.

        url : typing.Optional[str]
            The URL of the connector that will be used to search for documents.

        excludes : typing.Optional[typing.Sequence[str]]
            A list of fields to exclude from the prompt (fields remain in the document).

        oauth : typing.Optional[CreateConnectorOAuth]
            The OAuth 2.0 configuration for the connector. Cannot be specified if service_auth is specified.

        active : typing.Optional[bool]

        continue_on_failure : typing.Optional[bool]

        service_auth : typing.Optional[CreateConnectorServiceAuth]
            The service to service authentication configuration for the connector. Cannot be specified if oauth is specified.

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

        Returns
        -------
        UpdateConnectorResponse
            OK

        Examples
        --------
        import asyncio

        from cohere import AsyncClient

        client = AsyncClient(
            client_name="YOUR_CLIENT_NAME",
            token="YOUR_TOKEN",
        )


        async def main() -> None:
            await client.connectors.update(
                id="id",
            )


        asyncio.run(main())
        rv   r   re   rf   r   rj   rk   rl   Nr9   r:   r;   r>   r?   r@   rA   rB   rC   rD   rE   rF   rG   rH   rI   rJ   r   r   s               r)   r   zAsyncConnectorsClient.update  sj    H ..;;CC-b123$@!.Bg !': G(5O[b!  2 ,) D 
 
	,C	Si++1c1{{+"5 ) 0  $$+%KK

3&"(//&**"=$-NN$4  $$+'KK

3&"(//&**"=$-NN$4  $$+$KK

3&"(//&**"=$-NN$4  $$+#KK

3&"(//&**"=$-NN$4  $$+.KK

3&"(//&**"=$-NN$4  $$+*KK

3&"(//&**"=$-NN$4  $$+'KK

3&"(//&**"=$-NN$4  $$+.KK

3&"(//&**"=$-NN$4  $$+)KK

3&"(//&**"=$-NN$4  $$+)KK

3&"(//&**"=$-NN$4  $$+-KK

3&"(//&**"=$-NN$4  $$+)KK

3&"(//&**"=$-NN$4  '^^-N 9#8#8~NNu
p  	Sy'<'<9>>RR	Ss8   A)]+\#,]1A\& ?] Y\& ]&+]]r   r   c          
      R  K   | j                   j                  j                  dt        |       ddd|i|       d{   }	 d|j                  cxk  rdk  r:n n7t        j                  t        t        t        |j                         	            S |j                  d
k(  rvt        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                         	                  |j                  dk(  rvt        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                         	                  |j                  dk(  rvt        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                         	                  |j                  dk(  rvt        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                         	                  |j                  dk(  rvt!        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                         	                  |j                  dk(  rvt#        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                         	                  |j                  dk(  rvt%        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                         	                  |j                  dk(  rvt'        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                         	                  |j                  dk(  rvt)        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                         	                  |j                  dk(  rvt+        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                         	                  |j                  dk(  rvt-        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                         	                  |j                  dk(  rvt/        t        j                  t
        j                  t
        j                     t        t
        j                  t
        j                     |j                         	                  |j                         }t3        |j                  |      7 # t0        $ r" t3        |j                  |j4                        w xY ww)a  
        Authorize the connector with the given ID for the connector oauth app.  See ['Connector Authentication'](https://docs.cohere.com/docs/connector-authentication) for more information.

        Parameters
        ----------
        id : str
            The ID of the connector to authorize.

        after_token_redirect : typing.Optional[str]
            The URL to redirect to after the connector has been authorized.

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

        Returns
        -------
        OAuthAuthorizeResponse
            OK

        Examples
        --------
        import asyncio

        from cohere import AsyncClient

        client = AsyncClient(
            client_name="YOUR_CLIENT_NAME",
            token="YOUR_TOKEN",
        )


        async def main() -> None:
            await client.connectors.o_auth_authorize(
                id="id",
            )


        asyncio.run(main())
        rv   r   rd   r   r6   Nr9   r:   r;   r>   r?   r@   rA   rB   rC   rD   rE   rF   rG   rH   rI   rJ   r   r   s         r)   r   z&AsyncConnectorsClient.o_auth_authorizez  s1    \ ..;;CC-b122BC&(< , D 
 
	C	Si++1c1{{*"4 ) 0  $$+%KK

3&"(//&**"=$-NN$4  $$+'KK

3&"(//&**"=$-NN$4  $$+$KK

3&"(//&**"=$-NN$4  $$+#KK

3&"(//&**"=$-NN$4  $$+.KK

3&"(//&**"=$-NN$4  $$+*KK

3&"(//&**"=$-NN$4  $$+'KK

3&"(//&**"=$-NN$4  $$+.KK

3&"(//&**"=$-NN$4  $$+)KK

3&"(//&**"=$-NN$4  $$+)KK

3&"(//&**"=$-NN$4  $$+-KK

3&"(//&**"=$-NN$4  $$+)KK

3&"(//&**"=$-NN$4  '^^-N 9#8#8~NNY
T  	Sy'<'<9>>RR	Ss5   <\'[6\'A[9 \'Y[9 \'9+\$$\')r   r   r   r   r*   rP   rS   r   r   r   rY   rp   r   r   r   r   r   r   rr   r   rz   r   r   r   r   r   r   r   r,   r)   r   r     s   .*< . )-)-;?yO u%yO &	yO
  8yO 
 yO@ -1:>7;(,59DH;?bO bO 	bO
 __S)bO //&//#"67bO 34bO %bO $__T2bO oo&@AbO  8bO 
!bOH X\ nOC nOV__^5T nO`t nOb NRpOpO+1??>+JpO	 pOl &*$(:>7;(,59DH;?^O^O ooc"	^O
 __S!^O //&//#"67^O 34^O %^O $__T2^O oo&@A^O  8^O 
!^OH 6:;?zOzO %ooc2	zO
  8zO 
 zOr,   r   )=rP   core.client_wrapperr   core.request_optionsr   types.list_connectors_responser   core.unchecked_base_modelr   errors.bad_request_errorr   errors.unauthorized_errorr	   errors.forbidden_errorr
   errors.not_found_errorr   !errors.unprocessable_entity_errorr   errors.too_many_requests_errorr   errors.invalid_token_errorr   "errors.client_closed_request_errorr   errors.internal_server_errorr   errors.not_implemented_errorr    errors.service_unavailable_errorr   errors.gateway_timeout_errorr   json.decoderr   core.api_errorr   types.create_connector_o_authr   #types.create_connector_service_authr   types.create_connector_responser   core.serializationr   types.get_connector_responser   core.jsonable_encoderr   types.delete_connector_responser   types.update_connector_responser   types.o_auth_authorize_responser   r   rQ   rT   rp   r!   r   r   r,   r)   <module>r      s     3 1 C 6 6 9 3 2 H A : I > > F > ( % @ L E H ? 4 E E D 4 v{{6::s#mO mO`#_O _Or,   