// API Configuration and Constants
export const API_CONFIG = {
  BASE_URL: 'https://karibeo.lesoluciones.net:8443/api/v1',
  ENDPOINTS: {
    // Authentication
    LOGIN: '/auth/login',
    REGISTER: '/auth/register',
    REFRESH: '/auth/refresh',
    
    // Users
    USERS: '/users',
    USER_PROFILE: '/users/profile',
    UPDATE_USER: '/users/update',
    
    // Invoices
    INVOICES: '/invoices',
    INVOICE_DETAIL: '/invoices/:id',
    
    // Bookings
    BOOKINGS: '/bookings',
    
    // Wallet
    WALLET: '/wallet',
    TRANSACTIONS: '/wallet/transactions',
    
    // Commerce
    ESTABLISHMENTS: '/commerce/establishments',
    ESTABLISHMENT_DETAIL: '/commerce/establishments/:id',
    RESERVATIONS: '/commerce/reservations',
    RESERVATION_DETAIL: '/commerce/reservations/:id',
    COMMERCE_STATS: '/commerce/stats',
    
    // Restaurant
    MENU_ITEMS: '/restaurant/menu-items',
    RESTAURANT_MENU: '/restaurant/establishments/:id/menu',
    RESTAURANT_TABLES: '/restaurant/establishments/:id/tables',
    RESTAURANT_ORDERS: '/restaurant/establishments/:id/orders',
    RESTAURANT_STATS: '/restaurant/establishments/:id/stats',
    
    // Hotel
    HOTEL_ROOMS: '/hotel/establishments/:id/rooms',
    HOTEL_CHECKIN: '/hotel/checkin',
    HOTEL_ROOM_SERVICE: '/hotel/room-service',
    HOTEL_STATS: '/hotel/establishments/:id/stats',
    HOTEL_HOUSEKEEPING: '/hotel/establishments/:id/housekeeping',
  },
  
  // External Assets
  ASSETS: {
    FAVICON: 'https://www.karibeo.com/desktop/assets/dist/img/favicon.png',
    CSS: {
      BOOTSTRAP: 'https://www.karibeo.com/desktop/dashboard/assets/plugins/bootstrap/css/bootstrap.min.css',
      METIS_MENU: 'https://www.karibeo.com/desktop/dashboard/assets/plugins/metisMenu/metisMenu.min.css',
      FONT_AWESOME: 'https://www.karibeo.com/desktop/dashboard/assets/plugins/fontawesome/css/all.min.css',
      TOASTR: 'https://www.karibeo.com/desktop/dashboard/assets/plugins/toastr/toastr.css',
      DATATABLES: 'https://www.karibeo.com/desktop/dashboard/assets/plugins/datatables/dataTables.bootstrap5.min.css',
      APP: 'https://www.karibeo.com/desktop/dashboard/assets/dist/css/app.min.css',
      STYLE: 'https://www.karibeo.com/desktop/dashboard/assets/dist/css/style.css',
    },
    JS: {
      JQUERY: 'https://www.karibeo.com/desktop/dashboard/assets/plugins/jQuery/jquery.min.js',
      BOOTSTRAP: 'https://www.karibeo.com/desktop/dashboard/assets/plugins/bootstrap/js/bootstrap.bundle.min.js',
      METIS_MENU: 'https://www.karibeo.com/desktop/dashboard/assets/plugins/metisMenu/metisMenu.min.js',
      PERFECT_SCROLLBAR: 'https://www.karibeo.com/desktop/dashboard/assets/plugins/perfect-scrollbar/perfect-scrollbar.min.js',
      TOASTR: 'https://www.karibeo.com/desktop/dashboard/assets/plugins/toastr/toastr.min.js',
      DATATABLES: 'https://www.karibeo.com/desktop/dashboard/assets/plugins/datatables/jquery.dataTables.min.js',
      DATATABLES_BOOTSTRAP: 'https://www.karibeo.com/desktop/dashboard/assets/plugins/datatables/dataTables.bootstrap5.min.js',
      APEXCHARTS: 'https://www.karibeo.com/desktop/dashboard/assets/plugins/apexcharts/apexcharts.min.js',
      WAYPOINTS: 'https://www.karibeo.com/desktop/dashboard/assets/plugins/jquery.counterup/jquery.waypoints.min.js',
      COUNTERUP: 'https://www.karibeo.com/desktop/dashboard/assets/plugins/jquery.counterup/jquery.counterup.min.js',
      APP_MIN: 'https://www.karibeo.com/desktop/dashboard/assets/dist/js/app.min.js',
      DASHBOARD: 'https://www.karibeo.com/desktop/dashboard/assets/dist/js/dashboard.js',
    }
  },
  
  // Default Headers
  DEFAULT_HEADERS: {
    'Content-Type': 'application/json',
    'Accept': 'application/json',
  },
  
  // Request timeout
  TIMEOUT: 10000,
};

export default API_CONFIG;