import { MenuInfo } from './menu-info';

export const ROUTES: MenuInfo[] = [
  {
    path: '',
    title: 'DASHBOARD',
    icon: 'monitor',
    class: '',
    submenu: [],
    hasClaims: ['dashboard_list'],
  },

  {
    path: 'roles',
    title: 'ROLES',
    icon: 'shield',
    class: '',
    submenu: [],
    hasClaims: ['role_list'],
  },
  {
    path: 'users',
    title: 'USERS',
    icon: 'users',
    class: '',
    submenu: [],
    hasClaims: ['user_list'],
  },{
    path: 'sessions',
    title: 'CURRENT_LOGGED_USER',
    icon: 'users',
    class: '',
    submenu: [],
    hasClaims: ['online_users_list'],
  },
  {
    path: 'company-profile',
    title: 'COMPANY_PROFILE',
    icon: 'users',
    class: '',
    submenu: [],
    hasClaims: ['company_profile_edit'],
  },
  {
    path: 'roles/users',
    title: 'USER_ROLES',
    icon: 'user-check',
    class: '',
    submenu: [],
    hasClaims: ['user_role_edit'],
  },
  {
    path: 'reminders',
    title: 'REMINDER',
    icon: 'bell',
    class: '',
    submenu: [],
    hasClaims: ['reminder_list'],
  },
 
  {
    path: '',
    title: 'EMAIL',
    icon: 'mail',
    class: 'menu-toggle',
    hasClaims: [
      'email_template_list',
      'email_smtp_list',
      'send_email_list'
    ],
    submenu: [
      {
        path: '/email-smtp',
        title: 'SMTP_SETTINGS',
        icon: 'email',
        class: 'ml-menu',
        submenu: [],
        hasClaims: ['email_smtp_list'],
      },
      {
        path: '/email-template',
        title: 'EMAIL_TEMPLATE',
        icon: 'email',
        class: 'ml-menu',
        submenu: [],
        hasClaims: ['email_template_list'],
      },
      {
        path: '/email-send',
        title: 'SEND_EMAIL',
        icon: 'email',
        class: 'ml-menu',
        submenu: [],
        hasClaims: ['send_email_list'],
      },
 
     
    ],
  },

  {
    path: '',
    title: 'SETTINGS',
    icon: 'settings',
    class: 'menu-toggle',
    hasClaims: [
      'app_settings_list',
      'action_list',
      'page_list',
      'page_action_edit',
      'page_helper_list',
    ],
    submenu: [
     
      {
        path: 'app-Settings',
        title: 'APP_SETTINGS',
        icon: 'email',
        class: 'ml-menu',
        submenu: [],
        hasClaims: ['app_settings_list'],
      },
      {
        path: 'actions',
        title: 'ACTION',
        icon: 'email',
        class: 'ml-menu',
        submenu: [],
        hasClaims: ['action_list'],
      },
      {
        path: 'pages',
        title: 'PAGES',
        icon: 'bell',
        class: '',
        submenu: [],
        hasClaims: ['page_list'],
      },
      {
        path: 'screen-operation',
        title: 'PAGE_ACTION',
        icon: 'bell',
        class: '',
        submenu: [],
        hasClaims: ['page_action_edit'],
      },
      {
        path: '/page-helper',
        title: 'PAGE_HELPER',
        icon: 'bell',
        class: '',
        submenu: [],
        hasClaims: ['page_helper_list'],
      },
     
    ],
  },
  {
    path: '',
    title: 'LOGS',
    icon: 'file-text',
    class: 'menu-toggle',
    hasClaims: [
      'login_audit_list',
      'system_logs_list',
    ],
    submenu: [
      {
        path: 'login-audit',
        title: 'LOGIN_AUDIT',
        icon: 'key',
        class: 'ml-menu',
        submenu: [],
        hasClaims: ['login_audit_list'],
      },
      {
        path: 'logs',
        title: 'ERROR_LOGS',
        icon: '',
        class: 'ml-menu',
        submenu: [],
        hasClaims: ['system_logs_list'],
      },
    ],
  },
];
