const incidentPrefix = "/api/fleet/vehicle-incident";

export const vehicleIncidentEndpoints = {
    getPage: incidentPrefix + '/page',
    getById: (id: string | number) => `${incidentPrefix}/${id}`,
    create: incidentPrefix,
    update: (id: string | number) => `${incidentPrefix}/${id}`,
    toggleActive: (id: string | number) => `${incidentPrefix}/${id}/active`,
    toggleStatus: (id: string | number) => `${incidentPrefix}/${id}/status`,
    startCsvExport: incidentPrefix + '/start-csv-export',
    downloadCsvExport: incidentPrefix + '/download-csv-export',
};