class APIPath {
  static const String root = "http://202.6.26.23";
  static const String peaCrm = "$root/PEACRM.WebAPI/api/PeaSmartCare";
  static const String crmWorkforce = "$root/PEACRM.WebAPI/api/MobileWorkforce";
  static const String peaCrmWeb = "$root/PEACRM.WebAPI";

  // static const String root = "https://crmservice.pea.co.th";
  // static const String peaCrm = "$root/api/PeaSmartCare"; //PEACRM.WebAPI

  // static const String crmWorkforce =
  //     "$root/api/MobileWorkforce"; //CRMWorkforce.WebAPI
  // static const String peaCrmWeb = "https://crmservice.pea.co.th";

  //Authen
  static const String login = "$peaCrm/PSCLogin";
  static const String logout = "$peaCrm/PSCLogOut";
  static const String register = "$peaCrm/PeaSmartCareRegister";
  static const String sendOTP = "$peaCrm/PCSSendOTP";
  static const String verifyOTP = "$peaCrm/VerifyOTP";
  static const String visitCount = "$peaCrm/VisitCount";

  //History Bill
  static const String historyBillList = "$peaCrm/HistoryPayment";
  static const String historyBillDetail = "$peaCrm/HistoryPayment_View";

  //News
  static const String newsList = "$peaCrm/NewsDetail_ReadList";
  static const String newsFeaturedList = "$peaCrm/MsgIndexFirst_ReadList";
  static const String newsDetail = "$peaCrm/NewsDetail_Read";
  static const String newsDetailWebView = "$peaCrmWeb/News/NewView";

  //Coordinator ผู้ประสานงาน
  static const String coordinatorList = "$peaCrm/CustomerContactinfo_ReadList";
  static const String coordinatorDetail =
      "$peaCrm/CompanyRepresentative_citizenNumber";
  static const String coordinatorCreate = "$peaCrm/CustomerContactinfo_Insert";
  static const String coordinatorUpdate = "$peaCrm/CustomerContactinfo_Update";
  static const String coordinatorDelete = "$peaCrm/CustomerContactinfo_Delete";

  //Electricity Location สถานที่ใช้ไฟฟ้า
  static const String electricityLocationList =
      "$peaCrm/ElecttricPlaceToCustomerContact_ReadList";
  static const String electricityLocationCheckCa = "$peaCrm/CheckCACustomer";
  static const String electricityLocationCustomerInfo =
      "$peaCrm/CustomerInfo_Read";
  static const String electricityLocationCreate =
      "$peaCrm/InstallElectricMeter_Create";
  static const String electricityLocationCreateCustomerContact =
      "$peaCrm/ElecttricPlaceToCustomerContact_Insert";
  static const String electricityLocationGetCurrentLocation =
      "$peaCrm/GetCustomerMapLocation";
  static const String electricityLocationSaveCurrentLocation =
      "$peaCrm/SetCustomerMapLocation";
  static const String electricityLocationDelete =
      "$peaCrm/ElecttricPlaceToCustomerContact_Delete";

  //Contact Staff พนักงานดูแลลูกค้า
  static const String contactStaffList = "$crmWorkforce/CustomerCare_ReadList";

  //Report Incident ไฟฟ้าขัดข้อง
  static const String reportIncidentCreate = "$peaCrm/ElectricProblemInform";
  static const String reportIncidentHistoryList =
      "$peaCrm/ElectricProblemHistory";
  static const String reportIncidentPlanList = "$peaCrm/ElectricOutragePlan";
  static const String reportIncidentTypeList = "$peaCrm/OutageType_List";

  //Electricity Statistic สถิติการใช้ๆฟฟ้า
  static const String electricityStatisticList =
      "$peaCrm/ElectricUsage_GetList";
  static const String electricityStatisticTypeList =
      "$peaCrm/Electric_Dropdownlist";
  static const String electricityStatisticPeaNumberList = "$peaCrm/PeaNolist";

  //Timeline
  static const String timelineList = "$peaCrm/Timeline_ReadList";

