diff --git a/client/src/test/java/com/sinch/sdk/e2e/domains/mailgun/v1/EmailsSteps.java b/client/src/test/java/com/sinch/sdk/e2e/domains/mailgun/v1/EmailsSteps.java
index 6159bc26..d3445ba9 100644
--- a/client/src/test/java/com/sinch/sdk/e2e/domains/mailgun/v1/EmailsSteps.java
+++ b/client/src/test/java/com/sinch/sdk/e2e/domains/mailgun/v1/EmailsSteps.java
@@ -4,8 +4,7 @@
import com.sinch.sdk.domains.mailgun.api.v1.EmailsService;
import com.sinch.sdk.domains.mailgun.models.v1.emails.request.SendEmailRequest;
import com.sinch.sdk.domains.mailgun.models.v1.emails.request.SendMimeEmailRequest;
-import com.sinch.sdk.domains.mailgun.models.v1.emails.response.ExceededQueueQuotaRegular;
-import com.sinch.sdk.domains.mailgun.models.v1.emails.response.ExceededQueueQuotaScheduled;
+import com.sinch.sdk.domains.mailgun.models.v1.emails.response.ExceededQueueQuota;
import com.sinch.sdk.domains.mailgun.models.v1.emails.response.GetStoredEmailResponse;
import com.sinch.sdk.domains.mailgun.models.v1.emails.response.QueueStatusDisabledDetails;
import com.sinch.sdk.domains.mailgun.models.v1.emails.response.SendEmailResponse;
@@ -160,15 +159,15 @@ public void getSendingQueuesStatusResult() {
SendingQueuesStatusResponse expected =
SendingQueuesStatusResponse.builder()
.setRegular(
- ExceededQueueQuotaRegular.builder()
+ ExceededQueueQuota.builder()
.setIsDisabled(false)
- .setDisabled(
+ .setDetails(
QueueStatusDisabledDetails.builder().setUntil("").setReason("").build())
.build())
.setScheduled(
- ExceededQueueQuotaScheduled.builder()
+ ExceededQueueQuota.builder()
.setIsDisabled(false)
- .setDisabled(
+ .setDetails(
QueueStatusDisabledDetails.builder().setUntil("").setReason("").build())
.build())
.build();
diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/mailgun/models/v1/emails/request/SendEmailRequest.java b/openapi-contracts/src/main/com/sinch/sdk/domains/mailgun/models/v1/emails/request/SendEmailRequest.java
index 51449e61..2f0d8441 100644
--- a/openapi-contracts/src/main/com/sinch/sdk/domains/mailgun/models/v1/emails/request/SendEmailRequest.java
+++ b/openapi-contracts/src/main/com/sinch/sdk/domains/mailgun/models/v1/emails/request/SendEmailRequest.java
@@ -318,8 +318,8 @@ public static String valueOf(TrackingClicksEnum e) {
Boolean getRequireTls();
/**
- * If skip
activated, the certificate and hostname of the resolved MX Host will not
- * be verified when trying to establish a TLS connection. If not, Mailgun will verify the
+ * If true
, the certificate and hostname of the resolved MX Host will not be verified
+ * when trying to establish a TLS connection. If false
, Mailgun will verify the
* certificate and hostname. If either one can not be verified, a TLS connection will not be
* established. The default is false
*
@@ -341,6 +341,45 @@ public static String valueOf(TrackingClicksEnum e) {
*/
String getSendingIpPool();
+ /**
+ * If you send long emails that experience truncation or other rendering issues at the recipient,
+ * you can ensure opens are being tracked accurately with placement of the tracking pixel at the
+ * top of your emails
+ */
+ public class TrackingPixelLocationTopEnum
+ extends EnumDynamic {
+ public static final TrackingPixelLocationTopEnum YES = new TrackingPixelLocationTopEnum("yes");
+ public static final TrackingPixelLocationTopEnum NO = new TrackingPixelLocationTopEnum("no");
+ public static final TrackingPixelLocationTopEnum TRUE =
+ new TrackingPixelLocationTopEnum("true");
+ public static final TrackingPixelLocationTopEnum FALSE =
+ new TrackingPixelLocationTopEnum("false");
+ public static final TrackingPixelLocationTopEnum HTMLONLY =
+ new TrackingPixelLocationTopEnum("htmlonly");
+
+ private static final EnumSupportDynamic ENUM_SUPPORT =
+ new EnumSupportDynamic<>(
+ TrackingPixelLocationTopEnum.class,
+ TrackingPixelLocationTopEnum::new,
+ Arrays.asList(YES, NO, TRUE, FALSE, HTMLONLY));
+
+ private TrackingPixelLocationTopEnum(String value) {
+ super(value);
+ }
+
+ public static Stream values() {
+ return ENUM_SUPPORT.values();
+ }
+
+ public static TrackingPixelLocationTopEnum from(String value) {
+ return ENUM_SUPPORT.from(value);
+ }
+
+ public static String valueOf(TrackingPixelLocationTopEnum e) {
+ return ENUM_SUPPORT.valueOf(e);
+ }
+ }
+
/**
* If you send long emails that experience truncation or other rendering issues at the recipient,
* you can ensure opens are being tracked accurately with placement of the tracking pixel at the
@@ -348,7 +387,7 @@ public static String valueOf(TrackingClicksEnum e) {
*
* @return trackingPixelLocationTop
*/
- String getTrackingPixelLocationTop();
+ TrackingPixelLocationTopEnum getTrackingPixelLocationTop();
/**
* A valid JSON-encoded dictionary, where key is a plain recipient address and value is a
@@ -639,7 +678,7 @@ interface Builder extends AdditionalProperties.Builder {
* @return Current builder
* @see #getTrackingPixelLocationTop
*/
- Builder setTrackingPixelLocationTop(String trackingPixelLocationTop);
+ Builder setTrackingPixelLocationTop(TrackingPixelLocationTopEnum trackingPixelLocationTop);
/**
* see getter
diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/mailgun/models/v1/emails/request/SendEmailRequestImpl.java b/openapi-contracts/src/main/com/sinch/sdk/domains/mailgun/models/v1/emails/request/SendEmailRequestImpl.java
index 28f9167d..8ccf830d 100644
--- a/openapi-contracts/src/main/com/sinch/sdk/domains/mailgun/models/v1/emails/request/SendEmailRequestImpl.java
+++ b/openapi-contracts/src/main/com/sinch/sdk/domains/mailgun/models/v1/emails/request/SendEmailRequestImpl.java
@@ -133,7 +133,7 @@ public class SendEmailRequestImpl implements SendEmailRequest {
public static final String PROPERTY_O_COLON_TRACKING_PIXEL_LOCATION_TOP =
"o:tracking-pixel-location-top";
- private OptionalValue trackingPixelLocationTop;
+ private OptionalValue trackingPixelLocationTop;
public static final String PROPERTY_RECIPIENT_VARIABLES = "recipient-variables";
@@ -177,7 +177,7 @@ protected SendEmailRequestImpl(
OptionalValue skipVerification,
OptionalValue sendingIp,
OptionalValue sendingIpPool,
- OptionalValue trackingPixelLocationTop,
+ OptionalValue trackingPixelLocationTop,
OptionalValue recipientVariables,
OptionalValue