class ApiConstants { static String mainDev = "dev"; static String mainRoute = "live"; // ── There is no maps key any more ── // // A `googleMapsApiKey` used to live here, feeding `flutter_polyline_points` // and both native projects. It was revoked, so every tile request and every // Directions call came back `REQUEST_DENIED` and the app looked broken rather // than unconfigured. // // The maps no longer need one: tiles come from OpenStreetMap and routes from // OSRM, both keyless. See `lib/views/helpers/widgets/miler_map.dart` and // `lib/helpers/miler_router.dart` — including the note on what those free // services are and are not suitable for. //Collection Queue - v2 static String pickupQueueDev = "https://jupiter.doormile.app/$mainDev/api/v2/pickups/getpickupqueues"; static String pickupQueueLive = "https://jupiter.doormile.app/$mainRoute/api/v2/pickups/getpickupqueues"; //Current Collection - v1 static String currentPickupDev = "https://jupiter.doormile.app/$mainDev/api/v1/pickups/getpickups"; static String currentPickupLive = "https://jupiter.doormile.app/$mainRoute/api/v1/pickups/getpickups"; //Current Collection V3 - v3 (date-bounded) static String currentPickupV3Dev = "https://jupiter.doormile.app/$mainDev/api/v3/pickups/getpickups"; static String currentPickupV3Live = "https://jupiter.doormile.app/$mainRoute/api/v3/pickups/getpickups"; //Update Collection - v1 static String updatePickupDev = "https://queue.workolik.com/live/api/v1/pickups/updatepickup"; static String updatePickupLive = "https://queue.workolik.com/live/api/v1/pickups/updatepickup"; //Get Rider Log - v1 static String getRiderLogDev = "https://jupiter.doormile.app/$mainDev/api/v1/partners/getriderlog"; static String getRiderLogLive = "https://jupiter.doormile.app/$mainRoute/api/v1/partners/getriderlog"; //Create Rider Log - v2 static String createRiderLogDev = "https://queue.workolik.com/live/api/v2/partners/createriderlog"; static String createRiderLogLive = "https://queue.workolik.com/live/api/v2/partners/createriderlog"; //Update Rider Log - v1 static String updateRiderLogDev = "https://jupiter.doormile.app/$mainDev/api/v1/partners/updateriderlog"; static String updateRiderLogLive = "https://jupiter.doormile.app/$mainRoute/api/v1/partners/updateriderlog"; //Get Rider Count - v1 static String getRiderCountDev = "https://jupiter.doormile.app/$mainDev/api/v1/partners/getridercount"; static String getRiderCountLive = "https://jupiter.doormile.app/$mainRoute/api/v1/partners/getridercount"; //Create Break Rider Log - v2 static String createBreakRiderLogDev = "https://queue.workolik.com/live/api/v2/partners/createbreaklog"; static String createBreakRiderLogLive = "https://queue.workolik.com/live/api/v2/partners/createbreaklog"; //Update Break Rider Log - v2 static String updateBreakRiderLogDev = "https://queue.workolik.com/live/api/v2/partners/updatebreaklog"; static String updateBreakRiderLogLive = "https://queue.workolik.com/live/api/v2/partners/updatebreaklog"; //Create Collection Log - v2 static String createPickupLogDev = "https://queue.workolik.com/live/api/v2/pickups/createpickuplog"; static String createPickupLogLive = "https://queue.workolik.com/live/api/v2/pickups/createpickuplog"; //Summary API - v2 static String summaryApiLive = 'https://jupiter.doormile.app/$mainRoute/api/v2/partners'; //Summary Rider Weekly KMs - v1 static String summaryriderkmLive = 'https://jupiter.doormile.app/$mainRoute/api/v1/partners'; }