import { CostTypeVariant } from '@prisma/client';
import { endOfDay, startOfDay } from 'date-fns';

export const BTW_DAK_VDEK_TARIFFS = [
  {
    description: 'DAK + VDEK BTW',
    validFrom: startOfDay(new Date('2021-01-01')),
    validTo: endOfDay(new Date('2023-05-31')),
    costTypes: [
      {
        description: 'Grundpauschale je Fahrt',
        variant: CostTypeVariant.GRUNDPREIS,
        costAmount: 3700,
      },
      {
        description: 'ab dem 21. km',
        variant: CostTypeVariant.KILOMETERZUSCHLAG,
        costAmount: 159,
        kmInclusive: 20,
      },
    ],
  },
  {
    description: 'DAK + VDEK BTW',
    validFrom: startOfDay(new Date('2023-06-01')),
    validTo: endOfDay(new Date('2024-08-31')),
    costTypes: [
      {
        description: 'Grundpauschale je Fahrt',
        variant: CostTypeVariant.GRUNDPREIS,
        costAmount: 4171,
      },
      {
        description: 'ab dem 21. km',
        variant: CostTypeVariant.KILOMETERZUSCHLAG,
        costAmount: 166,
        kmInclusive: 21,
      },
    ],
  },
  {
    description: 'DAK + VDEK BTW',
    validFrom: startOfDay(new Date('2024-09-01')),
    validTo: null,
    costTypes: [
      {
        description: 'Grundpauschale je Fahrt',
        variant: CostTypeVariant.GRUNDPREIS,
        costAmount: 4400,
      },
      {
        description: 'ab dem 21. km',
        variant: CostTypeVariant.KILOMETERZUSCHLAG,
        costAmount: 180,
        kmInclusive: 21,
      },
    ],
  },
];
