+
    ~j1                    r   ^ RI Ht ^ RIt^RIHt ^RIHtHtHtH	t	H
t
HtHt ^RIHtHtHt ^RIHt ^RIHtHt ^RIHtHt ^R	IHt ^R
IHtHtHtHtH t  ^RI!H"t" ^RI#Ht ^RI$Ht ^RI%Ht ^RI&Ht RR.t' ! R R]4      t( ! R R]4      t) ! R R4      t* ! R R4      t+ ! R R4      t, ! R R4      t-R# )    )annotationsN)_legacy_response)BodyOmitQueryHeadersNotGivenomit	not_given)path_templatemaybe_transformasync_maybe_transform)cached_property)SyncAPIResourceAsyncAPIResource)to_streamed_response_wrapper"async_to_streamed_response_wrapper)make_request_options)ChatSessionWorkflowParamChatSessionRateLimitsParamChatSessionExpiresAfterParam$ChatSessionChatKitConfigurationParamsession_create_params)ChatSession)r   )r   )r   )r   SessionsAsyncSessionsc                      ] tR t^t]R R l4       t]R R l4       tR]R]R]RR	R
R	RR	R]/R R llt	RR	R
R	RR	R]/R R llt
RtR	# )r   c                   V ^8  d   QhRR/# )   returnSessionsWithRawResponse )formats   "{/Users/mitch_tango/dev/rabbit-r1-livekit/agent/.venv/lib/python3.14/site-packages/openai/resources/beta/chatkit/sessions.py__annotate__Sessions.__annotate__    s     - -#: -    c                    \        V 4      # 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
)r!   selfs   &r$   with_raw_responseSessions.with_raw_response   s     't,,r'   c                   V ^8  d   QhRR/# )r   r    SessionsWithStreamingResponser"   )r#   s   "r$   r%   r&   *   s     3 3)F 3r'   c                    \        V 4      # 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
)r/   r*   s   &r$   with_streaming_response Sessions.with_streaming_response)   s     -T22r'   chatkit_configurationexpires_afterrate_limitsextra_headersNextra_query
extra_bodytimeoutc               @    V ^8  d   QhRRRRRRRRR	R
RRRRRRRRRR/
# r   userstrworkflowr   r4   z+ChatSessionChatKitConfigurationParam | Omitr5   z#ChatSessionExpiresAfterParam | Omitr6   z!ChatSessionRateLimitsParam | Omitr7   Headers | Noner8   Query | Noner9   Body | Noner:   'float | httpx.Timeout | None | NotGivenr    r   r"   )r#   s   "r$   r%   r&   2   q     <
 <
 <
 +	<

  K<
 ;<
 7<
 &<
 "<
  <
 9<
 
<
r'   c       	            RR/T;'       g    / CpV P                  R\        RVRVRVRVRV/\        P                  4      \	        VVVV	R	R
/R7      \
        R7      # )  
Create a ChatKit session.

Args:
  user: A free-form string that identifies your end user; ensures this Session can
      access other objects that have the same `user` scope.

  workflow: Workflow that powers the session.

  chatkit_configuration: Optional overrides for ChatKit runtime configuration features

  expires_after: Optional override for session expiration timing in seconds from creation.
      Defaults to 10 minutes.

  rate_limits: Optional override for per-minute request limits. When omitted, defaults to 10.

  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
OpenAI-Betachatkit_beta=v1/chatkit/sessionsr=   r?   r4   r5   r6   bearer_authTr7   r8   r9   r:   securitybodyoptionscast_to)_postr   r   SessionCreateParamsr   r   
r+   r=   r?   r4   r5   r6   r7   r8   r9   r:   s
   &$$$$$$$$$r$   createSessions.create2   s    N '(9Sm>Q>QrSzz D+-B#]!; &99	 )+'%'.  '  
 	
r'   c               0    V ^8  d   QhRRRRRRRRR	R
RR/# r   
session_idr>   r7   r@   r8   rA   r9   rB   r:   rC   r    r   r"   )r#   s   "r$   r%   r&   p   F     &
 &
&
 &&
 "&
  &
 9&
 
&
r'   c                   V'       g   \        RV: 24      hRR/T;'       g    / CpV P                  \        RVR7      \        VVVVRR/R7      \        R	7      # )
  
Cancel an active ChatKit session and return its most recent metadata.

Cancelling prevents new requests from using the issued client secret.

Args:
  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
9Expected a non-empty value for `session_id` but received rG   rH   %/chatkit/sessions/{session_id}/cancelrX   rJ   TrK   rO   rP   
ValueErrorrQ   r   r   r   r+   rX   r7   r8   r9   r:   s   &&$$$$r$   cancelSessions.cancelp   sv    2 XYcXfghh&(9Sm>Q>QrSzzAjY(+'%'.    

 
	
r'   r"   __name__
__module____qualname____firstlineno__r   r,   r2   r
   r   rT   rc   __static_attributes__r"   r'   r$   r   r      s    - - 3 3<

 NR<
 >B<
 :><
 )-<
 %)<
 #'<
 <E<
|&
 )-&
 %)&
 #'&
 <E&
 &
