"""Contract settlement domain registration"""
from ...common.registry import DomainRegistry
from schemas.contract_settlement.contract_settlement import ContractSettlementResponse
from .sync_node import ContractSettlementSyncNode
from .sync_strategy import ContractSettlementSyncStrategy
from .jsonl_handler import ContractSettlementJsonlHandler
from .api_handler import ContractSettlementApiHandler

# 注册 contract_settlement domain
DomainRegistry.register(
    node_type="contract_settlement",
    schema=ContractSettlementResponse,
    node_class=ContractSettlementSyncNode,
    strategy_class=ContractSettlementSyncStrategy,
    jsonl_handler_class=ContractSettlementJsonlHandler,
    api_handler_class=ContractSettlementApiHandler,
)