+
    \Pîi’  ã                  óè  € R t ^ RIHt ^ RIHt ^ RIHtHtHt ^ RIH	t	H
t
  ! R R]	4      t ! R R]	4      t ! R	 R
]	4      t ! R R]	4      t ! R R]	4      t ! R R]	4      t ! R R]	4      t ! R R]	4      t ! R R]	4      t ! R R]	4      t ! R R]	4      t ! R R]	4      t ! R R]	4      t ! R R ]	4      t ! R! R"]	4      t ! R# R$]	4      t ! R% R&]	4      t ! R' R(]	4      t ! R) R*]	4      tR+# ),u<   
models/schemas.py â€” All Pydantic request/response models
)Úannotations)Údatetime)ÚAnyÚLiteralÚOptional)Ú	BaseModelÚFieldc                  óF   € ] tR t^t$ ]! R^RR7      tR]R&   RtR]R&   R	tR# )
ÚLoginRequest.zCandidate access key)Ú
min_lengthÚdescriptionÚstrÚ
access_keyNúOptional[str]Úcaptcha_token© )	Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__r   r   Ú__annotations__r   Ú__static_attributes__r   ó    Ú3D:\Python_Codes\gen_ai\people_hub\models\schemas.pyr
   r
      s    ‡ Ù˜C¨AÐ;QÔR€J�ÓRØ#'€M�=×'r   r
   c                  óN   € ] tR t^t$ R]R&   RtR]R&   R]R&   R]R&   R]R&   R	tR
# )ÚLoginResponser   ÚtokenÚbearerÚ
token_typez'CandidateOut'Ú	candidateÚredirect_urlÚ
stage_namer   N)r   r   r   r   r   r   r   r   r   r   r   r      s"   ‡ ØƒJØ€J�ÓØÓØÓØ‡Or   r   c                  ó|   € ] tR t^t$ R]R&   R]R&   R]R&   R]R&   R]R&   R]R&   R	]R
&   R	]R&   R]R&   R]R&   RtR# )ÚCandidateOutr   ÚidÚnameÚemailÚphonez	list[str]Ú	skill_setÚposition_appliedr   Ú
last_loginÚlast_question_attemptÚintÚcurrent_stager   r   N©r   r   r   r   r   r   r   r   r   r#   r#      s9   ‡ ØƒGØ
ƒIØƒJØƒJØÓØÓØÓØ(Ó(ØÓØ‡Or   r#   c                  ó@   € ] tR t^#t$ R]R&   R]R&   R]R&   R]R&   RtR# )	ÚTokenPayloadr   Úsubr%   r,   ÚstageÚexpr   Nr.   r   r   r   r0   r0   #   s   ‡ Ø	ƒHØ
ƒIØƒJØ	‡Hr   r0   c                  ó,   € ] tR t^,t$ R]R&   R]R&   RtR# )ÚCaptchaVerifyRequestr   Ú
session_idz	list[int]Úselected_indicesr   Nr.   r   r   r   r5   r5   ,   s   ‡ ØƒOØ×r   r5   c                  ó@   € ] tR t^0t$ R]R&   R]R&   R]R&   R]R&   RtR# )	ÚCaptchaResponser   r6   Úchallenge_typeÚquestionú
list[dict]Úitemsr   Nr.   r   r   r   r9   r9   0   s   ‡ ØƒOØÓØƒMØ×r   r9   c                  ó:   € ] tR t^6t$ R]R&   RtR]R&   R]R&   RtR# )	ÚCaptchaVerifyResponseÚboolÚverifiedNr   r   r   Úmessager   )r   r   r   r   r   r   r   r   r   r   r?   r?   6   s   ‡ ØƒNØ€Eˆ=ÓØ‡Lr   r?   c                  óD   € ] tR t^>t$ R]R&   R]R&   R]R&   RtR]R&   R	tR# )
ÚPhotoUploadResponser@   Úsuccessr   Úphoto_idrB   NúOptional[dict]Úfraud_checkr   )r   r   r   r   r   rH   r   r   r   r   rD   rD   >   s   ‡ ØƒMØƒMØƒLØ"&€K�×&r   rD   c                  ó@   € ] tR t^Dt$ R]R&   R]R&   R]R&   R]R&   RtR# )	ÚSetupCompleteRequestr   rF   r@   Ú	camera_okÚmic_okÚ
network_okr   Nr.   r   r   r   rJ   rJ   D   s   ‡ ØƒMØƒOØƒLØ×r   rJ   c                  ó6   € ] tR t^Mt$ R]R&   R]R&   R]R&   RtR# )ÚRunCodeRequestr,   Úquestion_idr   ÚlanguageÚcoder   Nr.   r   r   r   rO   rO   M   s   ‡ ØÓØƒMØ
‡Ir   rO   c                  ó:   € ] tR t^Rt$ R]R&   R]R&   RtR]R&   RtR# )	ÚRunCodeResponser   Úoutputz&Literal['success', 'error', 'warning']ÚstatusNzOptional[int]Útokens_usedr   )r   r   r   r   r   rW   r   r   r   r   rT   rT   R   s   ‡ ØƒKØ2Ó2Ø!%€K�×%r   rT   c                  ó@   € ] tR t^Wt$ R]R&   R]R&   R]R&   R]R&   RtR# )	ÚSubmitCodeRequestr,   rP   r   Úquestion_textrQ   rR   r   Nr.   r   r   r   rY   rY   W   s   ‡ ØÓØÓØƒMØ
‡Ir   rY   c                  óh   € ] tR t^]t$ R]R&   R]R&   R]R&   R]R&   R]R	&   R]R
&   R]R&   R]R&   RtR# )ÚSubmitCodeResponser   Úsubmission_idr,   rP   z*Literal['correct', 'incorrect', 'partial']Ú	ai_resultÚai_feedbackÚfloatÚai_scoreÚai_marksÚ	max_marksÚsubmitted_atr   Nr.   r   r   r   r\   r\   ]   s/   ‡ ØÓØÓØ9Ó9ØÓØƒOØƒMØƒNØ×r   r\   c                  ó,   € ] tR t^gt$ R]R&   R]R&   RtR# )ÚFinalSubmitRequestr<   Úsubmissionsr,   Útime_used_secondsr   Nr.   r   r   r   rf   rf   g   s   ‡ ØÓØ×r   rf   c                  óJ   € ] tR t^kt$ R]R&   R]R&   R]R&   R]R&   R]R&   RtR	# )
ÚFinalSubmitResponser   Ú	referencer,   Útotal_submittedÚestimated_scoreÚ	max_scorerd   r   Nr.   r   r   r   rj   rj   k   s   ‡ ØƒNØÓØÓØƒNØ×r   rj   c                  óR   € ] tR t^ut$ R]R&   R]R&   R]R&   ^tR]R&   RtR	]R
&   RtR# )ÚFraudEventRequestz�Literal['TAB_SWITCH', 'PASTE', 'COPY', 'NO_CAMERA', 'CAMERA_LOST', 'NO_MIC', 'MULTIPLE_FACES', 'INACTIVITY', 'WINDOW_BLUR', 'SCREEN_CAPTURE']Ú
event_typer   rB   Ú	timestampr,   ÚroundNrG   Úmetadatar   )r   r   r   r   r   rs   rt   r   r   r   r   rp   rp   u   s+   ‡ ðó ð
 ƒLØƒNØ€Eˆ3ƒNØ#€Hˆn×#r   rp   c                  óJ   € ] tR t^€t$ R]R&   R]R&   R]R&   R]R&   R	]R
