59 lines
1.5 KiB
TypeScript
59 lines
1.5 KiB
TypeScript
import { CostTypeVariant } from '@prisma/client';
|
|
import { endOfDay, startOfDay } from 'date-fns';
|
|
|
|
export const TSW_DAK_VDEK_TARIFFS = [
|
|
{
|
|
description: 'DAK + VDEK TSW',
|
|
validFrom: startOfDay(new Date('2021-01-01')),
|
|
validTo: endOfDay(new Date('2023-05-31')),
|
|
costTypes: [
|
|
{
|
|
description: 'Grundpauschale je Fahrt',
|
|
variant: CostTypeVariant.GRUNDPREIS,
|
|
costAmount: 4922,
|
|
},
|
|
{
|
|
description: 'ab dem 22. km',
|
|
variant: CostTypeVariant.KILOMETERZUSCHLAG,
|
|
costAmount: 159,
|
|
kmInclusive: 21,
|
|
},
|
|
],
|
|
},
|
|
{
|
|
description: 'DAK + VDEK TSW',
|
|
validFrom: startOfDay(new Date('2023-06-01')),
|
|
validTo: null,
|
|
costTypes: [
|
|
{
|
|
description: 'Grundpauschale je Fahrt (TSW 2)',
|
|
variant: CostTypeVariant.TSWDIFFERENZIERUNG,
|
|
costAmount: 5880,
|
|
},
|
|
{
|
|
description: 'Grundpauschale je Fahrt (TSW 1)',
|
|
variant: CostTypeVariant.TSWDIFFERENZIERUNG,
|
|
costAmount: 4380,
|
|
},
|
|
{
|
|
description: 'Nachtzuschlag',
|
|
variant: CostTypeVariant.NACHTZUSCHLAG,
|
|
costAmount: 407,
|
|
timeRange: '18:30-20:00',
|
|
},
|
|
{
|
|
description: 'Nachtzuschlag',
|
|
variant: CostTypeVariant.NACHTZUSCHLAG,
|
|
costAmount: 407,
|
|
timeRange: '06:00-07:00',
|
|
},
|
|
{
|
|
description: 'ab dem 22. km',
|
|
variant: CostTypeVariant.KILOMETERZUSCHLAG,
|
|
costAmount: 159,
|
|
kmInclusive: 21,
|
|
},
|
|
],
|
|
},
|
|
];
|