ffa32a113d8162f2457617c83d1ad73566ffcd63
Revisión con IA / ai-review (pull_request) Successful in 2m12s
Un cliente registrado por la web no lo reconocia el bot: el formulario dejaba escribir el numero en cualquier formato (1141984844, 01157260394) mientras que Meta manda el wa_id 5491141984844, asi que la busqueda por telefonoNorm no encontraba nada, mandaba al alta y ahi chocaba contra el email ya registrado. Quedaba en un callejon sin salida. Ahora el campo muestra "+54 9" fijo y grisado y el cliente completa solo la caracteristica (sin el 0) y el abonado (sin el 15), 10 digitos. El backend valida ese formato y guarda telefonoNorm ya como lo espera el bot. Se rechaza tambien un telefono repetido, que antes reventaba con el indice unico. Se agrega scripts/chat-bot.ts, que es como se encontro esto: permite conversar con el bot desde la consola contra cualquier base, sin Meta ni credenciales. Corriendolo contra una copia de la base de produccion se ve el ciclo completo: alta por web -> el bot lo reconoce por telefono -> pide el email -> reserva. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This is a Next.js project bootstrapped with create-next-app.
Getting Started
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.
This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.
Learn More
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
Deploy on Vercel
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.
Description
Languages
TypeScript
99.3%
Dockerfile
0.3%
CSS
0.2%
JavaScript
0.1%