7222dbeafefb2757b29f58c4e8850a226bceb338
- Create PortalService with getPortalAccount, getPortalInvoices, getPortalPayments - All queries scoped to single subscriberId (no cross-subscriber access) - Create withPortalAuth middleware (validates subscriberId in session) - Add GET /api/portal/account (subscriber profile + plan details) - Add GET /api/portal/invoices (paginated, includes line items) - Add GET /api/portal/payments (paginated payment history) - Add 5 integration tests: account details, pagination, isolation, line items Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Description
No description provided
Languages
TypeScript
96.6%
Shell
3.3%