import { AxiosError } from 'axios';

export enum API_ROUTE {
  USER = 'user',
  REGIONS = 'regions',
  SERIES = 'series',
  RANKING = 'ranking',
  UN_MASTERS = 'un-masters',
  STATISTICS = 'statistics',
  KYE = 'kye',
  PHOTOS = 'photos',
  TRIPS = 'trips',
  SLOW = 'slow',
  QUICK_ENTER = 'quickEnter',
  TRIUMPHS = 'triumphs',
  SERIES_RANKING = 'series-ranking',
  APP = 'app',
  SEARCH = 'search',
  PROFILE = 'profile',
  FRIENDS = 'friends',
  COUNTRIES = 'countries',
  FIXERS = 'fixers',
  NOTIFICATIONS = 'notifications',
  CHAT = 'chat',
  MAPS = 'maps',
  DARE = 'dare',
  LOCATION = 'location',
  EVENTS = 'events',
  FILES = 'files'
}

export enum API_ENDPOINT {
  LOGIN = 'login',
  REGISTER = 'join',
  RESET_PASSWORD = 'recover-password',
  GET_REGIONS_WITH_FLAGS = 'get-regions-with-flags',
  GET_REGIONS = 'get-regions',
  JOIN_TEST = 'pre-join-test',
  GET_SETTINGS_APP = 'get-settings-app',
  SET_SETTINGS_APP = 'set-settings-app',
  SERIES = 'get-for-regions',
  PROFILE_INFO = 'profile-info',
  PROFILE_INFO_PUBLIC = 'profile-info-public',
  GET_LIMITED_RANKING = 'get-app-limited',
  GET_FULL_RANKING = 'get-app-full',
  GET_LPI = 'get-app-lpi',
  GET_IN_HISTORY = 'get-app-in-history',
  GET_IN_MEMORIAM = 'get-app-in-memoriam',
  GET_UN_MASTERS_TYPES = 'get-types',
  GET_UN_MASTERS_TYPE = 'get-type',
  GET_LIST = 'get-list',
  GET_STATISTIC = 'get-stat',
  SERIES_GROUPS = 'get-series-groups',
  SERIES_WITH_GROUP = 'get-series-with-group-app',
  GET_COUNTRIES_RANKING = 'get-countries-ranking',
  GET_COUNTRIES_RANKING_LPI = 'get-countries-ranking-lpi',
  GET_COUNTRIES_RANKING_MEMORIAM = 'get-countries-ranking-in-memoriam',
  GET_ITEMS_FOR_SERIES = 'get-items-for-series-grouped-app',
  TOGGLE_ITEM_SERIES = 'toggle-item',
  GET_KYE = 'get-kye',
  SET_KYE = 'set-kye',
  GET_PHOTOS_FOR_USER = 'get-photos-for-user',
  UPLOAD_TEMP = 'upload-temp',
  GET_TEMP = 'get-temp',
  REMOVE_TEMP = 'remove-temp',
  SAVE_TEMP = 'save-temp',
  DELETE_PHOTO = 'delete-photo',
  UPDATE_PHOTO = 'update-photo',
  GET_TRIPS_YEARS = 'get-trips-years',
  GET_TRIPS_FOR_YEAR = 'get-trips-for-year-app',
  GET_REGIONS_FOR_TRIPS = 'get-regions-for-trips',
  GET_TRIP = 'get-trip',
  SET_NEW_TRIP = 'new-trip',
  UPDATE_TRIP = 'update-trip',
  DELETE_TRIP = 'delete-trip',
  GET_SLOW = 'get-slow-app',
  SET_SLOW = 'set-slow',
  GET_MEGAREGIONS = 'get-megaregions',
  SET_TCC_REGION = 'updateTCC',
  GET_MEGAREGIONS_DARE = 'get-megaregions-dare',
  GET_REGIONS_DARE = 'get-regions-dare',
  SET_DARE_REGION = 'updateDARE',
  GET_TRIUMPHS_DATES = 'get-dates-app',
  GET_TRIUMPHS_DATA = 'get-data-app',
  GET_SERIES_GROUPS_RANKING = 'get-series-groups-ranking',
  GET_SERIES_RANKING = 'get-series-ranking',
  GET_USER_DATA = 'get-user-data-app',
  GET_USER_DATA_DARE = 'get-user-data-dare-app',
  DELETE_USER = 'delete-user',
  GET_LAST_REGIONS_UPDATE = 'last-regions-db-update',
  GET_LAST_DARE_UPDATE = 'last-dare-db-update',
  GET_LAST_MAP_TILES_UPDATE = 'last-map-tiles-update',
  GET_PROFILE_REGIONS = 'get-profile',
  GET_UNIVERSAL = 'universal',
  GET_NM_REGION_DATA = 'get-nm-region-screen-data',
  GET_DARE_REGION_DATA = 'get-dare-region-screen-data',
  GET_USERS_FROM_REGION = 'get-users-from-region',
  GET_USERS_WHO_VISITED_REGION = 'get-users-who-visited-region',
  GET_USERS_WHO_VISITED_DARE = 'get-users-who-visited-dare',
  GET_DATA_FROM_POINT = 'get-data-from-point',
  GET_SUGGESTION_DATA = 'get-suggestion-data',
  SUBMIT_SUGGESTION = 'submit-suggestion',
  GET_PROGILE_DATA = 'get-profile-data',
  GET_PROFILE_UPDATES = 'get-profile-updates-2',
  GET_FRIENDS = 'load-friends-app',
  SEND_FRIEND_REQUEST = 'send-friend-request',
  LOAD_FRIENDS_SETTINGS = 'load-friends-settings-app',
  UPDATE_FRIEND_STATUS = 'update-friend-status',
  HIDE_SHOW_REQUEST = 'hideShowRequest',
  GET_FRIENDS_NOTIFICATION = 'is-notification-active',
  GET_COUNTRY_SCREEN_DATA = 'get-country-screen-data',
  GET_USERS_FROM_COUNTRY = 'get-users-from-country',
  GET_USERS_WHO_VISITED_COUNTRY = 'get-users-who-visited-country',
  GET_COUNTRY_USER_DATA = 'get-user-data-country-app',
  GET_MAP_YEARS = 'get-map-years',
  GET_SERIES_LIST = 'get-list',
  SET_NOTIFICATION_TOKEN = 'save-notification-token',
  CHECK_TOKEN = 'check-token',
  GET_FIXERS_COUNTRIES = 'get-countries',
  GET_ALL_FIXERS_COUNTRIES = 'get-all-countries',
  GET_FIXERS = 'get-for-country',
  SAVE_RATING = 'save-rating-app',
  ADD_FIXER = 'add-fixer',
  EDIT_FIXER = 'edit-fixer',
  GET_UPDATE = 'get-update',
  GET_NOTIFICATIONS_SETTINGS = 'get-settings',
  SET_NOTIFICATIONS_SETTINGS = 'set-settings',
  SEARCH_USERS = 'search-users',
  GET_CHATS_LIST = 'get-conversation-list',
  GET_CHAT_WITH = 'get-conversation-with',
  SEND_MESSAGE = 'send-message',
  MESSAGES_RECEIVED = 'messages-received',
  MESSAGES_READ = 'messages-read',
  REACT_TO_MESSAGE = 'react-to-message',
  DELETE_MESSAGE = 'delete-message',
  SET_PIN = 'set-pin',
  SET_ARCHIVE = 'set-archive',
  SET_BLOCK = 'set-block',
  SET_MUTE = 'set-mute',
  DELETE_CHAT = 'delete-conversation',
  UNREACT_TO_MESSAGE = 'unreact-to-message',
  GET_BLOCKED = 'get-blocked',
  GET_UNREAD_MESSAGES_PRESENT = 'new-messages-present',
  GET_VISITED_REGIONS_IDS = 'get-visited-regions-ids',
  GET_VISITED_COUNTRIES_IDS = 'get-visited-countries-ids',
  GET_VISITED_DARE_IDS = 'get-visited-dare-ids',
  GET_LIST_REGIONS = 'get-list-regions',
  GET_LIST_COUNTRIES = 'get-list-countries',
  GET_LIST_DARE = 'get-list-dare',
  GET_LATEST_VERSION = 'latest-version',
  GET_ICONS = 'get-icons',
  GET_VISITED_SERIES_IDS = 'get-visited-series-ids',
  GET_LOCATION_SETTINGS = 'get-settings',
  SET_LOCATION_SETTINGS = 'set-settings',
  UPDATE_LOCATION = 'update-location',
  GET_USERS_LOCATION = 'get-users-location',
  AUTHENTICATE = 'authenticate',
  REPORT_CONVERSATION = 'report-conversation',
  GET_USERS_COUNT = 'get-users-on-map-count',
  UPDATE_EMAIL = 'update-email',
  CREATE_GROUP = 'create-group',
  GET_GROUP_CHAT = 'get-group-conversation',
  SEND_GROUP_MESSAGE = 'send-group-message',
  GROUP_MESSAGES_RECEIVED = 'group-messages-received',
  GROUP_MESSAGES_READ = 'group-messages-read',
  REACT_TO_GROUP_MESSAGE = 'react-to-group-message',
  UNREACT_TO_GROUP_MESSAGE = 'unreact-to-group-message',
  DELETE_GROUP_MESSAGE = 'delete-group-message',
  SET_PIN_FOR_GROUP = 'set-pin-for-group',
  SET_ARCHIVE_FOR_GROUP = 'set-archive-for-group',
  SET_MUTE_FOR_GROUP = 'set-mute-for-group',
  LEAVE_GROUP = 'leave-group',
  ADD_TO_GROUP = 'add-to-group',
  ADD_TO_GROUP_AS_ADMIN = 'add-to-group-as-admin',
  SET_GROUP_ADMIN = 'set-group-admin',
  REMOVE_FROM_GROUP = 'remove-from-group',
  GET_GROUP_SETTINGS = 'get-group-settings',
  GET_GROUP_MEMBERS = 'get-group-members',
  UPDATE_GROUP_SETTINGS = 'update-group-settings',
  GET_GROUP_MESSAGE_STATUS = 'get-group-message-status',
  REMOVE_GROUP_FROM_LIST = 'remove-group-chat-from-conversation-list',
  CAN_CREATE_GROUP = 'can-create-group',
  GET_PINNED_GROUP_MESSAGE = 'get-pinned-group-message',
  SET_PIN_GROUP_MESSAGE = 'set-pin-group-message',
  EDIT_GROUP_MESSAGE = 'edit-group-message',
  EDIT_MESSAGE = 'edit-message',
  CAN_SEND_MESSAGE = 'can-send-message',
  GET_EVENTS_LIST = 'get-event-list',
  GET_EVENT = 'get-event',
  JOIN_EVENT = 'join-event',
  UNJOIN_EVENT = 'unjoin-event',
  UPLOAD_TEMP_FILE = 'upload-temp-file',
  EVENT_ADD_FILE = 'event-add-file',
  DELETE_FILE = 'delete-file',
  UPLOAD_PHOTO_EVENT = 'upload-photo',
  GET_MORE_PHOTOS = 'get-more-photos',
  CAN_ADD_EVENT = 'can-add-event',
  GET_PHOTOS_FOR_REGION = 'get-photos-for-region',
  ADD_EVENT = 'add-event',
  SET_LOCATION_REGIONS = 'set-settings-regions',
  GET_MASTER = 'get-master',
  GET_EVENT_FOR_EDITING = 'get-event-for-editing',
  UPDATE_EVENT = 'update-event',
  CANCEL_EVENT = 'cancel-event',
  REMOVE_PARTICIPANT = 'remove-participant',
  PREMIUM_STATUS = 'premium-status',
  GET_MAP_DATA_FOR_REGION = 'get-map-data-for-region',
  GET_LAST_MAP_UPDATE_DATE = 'get-last-map-update-date',
  GET_SIZE_FOR_BOUNDING_BOX = 'get-size-for-bounding-box',
  GET_PROFILE_SERIES_DATA = 'get-profile-series-data',
  ADD_SHARED_TRIP = 'add-shared-trip',
  UPDATE_SHARED_TRIP = 'update-shared-trip',
  SHARED_TRIP_ADD_PARTICIPANT = 'add-participant',
  SET_FULL = 'set-event-full',
  GET_COUNTRIES_FOR_LOCATION_DATA = 'get-list-of-countries-for-location-data',
  GET_USERS_LOCATION_FILTERED = 'get-users-location-filtered',
  GET_VISITS_TO_REGION = 'get-visits-to-region',
  ADD_VISIT = 'add-visit',
  UPDATE_VISIT = 'update-visit',
  DELETE_VISIT = 'delete-visit',
  GET_SINGLE_REGION = 'get-single-region',
  SET_NOT_VISITED = 'set-not-visited',
  GET_GROUP_CONVERSATION_ALL = 'get-group-conversation-all',
  GET_CONVERSATION_WITH_ALL = 'get-conversation-with-all',
  GET_USERS_WHO_TICKED_SERIES = 'get-users-who-ticked-series',
  GET_TRIPS_FOR_REGION = 'get-trips-for-region',
  GET_REGIONS_THAT_HAVE_TRIPS = 'get-regions-that-have-trips',
  GET_MAP_DATA = 'get-map-data'
}

