# app/modules/orders/schemas/__init__.py
"""
Orders module Pydantic schemas.

This module contains the canonical implementations of order-related schemas.
"""

from app.modules.orders.schemas.order import (
    # Address schemas
    AddressSnapshot,
    AddressSnapshotResponse,
    # Order item schemas
    OrderItemCreate,
    OrderItemExceptionBrief,
    OrderItemResponse,
    # Customer schemas
    CustomerSnapshot,
    CustomerSnapshotResponse,
    # Order CRUD schemas
    OrderCreate,
    OrderUpdate,
    OrderTrackingUpdate,
    OrderItemStateUpdate,
    # Order response schemas
    OrderResponse,
    OrderDetailResponse,
    OrderListResponse,
    OrderListItem,
    # Admin schemas
    AdminOrderItem,
    AdminOrderListResponse,
    AdminOrderStats,
    AdminOrderStatusUpdate,
    AdminVendorWithOrders,
    AdminVendorsWithOrdersResponse,
    # Letzshop schemas
    LetzshopOrderImport,
    LetzshopShippingInfo,
    LetzshopOrderConfirmItem,
    LetzshopOrderConfirmRequest,
    # Shipping schemas
    MarkAsShippedRequest,
    ShippingLabelInfo,
)

from app.modules.orders.schemas.order_item_exception import (
    OrderItemExceptionResponse,
    OrderItemExceptionBriefResponse,
    OrderItemExceptionListResponse,
    OrderItemExceptionStats,
    ResolveExceptionRequest,
    IgnoreExceptionRequest,
    BulkResolveRequest,
    BulkResolveResponse,
    AutoMatchResult,
)

from app.modules.orders.schemas.invoice import (
    # Invoice settings schemas
    VendorInvoiceSettingsCreate,
    VendorInvoiceSettingsUpdate,
    VendorInvoiceSettingsResponse,
    # Line item schemas
    InvoiceLineItem,
    InvoiceLineItemResponse,
    # Address schemas
    InvoiceSellerDetails,
    InvoiceBuyerDetails,
    # Invoice CRUD schemas
    InvoiceCreate,
    InvoiceManualCreate,
    InvoiceResponse,
    InvoiceListResponse,
    InvoiceStatusUpdate,
    # Pagination
    InvoiceListPaginatedResponse,
    # PDF
    InvoicePDFGeneratedResponse,
    InvoiceStatsResponse,
    # Backward compatibility
    InvoiceSettingsCreate,
    InvoiceSettingsUpdate,
    InvoiceSettingsResponse,
)

__all__ = [
    # Address schemas
    "AddressSnapshot",
    "AddressSnapshotResponse",
    # Order item schemas
    "OrderItemCreate",
    "OrderItemExceptionBrief",
    "OrderItemResponse",
    # Order item exception schemas
    "OrderItemExceptionResponse",
    "OrderItemExceptionBriefResponse",
    "OrderItemExceptionListResponse",
    "OrderItemExceptionStats",
    "ResolveExceptionRequest",
    "IgnoreExceptionRequest",
    "BulkResolveRequest",
    "BulkResolveResponse",
    "AutoMatchResult",
    # Customer schemas
    "CustomerSnapshot",
    "CustomerSnapshotResponse",
    # Order CRUD schemas
    "OrderCreate",
    "OrderUpdate",
    "OrderTrackingUpdate",
    "OrderItemStateUpdate",
    # Order response schemas
    "OrderResponse",
    "OrderDetailResponse",
    "OrderListResponse",
    "OrderListItem",
    # Admin schemas
    "AdminOrderItem",
    "AdminOrderListResponse",
    "AdminOrderStats",
    "AdminOrderStatusUpdate",
    "AdminVendorWithOrders",
    "AdminVendorsWithOrdersResponse",
    # Letzshop schemas
    "LetzshopOrderImport",
    "LetzshopShippingInfo",
    "LetzshopOrderConfirmItem",
    "LetzshopOrderConfirmRequest",
    # Shipping schemas
    "MarkAsShippedRequest",
    "ShippingLabelInfo",
    # Invoice settings schemas
    "VendorInvoiceSettingsCreate",
    "VendorInvoiceSettingsUpdate",
    "VendorInvoiceSettingsResponse",
    # Line item schemas
    "InvoiceLineItem",
    "InvoiceLineItemResponse",
    # Invoice address schemas
    "InvoiceSellerDetails",
    "InvoiceBuyerDetails",
    # Invoice CRUD schemas
    "InvoiceCreate",
    "InvoiceManualCreate",
    "InvoiceResponse",
    "InvoiceListResponse",
    "InvoiceStatusUpdate",
    # Pagination
    "InvoiceListPaginatedResponse",
    # PDF
    "InvoicePDFGeneratedResponse",
    "InvoiceStatsResponse",
    # Backward compatibility
    "InvoiceSettingsCreate",
    "InvoiceSettingsUpdate",
    "InvoiceSettingsResponse",
]
