class AppRoutes {
  // ---------------------------------------------------------------------------
  // Post-login routing (JWT role_id → userRoleProvider → first screen)
  // ---------------------------------------------------------------------------
  // | role_id | userRoleProvider | First route              | Screen / notes        |
  // |---------|------------------|--------------------------|-----------------------|
  // | 1       | manager          | /dashboard               | Manager Dashboard     |
  // | 2       | handler          | /enquiryHandlerLst       | Handler enquiry list  |
  // | 3       | staff            | /enquiryForStaff         | Staff inline enquiry  |
  // | 4       | Accounts         | /enquiryLst              | Enquiry page          |
  // | (else)  | agent            | /partnerPortalDashboard  | Partner portal        |
  // Partner “Login as Partner” forces role `agent` → partner route above.      |
  // ---------------------------------------------------------------------------


  static const String splash = '/';
  static const String home = '/home';
  static const String dashboard = '/dashboard';
  /// Partner (agent) home — shows `PartnerPortalDashboard`.
  static const String partnerPortalDashboard = '/partnerPortalDashboard';
  static const String login = '/login';
  static const String profile = '/profile';
  static const String agentLst = '/agentLst';
  static const agent = '/agent/:id';
  /// Partner details page: use [agentDetailsFor] with `'new'` or agent id.
  static const String agentDetailsParam = '/agentDetails/:agentId';

  static String agentDetailsFor(String agentId) =>
      '/agentDetails/${Uri.encodeComponent(agentId)}';
  static const String staffLst = '/staffLst';
  static const staff = '/staff/:id';
  static const String salesExecutiveLst = '/salesExecutiveLst';
  static const salesExecutive = '/salesExecutive/:id';
  static const String posLst = '/posLst';
  static const String enquiryLst = '/enquiryLst';
  static const String enquiryForStaff = '/enquiryForStaff';
  static const String tabEnquiry = '/tabEnquiry';

  static const String enquiryHandlerLst = '/enquiryHandlerLst';
  static const String allStaffAttendance = '/allStaffAttendance';
  static const String individualAttendance = '/individualAttendance';

  static const String claimlist = '/claimList';
  static const String Endorsement = '/Endorsement';
  static const String policylist = '/policylist';
  static const String policyValidation = '/policyValidation';
  static const String endorsomentValidation = '/endorsomentValidation';
  static const String quotation = '/QuotationScreen';
  static const String policy = '/PolicyScreen';
  static const String policyStaffEnq = '/policyStaffEnq';

  static const String payout = '/payout';
  static const String invoiceList = '/invoiceList';
  static const String brokerLst = '/brokerLst';
  static const String paymentModeLst = '/paymentMode';
  static const String endorsementTypeLst = '/endorsementTypeLst';
  static const String vehicleTypeLst = '/vehicleTypeLst';
  static const String insurerLst = '/insurerLst';
  static const String payoutList = '/payoutList';
  static const String payoutDetails = '/payoutDetails';
  static const String payoutDetailsView = '/payoutDetailsView';
  static const String payoutUpload = '/payoutUpload';
  static const String payoutReport = '/payoutReport';
  static const String payoutGrid = '/payoutGrid';
  static const String gridList = '/gridList';
  static const String gridUpload = '/gridUpload';
  static const String gridView = '/gridView';
}
