ó
    ûÞ j#  ã                  ól  • 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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      r0g)é    )Úannotations)ÚAnyÚListÚ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)Ú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    Ú`/var/www/html/gaurav/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9[        [           [        UUUU	[        UUUUS.[        R                  5      SS0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/{response_id}/input_items)Úresponse_id)r2   r3   r4   r5   Úbearer_authT)r6   r7   r8   r9   ÚqueryÚsecurity)ÚpageÚoptionsÚmodel)Ú
ValueErrorÚ_get_api_listr   r   r   r   r   r   ÚInputItemListParamsr   r   ©
r'   r<   r2   r3   r4   r5   r6   r7   r8   r9   s
             r(   ÚlistÚInputItems.list-   s–   € öP ÜÐYÐZeÑYhÐiÓjÐjØ×!Ñ!ÜÐ@ÈkÑZÜ¤Ñ-Ü(Ø+Ø'Ø%ØÜ%à!&Ø#*Ø!&Ø!&ñ	ô +×>Ñ>óð (¨Ð.ñô  ”sœLÓ)ð' "ð 
ð 	
r+   © )Úreturnr%   )rJ   r.   )r<   Ústrr2   ú
str | Omitr3   úList[ResponseIncludable] | Omitr4   ú
int | Omitr5   úLiteral['asc', 'desc'] | Omitr6   úHeaders | Noner7   úQuery | Noner8   úBody | Noner9   ú(float | httpx2.Timeout | None | NotGivenrJ   zSyncCursorPage[ResponseItem]©Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__r   r)   r/   r   r   rG   Ú__static_attributes__rI   r+   r(   r   r      s°   † Øó/ó ð/ð ó5ó ð5ð !Ø37Ø Ø/3ð )-Ø$(Ø"&Ø<Eñ>
àð>
ð ð	>
ð
 1ð>
ð ð>
ð -ð>
ð &ð>
ð "ð>
ð  ð>
ð :ð>
ð 
&÷>
ð >
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    én   c                ó   • [        U 5      $ r$   )ÚAsyncInputItemsWithRawResponser&   s    r(   r)   Ú!AsyncInputItems.with_raw_responseo   s   € ô .¨dÓ3Ð3r+   c                ó   • [        U 5      $ r-   )Ú$AsyncInputItemsWithStreamingResponser&   s    r(   r/   Ú'AsyncInputItems.with_streaming_responsey   s   € ô 4°DÓ9Ð9r+   Nr1   c               óò   • U(       d  [        SU< 35      eU R                  [        SUS9[        [           [        UUUU	[        UUUUS.[        R                  5      SS0S9[        [        [        5      S9$ r;   )rC   rD   r   r   r   r   r   r   rE   r   r   rF   s
             r(   rG   ÚAsyncInputItems.list‚   s–   € öP ÜÐYÐZeÑYhÐiÓjÐjØ×!Ñ!ÜÐ@ÈkÑZÜ ¤Ñ.Ü(Ø+Ø'Ø%ØÜ%à!&Ø#*Ø!&Ø!&ñ	ô +×>Ñ>óð (¨Ð.ñô  ”sœLÓ)ð' "ð 
ð 	
r+   rI   )rJ   r]   )rJ   r`   )r<   rK   r2   rL   r3   rM   r4   rN   r5   rO   r6   rP   r7   rQ   r8   rR   r9   rS   rJ   z;AsyncPaginator[ResponseItem, AsyncCursorPage[ResponseItem]]rT   rI   r+   r(   r    r    n   s±   † Øó4ó ð4ð ó:ó ð:ð !Ø37Ø Ø/3ð )-Ø$(Ø"&Ø<Eñ>
àð>
ð ð	>
ð
 1ð>
ð ð>
ð -ð>
ð &ð>
ð "ð>
ð  ð>
ð :ð>
ð 
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_wrapperrG   ©r'   Úinput_itemss     r(   Ú__init__Ú"InputItemsWithRawResponse.__init__Ä   s#   € Ø'Ôä$×<Ò<Ø×Ñó
ˆ�	r+   ©rh   rG   N©rk   r   rJ   ÚNone©rU   rV   rW   rX   rl   rY   rI   r+   r(   r%   r%   Ã   ó   † ÷
r+   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 rg   )rh   r	   Úasync_to_raw_response_wrapperrG   rj   s     r(   rl   Ú'AsyncInputItemsWithRawResponse.__init__Í   s#   € Ø'Ôä$×BÒBØ×Ñó
ˆ�	r+   rn   N©rk   r    rJ   rp   rq   rI   r+   r(   r]   r]   Ì   rr   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 rg   )rh   r   rG   rj   s     r(   rl   Ú(InputItemsWithStreamingResponse.__init__Ö   s   € Ø'Ôä0Ø×Ñó
ˆ�	r+   rn   Nro   rq   rI   r+   r(   r.   r.   Õ   rr   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 rg   )rh   r   rG   rj   s     r(   rl   Ú-AsyncInputItemsWithStreamingResponse.__init__ß   s   € Ø'Ôä6Ø×Ñó
ˆ�	r+   rn   Nrx   rq   rI   r+   r(   r`   r`   Þ   rr   r+   r`   )1Ú
__future__r   Útypingr   r   r   Útyping_extensionsr   Úhttpx2Ú r	   Ú_typesr
   r   r   r   r   r   r   Ú_utilsr   r   Ú_compatr   Ú	_resourcer   r   Ú	_responser   r   Ú
paginationr   r   Ú_base_clientr   r   Útypes.responsesr   Útypes.responses.response_itemr   Ú#types.responses.response_includabler   Ú__all__r   r    r%   r]   r.   r`   rI   r+   r(   Ú<module>r‘      s�   ðõ #ç "Ñ "Ý %ã å  ß K× KÑ Kß 4Ý &ß :ß Yß 9ß @Ý 5Ý 9Ý EàÐ*Ð
+€ôR
�ô R
ôjR
Ð&ô R
÷j
ñ 
÷
ñ 
÷
ñ 
÷
ò 
r+   