"""直播账号履约服务兼容入口。 具体实现已按领域拆分到同包子模块;保留本模块是为了稳定 router、worker、 测试和既有调用方的导入路径。 """ from __future__ import annotations from . import ( # noqa: F401 allocation, binding, customer, lifecycle, mappings, order_sync, outbox, runtime, views, ) from .allocation import ( # noqa: F401 _allocate_task_from_capability, _cached_capability_state, _capability_availability_counts, _local_allocation_retry_at, _seed_capability_refresh, allocate_task, prepare_manual_allocation, ) from .binding import ( # noqa: F401 confirm_binding, confirm_binding_sync, manual_confirm_binding_sync, reconcile_binding_observations, reconcile_binding_state_outbox, refresh_binding, requires_account_binding_sync, start_binding, start_binding_sync, sync_active_task_from_account_binding, sync_task_from_binding_runner, ) from .binding_status import ( # noqa: F401 _binding_failure_issue, _binding_failure_raw_message, _customer_task_message, _customer_task_message_for, _effective_binding_issue, _effective_task_message, _normalized_event_detail, ) from .common import ( # noqa: F401 _apply_order_match_cutoff, _exchange_gate, _jsonable, _mapping_for_sku, _now, _order_match_started_at, _order_snapshot_from_event, _parse_snapshot_datetime, _snapshot_value, binding_failed_lease_ttl_minutes, ) from .customer import ( customer_confirm_binding, customer_refresh_binding, customer_refresh_bindings, customer_start_binding, ensure_customer_session, ) from .lifecycle import ( cancel_task, complete_manual_exchange, mark_manual_required, prepare_platform_task_for_collab_takeover, refresh_active_exchange_eligibility_for_account, refresh_exchange_eligibility, release_task_account, release_task_to_manual, reset_task_binding, restore_cancelled_task, ) from .mappings import ( # noqa: F401 _apply_mapping, _disable_other_current_mappings, _mapping_impact, _mapping_out, _reapply_mapping_tasks, _validate_mapping_window, _write_mapping, archive_mapping, create_mapping, delete_mapping, list_mappings, mapping_impact, restore_mapping, set_mapping_enabled, update_mapping, upsert_mapping, ) from .order_sync import ( # noqa: F401 _mapping_map, _sync_pending_tasks, _upsert_order_snapshot, sync_order_item_ids, sync_order_snapshot, sync_pending_tasks, sync_pending_tasks_if_due, ) from .outbox import ( # noqa: F401 _emit_order_site_binding_state, ) from .repository import ( # noqa: F401 _binding_qr_expired, _find_customer_task, _integration_actor, _load_task, _load_task_for_update, _retain_lease_for_active_collab, ) from .runtime import ( # noqa: F401 _append_event, _apply_task_lease_policy, _lease_duration_minutes, _lease_policy_for_task, get_settings, record_douyu_operation_result, record_douyu_operation_started, update_settings, ) from .views import ( # noqa: F401 _customer_binding_queue_state, _task_out, customer_binding_out, get_task_detail, list_tasks, ) __all__ = [ "allocate_task", "archive_mapping", "binding_failed_lease_ttl_minutes", "cancel_task", "complete_manual_exchange", "confirm_binding", "create_mapping", "customer_confirm_binding", "customer_refresh_binding", "customer_refresh_bindings", "customer_start_binding", "delete_mapping", "ensure_customer_session", "get_settings", "get_task_detail", "list_mappings", "list_tasks", "manual_confirm_binding_sync", "mapping_impact", "mark_manual_required", "prepare_manual_allocation", "prepare_platform_task_for_collab_takeover", "reconcile_binding_observations", "reconcile_binding_state_outbox", "record_douyu_operation_result", "record_douyu_operation_started", "refresh_active_exchange_eligibility_for_account", "refresh_binding", "refresh_exchange_eligibility", "release_task_account", "release_task_to_manual", "requires_account_binding_sync", "reset_task_binding", "restore_cancelled_task", "restore_mapping", "set_mapping_enabled", "start_binding", "sync_active_task_from_account_binding", "sync_order_item_ids", "sync_order_snapshot", "sync_pending_tasks", "sync_pending_tasks_if_due", "sync_task_from_binding_runner", "update_mapping", "update_settings", "upsert_mapping", ]