From c329602dd7fc68c23ad48ce1deb49f2eae1a2852 Mon Sep 17 00:00:00 2001 From: "Evgeny (Krymmy) Momotov" Date: Thu, 13 Nov 2025 13:53:59 +0300 Subject: [PATCH] [UP] v 0.1.4-1 --- pyproject.toml | 2 +- src/CallerApiManager/yandex_fleet_models.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 136e4aa..621cf39 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "callerapimanager" -version = "0.1.4" +version = "0.1.4-1" description = "" authors = [ {name = "Evgeny (Krymmy) Momotov",email = "evgeny.momotov@gmail.com"} diff --git a/src/CallerApiManager/yandex_fleet_models.py b/src/CallerApiManager/yandex_fleet_models.py index ca36b82..5a64ffe 100644 --- a/src/CallerApiManager/yandex_fleet_models.py +++ b/src/CallerApiManager/yandex_fleet_models.py @@ -64,7 +64,7 @@ class Person(BaseModel): driver_license_experience: Optional[DriverLicenseExperience] = Field(None, description="Водительский стаж с даты") employment_type: EmploymentType = Field(..., description="Тип занятости: selfemployed, park_employee, individual_entrepreneur") full_name: Optional[FullName] = Field(None, description="Полное имя водителя") - tax_identification_number: str = Field(..., min_length=1, description="Идентификационный номер налогоплательщика, например: 7743013902") + tax_identification_number: Optional[str] = Field(None, min_length=1, description="Идентификационный номер налогоплательщика, например: 7743013902") class DriverProfile(BaseModel): @@ -72,4 +72,4 @@ class DriverProfile(BaseModel): profile: Optional[Profile] = Field(None, description="Профиль водителя") person: Optional[Person] = Field(None, description="Персональная информация водителя") order_provider: Optional[OrderProvider] = Field(None, description="Доступность заказов водителем") - car_id: str = Field(..., description="ID машины, например: 12345", min_length=1, max_length=100) \ No newline at end of file + car_id: Optional[str] = Field(None, description="ID машины, например: 12345", min_length=1, max_length=100) \ No newline at end of file