Ë
    $Æ%h¼#  ã                  ó`  — d dl mZ d dlmZmZmZ d dlmZ d dlZddl	m
Z
 ddlmZmZmZmZmZ ddlmZ dd	lmZ dd
lmZmZ ddlmZmZ ddlmZmZ ddlmZm Z  ddl!m"Z" ddl#m$Z$ ddl%m&Z& ddgZ' G d„ de«      Z( G d„ de«      Z) G d„ d«      Z* G d„ d«      Z+ G d„ d«      Z, G d„ d«      Z-y)é    )Úannotations)ÚAnyÚListÚcast)ÚLiteralNé   )Ú_legacy_response)Ú	NOT_GIVENÚBodyÚQueryÚHeadersÚNotGiven)Ú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            
      óx   — e Zd Zedd„«       Zedd„«       Zeeeeedddedœ		 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd„Zy)	r   c                ó   — t        | «      S ©a  
        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    úd/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/openai/resources/responses/input_items.pyÚwith_raw_responsezInputItems.with_raw_response   s   € ô )¨Ó.Ð.ó    c                ó   — t        | «      S ©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_responsez"InputItems.with_streaming_response$   s   € ô /¨tÓ4Ð4r&   N©	ÚafterÚbeforeÚincludeÚlimitÚorderÚextra_headersÚextra_queryÚ
