const endpointPrefix = '/api/circuit/v1/amendments';

export const amendmentEndpoints = {
  amendments: {
    getAll: endpointPrefix,
    search: endpointPrefix + '/search',
    getById: (id: string) => `${endpointPrefix}/${id}`,
    getTrips: (id: string) => `${endpointPrefix}/${id}/trips`,
    getSchedules: (id: string) => `${endpointPrefix}/${id}/schedules`,
  },
};
