Commit Graph

13 Commits

Author SHA1 Message Date
Cauê Faleiros
7b74140136 fix: dispatch webhooks in parallel to prevent blocking and add config logs
All checks were successful
Build and Deploy / build-and-push (push) Successful in 1m24s
2026-05-05 13:33:01 -03:00
Cauê Faleiros
ff2f5aca29 feat: add multi-dashboard routing support for n8n
All checks were successful
Build and Deploy / build-and-push (push) Successful in 2m36s
- Refactor `sendToN8n` service to accept dynamic webhook URLs.
- Update `order-status` controller to fan-out payload to both STATUS and GRAPHS webhooks.
- Add new endpoints and controllers for stock and graphs updates (`/stock-update`, `/graphs-update`).
- Maintain backward compatibility with existing `N8N_WEBHOOK_URL` environment variable.
2026-05-05 11:26:56 -03:00
Cauê Faleiros
325099ec94 feat: include items array in payload for n8n filtering
All checks were successful
Build and Deploy / build-and-push (push) Successful in 1m14s
2026-04-10 16:25:01 -03:00
Cauê Faleiros
52646e82de fix: revert to contato.obter.php to fetch seller phone
All checks were successful
Build and Deploy / build-and-push (push) Successful in 46s
2026-04-09 19:02:10 -03:00
Cauê Faleiros
26be7effa4 fix: use correct vendedor.obter.php API endpoint
All checks were successful
Build and Deploy / build-and-push (push) Successful in 43s
2026-04-09 18:44:31 -03:00
Cauê Faleiros
ccdf6b4136 feat: add secondary fetch for seller whatsapp
All checks were successful
Build and Deploy / build-and-push (push) Successful in 39s
2026-04-09 18:21:14 -03:00
Cauê Faleiros
9011d200d7 fix: resolve typescript scoping error for api response
All checks were successful
Build and Deploy / build-and-push (push) Successful in 35s
2026-04-09 18:03:59 -03:00
Cauê Faleiros
4b68d0b359 fix: correct JSON paths for Tiny API V2
Some checks failed
Build and Deploy / build-and-push (push) Failing after 34s
2026-04-09 18:01:47 -03:00
Cauê Faleiros
2f4f7ca91a fix: prevent server crash on empty payloads
All checks were successful
Build and Deploy / build-and-push (push) Successful in 39s
2026-04-09 17:32:47 -03:00
Cauê Faleiros
246bc03124 feat: fetch full order details and format payload
All checks were successful
Build and Deploy / build-and-push (push) Successful in 1m19s
2026-04-09 17:27:42 -03:00
Cauê Faleiros
bb072af130 chore: add debug logging for auth token
All checks were successful
Build and Deploy / build-and-push (push) Successful in 41s
2026-04-09 11:37:52 -03:00
Cauê Faleiros
9fdd15e292 fix: actually send the N8N_AUTH_TOKEN header to n8n
All checks were successful
Build and Deploy / build-and-push (push) Successful in 53s
2026-04-09 11:33:25 -03:00
Cauê Faleiros
c687fd2bd1 first commit
Some checks failed
Build and Deploy / build-and-push (push) Failing after 4m14s
2026-04-09 09:45:02 -03:00