feat(borç): borç takibi backend (ölçümler, taksit planları, yol haritası, dönem borcu, içe aktarma)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -448,3 +448,24 @@ Content-Type: application/json
|
||||
|
||||
### Üyeyi çıkar (sahip)
|
||||
DELETE {{baseUrl}}/household/members/{{memberId}}
|
||||
|
||||
# ─────────────────────────── Borç takibi ───────────────────────────
|
||||
|
||||
### Özet (son ölçüm, değişim, ilerleme, taksitler, hedefler, 6 aylık yük)
|
||||
GET {{baseUrl}}/debt
|
||||
|
||||
### Yeni ölçüm (kuruş)
|
||||
POST {{baseUrl}}/debt/snapshots
|
||||
Content-Type: application/json
|
||||
|
||||
{ "date": "2026-11-30", "kmh": 0, "positive_balance": 0, "card_balance": 0, "remaining_installments": 0, "note": "maaş sonrası" }
|
||||
|
||||
### İçe aktarma ön izleme (commit=true → yazar); gövde: docs/BORC_TAKIBI.md biçimi + asOf
|
||||
POST {{baseUrl}}/debt/import?commit=false
|
||||
Content-Type: application/json
|
||||
|
||||
{ "asOf": "2026-11", "debtSnapshots": [], "installmentPlans": [], "roadmap": [] }
|
||||
|
||||
### Dönemin borcu
|
||||
GET {{baseUrl}}/periods/{{periodId}}/debt
|
||||
|
||||
|
||||
Reference in New Issue
Block a user