Skip to content

feat: add notification service for sweep and claim events#248

Open
Calebux wants to merge 2 commits intoDevsol-01:mainfrom
Calebux:main
Open

feat: add notification service for sweep and claim events#248
Calebux wants to merge 2 commits intoDevsol-01:mainfrom
Calebux:main

Conversation

@Calebux
Copy link

@Calebux Calebux commented Feb 26, 2026

PR closes #192

  • Install and configure @nestjs/event-emitter
  • Add SweepCompletedEvent and ClaimUpdatedEvent payload classes
  • Add Notification entity for in-app alerts stored in DB
  • Create NotificationService with @onevent listeners for sweep.completed and claim.updated
  • Add sendSweepCompleted() and sendClaimUpdated() to MailService with Handlebars templates
  • Emit sweep.completed from SavingsService.sweepSubscription()
  • Emit claim.updated from ClaimsService.verifyClaimWithHospital() and updateClaimStatus()

  - Install and configure @nestjs/event-emitter
  - Add SweepCompletedEvent and ClaimUpdatedEvent payload classes
  - Add Notification entity for in-app alerts stored in DB
  - Create NotificationService with @onevent listeners for sweep.completed and claim.updated
  - Add sendSweepCompleted() and sendClaimUpdated() to MailService with Handlebars templates
  - Emit sweep.completed from SavingsService.sweepSubscription()
  - Emit claim.updated from ClaimsService.verifyClaimWithHospital() and updateClaimStatus()
@vercel
Copy link

vercel bot commented Feb 26, 2026

Someone is attempting to deploy a commit to the devsol-01's projects Team on Vercel.

A member of the Team first needs to authorize it.

ClaimsService now depends on EventEmitter2 for emitting claim events,
but the test module was missing the mock provider, causing test failures.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Notification Service (Email/In-App for Sweeps & Claims)

1 participant