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
diff --git a/docs/SendSmtpEmailBcc.md b/docs/SendSmtpEmailBcc.md
index 2b9bee9..18b6a8c 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) 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 d6c28ca..7eff4ce 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) 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 de114e2..078c45e 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) 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 c215440..5f12606 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) 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/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..0f9f087 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) 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) 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;
+ }
+
+ 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..cd02833 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) 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) 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;
+ }
+
+ 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..6c9349b 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) 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) 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;
+ }
+
+ 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..37293e4 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) 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) 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;
+ }
+
+ 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();
}