
    /cjx                        d Z ddlmZ ddlmZ ddlmZmZmZ  G d de          Z G d de          Z	 G d	 d
e          Z
 G d de          Z G d de          Z G d de          Z G d de          Z G d de          ZdS )u&  Pydantic schemas — define the JSON shape of every request and response.

These also drive the auto-generated OpenAPI/Swagger docs at /docs.
The `example` values shown in each Field() appear in the Swagger UI as
pre-filled example payloads — handy for the handoff team to click 'Try it out'.    )datetime)Optional)	BaseModelEmailStrFieldc                   `    e Zd ZU  edddg          Zeed<    edddg          Zeed<   d	S )
ProductCreate.2   WEBAPP
max_lengthexamplesproduct_code   zWeb Application Suiteproduct_nameN)__name__
__module____qualname__r   r   str__annotations__r        O/home/m1-ai/DEPLOYMENTS/AI-PHONE/ZACK-UPDATE/fixing_leaked/DEVOPSAPI/schemas.pyr	   r	      sZ         cbH:FFFL#FFFcc=T<UVVVL#VVVVVr   r	   c                   >    e Zd ZU eed<   eed<    G d d          ZdS )
ProductOutr   r   c                       e Zd ZdZdS )ProductOut.ConfigTNr   r   r   from_attributesr   r   r   Configr              r   r    Nr   r   r   r   r   r    r   r   r   r   r      sV                  r   r   c                       e Zd ZU  edddg          Zeed<    edddg          Zeed<    eddd	g          Zeed
<   dS )SystemCreate.r
   WEBAPP-AUTHr   system_coder   zAuthentication Modulesystem_namer   r   N)	r   r   r   r   r&   r   r   r'   r   r   r   r   r$   r$      s}         uSR=/JJJKJJJuSS<S;TUUUKUUUcbH:FFFL#FFFFFr   r$   c                   H    e Zd ZU eed<   eed<   eed<    G d d          ZdS )	SystemOutr&   r'   r   c                       e Zd ZdZdS )SystemOut.ConfigTNr   r   r   r   r    r+   )   r!   r   r    Nr"   r   r   r   r)   r)   $   sb                  r   r)   c                   ^    e Zd ZU  eddg          Zeed<    edddg          Zeed<   d	S )
SupportCreate.zauth-team@example.comr   support_emailr
   r%   r   r&   N)	r   r   r   r   r/   r   r   r&   r   r   r   r   r-   r-   0   sX         #eC3J2KLLLM8LLLuSR=/JJJKJJJJJr   r-   c                   H    e Zd ZU eed<   eed<   eed<    G d d          ZdS )
SupportOutidr/   r&   c                       e Zd ZdZdS )SupportOut.ConfigTNr   r   r   r   r    r4   :   r!   r   r    N)r   r   r   intr   r   r   r    r   r   r   r1   r1   5   s_         GGG         r   r1   c                       e Zd ZU  edddg          Zeed<    edddg          Zeed<    eddd	g          Zeed
<    edddg          Z	eed<    edddg          Z
eed<    eddg          Zeed<   dS )TicketCreate.r   zAcme Sdn Bhdr   customer_companyzJohn Tancustomer_namer
   z+60123456789customer_mobilephoner%   r&   r   r   uG   Cannot log in — receiving 'invalid token' error after password reset.r.   issueN)r   r   r   r   r8   r   r   r9   r:   r&   r   r;   r   r   r   r7   r7   A   s         !E##@PQQQcQQQssj\JJJM3JJJ %cbNCS T T T#TTTuSR=/JJJKJJJcbH:FFFL#FFF[\  E3     r   r7   c                       e Zd ZU eed<   eed<   eed<   eed<   eed<   eed<   eed<   dZee         ed	<   dZee         ed
<   dZ	ee         ed<   e
ed<    G d d          ZdS )	TicketOutr2   r8   r9   r:   r&   r   r;   Ndevops_work_item_id
devops_urlassigned_to
created_atc                       e Zd ZdZdS )TicketOut.ConfigTNr   r   r   r   r    rC   Z   r!   r   r    )r   r   r   r5   r   r   r>   r   r?   r@   r   r    r   r   r   r=   r=   M   s         GGGJJJ)-#--- $J$$$!%K#%%%         r   r=   N)__doc__r   typingr   pydanticr   r   r   r	   r   r$   r)   r-   r1   r7   r=   r   r   r   <module>rG      s  U U
             / / / / / / / / / /W W W W WI W W W
       G G G G G9 G G G    	   K K K K KI K K K
       	 	 	 	 	9 	 	 	    	     r   