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

@@ -277,6 +277,16 @@ export class FanavaranLookupService {
return this.fetchFromFanavaran(clientKey, url, options);
}
/** GEN.06 VehicleHullAccessoryId — requires hull PolicyId (کد رایانه بیمه‌نامه). */
async vehicleHullDmgAccessoriesByPolicyId(
clientKey: FanavaranClientKey,
policyId: number,
options?: { contractIdOverride?: string },
): Promise<unknown> {
const url = `${FANAVARAN_LOOKUP_BASE_URL}/car/vehicle-hull-policies/${policyId}/dmg-accessories`;
return this.fetchFromFanavaran(clientKey, url, options);
}
async vehicleById(
clientKey: FanavaranClientKey,
vehicleId: number,