
    b?iu                         S r SSKJrJrJrJr  SSKJrJr   " S S\5      r	\" SS\\
   05      r " S S	\5      r " S
 S\5      rg)z'Template and Variable type definitions.    )AnyListLiteralUnion)NotRequired	TypedDictc                   H    \ rS rSr% Sr\\S'    \S   \S'    \\	   \S'   Sr
g)	Variable   a  Template variable type.

Attributes:
    key (str): The key of the variable. We recommend capitalizing the key (e.g. FIRST_NAME).
    type (Literal["string", "number"]): The type of the variable.
    fallback_value (Any): The fallback value of the variable. Must match the type of the variable.
        If no fallback value is provided, you must provide a value for the variable when sending
        an email using the template.
key)stringnumbertypefallback_value N)__name__
__module____qualname____firstlineno____doc__str__annotations__r   r   r   __static_attributes__r       ^/var/www/html/livechat/backend/venv/lib/python3.13/site-packages/resend/templates/_template.pyr
   r
      s.     
HW
$
%%#$$Rr   r
   
_FromParamfromc                      \ rS rSr% Sr\\S'    \\S'    \\S'    \\   \S'    \\S      \S'    \\   \S	'    \\	\
\   \4      \S
'    \\S'    \\   \S'    \\
\      \S'    \\   \S'    \\   \S'    \\   \S'   Srg)Template&   aA  Template type that wraps the template object.

Attributes:
    id (str): The Template ID.
    object (str): The object type (always "template").
    name (str): The name of the template.
    alias (str): The alias of the template.
    status (str): The status of the template ("draft" or "published").
    from (str): Sender email address.
    subject (str): Email subject.
    reply_to (Union[List[str], str]): Reply-to email address(es).
    html (str): The HTML version of the template.
    text (str): The plain text version of the template.
    variables (List[Variable]): The array of variables used in the template.
    created_at (str): The timestamp when the template was created.
    updated_at (str): The timestamp when the template was last updated.
    published_at (str): The timestamp when the template was published.
idobjectnamealiasdraft	publishedstatussubjectreply_tohtmltext	variables
created_at
updated_atpublished_atr   N)r   r   r   r   r   r   r   r   r   r   r   r
   r   r   r   r   r   r   &   s    & 	GK.
I#s$ 4566%%S	3/00%
I+
c
14>**6C  6C  ;c""8r   r   c                   |    \ rS rSr% Sr\\S'    \\S'    \S   \S'    \\S4   \S'    \\S	'    \\S
'    \\S'   Sr	g)TemplateListItemb   a`  Template list item type returned in list responses.

This is a subset of the full Template object, containing only the fields
that are included in list responses.

Attributes:
    id (str): The Template ID.
    name (str): The name of the template.
    status (Literal["draft", "published"]): The status of the template.
    published_at (str | None): The timestamp when the template was published, or None if not published.
    created_at (str): The timestamp when the template was created.
    updated_at (str): The timestamp when the template was last updated.
    alias (str): The alias of the template.
r!   r#   r%   r(   Nr0   r.   r/   r$   r   )
r   r   r   r   r   r   r   r   r   r   r   r   r   r2   r2   b   sR     	G
I#())%T	""RO6O;J$r   r2   N)r   typingr   r   r   r   typing_extensionsr   r   r
   r   r   r   r2   r   r   r   <module>r6      sV    - , , 4Sy S, C 
99z 99x#%y #%r   