Proje: Okul Platform · Hub: Okul Platform — Domain

WebhookKey Enum (Migration webhookları için)

Frontend → API yönlü webhook’ların key’leri:

KeyAçıklama
customer-user-createdB2B kullanıcı oluşturuldu
customer-user-deletedB2B kullanıcı silindi
customer-user-school-deletedB2B kullanıcı-okul bağlantısı silindi
customer-user-updatedB2B kullanıcı güncellendi
lead-answered-status-updatedLead yanıt durumu güncellendi
lead-createdLead oluşturuldu
lead-seenLead görüntülendi
lead-stage-updatedLead aşaması güncellendi
new-lead-notificationYeni lead bildirimi
payment-status-updatedÖdeme durumu güncellendi
school-data-updatedOkul verisi güncellendi
transferred-lead-notificationTransfer lead bildirimi
user-deletedKullanıcı silindi
user-logged-inKullanıcı giriş yaptı

LogType Enum (Aktivite Logları)

Okul sayfasındaki kullanıcı eylemlerini izler:

1 = SCHOOL_VIEW   — Okul sayfası görüntülendi
2 = PHONE_VIEW    — Telefon numarası görüntülendi
3 = PHONE_CALLED  — Telefon numarası tıklandı (arandı)
4 = FEE_VIEWED    — Ücret görüntülendi

Bu eylemler SchoolDailyLog’a yansır: page_view, phone_view, call_phone, fee_view.