# Tasks: Cadastro Rico de Cliente (Perfil Completo no Registro) **Feature**: `012-register-rich-profile` **Generated**: 2026-04-14 **Depends On**: Feature 011 — migration `a2b3c4d5e6f7_enrich_client_users.py` (colunas já existem em `client_users`) --- ## Backend - [x] T001 `RegisterIn` schema: adicionar 11 campos opcionais (`phone`, `whatsapp`, `cpf`, `birth_date`, `address_street`, `address_number`, `address_complement`, `address_neighborhood`, `address_city`, `address_state`, `address_zip`) em `backend/app/schemas/auth.py` - [x] T002 `auth.py` `register()`: passar novos campos ao construtor de `ClientUser` em `backend/app/routes/auth.py` ## Frontend - [x] T003 [P] `types/auth.ts`: expandir `RegisterCredentials` com 11 campos opcionais em `frontend/src/types/auth.ts` - [x] T004 `RegisterPage.tsx`: adicionar estados para novos campos + funções de máscara (`maskCpf`, `maskPhone`, `maskZip`) em `frontend/src/pages/RegisterPage.tsx` - [x] T005 `RegisterPage.tsx`: seção "Contato" com campos `phone`, `whatsapp`, `cpf`, `birth_date` em `frontend/src/pages/RegisterPage.tsx` - [x] T006 `RegisterPage.tsx`: seção "Endereço" com campos `address_street`, `address_number`, `address_complement`, `address_neighborhood`, `address_city`, `address_state`, `address_zip` em `frontend/src/pages/RegisterPage.tsx` - [x] T007 `RegisterPage.tsx`: incluir novos campos no objeto passado para `register()` em `frontend/src/pages/RegisterPage.tsx`