This commit is contained in:
Hamza-Ayed
2023-11-27 00:08:10 +03:00
parent a8d6c509c1
commit e095cf564a
19 changed files with 782 additions and 305 deletions

View File

@@ -11,6 +11,9 @@ class BoxName {
static const String passengerID = "pasengerID";
static const String phone = "phone";
static const String phoneDriver = "phoneDriver";
static const String dobDriver = "dobDriver";
static const String sexDriver = "sexDriver";
static const String lastNameDriver = "lastNameDriver";
static const String name = "name";
static const String nameDriver = "nameDriver";
static const String email = "email";
@@ -44,4 +47,12 @@ class BoxName {
static const String chatGPTkeySefer = 'chatGPTkeySefer';
static const String transactionCloude = 'transactionCloude';
static const String visionApi = 'visionApi';
static const String vin = "vin";
static const String make = "make";
static const String model = "model";
static const String year = "year";
static const String expirationDate = "expirationDate";
static const String color = "color";
static const String owner = "owner";
static const String registrationDate = "registrationDate";
}

View File

@@ -1,121 +1,121 @@
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 final String server = Env.serverPHP; //Env.serverPHP;
static String googleMapsLink = 'https://maps.googleapis.com/maps/api/';
static String llama = 'https://api.llama-api.com/chat/completions';
static const String test = "$server/test.php";
static 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";
static String getTokens = "$server/ride/firebase/get.php";
static String addTokens = "$server/ride/firebase/add.php";
static String addTokensDriver = "$server/ride/firebase/addDriver.php";
//=======================Wallet===================
static const String wallet = '$server/ride/passengerWallet/';
static const String getAllPassengerTransaction =
static String wallet = '$server/ride/passengerWallet/';
static 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";
static String getWalletByPassenger = "$wallet/getWalletByPassenger.php";
static String getPassengersWallet = "$wallet/get.php";
static String addPassengersWallet = "$wallet/add.php";
static String deletePassengersWallet = "$wallet/delete.php";
static 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";
static String promo = '$server/ride/promo';
static String getPassengersPromo = "$promo/get.php";
static String getPromoBytody = "$promo/getPromoBytody.php";
static String addPassengersPromo = "$promo/add.php";
static String deletePassengersPromo = "$promo/delete.php";
static 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";
static String ride = '$server/ride';
static String addCancelRideFromPassenger = "$server/ride/cancelRide/add.php";
static 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";
static String addRides = "$ride/rides/add.php";
static String getRides = "$ride/rides/get.php";
static String getRideOrderID = "$ride/rides/getRideOrderID.php";
static String getRideStatus = "$ride/rides/getRideStatus.php";
static String getRideStatusBegin = "$ride/rides/getRideStatusBegin.php";
static String updateRides = "$ride/rides/update.php";
static 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";
static String addDriverpayment = "$ride/payment/add.php";
static String getDriverpaymentToday = "$ride/payment/get.php";
static 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";
static String addApiKey = "$ride/apiKey/add.php";
static String getApiKey = "$ride/apiKey/get.php";
static String updateApiKey = "$ride/apiKey/update.php";
static 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";
static String addFeedBack = "$ride/feedBack/add.php";
static String getFeedBack = "$ride/feedBack/get.php";
static 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";
static String addLicense = "$ride/license/add.php";
static String getLicense = "$ride/license/get.php";
static 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 =
static String addRegisrationCar = "$ride/RegisrationCar/add.php";
static String getRegisrationCar = "$ride/RegisrationCar/get.php";
static 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 =
static String addDriverOrder = "$ride/driver_order/add.php";
static String getDriverOrder = "$ride/driver_order/get.php";
static 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 String updateDriverOrder = "$ride/driver_order/update.php";
static String deleteDriverOrder = "$ride/driver_order/delete.php";
// =====================================
static const String addRateToPassenger = "$ride/rate/add.php";
static const String addRateToDriver = "$ride/rate/addRateToDriver.php";
static String addRateToPassenger = "$ride/rate/add.php";
static 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";
static String pathImage = "$server/upload/types/";
static String uploadImage = "$server/uploadImage.php";
static String uploadImagePortrate = "$server/uploadImagePortrate.php";
static String uploadImageType = "$server/uploadImageType.php";
//==================certifcate==========
static const String location = '$server/ride/location';
static const String getCarsLocationByPassenger = "$location/get.php";
static const String getDriverCarsLocationToPassengerAfterApplied =
static String location = '$server/ride/location';
static String getCarsLocationByPassenger = "$location/get.php";
static 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 =
static String addCarsLocationByPassenger = "$location/add.php";
static String deleteCarsLocationByPassenger = "$location/delete.php";
static String updateCarsLocationByPassenger = "$location/update.php";
static String getTotalDriverDuration = "$location/getTotalDriverDuration.php";
static 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";
static String profile = '$server/ride/profile';
static String getprofile = "$profile/get.php";
static String addprofile = "$profile/add.php";
static String deleteprofile = "$profile/delete.php";
static 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";
static String auth = 'https://ride.mobile-app.store/auth';
static String login = "$auth/login.php";
static String signUp = "$auth/signup.php";
static String sendVerifyEmail = "$auth/sendVerifyEmail.php";
static 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";
static String authCaptin = 'https://ride.mobile-app.store/auth/captin';
static String loginCaptin = "$authCaptin/login.php";
static String signUpCaptin = "$authCaptin/register.php";
static String sendVerifyEmailCaptin = "$authCaptin/sendVerifyEmail.php";
static String verifyEmailCaptin = "$authCaptin/verifyEmail.php";
static String removeUser = "$authCaptin/removeAccount.php";
}