// ** Type import
import { VerticalNavItemsType } from 'src/@core/layouts/types'

const navigation = (): VerticalNavItemsType => {
  return [
    {
      path: '/dashboards/merchant',
      action: 'read',
      subject: 'dashboard',
      icon: 'tabler:smart-home',
      title: 'Dashboard'
    },
    {
     title: 'App Store',
     icon: 'tabler:apps',
     path: '/app-store',
     action: 'read',
     subject: 'user-management'
    },
    {
      sectionTitle: 'User & Permission',
      action: 'read',
      subject: 'permission'
    },
     {
      title: 'User Management',
      icon: 'mdi:account-group-outline',
      action: 'read',
      subject: 'user-management',
      children: [
        {
          title: 'Create User',
          path: '/apps/user-management/list',
          action: 'read',
          subject: 'user-management'
        },
        {
          title: 'Create role & permissions',
          path: '/permission',
          action: 'read',
          subject: 'user-management'
        },
      ]
    },
    {
      sectionTitle: 'Money',
      action: 'read',
      subject: 'permission'
    },
    {
      title: 'Money Manager',
      icon: 'mdi:cash-multiple',
      action: 'read',
      subject: 'user-management',
      children: [
        {
          title: 'Add Money',
          path: '/add-money',
          action: 'read',
          subject: 'user-management'
        },
        {
          title: 'Send Money',
          path: '/send-money',
          action: 'read',
          subject: 'user-management'
        },

        // {
        //   title: 'Reports',
        //   path: '/reports',
        //   action: 'read',
        //   subject: 'user-management'
        // },
         {
          title: 'Statement/Reports',
          path: '/transactions',
          action: 'read',
          subject: 'user-management'
        },
         {
          title: 'Saving Settings',
          path: '/saving-settings',
          action: 'read',
          subject: 'user-management'
        },
         {
          title: 'FX Manager',
          path: '/fx-manager',
          action: 'read',
          subject: 'user-management'
        },
      ]
    },

    // {
    //   title: 'Add Money',
    //   icon: 'hugeicons:money-add-01',
    //   path: '/add-money',
    //   action: 'read',
    //   subject: 'user-management'
    // },
    // {
    //   title: 'Send Money',
    //   icon: 'hugeicons:money-send-02',
    //   path: '/send-money',
    //   action: 'read',
    //   subject: 'user-management'
    // },
    {
      sectionTitle: 'Escrow',
      action: 'read',
      subject: 'permission'
    },
    {
      title: 'Escrow Management',
      icon: 'hugeicons:money-send-02',
      path: '/escrow-management',
      action: 'read',
      subject: 'user-management'
    },
    
      {
  title: 'Pos Management',
  icon: 'mdi:printer-point-of-sale-outline',
  action: 'read',
  subject: 'user-management',
  children: [
    {
      title: 'POS',
      path: '/pos',
      action: 'read',
      subject: 'user-management'
    },
    {
      title: 'Products',
      path: '/products',
      action: 'read',
      subject: 'user-management'
    },
    {
      title: 'Create Product',
      path: '/products/create-product',
      action: 'read',
      subject: 'user-management'
    },
    {
      title: 'Categories',
      path: '/categories',
      action: 'read',
      subject: 'user-management'
    },
    {
      title: 'Vendors',
      path: '/vendors',
      action: 'read',
      subject: 'user-management'
    },
    {
      title: 'Taxes',
      path: '/taxes',
      action: 'read',
      subject: 'user-management'
    },
     {
      title: 'Client Hub',
      path: '/customers',
      action: 'read',
      subject: 'user-management'
    },
    {
      title: 'Virtual Terminal',
      path: '/virtual-terminal',
      action: 'read',
      subject: 'user-management'
    }
  ]
},
    {
      title: 'Dashboards',
      icon: 'tabler:smart-home',
      badgeContent: 'new',
      badgeColor: 'error',
      children: [
        {
          title: 'Analytics',
          path: '/dashboards/analytics'
        },
        {
          title: 'CRM',
          path: '/dashboards/crm'
        },
        {
          title: 'eCommerce',
          path: '/dashboards/ecommerce'
        }
      ]
    },
    {
      sectionTitle: 'Apps & Pages'
    },
    {
      title: 'Email',
      icon: 'tabler:mail',
      path: '/apps/email'
    },
    {
      title: 'Chat',
      icon: 'tabler:messages',
      path: '/apps/chat'
    },
    {
      title: 'Calendar',
      icon: 'tabler:calendar',
      path: '/apps/calendar'
    },
    {
      title: 'Invoice',
      icon: 'teenyicons:invoice-outline',
      action: 'read',
      subject: 'user-management',
      children: [
        {
          title: 'Invoice',
          path: '/apps/invoice/list',
          action: 'read',
          subject: 'user-management'
        },
        {
          title: 'Create Invoice',
          path: '/apps/invoice/add',
          action: 'read',
          subject: 'user-management'
        },
        {
          title: 'Invoice Details',
          path: '/apps/invoice/edit',
          action: 'read',
          subject: 'user-management'
        },
        {
          title: 'Invoice View',
          path: '/apps/invoice/preview/12345',
          action: 'read',
          subject: 'user-management'
        },
        {
          title: 'Invoice Templates',
          path: '/apps/invoice/template',
          action: 'read',
          subject: 'user-management'
        },
        {
          title: 'Recuirring Invoice',
          path: '/apps/invoice/recuirring',
          action: 'read',
          subject: 'user-management'
        },
        {
          title: 'Invoice Settings',
          path: '/apps/invoice/settings',
          action: 'read',
          subject: 'user-management'
        }
      ]
    },
     {
      title: 'Calendar',
      icon: 'tabler:calendar',
      path: '/apps/calendar',
      action: 'read',
      subject: 'user-management'
    },
    {
      title: 'Utility Bill Payment',
      icon: 'tabler:receipt-rupee',
      path: '/bill-payment',
      action: 'read',
      subject: 'user-management'
},
{
  title: 'Travel Booking',
  icon: 'tabler:plane',
  path: '/travel-booking',
  action: 'read',
  subject: 'user-management'
},
{
  title: 'Apply Merchant',
  icon: 'tabler:building-store',
  path: '/apply-merchant',
  action: 'read',
  subject: 'user-management'
},
{
  title: 'Apply Loan',
  icon: 'tabler:cash-banknote',
  path: '/apps/apply-loan',
  action: 'read',
  subject: 'user-management'
},
{
  title: 'Switch Account',
  icon: 'tabler:repeat',
  path: '/switch-account',
  action: 'read',
  subject: 'user-management'
},
    {
      title: 'User',
      icon: 'tabler:user',
      children: [
        {
          title: 'List',
          path: '/apps/user/list'
        },
        {
          title: 'View',
          children: [
            {
              title: 'Account',
              path: '/apps/user/view/account'
            },
            {
              title: 'Security',
              path: '/apps/user/view/security'
            },
            {
              title: 'Billing & Plans',
              path: '/apps/user/view/billing-plan'
            },
            {
              title: 'Notifications',
              path: '/apps/user/view/notification'
            },
            {
              title: 'Connection',
              path: '/apps/user/view/connection'
            }
          ]
        }
      ]
    },
    {
      title: 'Roles & Permissions',
      icon: 'tabler:settings',
      children: [
        {
          title: 'Roles',
          path: '/apps/roles'
        },
        {
          title: 'Permissions',
          path: '/apps/permissions'
        }
      ]
    },
    {
      title: 'Pages',
      icon: 'tabler:file',
      children: [
        {
          title: 'User Profile',
          children: [
            {
              title: 'Profile',
              path: '/pages/user-profile/profile'
            },
            {
              title: 'Teams',
              path: '/pages/user-profile/teams'
            },
            {
              title: 'Projects',
              path: '/pages/user-profile/projects'
            },
            {
              title: 'Connections',
              path: '/pages/user-profile/connections'
            }
          ]
        },
        {
          title: 'Account Settings',
          children: [
            {
              title: 'Account',
              path: '/pages/account-settings/account'
            },
            {
              title: 'Security',
              path: '/pages/account-settings/security'
            },
            {
              title: 'Billing',
              path: '/pages/account-settings/billing'
            },
            {
              title: 'Notifications',
              path: '/pages/account-settings/notifications'
            },

            {
              title: 'Connections',
              path: '/pages/account-settings/connections'
            }
          ]
        },
        {
          title: 'FAQ',
          path: '/pages/faq'
        },
        {
          title: 'Help Center',
          path: '/pages/help-center'
        },
        {
          title: 'Pricing',
          path: '/pages/pricing'
        },
        {
          title: 'Miscellaneous',
          children: [
            {
              openInNewTab: true,
              title: 'Coming Soon',
              path: '/pages/misc/coming-soon'
            },
            {
              openInNewTab: true,
              title: 'Under Maintenance',
              path: '/pages/misc/under-maintenance'
            },
            {
              openInNewTab: true,
              title: 'Page Not Found - 404',
              path: '/pages/misc/404-not-found'
            },
            {
              openInNewTab: true,
              title: 'Not Authorized - 401',
              path: '/pages/misc/401-not-authorized'
            },
            {
              openInNewTab: true,
              title: 'Server Error - 500',
              path: '/pages/misc/500-server-error'
            }
          ]
        }
      ]
    },
    {
      title: 'Auth Pages',
      icon: 'tabler:lock',
      children: [
        {
          title: 'Login',
          children: [
            {
              openInNewTab: true,
              title: 'Login v1',
              path: '/pages/auth/login-v1'
            },
            {
              openInNewTab: true,
              title: 'Login v2',
              path: '/pages/auth/login-v2'
            },
            {
              openInNewTab: true,
              title: 'Login With AppBar',
              path: '/pages/auth/login-with-appbar'
            }
          ]
        },
        {
          title: 'Register',
          children: [
            {
              openInNewTab: true,
              title: 'Register v1',
              path: '/pages/auth/register-v1'
            },
            {
              openInNewTab: true,
              title: 'Register v2',
              path: '/pages/auth/register-v2'
            },
            {
              openInNewTab: true,
              title: 'Register Multi-Steps',
              path: '/pages/auth/register-multi-steps'
            }
          ]
        },
        {
          title: 'Verify Email',
          children: [
            {
              openInNewTab: true,
              title: 'Verify Email v1',
              path: '/pages/auth/verify-email-v1'
            },
            {
              openInNewTab: true,
              title: 'Verify Email v2',
              path: '/pages/auth/verify-email-v2'
            }
          ]
        },
        {
          title: 'Forgot Password',
          children: [
            {
              openInNewTab: true,
              title: 'Forgot Password v1',
              path: '/pages/auth/forgot-password-v1'
            },
            {
              openInNewTab: true,
              title: 'Forgot Password v2',
              path: '/pages/auth/forgot-password-v2'
            }
          ]
        },
        {
          title: 'Reset Password',
          children: [
            {
              openInNewTab: true,
              title: 'Reset Password v1',
              path: '/pages/auth/reset-password-v1'
            },
            {
              openInNewTab: true,
              title: 'Reset Password v2',
              path: '/pages/auth/reset-password-v2'
            }
          ]
        },
        {
          title: 'Two Steps',
          children: [
            {
              openInNewTab: true,
              title: 'Two Steps v1',
              path: '/pages/auth/two-steps-v1'
            },
            {
              openInNewTab: true,
              title: 'Two Steps v2',
              path: '/pages/auth/two-steps-v2'
            }
          ]
        }
      ]
    },
    {
      title: 'Wizard Examples',
      icon: 'tabler:forms',
      children: [
        {
          title: 'Checkout',
          path: '/pages/wizard-examples/checkout'
        },
        {
          title: 'Property Listing',
          path: '/pages/wizard-examples/property-listing'
        },
        {
          title: 'Create Deal',
          path: '/pages/wizard-examples/create-deal'
        }
      ]
    },
    {
      icon: 'tabler:square',
      title: 'Dialog Examples',
      path: '/pages/dialog-examples'
    },
    {
      sectionTitle: 'User Interface'
    },
    {
      title: 'Typography',
      icon: 'tabler:typography',
      path: '/ui/typography'
    },
    {
      title: 'Icons',
      path: '/ui/icons',
      icon: 'tabler:brand-tabler'
    },
    {
      title: 'Cards',
      icon: 'tabler:id',
      children: [
        {
          title: 'Basic',
          path: '/ui/cards/basic'
        },
        {
          title: 'Advanced',
          path: '/ui/cards/advanced'
        },
        {
          title: 'Statistics',
          path: '/ui/cards/statistics'
        },
        {
          title: 'Widgets',
          path: '/ui/cards/widgets'
        },
        {
          title: 'Actions',
          path: '/ui/cards/actions'
        }
      ]
    },
    {
      badgeContent: '18',
      title: 'Components',
      icon: 'tabler:archive',
      badgeColor: 'primary',
      children: [
        {
          title: 'Accordion',
          path: '/components/accordion'
        },
        {
          title: 'Alerts',
          path: '/components/alerts'
        },
        {
          title: 'Avatars',
          path: '/components/avatars'
        },
        {
          title: 'Badges',
          path: '/components/badges'
        },
        {
          title: 'Buttons',
          path: '/components/buttons'
        },
        {
          title: 'Button Group',
          path: '/components/button-group'
        },
        {
          title: 'Chips',
          path: '/components/chips'
        },
        {
          title: 'Dialogs',
          path: '/components/dialogs'
        },
        {
          title: 'List',
          path: '/components/list'
        },
        {
          title: 'Menu',
          path: '/components/menu'
        },
        {
          title: 'Pagination',
          path: '/components/pagination'
        },
        {
          title: 'Ratings',
          path: '/components/ratings'
        },
        {
          title: 'Snackbar',
          path: '/components/snackbar'
        },
        {
          title: 'Swiper',
          path: '/components/swiper'
        },
        {
          title: 'Tabs',
          path: '/components/tabs'
        },
        {
          title: 'Timeline',
          path: '/components/timeline'
        },
        {
          title: 'Toasts',
          path: '/components/toast'
        },
        {
          title: 'Tree View',
          path: '/components/tree-view'
        },
        {
          title: 'More',
          path: '/components/more'
        }
      ]
    },
    {
      sectionTitle: 'Forms & Tables'
    },
    {
      title: 'Form Elements',
      icon: 'tabler:toggle-left',
      children: [
        {
          title: 'Text Field',
          path: '/forms/form-elements/text-field'
        },
        {
          title: 'Select',
          path: '/forms/form-elements/select'
        },
        {
          title: 'Checkbox',
          path: '/forms/form-elements/checkbox'
        },
        {
          title: 'Radio',
          path: '/forms/form-elements/radio'
        },
        {
          title: 'Custom Inputs',
          path: '/forms/form-elements/custom-inputs'
        },
        {
          title: 'Textarea',
          path: '/forms/form-elements/textarea'
        },
        {
          title: 'Autocomplete',
          path: '/forms/form-elements/autocomplete'
        },
        {
          title: 'Date Pickers',
          path: '/forms/form-elements/pickers'
        },
        {
          title: 'Switch',
          path: '/forms/form-elements/switch'
        },
        {
          title: 'File Uploader',
          path: '/forms/form-elements/file-uploader'
        },
        {
          title: 'Editor',
          path: '/forms/form-elements/editor'
        },
        {
          title: 'Slider',
          path: '/forms/form-elements/slider'
        },
        {
          title: 'Input Mask',
          path: '/forms/form-elements/input-mask'
        }
      ]
    },
    {
      icon: 'tabler:layout-navbar',
      title: 'Form Layouts',
      path: '/forms/form-layouts'
    },
    {
      title: 'Form Validation',
      path: '/forms/form-validation',
      icon: 'tabler:checkbox'
    },
    {
      title: 'Form Wizard',
      path: '/forms/form-wizard',
      icon: 'tabler:text-wrap-disabled'
    },
    {
      title: 'Table',
      icon: 'tabler:table',
      path: '/tables/mui'
    },
    {
      title: 'Mui DataGrid',
      icon: 'tabler:layout-grid',
      path: '/tables/data-grid'
    },
    {
      sectionTitle: 'Charts & Misc'
    },
    {
      title: 'Charts',
      icon: 'tabler:chart-pie',
      children: [
        {
          title: 'Apex',
          path: '/charts/apex-charts'
        },
        {
          title: 'Recharts',
          path: '/charts/recharts'
        },
        {
          title: 'ChartJS',
          path: '/charts/chartjs'
        }
      ]
    },
    {
      path: '/acl',
      action: 'read',
      subject: 'acl-page',
      icon: 'tabler:shield',
      title: 'Access Control'
    },
    {
      title: 'Others',
      icon: 'tabler:dots',
      children: [
        {
          title: 'Menu Levels',
          children: [
            {
              title: 'Menu Level 2.1'
            },
            {
              title: 'Menu Level 2.2',
              children: [
                {
                  title: 'Menu Level 3.1'
                },
                {
                  title: 'Menu Level 3.2'
                }
              ]
            }
          ]
        },
        {
          title: 'Disabled Menu',
          disabled: true
        },
        {
          title: 'Raise Support',
          externalLink: true,
          openInNewTab: true,
          path: 'https://pixinvent.ticksy.com/'
        },
        {
          title: 'Documentation',
          externalLink: true,
          openInNewTab: true,
          path: 'https://pixinvent.com/demo/vuexy-react-admin-dashboard-template/documentation/'
        }
      ]
    }
  ]
}

export default navigation
