Phase 1 OMS implementation: Invoicing: - Add Invoice and VendorInvoiceSettings database models - Full EU VAT support (27 countries, OSS, B2B reverse charge) - Invoice PDF generation with WeasyPrint + Jinja2 templates - Vendor invoice API endpoints for settings, creation, PDF download Subscription Tiers: - Add VendorSubscription model with 4 tiers (Essential/Professional/Business/Enterprise) - Tier limit enforcement for orders, products, team members - Feature gating based on subscription tier - Automatic trial subscription creation for new vendors - Integrate limit checks into order creation (direct and Letzshop sync) Marketing: - Update pricing documentation with 4-tier structure - Revise back-office positioning strategy - Update homepage with Veeqo-inspired Letzshop-focused messaging 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
31 lines
535 B
Python
31 lines
535 B
Python
# models/schema/__init__.py
|
|
"""API models package - Pydantic models for request/response validation."""
|
|
|
|
# Import API model modules
|
|
from . import (
|
|
auth,
|
|
base,
|
|
inventory,
|
|
invoice,
|
|
marketplace_import_job,
|
|
marketplace_product,
|
|
message,
|
|
stats,
|
|
vendor,
|
|
)
|
|
|
|
# Common imports for convenience
|
|
from .base import * # Base Pydantic models
|
|
|
|
__all__ = [
|
|
"base",
|
|
"auth",
|
|
"invoice",
|
|
"marketplace_product",
|
|
"message",
|
|
"inventory",
|
|
"vendor",
|
|
"marketplace_import_job",
|
|
"stats",
|
|
]
|