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:
2026-11-14 04:27:48 +03:00
parent a2eff1a984
commit 11402ba660
28 changed files with 2188 additions and 1 deletions
+21
View File
@@ -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