Skip to content

feat(inboxes): rename the inbox agent archive and trash actions - #1159

Merged
isabellaaquino merged 2 commits into
inboxes-releasefrom
feature/mes-2761-nodejs-sdk
Oct 16, 2026
Merged

isabellaaquino merged 2 commits into
inboxes-releasefrom
feature/mes-2761-nodejs-sdk

Conversation

@LauraBeatris

@LauraBeatris LauraBeatris commented Oct 15, 2026 •

Copy link
Copy Markdown
Member

Summary

The inbox agent actions archive_thread and delete_thread are now called archive and move_to_trash. This follows the API rename in https://github.com/resend/resend-monorepo/pull/12742, where the dashboard already calls these actions Archive and Move to trash.

In the SDK, INBOX_AGENT_ACTIONS and the InboxAgentAction type carry the new names, so resend.inboxes.agent.update sends them and resend.inboxes.agent.get types them.

This is a breaking change for anyone passing or reading the old names. There is no alias.

This targets main, like #1158, so the rename goes out in the Friday release alongside the API change.

Testing

Ran pnpm typecheck, pnpm lint, and pnpm test. All pass.

Part of MES-2761: https://linear.app/resend/issue/MES-2761/nodejs-sdk


Summary by cubic

Renames the inbox agent archive_thread and delete_thread actions to archive and move_to_trash, and renames the enabled_actions/enabledActions field to actions, to match the API. The SDK now sends and types the new names.

This is a breaking change for anyone passing or reading the old action names or the enabledActions field. No alias is provided. The PR targets main so the change ships in the Friday release alongside the API change. Typecheck, lint, and tests all pass.

Written for commit 66b36da. Summary will update on new commits.

View guided diff

@pkg-pr-new

pkg-pr-new Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/resend@1159

commit: 66b36da

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

cubic analysis

No issues found across 1 file

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Linked issue analysis

Linked issue: MES-2761: Node.js SDK

Status Acceptance criteria Notes
✅ Rename archive_thread to archive INBOX_AGENT_ACTIONS replaces archive_thread with archive, and the action type derives from that list.
✅ Rename delete_thread to move_to_trash without an alias INBOX_AGENT_ACTIONS replaces delete_thread with move_to_trash, leaving the old name out of the action type.

Requires human review: Renames inbox agent actions in the SDK constant and type from archive_thread/delete_thread to archive/move_to_trash to match an API rename. This is a breaking public contract change with no alias, so it needs human sign-off on compatibility and release coordination.

View guided diff | Re-trigger cubic

@LauraBeatris LauraBeatris self-assigned this Oct 15, 2026
@LauraBeatris
LauraBeatris marked this pull request as ready for review October 15, 2026 16:20
@LauraBeatris
LauraBeatris requested a review from a team as a code owner October 15, 2026 16:20
@LauraBeatris
LauraBeatris requested review from cassiozen and removed request for a team October 15, 2026 16:20
@felipefreitag
felipefreitag changed the base branch from main to canary October 16, 2026 12:16
@felipefreitag

Copy link
Copy Markdown
Member

I changed the base do Canary

@isabellaaquino
isabellaaquino changed the base branch from canary to inboxes-release October 16, 2026 14:49
@isabellaaquino
isabellaaquino force-pushed the feature/mes-2761-nodejs-sdk branch from f749b18 to 66b36da Compare October 16, 2026 14:55
@isabellaaquino
isabellaaquino merged commit ebe49be into inboxes-release Oct 16, 2026
10 checks passed
@isabellaaquino
isabellaaquino deleted the feature/mes-2761-nodejs-sdk branch October 16, 2026 14:55
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