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

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