forked from Yara724/api
car body implemented
This commit is contained in:
@@ -106,6 +106,36 @@ export class LookupsService {
|
||||
return await this.getClientRemoteLookup("accident-causes");
|
||||
}
|
||||
|
||||
async getVehicleHullAccidentTypes(): Promise<any> {
|
||||
return await this.getClientRemoteLookup("vehicle-hull-accident-types");
|
||||
}
|
||||
|
||||
async getVehicleHullAccidentCulpritType(): Promise<any> {
|
||||
return await this.getClientRemoteLookup("vehicle-hull-accident-culprit-type");
|
||||
}
|
||||
|
||||
async getVehicleHullDmgKind(): Promise<any> {
|
||||
return await this.getClientRemoteLookup("vehicle-hull-dmg-kind");
|
||||
}
|
||||
|
||||
async getVehicleHullDmgCostKinds(): Promise<any> {
|
||||
return await this.getClientRemoteLookup("vehicle-hull-dmg-cost-kinds");
|
||||
}
|
||||
|
||||
async getVehicleHullDmgAccessoriesByPolicyId(policyId: number): Promise<unknown> {
|
||||
const clientKey = this.activeClientKey();
|
||||
return this.fanavaranLookupService.vehicleHullDmgAccessoriesByPolicyId(
|
||||
clientKey,
|
||||
policyId,
|
||||
{
|
||||
contractIdOverride: resolveFanavaranProductContractId(
|
||||
clientKey,
|
||||
"car-body",
|
||||
),
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
async getAccidentReportType(): Promise<any> {
|
||||
return await this.getClientRemoteLookup("accident-report-type");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user