class ApiEndpoints {
  static const String baseUrl = "https://stageapi.marcoaiot.com/api";
  // static const String baseUrl = "https://api.marcoaiot.com/api";
  // static const String baseUrl = "https://devapi.marcoaiot.com/api";
  // static const String baseUrl = "https://mapi.marcoaiot.com/api";
//   static const String baseUrl = "https://api.onfieldwork.com/api";


  static const String getMasterCurrencies = "/Master/currencies/list";
  static const String getMasterExpensesCategories =
      "/Master/expenses-categories";
  static const String getExpensePaymentRequestPayee =
      "/Expense/payment-request/payee";
  // Dashboard Module API Endpoints
  static const String getDashboardAttendanceOverview =
      "/dashboard/attendance-overview";
  static const String createExpensePaymentRequest =
      "/expense/payment-request/create";
  static const String getExpensePaymentRequestList =
      "/Expense/get/payment-requests/list";
  static const String getExpensePaymentRequestDetails =
      "/Expense/get/payment-request/details";
  static const String getExpensePaymentRequestFilter =
      "/Expense/payment-request/filter";
  static const String updateExpensePaymentRequestStatus =
      "/Expense/payment-request/action";
  static const String createExpenseforPR = "/expense/payment-request/action";
  static const String getExpensePaymentRequestEdit =
      "/expense/payment-request/edit";

  static const String getDashboardProjectProgress = "/dashboard/progression";
  static const String getDashboardTasks = "/dashboard/tasks";
  static const String getDashboardTeams = "/dashboard/teams";
  static const String getDashboardProjects = "/dashboard/projects";
  static const String getDashboardMonthlyExpenses =
      "/Dashboard/expense/monthly";
  static const String getExpenseTypeReport = "/Dashboard/expense/type";
  static const String getPendingExpenses = "/Dashboard/expense/pendings";
  static const String getCollectionOverview = "/dashboard/collection-overview";

  static const String getPurchaseInvoiceOverview =
      "/dashboard/purchase-invoice-overview";

///// Projects Module API Endpoints
  static const String createProject = "/project";

  // Attendance Module API Endpoints
  static const String getProjects = "/project/list";
  static const String getGlobalProjects = "/project/list/basic";
  static const String getTodaysAttendance = "/attendance/project/team";
  static const String getAttendanceForDashboard = "/dashboard/get/attendance/employee/:projectId";
  static const String getAttendanceLogs = "/attendance/project/log";
  static const String getAttendanceLogView = "/attendance/log/attendance";
  static const String getRegularizationLogs = "/attendance/regularize";
  static const String uploadAttendanceImage = "/attendance/record-image";

  // Employee Screen API Endpoints
  static const String getAllEmployeesByProject = "/employee/list";
  static const String getAllEmployeesByOrganization = "/project/get/task/team";
  static const String getAllEmployees = "/employee/list";
  static const String getEmployeesWithoutPermission = "/employee/basic";
  static const String getRoles = "/roles/jobrole";
  static const String createEmployee = "/employee/app/manage";
  static const String getEmployeeInfo = "/employee/profile/get";
  static const String assignEmployee = "/employee/profile/get";
  static const String getAssignedProjects = "/project/assigned-projects";
  static const String assignProjects = "/project/assign-projects";

  // Daily Task Module API Endpoints
  static const String getDailyTask = "/task/list";
  static const String reportTask = "/task/report";
  static const String commentTask = "/task/comment";
  static const String dailyTaskDetails = "/project/details-old";
  static const String assignDailyTask = "/task/assign";
  static const String getWorkStatus = "/master/work-status";
  static const String approveReportAction = "/task/approve";
  static const String assignTask = "/project/task";
  static const String getmasterWorkCategories = "/Master/work-categories";
  static const String getDailyTaskProjectProgressFilter = "/task/filter";

