system-prompts-and-models-o.../dealix/docs/FRONTEND_AND_API_MAP.md
Sami Assiri b13cb389cc feat(dealix): sync full Dealix package to repo
- API routers, ACA modules, integrations (draft operators)
- Docs, landing pages, scripts (launch readiness, scorecard)
- Tests and CI workflow updates for Dealix

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-01 21:01:17 +03:00

5.0 KiB

خريطة الواجهة (Landing) وواجهة البرج والتحكم — Dealix

الغرض: يعرف المشغّل أو الشريك التقني أي صفحة HTML تغذيها أي مسارات API، دون البحث في الريبو. المسارات المرجعية الكاملة: architecture/API_CANONICAL_ALIASES.md.

مبدأ البنية

الطبقة الموقع الدور
واجهة تسويق / عرض landing/*.html HTML ثابت، غالباً lang="ar" وdir="rtl". نسخ إنجليزية مختصرة: *-en.html.
برج النمو (Growth Control Tower) طبقات auto_client_acquisition + مسارات /api/v1/platform/*، /api/v1/intelligence/*، /api/v1/growth-operator/*، /api/v1/services/*، /api/v1/targeting/* قرار، Inbox، مهام، خدمات، استهداف — بدون SPA واحد في الريبو.
لوحة إيرادات (عرض) command_center GET /api/v1/command-center/* تغذية لوحة الإيرادات؛ صفحة command-center.html توثّق المسار snapshot كنموذج.
نظام v3 v3 /api/v1/v3/* طبقة «Revenue OS» تجريبية: وكلاء، امتثال، رادار، ذاكرة.
إطلاق البيتا والتحصيل launch_ops، revenue_launch عروض، go/no-go، دفع يدوي، Proof — انظر REVENUE_TODAY_PLAYBOOK.md.

جدول: صفحة → مسارات API ذات صلة

صفحة (landing) لغة مسارات API (أمثلة) ملاحظة
index.html ar /health، روابط عامة بوابة الموقع.
private-beta.html ar GET /api/v1/launch/private-beta/offer، GET /api/v1/revenue-launch/offer، GET /api/v1/growth-operator/missions، POST /api/v1/operator/chat/message، GET /api/v1/revenue-os/company-os/command-feed/demo تدشين Pilot + Company OS؛ private-beta-en.html للإنجليزية.
private-beta-en.html en نفس المسارات أعلاه نسخة مختصرة LTR.
services.html ar GET /api/v1/services/catalog، POST /api/v1/services/recommend برج الخدمات؛ services-en.html.
services-en.html en نفس المسارات
command-center.html ar (محتوى مختلط في العناوين) GET /api/v1/command-center/snapshot?customer_id=...، باقي مسارات command_center.py عرض تسويقي؛ command-center-en.html مركز روابط EN.
command-center-en.html en نفس command-center + GET /api/v1/v3/command-center/snapshot إن وُجد في smoke
free-diagnostic.html ar POST /api/v1/targeting/free-diagnostic
first-10-opportunities.html ar POST /api/v1/intelligence/missions/first-10-opportunities أو POST /api/v1/innovation/opportunities/ten-in-ten انظر aliases.
list-intelligence.html ar POST /api/v1/targeting/uploaded-list/analyze
growth-os.html ar GET /api/v1/services/catalog، مسارات Growth OS في الخدمات
agency-partner.html ar GET /api/v1/services/contracts/templates
launch-readiness.html ar GET /api/v1/launch/go-no-go، scripts/launch_readiness_check.py

لغة الـ API التجريبية

  • GET /api/v1/revenue-launch/offer?lang=en: يضيف حقول title_en / summary_en (وأمثلة مشابهة) إلى جانب الحقول العربية _ar — لا يزيل الحقول العربية.

تشغيل محلي للتحقق

من مجلد dealix:

python scripts/smoke_inprocess.py
python scripts/launch_readiness_check.py

Staging (يتطلب STAGING_BASE_URL):

python scripts/smoke_staging.py --base-url https://<your-staging-host>

وثائق مرتبطة