extra_bodyÚtimeoutc       	        óæ   — |st        d|›�«      ‚| j                  d|› d�t        t           t	        |||	|
t        |||||dœt        j                  «      ¬«      t        t        t        «      ¬«      S ©añ  
        Returns a list of input items for a given response.

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

          before: An item ID to list items before, 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 `asc`.

              - `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)r,   r-   r.   r/   r0   )r1   r2   r3   r4   Úquery)ÚpageÚoptionsÚmodel)
Ú
ValueErrorÚ_get_api_listr   r   r   r   r   ÚInputItemListParamsr   r   ©r#   Úresponse_idr,   r-   r.   r/   r0   r1   r2   r3   r4   s              r$   ÚlistzInputItems.list-   s�   € ñV ÜÐYÐZeÐYhÐiÓjÐjØ×!Ñ!Ø˜+˜ lÐ3Ü¤Ñ-Ü(Ø+Ø'Ø%ØÜ%à!&Ø"(Ø#*Ø!&Ø!&ñô +×>Ñ>ó	ôô  ”sœLÓ)ð' "ó 
ð 	
r&   )Úreturnr!   )rA   r)   )r?   Ústrr,   ústr | NotGivenr-   rC   r.   ú#List[ResponseIncludable] | NotGivenr/   úint | NotGivenr0   ú!Literal['asc', 'desc'] | NotGivenr1   úHeaders | Noner2   úQuery | Noner3   úBody | Noner4   ú'float | httpx.Timeout | None | NotGivenrA   zSyncCursorPage[ResponseItem]©Ú__name__Ú
__module__Ú__qualname__r   r%   r*   r
   r@   © r&   r$   r   r      sÄ   „ Øò/ó ð/ð ò5ó ð5ð !*Ø!*Ø7@Ø )Ø3<ð )-Ø$(Ø"&Ø;DñA
àðA
ð ð	A
ð
 ðA
ð 5ðA
ð ðA
ð 1ðA
ð &ðA
ð "ðA
ð  ðA
ð 9ðA
ð 
&ôA
r&   c            
      óx   — e Zd Zedd„«       Zedd„«       Zeeeeedddedœ		 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dd„Zy)	r   c                ó   — t        | «      S r    )ÚAsyncInputItemsWithRawResponser"   s    r$   r%   z!AsyncInputItems.with_raw_responser   s   € ô .¨dÓ3Ð3r&   c                ó   — t        | «      S r(   )Ú$AsyncInputItemsWithStreamingResponser"   s    r$   r*   z'AsyncInputItems.with_streaming_response|   s   € ô 4°DÓ9Ð9r&   Nr+   c       	        óæ   — |st        d|›�«      ‚| j                  d|› d�t        t           t	        |||	|
t        |||||dœt        j                  «      ¬«      t        t        t        «      ¬«      S r6   )
r;   r<   r   r   r   r   r   r=   r   r   r>   s              r$   r@   zAsyncInputItems.list…   s�   € ñV ÜÐYÐZeÐYhÐiÓjÐjØ×!Ñ!Ø˜+˜ lÐ3Ü ¤Ñ.Ü(Ø+Ø'Ø%ØÜ%à!&Ø"(Ø#*Ø!&Ø!&ñô +×>Ñ>ó	ôô  ”sœLÓ)ð' "ó 
ð 	
r&   )rA   rR   )rA   rT   )r?   rB   r,   rC   r-   rC   r.   rD   r/   rE   r0   rF   r1   rG   r2   rH   r3   rI   r4   rJ   rA   z;AsyncPaginator[ResponseItem, AsyncCursorPage[ResponseItem]]rK   rO   r&   r$   r   r   q   sÅ   „ Øò4ó ð4ð ò:ó ð:ð !*Ø!*Ø7@Ø )Ø3<ð )-Ø$(Ø"&Ø;DñA
àðA
ð ð	A
ð
 ðA
ð 5ðA
ð ðA
ð 1ðA
ð &ðA
ð "ðA
ð  ðA
ð 9ðA
ð 
EôA
r&   c                  ó   — e Zd Zdd„Zy)r!   c                óZ   — || _         t        j                  |j                  «      | _        y ©N)Ú_input_itemsr	   Úto_raw_response_wrapperr@   ©r#   Úinput_itemss     r$   Ú__init__z"InputItemsWithRawResponse.__init__Ê   s%   € Ø'ˆÔä$×<Ñ<Ø×Ñó
ˆ�	r&   N©r\   r   rA   ÚNone©rL   rM   rN   r]   rO   r&   r$   r!   r!   É   ó   „ ô
r&   r!   c                  ó   — e Zd Zdd„Zy)rR   c                óZ   — || _         t        j                  |j                  «      | _        y rX   )rY   r	   Úasync_to_raw_response_wrapperr@   r[   s     r$   r]   z'AsyncInputItemsWithRawResponse.__init__Ó   s%   € Ø'ˆÔä$×BÑBØ×Ñó
ˆ�	r&   N©r\   r   rA   r_   r`   rO   r&   r$   rR   rR   Ò   ra   r&   rR   c                  ó   — e Zd Zdd„Zy)r)   c                óF   — || _         t        |j                  «      | _        y rX   )rY   r   r@   r[   s     r$   r]   z(InputItemsWithStreamingResponse.__init__Ü   s   € Ø'ˆÔä0Ø×Ñó
ˆ�	r&   Nr^   r`   rO   r&   r$   r)   r)   Û   ra   r&   r)   c                  ó   — e Zd Zdd„Zy)rT   c                óF   — || _         t        |j                  «      | _        y rX   )rY   r   r@   r[   s     r$   r]   z-AsyncInputItemsWithStreamingResponse.__init__å   s   € Ø'ˆÔä6Ø×Ñó
ˆ�	r&   Nre   r`   rO   r&   r$   rT   rT   ä   ra   r&   rT   ).Ú
__future__r   Útypingr   r   r   Útyping_extensionsr   ÚhttpxÚ r	   Ú_typesr
   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!   rR   r)   rT   rO   r&   r$   ú<module>rz      sŒ   ðõ #ç "Ñ "Ý %ã å  ß ?Õ ?Ý %Ý &ß :ß Yß 9ß @Ý 5Ý 9Ý EàÐ*Ð
+€ôU
�ô U
ôpU
Ð&ô U
÷p
ñ 
÷
ñ 
÷
ñ 
÷
ò 
r&   