§
    ÔŸ’jS  ã                  ól   — d dl mZ d dlZd dlmZ ddlmZ  ej        d¦  «        Z G d„ d¦  «        Z	dS )	é    )ÚannotationsN)ÚAnyé   ©Ú_utc_timestampz$dscons.desktop_automation.zalo_filesc                  ó   — e Zd ZdZ	 ddd	„Zd
S )ÚDesktopZaloFilesMixinz8Zalo automated file downloading and attachment handling.ç      N@Údownload_dirÚstrÚtimeout_secondsÚfloatÚreturnúdict[str, Any]c           	   ƒ  ó@   K  — ddt          ¦   «         ||ddœi ddi dœdœS )	z;Download the latest visible file from the active Zalo chat.FÚzalo_download_latest_fileÚunsupported)r   r   ÚbackendÚunsupported_operationzJZalo file download is not available in the current DSCons desktop backend.)ÚcodeÚmessageÚdetails)ÚokÚactionÚ	timestampÚdataÚ	artifactsÚerrorr   )Úselfr   r   s      ú@C:\Projects\DSCons\app\services\desktop_automation\zalo_files.pyr   z/DesktopZaloFilesMixin.zalo_download_latest_file   sQ   è è € ð Ø1Ý'Ñ)Ô)à ,Ø#2Ø(ðð ð
 à/ØgØðð ð
ð 
ð 	
ó    N)r
   )r   r   r   r   r   r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   © r!   r    r	   r	      s8   € € € € € ØBÐBð
 "&ð
ð 
ð 
ð 
ð 
ð 
ð 
r!   r	   )
Ú
__future__r   ÚloggingÚtypingr   Úcommonr   Ú	getLoggerÚloggerr	   r&   r!   r    ú<module>r-      s‰   ðØ "Ð "Ð "Ð "Ð "Ð "à €€€Ø Ð Ð Ð Ð Ð à "Ð "Ð "Ð "Ð "Ð "à	ˆÔ	ÐAÑ	BÔ	B€ð
ð 
ð 
ð 
ð 
ñ 
ô 
ð 
ð 
ð 
r!   