final class URLAPIService {
  static URLAPIService? _instance;

  static URLAPIService get instance {
    _instance ??= URLAPIService._init();
    return _instance!;
  }

  URLAPIService._init();

  static String baseURL = 'https://hamlemuhendislikmobil.sistemkys.com';

  // LARAVEL SERVER API ////////////////////////////////////////////////////////////////////////////////////

  final String defaultPhotoUrl =
      'https://hamlemuhendislik.sistemkys.com/upload-user/buresimyok.jpg';

  final String fileBaseURL = 'https://hamlemuhendislik.sistemkys.com';

  final String fileUploadURL =
      'https://hamlemuhendislik.sistemkys.com/api/auth/message/addfile';

  final String messageWebViewBaseURL = '$baseURL/webview/';

  final String photoBaseURL =
      'https://hamlemuhendislik.sistemkys.com/upload-user/';

  final String addPhotoURL =
      'https://hamlemuhendislik.sistemkys.com/api/auth/user/addprofilimage';

  //////////////// USER || LOGİN && TOKEN ///////////////////////////////////////////////////////////////////////

  final String girisYapURL =
      'https://hamlemuhendislik.sistemkys.com/api/auth/login';

  final String profilGuncelleURL =
      'https://hamlemuhendislik.sistemkys.com/api/auth/user/updateprofil';

  final String tokenKontrolURL =
      '$baseURL/mobil/api/login/token_controller.php';

  final String profilgetirURL = '$baseURL/mobil/api/login/getProfile_pdo.php';

  ///////////// NOTIFICATION FIREBASE & FCM TOKEN ////////////////////////////////////////////////////////

  final String fcmTokenEkleGuncelleURL =
      '/mobil/api/bildirimler/fcm_token_add_or_update.php';

  final String profilIzinleriListeleURL =
      '/mobil/api/izinler/kisiye_gore_izin_listesi_pdo.php';

  final String profilIzinGoruntulemeURL =
      '/mobil/api/izinler/izin_goruntulenme_pdo.php';

  final String bildirimListeleURL =
      '/mobil/api/bildirimler/notification_list_pdo.php';

  final String bildirimGoruntuleURL =
      '/mobil/api/bildirimler/read_notification_pdo.php';

  //////////////// İSTATİSTİK ///////////////////////////////////////////////////////////////////////////

  final String musteriSayisiURL =
      '/mobil/api/istatistikler/firma_sayisi_pdo.php';

  final String personelSayisiURL =
      '/mobil/api/istatistikler/personel_sayisi_pdo.php';

  final String projeSayilarURL =
      '/mobil/api/istatistikler/proje_istatistikler_pdo.php';

  final String kisiMusteriSayisiURL =
      '/mobil/api/istatistikler/kisi_firmasayisi_pdo.php';

  //////////////// FİRMALAR ///////////////////////////////////////////////////////////////////////

  final String kisiFirmaListeleURL =
      '$baseURL/mobil/api/firmalar/kisi_firmalar_pdo.php';

  final String kisiArsivFirmaListeleURL =
      '$baseURL/mobil/api/firmalar/kisi_firmalar_arsiv_pdo.php';

  final String tumFirmalariListeleURL =
      '$baseURL/mobil/api/firmalar/admin_firmalar_pdo.php';

  final String firmaEkleURL = '$baseURL/mobil/api/firmalar/firma_ekle_pdo.php';

  final String firmaGuncelleURL =
      '$baseURL/mobil/api/firmalar/firma_guncelle_pdo.php';

  final String tumArsivFirmaListeleURL =
      '$baseURL/mobil/api/firmalar/admin_firmalar_arsiv_pdo.php';

  final String firmaArsivleURL =
      '$baseURL/mobil/api/firmalar/firma_arsivle_pdo.php';

  final String firmaArsivdenCikarURL =
      '$baseURL/mobil/api/firmalar/firma_arsivden_cikar_pdo.php';

  final String firmaAraURL = '$baseURL/mobil/api/firmalar/firma_ara_pdo.php';

  //////////////// FİRMA YETKİLİLER ///////////////////////////////////////////////////////////////

  final String yetkiliListeleURL =
      '$baseURL/mobil/api/firmalar/firma_yetkili_listele_pdo.php';

