97 lines
5.2 KiB
Dart
97 lines
5.2 KiB
Dart
import '../env/env.dart';
|
|
import '../main.dart';
|
|
import 'box_name.dart';
|
|
|
|
class AppLink {
|
|
// static final String seferPaymentServer = Env.seferPaymentServer;
|
|
// // static final String seferPaymentServer = '${Env.seferCairoServer}/ride';
|
|
|
|
static final String seferAlexandriaServer = Env.seferAlexandriaServer;
|
|
static final String seferCairoServer = Env.seferCairoServer;
|
|
static final String seferGizaServer = Env.seferGizaServer;
|
|
static String paymentServer = 'https://walletintaleq.intaleq.xyz/v1/main';
|
|
static String location = 'https://api.intaleq.xyz/intaleq/ride/location';
|
|
static String locationServer =
|
|
'https://location.intaleq.xyz/intaleq/ride/location';
|
|
static String seferPaymentServer0 = box.read('seferPaymentServer');
|
|
|
|
static final String endPoint = 'https://api.intaleq.xyz/intaleq';
|
|
static final String rideServer = 'https://rides.intaleq.xyz/intaleq';
|
|
// static final String server = Env.serverPHP;
|
|
static String getBestDriver = "$server/Admin/driver/getBestDriver.php";
|
|
static final String server = 'https://api.intaleq.xyz/intaleq';
|
|
static final String jwtService = '$server/jwtService.php';
|
|
|
|
// static final String endPoint = box.read(BoxName.serverChosen);
|
|
// static final String server = Env.seferCairoServer;
|
|
// static const String server = "https://sefer.click/sefer/sefer";
|
|
static String googleMapsLink = 'https://maps.googleapis.com/maps/api/';
|
|
static String llama = 'https://api.llama-api.com/chat/completions';
|
|
static String getTokens = "$server/ride/firebase/get.php";
|
|
|
|
static String gemini =
|
|
'https://generativelanguage.googleapis.com/v1beta3/models/text-bison-001:generateText';
|
|
static String uploadEgypt = "$server/uploadEgypt.php";
|
|
static String auth = '$server/auth';
|
|
static String login = "$serviceApp/login.php";
|
|
static String signUp = "$auth/signup.php";
|
|
static String sendVerifyEmail = "$auth/sendVerifyEmail.php";
|
|
static String passengerRemovedAccountEmail =
|
|
"$auth/passengerRemovedAccountEmail.php";
|
|
static String verifyEmail = "$auth/verifyEmail.php";
|
|
static String getPromptDriverDocumentsEgypt =
|
|
"$server/auth/captin/getPromptDriverDocumentsEgypt.php";
|
|
|
|
//===================Auth Captin============
|
|
static String authCaptin = '$server/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";
|
|
static String deletecaptainAccounr = "$authCaptin/deletecaptainAccounr.php";
|
|
static String updateAccountBank = "$authCaptin/updateAccountBank.php";
|
|
static String getAccount = "$authCaptin/getAccount.php";
|
|
static String test = "$server/test.php";
|
|
static String serviceApp = "$server/serviceapp";
|
|
static String getPassengersByPhone = "$serviceApp/getPassengersByPhone.php";
|
|
static String getDriverByPhone = "$serviceApp/getDriverByPhone.php";
|
|
static String getDriverByNational = "$serviceApp/getDriverByNational.php";
|
|
static String updateDriver = "$serviceApp/updateDriver.php";
|
|
static String updateDriverToActive = "$serviceApp/updateDriverToActive.php";
|
|
static String getNewDriverRegister = "$serviceApp/getNewDriverRegister.php";
|
|
static String getDriversPhoneNotComplete =
|
|
"$serviceApp/getDriversPhoneNotComplete.php";
|
|
static String addWelcomeDriverNote = "$serviceApp/addWelcomeDriverNote.php";
|
|
static String getDriverNotCompleteRegistration =
|
|
"$serviceApp/getDriverNotCompleteRegistration.php";
|
|
static String deleteDriverNotCompleteRegistration =
|
|
"$serviceApp/deleteDriverNotCompleteRegistration.php";
|
|
static String getDriversWaitingActive =
|
|
"$serviceApp/getDriversWaitingActive.php";
|
|
static String getPassengersNotCompleteRegistration =
|
|
"$serviceApp/getPassengersNotCompleteRegistration.php";
|
|
static String addNotesDriver = "$serviceApp/addNotesDriver.php";
|
|
static String getDriverDetailsForActivate =
|
|
"$serviceApp/getDriverDetailsForActivate.php";
|
|
static String getCarPlateNotEdit = "$serviceApp/getCarPlateNotEdit.php";
|
|
static String getdriverWithoutCar = "$serviceApp/getdriverWithoutCar.php";
|
|
static String getBestDriverGiza =
|
|
"https://gizasefer.online/sefer/Admin/driver/getBestDriver.php";
|
|
static String getBestDriverAlexandria =
|
|
"$seferAlexandriaServer/Admin/driver/getBestDriver.php";
|
|
static String addNotesPassenger = "$serviceApp/addNotesPassenger.php";
|
|
static String editCarPlate = "$serviceApp/editCarPlate.php";
|
|
static String addDriverWantWork = "$serviceApp/work/addDriverWantWork.php";
|
|
static String addCarWantWork = "$serviceApp/work/addCarWantWork.php";
|
|
static String getComplaintAllData = "$serviceApp/getComplaintAllData.php";
|
|
static String getComplaintAllDataForDriver =
|
|
"$serviceApp/getComplaintAllDataForDriver.php";
|
|
static String addCriminalDocuments = "$authCaptin/addCriminalDocuments.php";
|
|
static String ride = '$server/ride';
|
|
static String addRegisrationCar = "$ride/RegisrationCar/add.php";
|
|
static String addCartoDriver = "$serviceApp/addCartoDriver.php";
|
|
static String getRegisrationCar = "$ride/RegisrationCar/get.php";
|
|
static String updateRegisrationCar = "$ride/RegisrationCar/update.php";
|
|
}
|