+
    ~jR                    z   ^ RI Ht ^ RIHtHt ^ 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 ^RIHt ^R	IHtHt ^R
IHtHt ^RIHtHt ^RI H!t!H"t" ^RI#H$t$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      t0 ! R R4      t1 ! R R4      t2R# )    )annotations)Anycast)LiteralN)_legacy_response)BodyOmitQueryHeadersNotGivenomit	not_given)path_templatemaybe_transform)cached_property)SyncAPIResourceAsyncAPIResource)to_streamed_response_wrapper"async_to_streamed_response_wrapper)SyncConversationCursorPageAsyncConversationCursorPage)AsyncPaginatormake_request_options)thread_list_paramsthread_list_items_params)ChatKitThread)ThreadDeleteResponse)DataThreadsAsyncThreadsc                      ] tR t^t]R R l4       t]R R l4       tRRRRRRR	]/R
 R lltR]	R]	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]	R]	R]	R]	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ThreadsWithRawResponse )formats   "z/Users/mitch_tango/dev/rabbit-r1-livekit/agent/.venv/lib/python3.14/site-packages/openai/resources/beta/chatkit/threads.py__annotate__Threads.__annotate__   s     , ,#9 ,    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Threads.with_raw_response   s     &d++r+   c                   V ^8  d   QhRR/# )r#   r$   ThreadsWithStreamingResponser&   )r'   s   "r(   r)   r*   &   s     2 2)E 2r+   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
)r3   r.   s   &r(   with_streaming_responseThreads.with_streaming_response%   s     ,D11r+   extra_headersNextra_query
extra_bodytimeoutc               0    V ^8  d   QhRRRRRRRRR	R
RR/# r#   	thread_idstrr8   Headers | Noner9   Query | Noner:   Body | Noner;   'float | httpx.Timeout | None | NotGivenr$   r   r&   )r'   s   "r(   r)   r*   .   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      # )
(  
Retrieve a ChatKit thread by its identifier.

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
8Expected a non-empty value for `thread_id` but received OpenAI-Betachatkit_beta=v1/chatkit/threads/{thread_id}r>   bearer_authTr8   r9   r:   r;   securityoptionscast_to
ValueError_getr   r   r   r/   r>   r8   r9   r:   r;   s   &&$$$$r(   retrieveThreads.retrieve.   sv    . WXaWdeff&(9Sm>Q>QrSyy8IN(+'%'. "  

 
	
r+   afterbeforelimitorderuserc               @    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#   rX   
str | OmitrY   rZ   
int | Omitr[   Literal['asc', 'desc'] | Omitr\   r8   r@   r9   rA   r:   rB   r;   rC   r$   z)SyncConversationCursorPage[ChatKitThread]r&   )r'   s   "r(   r)   r*   T   sp     >
 >
 >
 	>

 >
 ->
 >
 &>
 ">
  >
 9>
 
3>
r+   c       	            RR/T;'       g    / CpV P                  R\        \        ,          \        VVVV	\	        RVRVRVRVRV/\
        P                  4      R	R
/R7      \        R7      # a  
List ChatKit threads with optional pagination and user filters.

Args:
  after: List items created after this thread item ID. Defaults to null for the first
      page.

  before: List items created before this thread item ID. Defaults to null for the newest
      results.

  limit: Maximum number of thread items to return. Defaults to 20.

  order: Sort order for results by creation time. Defaults to `desc`.

  user: Filter threads that belong to this user identifier. Defaults to null to return
      all users.

  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
rH   rI   z/chatkit/threadsrX   rY   rZ   r[   r\   rL   Tr8   r9   r:   r;   queryrN   pagerP   model)_get_api_listr   r   r   r   r   ThreadListParams
r/   rX   rY   rZ   r[   r\   r8   r9   r:   r;   s
   &$$$$$$$$$r(   listThreads.listT   s    P '(9Sm>Q>QrS!!+M:(+'%% & '77	 (."  ) " 
 	
r+   c               0    V ^8  d   QhRRRRRRRRR	R
RR/# r#   r>   r?   r8   r@   r9   rA   r:   rB   r;   rC   r$   r   r&   )r'   s   "r(   r)   r*      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      # )
@  
Delete a ChatKit thread along with its items and stored attachments.

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
rG   rH   rI   rJ   rK   rL   TrM   rO   rS   _deleter   r   r   rU   s   &&$$$$r(   deleteThreads.delete   sv    . WXaWdeff&(9Sm>Q>QrS||8IN(+'%'. )  

 
	
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?   rX   r^   rY   rZ   r_   r[   r`   r8   r@   r9   rA   r:   rB   r;   rC   r$   z SyncConversationCursorPage[Data]r&   )r'   s   "r(   r)   r*      sn     <
 <
<
 	<

 <
 <
 -<
 &<
 "<
  <
 9<
 
*<
r+   c               4   V'       g   \        RV: 24      hRR/T;'       g    / CpV P                  \        RVR7      \        \        ,          \        VVVV	\        RVRVRVR	V/\        P                  4      R
R/R7      \        \        \        4      R7      # a~  
List items that belong to a ChatKit thread.

Args:
  after: List items created after this thread item ID. Defaults to null for the first
      page.

  before: List items created before this thread item ID. Defaults to null for the newest
      results.

  limit: Maximum number of thread items to return. Defaults to 20.

  order: Sort order for results by creation time. Defaults to `desc`.

  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
rG   rH   rI   z"/chatkit/threads/{thread_id}/itemsrK   rX   rY   rZ   r[   rL   Trc   re   )rS   rh   r   r   r   r   r   r   ThreadListItemsParamsr   r   
r/   r>   rX   rY   rZ   r[   r8   r9   r:   r;   s
   &&$$$$$$$$r(   
list_itemsThreads.list_items   s    J WXaWdeff&(9Sm>Q>QrS!!>)T+D1(+'%% &	 -BB (.  sD/' " 
 	
r+   r&   __name__
__module____qualname____firstlineno__r   r0   r6   r   rV   r   rk   rt   r{   __static_attributes__r&   r+   r(   r   r      sB   , , 2 2$
 )-$
 %)$
 #'$
 <E$
L>
 !>
 "	>

 !>
 04>
  >
 )->
 %)>
 #'>
 <E>
@$
 )-$
 %)$
 #'$
 <E$
L<
 !	<

 "<
 !<
 04<
 )-<
 %)<
 #'<
 <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 lltR]	R]	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]	R]	R]	R]	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$   AsyncThreadsWithRawResponser&   )r'   s   "r(   r)   AsyncThreads.__annotate__   s     1 1#> 1r+   c                    \        V 4      # r-   )r   r.   s   &r(   r0   AsyncThreads.with_raw_response   s     +400r+   c                   V ^8  d   QhRR/# )r#   r$   !AsyncThreadsWithStreamingResponser&   )r'   s   "r(   r)   r     s     7 7)J 7r+   c                    \        V 4      # r5   )r   r.   s   &r(   r6   $AsyncThreads.with_streaming_response  s     166r+   r8   Nr9   r:   r;   c               0    V ^8  d   QhRRRRRRRRR	R
RR/# r=   r&   )r'   s   "r(   r)   r     rD   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)rF   rG   rH   rI   rJ   rK   rL   TrM   rO   NrR   rU   s   &&$$$$r(   rV   AsyncThreads.retrieve  s     . WXaWdeff&(9Sm>Q>QrSYY8IN(+'%'. "  

 

 
	
 

   #A':A' A%!A'rX   rY   rZ   r[   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#   rX   r^   rY   rZ   r_   r[   r`   r\   r8   r@   r9   rA   r:   rB   r;   rC   r$   zIAsyncPaginator[ChatKitThread, AsyncConversationCursorPage[ChatKitThread]]r&   )r'   s   "r(   r)   r   3  sq     >
 >
 >
 	>

 >
 ->
 >
 &>
 ">
  >
 9>
 
S>
r+   c       	            RR/T;'       g    / CpV P                  R\        \        ,          \        VVVV	\	        RVRVRVRVRV/\
        P                  4      R	R
/R7      \        R7      # rb   )rh   r   r   r   r   r   ri   rj   s
   &$$$$$$$$$r(   rk   AsyncThreads.list3  s    P '(9Sm>Q>QrS!!,];(+'%% & '77	 (."  ) " 
 	
r+   c               0    V ^8  d   QhRRRRRRRRR	R
RR/# rn   r&   )r'   s   "r(   r)   r   s  ro   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)rq   rG   rH   rI   rJ   rK   rL   TrM   rO   Nrr   rU   s   &&$$$$r(   rt   AsyncThreads.deletes  s     . WXaWdeff&(9Sm>Q>QrS\\8IN(+'%'. ) " 

 

 
	
 

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?   rX   r^   rY   rZ   r_   r[   r`   r8   r@   r9   rA   r:   rB   r;   rC   r$   z7AsyncPaginator[Data, AsyncConversationCursorPage[Data]]r&   )r'   s   "r(   r)   r     so     <
 <
<
 	<

 <
 <
 -<
 &<
 "<
  <
 9<
 
A<
r+   c               4   V'       g   \        RV: 24      hRR/T;'       g    / CpV P                  \        RVR7      \        \        ,          \        VVVV	\        RVRVRVR	V/\        P                  4      R
R/R7      \        \        \        4      R7      # rx   )rS   rh   r   r   r   r   r   r   ry   r   r   rz   s
   &&$$$$$$$$r(   r{   AsyncThreads.list_items  s    J WXaWdeff&(9Sm>Q>QrS!!>)T,T2(+'%% &	 -BB (.  sD/' " 
 	
r+   r&   r}   r&   r+   r(   r    r       sB   1 1 7 7$
 )-$
 %)$
 #'$
 <E$
L>
 !>
 "	>

 !>
 04>
  >
 )->
 %)>
 #'>
 <E>
@$
 )-$
 %)$
 #'$
 <E$
L<
 !	<

 "<
 !<
 04<
 )-<
 %)<
 #'<
 <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#   threadsr   r$   Noner&   )r'   s   "r(   r)   #ThreadsWithRawResponse.__annotate__       
 
 
D 
r+   c                	:   Wn         \        P                  ! VP                  4      V n        \        P                  ! VP                  4      V n        \        P                  ! VP
                  4      V n        \        P                  ! VP                  4      V n        R # N)_threadsr   to_raw_response_wrapperrV   rk   rt   r{   r/   r   s   &&r(   __init__ThreadsWithRawResponse.__init__  su    (@@
 %<<LL
	 '>>NN
 +BB
r+   r   rt   rk   r{   rV   Nr~   r   r   r   r   r   r&   r+   r(   r%   r%         
 
r+   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#   r   r    r$   r   r&   )r'   s   "r(   r)   (AsyncThreadsWithRawResponse.__annotate__       
 
 
 
r+   c                	:   Wn         \        P                  ! VP                  4      V n        \        P                  ! VP                  4      V n        \        P                  ! VP
                  4      V n        \        P                  ! VP                  4      V n        R # r   )r   r   async_to_raw_response_wrapperrV   rk   rt   r{   r   s   &&r(   r   $AsyncThreadsWithRawResponse.__init__  su    (FF
 %BBLL
	 'DDNN
 +HH
r+   r   Nr   r&   r+   r(   r   r     r   r+   r   c                  "    ] tR tRtR R ltRtR# )r3   i  c                    V ^8  d   QhRRRR/# r   r&   )r'   s   "r(   r)   )ThreadsWithStreamingResponse.__annotate__  r   r+   c                	    Wn         \        VP                  4      V n        \        VP                  4      V n        \        VP                  4      V n        \        VP
                  4      V n        R # r   )r   r   rV   rk   rt   r{   r   s   &&r(   r   %ThreadsWithStreamingResponse.__init__  s]    4
 1LL
	 3NN
 7
r+   r   Nr   r&   r+   r(   r3   r3     r   r+   r3   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)   .AsyncThreadsWithStreamingResponse.__annotate__  r   r+   c                	    Wn         \        VP                  4      V n        \        VP                  4      V n        \        VP                  4      V n        \        VP
                  4      V n        R # r   )r   r   rV   rk   rt   r{   r   s   &&r(   r   *AsyncThreadsWithStreamingResponse.__init__  s]    :
 7LL
	 9NN
 =
r+   r   Nr   r&   r+   r(   r   r     r   r+   r   )3
__future__r   typingr   r   typing_extensionsr   httpx r   _typesr   r	   r
   r   r   r   r   _utilsr   r   _compatr   	_resourcer   r   	_responser   r   
paginationr   r   _base_clientr   r   types.beta.chatkitr   r   !types.beta.chatkit.chatkit_threadr   )types.beta.chatkit.thread_delete_responser   +types.beta.chatkit.chatkit_thread_item_listr   __all__r   r    r%   r   r3   r   r&   r+   r(   <module>r      s    #  %  ! L L L 5 ' ; Z R A O ? N @n
%\
o \
~\
# \
~
 
$
 
$
 
$
 
r+   