iconsulting/packages/services/user-service/src
hailin 7975982fc3 feat(user): add user profile and contact management
- Add UserProfile entity with immigration-specific fields:
  - Basic info (name, birth date, nationality, current location)
  - Immigration intent (target countries, types, timeline)
  - Education records with WES evaluation flag
  - Work records with NOC codes
  - Language scores (IELTS, TOEFL, etc.)
  - Family members info
  - Financial info for investment immigration
  - Profile completion percentage calculation

- Add UserContact entity for identity binding:
  - Support multiple contact types (EMAIL, WECHAT, WHATSAPP, TELEGRAM, LINE)
  - Verification code flow with expiration
  - Notification settings (paid feature)
  - Notification types: POLICY_UPDATE, DEADLINE_REMINDER, etc.

- Add API endpoints:
  - GET/PUT /users/me/profile/* for profile sections
  - GET/POST/PUT/DELETE /users/me/contacts for contact management
  - POST /users/me/contacts/:type/verification for verification flow
  - POST/PUT/DELETE /users/me/contacts/:type/notifications

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 19:32:17 -08:00
..
adapters feat(user): add user profile and contact management 2026-01-25 19:32:17 -08:00
application feat(user): add user profile and contact management 2026-01-25 19:32:17 -08:00
auth refactor(services): implement 4-layer Clean Architecture for all backend services 2026-01-24 22:18:22 -08:00
domain feat(user): add user profile and contact management 2026-01-25 19:32:17 -08:00
health fix(docker): add health check endpoints and fix IPv6 issue 2026-01-10 02:13:42 -08:00
infrastructure/database/postgres/entities feat(user): add user profile and contact management 2026-01-25 19:32:17 -08:00
user feat(user): add user profile and contact management 2026-01-25 19:32:17 -08:00
app.module.ts feat(multi-tenant): apply tenant middleware and refactor repositories 2026-01-25 18:30:31 -08:00
main.ts fix(health): exclude /health endpoint from API prefix 2026-01-10 02:30:24 -08:00