Subscriptions uç noktaları
| Method | Path (örnek) | Açıklama |
|---|---|---|
| GET | /subscriptions | Plan listesi |
| POST | /subscriptions | Plan oluştur (SUPERADMIN) |
| PATCH/DELETE | /subscriptions/:id | Güncelle / sil |
| POST | /subscriptions/:id/assign | Organizasyona ata |
Plan gövdesi (kavramsal)
json
{
"name": "Pro",
"features": {
"analytics_bots": true,
"data_sources": true,
"workflows": false,
"live_chat": true
},
"limits": {
"projects": 50,
"agents": 200,
"knowledgeBases": 20,
"knowledge_files": 5000,
"storage_mb": 10240,
"integrations": 100
}
}Alan adları backend şeması ile birebir eşleşmelidir.