Files
orion/app/modules/prospecting/schemas/tech_profile.py
Samir Boulahtit 6d6eba75bf
Some checks failed
CI / pytest (push) Failing after 48m31s
CI / docs (push) Has been skipped
CI / deploy (push) Has been skipped
CI / ruff (push) Successful in 11s
CI / validate (push) Successful in 23s
CI / dependency-scanning (push) Successful in 28s
feat(prospecting): add complete prospecting module for lead discovery and scoring
Migrates scanning pipeline from marketing-.lu-domains app into Orion module.
Supports digital (domain scan) and offline (manual capture) lead channels
with enrichment, scoring, campaign management, and interaction tracking.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-28 00:59:47 +01:00

34 lines
914 B
Python

# app/modules/prospecting/schemas/tech_profile.py
"""Pydantic schemas for technology profile."""
from datetime import datetime
from pydantic import BaseModel
class TechProfileResponse(BaseModel):
"""Schema for technology profile response."""
id: int
prospect_id: int
cms: str | None = None
cms_version: str | None = None
server: str | None = None
server_version: str | None = None
hosting_provider: str | None = None
cdn: str | None = None
has_valid_cert: bool | None = None
cert_issuer: str | None = None
cert_expires_at: datetime | None = None
js_framework: str | None = None
analytics: str | None = None
tag_manager: str | None = None
ecommerce_platform: str | None = None
scan_source: str | None = None
scan_error: str | None = None
created_at: datetime
updated_at: datetime
class Config:
from_attributes = True