import valuesConstants from 'core/constants/values';
import { currentYear } from 'core/tools/date';
import { ValuesNames } from 'core/types/Calculation/Store/values';

const initialValues: Partial<Record<ValuesNames, any>> = {
  lead: null,
  opportunity: null,
  quote: null,
  recalcWithRevision: false,
  leaseObjectPrice: 1000000,
  VATInLeaseObjectPrice: 0,
  leaseObjectPriceWthtVAT: 0,
  engineHours: 0,
  supplierCurrency: 'RUB',
  supplierDiscountRub: 0,
  supplierDiscountPerc: 0,
  leasingPeriod: 13,
  firstPaymentPerc: 25,
  firstPaymentRub: 0,
  lastPaymentPerc: 1,
  lastPaymentRule: 100000001,
  redemptionPaymentSum: 1000,
  balanceHolder: 100000001,
  graphType: 100000000,
  parmentsDecreasePercent: 94,
  seasonType: 100000000,
  highSeasonStart: 100000000,
  comissionPerc: 0,
  comissionRub: 0,
  saleBonus: 0,
  bonusCoefficient: 1,
  IRR_Perc: 20,
  brand: null,
  model: null,
  configuration: null,
  deliveryTime: 100000000,
  leaseObjectCount: 1,
  withTrailer: false,
  leaseObjectUsed: false,
  maxMass: 0,
  countSeats: 0,
  maxSpeed: 0,
  leaseObjectYear: currentYear,
  engineType: 100000000,
  // leaseObjectCategory: 100000001,
  leaseObjectMotorPower: 0,
  engineVolume: 0,
  dealerRewardSumm: 0,
  dealerBrokerRewardSumm: 0,
  indAgent: null,
  calcDoubleAgent: null,
  calcBroker: null,
  calcFinDepartment: null,
  dealerPerson: null,
  dealerBroker: null,
  dealer: null,
  indAgentRewardSumm: 0,
  calcDoubleAgentRewardSumm: 0,
  calcBrokerRewardSum: 0,
  finDepartmentRewardSumm: 0,
  insKaskoType: 100000000,
  insDecentral: false,
  insUnlimitDrivers: true,
  // insAgeDrivers: 18,
  // insExpDrivers: 1,
  lastPaymentRedemption: true,
  priceWithDiscount: false,
  fullPriceWithDiscount: false,
  costIncrease: true,
  insurance: true,
  registrationQuote: true,
  technicalCardQuote: true,
  NSIB: true,
  quoteContactGender: 100000000,
  quoteRedemptionGraph: true,
  showFinGAP: true,
  creditRate: valuesConstants.RATE,
  requirementTelematic: 100000000,
  maxPriceChange: 0,
  importerRewardPerc: 0,
  importerRewardRub: 0,
  disableChecks: false,
  insFranchise: 0,
  rate: 'BASE',
  calcType: 100000000,
  totalPayments: 0,
  vehicleTaxInYear: 0,
  vehicleTaxInLeasingPeriod: 0,
  objectRegistration: 100000000,
  typePTS: 100000001,
  insNSIB: null,
  regionRegistration: null,
  legalClientRegion: null,
  legalClientTown: null,
  infuranceOPF: null,
  addEquipmentPrice: 0,
  leasingWithoutKasko: null,
};
export default initialValues;
