"""Contract settlement detail domain registration"""
from ...common.registry import DomainRegistry
from schemas.contract_settlement.contract_settlement_detail import ContractSettlementDetailResponse
from .sync_node import ContractSettlementDetailSyncNode
from .sync_strategy import ContractSettlementDetailSyncStrategy
from .jsonl_handler import ContractSettlementDetailJsonlHandler
from .api_handler import ContractSettlementDetailApiHandler

# 注册 contract_settlement_detail domain
DomainRegistry.register(
    node_type="contract_settlement_detail",
    schema=ContractSettlementDetailResponse,
    node_class=ContractSettlementDetailSyncNode,
    strategy_class=ContractSettlementDetailSyncStrategy,
    jsonl_handler_class=ContractSettlementDetailJsonlHandler,
    api_handler_class=ContractSettlementDetailApiHandler,
)