&   RtR# )ÚFraudEventResponser@   Úloggedr,   Úviolation_countz$Literal['ok', 'warning', 'critical']Úwarning_levelz%Literal['none', 'warn', 'disqualify']Úactionr   rB   r   Nr.   r   r   r   rv   rv   €   s   ‡ ØƒLØÓØ7Ó7Ø1Ó1Ø‡Lr   rv   c                  óB   € ] tR t^Št$ RtR]R&   RtR]R&   RtR]R	&   R
tR# )ÚSuccessResponseTr@   rE   ÚOKr   rB   Nr   Údatar   )	r   r   r   r   rE   r   rB   r~   r   r   r   r   r|   r|   Š   s    ‡ Ø€GˆTÓØ€GˆSÓØ€Dˆ#×r   r|   c                  ó>   € ] tR t^�t$ RtR]R&   R]R&   RtR]R&   R	tR# )
ÚErrorResponseFr@   rE   r   rB   Nr   Údetailr   )r   r   r   r   rE   r   r�   r   r   r   r   r€   r€   �   s   ‡ Ø€GˆTÓØƒLØ €FˆM× r   r€   N)Ú__doc__Ú
__future__r   r   Útypingr   r   r   Úpydanticr   r   r
   r   r#   r0   r5   r9   r?   rD   rJ   rO   rT   rY   r\   rf   rj   rp   rv   r|   r€   r   r   r   Ú<module>r†      sÿ   ðñõ #Ý ß )Ñ )ß %ô
(�9ô (ô�Iô ô
�9ô 
ô�9ô ô ˜9ô  ô�iô ô˜Iô ô'˜)ô 'ô˜9ô ô�Yô ô
&�iô &ô
˜	ô ô˜ô ô˜ô ô˜)ô ô	$˜	ô 	$ô˜ô ô�iô ô
!�Iö !r   