car body implemented

This commit is contained in:
2026-09-16 16:05:54 +03:30
parent a174332d81
commit acb5d2a682
11 changed files with 957 additions and 39 deletions

View File

@@ -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");
}