pounce/backend/app/models/__init__.py
yves.gugger 76a118ddbf
Some checks failed
CI / Frontend Lint & Type Check (push) Has been cancelled
CI / Frontend Build (push) Has been cancelled
CI / Backend Lint (push) Has been cancelled
CI / Backend Tests (push) Has been cancelled
CI / Docker Build (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
Deploy / Build & Push Images (push) Has been cancelled
Deploy / Deploy to Server (push) Has been cancelled
Deploy / Notify (push) Has been cancelled
feat: implement Yield/Intent Routing feature (pounce_endgame)
Backend:
- Add YieldDomain, YieldTransaction, YieldPayout, AffiliatePartner models
- Create IntentDetector service for keyword-based intent classification
- Implement /api/v1/yield/* endpoints (dashboard, domains, transactions, partners)
- Support domain activation, DNS verification, and revenue tracking

Frontend:
- Add /terminal/yield page with dashboard and activate wizard
- Add YIELD to sidebar navigation under 'Monetize' section
- Add 4th pillar 'Yield' to landing page 'Beyond Hunting' section
- Extend API client with yield endpoints and types

Features:
- AI-powered intent detection (medical, finance, legal, realestate, etc.)
- Swiss/German geo-targeting with city recognition
- Revenue estimation based on intent category and geo
- DNS verification via nameservers or CNAME
- 70/30 revenue split tracking
2025-12-12 14:39:56 +01:00

47 lines
1.4 KiB
Python

"""Database models."""
from app.models.user import User
from app.models.domain import Domain, DomainCheck
from app.models.subscription import Subscription
from app.models.tld_price import TLDPrice, TLDInfo
from app.models.portfolio import PortfolioDomain, DomainValuation
from app.models.auction import DomainAuction, AuctionScrapeLog
from app.models.newsletter import NewsletterSubscriber
from app.models.price_alert import PriceAlert
from app.models.admin_log import AdminActivityLog
from app.models.blog import BlogPost
from app.models.listing import DomainListing, ListingInquiry, ListingView
from app.models.sniper_alert import SniperAlert, SniperAlertMatch
from app.models.seo_data import DomainSEOData
from app.models.yield_domain import YieldDomain, YieldTransaction, YieldPayout, AffiliatePartner
__all__ = [
"User",
"Domain",
"DomainCheck",
"Subscription",
"TLDPrice",
"TLDInfo",
"PortfolioDomain",
"DomainValuation",
"DomainAuction",
"AuctionScrapeLog",
"NewsletterSubscriber",
"PriceAlert",
"AdminActivityLog",
"BlogPost",
# New: For Sale / Marketplace
"DomainListing",
"ListingInquiry",
"ListingView",
# New: Sniper Alerts
"SniperAlert",
"SniperAlertMatch",
# New: SEO Data (Tycoon feature)
"DomainSEOData",
# New: Yield / Intent Routing
"YieldDomain",
"YieldTransaction",
"YieldPayout",
"AffiliatePartner",
]