feat: add Broadcasts.recipients method - #224
Conversation
There was a problem hiding this comment.
All reported issues were addressed across 3 files
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
There was a problem hiding this comment.
0 issues found across 2 files (changes from recent commits).
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Requires human review: Auto-approval blocked by 2 unresolved issues from previous reviews.
Re-trigger cubic
klotty
left a comment
There was a problem hiding this comment.
0 issues found across 1 file (changes from recent commits).
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Auto-approved: Adds the recipients method to the Broadcasts module, allowing users to fetch recipients for a specific broadcast with support for event type filtering and pagination. The implementation follows standard SDK patterns.
Re-trigger cubic
Adds
Resend::Broadcasts.recipients(id, params)forGET /broadcasts/{id}/recipients.Spec: resend/resend-openapi#97
Node reference: resend/resend-node#1078
Tests: 357 passed. rubocop clean.
Summary by cubic
Adds Resend::Broadcasts.recipients(id, params) to list broadcast recipients via GET /broadcasts/{id}/recipients. Previously the SDK could not fetch recipients; now clients can filter by event type and paginate, and 404s raise Resend::Error::NotFoundError. Removes the recipients example that required an arbitrary sleep.
Written for commit b6c8b67. Summary will update on new commits.