import 'package:ride/env/env.dart'; class AppLink { static const String server = 'https://ride.mobile-app.store'; //Env.serverPHP; static const String googleMapsLink = 'https://maps.googleapis.com/maps/api/'; static const String llama = 'https://api.llama-api.com/chat/completions'; static const String test = "$server/test.php"; //===============firebase========================== static const String getTokens = "$server/ride/firebase/get.php"; static const String addTokens = "$server/ride/firebase/add.php"; static const String addTokensDriver = "$server/ride/firebase/addDriver.php"; //=======================Wallet=================== static const String wallet = '$server/ride/passengerWallet/'; static const String getAllPassengerTransaction = "$wallet/getAllPassengerTransaction.php"; static const String getWalletByPassenger = "$wallet/getWalletByPassenger.php"; static const String getPassengersWallet = "$wallet/get.php"; static const String addPassengersWallet = "$wallet/add.php"; static const String deletePassengersWallet = "$wallet/delete.php"; static const String updatePassengersWallet = "$wallet/update.php"; //=======================promo===================ride.mobile-app.store/ride/promo/get.php static const String promo = '$server/ride/promo'; static const String getPassengersPromo = "$promo/get.php"; static const String getPromoBytody = "$promo/getPromoBytody.php"; static const String addPassengersPromo = "$promo/add.php"; static const String deletePassengersPromo = "$promo/delete.php"; static const String updatePassengersPromo = "$promo/update.php"; ////=======================cancelRide=================== static const String ride = '$server/ride'; static const String addCancelRideFromPassenger = "$server/ride/cancelRide/add.php"; static const String cancelRide = "$server/ride/cancelRide/get.php"; //-----------------ridessss------------------ static const String addRides = "$ride/rides/add.php"; static const String getRides = "$ride/rides/get.php"; static const String getRideStatus = "$ride/rides/getRideStatus.php"; static const String getRideStatusBegin = "$ride/rides/getRideStatusBegin.php"; static const String updateRides = "$ride/rides/update.php"; static const String deleteRides = "$ride/rides/delete.php"; //-----------------DriverPayment------------------ static const String addDriverpayment = "$ride/payment/add.php"; static const String getDriverpaymentToday = "$ride/payment/get.php"; static const String getAllPayment = "$ride/payment/getAllPayment.php"; //-----------------Api Key------------------ static const String addApiKey = "$ride/apiKey/add.php"; static const String getApiKey = "$ride/apiKey/get.php"; static const String updateApiKey = "$ride/apiKey/update.php"; static const String deleteApiKey = "$ride/apiKey/delete.php"; //-----------------Feed Back------------------ static const String addFeedBack = "$ride/feedBack/add.php"; static const String getFeedBack = "$ride/feedBack/get.php"; static const String updateFeedBack = "$ride/feedBack/updateFeedBack.php"; //-----------------license------------------ static const String addLicense = "$ride/license/add.php"; static const String getLicense = "$ride/license/get.php"; static const String updateLicense = "$ride/license/updateFeedBack.php"; //-----------------RegisrationCar------------------ static const String addRegisrationCar = "$ride/RegisrationCar/add.php"; static const String getRegisrationCar = "$ride/RegisrationCar/get.php"; static const String updateRegisrationCar = "$ride/RegisrationCar/updateFeedBack.php"; //-----------------DriverOrder------------------ static const String addDriverOrder = "$ride/driver_order/add.php"; static const String getDriverOrder = "$ride/driver_order/get.php"; static const String getOrderCancelStatus = "$ride/driver_order/getOrderCancelStatus.php"; static const String updateDriverOrder = "$ride/driver_order/update.php"; static const String deleteDriverOrder = "$ride/driver_order/delete.php"; // ===================================== static const String addRateToPassenger = "$ride/rate/add.php"; static const String addRateToDriver = "$ride/rate/addRateToDriver.php"; // =========================================== static const String pathImage = "$server/upload/types/"; static const String uploadImage = "$server/uploadImage.php"; static const String uploadImageType = "$server/uploadImageType.php"; //==================certifcate========== static const String location = '$server/ride/location'; static const String getCarsLocationByPassenger = "$location/get.php"; static const String getDriverCarsLocationToPassengerAfterApplied = "$location/getDriverCarsLocationToPassengerAfterApplied.php"; static const String addCarsLocationByPassenger = "$location/add.php"; static const String deleteCarsLocationByPassenger = "$location/delete.php"; static const String updateCarsLocationByPassenger = "$location/update.php"; static const String getTotalDriverDuration = "$location/getTotalDriverDuration.php"; static const String getTotalDriverDurationToday = "$location/getTotalDriverDurationToday.php"; //==================Blog============= static const String profile = '$server/ride/profile'; static const String getprofile = "$profile/get.php"; static const String addprofile = "$profile/add.php"; static const String deleteprofile = "$profile/delete.php"; static const String updateprofile = "$profile/update.php"; //===================Auth============ static const String auth = 'https://ride.mobile-app.store/auth'; static const String login = "$auth/login.php"; static const String signUp = "$auth/signup.php"; static const String sendVerifyEmail = "$auth/sendVerifyEmail.php"; static const String verifyEmail = "$auth/verifyEmail.php"; //===================Auth Captin============ static const String authCaptin = 'https://ride.mobile-app.store/auth/captin'; static const String loginCaptin = "$authCaptin/login.php"; static const String signUpCaptin = "$authCaptin/register.php"; static const String sendVerifyEmailCaptin = "$authCaptin/sendVerifyEmail.php"; static const String verifyEmailCaptin = "$authCaptin/verifyEmail.php"; static const String removeUser = "$authCaptin/removeAccount.php"; }