feat: expose Checko section APIs and completion counters

This commit is contained in:
Aleksandr Meshchryakov
2026-10-05 16:45:13 +02:00
parent a517950425
commit 4637b02ddd
26 changed files with 1974 additions and 36 deletions

View File

@@ -56,6 +56,42 @@ class ParserSourceDescriptor:
PARSER_SOURCES: dict[str, ParserSourceDescriptor] = {
"checko_licenses": ParserSourceDescriptor(
key="checko_licenses",
source=ParserLoadLog.Source.CHECKO_LICENSES,
title="Лицензии организаций",
agency="Внешний реестр",
data_scope="Лицензии организаций канонических организаций",
task_name="parsers.checko_licenses.refresh",
mode="organization_api",
access_method="monthly_claim_api",
parser_strategy="scoped_organization_snapshot",
admin_only=True,
),
"checko_messages": ParserSourceDescriptor(
key="checko_messages",
source=ParserLoadLog.Source.CHECKO_MESSAGES,
title="Сообщения организаций",
agency="Внешний реестр",
data_scope="Сообщения организаций канонических организаций",
task_name="parsers.checko_messages.refresh",
mode="organization_api",
access_method="monthly_claim_api",
parser_strategy="scoped_organization_snapshot",
admin_only=True,
),
"checko_leasing": ParserSourceDescriptor(
key="checko_leasing",
source=ParserLoadLog.Source.CHECKO_LEASING,
title="Лизинг",
agency="Внешний реестр",
data_scope="Лизинг канонических организаций",
task_name="parsers.checko_leasing.refresh",
mode="organization_api",
access_method="monthly_claim_api",
parser_strategy="scoped_organization_snapshot",
admin_only=True,
),
"fssp_enforcement_proceedings": ParserSourceDescriptor(
key="fssp_enforcement_proceedings",
source=ParserLoadLog.Source.FSSP_ENFORCEMENT_PROCEEDINGS,