diff --git a/changes.md b/changes.md
index 42244cf42c..c2f8369d30 100644
--- a/changes.md
+++ b/changes.md
@@ -1,74 +1,15 @@
-**Api changes**
-
-Changed Property(s)
-
-- :warning: changed property `exact` of type `SearchExactExpression` from type `SearchAnyValue` to `SearchExactValue`
-Added Property(s)
-
-- added property `businessUnits` to type `SearchIndexingConfiguration`
-Added Resource(s)
-
-- added resource `/{projectKey}/business-units/search`
-- added resource `/{projectKey}/business-units/search/indexing-status`
-Added Method(s)
-
-- added method `apiRoot.withProjectKey().businessUnits().search().post()`
-- added method `apiRoot.withProjectKey().businessUnits().search().head()`
-- added method `apiRoot.withProjectKey().businessUnits().searchIndexingStatus().get()`
-Added Type(s)
-
-- added type `BusinessUnitIndexingProgress`
-- added type `BusinessUnitIndexingStatus`
-- added type `BusinessUnitPagedSearchResponse`
-- added type `BusinessUnitSearchIndexingStatusResponse`
-- added type `BusinessUnitSearchRequest`
-- added type `BusinessUnitSearchResult`
-- added type `BusinessUnitSearchStatus`
-- added type `ProjectChangeBusinessUnitSearchStatusAction`
-- added type `SearchExactValue`
-Added Resource(s)
-
-- added resource `/{projectKey}/graphql`
-Added Method(s)
+Changed Property(s)
-- added method `apiRoot.withProjectKeyValue().graphql().post()`
+- :warning: changed property `extensions` of type `GraphQLError` from type `GraphQLErrorObject` to `object`
Added Type(s)
+Removed Type(s)
-- added type `GraphQLRequest`
-- added type `GraphQLResponse`
-- added type `GraphQLError`
-- added type `GraphQLErrorLocation`
-- added type `GraphQLVariablesMap`
-- added type `GraphQLErrorObject`
+- :warning: removed type `GraphQLErrorObject`
* PatternComponent patternComponent = PatternComponent.builder()
+ * .type("{type}")
* .build()
*
*
+ * PatternComponent patternComponent = PatternComponent.builder()
+ * .type("{type}")
+ * .build()
+ *
+ * Units of a (Custom) Line Item that triggered the discount application.
+ * @param builder function to build the triggerPattern value + * @return Builder + */ + + public ChangeTargetPatternChangeValueBuilder addTriggerPattern( + FunctionUnits of a (Custom) Line Item that triggered the discount application.
+ * @param builder function to build the triggerPattern value + * @return Builder + */ + + public ChangeTargetPatternChangeValueBuilder setTriggerPattern( + FunctionUnits of (Custom) Line Items on which the Discount is applied.
* @param targetPattern value to be set @@ -150,7 +174,7 @@ public ChangeTargetPatternChangeValueBuilder plusTargetPattern( */ public ChangeTargetPatternChangeValueBuilder plusTargetPattern( - FunctionUnits of (Custom) Line Items on which the Discount is applied.
+ * @param builder function to build the targetPattern value + * @return Builder + */ + + public ChangeTargetPatternChangeValueBuilder addTargetPattern( + FunctionUnits of (Custom) Line Items on which the Discount is applied.
+ * @param builder function to build the targetPattern value + * @return Builder + */ + + public ChangeTargetPatternChangeValueBuilder setTargetPattern( + FunctionMaximum number of times the Discount applies on a Cart.
*If empty, the Discount applies indefinitely.
diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/error/GraphQLErrorObject.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/error/GraphQLErrorObject.java deleted file mode 100644 index 0202b59701..0000000000 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/error/GraphQLErrorObject.java +++ /dev/null @@ -1,94 +0,0 @@ - -package com.commercetools.history.models.error; - -import java.time.*; -import java.util.*; -import java.util.function.Function; - -import javax.annotation.Nullable; - -import com.fasterxml.jackson.annotation.*; -import com.fasterxml.jackson.databind.annotation.*; - -import io.vrap.rmf.base.client.utils.Generated; - -import jakarta.validation.constraints.NotNull; - -/** - *Represents a single error.
- * - *
- * GraphQLErrorObject graphQLErrorObject = GraphQLErrorObject.builder()
- * .build()
- *
- * One of the error codes that is listed on the Errors page.
- * @return code - */ - @NotNull - @JsonProperty("code") - public String getCode(); - - /** - *Error-specific additional fields.
- * @return map of the pattern property values - */ - @NotNull - @JsonAnyGetter - public MapError-specific additional fields.
- * @param key property name - * @param value property value - */ - - @JsonAnySetter - public void setValue(String key, Object value); - - /** - * factory method to create a deep copy of GraphQLErrorObject - * @param template instance to be copied - * @return copy instance - */ - @Nullable - public static GraphQLErrorObject deepCopy(@Nullable final GraphQLErrorObject template) { - if (template == null) { - return null; - } - GraphQLErrorObjectImpl instance = new GraphQLErrorObjectImpl(); - Optional.ofNullable(template.values()).ifPresent(t -> t.forEach(instance::setValue)); - return instance; - } - - /** - * accessor map function - * @paramRepresents a single error.
- */ -@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") -public class GraphQLErrorObjectImpl implements GraphQLErrorObject, ModelBase { - - private String code; - - private MapOne of the error codes that is listed on the Errors page.
- */ - - public String getCode() { - return this.code; - } - - /** - *Error-specific additional fields.
- */ - - public MapDetailed description of the error explaining the root cause of the problem and suggesting how to correct the error.
@@ -112,7 +111,7 @@ public interface GraphQLError { * @param extensions value to be set */ - public void setExtensions(final GraphQLErrorObject extensions); + public void setExtensions(final Object extensions); /** * factory method @@ -154,8 +153,7 @@ public static GraphQLError deepCopy(@Nullable final GraphQLError template) { .collect(Collectors.toList())) .orElse(null)); instance.setPath(Optional.ofNullable(template.getPath()).map(ArrayList::new).orElse(null)); - instance.setExtensions( - com.commercetools.history.models.error.GraphQLErrorObject.deepCopy(template.getExtensions())); + instance.setExtensions(template.getExtensions()); return instance; } diff --git a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/graph_ql/GraphQLErrorBuilder.java b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/graph_ql/GraphQLErrorBuilder.java index 4fc9531649..e91e0ffada 100644 --- a/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/graph_ql/GraphQLErrorBuilder.java +++ b/commercetools/commercetools-sdk-java-history/src/main/java-generated/com/commercetools/history/models/graph_ql/GraphQLErrorBuilder.java @@ -33,7 +33,7 @@ public class GraphQLErrorBuilder implements BuilderDetailed description of the error explaining the root cause of the problem and suggesting how to correct the error.
@@ -179,23 +179,11 @@ public GraphQLErrorBuilder plusPath(@Nullable final java.lang.Object... path) { * @return Builder */ - public GraphQLErrorBuilder extensions(final com.commercetools.history.models.error.GraphQLErrorObject extensions) { + public GraphQLErrorBuilder extensions(final java.lang.Object extensions) { this.extensions = extensions; return this; } - /** - *Dictionary with additional information where applicable.
- * @param builder function to build the extensions value - * @return Builder - */ - - public GraphQLErrorBuilder extensions( - FunctionDetailed description of the error explaining the root cause of the problem and suggesting how to correct the error.
* @return message @@ -229,7 +217,7 @@ public java.util.ListDictionary with additional information where applicable.
*/ - public com.commercetools.history.models.error.GraphQLErrorObject getExtensions() { + public java.lang.Object getExtensions() { return this.extensions; } @@ -103,7 +103,7 @@ public void setPath(final java.util.List