From 2432ca0ec49685f5e96b8e588aa8337e82b0ffcb Mon Sep 17 00:00:00 2001 From: Tyler Date: Sat, 20 Jun 2026 19:44:45 -0600 Subject: [PATCH] feat(sp7): inbox API types include matched/total line counts --- src/lib/inbox-api.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/lib/inbox-api.ts b/src/lib/inbox-api.ts index dd6bf92..7d0d9f0 100644 --- a/src/lib/inbox-api.ts +++ b/src/lib/inbox-api.ts @@ -29,6 +29,16 @@ export type InboxClaimRow = { score?: number | null; score_tier?: ScoreTier | null; score_breakdown?: ScoreBreakdown | null; + /** + * SP7: populated on `rejected` / `done_today` claim rows when the claim + * has a matched remittance. Carries the line-count badge the + * `MatchedRemitCard` displays (``3/4 matched lines``). + */ + matched_remittance?: { + id: string; + matched_lines: number; + total_lines: number; + } | null; }; export type InboxCandidateRow = {