Skip to content

feat(smtp): add contactPixelTrackingConsent to transactional email recipients - #27

Open
piyush-sib wants to merge 1 commit into
getbrevo:mainfrom
piyush-sib:feat/smtp-email-contact-pixel-tracking-consent
Open

feat(smtp): add contactPixelTrackingConsent to transactional email recipients#27
piyush-sib wants to merge 1 commit into
getbrevo:mainfrom
piyush-sib:feat/smtp-email-contact-pixel-tracking-consent

Conversation

@piyush-sib

Copy link
Copy Markdown

Summary

Adds the per-recipient contactPixelTrackingConsent boolean to the sendTransacEmail recipient models, per the updated swagger_definition_client.yml (DTSL/public-api#5895). This is the SDK counterpart of the per-contact pixel tracking consent feature on POST /v3/smtp/email (backend live since 2026-07-15; documented on developers.brevo.com).

Changes

Added contactPixelTrackingConsent (Boolean, optional — field, fluent builder, isContactPixelTrackingConsent/setter, equals, hashCode, toString) to:

Model Used by
SendSmtpEmailTo sendSmtpEmail.to
SendSmtpEmailTo1 sendSmtpEmail.messageVersions[].to
SendSmtpEmailCc sendSmtpEmail.cc + messageVersions[].cc
SendSmtpEmailBcc sendSmtpEmail.bcc + messageVersions[].bcc

Descriptions copied verbatim from the source swagger. Also updated the matching docs/*.md tables and bumped pom.xml version 1.1.9 → 1.1.10.

Verification

mvn -q compile → success (exit 0).

Same change shape as #26 (utmTerm/utmContent). Sibling PRs: brevo-csharp, brevo-ruby, brevo-go (same field).

🤖 Generated with Claude Code

…cipients

Adds the per-recipient contactPixelTrackingConsent Boolean to
SendSmtpEmailTo, SendSmtpEmailTo1, SendSmtpEmailCc and SendSmtpEmailBcc
(field, fluent builder, getter/setter, equals, hashCode, toString) plus
the matching docs tables, per the updated swagger_definition_client.yml
(DTSL/public-api#5895). Bumps version 1.1.9 -> 1.1.10.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.

1 participant