2024-01-24 11:39:00 +07:00
|
|
|
{
|
|
|
|
|
"entryFile": "src/app.ts",
|
|
|
|
|
"noImplicitAdditionalProperties": "throw-on-extras",
|
2024-03-12 10:18:08 +07:00
|
|
|
"controllerPathGlobs": ["src/controllers/**/*Controller.ts"],
|
2024-01-24 11:39:00 +07:00
|
|
|
"spec": {
|
|
|
|
|
"outputDirectory": "src",
|
|
|
|
|
"specVersion": 3,
|
|
|
|
|
"spec": {
|
|
|
|
|
"info": {
|
2024-01-24 11:58:17 +07:00
|
|
|
"title": "bma-ehr-organization - API",
|
2024-01-24 11:39:00 +07:00
|
|
|
"version": "0.0.1",
|
2024-01-24 11:58:17 +07:00
|
|
|
"description": "ระบบโครงสร้างอัตรากำลัง",
|
2024-01-24 11:39:00 +07:00
|
|
|
"license": {
|
|
|
|
|
"name": "by Frappet",
|
|
|
|
|
"url": "https://frappet.com"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"basePath": "/"
|
|
|
|
|
},
|
|
|
|
|
"securityDefinitions": {
|
|
|
|
|
"bearerAuth": {
|
|
|
|
|
"type": "apiKey",
|
|
|
|
|
"name": "Authorization",
|
|
|
|
|
"description": "Keycloak Bearer Token",
|
|
|
|
|
"in": "header"
|
2025-08-07 17:14:56 +07:00
|
|
|
},
|
|
|
|
|
"webServiceAuth": {
|
|
|
|
|
"type": "apiKey",
|
|
|
|
|
"name": "X-API-Key",
|
|
|
|
|
"description": "API KEY สำหรับ Web Service",
|
|
|
|
|
"in": "header"
|
2024-01-24 11:39:00 +07:00
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"tags": [
|
2024-10-07 14:53:27 +07:00
|
|
|
{
|
|
|
|
|
"name": "Organization",
|
|
|
|
|
"description": "โครงสร้างส่วนอื่น ๆ"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "OrgRoot",
|
|
|
|
|
"description": "โครงสร้างระดับ root"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "OrgChild1",
|
|
|
|
|
"description": "โครงสร้างระดับ 1"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "OrgChild2",
|
|
|
|
|
"description": "โครงสร้างระดับ 2"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "OrgChild3",
|
|
|
|
|
"description": "โครงสร้างระดับ 3"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "OrgChild4",
|
|
|
|
|
"description": "โครงสร้างระดับ 4"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "Position",
|
|
|
|
|
"description": "ตำแหน่ง"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "PosType",
|
|
|
|
|
"description": "ประเภทตำแหน่ง"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "PosLevel",
|
|
|
|
|
"description": "ระดับตำแหน่ง"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "PosExecutive",
|
|
|
|
|
"description": "ตำแหน่งทางการบริหาร"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "Prefix",
|
|
|
|
|
"description": "คำนำหน้า"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "Rank",
|
|
|
|
|
"description": "ยศ"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "BloodGroup",
|
|
|
|
|
"description": "กลุ่มเลือด"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "Gender",
|
|
|
|
|
"description": "เพศ"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "Religion",
|
|
|
|
|
"description": "ศาสนา"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "Relationship",
|
|
|
|
|
"description": "สถานภาพ"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "EducationLevel",
|
|
|
|
|
"description": "ระดับการศึกษา"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "OrganizationUnauthorize",
|
|
|
|
|
"description": "โครงสร้างส่วนอื่น ๆ (Unauthorize)"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "Employee",
|
|
|
|
|
"description": "ตำแหน่งลูกจ้างประจำ"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "EmployeePosType",
|
|
|
|
|
"description": "กลุ่มงานลูกจ้างประจำ"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "EmployeePosLevel",
|
|
|
|
|
"description": "ระดับชั้นงานลูกจ้างประจำ"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "InsigniaType",
|
|
|
|
|
"description": "ลำดับชั้นเครื่องราชอิสริยาภรณ์"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "Insignia",
|
|
|
|
|
"description": "เครื่องราชอิสริยาภรณ์"
|
|
|
|
|
}
|
2024-01-24 11:39:00 +07:00
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"routes": {
|
|
|
|
|
"routesDir": "src/",
|
|
|
|
|
"authenticationModule": "src/middlewares/auth.ts"
|
|
|
|
|
}
|
|
|
|
|
}
|