[routes]

;ajax section start
PUT /saveRule            [ajax] = \Tirreno\Controllers\Data->saveRule
PUT /removeBlacklisted   [ajax] = \Tirreno\Controllers\Data->removeFromBlacklist
PUT /removeWatchlisted   [ajax] = \Tirreno\Controllers\Data->removeFromWatchlist
PUT /manageUser          [ajax] = \Tirreno\Controllers\Data->manageUser
PUT /reviewUser          [ajax] = \Tirreno\Controllers\Data->reviewUser
PUT /emailReenrichment   [ajax] = \Tirreno\Controllers\Data->enrichEmailEntity
PUT /phoneReenrichment   [ajax] = \Tirreno\Controllers\Data->enrichPhoneEntity

POST|GET /loadTopTen      [ajax] = \Tirreno\Controllers\Data->getTopTen

GET /currentTime          [ajax] = \Tirreno\Controllers\Data->getCurrentTime
GET /getConstants         [ajax] = \Tirreno\Controllers\Data->getConstants

GET /search               [ajax] = \Tirreno\Controllers\Data->getSearchResults
GET /checkRule            [ajax] = \Tirreno\Controllers\Data->checkRule
GET /scoreDetails         [ajax] = \Tirreno\Controllers\Data->getUserScoreDetails
GET /loadDashboardStat    [ajax] = \Tirreno\Controllers\Data->getDashboardStat
GET /loadMap              [ajax] = \Tirreno\Controllers\Data->getMap
GET /loadReviewQueueCount [ajax] = \Tirreno\Controllers\Data->getReviewUsersQueueCount
GET /loadBlacklistCount   [ajax] = \Tirreno\Controllers\Data->getBlacklistUsersCount
GET /timeFrameTotal       [ajax] = \Tirreno\Controllers\Data->getTimeFrameTotal

;panel
GET /emailDetails         [ajax] = \Tirreno\Controllers\Data->getEmailDetails
GET /eventDetails         [ajax] = \Tirreno\Controllers\Data->getEventDetails
GET /fieldEventDetails    [ajax] = \Tirreno\Controllers\Data->getFieldEventDetails
GET /phoneDetails         [ajax] = \Tirreno\Controllers\Data->getPhoneDetails
GET /deviceDetails        [ajax] = \Tirreno\Controllers\Data->getDeviceDetails
GET /logbookDetails       [ajax] = \Tirreno\Controllers\Data->getLogbookDetails

GET /enrichmentDetails    [ajax] = \Tirreno\Controllers\Data->getNotCheckedEntitiesCount

;tile details
GET /loadDomainDetails            [ajax] = \Tirreno\Controllers\Data->getDomainDetails
GET /loadUserAgentDetails         [ajax] = \Tirreno\Controllers\Data->getUserAgentDetails
GET /loadIspDetails               [ajax] = \Tirreno\Controllers\Data->getIspDetails
GET /loadUserDetails              [ajax] = \Tirreno\Controllers\Data->getUserDetails
GET /loadIpDetails                [ajax] = \Tirreno\Controllers\Data->getIpDetails

;tables
POST|GET /loadEvents           [ajax] = \Tirreno\Controllers\Data->getEventsList
POST|GET /loadUsers            [ajax] = \Tirreno\Controllers\Data->getUsersList
POST|GET /loadReviewQueue      [ajax] = \Tirreno\Controllers\Data->getReviewQueueList
POST|GET /loadBlacklist        [ajax] = \Tirreno\Controllers\Data->getBlacklistList
POST|GET /loadDevices          [ajax] = \Tirreno\Controllers\Data->getDevicesList
POST|GET /loadUserAgents       [ajax] = \Tirreno\Controllers\Data->getUserAgentsList
POST|GET /loadResources        [ajax] = \Tirreno\Controllers\Data->getResourcesList
POST|GET /loadPhones           [ajax] = \Tirreno\Controllers\Data->getPhonesList
POST|GET /loadFieldAuditTrail  [ajax] = \Tirreno\Controllers\Data->getFieldAuditTrailList
POST|GET /loadFieldAudits      [ajax] = \Tirreno\Controllers\Data->getFieldAuditsList
POST|GET /loadIsps             [ajax] = \Tirreno\Controllers\Data->getIspsList
POST|GET /loadIps              [ajax] = \Tirreno\Controllers\Data->getIpsList
POST|GET /loadEmails           [ajax] = \Tirreno\Controllers\Data->getEmailsList
POST|GET /loadDomains          [ajax] = \Tirreno\Controllers\Data->getDomainsList
POST|GET /loadLogbook          [ajax] = \Tirreno\Controllers\Data->getLogbookList
POST|GET /loadUsageStats       [ajax] = \Tirreno\Controllers\Data->getUsageStats
POST|GET /loadCountries        [ajax] = \Tirreno\Controllers\Data->getCountriesList
POST|GET /loadRules            [ajax] = \Tirreno\Controllers\Data->getRulesList

