import { CostTypeVariant } from '@prisma/client'; import { endOfDay, startOfDay } from 'date-fns'; export const TSW_PRIVAT_TARIFFS = [ { description: 'Privat TSW', validFrom: startOfDay(new Date('2020-01-01')), validTo: endOfDay(new Date('2023-12-31')), costTypes: [ { description: 'Grundpauschale je Fahrt', variant: CostTypeVariant.GRUNDPREIS, costAmount: 11500, }, { description: 'QMS Zuschlag', variant: CostTypeVariant.GRUNDPREIS, costAmount: 2000, }, { description: 'ab dem 16. km', variant: CostTypeVariant.KILOMETERZUSCHLAG, costAmount: 250, kmInclusive: 15, }, { description: 'Nachtzuschlag', variant: CostTypeVariant.NACHTZUSCHLAG, costAmount: 5500, timeRange: '19:00-07:00', }, { description: 'Wochenendzuschlag', variant: CostTypeVariant.WOCHENENDZUSCHLAG, costAmount: 5500, }, { description: 'Feiertagszuschlag', variant: CostTypeVariant.FEIERTAGSZUSCHLAG, costAmount: 5500, }, ], }, { description: 'Privat TSW', validFrom: startOfDay(new Date('2024-01-01')), validTo: null, costTypes: [ { description: 'Grundpauschale je Fahrt', variant: CostTypeVariant.GRUNDPREIS, costAmount: 13500, }, { description: 'QMS Zuschlag', variant: CostTypeVariant.GRUNDPREIS, costAmount: 2000, }, { description: 'ab dem 16. km', variant: CostTypeVariant.KILOMETERZUSCHLAG, costAmount: 250, kmInclusive: 15, }, { description: 'Nachtzuschlag', variant: CostTypeVariant.NACHTZUSCHLAG, costAmount: 5500, timeRange: '19:00-07:00', }, { description: 'Wochenendzuschlag', variant: CostTypeVariant.WOCHENENDZUSCHLAG, costAmount: 5500, }, { description: 'Feiertagszuschlag', variant: CostTypeVariant.FEIERTAGSZUSCHLAG, costAmount: 5500, }, ], }, ];