
    _i                    ,   S SK Jr  S SKrSSKJr  SSKJrJrJrJ	r	J
r
JrJr  SSKJrJr  SSKJr  SSKJrJr  SS	KJrJr  SS
KJr  SSKJr  SSKJr  SS/r " S S\5      r " S S\5      r  " S S5      r! " S S5      r" " S S5      r# " S S5      r$g)    )annotationsN   )_legacy_response)BodyOmitQueryHeadersNotGivenomit	not_given)maybe_transformasync_maybe_transform)cached_property)SyncAPIResourceAsyncAPIResource)to_streamed_response_wrapper"async_to_streamed_response_wrapper)make_request_options)client_secret_create_params)ClientSecretCreateResponseClientSecretsAsyncClientSecretsc                  r    \ rS rSr\SS j5       r\S	S j5       r\\SSS\S.             S
S jjr	Sr
g)r      c                    [        U 5      $ z
This property can be used as a prefix for any HTTP method call to return
the raw response object instead of the parsed content.

For more information, see https://www.github.com/openai/openai-python#accessing-raw-response-data-eg-headers
)ClientSecretsWithRawResponseselfs    d/var/www/html/land-ocr/venv/lib/python3.13/site-packages/openai/resources/realtime/client_secrets.pywith_raw_responseClientSecrets.with_raw_response   s     ,D11    c                    [        U 5      $ z
An alternative to `.with_raw_response` that doesn't eagerly read the response body.

For more information, see https://www.github.com/openai/openai-python#with_streaming_response
)"ClientSecretsWithStreamingResponser   s    r    with_streaming_response%ClientSecrets.with_streaming_response   s     2$77r#   Nexpires_aftersessionextra_headersextra_query
extra_bodytimeoutc               t    U R                  S[        UUS.[        R                  5      [	        X4XVS9[
        S9$ )  
Create a Realtime client secret with an associated session configuration.

Args:
  expires_after: Configuration for the client secret expiration. Expiration refers to the time
      after which a client secret will no longer be valid for creating sessions. The
      session itself may continue after that time once started. A secret can be used
      to create multiple sessions until it expires.

  session: Session configuration to use for the client secret. Choose either a realtime
      session or a transcription session.

  extra_headers: Send extra headers

  extra_query: Add additional query parameters to the request

  extra_body: Add additional JSON properties to the request

  timeout: Override the client-level default timeout for this request, in seconds
/realtime/client_secretsr*   r+   r,   r-   r.   r/   bodyoptionscast_to)_postr   r   ClientSecretCreateParamsr   r   r   r*   r+   r,   r-   r.   r/   s          r    createClientSecrets.create(   sQ    @ zz& %2& ,DD )+Q[ /  
 	
r#    )returnr   )r?   r&   r*   z/client_secret_create_params.ExpiresAfter | Omitr+   z*client_secret_create_params.Session | Omitr,   zHeaders | Noner-   zQuery | Noner.   zBody | Noner/   z'float | httpx.Timeout | None | NotGivenr?   r   __name__
__module____qualname____firstlineno__r   r!   r'   r   r   r<   __static_attributes__r>   r#   r    r   r      s    2 2 8 8 JN>B )-$("&;D-
 G-
 <	-
 &-
 "-
  -
 9-
 
$-
 -
r#   c                  r    \ rS rSr\SS j5       r\S	S j5       r\\SSS\S.             S
S jjr	Sr
g)r   X   c                    [        U 5      $ r   )!AsyncClientSecretsWithRawResponser   s    r    r!   $AsyncClientSecrets.with_raw_responseY   s     166r#   c                    [        U 5      $ r%   )'AsyncClientSecretsWithStreamingResponser   s    r    r'   *AsyncClientSecrets.with_streaming_responsec   s     7t<<r#   Nr)   c                  #    U R                  S[        UUS.[        R                  5      I Sh  vN [	        X4XVS9[
        S9I Sh  vN $  N N7f)r1   r2   r3   Nr4   r5   )r9   r   r   r:   r   r   r;   s          r    r<   AsyncClientSecrets.createl   sh     @ ZZ&,%2& ,DD  )+Q[ /   
 
 	

s!   -AA
AAAAr>   )r?   rJ   )r?   rM   r@   rA   r>   r#   r    r   r   X   s    7 7 = = JN>B )-$("&;D-
 G-
 <	-
 &-
 "-
  -
 9-
 
$-
 -
r#   c                      \ rS rSrSS jrSrg)r      c                Z    Xl         [        R                  " UR                  5      U l        g N)_client_secretsr   to_raw_response_wrapperr<   r   client_secretss     r    __init__%ClientSecretsWithRawResponse.__init__   s#    -&>>!!
r#   rU   r<   NrX   r   r?   NonerB   rC   rD   rE   rY   rF   r>   r#   r    r   r          
r#   r   c                      \ rS rSrSS jrSrg)rJ      c                Z    Xl         [        R                  " UR                  5      U l        g rT   )rU   r   async_to_raw_response_wrapperr<   rW   s     r    rY   *AsyncClientSecretsWithRawResponse.__init__   s#    -&DD!!
r#   r[   NrX   r   r?   r]   r^   r>   r#   r    rJ   rJ      r_   r#   rJ   c                      \ rS rSrSS jrSrg)r&      c                D    Xl         [        UR                  5      U l        g rT   )rU   r   r<   rW   s     r    rY   +ClientSecretsWithStreamingResponse.__init__   s    -2!!
r#   r[   Nr\   r^   r>   r#   r    r&   r&      r_   r#   r&   c                      \ rS rSrSS jrSrg)rM      c                D    Xl         [        UR                  5      U l        g rT   )rU   r   r<   rW   s     r    rY   0AsyncClientSecretsWithStreamingResponse.__init__   s    -8!!
r#   r[   Nre   r^   r>   r#   r    rM   rM      r_   r#   rM   )%
__future__r   httpx r   _typesr   r   r   r	   r
   r   r   _utilsr   r   _compatr   	_resourcer   r   	_responser   r   _base_clientr   types.realtimer   ,types.realtime.client_secret_create_responser   __all__r   r   r   rJ   r&   rM   r>   r#   r    <module>rz      s    #    K K K < & : Y 0 9 V0
1A
O A
HA
) A
H
 

 

 

 
r#   