  final String yetkiliEkleURL =
      '$baseURL/mobil/api/firmalar/firma_yetkili_ekle_pdo.php';

  final String yetkiliGuncelleURL =
      '$baseURL/mobil/api/firmalar/firma_yetkili_guncelle_pdo.php';

  final String yetkiliSilURL =
      '$baseURL/mobil/api/firmalar/firma_yetkili_sil_pdo.php';

  //////////////// AKTİVİTELER ///////////////////////////////////////////////////////////////

  final String aktiviteKontrolEt =
      '/mobil/api/dd/calisan_aktivitekontrol_pdo.php';

  final String kisiAktiviteListeleURL =
      '/mobil/api/aktiviteler/kisi_aktiviteler_pdo.php';

  final String kisiArsivAktiviteListeleURL =
      '/mobil/api/aktiviteler/kisi_aktiviteler_arsiv_pdo.php';

  final String firmaAktiviteListeleURL =
      '/mobil/api/aktiviteler/firma_aktiviteler_pdo.php';

  final String firmaArsivAktiviteListeleURL =
      '/mobil/api/aktiviteler/firma_aktiviteler_arsiv_pdo.php';

  final String tarihegoreAktivitelerURL =
      '/mobil/api/aktiviteler/tarihegore_aktivite_listele_pdo.php';

  final String tumAktiviteleriAraURL =
      '/mobil/api/aktiviteler/tum_aktiviteleri_ara_pdo.php';

  final String aktiviteEkleURL = '/mobil/api/aktiviteler/aktivite_ekle_pdo.php';

  final String aktiviteGuncelleURL =
      '/mobil/api/aktiviteler/aktivite_guncelle_pdo.php';

  // AKTİVİTE SİL ŞUAN KULLANILMIYOR .... final String aktiviteSilURL = '$baseURL/hamlekys/aktivitesil.php';

  final String aktiviteArsivleURL =
      '/mobil/api/aktiviteler/aktivite_arsivle_pdo.php';

  final String aktiviteArsivdenCikarURL =
      '/mobil/api/aktiviteler/aktivite_arsivdencikar_pdo.php';

  ////////////// PROJELER //////////////////////////////////////////////////////////////////////////

  final String projeEkleURL = '/mobil/api/projeler/proje_ekle_pdo.php';

  final String projeGuncelleURL = '/mobil/api/projeler/proje_guncelle_pdo.php';

  final String projeListeleURL =
      '/mobil/api/projeler/kisi_proje_listele_pdo.php';

  final String projeArsivListeleURL =
      '/mobil/api/projeler/kisi_arsiv_proje_listele_pdo.php';

  final String projeAsamaListeleURL =
      '/mobil/api/projeler/proje_asamalari_listele_pdo.php';

  final String projeArsivleArsivdenCikarURL =
      '/mobil/api/projeler/proje_arsivle_arsivden_cikar_pdo.php';

  final String projeAsamaEkleURL =
      '/mobil/api/projeler/proje_asama_ekle_pdo.php';

  final String projeAsamaGuncelleURL =
      '/mobil/api/projeler/proje_asama_guncelle_pdo.php';

  final String projeGorevListeleURL =
      '/mobil/api/projeler/proje_gorev_listele_pdo.php';

  final String projeTumGorevleriListeleURL =
      '/mobil/api/projeler/proje_tum_gorev_listele_pdo.php';

  final String projeGorevinEkGorevleriListeleURL =
      '/mobil/api/projeler/proje_gorev_ek_gorev_listele_pdo.php';

  final String projeAnaGorevEkleURL =
      '/mobil/api/projeler/proje_gorev_ekle_pdo.php';

  final String projeAnaGorevGuncelleURL =
      '/mobil/api/projeler/proje_gorev_guncelle_pdo.php';

  final String projeAnaGorevCalisanNotlariListeleURL =
      '/mobil/api/projeler/proje_ana_gorev_calisan_not_listele_pdo.php';

  final String projeAnaGorevCalisanNotEkleURL =
      '/mobil/api/projeler/proje_ana_gorev_calisan_not_ekle_pdo.php';

  final String ekGorevOnaylaURL =
      '/mobil/api/projeler/proje_ek_gorev_onay_pdo.php';

  final String ekGorevEkleURL =
      '/mobil/api/projeler/proje_ek_gorev_ekle_pdo.php';

