From ee33e586313469cb1b94130eaa7335f90c383a02 Mon Sep 17 00:00:00 2001 From: Piyush Singh Date: Mon, 27 Jul 2026 14:01:16 +0530 Subject: [PATCH 1/3] feat(smtp): add contactPixelTrackingConsent to transactional email recipients 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) --- docs/SendSmtpEmailBcc.md | 1 + docs/SendSmtpEmailCc.md | 1 + docs/SendSmtpEmailTo.md | 1 + docs/SendSmtpEmailTo1.md | 1 + pom.xml | 2 +- .../java/brevoModel/SendSmtpEmailBcc.java | 28 +++++++++++++++++-- src/main/java/brevoModel/SendSmtpEmailCc.java | 28 +++++++++++++++++-- src/main/java/brevoModel/SendSmtpEmailTo.java | 28 +++++++++++++++++-- .../java/brevoModel/SendSmtpEmailTo1.java | 28 +++++++++++++++++-- 9 files changed, 109 insertions(+), 9 deletions(-) diff --git a/docs/SendSmtpEmailBcc.md b/docs/SendSmtpEmailBcc.md index 2b9bee9..ba4a545 100644 --- a/docs/SendSmtpEmailBcc.md +++ b/docs/SendSmtpEmailBcc.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **email** | **String** | Email address of the recipient in bcc | **name** | **String** | Name of the recipient in bcc. Maximum allowed characters are 70. | [optional] +**contactPixelTrackingConsent** | **Boolean** | Consent of the recipient in bcc for open (pixel) tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open tracking, in which case the open pixel identifies the recipient. Pass `false` to anonymise the open event (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open is anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account. | [optional] diff --git a/docs/SendSmtpEmailCc.md b/docs/SendSmtpEmailCc.md index d6c28ca..9250ac1 100644 --- a/docs/SendSmtpEmailCc.md +++ b/docs/SendSmtpEmailCc.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **email** | **String** | Email address of the recipient in cc | **name** | **String** | Name of the recipient in cc. Maximum allowed characters are 70. | [optional] +**contactPixelTrackingConsent** | **Boolean** | Consent of the recipient in cc for open (pixel) tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open tracking, in which case the open pixel identifies the recipient. Pass `false` to anonymise the open event (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open is anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account. | [optional] diff --git a/docs/SendSmtpEmailTo.md b/docs/SendSmtpEmailTo.md index de114e2..65f6349 100644 --- a/docs/SendSmtpEmailTo.md +++ b/docs/SendSmtpEmailTo.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **email** | **String** | Email address of the recipient | **name** | **String** | Name of the recipient. Maximum allowed characters are 70. | [optional] +**contactPixelTrackingConsent** | **Boolean** | Consent of the recipient for open (pixel) tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open tracking, in which case the open pixel identifies the recipient. Pass `false` to anonymise the open event (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open is anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account. | [optional] diff --git a/docs/SendSmtpEmailTo1.md b/docs/SendSmtpEmailTo1.md index c215440..de31d0d 100644 --- a/docs/SendSmtpEmailTo1.md +++ b/docs/SendSmtpEmailTo1.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **email** | **String** | Email address of the recipient | **name** | **String** | Name of the recipient. **Maximum allowed characters are 70**. | [optional] +**contactPixelTrackingConsent** | **Boolean** | Consent of the recipient for open (pixel) tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open tracking, in which case the open pixel identifies the recipient. Pass `false` to anonymise the open event (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open is anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account. | [optional] diff --git a/pom.xml b/pom.xml index 100a3cf..7ff5d7b 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.brevo brevo - 1.1.9 + 1.1.10 jar brevo diff --git a/src/main/java/brevoModel/SendSmtpEmailBcc.java b/src/main/java/brevoModel/SendSmtpEmailBcc.java index f9aeb6f..0cad62e 100644 --- a/src/main/java/brevoModel/SendSmtpEmailBcc.java +++ b/src/main/java/brevoModel/SendSmtpEmailBcc.java @@ -34,6 +34,9 @@ public class SendSmtpEmailBcc { @SerializedName("name") private String name = null; + @SerializedName("contactPixelTrackingConsent") + private Boolean contactPixelTrackingConsent = null; + public SendSmtpEmailBcc email(String email) { this.email = email; return this; @@ -71,6 +74,25 @@ public void setName(String name) { } + public SendSmtpEmailBcc contactPixelTrackingConsent(Boolean contactPixelTrackingConsent) { + this.contactPixelTrackingConsent = contactPixelTrackingConsent; + return this; + } + + /** + * Consent of the recipient in bcc for open (pixel) tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open tracking, in which case the open pixel identifies the recipient. Pass `false` to anonymise the open event (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open is anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account. + * @return contactPixelTrackingConsent + **/ + @ApiModelProperty(example = "true", value = "Consent of the recipient in bcc for open (pixel) tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open tracking, in which case the open pixel identifies the recipient. Pass `false` to anonymise the open event (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open is anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account.") + public Boolean isContactPixelTrackingConsent() { + return contactPixelTrackingConsent; + } + + public void setContactPixelTrackingConsent(Boolean contactPixelTrackingConsent) { + this.contactPixelTrackingConsent = contactPixelTrackingConsent; + } + + @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -81,12 +103,13 @@ public boolean equals(java.lang.Object o) { } SendSmtpEmailBcc sendSmtpEmailBcc = (SendSmtpEmailBcc) o; return ObjectUtils.equals(this.email, sendSmtpEmailBcc.email) && - ObjectUtils.equals(this.name, sendSmtpEmailBcc.name); + ObjectUtils.equals(this.name, sendSmtpEmailBcc.name) && + ObjectUtils.equals(this.contactPixelTrackingConsent, sendSmtpEmailBcc.contactPixelTrackingConsent); } @Override public int hashCode() { - return ObjectUtils.hashCodeMulti(email, name); + return ObjectUtils.hashCodeMulti(email, name, contactPixelTrackingConsent); } @@ -97,6 +120,7 @@ public String toString() { sb.append(" email: ").append(toIndentedString(email)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" contactPixelTrackingConsent: ").append(toIndentedString(contactPixelTrackingConsent)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/brevoModel/SendSmtpEmailCc.java b/src/main/java/brevoModel/SendSmtpEmailCc.java index ae6dbdc..6b5c455 100644 --- a/src/main/java/brevoModel/SendSmtpEmailCc.java +++ b/src/main/java/brevoModel/SendSmtpEmailCc.java @@ -34,6 +34,9 @@ public class SendSmtpEmailCc { @SerializedName("name") private String name = null; + @SerializedName("contactPixelTrackingConsent") + private Boolean contactPixelTrackingConsent = null; + public SendSmtpEmailCc email(String email) { this.email = email; return this; @@ -71,6 +74,25 @@ public void setName(String name) { } + public SendSmtpEmailCc contactPixelTrackingConsent(Boolean contactPixelTrackingConsent) { + this.contactPixelTrackingConsent = contactPixelTrackingConsent; + return this; + } + + /** + * Consent of the recipient in cc for open (pixel) tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open tracking, in which case the open pixel identifies the recipient. Pass `false` to anonymise the open event (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open is anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account. + * @return contactPixelTrackingConsent + **/ + @ApiModelProperty(example = "true", value = "Consent of the recipient in cc for open (pixel) tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open tracking, in which case the open pixel identifies the recipient. Pass `false` to anonymise the open event (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open is anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account.") + public Boolean isContactPixelTrackingConsent() { + return contactPixelTrackingConsent; + } + + public void setContactPixelTrackingConsent(Boolean contactPixelTrackingConsent) { + this.contactPixelTrackingConsent = contactPixelTrackingConsent; + } + + @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -81,12 +103,13 @@ public boolean equals(java.lang.Object o) { } SendSmtpEmailCc sendSmtpEmailCc = (SendSmtpEmailCc) o; return ObjectUtils.equals(this.email, sendSmtpEmailCc.email) && - ObjectUtils.equals(this.name, sendSmtpEmailCc.name); + ObjectUtils.equals(this.name, sendSmtpEmailCc.name) && + ObjectUtils.equals(this.contactPixelTrackingConsent, sendSmtpEmailCc.contactPixelTrackingConsent); } @Override public int hashCode() { - return ObjectUtils.hashCodeMulti(email, name); + return ObjectUtils.hashCodeMulti(email, name, contactPixelTrackingConsent); } @@ -97,6 +120,7 @@ public String toString() { sb.append(" email: ").append(toIndentedString(email)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" contactPixelTrackingConsent: ").append(toIndentedString(contactPixelTrackingConsent)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/brevoModel/SendSmtpEmailTo.java b/src/main/java/brevoModel/SendSmtpEmailTo.java index b35db18..57c97da 100644 --- a/src/main/java/brevoModel/SendSmtpEmailTo.java +++ b/src/main/java/brevoModel/SendSmtpEmailTo.java @@ -34,6 +34,9 @@ public class SendSmtpEmailTo { @SerializedName("name") private String name = null; + @SerializedName("contactPixelTrackingConsent") + private Boolean contactPixelTrackingConsent = null; + public SendSmtpEmailTo email(String email) { this.email = email; return this; @@ -71,6 +74,25 @@ public void setName(String name) { } + public SendSmtpEmailTo contactPixelTrackingConsent(Boolean contactPixelTrackingConsent) { + this.contactPixelTrackingConsent = contactPixelTrackingConsent; + return this; + } + + /** + * Consent of the recipient for open (pixel) tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open tracking, in which case the open pixel identifies the recipient. Pass `false` to anonymise the open event (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open is anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account. + * @return contactPixelTrackingConsent + **/ + @ApiModelProperty(example = "true", value = "Consent of the recipient for open (pixel) tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open tracking, in which case the open pixel identifies the recipient. Pass `false` to anonymise the open event (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open is anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account.") + public Boolean isContactPixelTrackingConsent() { + return contactPixelTrackingConsent; + } + + public void setContactPixelTrackingConsent(Boolean contactPixelTrackingConsent) { + this.contactPixelTrackingConsent = contactPixelTrackingConsent; + } + + @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -81,12 +103,13 @@ public boolean equals(java.lang.Object o) { } SendSmtpEmailTo sendSmtpEmailTo = (SendSmtpEmailTo) o; return ObjectUtils.equals(this.email, sendSmtpEmailTo.email) && - ObjectUtils.equals(this.name, sendSmtpEmailTo.name); + ObjectUtils.equals(this.name, sendSmtpEmailTo.name) && + ObjectUtils.equals(this.contactPixelTrackingConsent, sendSmtpEmailTo.contactPixelTrackingConsent); } @Override public int hashCode() { - return ObjectUtils.hashCodeMulti(email, name); + return ObjectUtils.hashCodeMulti(email, name, contactPixelTrackingConsent); } @@ -97,6 +120,7 @@ public String toString() { sb.append(" email: ").append(toIndentedString(email)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" contactPixelTrackingConsent: ").append(toIndentedString(contactPixelTrackingConsent)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/brevoModel/SendSmtpEmailTo1.java b/src/main/java/brevoModel/SendSmtpEmailTo1.java index fb933f4..e4f899c 100644 --- a/src/main/java/brevoModel/SendSmtpEmailTo1.java +++ b/src/main/java/brevoModel/SendSmtpEmailTo1.java @@ -34,6 +34,9 @@ public class SendSmtpEmailTo1 { @SerializedName("name") private String name = null; + @SerializedName("contactPixelTrackingConsent") + private Boolean contactPixelTrackingConsent = null; + public SendSmtpEmailTo1 email(String email) { this.email = email; return this; @@ -71,6 +74,25 @@ public void setName(String name) { } + public SendSmtpEmailTo1 contactPixelTrackingConsent(Boolean contactPixelTrackingConsent) { + this.contactPixelTrackingConsent = contactPixelTrackingConsent; + return this; + } + + /** + * Consent of the recipient for open (pixel) tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open tracking, in which case the open pixel identifies the recipient. Pass `false` to anonymise the open event (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open is anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account. + * @return contactPixelTrackingConsent + **/ + @ApiModelProperty(example = "true", value = "Consent of the recipient for open (pixel) tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open tracking, in which case the open pixel identifies the recipient. Pass `false` to anonymise the open event (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open is anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account.") + public Boolean isContactPixelTrackingConsent() { + return contactPixelTrackingConsent; + } + + public void setContactPixelTrackingConsent(Boolean contactPixelTrackingConsent) { + this.contactPixelTrackingConsent = contactPixelTrackingConsent; + } + + @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -81,12 +103,13 @@ public boolean equals(java.lang.Object o) { } SendSmtpEmailTo1 sendSmtpEmailTo1 = (SendSmtpEmailTo1) o; return ObjectUtils.equals(this.email, sendSmtpEmailTo1.email) && - ObjectUtils.equals(this.name, sendSmtpEmailTo1.name); + ObjectUtils.equals(this.name, sendSmtpEmailTo1.name) && + ObjectUtils.equals(this.contactPixelTrackingConsent, sendSmtpEmailTo1.contactPixelTrackingConsent); } @Override public int hashCode() { - return ObjectUtils.hashCodeMulti(email, name); + return ObjectUtils.hashCodeMulti(email, name, contactPixelTrackingConsent); } @@ -97,6 +120,7 @@ public String toString() { sb.append(" email: ").append(toIndentedString(email)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" contactPixelTrackingConsent: ").append(toIndentedString(contactPixelTrackingConsent)).append("\n"); sb.append("}"); return sb.toString(); } From f98dc6009ac3d172deb6fb34b4736161b99073e5 Mon Sep 17 00:00:00 2001 From: Piyush Singh Date: Thu, 30 Jul 2026 12:14:06 +0530 Subject: [PATCH 2/3] docs(readme): update install snippets to 1.1.10 The Maven/Gradle dependency snippets and the manual-install JAR name still pointed at 1.1.0 while the pom is now 1.1.10. Co-Authored-By: Claude Opus 5 (1M context) --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 07d34b4..6cc6d09 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ Add this dependency to your project's POM: com.brevo brevo - 1.1.0 + 1.1.10 compile ``` @@ -32,7 +32,7 @@ Add this dependency to your project's POM: Add this dependency to your project's build file: ```groovy -compile "com.brevo:brevo:1.1.0" +compile "com.brevo:brevo:1.1.10" ``` ### Others @@ -45,7 +45,7 @@ mvn clean package Then manually install the following JARs: -* `target/brevo-1.1.0.jar` +* `target/brevo-1.1.10.jar` * `target/lib/*.jar` ## Getting Started From 6d51a6f5c0d61472665fd109f80f15c051980b41 Mon Sep 17 00:00:00 2001 From: Piyush Singh Date: Wed, 5 Aug 2026 12:32:56 +0530 Subject: [PATCH 3/3] docs(smtp): cover click tracking in contactPixelTrackingConsent description Per-contact consent gates click links as well as the open pixel: an=1 is stamped at send time by DTSL/sendmail-personaliser#1231 and consumed by DTSL/redirection#2384, in production since 2026-08-03. The description added earlier in this PR said "open (pixel) tracking" only, which understated what passing false actually does. Four phrase-level edits, applied to every occurrence (to/to_1/cc/bcc plus the docs/ tables): - "for open (pixel) tracking" -> "for open (pixel) and click tracking" - "consented to open tracking, in which case the open pixel identifies the recipient" -> "consented to open and click tracking, in which case the open pixel and tracked links identify the recipient" - "anonymise the open event" -> "anonymise the open and click events" - "the open is anonymised unless" -> "the open and click are anonymised unless" Comment/doc text only: no type, signature or serialisation change. Matching spec wording update is DTSL/public-api#5900 (bundle) and #5895 (legacy client spec). Co-Authored-By: Claude Opus 5 (1M context) --- docs/SendSmtpEmailBcc.md | 2 +- docs/SendSmtpEmailCc.md | 2 +- docs/SendSmtpEmailTo.md | 2 +- docs/SendSmtpEmailTo1.md | 2 +- src/main/java/brevoModel/SendSmtpEmailBcc.java | 4 ++-- src/main/java/brevoModel/SendSmtpEmailCc.java | 4 ++-- src/main/java/brevoModel/SendSmtpEmailTo.java | 4 ++-- src/main/java/brevoModel/SendSmtpEmailTo1.java | 4 ++-- 8 files changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/SendSmtpEmailBcc.md b/docs/SendSmtpEmailBcc.md index ba4a545..18b6a8c 100644 --- a/docs/SendSmtpEmailBcc.md +++ b/docs/SendSmtpEmailBcc.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **email** | **String** | Email address of the recipient in bcc | **name** | **String** | Name of the recipient in bcc. Maximum allowed characters are 70. | [optional] -**contactPixelTrackingConsent** | **Boolean** | Consent of the recipient in bcc for open (pixel) tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open tracking, in which case the open pixel identifies the recipient. Pass `false` to anonymise the open event (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open is anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account. | [optional] +**contactPixelTrackingConsent** | **Boolean** | Consent of the recipient in bcc for open (pixel) and click tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open and click tracking, in which case the open pixel and tracked links identify the recipient. Pass `false` to anonymise the open and click events (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open and click are anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account. | [optional] diff --git a/docs/SendSmtpEmailCc.md b/docs/SendSmtpEmailCc.md index 9250ac1..7eff4ce 100644 --- a/docs/SendSmtpEmailCc.md +++ b/docs/SendSmtpEmailCc.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **email** | **String** | Email address of the recipient in cc | **name** | **String** | Name of the recipient in cc. Maximum allowed characters are 70. | [optional] -**contactPixelTrackingConsent** | **Boolean** | Consent of the recipient in cc for open (pixel) tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open tracking, in which case the open pixel identifies the recipient. Pass `false` to anonymise the open event (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open is anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account. | [optional] +**contactPixelTrackingConsent** | **Boolean** | Consent of the recipient in cc for open (pixel) and click tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open and click tracking, in which case the open pixel and tracked links identify the recipient. Pass `false` to anonymise the open and click events (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open and click are anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account. | [optional] diff --git a/docs/SendSmtpEmailTo.md b/docs/SendSmtpEmailTo.md index 65f6349..078c45e 100644 --- a/docs/SendSmtpEmailTo.md +++ b/docs/SendSmtpEmailTo.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **email** | **String** | Email address of the recipient | **name** | **String** | Name of the recipient. Maximum allowed characters are 70. | [optional] -**contactPixelTrackingConsent** | **Boolean** | Consent of the recipient for open (pixel) tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open tracking, in which case the open pixel identifies the recipient. Pass `false` to anonymise the open event (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open is anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account. | [optional] +**contactPixelTrackingConsent** | **Boolean** | Consent of the recipient for open (pixel) and click tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open and click tracking, in which case the open pixel and tracked links identify the recipient. Pass `false` to anonymise the open and click events (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open and click are anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account. | [optional] diff --git a/docs/SendSmtpEmailTo1.md b/docs/SendSmtpEmailTo1.md index de31d0d..5f12606 100644 --- a/docs/SendSmtpEmailTo1.md +++ b/docs/SendSmtpEmailTo1.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **email** | **String** | Email address of the recipient | **name** | **String** | Name of the recipient. **Maximum allowed characters are 70**. | [optional] -**contactPixelTrackingConsent** | **Boolean** | Consent of the recipient for open (pixel) tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open tracking, in which case the open pixel identifies the recipient. Pass `false` to anonymise the open event (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open is anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account. | [optional] +**contactPixelTrackingConsent** | **Boolean** | Consent of the recipient for open (pixel) and click tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open and click tracking, in which case the open pixel and tracked links identify the recipient. Pass `false` to anonymise the open and click events (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open and click are anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account. | [optional] diff --git a/src/main/java/brevoModel/SendSmtpEmailBcc.java b/src/main/java/brevoModel/SendSmtpEmailBcc.java index 0cad62e..0f9f087 100644 --- a/src/main/java/brevoModel/SendSmtpEmailBcc.java +++ b/src/main/java/brevoModel/SendSmtpEmailBcc.java @@ -80,10 +80,10 @@ public SendSmtpEmailBcc contactPixelTrackingConsent(Boolean contactPixelTracking } /** - * Consent of the recipient in bcc for open (pixel) tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open tracking, in which case the open pixel identifies the recipient. Pass `false` to anonymise the open event (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open is anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account. + * Consent of the recipient in bcc for open (pixel) and click tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open and click tracking, in which case the open pixel and tracked links identify the recipient. Pass `false` to anonymise the open and click events (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open and click are anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account. * @return contactPixelTrackingConsent **/ - @ApiModelProperty(example = "true", value = "Consent of the recipient in bcc for open (pixel) tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open tracking, in which case the open pixel identifies the recipient. Pass `false` to anonymise the open event (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open is anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account.") + @ApiModelProperty(example = "true", value = "Consent of the recipient in bcc for open (pixel) and click tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open and click tracking, in which case the open pixel and tracked links identify the recipient. Pass `false` to anonymise the open and click events (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open and click are anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account.") public Boolean isContactPixelTrackingConsent() { return contactPixelTrackingConsent; } diff --git a/src/main/java/brevoModel/SendSmtpEmailCc.java b/src/main/java/brevoModel/SendSmtpEmailCc.java index 6b5c455..cd02833 100644 --- a/src/main/java/brevoModel/SendSmtpEmailCc.java +++ b/src/main/java/brevoModel/SendSmtpEmailCc.java @@ -80,10 +80,10 @@ public SendSmtpEmailCc contactPixelTrackingConsent(Boolean contactPixelTrackingC } /** - * Consent of the recipient in cc for open (pixel) tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open tracking, in which case the open pixel identifies the recipient. Pass `false` to anonymise the open event (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open is anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account. + * Consent of the recipient in cc for open (pixel) and click tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open and click tracking, in which case the open pixel and tracked links identify the recipient. Pass `false` to anonymise the open and click events (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open and click are anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account. * @return contactPixelTrackingConsent **/ - @ApiModelProperty(example = "true", value = "Consent of the recipient in cc for open (pixel) tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open tracking, in which case the open pixel identifies the recipient. Pass `false` to anonymise the open event (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open is anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account.") + @ApiModelProperty(example = "true", value = "Consent of the recipient in cc for open (pixel) and click tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open and click tracking, in which case the open pixel and tracked links identify the recipient. Pass `false` to anonymise the open and click events (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open and click are anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account.") public Boolean isContactPixelTrackingConsent() { return contactPixelTrackingConsent; } diff --git a/src/main/java/brevoModel/SendSmtpEmailTo.java b/src/main/java/brevoModel/SendSmtpEmailTo.java index 57c97da..6c9349b 100644 --- a/src/main/java/brevoModel/SendSmtpEmailTo.java +++ b/src/main/java/brevoModel/SendSmtpEmailTo.java @@ -80,10 +80,10 @@ public SendSmtpEmailTo contactPixelTrackingConsent(Boolean contactPixelTrackingC } /** - * Consent of the recipient for open (pixel) tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open tracking, in which case the open pixel identifies the recipient. Pass `false` to anonymise the open event (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open is anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account. + * Consent of the recipient for open (pixel) and click tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open and click tracking, in which case the open pixel and tracked links identify the recipient. Pass `false` to anonymise the open and click events (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open and click are anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account. * @return contactPixelTrackingConsent **/ - @ApiModelProperty(example = "true", value = "Consent of the recipient for open (pixel) tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open tracking, in which case the open pixel identifies the recipient. Pass `false` to anonymise the open event (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open is anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account.") + @ApiModelProperty(example = "true", value = "Consent of the recipient for open (pixel) and click tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open and click tracking, in which case the open pixel and tracked links identify the recipient. Pass `false` to anonymise the open and click events (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open and click are anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account.") public Boolean isContactPixelTrackingConsent() { return contactPixelTrackingConsent; } diff --git a/src/main/java/brevoModel/SendSmtpEmailTo1.java b/src/main/java/brevoModel/SendSmtpEmailTo1.java index e4f899c..37293e4 100644 --- a/src/main/java/brevoModel/SendSmtpEmailTo1.java +++ b/src/main/java/brevoModel/SendSmtpEmailTo1.java @@ -80,10 +80,10 @@ public SendSmtpEmailTo1 contactPixelTrackingConsent(Boolean contactPixelTracking } /** - * Consent of the recipient for open (pixel) tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open tracking, in which case the open pixel identifies the recipient. Pass `false` to anonymise the open event (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open is anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account. + * Consent of the recipient for open (pixel) and click tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open and click tracking, in which case the open pixel and tracked links identify the recipient. Pass `false` to anonymise the open and click events (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open and click are anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account. * @return contactPixelTrackingConsent **/ - @ApiModelProperty(example = "true", value = "Consent of the recipient for open (pixel) tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open tracking, in which case the open pixel identifies the recipient. Pass `false` to anonymise the open event (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open is anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account.") + @ApiModelProperty(example = "true", value = "Consent of the recipient for open (pixel) and click tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open and click tracking, in which case the open pixel and tracked links identify the recipient. Pass `false` to anonymise the open and click events (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open and click are anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account.") public Boolean isContactPixelTrackingConsent() { return contactPixelTrackingConsent; }