forked from Yara724/api
group lookups added also fanavaran module grant access
This commit is contained in:
@@ -291,6 +291,32 @@ export class LookupsController {
|
||||
return await this.lookupsService.getDmgHistoryStatus();
|
||||
}
|
||||
|
||||
@Get("used-place")
|
||||
@ApiOperation({
|
||||
summary: "Fanavaran used place lookup",
|
||||
description: "Returns used place codes from car/code-list/used-place.",
|
||||
})
|
||||
@ApiOkResponse({
|
||||
description: "Returns Fanavaran used place lookup data",
|
||||
schema: { type: "array", items: { type: "object" } },
|
||||
})
|
||||
async getUsedPlace() {
|
||||
return await this.lookupsService.getUsedPlace();
|
||||
}
|
||||
|
||||
@Get("dmg-business-line")
|
||||
@ApiOperation({
|
||||
summary: "Fanavaran damage business line lookup",
|
||||
description: "Returns damage business line codes from car/code-list/dmg-business-line.",
|
||||
})
|
||||
@ApiOkResponse({
|
||||
description: "Returns Fanavaran damage business line lookup data",
|
||||
schema: { type: "array", items: { type: "object" } },
|
||||
})
|
||||
async getDmgBusinessLine() {
|
||||
return await this.lookupsService.getDmgBusinessLine();
|
||||
}
|
||||
|
||||
@Get("inquiry-by-vin")
|
||||
@ApiOperation({
|
||||
summary: "Fanavaran vehicle inquiry by VIN",
|
||||
|
||||
Reference in New Issue
Block a user