27 lines
710 B
Python
27 lines
710 B
Python
from fastapi import APIRouter, Depends
|
|
|
|
from ApiControllers.abstracts.default_validations import CommonHeaders
|
|
from ApiControllers.providers.token_provider import TokenProvider
|
|
|
|
from Controllers.Postgres.pagination import PaginateOnly, Pagination, PaginationResult
|
|
from Controllers.Postgres.response import EndpointResponse
|
|
from Schemas import (
|
|
Services,
|
|
Employees,
|
|
Event2Employee,
|
|
Users,
|
|
Events,
|
|
Service2Events,
|
|
Applications,
|
|
Application2Employee,
|
|
Application2Occupant,
|
|
)
|
|
from Validations.application.validations import (
|
|
RequestApplication,
|
|
)
|
|
|
|
# Create API router
|
|
service_management_route = APIRouter(
|
|
prefix="/managements/service", tags=["Service Management"]
|
|
)
|