const fleetPrefix = "/api/fleet/vehicle-type";

export const vehicleTypeEndpoints = {
    getPage: fleetPrefix + "/page",
    getAll: fleetPrefix + "/all",
    getById: (id: number | string) => `${fleetPrefix}/${id}`,
    create: fleetPrefix,
    update: (id: number | string) => `${fleetPrefix}/${id}`,
    toggleActive: (id: number | string) => `${fleetPrefix}/${id}/active`,
    startCsvExport: fleetPrefix + "/start-csv-export",
    downloadCsvExport: fleetPrefix + "/download-csv-export",
    existsByName: fleetPrefix + `/existsByName`,
};