r'   c                      ] tR t^t]R R l4       t]R R l4       tR]R]R]RR	R
R	RR	R]/R R llt	RR	R
R	RR	R]/R R llt
RtR	# )r   c                   V ^8  d   QhRR/# )r   r    AsyncSessionsWithRawResponser"   )r#   s   "r$   r%   AsyncSessions.__annotate__   s     2 2#? 2r'   c                    \        V 4      # r)   )rm   r*   s   &r$   r,   AsyncSessions.with_raw_response   s     ,D11r'   c                   V ^8  d   QhRR/# )r   r    "AsyncSessionsWithStreamingResponser"   )r#   s   "r$   r%   rn      s     8 8)K 8r'   c                    \        V 4      # r1   )rr   r*   s   &r$   r2   %AsyncSessions.with_streaming_response   s     2$77r'   r4   r5   r6   r7   Nr8   r9   r:   c               @    V ^8  d   QhRRRRRRRRR	R
RRRRRRRRRR/
# r<   r"   )r#   s   "r$   r%   rn      rD   r'   c       	           "   RR/T;'       g    / CpT P                  R\        RVRVRVRVRV/\        P                  4      G R	j  xL
 \	        VVVV	R
R/R7      \
        R7      G R	j  xL
 #  L' L5i)rF   rG   rH   rI   r=   r?   r4   r5   r6   NrJ   TrK   rM   )rQ   r   r   rR   r   r   rS   s
   &$$$$$$$$$r$   rT   AsyncSessions.create   s     N '(9Sm>Q>QrSZZ,D+-B#]!; &99	 	 )+'%'.  '   
 
 	
	
s$   AA2A.
"A2)A0*A20A2c               0    V ^8  d   QhRRRRRRRRR	R
RR/# rW   r"   )r#   s   "r$   r%   rn      rY   r'   c                  "   V'       g   \        RV: 24      hRR/T;'       g    / CpV P                  \        RVR7      \        VVVVRR/R7      \        R	7      G R
j  xL
 #  L5i)r[   r\   rG   rH   r]   r^   rJ   TrK   r_   Nr`   rb   s   &&$$$$r$   rc   AsyncSessions.cancel   s     2 XYcXfghh&(9Sm>Q>QrSZZAjY(+'%'.     

 

 
	
 

s   #A':A' A%!A'r"   re   r"   r'   r$   r   r      s    2 2 8 8<

 NR<
 >B<
 :><
 )-<
 %)<
 #'<
 <E<
|&
 )-&
 %)&
 #'&
 <E&
 &
r'   c                  "    ] tR tRtR R ltRtR# )r!   i  c                    V ^8  d   QhRRRR/# r   sessionsr   r    Noner"   )r#   s   "r$   r%   $SessionsWithRawResponse.__annotate__       
 
 
d 
r'   c                	    Wn         \        P                  ! VP                  4      V n        \        P                  ! VP                  4      V n        R # N)	_sessionsr   to_raw_response_wrapperrT   rc   r+   r~   s   &&r$   __init__ SessionsWithRawResponse.__init__  s;    !&>>OO
 '>>OO
r'   r   rc   rT   Nrf   rg   rh   ri   r   rj   r"   r'   r$   r!   r!         
 
r'   r!   c                  "    ] tR tRtR R ltRtR# )rm   i   c                    V ^8  d   QhRRRR/# r   r~   r   r    r   r"   )r#   s   "r$   r%   )AsyncSessionsWithRawResponse.__annotate__!       
 
 
4 
r'   c                	    Wn         \        P                  ! VP                  4      V n        \        P                  ! VP                  4      V n        R # r   )r   r   async_to_raw_response_wrapperrT   rc   r   s   &&r$   r   %AsyncSessionsWithRawResponse.__init__!  s;    !&DDOO
 'DDOO
r'   r   Nr   r"   r'   r$   rm   rm      r   r'   rm   c                  "    ] tR tRtR R ltRtR# )r/   i,  c                    V ^8  d   QhRRRR/# r}   r"   )r#   s   "r$   r%   *SessionsWithStreamingResponse.__annotate__-  r   r'   c                	z    Wn         \        VP                  4      V n        \        VP                  4      V n        R # r   )r   r   rT   rc   r   s   &&r$   r   &SessionsWithStreamingResponse.__init__-  s/    !2OO
 3OO
r'   r   Nr   r"   r'   r$   r/   r/   ,  r   r'   r/   c                  "    ] tR tRtR R ltRtR# )rr   i8  c                    V ^8  d   QhRRRR/# r   r"   )r#   s   "r$   r%   /AsyncSessionsWithStreamingResponse.__annotate__9  r   r'   c                	z    Wn         \        VP                  4      V n        \        VP                  4      V n        R # r   )r   r   rT   rc   r   s   &&r$   r   +AsyncSessionsWithStreamingResponse.__init__9  s/    !8OO
 9OO
r'   r   Nr   r"   r'   r$   rr   rr   8  r   r'   rr   ).
__future__r   httpx r   _typesr   r   r   r   r	   r
   r   _utilsr   r   r   _compatr   	_resourcer   r   	_responser   r   _base_clientr   types.beta.chatkitr   r   r   r   r   types.beta.chatkit.chat_sessionr   .types.beta.chatkit.chat_session_workflow_param1types.beta.chatkit.chat_session_rate_limits_param3types.beta.chatkit.chat_session_expires_after_param;types.beta.chatkit.chat_session_chatkit_configuration_param__all__r   r   r!   rm   r/   rr   r"   r'   r$   <module>r      s    #  ! L L L L L ' ; Z 1  < W \ ` p
'x
 x
vx
$ x
v	
 	
	
 	
	
 	
	
 	
r'   