106 lines
5.3 KiB
Dart
106 lines
5.3 KiB
Dart
class WebUrls extends _BaseUrl {
|
|
WebUrls._();
|
|
|
|
static String baseUrl = _BaseUrl.baseUrl; //Test
|
|
// static String baseUrl = _BaseUrl.liveBaseUrl; //Live
|
|
|
|
static String socketUrl = 'http://16.171.242.62:3000';
|
|
|
|
static String signInUrl = "$baseUrl/users/signInApp";
|
|
static String passwordLessSignInUrl = "$baseUrl/users/passwordLessLogin";
|
|
static String forgetPasswordUrl = "$baseUrl/users/forgot-password";
|
|
static String verifyCodeUrl = "$baseUrl/users/verify-code";
|
|
static String verifyTokenUrl = "$baseUrl/users/verifyToken";
|
|
static String rotaServiceUserShiftsListUrl =
|
|
"$baseUrl/serviceUserShifts/getSrUsShiftsRequiredsListForAMonth";
|
|
static String userProfileUrl =
|
|
"$baseUrl/staffMembers/getStaffMembersWithFullDetails";
|
|
static String addConsentUrl =
|
|
"$baseUrl/consentTemplateRoute/addConsentTemplate";
|
|
static String getConsentListUrl =
|
|
"$baseUrl/consentTemplateRoute/getconsentTemplate";
|
|
static String deleteConsentUrl =
|
|
"$baseUrl/consentTemplateRoute/removeConsentTemplate";
|
|
static String updateConsentUrl =
|
|
"$baseUrl/consentTemplateRoute/updateConsentTemplate";
|
|
|
|
// static String getServiceUsersListUrl =
|
|
// "${baseUrl}/serviceUsers/getServiceUsersWithFullDetails";
|
|
static String getServiceUsersListUrl = "$baseUrl/users/listAllServiceUsers";
|
|
static String getBodyPointsCategoryListURL =
|
|
"$baseUrl/consentTemplateRoute/getHealthCategories";
|
|
static String addHealthIssuesURL =
|
|
"$baseUrl/consentTemplateRoute/addHealthIssues";
|
|
static String getHealthIssuesListURL =
|
|
"$baseUrl/consentTemplateRoute/getHealthIssues";
|
|
static String updateHealthIssueURL =
|
|
"$baseUrl/consentTemplateRoute/updateHealthIssues";
|
|
static String getHealthIssueChildCategoryListURL =
|
|
"$baseUrl/consentTemplateRoute/getChildHealthCategories";
|
|
static String addRecentIncidentServiceURL = "$baseUrl/incident/addIncident";
|
|
static String getRecentIncidentsListServiceURL =
|
|
"$baseUrl/incident/getIncidentWithFullDetails";
|
|
static String updateRecentIncidentServiceURL =
|
|
"$baseUrl/incident/updateIncident";
|
|
static String deleteRecentIncidentUrl = "$baseUrl/incident/removeIncident";
|
|
static String addPbsPlanServiceURL = "$baseUrl/pbsplans/addPbsplan";
|
|
static String updatePbsPlanServiceURL = "$baseUrl/pbsplans/updatePbsplan";
|
|
static String getPbsPlanServiceURL = "$baseUrl/pbsplans/getPbsPlanList";
|
|
static String deletePbsPlanServiceURL = "$baseUrl/pbsplans/deletePbsPlanList";
|
|
static String getDocumentsListServiceURL = "$baseUrl/document/documentList";
|
|
static String addDocumentServiceURL = "$baseUrl/document/addDocument";
|
|
static String updateDocumentServiceURL = "$baseUrl/document/updateDocument";
|
|
static String deleteDocServiceURL = "$baseUrl/document/removeDocument";
|
|
static String uploadDocServiceURL = "$baseUrl/uploads/uploadReferenceDoc";
|
|
static String addSingleMessageChatURL = "$baseUrl/messages/addMessage";
|
|
static String uploadMessageAttachmentsURL =
|
|
"$baseUrl/messages/uploadMessageAttachments";
|
|
static String addGroupMessageServiceURL = "$baseUrl/messages/addGroupMessage";
|
|
static String deleteGroupMessageServiceURL =
|
|
"$baseUrl/messages/deleteGroupMessage";
|
|
static String updateGroupMessageServiceURL =
|
|
"$baseUrl/messages/updateGroupMessage";
|
|
static String combinedLastMessageURL =
|
|
"$baseUrl/messages/combinedLastMessages";
|
|
static String allGroupMessagesURL = "$baseUrl/messages/messageByGroupId";
|
|
static String allSingleChatMessagesURL = "$baseUrl/messages/getAllMessage";
|
|
static String allSingleChatMessagesServiceAdminURL =
|
|
"$baseUrl/messages/getMessage";
|
|
static String updateSingleChatMessageURL = "$baseUrl/messages/updateMessage";
|
|
static String deleteSingleChatMessageURL = "$baseUrl/messages/deleteMessage";
|
|
|
|
static String deleteChatURL = "$baseUrl/messages/deleteChat";
|
|
|
|
static String createCarePlanURL = "$baseUrl/carePlans/createCarePlan";
|
|
static String getCarePlansListURL = "$baseUrl/carePlans/getCarePlansList";
|
|
static String getStaffWorkload =
|
|
"$baseUrl/staffWorkLoads/getStaffWorkLoadsWithFullDetails";
|
|
static String requestHoliday =
|
|
"$baseUrl/staffHolidayRequests/createStaffHolidayRequest";
|
|
static String myShifts = "$baseUrl/liveRoster/checkExistShiftByServiceUserid";
|
|
static String unassignedShifts = "$baseUrl/liveRoster/unassignedShifts";
|
|
static String assignStaffToShift = "$baseUrl/liveRoster/assignStaffToShift";
|
|
|
|
static String getAppointmentsByDate =
|
|
"$baseUrl/appointment/getAppointmentsByDate";
|
|
|
|
static String getRiskAssesments = "$baseUrl/riskassesments/getRiskAssesments";
|
|
|
|
static String getNotifications = "$baseUrl/notifications/getNotifications";
|
|
|
|
static String getMemoryList = "$baseUrl/carePlans/getMemoryList";
|
|
static String uploadMemoryBoxFile = "$baseUrl/carePlans/uploadMemoryBoxFile";
|
|
static String addMemoryBox = "$baseUrl/carePlans/addMemoryBox";
|
|
static String updateMemoryBox = "$baseUrl/carePlans/updateMemoryBox";
|
|
static String createRiskAssesments =
|
|
"$baseUrl/riskassesments/createRiskAssesments";
|
|
static String listAllUsers = "$baseUrl/users/listAllUsers";
|
|
static String allTrainings =
|
|
"$baseUrl/proposedTrainings/getProposedTrainingsByStaff";
|
|
}
|
|
|
|
abstract class _BaseUrl {
|
|
static const baseUrl = "http://16.171.242.62:3000";
|
|
static const liveBaseUrl = "https://ftcaresoftware.co.uk/ft_care_server";
|
|
}
|