From ae2517fa1070831eb549a6114c0a8518d247acf2 Mon Sep 17 00:00:00 2001 From: "ct-sdks[bot]" <153784748+ct-sdks[bot]@users.noreply.github.com> Date: Tue, 26 Mar 2024 14:13:50 +0000 Subject: [PATCH] build(codegen): updating SDK --- changes.md | 1 + .../src/main/resources/graphql/schema.graphqls | 1 + .../subscription/SubscriptionHealthStatus.java | 12 ++++++++++-- references.txt | 1 + 4 files changed, 13 insertions(+), 2 deletions(-) diff --git a/changes.md b/changes.md index 4e071b4c6d4..7653e8e8d9a 100644 --- a/changes.md +++ b/changes.md @@ -4,6 +4,7 @@ Added Enum(s) - added enum `product-tailoring` to type `ReferenceTypeId` +- added enum `ManuallySuspended` to type `SubscriptionHealthStatus` diff --git a/commercetools/commercetools-graphql-api/src/main/resources/graphql/schema.graphqls b/commercetools/commercetools-graphql-api/src/main/resources/graphql/schema.graphqls index 1a67b2b5e3d..bacdc9a8b6d 100644 --- a/commercetools/commercetools-graphql-api/src/main/resources/graphql/schema.graphqls +++ b/commercetools/commercetools-graphql-api/src/main/resources/graphql/schema.graphqls @@ -13685,6 +13685,7 @@ enum SubscriptionHealthStatus { ConfigurationErrorDeliveryStopped Healthy TemporaryError + ManuallySuspended } input SubscriptionUpdateAction { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/SubscriptionHealthStatus.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/SubscriptionHealthStatus.java index 96ec7565ffa..0d10f81486e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/SubscriptionHealthStatus.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/SubscriptionHealthStatus.java @@ -11,7 +11,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - *

The health status of the Subscription that indicates whether messages are being delivered to the Destination.

+ *

The health status of the Subscription that indicates whether messages are being delivered.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public interface SubscriptionHealthStatus extends JsonEnum { @@ -28,6 +28,9 @@ public interface SubscriptionHealthStatus extends JsonEnum { /**

Does not deliver messages temporarily due to reasons other than a configuration error. For example, the Destination has a temporary outage.

*/ SubscriptionHealthStatus TEMPORARY_ERROR = SubscriptionHealthStatusEnum.TEMPORARY_ERROR; + /** +

Does not deliver messages with the current configuration and the delivery of the messages is no longer attempted. Undelivered messages are not retained and will not be delivered. The status will not automatically change to Healthy. To return your subscriptions to a Healthy status, please contact our support team.

*/ + SubscriptionHealthStatus MANUALLY_SUSPENDED = SubscriptionHealthStatusEnum.MANUALLY_SUSPENDED; /** * possible values of SubscriptionHealthStatus @@ -51,7 +54,12 @@ enum SubscriptionHealthStatusEnum implements SubscriptionHealthStatus { /** * TemporaryError */ - TEMPORARY_ERROR("TemporaryError"); + TEMPORARY_ERROR("TemporaryError"), + + /** + * ManuallySuspended + */ + MANUALLY_SUSPENDED("ManuallySuspended"); private final String jsonName; private SubscriptionHealthStatusEnum(final String jsonName) { diff --git a/references.txt b/references.txt index 915a668c5a2..5dac80249e5 100644 --- a/references.txt +++ b/references.txt @@ -211,3 +211,4 @@ aeaa4f5f426544504aa4f04360ef75e79738a01a 774adcfcaf63b6994bc3154966bfaa922e0d2c8a d6c4e8ca039647373df3aeb8369342bd50b02d61 34d7405c2c16d56134d23ecf7219d10caaa3bfa3 +c19a4123795d7a2d583abb9f278ce1264b030a91