events imports are checked

This commit is contained in:
2024-11-08 15:05:12 +03:00
parent 643d6d8f65
commit a5b1e0b2f4
71 changed files with 2517 additions and 312 deletions

View File

@@ -125,6 +125,10 @@ from .user import (
ListUsers,
DeleteUsers,
)
from .modules import (
RegisterModules2Occupant,
RegisterModules2Employee,
)
__all__ = [
@@ -216,4 +220,6 @@ __all__ = [
"ActiveUsers",
"ListUsers",
"DeleteUsers",
"RegisterModules2Occupant",
"RegisterModules2Employee",
]

View File

@@ -0,0 +1,18 @@
from api_validations.core_validations import BaseModelRegular
from api_validations.validations_request import (
PydanticBaseModel,
ListOptions,
)
class RegisterModules2Occupant(BaseModelRegular):
modules_uu_id: str
occupant_uu_id: str
build_part_uu_id: str
class RegisterModules2Employee(BaseModelRegular):
modules_uu_id: str
employee_uu_id: str

View File

@@ -4,12 +4,12 @@ from api_validations.validations_request import (
ListOptions,
)
class RegisterServices2Occupant(PydanticBaseModel):
class RegisterServices2Occupant(BaseModelRegular):
service_uu_id: str
occupant_uu_id: str
build_part_uu_id: str
class RegisterServices2Employee(PydanticBaseModel):
class RegisterServices2Employee(BaseModelRegular):
service_uu_id: str
employee_uu_id: str