mirror of
https://github.com/x1xhlol/system-prompts-and-models-of-ai-tools.git
synced 2026-06-17 23:09:35 +00:00
Phase 1 - Repo Hardening: - README.md, LICENSE, SECURITY.md, CONTRIBUTING.md - GitHub Actions repo-hygiene workflow - docs/: ARCHITECTURE, DATA-MODEL, API-MAP, AGENT-MAP, DEPLOYMENT-NOTES Phase 2 - Database Models (7 new): - Company, Contact, Call, Commission, Payout, Dispute, GuaranteeClaim - Consent, Complaint, Policy, KnowledgeArticle, SectorAsset - Updated models/__init__.py with all 32+ models Phase 3 - API Surfaces (16 new route files): - companies, contacts, calls, meetings, commissions, payouts - disputes, guarantees, consents, complaints, knowledge - sectors, presentations, supervisor, admin, health - Updated router.py with all 24 route groups Phase 4 - AI Prompt Registry (18 agent contracts): - Lead Qualification, Affiliate Recruitment Evaluator, Onboarding Coach - Outreach Writer, Arabic WhatsApp, English Conversation, Voice Call - Meeting Booking, Sector Strategist, Objection Handler - Proposal Drafter, QA Reviewer, Compliance Reviewer - Knowledge Retrieval, Revenue Attribution, Fraud Reviewer - Guarantee Claim Reviewer, Management Summary Phase 5 - Communication Templates: - 15 production templates (WhatsApp, email, voice, internal) - Arabic + English variants with variable interpolation Phase 6 - Compliance Center (7 legal docs): - Privacy policy, Terms of service, Refund policy - Commission policy, Affiliate rules, Consent policy, Data protection - All PDPL-compliant, Arabic Phase 7 - Celery Workers (fully implemented): - follow_up_tasks: automated lead follow-ups with workflow execution - message_tasks: WhatsApp/email/SMS with retry logic - notification_tasks: daily reports, meeting reminders, in-app notifications - affiliate_tasks: target checking, commission calculation, weekly reports, AI outreach Phase 8 - Knowledge Base OS (8 files): - Services overview, Pricing policy, Channel policy, Meeting policy - Identity rules, Escalation rules, Hiring path, Internal SOPs https://claude.ai/code/session_01KnJgK7RwyeCvRZTRThHtfU
35 lines
2.1 KiB
Python
35 lines
2.1 KiB
Python
from fastapi import APIRouter
|
|
from app.api.v1 import (
|
|
auth, leads, deals, dashboard, tenants, users, affiliates, ai_agents,
|
|
companies, contacts, calls, meetings, commissions, payouts, disputes,
|
|
guarantees, consents, complaints, knowledge, sectors, presentations,
|
|
supervisor, admin, health,
|
|
)
|
|
|
|
api_router = APIRouter()
|
|
|
|
api_router.include_router(auth.router, prefix="/auth", tags=["Authentication"])
|
|
api_router.include_router(tenants.router, prefix="/tenant", tags=["Tenant"])
|
|
api_router.include_router(users.router, prefix="/users", tags=["Users"])
|
|
api_router.include_router(leads.router, prefix="/leads", tags=["Leads"])
|
|
api_router.include_router(deals.router, prefix="/deals", tags=["Deals"])
|
|
api_router.include_router(dashboard.router, prefix="/dashboard", tags=["Dashboard"])
|
|
api_router.include_router(affiliates.router)
|
|
api_router.include_router(ai_agents.router)
|
|
api_router.include_router(companies.router, prefix="/companies", tags=["Companies"])
|
|
api_router.include_router(contacts.router, prefix="/contacts", tags=["Contacts"])
|
|
api_router.include_router(calls.router, prefix="/calls", tags=["Calls"])
|
|
api_router.include_router(meetings.router, prefix="/meetings", tags=["Meetings"])
|
|
api_router.include_router(commissions.router, prefix="/commissions", tags=["Commissions"])
|
|
api_router.include_router(payouts.router, prefix="/payouts", tags=["Payouts"])
|
|
api_router.include_router(disputes.router, prefix="/disputes", tags=["Disputes"])
|
|
api_router.include_router(guarantees.router, prefix="/guarantees", tags=["Guarantees"])
|
|
api_router.include_router(consents.router, prefix="/consents", tags=["Consents"])
|
|
api_router.include_router(complaints.router, prefix="/complaints", tags=["Complaints"])
|
|
api_router.include_router(knowledge.router, prefix="/knowledge", tags=["Knowledge"])
|
|
api_router.include_router(sectors.router, prefix="/sectors", tags=["Sectors"])
|
|
api_router.include_router(presentations.router, prefix="/presentations", tags=["Presentations"])
|
|
api_router.include_router(supervisor.router, prefix="/supervisor", tags=["Supervisor"])
|
|
api_router.include_router(admin.router, prefix="/admin", tags=["Admin"])
|
|
api_router.include_router(health.router, tags=["Health"])
|