
    _iF"                    h   S SK Jr  S SKJrJrJr  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  SS	KJr  SS
KJrJr  SSKJr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)    )annotations)AnyListcast)LiteralN   )_legacy_response)BodyOmitQueryHeadersNotGivenomit	not_given)maybe_transform)cached_property)SyncAPIResourceAsyncAPIResource)to_streamed_response_wrapper"async_to_streamed_response_wrapper)SyncCursorPageAsyncCursorPage)AsyncPaginatormake_request_options)input_item_list_params)ResponseItem)ResponseIncludable
InputItemsAsyncInputItemsc            	          \ 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
)InputItemsWithRawResponseselfs    b/var/www/html/land-ocr/venv/lib/python3.13/site-packages/openai/resources/responses/input_items.pywith_raw_responseInputItems.with_raw_response   s     )..    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
)InputItemsWithStreamingResponser%   s    r'   with_streaming_response"InputItems.with_streaming_response$   s     /t44r*   Nafterincludelimitorderextra_headersextra_query
extra_bodytimeoutc                   U(       d  [        SU< 35      eU R                  SU S3[        [           [	        UUUU	[        UUUUS.[        R                  5      S9[        [        [        5      S9$ a2  
Returns a list of input items for a given response.

Args:
  after: An item ID to list items after, used in pagination.

  include: Additional fields to include in the response. See the `include` parameter for
      Response creation above for more information.

  limit: A limit on the number of objects to be returned. Limit can range between 1 and
      100, and the default is 20.

  order: The order to return the input items in. Default is `desc`.

      - `asc`: Return the input items in ascending order.
      - `desc`: Return the input items in descending order.

  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
z:Expected a non-empty value for `response_id` but received z/responses/z/input_items)r1   r2   r3   r4   )r5   r6   r7   r8   query)pageoptionsmodel)

ValueError_get_api_listr   r   r   r   r   InputItemListParamsr   r   
r&   response_idr1   r2   r3   r4   r5   r6   r7   r8   s
             r'   listInputItems.list-   s    P YZeYhijj!!+l3-(+'%%!&#*!&!&	 +>> sL)% " 
 	
r*    )returnr$   )rG   r-   )rC   strr1   
str | Omitr2   List[ResponseIncludable] | Omitr3   
int | Omitr4   Literal['asc', 'desc'] | Omitr5   Headers | Noner6   Query | Noner7   Body | Noner8   'float | httpx.Timeout | None | NotGivenrG   zSyncCursorPage[ResponseItem]__name__
__module____qualname____firstlineno__r   r(   r.   r   r   rD   __static_attributes__rF   r*   r'   r   r      s    / / 5 5 !37 /3 )-$("&;D=
=
 	=

 1=
 =
 -=
 &=
 "=
  =
 9=
 
&=
 =
r*   c            	          \ 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   m   c                    [        U 5      $ r#   )AsyncInputItemsWithRawResponser%   s    r'   r(   !AsyncInputItems.with_raw_responsen   s     .d33r*   c                    [        U 5      $ r,   )$AsyncInputItemsWithStreamingResponser%   s    r'   r.   'AsyncInputItems.with_streaming_responsex   s     4D99r*   Nr0   c                   U(       d  [        SU< 35      eU R                  SU S3[        [           [	        UUUU	[        UUUUS.[        R                  5      S9[        [        [        5      S9$ r:   )
r?   r@   r   r   r   r   r   rA   r   r   rB   s
             r'   rD   AsyncInputItems.list   s    P YZeYhijj!!+l3 .(+'%%!&#*!&!&	 +>> sL)% " 
 	
r*   rF   )rG   rZ   )rG   r]   )rC   rH   r1   rI   r2   rJ   r3   rK   r4   rL   r5   rM   r6   rN   r7   rO   r8   rP   rG   z;AsyncPaginator[ResponseItem, AsyncCursorPage[ResponseItem]]rQ   rF   r*   r'   r   r   m   s    4 4 : : !37 /3 )-$("&;D=
=
 	=

 1=
 =
 -=
 &=
 "=
  =
 9=
 
E=
 =
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)_input_itemsr	   to_raw_response_wrapperrD   r&   input_itemss     r'   __init__"InputItemsWithRawResponse.__init__   s#    '$<<
	r*   re   rD   Nrh   r   rG   NonerR   rS   rT   rU   ri   rV   rF   r*   r'   r$   r$          
r*   r$   c                      \ rS rSrSS jrSrg)rZ      c                Z    Xl         [        R                  " UR                  5      U l        g rd   )re   r	   async_to_raw_response_wrapperrD   rg   s     r'   ri   'AsyncInputItemsWithRawResponse.__init__   s#    '$BB
	r*   rk   Nrh   r   rG   rm   rn   rF   r*   r'   rZ   rZ      ro   r*   rZ   c                      \ rS rSrSS jrSrg)r-      c                D    Xl         [        UR                  5      U l        g rd   )re   r   rD   rg   s     r'   ri   (InputItemsWithStreamingResponse.__init__   s    '0
	r*   rk   Nrl   rn   rF   r*   r'   r-   r-      ro   r*   r-   c                      \ rS rSrSS jrSrg)r]      c                D    Xl         [        UR                  5      U l        g rd   )re   r   rD   rg   s     r'   ri   -AsyncInputItemsWithStreamingResponse.__init__   s    '6
	r*   rk   Nru   rn   rF   r*   r'   r]   r]      ro   r*   r]   )0
__future__r   typingr   r   r   typing_extensionsr   httpx r	   _typesr
   r   r   r   r   r   r   _utilsr   _compatr   	_resourcer   r   	_responser   r   
paginationr   r   _base_clientr   r   types.responsesr   types.responses.response_itemr   #types.responses.response_includabler   __all__r   r   r$   rZ   r-   r]   rF   r*   r'   <module>r      s    # " " %    K K K % & : Y 9 @ 5 9 E*
+Q
 Q
hQ
& Q
h
 

 

 

 
r*   