export interface SubmissionVehicleApiRequest { brand?: string; model?: string; year?: string; fuelType?: string; coreFuelType?: CoreFuelTypeObject; coreHorsePower?: number; engineCapacity?: string; plateNumber?: string; bodyType?: string; doors?: string; usage?: string; version?: string; insuredSum?: number; vin?: string; alarm?: boolean; immobilizer?: boolean; transmissionLock?: boolean; trackingDevice?: boolean; steeringLock?: boolean; dna?: boolean; keys?: string; seats?: number; identifier?: string; coreWeight?: number; coreLength?: number; leftHandDrive?: boolean; firstRegistrationCountry?: string; firstRegistrationDate?: string; actualMileage?: number; yearOfCarPurchase?: number; damageExists?: boolean; abroadUsageTime?: string; annualMileage?: string; whereGaraged?: string; carLeased?: boolean; yobYoungestAdditionalDriver?: number; addlYoungDriversNumber?: string; otherAddlDriversUnder26?: boolean; youngestDriverLicenseYear?: number; usedAbroadLongerThanMonth?: boolean; techInspectionDate?: string; vehicleType?: string; cost?: { amount: number; }; publicID?: string; infoExpertCarData?: CarData; euroTaxCarData?: CarData; manual?: Partial; } export interface SubmissionVehicleDetailsApiRequest { keys?: string; alarm?: boolean; immobilizer?: boolean; transmissionLock?: boolean; trackingDevice?: boolean; steeringLock?: boolean; dna?: boolean; } export interface CoreFuelTypeObject { name: CoreFuelName; isLpg: boolean; } export enum CoreFuelName { petrol = 'petrol', diesel = 'diesel', electric = 'electric', hybrid = 'hybrid', } export interface CarData { source: Source; selected: boolean; amount: { currency: Currency; amount: string; }; externalSystemID: string; publicID?: string; } export enum CarSourceMap { infoExpertCarData = 'info_expert', euroTaxCarData = 'eurotax', } export type Source = 'info_expert' | 'eurotax' | 'manual'; export type Currency = 'pln' | 'usd';