  final String asamalarDDCekURL = '/mobil/api/dd/proje_asama_dd_pdo.php';

  //////////////// PERSONELLER ///////////////////////////////////////////////////////////////

  final String personellerURL =
      '$baseURL/mobil/api/personel/personel_listele_pdo.php';

  final String personellerArsivURL =
      '$baseURL/mobil/api/personel/personel_listele_arsiv_pdo.php';

  final String personelEkleURL =
      'https://hamlemuhendislik.sistemkys.com/api/auth/user/register';

  final String personelGuncelleURL =
      'https://hamlemuhendislik.sistemkys.com/api/auth/user/update';

  final String personelArsivleURL =
      '$baseURL/mobil/api/personel/personel_arsivle_pdo.php';

  final String personelArsivdenCikarURL =
      '$baseURL/mobil/api/personel/personel_arsivden_cikar_pdo.php';

  //////////////// İZİNLER ///////////////////////////////////////////////////////////////

  final String izinListeleURL =
      '$baseURL/mobil/api/izinler/izin_talepleri_pdo.php';

  final String izinTalepEtURL = '$baseURL/mobil/api/izinler/izin_al_pdo.php';

  final String izinCevaplaURL =
      '$baseURL/mobil/api/izinler/izin_onayla_reddet_pdo.php';

  //////////////// TAKVİM ///////////////////////////////////////////////////////////////

  final String toplantiGoruntulemeURL =
      '/mobil/api/takvim/takvim_goruntulenen_toplanti_pdo.php';

  final String toplantiHaftayaGoreListeleURL =
      '/mobil/api/takvim/takvim_haftaya_gore_listele_pdo.php';

  final String toplantiGuneGoreListeleURL =
      '/mobil/api/takvim/takvim_gune_gore_listele_pdo.php';

  final String toplantiAyaGoreListeleURL =
      '/mobil/api/takvim/takvim_aya_gore_listele_pdo.php';

  final String yeniToplantiEkleURL = '/mobil/api/takvim/toplanti_ekle_pdo.php';

  final String toplantiGuncelleURL =
      '/mobil/api/takvim/toplanti_guncelle_pdo.php';

  final String gundemOnerisiEkleURL =
      '/mobil/api/takvim/toplanti_gundem_ekle_pdo.php';
  final String gundemOnaylaVeyaSilURL =
      '/mobil/api/takvim/toplanti_gundem_onayla_veya_sil_pdo.php';

  final String gundemListeleURL =
      '/mobil/api/takvim/toplanti_optional_gundem_listele_pdo.php';

  //////////////// MESAJLAR ////////////////////////////////////////////////////////////

  final String grupListeleURL =
      "/mobil/api/mesajlar/message_group_list_pdo.php";

  final String mesajListeleURL = "/mobil/api/mesajlar/message_list_pdo.php";

  final String mesajPaginationListelemeURL =
      "/mobil/api/mesajlar/message_pagination_list.pdo.php";

  final String sonMesajlariListelemeURL =
      "/mobil/api/mesajlar/message_fetch_last_message_list_pdo.php";

  final String grupSonGorulmeGuncelleURL =
      "/mobil/api/mesajlar/message_last_seen_update_pdo.php";

  final String birebirGrupOlusturURL =
      "/mobil/api/mesajlar/message_start_private_message_group_pdo.php";

  final String cokluGrupOlusturURL =
      "/mobil/api/mesajlar/message_new_group_pdo.php";

  final String grubaMesajGonderURL =
      "/mobil/api/mesajlar/message_send_to_group_pdo.php";

  final String grupGuncelleURL =
      "/mobil/api/mesajlar/message_group_update.pdo.php";

  //////////////// DROPDOWN ////////////////////////////////////////////////////////////

  final String projeListeleDDURL =
      "$baseURL/mobil/api/dd/userfirma_proje_dd_pdo.php";
  final String yetkiliListeleDDURL = "$baseURL/mobil/api/dd/yetkili_dd_pdo.php";
  final String calisanListeleDDURL =
      "$baseURL/mobil/api/dd/firmaya_gore_personel_dd_pdo.php";

  //////////////// HABERLER ///////////////////////////////////////////////////////////

  final String haberListeleURL = '/mobil/api/haberler/news_pagination_list.php';
}
