feat(inboxes): rename the inbox agent enabled_actions field to actions
Summary
The inbox agent's list of allowed actions is now called actions instead of enabled_actions. This follows the API rename in https://github.com/resend/resend-monorepo/pull/12724, where GET /inboxes/:id/agent returns actions and PATCH /inboxes/:id/agent accepts actions.
In the SDK, InboxAgentSettings.enabled_actions is now InboxAgentSettings.actions, and the enabledActions option of resend.inboxes.agent.update is now actions and is sent to the API as actions.
This is a breaking change for anyone passing enabledActions to update or reading enabled_actions from get. There is no alias for the old name.
Testing
Ran pnpm typecheck, pnpm lint, the inbox agent spec, and pnpm test. All pass, with 45 test files and 646 tests passing.
Part of MES-2726: https://linear.app/resend/issue/MES-2726/rename-inbox-agent-enabled-actions-field-to-actions
Summary by cubic
Aligns the inbox agent SDK with the API rename from enabled_actions to actions (MES-2726). InboxAgentSettings.enabled_actions is now InboxAgentSettings.actions, and the enabledActions option of resend.inboxes.agent.update is now actions.
This is a breaking change for callers using the old names; there's no alias for the old name.