feat(smtp): add contactPixelTrackingConsent to transactional email recipients - #19
Open
piyush-sib wants to merge 1 commit into
Open
Conversation
…cipients Adds the per-recipient contactPixelTrackingConsent bool? to SendSmtpEmailTo, SendSmtpEmailTo1, SendSmtpEmailCc and SendSmtpEmailBcc (constructor param, property, ToString, Equals, GetHashCode) plus the matching docs tables, per the updated swagger_definition_client.yml (DTSL/public-api#5895). Bumps version 1.1.2 -> 1.1.3. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the per-recipient
contactPixelTrackingConsentboolean to thesendTransacEmailrecipient models, per the updatedswagger_definition_client.yml(DTSL/public-api#5895). This is the SDK counterpart of the per-contact pixel tracking consent feature onPOST /v3/smtp/email(backend live since 2026-07-15; documented on developers.brevo.com).Changes
Added
ContactPixelTrackingConsent(bool?, optional — trailing constructor param, property with[DataMember(Name="contactPixelTrackingConsent", EmitDefaultValue=false)],ToString,Equals,GetHashCode) to:SendSmtpEmailTosendSmtpEmail.toSendSmtpEmailTo1sendSmtpEmail.messageVersions[].toSendSmtpEmailCcsendSmtpEmail.cc+messageVersions[].ccSendSmtpEmailBccsendSmtpEmail.bcc+messageVersions[].bccThe new constructor parameter is appended last with a default value, so existing positional callers are unaffected. Descriptions copied verbatim from the source swagger. Also updated the matching
docs/*.mdtables and bumpedbrevo_csharp.csprojversion1.1.2 → 1.1.3.Verification
dotnet build src/brevo_csharp/brevo_csharp.csproj→ 0 errors (135 pre-existing warnings, unchanged).Sibling PRs: getbrevo/brevo-java#27, brevo-ruby, brevo-go (same field).
🤖 Generated with Claude Code