Rene Fichtmueller
a20094755d
feat(scraper): Flexoptix REST API sync robot + scheduler integration
Replaces the GraphQL/search-based Flexoptix scraper with a proper
Magento 2 REST API integration that delivers authoritative SKUs,
prices, stock levels and compatibility data.
New files:
- packages/scraper/src/robots/flexoptix-api-sync.ts
Self-contained robot: auth → paginated fetch → normalize → DB write.
Reads FLEXOPTIX_API_BASE_URL / _USERNAME / _PASSWORD from env.
Returns { fetched, normalized, skipped, priceWrites, stockWrites }.
No file intermediary — in-memory pipeline.
- scripts/import-flexoptix-catalog.ts
One-shot CLI importer for the Pulso-generated JSONL (Codex handover).
- docs/FLEXOPTIX_CATALOG_IMPORT.md
Runbook for manual import + per-SKU specifications enrichment.
Scheduler changes:
- Added sync:flexoptix-catalog queue + work() handler
- Scheduled every 2h at 0 */2 * * * (same cadence as legacy job)
- scrape:pricing:flexoptix kept as legacy GraphQL fallback
Also includes Codex-generated additions from this sprint:
- audiocodes-oem scraper, seed-batch35/36/37, db.ts improvements,
sql/102 verification reconcile, README + package.json updates
2026-05-13 16:36:33 +02:00
..
2026-04-21 23:02:25 +02:00
2026-03-30 08:07:12 +02:00
2026-03-30 08:07:12 +02:00
2026-03-31 09:02:10 +02:00
2026-03-30 08:07:12 +02:00
2026-03-30 08:07:12 +02:00
2026-03-30 08:07:12 +02:00
2026-03-30 08:07:12 +02:00
2026-03-30 08:07:12 +02:00
2026-03-30 08:07:12 +02:00
2026-03-30 08:07:12 +02:00
2026-05-13 16:36:33 +02:00
2026-04-25 17:44:20 +02:00
2026-03-30 08:07:12 +02:00
2026-04-09 09:06:22 +02:00
2026-04-21 00:34:28 +02:00
2026-03-28 02:30:19 +13:00
2026-03-28 02:30:19 +13:00
2026-05-10 09:53:55 +02:00
2026-04-18 22:48:29 +02:00
2026-03-30 08:07:12 +02:00
2026-04-07 01:24:15 +02:00
2026-04-25 08:55:21 +02:00
2026-04-26 00:01:21 +02:00
2026-05-09 14:06:34 +02:00
2026-03-27 16:27:31 +13:00
2026-04-18 01:37:12 +02:00
2026-05-06 23:39:04 +02:00
2026-04-25 12:21:56 +02:00
2026-03-31 09:12:37 +02:00