+
    Q?j#                    J   ^ RI Ht ^ RIHtHt ^ RIt^RIHt ^RIH	t	 ^RI
Ht ^RI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" 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# )    )annotations)MappingcastN)_legacy_response)&content_provenance_check_create_params)deepcopy_with_paths)BodyQueryHeadersNotGiven	FileTypes	not_given)extract_filesmaybe_transformasync_maybe_transform)cached_property)SyncAPIResourceAsyncAPIResource)to_streamed_response_wrapper"async_to_streamed_response_wrapper)make_request_options)ContentProvenanceCheckContentProvenanceChecksAsyncContentProvenanceChecksc                  b    ] 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t	R# )r   c                   V ^8  d   QhRR/# )   return&ContentProvenanceChecksWithRawResponse )formats   "ړ/home/vela/workspace/domain/tn-silver/web/tn-site/.runtime/imagegen-venv/lib/python3.14/site-packages/openai/resources/content_provenance_checks.py__annotate__$ContentProvenanceChecks.__annotate__   s     < <#I <    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)ContentProvenanceChecks.with_raw_response   s     6d;;r%   c                   V ^8  d   QhRR/# )r   r   ,ContentProvenanceChecksWithStreamingResponser    )r!   s   "r"   r#   r$   #   s     B B)U Br%   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/ContentProvenanceChecks.with_streaming_response"   s     <DAAr%   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   filer   r2   zHeaders | Noner3   zQuery | Noner4   zBody | Noner5   z(float | httpx2.Timeout | None | NotGivenr   r   r    )r!   s   "r"   r#   r$   +   sH     3
 3
 3
 &3
 "3
  3
 :3
 
 3
r%   c               "   \        RV/R..4      p\        \        \        \        \
        3,          V4      R..R7      pRR/T;'       g    / CpV P                  R\        V\        P                  4      V\        VVVVRR/R7      \        R	7      # )
  
Check whether an image or audio file contains known OpenAI provenance signals.
[Learn more about content provenance](/api/docs/guides/content-provenance).

If `not_detected`, it means the tool did not find supported signals in the
uploaded file. The content could still have been generated by OpenAI if the
metadata was stripped or has evidence of tampering, the watermark was degraded,
it comes from a legacy generation model, or it was created before provenance
signals were available. Content could also still be AI-generated by another
company's model, which the tool currently does not detect.

Args:
  file: The image or audio file to check for supported OpenAI provenance signals.

  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
r8   pathsContent-Typemultipart/form-data/content_provenance_checksbearer_authTr2   r3   r4   r5   securitybodyfilesoptionscast_to)r   r   r   r   strobject_postr   r   "ContentProvenanceCheckCreateParamsr   r   r)   r8   r2   r3   r4   r5   rD   rE   s   &$$$$$  r"   createContentProvenanceChecks.create+   s    B #FD>VH:>d73;#7>xjQ ()>X=CVCVTVXzz( 'M'p'pq(+'%'. +  
 	
r%   r    
__name__
__module____qualname____firstlineno__r   r*   r0   r   rM   __static_attributes__r    r%   r"   r   r      s]    < < B B3
 )-3
 %)3
 #'3
 =F3
 3
r%   c                  b    ] tR t^at]R R l4       t]R R l4       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   +AsyncContentProvenanceChecksWithRawResponser    )r!   s   "r"   r#   )AsyncContentProvenanceChecks.__annotate__c   s     A A#N Ar%   c                    \        V 4      # r'   )rW   r(   s   &r"   r*   .AsyncContentProvenanceChecks.with_raw_responseb   s     ;4@@r%   c                   V ^8  d   QhRR/# )r   r   1AsyncContentProvenanceChecksWithStreamingResponser    )r!   s   "r"   r#   rX   m   s     G G)Z Gr%   c                    \        V 4      # r/   )r\   r(   s   &r"   r0   4AsyncContentProvenanceChecks.with_streaming_responsel   s     AFFr%   r2   Nr3   r4   r5   c               0    V ^8  d   QhRRRRRRRRR	R
RR/# r7   r    )r!   s   "r"   r#   rX   u   sH     5
 5
 5
 &5
 "5
  5
 :5
 
 5
