added apis for executives sops
This commit is contained in:
@@ -23,6 +23,41 @@ class SOPsResponse(BaseModel):
|
||||
vission:List[str]
|
||||
|
||||
class VisionMissionResponse(BaseModel):
|
||||
vision: Optional[str]
|
||||
mission: Optional[str]
|
||||
message: str
|
||||
vision: List[str]
|
||||
mission: List[str]
|
||||
|
||||
|
||||
class Categories(BaseModel):
|
||||
must: Optional[List[str]] = Field(default_factory=list)
|
||||
shall: Optional[List[str]] = Field(default_factory=list)
|
||||
will: Optional[List[str]] = Field(default_factory=list)
|
||||
|
||||
class ExecutivesSops(BaseModel):
|
||||
executive_sops: List[RoleSops]
|
||||
|
||||
class ManagerialRole(BaseModel):
|
||||
title: str
|
||||
responsibilities: List[str]
|
||||
|
||||
class Department(BaseModel):
|
||||
name: str
|
||||
managerial_roles: List[ManagerialRole]
|
||||
|
||||
class DepartmentsAndRolesResponse(BaseModel):
|
||||
departments: List[Department]
|
||||
|
||||
class ManagerSOPs(BaseModel):
|
||||
must: List[str] = Field(default_factory=list)
|
||||
shall: List[str] = Field(default_factory=list)
|
||||
will: List[str] = Field(default_factory=list)
|
||||
|
||||
class ManagerWithSOPs(BaseModel):
|
||||
title: str
|
||||
sops: ManagerSOPs
|
||||
|
||||
class DepartmentManagerSOPs(BaseModel):
|
||||
name: str
|
||||
managers: List[ManagerWithSOPs]
|
||||
|
||||
class ExecutiveManagerSOPsResponse(BaseModel):
|
||||
departments: List[DepartmentManagerSOPs]
|
||||
Reference in New Issue
Block a user