26 Commits

Author SHA1 Message Date
Cauê Faleiros
9a9e9bedf2 feat: track average, max, and min stock additions per product in csv and n8n payload
All checks were successful
Build and Deploy / build-and-push (push) Successful in 1m4s
2026-05-11 12:48:30 -03:00
Cauê Faleiros
d89e2c11b1 feat: add endpoint to download stock logs csv directly from browser
All checks were successful
Build and Deploy / build-and-push (push) Successful in 42s
2026-05-11 11:56:10 -03:00
Cauê Faleiros
65fcf3f0fc feat: log stock changes to local csv file for analysis
All checks were successful
Build and Deploy / build-and-push (push) Successful in 47s
2026-05-11 11:50:34 -03:00
Cauê Faleiros
774fd4cf69 feat: add local memory tracker to calculate stock deltas
All checks were successful
Build and Deploy / build-and-push (push) Successful in 2m41s
2026-05-11 11:36:35 -03:00
Cauê Faleiros
d317a5041c feat: add http endpoint to trigger backfill script remotely
All checks were successful
Build and Deploy / build-and-push (push) Successful in 59s
2026-05-07 17:17:51 -03:00
Cauê Faleiros
7dfb3d4a03 feat: add backfill script to push historical tiny orders to n8n
All checks were successful
Build and Deploy / build-and-push (push) Successful in 1m38s
2026-05-07 17:09:54 -03:00
Cauê Faleiros
8af4bc9885 fix: map new n8n webhook environment variables in docker-compose
All checks were successful
Build and Deploy / build-and-push (push) Successful in 53s
2026-05-05 14:03:15 -03:00
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
a6ba7559d1 fix: map environment variables for Docker Swarm
All checks were successful
Build and Deploy / build-and-push (push) Successful in 41s
2026-04-09 11:06:19 -03:00
Cauê Faleiros
3875cb4153 fix: updated compose for docker swarm compatibility
All checks were successful
Build and Deploy / build-and-push (push) Successful in 43s
2026-04-09 10:52:46 -03:00
Cauê Faleiros
bb136c3816 fix: removed env_file from compose so portainer UI variables work
All checks were successful
Build and Deploy / build-and-push (push) Successful in 41s
2026-04-09 10:45:24 -03:00
Cauê Faleiros
c8b24eeaea fix: actually upload package.json
All checks were successful
Build and Deploy / build-and-push (push) Successful in 41s
2026-04-09 10:36:37 -03:00
Cauê Faleiros
6e7d266a72 fix: explicit package.json copy in Dockerfile
Some checks failed
Build and Deploy / build-and-push (push) Failing after 27s
2026-04-09 10:30:20 -03:00
Cauê Faleiros
923705c83b feat: initial commit of tiny-n8n middleware with CI/CD
Some checks failed
Build and Deploy / build-and-push (push) Failing after 27s
2026-04-09 10:28:23 -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