r%   c               R  "   \        RV/R..4      p\        \        \        \        \
        3,          V4      R..R7      pRR/T;'       g    / CpT P                  R\        V\        P                  4      G Rj  xL
 V\        VVVVRR/R	7      \        R
7      G Rj  xL
 #  L( L5i)r:   r8   r;   r=   r>   r?   Nr@   TrA   rC   )r   r   r   r   rH   rI   rJ   r   r   rK   r   r   rL   s   &$$$$$  r"   rM   #AsyncContentProvenanceChecks.createu   s     B #FD>VH:>d73;#7>xjQ ()>X=CVCVTVXZZ(,<__  (+'%'. +   
 
 	

s$   A8B':B#
;#B'B%B'%B'r    rO   r    r%   r"   r   r   a   s_    A A G G5
 )-5
 %)5
 #'5
 =F5
 5
r%   c                  "    ] tR t^tR R ltRtR# )r   c                    V ^8  d   QhRRRR/# r   content_provenance_checksr   r   Noner    )r!   s   "r"   r#   3ContentProvenanceChecksWithRawResponse.__annotate__        
 
2I 
d 
r%   c                	\    Wn         \        P                  ! VP                  4      V n        R # N)_content_provenance_checksr   to_raw_response_wrapperrM   r)   re   s   &&r"   __init__/ContentProvenanceChecksWithRawResponse.__init__   s#    *C'&>>%,,
r%   rk   rM   NrP   rQ   rR   rS   rn   rT   r    r%   r"   r   r          
 
r%   r   c                  "    ] tR t^tR R ltRtR# )rW   c                    V ^8  d   QhRRRR/# r   re   r   r   rf   r    )r!   s   "r"   r#   8AsyncContentProvenanceChecksWithRawResponse.__annotate__        
 
2N 
SW 
r%   c                	\    Wn         \        P                  ! VP                  4      V n        R # rj   )rk   r   async_to_raw_response_wrapperrM   rm   s   &&r"   rn   4AsyncContentProvenanceChecksWithRawResponse.__init__   s#    *C'&DD%,,
r%   rp   Nrq   r    r%   r"   rW   rW      rr   r%   rW   c                  "    ] tR t^tR R ltRtR# )r-   c                    V ^8  d   QhRRRR/# rd   r    )r!   s   "r"   r#   9ContentProvenanceChecksWithStreamingResponse.__annotate__   rh   r%   c                	F    Wn         \        VP                  4      V n        R # rj   )rk   r   rM   rm   s   &&r"   rn   5ContentProvenanceChecksWithStreamingResponse.__init__   s    *C'2%,,
r%   rp   Nrq   r    r%   r"   r-   r-      rr   r%   r-   c                  "    ] tR t^tR R ltRtR# )r\   c                    V ^8  d   QhRRRR/# ru   r    )r!   s   "r"   r#   >AsyncContentProvenanceChecksWithStreamingResponse.__annotate__   rw   r%   c                	F    Wn         \        VP                  4      V n        R # rj   )rk   r   rM   rm   s   &&r"   rn   :AsyncContentProvenanceChecksWithStreamingResponse.__init__   s    *C'8%,,
r%   rp   Nrq   r    r%   r"   r\   r\      rr   r%   r\   )*
__future__r   typingr   r   httpx2 r   typesr   _filesr   _typesr	   r
   r   r   r   r   _utilsr   r   r   _compatr   	_resourcer   r   	_responser   r   _base_clientr   types.content_provenance_checkr   __all__r   r   r   rW   r-   r\   r    r%   r"   <module>r      s    #     : ( I I J J % 9 X / C$&D
EG
o G
TI
#3 I
X
 

 

 

 
r%   