Update: 2026-06-23 16:17:20
This commit is contained in:
@@ -8,10 +8,14 @@ class AppLink {
|
||||
|
||||
static String get paymentServer {
|
||||
switch (currentCountry) {
|
||||
case 'Syria': return 'https://wallet-syria.siromove.com/v1/main';
|
||||
case 'Egypt': return 'https://wallet-egypt.siromove.com/v1/main';
|
||||
case 'Jordan': return 'https://wallet-jordan.siromove.com/v1/main';
|
||||
default: return 'https://wallet.siromove.com/v1/main';
|
||||
case 'Syria':
|
||||
return 'https://wallet-syria.siromove.com/v1/main';
|
||||
case 'Egypt':
|
||||
return 'https://wallet-egypt.siromove.com/v1/main';
|
||||
case 'Jordan':
|
||||
return 'https://walletintaleq.intaleq.xyz/v2/main';
|
||||
default:
|
||||
return 'https://wallet.siromove.com/v1/main';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -26,10 +30,14 @@ class AppLink {
|
||||
|
||||
static String get location {
|
||||
switch (currentCountry) {
|
||||
case 'Syria': return 'https://api-syria.siromove.com/siro_v3/ride/location';
|
||||
case 'Egypt': return 'https://api-egypt.siromove.com/siro_v3/ride/location';
|
||||
case 'Jordan': return 'https://api-jordan.siromove.com/siro_v3/ride/location';
|
||||
default: return 'https://api.siromove.com/siro_v3/ride/location';
|
||||
case 'Syria':
|
||||
return 'https://api-syria.siromove.com/siro_v3/ride/location';
|
||||
case 'Egypt':
|
||||
return 'https://api-egypt.siromove.com/siro_v3/ride/location';
|
||||
case 'Jordan':
|
||||
return 'https://jordan-siro.intaleqapp.com/backend/ride/location';
|
||||
default:
|
||||
return 'https://api.siromove.com/siro_v3/ride/location';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -37,46 +45,66 @@ class AppLink {
|
||||
|
||||
static String get locationServerSide {
|
||||
switch (currentCountry) {
|
||||
case 'Syria': return 'https://location-syria.siromove.com/siro/ride/location';
|
||||
case 'Egypt': return 'https://location-egypt.siromove.com/siro/ride/location';
|
||||
case 'Syria':
|
||||
return 'https://location-syria.siromove.com/siro/ride/location';
|
||||
case 'Egypt':
|
||||
return 'https://location-egypt.siromove.com/siro/ride/location';
|
||||
case 'Jordan':
|
||||
default: return 'https://location-jordan.siromove.com/siro/ride/location';
|
||||
return 'https://location.intaleq.xyz/intaleq/ride/location';
|
||||
default:
|
||||
return 'https://location-jordan.siromove.com/siro/ride/location';
|
||||
}
|
||||
}
|
||||
|
||||
static String get locationSocketUrl {
|
||||
switch (currentCountry) {
|
||||
case 'Syria': return 'https://location-syria.siromove.com';
|
||||
case 'Egypt': return 'https://location-egypt.siromove.com';
|
||||
case 'Syria':
|
||||
return 'https://location-syria.siromove.com';
|
||||
case 'Egypt':
|
||||
return 'https://location-egypt.siromove.com';
|
||||
case 'Jordan':
|
||||
default: return 'https://location-jordan.siromove.com'; // You can change the default to location.intaleq.xyz if needed
|
||||
return 'https://location.intaleq.xyz';
|
||||
default:
|
||||
return 'https://location-jordan.siromove.com'; // You can change the default to location.intaleq.xyz if needed
|
||||
}
|
||||
}
|
||||
|
||||
static String get mapSaasRoute {
|
||||
switch (currentCountry) {
|
||||
case 'Syria': return 'https://map-syria.siromove.com/api/maps/route';
|
||||
case 'Egypt': return 'https://map-egypt.siromove.com/api/maps/route';
|
||||
case 'Jordan': return 'https://map-jordan.siromove.com/api/maps/route';
|
||||
default: return 'https://map-saas.intaleqapp.com/api/maps/route';
|
||||
case 'Syria':
|
||||
return 'https://map-syria.siromove.com/api/maps/route';
|
||||
case 'Egypt':
|
||||
return 'https://map-egypt.siromove.com/api/maps/route';
|
||||
case 'Jordan':
|
||||
return 'https://map-saas.intaleqapp.com/api/maps/route';
|
||||
default:
|
||||
return 'https://map-saas.intaleqapp.com/api/maps/route';
|
||||
}
|
||||
}
|
||||
|
||||
static String get mapSaasPlaces {
|
||||
switch (currentCountry) {
|
||||
case 'Syria': return 'https://map-syria.siromove.com/api/geocoding/places';
|
||||
case 'Egypt': return 'https://map-egypt.siromove.com/api/geocoding/places';
|
||||
case 'Jordan': return 'https://map-jordan.siromove.com/api/geocoding/places';
|
||||
default: return 'https://map-saas.intaleqapp.com/api/geocoding/places';
|
||||
case 'Syria':
|
||||
return 'https://map-syria.siromove.com/api/geocoding/places';
|
||||
case 'Egypt':
|
||||
return 'https://map-egypt.siromove.com/api/geocoding/places';
|
||||
case 'Jordan':
|
||||
return 'https://map-saas.intaleqapp.com/api/geocoding/places';
|
||||
default:
|
||||
return 'https://map-saas.intaleqapp.com/api/geocoding/places';
|
||||
}
|
||||
}
|
||||
|
||||
static String get routeApiBaseUrl {
|
||||
switch (currentCountry) {
|
||||
case 'Syria': return "https://routes-syria.siromove.com/route/v1/driving";
|
||||
case 'Egypt': return "https://routes-egypt.siromove.com/route/v1/driving";
|
||||
case 'Jordan': return "https://routes-jordan.siromove.com/route/v1/driving";
|
||||
default: return "https://routes.siromove.com/route/v1/driving";
|
||||
case 'Syria':
|
||||
return "https://routes-syria.siromove.com/route/v1/driving";
|
||||
case 'Egypt':
|
||||
return "https://routes-egypt.siromove.com/route/v1/driving";
|
||||
case 'Jordan':
|
||||
return "https://routesjo.intaleq.xyz/route/v1/driving";
|
||||
default:
|
||||
return "https://routes.siromove.com/route/v1/driving";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -89,7 +117,7 @@ class AppLink {
|
||||
case 'Egypt':
|
||||
return 'https://api-egypt.siromove.com/siro';
|
||||
case 'Jordan':
|
||||
return 'https://api-jordan.siromove.com/siro';
|
||||
return 'https://jordan-siro.intaleqapp.com/backend';
|
||||
default:
|
||||
return 'https://api.siromove.com/siro';
|
||||
}
|
||||
@@ -103,21 +131,31 @@ class AppLink {
|
||||
static String get ride => '$server/ride';
|
||||
static String get rideServer {
|
||||
switch (currentCountry) {
|
||||
case 'Syria': return 'https://ride-syria.siromove.com/siro/ride';
|
||||
case 'Egypt': return 'https://ride-egypt.siromove.com/siro/ride';
|
||||
case 'Syria':
|
||||
return 'https://ride-syria.siromove.com/siro/ride';
|
||||
case 'Egypt':
|
||||
return 'https://ride-egypt.siromove.com/siro/ride';
|
||||
case 'Jordan':
|
||||
default: return 'https://ride-jordan.siromove.com/siro/ride';
|
||||
return 'https://rides.intaleq.xyz/intaleq';
|
||||
default:
|
||||
return 'https://ride-jordan.siromove.com/siro/ride';
|
||||
}
|
||||
}
|
||||
static String get getSurgeHeatmap => "$server/ride/heatmap/get_surge_heatmap.php";
|
||||
|
||||
static String get getSurgeHeatmap =>
|
||||
"$server/ride/heatmap/get_surge_heatmap.php";
|
||||
|
||||
///mapOSM = 'https://routesy.intaleq.xyz'
|
||||
static String get mapOSM {
|
||||
switch (currentCountry) {
|
||||
case 'Syria': return 'https://routes-syria.siromove.com';
|
||||
case 'Egypt': return 'https://routes-egypt.siromove.com';
|
||||
case 'Jordan': return 'https://routes-jordan.siromove.com';
|
||||
default: return 'https://routes.siromove.com';
|
||||
case 'Syria':
|
||||
return 'https://routes-syria.siromove.com';
|
||||
case 'Egypt':
|
||||
return 'https://routes-egypt.siromove.com';
|
||||
case 'Jordan':
|
||||
return 'https://routesjo.intaleq.xyz';
|
||||
default:
|
||||
return 'https://routes.siromove.com';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -339,14 +377,19 @@ class AppLink {
|
||||
static String get getPromptDriverDocumentsEgypt =>
|
||||
"$server/auth/captin/getPromptDriverDocumentsEgypt.php";
|
||||
|
||||
static String get saveDriverDestination => "$ride/location/save_driver_destination.php";
|
||||
static String get saveDriverDestination =>
|
||||
"$ride/location/save_driver_destination.php";
|
||||
|
||||
static String get reverseGeocoding {
|
||||
switch (currentCountry) {
|
||||
case 'Syria': return 'https://map-syria.siromove.com/api/geocoding/reverse';
|
||||
case 'Egypt': return 'https://map-egypt.siromove.com/api/geocoding/reverse';
|
||||
case 'Jordan': return 'https://map-jordan.siromove.com/api/geocoding/reverse';
|
||||
default: return 'https://map-saas.intaleqapp.com/api/geocoding/reverse';
|
||||
case 'Syria':
|
||||
return 'https://map-syria.siromove.com/api/geocoding/reverse';
|
||||
case 'Egypt':
|
||||
return 'https://map-egypt.siromove.com/api/geocoding/reverse';
|
||||
case 'Jordan':
|
||||
return 'https://map-saas.intaleqapp.com/api/geocoding/reverse';
|
||||
default:
|
||||
return 'https://map-saas.intaleqapp.com/api/geocoding/reverse';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -445,18 +488,19 @@ class AppLink {
|
||||
"$location/getDriverCarsLocationToPassengerAfterApplied.php";
|
||||
static String get addCarsLocationByPassenger => "$locationServerSide/add.php";
|
||||
static String get saveBehavior => "$locationServerSide/save_behavior.php";
|
||||
static String get addCarsLocationGizaEndpoint => "$locationServerSide/add.php";
|
||||
static String get addCarsLocationGizaEndpoint =>
|
||||
"$locationServerSide/add.php";
|
||||
static String get addCarsLocationAlexandriaEndpoint =>
|
||||
"$locationServerSide/add.php";
|
||||
static String get addCarsLocationCairoEndpoint => "$locationServerSide/add.php";
|
||||
static String get addCarsLocationCairoEndpoint =>
|
||||
"$locationServerSide/add.php";
|
||||
static String get deleteCarsLocationByPassenger =>
|
||||
"$locationServerSide/delete.php";
|
||||
static String get updateCarsLocationByPassenger =>
|
||||
"$locationServerSide/update.php";
|
||||
static String get getTotalDriverDuration =>
|
||||
"$location/getTotalDriverDuration.php";
|
||||
static String get getRidesDriverByDay =>
|
||||
"$location/getRidesDriverByDay.php";
|
||||
static String get getRidesDriverByDay => "$location/getRidesDriverByDay.php";
|
||||
static String get getTotalDriverDurationToday =>
|
||||
"$location/getTotalDriverDurationToday.php";
|
||||
|
||||
@@ -529,11 +573,9 @@ class AppLink {
|
||||
static String get addCriminalDocuments =>
|
||||
"$authCaptin/addCriminalDocuments.php";
|
||||
static String get sendVerifyEmailCaptin => "$authCaptin/sendVerifyEmail.php";
|
||||
static String get sendVerifyOtpMessage =>
|
||||
"$server/auth/otp/request.php";
|
||||
static String get sendVerifyOtpMessage => "$server/auth/otp/request.php";
|
||||
static String get verifyOtpMessage => "$server/auth/otp/verify.php";
|
||||
static String get verifyOtpDriver =>
|
||||
"$server/auth/otp/verify.php";
|
||||
static String get verifyOtpDriver => "$server/auth/otp/verify.php";
|
||||
static String get verifyEmailCaptin => "$authCaptin/verifyEmail.php";
|
||||
static String get removeUser => "$authCaptin/removeAccount.php";
|
||||
static String get deletecaptainAccounr =>
|
||||
|
||||
Reference in New Issue
Block a user