import { buildApiUrl } from '../../../../core/config/api-url.util';

export const CITY_ENDPOINTS = {
  dataTable: buildApiUrl('masterAdmin', '/v1/cities/datatable'),
  create: buildApiUrl('masterAdmin', '/v1/cities'),
  getById: (id: string) =>
    buildApiUrl('masterAdmin', `/v1/cities/${encodeURIComponent(id)}`),
  update: (id: string) =>
    buildApiUrl('masterAdmin', `/v1/cities/${encodeURIComponent(id)}`),
  autocomplete: buildApiUrl('masterAdmin', '/v1/cities/autocomplete')
} as const;