export enum API {
  LOGIN = `${API_ROUTE.USER}/${API_ENDPOINT.LOGIN}`,
  REGISTER = `${API_ROUTE.USER}/${API_ENDPOINT.REGISTER}`,
  RESET_PASSWORD = `${API_ROUTE.USER}/${API_ENDPOINT.RESET_PASSWORD}`,
  GET_REGIONS_WITH_FLAGS = `${API_ROUTE.REGIONS}/${API_ENDPOINT.GET_REGIONS_WITH_FLAGS}`,
  JOIN_TEST = `${API_ROUTE.USER}/${API_ENDPOINT.JOIN_TEST}`,
  GET_USER_SETTINGS_DATA = `${API_ROUTE.USER}/${API_ENDPOINT.GET_SETTINGS_APP}`,
  SET_USER_SETTINGS_DATA = `${API_ROUTE.USER}/${API_ENDPOINT.SET_SETTINGS_APP}`,
  SERIES = `${API_ROUTE.SERIES}/${API_ENDPOINT.SERIES}`,
  PROFILE_INFO = `${API_ROUTE.USER}/${API_ENDPOINT.PROFILE_INFO}`,
  PROFILE_INFO_PUBLIC = `${API_ROUTE.USER}/${API_ENDPOINT.PROFILE_INFO_PUBLIC}`,
  GET_LIMITED_RANKING = `${API_ROUTE.RANKING}/${API_ENDPOINT.GET_LIMITED_RANKING}`,
  GET_FULL_RANKING = `${API_ROUTE.RANKING}/${API_ENDPOINT.GET_FULL_RANKING}`,
  GET_LPI = `${API_ROUTE.RANKING}/${API_ENDPOINT.GET_LPI}`,
  GET_IN_HISTORY = `${API_ROUTE.RANKING}/${API_ENDPOINT.GET_IN_HISTORY}`,
  GET_IN_MEMORIAM = `${API_ROUTE.RANKING}/${API_ENDPOINT.GET_IN_MEMORIAM}`,
  GET_UN_MASTERS_TYPES = `${API_ROUTE.UN_MASTERS}/${API_ENDPOINT.GET_UN_MASTERS_TYPES}`,
  GET_UN_MASTERS_TYPE = `${API_ROUTE.UN_MASTERS}/${API_ENDPOINT.GET_UN_MASTERS_TYPE}`,
  GET_LIST = `${API_ROUTE.STATISTICS}/${API_ENDPOINT.GET_LIST}`,
  GET_STATISTIC = `${API_ROUTE.STATISTICS}/${API_ENDPOINT.GET_STATISTIC}`,
  SERIES_GROUPS = `${API_ROUTE.SERIES}/${API_ENDPOINT.SERIES_GROUPS}`,
  SERIES_WITH_GROUP = `${API_ROUTE.SERIES}/${API_ENDPOINT.SERIES_WITH_GROUP}`,
  GET_COUNTRIES_RANKING = `${API_ROUTE.RANKING}/${API_ENDPOINT.GET_COUNTRIES_RANKING}`,
  GET_COUNTRIES_RANKING_LPI = `${API_ROUTE.RANKING}/${API_ENDPOINT.GET_COUNTRIES_RANKING_LPI}`,
  GET_COUNTRIES_RANKING_MEMORIAM = `${API_ROUTE.RANKING}/${API_ENDPOINT.GET_COUNTRIES_RANKING_MEMORIAM}`,
  GET_ITEMS_FOR_SERIES = `${API_ROUTE.SERIES}/${API_ENDPOINT.GET_ITEMS_FOR_SERIES}`,
  TOGGLE_ITEM_SERIES = `${API_ROUTE.SERIES}/${API_ENDPOINT.TOGGLE_ITEM_SERIES}`,
  GET_KYE = `${API_ROUTE.KYE}/${API_ENDPOINT.GET_KYE}`,
  SET_KYE = `${API_ROUTE.KYE}/${API_ENDPOINT.SET_KYE}`,
  GET_PHOTOS_FOR_USER = `${API_ROUTE.PHOTOS}/${API_ENDPOINT.GET_PHOTOS_FOR_USER}`,
  UPLOAD_TEMP = `${API_ROUTE.PHOTOS}/${API_ENDPOINT.UPLOAD_TEMP}`,
  GET_TEMP = `${API_ROUTE.PHOTOS}/${API_ENDPOINT.GET_TEMP}`,
  REMOVE_TEMP = `${API_ROUTE.PHOTOS}/${API_ENDPOINT.REMOVE_TEMP}`,
  SAVE_TEMP = `${API_ROUTE.PHOTOS}/${API_ENDPOINT.SAVE_TEMP}`,
  DELETE_PHOTO = `${API_ROUTE.PHOTOS}/${API_ENDPOINT.DELETE_PHOTO}`,
  UPDATE_PHOTO = `${API_ROUTE.PHOTOS}/${API_ENDPOINT.UPDATE_PHOTO}`,
  GET_TRIPS_YEARS = `${API_ROUTE.TRIPS}/${API_ENDPOINT.GET_TRIPS_YEARS}`,
  GET_TRIPS_FOR_YEAR = `${API_ROUTE.TRIPS}/${API_ENDPOINT.GET_TRIPS_FOR_YEAR}`,
  GET_REGIONS_FOR_TRIPS = `${API_ROUTE.TRIPS}/${API_ENDPOINT.GET_REGIONS_FOR_TRIPS}`,
  GET_TRIP = `${API_ROUTE.TRIPS}/${API_ENDPOINT.GET_TRIP}`,
  SET_NEW_TRIP = `${API_ROUTE.TRIPS}/${API_ENDPOINT.SET_NEW_TRIP}`,
  UPDATE_TRIP = `${API_ROUTE.TRIPS}/${API_ENDPOINT.UPDATE_TRIP}`,
  DELETE_TRIP = `${API_ROUTE.TRIPS}/${API_ENDPOINT.DELETE_TRIP}`,
  GET_SLOW = `${API_ROUTE.SLOW}/${API_ENDPOINT.GET_SLOW}`,
  SET_SLOW = `${API_ROUTE.SLOW}/${API_ENDPOINT.SET_SLOW}`,
  GET_MEGAREGIONS = `${API_ROUTE.REGIONS}/${API_ENDPOINT.GET_MEGAREGIONS}`,
  SET_TCC_REGION = `${API_ROUTE.QUICK_ENTER}/${API_ENDPOINT.SET_TCC_REGION}`,
  GET_MEGAREGIONS_DARE = `${API_ROUTE.REGIONS}/${API_ENDPOINT.GET_MEGAREGIONS_DARE}`,
  GET_REGIONS_DARE = `${API_ROUTE.REGIONS}/${API_ENDPOINT.GET_REGIONS_DARE}`,
  SET_DARE_REGION = `${API_ROUTE.QUICK_ENTER}/${API_ENDPOINT.SET_DARE_REGION}`,
  GET_TRIUMPHS_DATES = `${API_ROUTE.TRIUMPHS}/${API_ENDPOINT.GET_TRIUMPHS_DATES}`,
  GET_TRIUMPHS_DATA = `${API_ROUTE.TRIUMPHS}/${API_ENDPOINT.GET_TRIUMPHS_DATA}`,
  GET_SERIES_GROUPS_RANKING = `${API_ROUTE.SERIES_RANKING}/${API_ENDPOINT.GET_SERIES_GROUPS_RANKING}`,
  GET_SERIES_RANKING = `${API_ROUTE.SERIES_RANKING}/${API_ENDPOINT.GET_SERIES_RANKING}`,
  GET_USER_DATA = `${API_ROUTE.REGIONS}/${API_ENDPOINT.GET_USER_DATA}`,
  GET_USER_DATA_DARE = `${API_ROUTE.REGIONS}/${API_ENDPOINT.GET_USER_DATA_DARE}`,
  DELETE_USER = `${API_ROUTE.APP}/${API_ENDPOINT.DELETE_USER}`,
  GET_LAST_REGIONS_DB_UPDATE = `${API_ROUTE.APP}/${API_ENDPOINT.GET_LAST_REGIONS_UPDATE}`,
  GET_LAST_DARE_DB_UPDATE = `${API_ROUTE.APP}/${API_ENDPOINT.GET_LAST_DARE_UPDATE}`,
  GET_LAST_MAP_TILES_UPDATE = `${API_ROUTE.APP}/${API_ENDPOINT.GET_LAST_MAP_TILES_UPDATE}`,
  GET_PROFILE_REGIONS = `${API_ROUTE.REGIONS}/${API_ENDPOINT.GET_PROFILE_REGIONS}`,
  GET_UNIVERSAL = `${API_ROUTE.SEARCH}/${API_ENDPOINT.GET_UNIVERSAL}`,
  GET_NM_REGION_DATA = `${API_ROUTE.REGIONS}/${API_ENDPOINT.GET_NM_REGION_DATA}`,
  GET_DARE_REGION_DATA = `${API_ROUTE.REGIONS}/${API_ENDPOINT.GET_DARE_REGION_DATA}`,
  GET_USERS_FROM_REGION = `${API_ROUTE.REGIONS}/${API_ENDPOINT.GET_USERS_FROM_REGION}`,
  GET_USERS_WHO_VISITED_REGION = `${API_ROUTE.REGIONS}/${API_ENDPOINT.GET_USERS_WHO_VISITED_REGION}`,
  GET_USERS_WHO_VISITED_DARE = `${API_ROUTE.REGIONS}/${API_ENDPOINT.GET_USERS_WHO_VISITED_DARE}`,
  GET_DATA_FROM_POINT = `${API_ROUTE.SERIES}/${API_ENDPOINT.GET_DATA_FROM_POINT}`,
  GET_SUGGESTION_DATA = `${API_ROUTE.SERIES}/${API_ENDPOINT.GET_SUGGESTION_DATA}`,
  SUBMIT_SUGGESTION = `${API_ROUTE.SERIES}/${API_ENDPOINT.SUBMIT_SUGGESTION}`,
  GET_PROGILE_DATA = `${API_ROUTE.PROFILE}/${API_ENDPOINT.GET_PROGILE_DATA}`,
  GET_PROFILE_UPDATES = `${API_ROUTE.PROFILE}/${API_ENDPOINT.GET_PROFILE_UPDATES}`,
  GET_FRIENDS = `${API_ROUTE.FRIENDS}/${API_ENDPOINT.GET_FRIENDS}`,
  SEND_FRIEND_REQUEST = `${API_ROUTE.FRIENDS}/${API_ENDPOINT.SEND_FRIEND_REQUEST}`,
  LOAD_FRIENDS_SETTINGS = `${API_ROUTE.FRIENDS}/${API_ENDPOINT.LOAD_FRIENDS_SETTINGS}`,
  UPDATE_FRIEND_STATUS = `${API_ROUTE.FRIENDS}/${API_ENDPOINT.UPDATE_FRIEND_STATUS}`,
  HIDE_SHOW_REQUEST = `${API_ROUTE.FRIENDS}/${API_ENDPOINT.HIDE_SHOW_REQUEST}`,
  GET_FRIENDS_NOTIFICATION = `${API_ROUTE.FRIENDS}/${API_ENDPOINT.GET_FRIENDS_NOTIFICATION}`,
  GET_COUNTRY_SCREEN_DATA = `${API_ROUTE.COUNTRIES}/${API_ENDPOINT.GET_COUNTRY_SCREEN_DATA}`,
  GET_USERS_FROM_COUNTRY = `${API_ROUTE.COUNTRIES}/${API_ENDPOINT.GET_USERS_FROM_COUNTRY}`,
  GET_USERS_WHO_VISITED_COUNTRY = `${API_ROUTE.COUNTRIES}/${API_ENDPOINT.GET_USERS_WHO_VISITED_COUNTRY}`,
  GET_COUNTRY_USER_DATA = `${API_ROUTE.COUNTRIES}/${API_ENDPOINT.GET_COUNTRY_USER_DATA}`,
  GET_MAP_YEARS = `${API_ROUTE.PROFILE}/${API_ENDPOINT.GET_MAP_YEARS}`,
  GET_SERIES_LIST = `${API_ROUTE.SERIES}/${API_ENDPOINT.GET_SERIES_LIST}`,
  SET_NOTIFICATION_TOKEN = `${API_ROUTE.USER}/${API_ENDPOINT.SET_NOTIFICATION_TOKEN}`,
  CHECK_TOKEN = `${API_ROUTE.APP}/${API_ENDPOINT.CHECK_TOKEN}`,
  GET_FIXERS_COUNTRIES = `${API_ROUTE.FIXERS}/${API_ENDPOINT.GET_FIXERS_COUNTRIES}`,
  GET_ALL_FIXERS_COUNTRIES = `${API_ROUTE.FIXERS}/${API_ENDPOINT.GET_ALL_FIXERS_COUNTRIES}`,
  GET_FIXERS = `${API_ROUTE.FIXERS}/${API_ENDPOINT.GET_FIXERS}`,
  SAVE_RATING = `${API_ROUTE.FIXERS}/${API_ENDPOINT.SAVE_RATING}`,
  ADD_FIXER = `${API_ROUTE.FIXERS}/${API_ENDPOINT.ADD_FIXER}`,
  EDIT_FIXER = `${API_ROUTE.FIXERS}/${API_ENDPOINT.EDIT_FIXER}`,
  GET_UPDATE = `${API_ROUTE.PROFILE}/${API_ENDPOINT.GET_UPDATE}`,
  GET_NOTIFICATIONS_SETTINGS = `${API_ROUTE.NOTIFICATIONS}/${API_ENDPOINT.GET_NOTIFICATIONS_SETTINGS}`,
  SET_NOTIFICATIONS_SETTINGS = `${API_ROUTE.NOTIFICATIONS}/${API_ENDPOINT.SET_NOTIFICATIONS_SETTINGS}`,
  SEARCH_USERS = `${API_ROUTE.CHAT}/${API_ENDPOINT.SEARCH_USERS}`,
  GET_CHATS_LIST = `${API_ROUTE.CHAT}/${API_ENDPOINT.GET_CHATS_LIST}`,
  GET_CHAT_WITH = `${API_ROUTE.CHAT}/${API_ENDPOINT.GET_CHAT_WITH}`,
  SEND_MESSAGE = `${API_ROUTE.CHAT}/${API_ENDPOINT.SEND_MESSAGE}`,
  MESSAGES_RECEIVED = `${API_ROUTE.CHAT}/${API_ENDPOINT.MESSAGES_RECEIVED}`,
  MESSAGES_READ = `${API_ROUTE.CHAT}/${API_ENDPOINT.MESSAGES_READ}`,
  REACT_TO_MESSAGE = `${API_ROUTE.CHAT}/${API_ENDPOINT.REACT_TO_MESSAGE}`,
  DELETE_MESSAGE = `${API_ROUTE.CHAT}/${API_ENDPOINT.DELETE_MESSAGE}`,
  SET_PIN = `${API_ROUTE.CHAT}/${API_ENDPOINT.SET_PIN}`,
  SET_ARCHIVE = `${API_ROUTE.CHAT}/${API_ENDPOINT.SET_ARCHIVE}`,
  SET_BLOCK = `${API_ROUTE.CHAT}/${API_ENDPOINT.SET_BLOCK}`,
  SET_MUTE = `${API_ROUTE.CHAT}/${API_ENDPOINT.SET_MUTE}`,
  DELETE_CHAT = `${API_ROUTE.CHAT}/${API_ENDPOINT.DELETE_CHAT}`,
  UNREACT_TO_MESSAGE = `${API_ROUTE.CHAT}/${API_ENDPOINT.UNREACT_TO_MESSAGE}`,
  GET_BLOCKED = `${API_ROUTE.CHAT}/${API_ENDPOINT.GET_BLOCKED}`,
  GET_UNREAD_MESSAGES_PRESENT = `${API_ROUTE.CHAT}/${API_ENDPOINT.GET_UNREAD_MESSAGES_PRESENT}`,
  GET_VISITED_REGIONS_IDS = `${API_ROUTE.MAPS}/${API_ENDPOINT.GET_VISITED_REGIONS_IDS}`,
  GET_VISITED_COUNTRIES_IDS = `${API_ROUTE.MAPS}/${API_ENDPOINT.GET_VISITED_COUNTRIES_IDS}`,
  GET_VISITED_DARE_IDS = `${API_ROUTE.MAPS}/${API_ENDPOINT.GET_VISITED_DARE_IDS}`,
  GET_LIST_REGIONS = `${API_ROUTE.REGIONS}/${API_ENDPOINT.GET_LIST_REGIONS}`,
  GET_LIST_COUNTRIES = `${API_ROUTE.COUNTRIES}/${API_ENDPOINT.GET_LIST_COUNTRIES}`,
  GET_LIST_DARE = `${API_ROUTE.DARE}/${API_ENDPOINT.GET_LIST_DARE}`,
  LATEST_VERSION = `${API_ROUTE.APP}/${API_ENDPOINT.GET_LATEST_VERSION}`,
  GET_ICONS = `${API_ROUTE.SERIES}/${API_ENDPOINT.GET_ICONS}`,
  GET_VISITED_SERIES_IDS = `${API_ROUTE.MAPS}/${API_ENDPOINT.GET_VISITED_SERIES_IDS}`,
  GET_LOCATION_SETTINGS = `${API_ROUTE.LOCATION}/${API_ENDPOINT.GET_LOCATION_SETTINGS}`,
  SET_LOCATION_SETTINGS = `${API_ROUTE.LOCATION}/${API_ENDPOINT.SET_LOCATION_SETTINGS}`,
  UPDATE_LOCATION = `${API_ROUTE.LOCATION}/${API_ENDPOINT.UPDATE_LOCATION}`,
  GET_USERS_LOCATION = `${API_ROUTE.LOCATION}/${API_ENDPOINT.GET_USERS_LOCATION}`,
  AUTHENTICATE = `${API_ROUTE.USER}/${API_ENDPOINT.AUTHENTICATE}`,
  REPORT_CONVERSATION = `${API_ROUTE.CHAT}/${API_ENDPOINT.REPORT_CONVERSATION}`,
  GET_USERS_COUNT = `${API_ROUTE.LOCATION}/${API_ENDPOINT.GET_USERS_COUNT}`,
  UPDATE_EMAIL = `${API_ROUTE.USER}/${API_ENDPOINT.UPDATE_EMAIL}`,
  CREATE_GROUP = `${API_ROUTE.CHAT}/${API_ENDPOINT.CREATE_GROUP}`,
  GET_GROUP_CHAT = `${API_ROUTE.CHAT}/${API_ENDPOINT.GET_GROUP_CHAT}`,
  SEND_GROUP_MESSAGE = `${API_ROUTE.CHAT}/${API_ENDPOINT.SEND_GROUP_MESSAGE}`,
  GROUP_MESSAGES_RECEIVED = `${API_ROUTE.CHAT}/${API_ENDPOINT.GROUP_MESSAGES_RECEIVED}`,
  GROUP_MESSAGES_READ = `${API_ROUTE.CHAT}/${API_ENDPOINT.GROUP_MESSAGES_READ}`,
  REACT_TO_GROUP_MESSAGE = `${API_ROUTE.CHAT}/${API_ENDPOINT.REACT_TO_GROUP_MESSAGE}`,
  UNREACT_TO_GROUP_MESSAGE = `${API_ROUTE.CHAT}/${API_ENDPOINT.UNREACT_TO_GROUP_MESSAGE}`,
  DELETE_GROUP_MESSAGE = `${API_ROUTE.CHAT}/${API_ENDPOINT.DELETE_GROUP_MESSAGE}`,
  SET_PIN_FOR_GROUP = `${API_ROUTE.CHAT}/${API_ENDPOINT.SET_PIN_FOR_GROUP}`,
  SET_ARCHIVE_FOR_GROUP = `${API_ROUTE.CHAT}/${API_ENDPOINT.SET_ARCHIVE_FOR_GROUP}`,
  SET_MUTE_FOR_GROUP = `${API_ROUTE.CHAT}/${API_ENDPOINT.SET_MUTE_FOR_GROUP}`,
  LEAVE_GROUP = `${API_ROUTE.CHAT}/${API_ENDPOINT.LEAVE_GROUP}`,
  ADD_TO_GROUP = `${API_ROUTE.CHAT}/${API_ENDPOINT.ADD_TO_GROUP}`,
  ADD_TO_GROUP_AS_ADMIN = `${API_ROUTE.CHAT}/${API_ENDPOINT.ADD_TO_GROUP_AS_ADMIN}`,
  SET_GROUP_ADMIN = `${API_ROUTE.CHAT}/${API_ENDPOINT.SET_GROUP_ADMIN}`,
  REMOVE_FROM_GROUP = `${API_ROUTE.CHAT}/${API_ENDPOINT.REMOVE_FROM_GROUP}`,
  GET_GROUP_SETTINGS = `${API_ROUTE.CHAT}/${API_ENDPOINT.GET_GROUP_SETTINGS}`,
  GET_GROUP_MEMBERS = `${API_ROUTE.CHAT}/${API_ENDPOINT.GET_GROUP_MEMBERS}`,
  UPDATE_GROUP_SETTINGS = `${API_ROUTE.CHAT}/${API_ENDPOINT.UPDATE_GROUP_SETTINGS}`,
  GET_GROUP_MESSAGE_STATUS = `${API_ROUTE.CHAT}/${API_ENDPOINT.GET_GROUP_MESSAGE_STATUS}`,
  REMOVE_GROUP_FROM_LIST = `${API_ROUTE.CHAT}/${API_ENDPOINT.REMOVE_GROUP_FROM_LIST}`,
  CAN_CREATE_GROUP = `${API_ROUTE.CHAT}/${API_ENDPOINT.CAN_CREATE_GROUP}`,
  GET_PINNED_GROUP_MESSAGE = `${API_ROUTE.CHAT}/${API_ENDPOINT.GET_PINNED_GROUP_MESSAGE}`,
  SET_PIN_GROUP_MESSAGE = `${API_ROUTE.CHAT}/${API_ENDPOINT.SET_PIN_GROUP_MESSAGE}`,
  EDIT_GROUP_MESSAGE = `${API_ROUTE.CHAT}/${API_ENDPOINT.EDIT_GROUP_MESSAGE}`,
  EDIT_MESSAGE = `${API_ROUTE.CHAT}/${API_ENDPOINT.EDIT_MESSAGE}`,
  CAN_SEND_MESSAGE = `${API_ROUTE.CHAT}/${API_ENDPOINT.CAN_SEND_MESSAGE}`,
  GET_EVENTS_LIST = `${API_ROUTE.EVENTS}/${API_ENDPOINT.GET_EVENTS_LIST}`,
  GET_EVENT = `${API_ROUTE.EVENTS}/${API_ENDPOINT.GET_EVENT}`,
  JOIN_EVENT = `${API_ROUTE.EVENTS}/${API_ENDPOINT.JOIN_EVENT}`,
  UNJOIN_EVENT = `${API_ROUTE.EVENTS}/${API_ENDPOINT.UNJOIN_EVENT}`,
  UPLOAD_TEMP_FILE = `${API_ROUTE.FILES}/${API_ENDPOINT.UPLOAD_TEMP_FILE}`,
  EVENT_ADD_FILE = `${API_ROUTE.EVENTS}/${API_ENDPOINT.EVENT_ADD_FILE}`,
  DELETE_FILE = `${API_ROUTE.EVENTS}/${API_ENDPOINT.DELETE_FILE}`,
  UPLOAD_PHOTO_EVENT = `${API_ROUTE.EVENTS}/${API_ENDPOINT.UPLOAD_PHOTO_EVENT}`,
  GET_MORE_PHOTOS = `${API_ROUTE.EVENTS}/${API_ENDPOINT.GET_MORE_PHOTOS}`,
  CAN_ADD_EVENT = `${API_ROUTE.EVENTS}/${API_ENDPOINT.CAN_ADD_EVENT}`,
  GET_PHOTOS_FOR_REGION = `${API_ROUTE.EVENTS}/${API_ENDPOINT.GET_PHOTOS_FOR_REGION}`,
  ADD_EVENT = `${API_ROUTE.EVENTS}/${API_ENDPOINT.ADD_EVENT}`,
  SET_LOCATION_REGIONS = `${API_ROUTE.LOCATION}/${API_ENDPOINT.SET_LOCATION_REGIONS}`,
  GET_MASTER = `${API_ROUTE.RANKING}/${API_ENDPOINT.GET_MASTER}`,
  GET_EVENT_FOR_EDITING = `${API_ROUTE.EVENTS}/${API_ENDPOINT.GET_EVENT_FOR_EDITING}`,
  UPDATE_EVENT = `${API_ROUTE.EVENTS}/${API_ENDPOINT.UPDATE_EVENT}`,
  CANCEL_EVENT = `${API_ROUTE.EVENTS}/${API_ENDPOINT.CANCEL_EVENT}`,
  REMOVE_PARTICIPANT = `${API_ROUTE.EVENTS}/${API_ENDPOINT.REMOVE_PARTICIPANT}`,
  GET_PREMIUM_STATUS = `${API_ROUTE.APP}/${API_ENDPOINT.PREMIUM_STATUS}`,
  GET_MAP_DATA_FOR_REGION = `${API_ROUTE.MAPS}/${API_ENDPOINT.GET_MAP_DATA_FOR_REGION}`,
  GET_LAST_MAP_UPDATE_DATE = `${API_ROUTE.MAPS}/${API_ENDPOINT.GET_LAST_MAP_UPDATE_DATE}`,
  GET_SIZE_FOR_BOUNDING_BOX = `${API_ROUTE.MAPS}/${API_ENDPOINT.GET_SIZE_FOR_BOUNDING_BOX}`,
  GET_PROFILE_SERIES_DATA = `${API_ROUTE.PROFILE}/${API_ENDPOINT.GET_PROFILE_SERIES_DATA}`,
  ADD_SHARED_TRIP = `${API_ROUTE.EVENTS}/${API_ENDPOINT.ADD_SHARED_TRIP}`,
  UPDATE_SHARED_TRIP = `${API_ROUTE.EVENTS}/${API_ENDPOINT.UPDATE_SHARED_TRIP}`,
  SHARED_TRIP_ADD_PARTICIPANT = `${API_ROUTE.EVENTS}/${API_ENDPOINT.SHARED_TRIP_ADD_PARTICIPANT}`,
  SET_FULL = `${API_ROUTE.EVENTS}/${API_ENDPOINT.SET_FULL}`,
  GET_COUNTRIES_FOR_LOCATION_DATA = `${API_ROUTE.LOCATION}/${API_ENDPOINT.GET_COUNTRIES_FOR_LOCATION_DATA}`,
  GET_USERS_LOCATION_FILTERED = `${API_ROUTE.LOCATION}/${API_ENDPOINT.GET_USERS_LOCATION_FILTERED}`,
  GET_VISITS_TO_REGION = `${API_ROUTE.QUICK_ENTER}/${API_ENDPOINT.GET_VISITS_TO_REGION}`,
  GET_REGIONS = `${API_ROUTE.QUICK_ENTER}/${API_ENDPOINT.GET_REGIONS}`,
  ADD_VISIT = `${API_ROUTE.QUICK_ENTER}/${API_ENDPOINT.ADD_VISIT}`,
  UPDATE_VISIT = `${API_ROUTE.QUICK_ENTER}/${API_ENDPOINT.UPDATE_VISIT}`,
  DELETE_VISIT = `${API_ROUTE.QUICK_ENTER}/${API_ENDPOINT.DELETE_VISIT}`,
  GET_SINGLE_REGION = `${API_ROUTE.QUICK_ENTER}/${API_ENDPOINT.GET_SINGLE_REGION}`,
  SET_NOT_VISITED = `${API_ROUTE.QUICK_ENTER}/${API_ENDPOINT.SET_NOT_VISITED}`,
  GET_GROUP_CONVERSATION_ALL = `${API_ROUTE.CHAT}/${API_ENDPOINT.GET_GROUP_CONVERSATION_ALL}`,
  GET_CONVERSATION_WITH_ALL = `${API_ROUTE.CHAT}/${API_ENDPOINT.GET_CONVERSATION_WITH_ALL}`,
  GET_USERS_WHO_TICKED_SERIES = `${API_ROUTE.SERIES}/${API_ENDPOINT.GET_USERS_WHO_TICKED_SERIES}`,
  GET_TRIPS_FOR_REGION = `${API_ROUTE.TRIPS}/${API_ENDPOINT.GET_TRIPS_FOR_REGION}`,
  GET_REGIONS_THAT_HAVE_TRIPS = `${API_ROUTE.TRIPS}/${API_ENDPOINT.GET_REGIONS_THAT_HAVE_TRIPS}`,
  GET_MAP_DATA = `${API_ROUTE.REGIONS}/${API_ENDPOINT.GET_MAP_DATA}`
}

export type BaseAxiosError = AxiosError;
