Skip to content

Implement Insights API support#27

Merged
teesofttech merged 1 commit into
mainfrom
feature/9-insights-api
Jun 13, 2026
Merged

Implement Insights API support#27
teesofttech merged 1 commit into
mainfrom
feature/9-insights-api

Conversation

@teesofttech

Copy link
Copy Markdown
Owner

Summary

  • Add TermiiClient.Insights for balance, DND search, number intelligence/status, and message history endpoints
  • Add strongly named request models and flexible response models with extension data for varying Termii response fields
  • Add unit coverage for query-string auth/filters and integration smoke coverage
  • Update README and API coverage after Token API merge

Docs referenced

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 #9

Copilot AI review requested due to automatic review settings June 13, 2026 21:38
@coderabbitai

coderabbitai Bot commented Jun 13, 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 8 minutes and 25 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: 802f2c99-d0ed-4d90-bd3d-a7424d83dc6d

📥 Commits

Reviewing files that changed from the base of the PR and between ffea699 and 5126ad3.

📒 Files selected for processing (16)
  • README.md
  • docs/API_COVERAGE.md
  • src/Termii/Insights/CheckDndRequest.cs
  • src/Termii/Insights/CheckDndResponse.cs
  • src/Termii/Insights/GetBalanceResponse.cs
  • src/Termii/Insights/GetMessageHistoryRequest.cs
  • src/Termii/Insights/ITermiiInsightsClient.cs
  • src/Termii/Insights/MessageHistoryRecord.cs
  • src/Termii/Insights/MessageHistoryResponse.cs
  • src/Termii/Insights/QueryNumberRequest.cs
  • src/Termii/Insights/QueryNumberResponse.cs
  • src/Termii/Insights/TermiiInsightsClient.cs
  • src/Termii/Insights/TermiiInsightsQueryString.cs
  • src/Termii/TermiiClient.cs
  • tests/Termii.IntegrationTests/TermiiClientIntegrationTests.cs
  • tests/Termii.Tests/TermiiInsightsClientTests.cs
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/9-insights-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 28f4278 into main Jun 13, 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 Insights API: balance, DND, number status, and message history

2 participants