This commit is contained in:
2026-09-19 15:38:00 +03:30
parent be06bfe1b5
commit 8afc1fabc4
5 changed files with 99 additions and 19 deletions

View File

@@ -64,6 +64,20 @@ export class LookupsController {
return await this.lookupsService.getVehicleHullAccidentCulpritType();
}
@Get("detection-accident-culprits")
@ApiOperation({
summary: "Fanavaran GEN.03 hull authority that determined the culprit",
description:
"Returns values for base-claim field AuthorityCulpritId from car/base-info/detection-accident-culprits.",
})
@ApiOkResponse({
description: "Returns Fanavaran detection-accident-culprits rows",
schema: { type: "array", items: { type: "object" } },
})
async getDetectionAccidentCulprits() {
return await this.lookupsService.getDetectionAccidentCulprits();
}
@Get("vehicle-hull-dmg-kind")
@ApiOperation({
summary: "Fanavaran GEN.06 hull damage kind lookup",