Proje: Okul Platform · Hub: Okul Platform — Domain
Config Nedir?
Veritabanında tutulan dinamik yapılandırma değerleri. Admin panelinden yönetilir.
Config modeli + ConfigService + GET /api/configs endpoint’i.
Önemli Config Tipleri
Genel (Herkese açık)
offer_approved_types— Teklif onay tipleri
Customer (B2B portal)
offer_approved_typesschool_answered_lead_status
Admin (CRM)
offer_approved_types,school_answered_lead_statusdeal_cause_of_reason— Deal kaybetme nedenleriinteraction_topic/reason/result/type— Etkileşim kategorilerifamily_appointment_result— Aile görüşme sonuçlarıoffer_approved_statuslead_pool_form_statushigh_school_exam_statusschool_call_statususer_notification_typesschool_detail_item_typelead_stages_for_customer— B2B’de gösterilecek lead aşamalarıcustomer_user_title/role— B2B kullanıcı unvanları ve rolleri
Test Verisi Filtreleme
ConfigService — Test müşteri/okul/kampüs/kolej ID’lerini cache’te tutar:
- Cache key:
config_test_customer_ids(24 saatlik) excludeTestData()macro — Admin olmayan kullanıcılardan test okul/müşteri gizlenir
Config Model Özel Sabitler
OFFER_APPROVED_STATUS_LEAD_ID— Lead’lerde varsayılan onay durumu IDSONITEL_CALL_AGENT_INFO_TYPE_KEY— Çağrı merkezinde ajan bilgi tipiPIPEDRIVE_DAILY_REPORT_FILTER_IDS_TYPE_KEY— Pipedrive günlük rapor filter ID’leriPIPELINE_1/2/3_STAGE_KEY— Pipedrive pipeline stage’leri
Related
- api-domain-model — Config modeli
- api-lead-flow — Lead onay durumları