  ////// Directory Module API Endpoints ///////
  static const String getDirectoryContacts = "/directory";
  static const String getDirectoryBucketList = "/directory/buckets";
  static const String getDirectoryContactDetail = "/directory/notes";
  static const String getDirectoryContactCategory =
      "/master/contact-categories";
  static const String getDirectoryContactTags = "/master/contact-tags";
  static const String getDirectoryOrganization = "/directory/organization";
  static const String createContact = "/directory";
  static const String updateContact = "/directory";
  static const String deleteContact = "/directory";
  static const String restoreContact = "/directory/note";
  static const String getDirectoryNotes = "/directory/notes";
  static const String updateDirectoryNotes = "/directory/note";
  static const String createBucket = "/directory/bucket";
  static const String updateBucket = "/directory/bucket";
  static const String assignBucket = "/directory/assign-bucket";

  ////// Expense Module API Endpoints
  static const String getExpenseCategories = "/expense/categories";
  static const String getExpenseList = "/expense/list";
  static const String getExpenseDetails = "/expense/details";
  static const String createExpense = "/expense/create";
  static const String editExpense = "/Expense/edit";
  static const String getMasterPaymentModes = "/master/payment-modes";
  static const String getMasterExpenseStatus = "/master/expenses-status";
  static const String getMasterExpenseCategory = "/master/expenses-categories";
  static const String updateExpenseStatus = "/expense/action";
  static const String deleteExpense = "/expense/delete";

  ////// Dynamic Menu Module API Endpoints
  static const String getDynamicMenu = "/appmenu/get/menu-mobile";

  ///// Document Module API Endpoints
  static const String getMasterDocumentCategories =
      "/master/document-category/list";
  static const String getMasterDocumentTags = "/document/get/tags";
  static const String getDocumentList = "/document/list";
  static const String getDocumentDetails = "/document/get/details";
  static const String uploadDocument = "/document/upload";
  static const String deleteDocument = "/document/delete";
  static const String getDocumentFilter = "/document/get/filter";
  static const String getDocumentTypesByCategory = "/master/document-type/list";
  static const String getDocumentVersion = "/document/get/version";
  static const String getDocumentVersions = "/document/list/versions";
  static const String editDocument = "/document/edit";
  static const String verifyDocument = "/document/verify";

  /// Logs Module API Endpoints
  static const String uploadLogs = "/log";

  static const String getAssignedOrganizations =
      "/project/get/assigned/organization";
  static const getAllOrganizations = "/organization/list";

  static const String getAssignedServices = "/Project/get/assigned/services";
  static const String getAdvancePayments = '/Expense/get/transactions';

  // Organization Hierarchy endpoints
  static const String getOrganizationHierarchyList =
      "/organization/hierarchy/list";
  static const String manageOrganizationHierarchy =
      "/organization/hierarchy/manage";

  
  // Service Project Module API Endpoints
  static const String getServiceProjectsList = "/serviceproject/list";
  static const String getServiceProjectDetail = "/serviceproject/details";
  static const String getServiceProjectJobList = "/serviceproject/job/list";
  static const String getServiceProjectJobDetail =
      "/serviceproject/job/details";
  static const String editServiceProjectJob = "/serviceproject/job/edit";
  static const String createServiceProjectJob = "/serviceproject/job/create";
  static const String serviceProjectUpateJobAttendance = "/serviceproject/job/attendance";
  static const String serviceProjectUpateJobAttendanceLog = "/serviceproject/job/attendance/log";
  static const String getServiceProjectUpateJobAllocationList = "/serviceproject/get/allocation/list";
  static const String manageServiceProjectUpateJobAllocation = "/serviceproject/manage/allocation";
  static const String getTeamRoles = "/master/team-roles/list";
  static const String getServiceProjectBranches = "/serviceproject/branch/list";

  static const String getMasterJobStatus = "/Master/job-status/list";

  static const String addJobComment = "/ServiceProject/job/add/comment";

  static const String getJobCommentList = "/ServiceProject/job/comment/list";

  // Infra Project Module API Endpoints
  static const String getInfraProjectsList = "/project/list";
  static const String getInfraProjectDetail = "/project/details";
}
