import 'package:onufitness/environment/environment_config.dart'; class ApiUrl { // Get the base URL from environment configuration static String get baseUrl => EnvironmentConfigFactory.getConfig().apiBaseUrl; //.............................................................................................................. // Update Access topken......................................................................................... static const updateAccessToken = "/api/Auth/refresh-token"; static const sendFcmToken = "/api/Users/update-user-device-token"; static const fetchAgoraUserAndRtmToken = "/api/Communications/get-agora-user-rtm-token"; static const getAgoraRtcToken = "/api/Communications/get-agora-rtc-token"; // Create Account (Sign up)..................................................................................... static const createAccounrSendOtp = "/api/Auth/send-otp"; static const createAccountVerifyOTP = "/api/Auth/verify-otp"; static const uploadProfileImage = "/api/Users/user-profile-image-setup"; static const register = "/api/Auth/register"; static const profileSetup = "/api/Users/user-profile-setup"; static const finalUserInformationAndCreateAccount = "/api/Users/user-information"; // Login........................................................................................................... static const emailExistCheck = "/api/Auth/email-check"; static const login = "/api/Auth/login"; static const socialGoogleLogin = "/api/Auth/social-login"; // Forget Password................................................................................................... static const forgetPasswordSendOtp = "/api/Auth/forget-password-send-otp"; static const forgetPasswordVerifyOTP = "/api/Auth/verify-forget-password-otp"; static const resetPassword = "/api/Auth/forget-password"; // Logout........................................................................................................... static const logout = "/api/Users/user-logout"; //Home Dashboard................................................................................................. static const getChallengeCompleteCount = "/api/Dashboard/get-challenge-complete-count"; static const getGoalCompleteCount = "/api/Dashboard/get-goal-complete-count"; static const getUserConnectionCount = "/api/Dashboard/get-user-connection-count"; static const getUserConnectionReport = "/api/Dashboard/get-user-connection-report"; static const getGoalPieChartData = "/api/Dashboard/get-goal-progress-chart-data"; static const getChallengePieChartData = "/api/Dashboard/get-challenge-progress-chart-data"; static const getRecentTopMostPost = "/api/Dashboard/get-top-most-post"; // Trainee Accounts ................................................................................................. static const becomeACoach = "/api/Coaches/coach-request"; // Coach Accounts ................................................................................................. static const updateCoachProfessionalInfo = "/api/Coaches/update-coach-professional-info"; static const getCoachProfessionalInfo = "/api/Coaches/get-coach-professional-info"; static const getServiceOfferings = "/api/Coaches/get-coach-service-offering"; static const updateCoachCertificate = "/api/Coaches/update-coach-certificate"; static const deleteCoachCertificate = "/api/Coaches/delete-coach-certificate"; static const updateServiceOffering = "/api/Coaches/update-service-offering"; static const String getCoachReviewRating = "/api/Coaches/get-coach-review-rating"; static const String coachAddServiceOfferingCertificate = "/api/Coaches/add-coach-certificate"; // Master Table..................................................................................... static const fetchCountryListDropdown = "/api/Masters/countries"; static const fetchStateListDropdown = "/api/Masters/states"; static const fetchCityListDropdown = "/api/Masters/cities"; static const fetchGenderListDropdown = "/api/Masters/genders"; static const fetchWorkoutTypes = "/api/Masters/interests"; static const fetchFitnessGoals = "/api/Masters/fitness-goals"; static const fetchDietaryPreferences = "/api/Masters/dietaryPreferences"; static const fetchHealthConditions = "/api/Masters/healthConditions"; static const fetchCoachTypes = "/api/Masters/coachTypes"; static const fetchMasterTableUniList = "/api/Masters/task-metrices"; //... static const fetchPostTypes = "/api/Masters/post-types"; static const fetchdeviceTypes = "/api/Masters/device-types"; static const fetchPostPrivecy = "/api/Masters/post-visibility"; //......... User details................................................................................................ static const fetchUserDetails = "/api/Users/get-user-details"; //........ U-Vault.................................................................................... static const uploadUvaultVideos = "/api/UVaults/create-uvault"; static const fetchUvaultVideos = "/api/UVaults"; static const deleteUvault = "/api/UVaults/delete-uvault"; static const updateUvault = "/api/UVaults/update-uvault"; // Social Wall.................................................................................... static const submitPollVote = "/api/Socials/create-update-poll-vote"; static const uploadSocialPost = "/api/Socials/create-post-media"; static const uploadTribeEchoboardPost = "/api/Socials/create-tribe-post-media"; static const createConnection = "/api/Socials/create-connection"; static const responseToConnectRequest = "/api/Socials/response-to-connect-request"; static const createPollPost = "/api/Socials/create-poll-post"; static const createTribePollPost = "/api/Socials/create-tribe-poll-post"; static const getSocialProfileInfo = "/api/Users/get-user-with-profile"; static const getPosts = "/api/Socials/get-posts-by-userID"; static const getSinglePostByID = "/api/Socials/get-single-post-details"; static const createTribe = '/api/Socials/create-tribe'; static const getRecentActivity = "/api/Socials/get-user-recent-post-by"; static const fetchExclusiveConnections = '/api/Socials/get-exclusive-connections'; //...Connection............................. static const getInvitationUserlist = "/api/Socials/get-social-requested-connection"; static const getFriendsList = "/api/Socials/get-social-accepted-connection"; static const getSocialUsers = "/api/Socials/get-social-users-connection"; static const getSuggestedUserConnection = "/api/Socials/get-suggested-users-connection"; static const getTribeMemberDetailsByID = "/api/Socials/get-tribe-members-by-tribeID"; //...Comments.............................. static const getParentCommentList = "/api/Socials/get-parent-with-single-sub-comments"; static const addComment = "/api/Socials/create-post-comment"; static const getSubCommentList = "/api/Socials/get-sub-post-comments"; static const createUpdatePostReaction = "/api/Socials/create-update-post-reaction"; static const deleteEchoboardPost = "/api/Socials/delete-post"; static const fetchCompletedGoalsForBadges = "/api/Goals/get-latest-completed-goals"; static const fetchUserReviews = "/api/Users/get-user-review-rating"; static const createUserReview = "/api/Users/create-user-review"; static const getConnectedUsersWithMemberStatus = "/api/Socials/get-connected-users-with-member-status"; static const addTribeMembers = "/api/Socials/add-tribe-members"; static const removeTribeMember = "/api/Socials/delete-tribe-member"; static const deleteTribe = "/api/Socials/delete-tribe"; // Live streams... static const getLiveStreams = "/api/Communications/get-live-streams"; static const getMyUpcomingLiveStreamsByUser = "/api/Communications/get-upcoming-live-streams-by-user"; static const getAllUpcomingLiveStreams = "/api/Communications/get-all-upcoming-live-streams"; static const createScheduledLiveStream = "/api/Communications/create-scheduled-live-stream"; static const getSpecificLiveStream = "/api/Communications/get-live-stream"; static const endLiveStream = "/api/Communications/end-live-stream"; static const leaveLiveStream = "/api/Communications/left-from-live-stream"; static const joinLiveStreamAsAudience = "/api/Communications/join-live-stream"; // Goal Section............................................................................................................ static const getAllJoinedGoals = "/api/Goals/get-all-joined-goals-by-user"; static const getAllExploreGoals = "/api/Goals/get-all-goal"; static const joinToTheGoal = "/api/Goals/select-goal"; static const inputGoalTask = "/api/Goals/goal-task-tracking"; //challenge..................................................................................................... static const fetchOngoingChallenges = "/api/Challenges/get-ongoing-challenges"; static const fetchUpcomingChallenges = "/api/Challenges/get-upcoming-challenges"; static const fetchCreatedbyMeChallenges = "/api/Challenges/get-created-challenges"; static const fetchJoinedChallenges = "/api/Challenges/get-joined-challenges"; static const joinChallenge = "/api/Challenges/add-challenge-participation"; static const inputChallengeTask = "/api/Challenges/add-challenge-task-tracking"; static const fetchLeaderBoard = "/api/Challenges/get-challenge-participations"; static const createChallenge = "/api/Challenges/create-challenge"; static const addParticipentToChallenge = "/api/Challenges/add-challenge-participants"; static const fetchExclusiveConnectionsOfChallenge = '/api/Socials/get-exclusive-connections-with-challenge-connections'; static const updateChallengePrivacy = "/api/Challenges/update-challenge"; // Privacy-related endpoints........................................................................ static const String getExclusiveConnectionsByPost = '/api/Socials/get-exclusive-connections-by-post'; static const String updatePost = '/api/Socials/update-post'; }