  //Activity กิจกรรมที่เข้าร่วม
  static const String activityList = "$peaCrm/Activity_ReadList";

  //Additional Service ขอใช้บริการเสริม
  static const String additionalServiceList = "$peaCrm/PackageRequest_ReadList";
  static const String additionalServiceHistoryList =
      "$peaCrm/PackageHistoryRequest";
  static const String additionalServiceDetail = "$peaCrm/Package_Read";
  static const String additionalServiceCreate = "$peaCrm/PackageRequest_Create";
  static const String additionalServiceDelete = "$peaCrm/PackageRequest_Delete";
  static const String additionalServiceWebView =
      "$peaCrmWeb/Package/packageview";

  //Feedback เรื่องร้องเรียน
  static const String feedbackSave = "$peaCrm/Voc_CreateVoc";
  static const String feedbackList = "$peaCrm/Voice_ReadList";
  static const String feedbackDetail = "$peaCrm/Voice_Read";
  static const String feedbackTypeList = "$peaCrm/Voc_ListTagId";
  static const String feedbackProvinceList = "$peaCrm/Voc_Provinelist";
  static const String feedbackBranchList = "$peaCrm/Voc_Pealist";
  static const String feedbackSuggestionTypeList =
      "$peaCrm/Voc_ComplaintTypeList";
  static const String feedbackSubjectSuggestionTypeList =
      "$peaCrm/Voc_ComplaintSubTypeList";

  //Profile
  static const String profileDetail =
      "$peaCrm/CompanyRepresentative_citizenNumber";
  static const String profileSave = "$peaCrm/CompanyRepresentative_Update";

  //Notification
  static const String notificationList = "$peaCrm/Notification_Read";

  //Questionnaire แบบสอบถาม
  static const String questionnaireList = "$peaCrm/ResearchQuestion_ReadList";
  static const String questionnaireQuestion = "$peaCrm/ResearchQuestion_Read";
  static const String questionnaireSendAnswer = "$peaCrm/ResearchAnswer";
  static const String questionnaireQuestionWebView =
      "$peaCrmWeb/Questionnaire/AnswerForm";
  static const String questionnaireQuestionSendSuccessWebView =
      "$peaCrmWeb/ResponsePages/MobileSuccess";
  static const String questionnaireQuestionSendUnsuccessWebView =
      "$peaCrmWeb/ResponsePages/MobileUnsuccess";

  //Survey แบบสำรวจ
  static const String surveyList = "$peaCrm/SurveyQuestionRecord_ReadList";
  static const String surveySubject = "$peaCrm/SurveyQuestion_ReadList";
  static const String surveyGroupList = "$peaCrm/SurveyQuestion_List";
  static const String surveyQuestion = "$peaCrm/SurveyQuestion_Read";
  static const String surveySendAnswer = "$peaCrm/SurveyAnswer";
  static const String surveyDeleteAnswer =
      "$peaCrm/SurveyQuestionRecord_Delete";
  static const String surveyQuestionWebView = "$peaCrmWeb/Survey/AnswerForm";
  static const String surveyQuestionEditWebView =
      "$peaCrmWeb/Survey/AnswerForm";
  static const String surveyQuestionSendSuccessWebView =
      "$peaCrmWeb/ResponsePages/MobileSuccess";
  static const String surveyQuestionSendUnsuccessWebView =
      "$peaCrmWeb/ResponsePages/MobileUnsuccess";

  //Chat
  static const String singleChatMessageList =
      "$peaCrm/ChatDetail_ByAccountList";
  static const String groupChatMessageList =
      "$peaCrm/ChatDetail_ByChatMasterList";
  static const String chatList = "$peaCrm/ChatMaster_ByAccountList";
  static const String sendChatMessage = "$peaCrm/ChatDetail_Send";
  static const String sendChatNoti = "$peaCrm/ChatNotification_Send";
  static const String chatReaderList = "$peaCrm/StatusReadMaster_ReadList";
  static const String chatDownloadFile = "$peaCrm/ChatDetail_GetFile";
}