;totals
GET /loadIpsTimeFrameTotal         [ajax] = \Tirreno\Controllers\Data->getIpsTimeFrameTotal
GET /loadIspsTimeFrameTotal        [ajax] = \Tirreno\Controllers\Data->getIspsTimeFrameTotal
GET /loadDomainsTimeFrameTotal     [ajax] = \Tirreno\Controllers\Data->getDomainsTimeFrameTotal
GET /loadCountriesTimeFrameTotal   [ajax] = \Tirreno\Controllers\Data->getCountriesTimeFrameTotal
GET /loadResourcesTimeFrameTotal   [ajax] = \Tirreno\Controllers\Data->getResourcesTimeFrameTotal
GET /loadFieldAuditsTimeFrameTotal [ajax] = \Tirreno\Controllers\Data->getFieldAuditsTimeFrameTotal
GET /loadUserAgentsTimeFrameTotal  [ajax] = \Tirreno\Controllers\Data->getUserAgentsTimeFrameTotal

;charts
GET /loadEventsChart           [ajax] = \Tirreno\Controllers\Data->getEventsChart
GET /loadUsersChart            [ajax] = \Tirreno\Controllers\Data->getUsersChart
GET /loadReviewQueueChart      [ajax] = \Tirreno\Controllers\Data->getReviewQueueChart
GET /loadBlacklistChart        [ajax] = \Tirreno\Controllers\Data->getBlacklistChart
GET /loadDevicesChart          [ajax] = \Tirreno\Controllers\Data->getDevicesChart
GET /loadUserAgentsChart       [ajax] = \Tirreno\Controllers\Data->getUserAgentsChart
GET /loadResourcesChart        [ajax] = \Tirreno\Controllers\Data->getResourcesChart
GET /loadPhonesChart           [ajax] = \Tirreno\Controllers\Data->getPhonesChart
GET /loadFieldAuditTrailChart  [ajax] = \Tirreno\Controllers\Data->getFieldAuditTrailChart
GET /loadFieldAuditsChart      [ajax] = \Tirreno\Controllers\Data->getFieldAuditsChart
GET /loadIspsChart             [ajax] = \Tirreno\Controllers\Data->getIspsChart
GET /loadIpsChart              [ajax] = \Tirreno\Controllers\Data->getIpsChart
GET /loadDomainsChart          [ajax] = \Tirreno\Controllers\Data->getDomainsChart
GET /loadLogbookChart          [ajax] = \Tirreno\Controllers\Data->getLogbookChart
GET /loadUserSparklinesChart   [ajax] = \Tirreno\Controllers\Data->getUserSparklinesChart

;ajax section end

;pages section start
POST|GET /signup                        = \Tirreno\Controllers\Navigation->getSignupPage
POST|GET /login                         = \Tirreno\Controllers\Navigation->getLoginPage
POST|GET @logout: /logout               = \Tirreno\Controllers\Navigation->getLogoutPage
POST|GET /forgot-password               = \Tirreno\Controllers\Navigation->getForgotPasswordPage
POST|GET /password-recovering/@renewKey = \Tirreno\Controllers\Navigation->getPasswordRecoveringPage

GET /                                   = \Tirreno\Controllers\Navigation->getHomePage
GET /event                              = \Tirreno\Controllers\Navigation->getEventsPage
GET /review-queue                       = \Tirreno\Controllers\Navigation->getReviewQueuePage
GET /blacklist                          = \Tirreno\Controllers\Navigation->getBlacklistPage
GET /logbook                            = \Tirreno\Controllers\Navigation->getLogbookPage
GET /watchlist                          = \Tirreno\Controllers\Navigation->getWatchlistPage

POST|GET @api: /api                     = \Tirreno\Controllers\Navigation->getApiPage
POST|GET @rules: /rules                 = \Tirreno\Controllers\Navigation->getRulesPage
POST|GET @settings: /settings           = \Tirreno\Controllers\Navigation->getSettingsPage
POST|GET @manualCheck: /manual-check    = \Tirreno\Controllers\Navigation->getManualCheckPage

;pages with reenrichment
POST|GET /id/@userId                    = \Tirreno\Controllers\Navigation->getUserPage
POST|GET /user-agent/@userAgentId       = \Tirreno\Controllers\Navigation->getUserAgentPage
POST|GET /ip/@ipId                      = \Tirreno\Controllers\Navigation->getIpPage
POST|GET /domain/@domainId              = \Tirreno\Controllers\Navigation->getDomainPage

GET /id                         = \Tirreno\Controllers\Navigation->getUsersPage
GET /user-agent                 = \Tirreno\Controllers\Navigation->getUserAgentsPage
GET /ip                         = \Tirreno\Controllers\Navigation->getIpsPage
GET /isp                        = \Tirreno\Controllers\Navigation->getIspsPage
GET /isp/@ispId                 = \Tirreno\Controllers\Navigation->getIspPage
GET /country                    = \Tirreno\Controllers\Navigation->getCountriesPage
GET /country/@countryId         = \Tirreno\Controllers\Navigation->getCountryPage
GET /domain                     = \Tirreno\Controllers\Navigation->getDomainsPage
GET /resource                   = \Tirreno\Controllers\Navigation->getResourcesPage
GET /resource/@resourceId       = \Tirreno\Controllers\Navigation->getResourcePage
GET /field                      = \Tirreno\Controllers\Navigation->getFieldAuditsPage
GET /field/@fieldId             = \Tirreno\Controllers\Navigation->getFieldAuditPage

;pages section end

GET /cron [cli] = \Tirreno\Controllers\Pages\Cron->index
