feat(ines/phase5): Wizard + README — configuration complète INES
Phase 5 — Wizard + README
WizardController /api/phone-agent/wizard
| Étape | Endpoint | Action |
|---|---|---|
| 1 |
POST /step1 (X-USER-UID) |
Création agent → wizardStep=NUMBERS |
| 2 | POST /{agentUid}/step2 |
Ajout numéros (optionnel) |
| 3 | POST /{agentUid}/step3 |
Import CSV prospects |
| 4 | POST /{agentUid}/step4 |
Sélection intégrations calendrier |
| 5 | POST /{agentUid}/step5 |
Config OAuth via IntegrationService |
| — | POST /{agentUid}/complete |
wizardCompleted=true + status=ACTIVE
|
| — | GET /status/{ownerAdminUid} |
Reprise wizard |
| — | PATCH /{agentUid}/step |
Mise à jour étape |
README.md
Documentation complète : tous les endpoints, variables d'environnement, intégrations IAVIA, build/run, tableau phases.
Critères §12 spec
-
✅ CRUD agent + numéros (Phase 1) -
✅ Webhook Vapi → phone_call avec durée (Phase 2) -
✅ Headers X-USER-UID (toutes routes authentifiées) -
✅ Docs endpoints (README + Swagger) -
✅ Wizard 6 étapes aligné front INES -
⬜ Healthcheck + déploiement Gateway (à configurer côté ops)