ó
    ­[j¥  ã                  ó2  • S SK Jr  S SKJrJr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  SS	KJrJrJrJrJrJrJrJr  SS
KJr  SSKJrJr  SSKJrJr  \(       a   SSK J!r!J"r"  SSK#J$r$J%r%J&r&J'r'  SSK(J)r)J*r*J+r+J,r,  SS/r- " S S\\5      r. " S S\\5      r/g)é    )Úannotations)ÚTYPE_CHECKINGÚTypeÚUnionÚMappingÚOptional)ÚPathN)Ú	BaseModelé   )ÚV2ResourceMixiné   )ÚBodyÚOmitÚQueryÚHeadersÚNotGivenÚ	FileTypesÚomitÚ	not_given)Úcached_property)ÚV2ExtractResultÚV2ParseResponse)ÚSyncAPIResourceÚAsyncAPIResource)ÚFilesResourceÚAsyncFilesResource)ÚParseResourceÚParseJobsResourceÚAsyncParseResourceÚAsyncParseJobsResource)ÚExtractResourceÚExtractJobsResourceÚAsyncExtractResourceÚAsyncExtractJobsResourceÚ
V2ResourceÚAsyncV2Resourcec                  ó  • \ rS rSrSr\SS j5       r\SS j5       r\SS j5       r\	\	\	\	\	SSSS\
S.
                     SS jjr\SS	 j5       r\SS
 j5       r\	\	\	\	SSSS\
S.	                     SS jjrSrg)r%   é   až  Container for the V2 (ADE) surface: ``client.v2.<resource>``.

``files``, ``parse``, and ``extract`` are wired up; each sub-resource does its
own lazy import inside its cached property body -- mirroring
``LandingAIADE.parse_jobs`` -- so that this module keeps importing standalone
regardless of which sub-resources exist yet. Remaining job-polling resources
are attached by later tasks following the same pattern.
c                ó2   • SSK Jn  U" U R                  5      $ )Nr   )r   )Úfilesr   Ú_client)Úselfr   s     ÚZ/home/mande/repo/quber/.venv/lib/python3.13/site-packages/landingai_ade/resources/v2/v2.pyr*   ÚV2Resource.files"   ó   € å(á˜TŸ\™\Ó*Ð*ó    c                ó2   • SSK Jn  U" U R                  5      $ )Nr   )r   )Úparser   r+   )r,   r   s     r-   Ú_parseÚV2Resource._parse(   r/   r0   c                ó2   • SSK Jn  U" U R                  5      $ )Nr   )r   )r2   r   r+   )r,   r   s     r-   Ú
parse_jobsÚV2Resource.parse_jobs.   s   € å,á  §¡Ó.Ð.r0   N©
ÚdocumentÚdocument_urlÚmodelÚoptionsÚpasswordÚsave_toÚextra_headersÚextra_queryÚ
extra_bodyÚtimeoutc       
        óF   • U R                   R                  UUUUUUUUU	U
S9
$ )zQParse a document synchronously. See ``ParseResource.run`` for full documentation.r8   ©r3   Úrun©r,   r9   r:   r;   r<   r=   r>   r?   r@   rA   rB   s              r-   r2   ÚV2Resource.parse4   s<   € ð" �{‰{�‰ØØ%ØØØØØ'Ø#Ø!Øð ð 
ð 	
r0   c                ó2   • SSK Jn  U" U R                  5      $ )Nr   )r!   )Úextractr!   r+   )r,   r!   s     r-   Ú_extractÚV2Resource._extractR   s   € å,á˜tŸ|™|Ó,Ð,r0   c                ó2   • SSK Jn  U" U R                  5      $ )Nr   )r"   )rI   r"   r+   )r,   r"   s     r-   Úextract_jobsÚV2Resource.extract_jobsX   s   € å0á" 4§<¡<Ó0Ð0r0   ©	ÚmarkdownÚmarkdown_urlr;   Ústrictr>   r?   r@   rA   rB   c       
        óF   • U R                   R                  UUUUUUUUU	U
