System-wide credit suspend, credit-balance invalidation, paginated history

Featurekamo-shared-library
Shipped
July 2, 2026 at 6:43 PM UTC
Author
Kamo
Commit
bbc1200

- OrgLeadConfig (new ORG_LEAD_CONFIG table): org-wide 'System Wide' switch that suspends CREDIT-BASED lead auto-assignment (FFA unaffected); gated in acceptNextLead (new SYSTEM_SUSPENDED result). - **************** + repo invalidateCreditsByIds: reduce a member's available balance to a target by invalidating the excess oldest-first. - CreditAssignmentHistoryService: server-side pagination (getHistoryPage/PagedHistory) + per-entry lead contactName (batch-resolved for the visible page only).

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing