
    >i                         d dl mZmZ d dlmZmZ  ed      Z ed      Z ed      Z G d de      Z	 G d d	e      Z
 G d
 deeeef         Z G d deee         Z G d deee         Zy)    )GenericTypeVar)NotRequired	TypedDictT_CommandParamsT_CommandResponseT_EventParamsc                       e Zd ZdZy)EmptyParamszEmpty parameters for commands.N__name__
__module____qualname____doc__     Z/var/www/python/tenders/Scrapper/venv/lib/python3.12/site-packages/pydoll/protocol/base.pyr   r      s    (r   r   c                       e Zd ZdZy)EmptyResponsezEmpty response for commands.Nr   r   r   r   r   r      s    &r   r   c                   L    e Zd ZU dZee   ed<   eed<   ee   ed<   ee   ed<   y)CommandzBase structure for all commands.

    Attributes:
        method: The command method name
        params: Optional dictionary of parameters for the command
        sessionId: Optional target session identifier (flattened sessions)
    idmethodparams	sessionIdN)	r   r   r   r   r   int__annotations__strr   r   r   r   r   r      s/     	CK((3r   r   c                   6    e Zd ZU dZeed<   eed<   ee   ed<   y)ResponsezBase structure for all responses.

    Attributes:
        id: The ID that matches the command ID
        result: The result data for the command
        sessionId: Optional target session identifier (flattened sessions)
    r   resultr   N)	r   r   r   r   r   r   r   r   r   r   r   r   r    r    &   s     	G3r   r    c                   <    e Zd ZU dZeed<   ee   ed<   ee   ed<   y)CDPEventzBase structure for all events.r   r   r   N)r   r   r   r   r   r   r   r	   r   r   r   r#   r#   4   s     (K&&3r   r#   N)typingr   r   typing_extensionsr   r   r   r   r	   r   r   r   r    r#   r   r   r   <module>r&      s    # 5+,/0 (	) 		I 	 i2C!CD   y'"34   y'-0  r   