feat: expose Checko section APIs and completion counters
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user