Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 71596d9cec | |||
| 71cd6ddfcd |
@@ -211,10 +211,10 @@ class FocusCompliance(Request):
|
||||
"""
|
||||
if self.inn:
|
||||
response = self.get(path=f'{self._focus_base_url}/formFullIndividualReport')
|
||||
if not self.inn and passport and fio:
|
||||
elif not self.inn and passport and fio:
|
||||
response = self.get(path=f'{self._focus_base_url}/formFullIndividualReport', passportNumber=passport, fio=fio)
|
||||
else:
|
||||
return {'success': True, 'result': 'Необходимо указать: либо ИНН, либо ФИО (хотя бы фамилию и имя) и паспорт'}
|
||||
return {'success': False, 'result': 'Необходимо указать: либо ИНН, либо ФИО (хотя бы фамилию и имя) и паспорт'}
|
||||
|
||||
result = self._save_file(
|
||||
filename='Полный_отчет',
|
||||
|
||||
2
setup.py
2
setup.py
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
||||
|
||||
setup(
|
||||
name="kontur_focus",
|
||||
version="2025.11.1",
|
||||
version="2025.11.2",
|
||||
author="Ilya Sapunov",
|
||||
author_email="sapunov@selectel.ru",
|
||||
description="Библиотека-обертка для взаимодействия с REST API Контур.Фокус и Фокус.Комплаенс",
|
||||
|
||||
Reference in New Issue
Block a user