S9
$ )zhExtract structured data from markdown synchronously. See ``ExtractResource.run`` for full documentation.©
ÚschemarP   rQ   r;   rR   r>   r?   r@   rA   rB   ©rJ   rE   ©r,   rU   rP   rQ   r;   rR   r>   r?   r@   rA   rB   s              r-   rI   ÚV2Resource.extract^   s>   € ð" �}‰}× Ñ ØØØ%ØØØØ'Ø#Ø!Øð !ð 
ð 	
r0   © )Úreturnr   )rZ   r   )rZ   r   ©r9   zOptional[FileTypes] | Omitr:   úOptional[str] | Omitr;   r\   r<   z%Optional[Mapping[str, object]] | Omitr=   r\   r>   ústr | Path | Noner?   úHeaders | Noner@   úQuery | NonerA   úBody | NonerB   ú'float | httpx.Timeout | None | NotGivenrZ   r   )rZ   r!   )rZ   r"   ©rU   z1Union[str, Mapping[str, object], Type[BaseModel]]rP   r\   rQ   r\   r;   r\   rR   zOptional[bool] | Omitr>   r]   r?   r^   r@   r_   rA   r`   rB   ra   rZ   r   ©Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   r*   r3   r6   r   r   r2   rJ   rM   rI   Ú__static_attributes__rY   r0   r-   r%   r%      s˜  † ñð ó+ó ð+ð
 ó+ó ð+ð
 ó/ó ð/ð 04Ø-1Ø&*Ø9=Ø)-Ø%)ð )-Ø$(Ø"&Ø;Dñ
ð -ð
ð +ð	
ð
 $ð
ð 7ð
ð 'ð
ð #ð
ð &ð
ð "ð
ð  ð
ð 9ð
ð 
õ
ð< ó-ó ð-ð
 ó1ó ð1ð *.Ø-1Ø&*Ø(,Ø%)ð )-Ø$(Ø"&Ø;Dñ
ð Bð
ð 'ð	
ð
 +ð
ð $ð
ð &ð
ð #ð
ð &ð
ð "ð
ð  ð
ð 9ð
ð 
÷
ð 
r0   c                  ó  • \ rS rSrSr\SS j5       r\SS j5       r\SS j5       r\	\	\	\	\	SSSS\
S.
                     SS jjr\SS	 j5       r\SS
 j5       r\	\	\	\	SSSS\
S.	                     SS jjrSrg)r&   é}   z$Async mirror of :class:`V2Resource`.c                ó2   • SSK Jn  U" U R                  5      $ )Nr   )r   )r*   r   r+   )r,   r   s     r-   r*   ÚAsyncV2Resource.files€   ó   € å-á! $§,¡,Ó/Ð/r0   c                ó2   • SSK Jn  U" U R                  5      $ )Nr   )r   )r2   r   r+   )r,   r   s     r-   r3   ÚAsyncV2Resource._parse†   rn   r0   c                ó2   • SSK Jn  U" U R                  5      $ )Nr   )r    )r2   r    r+   )r,   r    s     r-   r6   ÚAsyncV2Resource.parse_jobsŒ   s   € å1á% d§l¡lÓ3Ð3r0   Nr8   c       
      ƒ  ób   #   • U R                   R                  UUUUUUUUU	U
S9
I Sh  v•N $  N7f)z)Async mirror of :meth:`V2Resource.parse`.r8   NrD   rF   s              r-   r2   ÚAsyncV2Resource.parse’   sI   é € ð" —[‘[—_‘_ØØ%ØØØØØ'Ø#Ø!Øð %ð 
÷ 
ð 	
ñ 
ùó   ‚&/¨-©/c                ó2   • SSK Jn  U" U R                  5      $ )Nr   )r#   )rI   r#   r+   )r,   r#   s     r-   rJ   ÚAsyncV2Resource._extract°   s   € å1á# D§L¡LÓ1Ð1r0   c                ó2   • SSK Jn  U" U R                  5      $ )Nr   )r$   )rI   r$   r+   )r,   r$   s     r-   rM   ÚAsyncV2Resource.extract_jobs¶   s   € å5á'¨¯©Ó5Ð5r0   rO   c       
      ƒ  ób   #   • U R                   R                  UUUUUUUUU	U
S9
I Sh  v•N $  N7f)z+Async mirror of :meth:`V2Resource.extract`.rT   NrV   rW   s              r-   rI   ÚAsyncV2Resource.extract¼   sK   é € ð" —]‘]×&Ñ&ØØØ%ØØØØ'Ø#Ø!Øð 'ð 
÷ 
ð 	
ñ 
ùru   rY   )rZ   r   )rZ   r   )rZ   r    r[   )rZ   r#   )rZ   r$   rb   rc   rY   r0   r-   r&   r&   }   s”  † Ù.àó0ó ð0ð
 ó0ó ð0ð
 ó4ó ð4ð 04Ø-1Ø&*Ø9=Ø)-Ø%)ð )-Ø$(Ø"&Ø;Dñ
ð -ð
ð +ð	
ð
 $ð
ð 7ð
ð 'ð
ð #ð
ð &ð
ð "ð
ð  ð
ð 9ð
ð 
õ
ð< ó2ó ð2ð
 ó6ó ð6ð *.Ø-1Ø&*Ø(,Ø%)ð )-Ø$(Ø"&Ø;Dñ
ð Bð
ð 'ð	
ð
 +ð
ð $ð
ð &ð
ð #ð
ð &ð
ð "ð
ð  ð
ð 9ð
ð 
÷
ð 
r0   )0Ú
__future__r   Útypingr   r   r   r   r   Úpathlibr	   ÚhttpxÚpydanticr
   Ú_baser   Ú_typesr   r   r   r   r   r   r   r   Ú_compatr   Útypes.v2r   r   Ú	_resourcer   r   r*   r   r   r2   r   r   r   r    rI   r!   r"   r#   r$   Ú__all__r%   r&   rY   r0   r-   Ú<module>r‡      sk   ðå "ç @Õ @Ý ã Ý å "ß V× VÓ VÝ &ß 8ß :æß8ßcÓcßmÓmàÐ*Ð
+€ôb
� /ô b
ôJ[
Ð&¨õ [
r0   