Skip to content

Implement product notification email API#39

Merged
teesofttech merged 1 commit into
mainfrom
feature/31-product-email-api
Jun 14, 2026
Merged

Implement product notification email API#39
teesofttech merged 1 commit into
mainfrom
feature/31-product-email-api

Conversation

@teesofttech

Copy link
Copy Markdown
Owner

Summary

  • Add TermiiClient.Emails for product notification email sends
  • Add SendProductEmailRequest and SendProductEmailResponse models
  • Support template data through flexible JSON values and preserve unknown response fields
  • Add unit tests, integration smoke coverage, README example, and API coverage updates

Verification note

  • The coverage matrix tracks this endpoint as POST /api/templates/send-email.
  • I did not find a current public docs/Postman response example, so response models are intentionally tolerant of unknown fields.
  • Live email sends remain outside normal CI.

Validation

  • dotnet restore Termii.SDK.sln
  • dotnet build Termii.SDK.sln --configuration Release --no-restore
  • dotnet test tests/Termii.Tests/Termii.Tests.csproj --configuration Release --no-build --logger "trx;LogFileName=unit-tests.trx"
  • dotnet test tests/Termii.IntegrationTests/Termii.IntegrationTests.csproj --configuration Release --no-build --logger "trx;LogFileName=integration-tests.trx"
  • dotnet pack src/Termii/Termii.csproj --configuration Release --no-build --output artifacts/packages -p:UseSharedCompilation=false -p:BuildInParallel=false -p:MSBuildNodeReuse=false

Closes #31

Copilot AI review requested due to automatic review settings June 14, 2026 03:16
@coderabbitai

coderabbitai Bot commented Jun 14, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@teesofttech, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 27 minutes and 21 seconds. Learn how PR review limits work.

Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file).

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 30e41a7e-d132-4d6b-8e41-0b425c736906

📥 Commits

Reviewing files that changed from the base of the PR and between af4f8bd and ffa5e57.

📒 Files selected for processing (9)
  • README.md
  • docs/API_COVERAGE.md
  • src/Termii/Emails/ITermiiEmailClient.cs
  • src/Termii/Emails/SendProductEmailRequest.cs
  • src/Termii/Emails/SendProductEmailResponse.cs
  • src/Termii/Emails/TermiiEmailClient.cs
  • src/Termii/TermiiClient.cs
  • tests/Termii.IntegrationTests/TermiiClientIntegrationTests.cs
  • tests/Termii.Tests/TermiiEmailClientTests.cs
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/31-product-email-api

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@teesofttech
teesofttech merged commit 8e9c700 into main Jun 14, 2026
3 of 4 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

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.

Implement product notification email API

2 participants