Skip to content

Conversation

@Cisneiros
Copy link
Member

@Cisneiros Cisneiros commented Oct 21, 2025

Fixes the schema of the List Topics endpoint (and updates the method name to match)


Summary by cubic

Return a normal paginated list of contact topics and rename the client method from get to list. This fixes the incorrect nested response shape and aligns the SDK with API conventions.

  • Migration
    • Use contacts.topics.list(options) instead of contacts.topics.get(options).
    • Response is now PaginatedData<ContactTopic[]>; remove references to email and topics fields.
    • Update types/imports: GetContactTopics* -> ListContactTopics*.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Oct 21, 2025

Open in StackBlitz

npm i https://pkg.pr.new/resend/resend-node/resend@704

commit: 2922a55

@Cisneiros Cisneiros marked this pull request as ready for review October 21, 2025 20:23
@Cisneiros Cisneiros requested a review from a team as a code owner October 21, 2025 20:23
@Cisneiros Cisneiros requested a review from bukinoshita October 21, 2025 20:23
@Cisneiros Cisneiros merged commit d28a249 into canary Oct 21, 2025
12 of 13 checks passed
@Cisneiros Cisneiros deleted the fix/contact-topics-list-shape branch October 21, 2025 20:31
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 3 files

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.

3 participants