Skip to content

Commit

Permalink
build(codegen): updating SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
ct-sdks[bot] committed Nov 20, 2024
1 parent 96ebbf7 commit adcbf52
Show file tree
Hide file tree
Showing 175 changed files with 394 additions and 182 deletions.
10 changes: 0 additions & 10 deletions changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,7 @@
<details>
<summary>Changed Property(s)</summary>

- :warning: changed property `line` of type `GraphQLErrorLocation` from type `integer` to `number`
- :warning: changed property `column` of type `GraphQLErrorLocation` from type `integer` to `number`
- :warning: changed property `totalPrice` of type `StagedOrder` from type `TypedMoney` to `CentPrecisionMoney`
- :warning: changed property `totalPrice` of type `Order` from type `TypedMoney` to `CentPrecisionMoney`
</details>


<details>
<summary>Added QueryParameter(s)</summary>

- added query parameter `where` to method `get /{projectKey}/product-selections/key={key}/products`
- added query parameter `where` to method `get /{projectKey}/product-selections/{ID}/products`
</details>

Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import java.time.*;
import java.util.*;

import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.*;
Expand Down Expand Up @@ -34,7 +35,7 @@ public class AnonymousIdAlreadyInUseErrorImpl implements AnonymousIdAlreadyInUse
*/
@JsonCreator
AnonymousIdAlreadyInUseErrorImpl(@JsonProperty("message") final String message,
@JsonProperty("values") final Map<String, java.lang.Object> values) {
@JsonAnySetter @JsonProperty("values") final Map<String, java.lang.Object> values) {
this.message = message;
this.values = values;
this.code = ANONYMOUS_ID_ALREADY_IN_USE;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import java.time.*;
import java.util.*;

import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.*;
Expand Down Expand Up @@ -41,7 +42,7 @@ public class AssociateMissingPermissionErrorImpl implements AssociateMissingPerm
*/
@JsonCreator
AssociateMissingPermissionErrorImpl(@JsonProperty("message") final String message,
@JsonProperty("values") final Map<String, java.lang.Object> values,
@JsonAnySetter @JsonProperty("values") final Map<String, java.lang.Object> values,
@JsonProperty("associate") final com.commercetools.api.models.customer.CustomerResourceIdentifier associate,
@JsonProperty("businessUnit") final com.commercetools.api.models.business_unit.BusinessUnitResourceIdentifier businessUnit,
@JsonProperty("associateOnBehalf") final com.commercetools.api.models.customer.CustomerResourceIdentifier associateOnBehalf,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import java.time.*;
import java.util.*;

import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.*;
Expand Down Expand Up @@ -40,7 +41,7 @@ public class AttributeDefinitionAlreadyExistsErrorImpl implements AttributeDefin
*/
@JsonCreator
AttributeDefinitionAlreadyExistsErrorImpl(@JsonProperty("message") final String message,
@JsonProperty("values") final Map<String, java.lang.Object> values,
@JsonAnySetter @JsonProperty("values") final Map<String, java.lang.Object> values,
@JsonProperty("conflictingProductTypeId") final String conflictingProductTypeId,
@JsonProperty("conflictingProductTypeName") final String conflictingProductTypeName,
@JsonProperty("conflictingAttributeName") final String conflictingAttributeName) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import java.time.*;
import java.util.*;

import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.*;
Expand Down Expand Up @@ -40,7 +41,7 @@ public class AttributeDefinitionTypeConflictErrorImpl implements AttributeDefini
*/
@JsonCreator
AttributeDefinitionTypeConflictErrorImpl(@JsonProperty("message") final String message,
@JsonProperty("values") final Map<String, java.lang.Object> values,
@JsonAnySetter @JsonProperty("values") final Map<String, java.lang.Object> values,
@JsonProperty("conflictingProductTypeId") final String conflictingProductTypeId,
@JsonProperty("conflictingProductTypeName") final String conflictingProductTypeName,
@JsonProperty("conflictingAttributeName") final String conflictingAttributeName) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import java.time.*;
import java.util.*;

import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.*;
Expand Down Expand Up @@ -36,7 +37,7 @@ public class AttributeNameDoesNotExistErrorImpl implements AttributeNameDoesNotE
*/
@JsonCreator
AttributeNameDoesNotExistErrorImpl(@JsonProperty("message") final String message,
@JsonProperty("values") final Map<String, java.lang.Object> values,
@JsonAnySetter @JsonProperty("values") final Map<String, java.lang.Object> values,
@JsonProperty("invalidAttributeName") final String invalidAttributeName) {
this.message = message;
this.values = values;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import java.time.*;
import java.util.*;

import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.*;
Expand Down Expand Up @@ -34,7 +35,7 @@ public class BadGatewayErrorImpl implements BadGatewayError, ModelBase {
*/
@JsonCreator
BadGatewayErrorImpl(@JsonProperty("message") final String message,
@JsonProperty("values") final Map<String, java.lang.Object> values) {
@JsonAnySetter @JsonProperty("values") final Map<String, java.lang.Object> values) {
this.message = message;
this.values = values;
this.code = BAD_GATEWAY;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import java.time.*;
import java.util.*;

import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.*;
Expand Down Expand Up @@ -35,7 +36,7 @@ public class ConcurrentModificationErrorImpl implements ConcurrentModificationEr
*/
@JsonCreator
ConcurrentModificationErrorImpl(@JsonProperty("message") final String message,
@JsonProperty("values") final Map<String, java.lang.Object> values,
@JsonAnySetter @JsonProperty("values") final Map<String, java.lang.Object> values,
@JsonProperty("currentVersion") final Long currentVersion) {
this.message = message;
this.values = values;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import java.time.*;
import java.util.*;

import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.*;
Expand Down Expand Up @@ -33,7 +34,7 @@ public class ContentTooLargeErrorImpl implements ContentTooLargeError, ModelBase
*/
@JsonCreator
ContentTooLargeErrorImpl(@JsonProperty("message") final String message,
@JsonProperty("values") final Map<String, java.lang.Object> values) {
@JsonAnySetter @JsonProperty("values") final Map<String, java.lang.Object> values) {
this.message = message;
this.values = values;
this.code = CONTENT_TOO_LARGE;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import java.time.*;
import java.util.*;

import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.*;
Expand Down Expand Up @@ -46,7 +47,7 @@ public class CountryNotConfiguredInStoreErrorImpl implements CountryNotConfigure
*/
@JsonCreator
CountryNotConfiguredInStoreErrorImpl(@JsonProperty("message") final String message,
@JsonProperty("values") final Map<String, java.lang.Object> values,
@JsonAnySetter @JsonProperty("values") final Map<String, java.lang.Object> values,
@JsonProperty("storeCountries") final java.util.List<String> storeCountries,
@JsonProperty("country") final String country) {
this.message = message;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import java.time.*;
import java.util.*;

import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.*;
Expand Down Expand Up @@ -55,7 +56,7 @@ public class DiscountCodeNonApplicableErrorImpl implements DiscountCodeNonApplic
*/
@JsonCreator
DiscountCodeNonApplicableErrorImpl(@JsonProperty("message") final String message,
@JsonProperty("values") final Map<String, java.lang.Object> values,
@JsonAnySetter @JsonProperty("values") final Map<String, java.lang.Object> values,
@JsonProperty("discountCode") final String discountCode, @JsonProperty("reason") final String reason,
@JsonProperty("discountCodeId") final String discountCodeId,
@JsonProperty("validFrom") final java.time.ZonedDateTime validFrom,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import java.time.*;
import java.util.*;

import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.*;
Expand Down Expand Up @@ -35,7 +36,7 @@ public class DuplicateAttributeValueErrorImpl implements DuplicateAttributeValue
*/
@JsonCreator
DuplicateAttributeValueErrorImpl(@JsonProperty("message") final String message,
@JsonProperty("values") final Map<String, java.lang.Object> values,
@JsonAnySetter @JsonProperty("values") final Map<String, java.lang.Object> values,
@JsonProperty("attribute") final com.commercetools.api.models.product.Attribute attribute) {
this.message = message;
this.values = values;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import java.time.*;
import java.util.*;

import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.*;
Expand Down Expand Up @@ -35,7 +36,7 @@ public class DuplicateAttributeValuesErrorImpl implements DuplicateAttributeValu
*/
@JsonCreator
DuplicateAttributeValuesErrorImpl(@JsonProperty("message") final String message,
@JsonProperty("values") final Map<String, java.lang.Object> values,
@JsonAnySetter @JsonProperty("values") final Map<String, java.lang.Object> values,
@JsonProperty("attributes") final java.util.List<com.commercetools.api.models.product.Attribute> attributes) {
this.message = message;
this.values = values;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import java.time.*;
import java.util.*;

import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.*;
Expand Down Expand Up @@ -35,7 +36,7 @@ public class DuplicateEnumValuesErrorImpl implements DuplicateEnumValuesError, M
*/
@JsonCreator
DuplicateEnumValuesErrorImpl(@JsonProperty("message") final String message,
@JsonProperty("values") final Map<String, java.lang.Object> values,
@JsonAnySetter @JsonProperty("values") final Map<String, java.lang.Object> values,
@JsonProperty("duplicates") final java.util.List<String> duplicates) {
this.message = message;
this.values = values;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import java.time.*;
import java.util.*;

import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.*;
Expand Down Expand Up @@ -37,7 +38,7 @@ public class DuplicateFieldErrorImpl implements DuplicateFieldError, ModelBase {
*/
@JsonCreator
DuplicateFieldErrorImpl(@JsonProperty("message") final String message,
@JsonProperty("values") final Map<String, java.lang.Object> values,
@JsonAnySetter @JsonProperty("values") final Map<String, java.lang.Object> values,
@JsonProperty("field") final String field,
@JsonProperty("duplicateValue") final java.lang.Object duplicateValue) {
this.message = message;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import java.time.*;
import java.util.*;

import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.*;
Expand Down Expand Up @@ -40,7 +41,7 @@ public class DuplicateFieldWithConflictingResourceErrorImpl
*/
@JsonCreator
DuplicateFieldWithConflictingResourceErrorImpl(@JsonProperty("message") final String message,
@JsonProperty("values") final Map<String, java.lang.Object> values,
@JsonAnySetter @JsonProperty("values") final Map<String, java.lang.Object> values,
@JsonProperty("field") final String field,
@JsonProperty("duplicateValue") final java.lang.Object duplicateValue,
@JsonProperty("conflictingResource") final com.commercetools.api.models.common.Reference conflictingResource) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import java.time.*;
import java.util.*;

import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.*;
Expand Down Expand Up @@ -36,7 +37,7 @@ public class DuplicatePriceKeyErrorImpl implements DuplicatePriceKeyError, Model
*/
@JsonCreator
DuplicatePriceKeyErrorImpl(@JsonProperty("message") final String message,
@JsonProperty("values") final Map<String, java.lang.Object> values,
@JsonAnySetter @JsonProperty("values") final Map<String, java.lang.Object> values,
@JsonProperty("conflictingPrice") final com.commercetools.api.models.common.Price conflictingPrice) {
this.message = message;
this.values = values;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import java.time.*;
import java.util.*;

import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.*;
Expand Down Expand Up @@ -36,7 +37,7 @@ public class DuplicatePriceScopeErrorImpl implements DuplicatePriceScopeError, M
*/
@JsonCreator
DuplicatePriceScopeErrorImpl(@JsonProperty("message") final String message,
@JsonProperty("values") final Map<String, java.lang.Object> values,
@JsonAnySetter @JsonProperty("values") final Map<String, java.lang.Object> values,
@JsonProperty("conflictingPrice") final com.commercetools.api.models.common.Price conflictingPrice) {
this.message = message;
this.values = values;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import java.time.*;
import java.util.*;

import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.*;
Expand Down Expand Up @@ -50,7 +51,7 @@ public class DuplicateStandalonePriceScopeErrorImpl implements DuplicateStandalo
*/
@JsonCreator
DuplicateStandalonePriceScopeErrorImpl(@JsonProperty("message") final String message,
@JsonProperty("values") final Map<String, java.lang.Object> values,
@JsonAnySetter @JsonProperty("values") final Map<String, java.lang.Object> values,
@JsonProperty("conflictingStandalonePrice") final com.commercetools.api.models.standalone_price.StandalonePriceReference conflictingStandalonePrice,
@JsonProperty("sku") final String sku, @JsonProperty("currency") final String currency,
@JsonProperty("country") final String country,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import java.time.*;
import java.util.*;

import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.*;
Expand Down Expand Up @@ -35,7 +36,7 @@ public class DuplicateVariantValuesErrorImpl implements DuplicateVariantValuesEr
*/
@JsonCreator
DuplicateVariantValuesErrorImpl(@JsonProperty("message") final String message,
@JsonProperty("values") final Map<String, java.lang.Object> values,
@JsonAnySetter @JsonProperty("values") final Map<String, java.lang.Object> values,
@JsonProperty("variantValues") final com.commercetools.api.models.error.VariantValues variantValues) {
this.message = message;
this.values = values;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import java.time.*;
import java.util.*;

import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.*;
Expand Down Expand Up @@ -36,7 +37,7 @@ public class EditPreviewFailedErrorImpl implements EditPreviewFailedError, Model
*/
@JsonCreator
EditPreviewFailedErrorImpl(@JsonProperty("message") final String message,
@JsonProperty("values") final Map<String, java.lang.Object> values,
@JsonAnySetter @JsonProperty("values") final Map<String, java.lang.Object> values,
@JsonProperty("result") final com.commercetools.api.models.order_edit.OrderEditPreviewFailure result) {
this.message = message;
this.values = values;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import java.time.*;
import java.util.*;

import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.*;
Expand Down Expand Up @@ -37,7 +38,7 @@ public class EnumKeyAlreadyExistsErrorImpl implements EnumKeyAlreadyExistsError,
*/
@JsonCreator
EnumKeyAlreadyExistsErrorImpl(@JsonProperty("message") final String message,
@JsonProperty("values") final Map<String, java.lang.Object> values,
@JsonAnySetter @JsonProperty("values") final Map<String, java.lang.Object> values,
@JsonProperty("conflictingEnumKey") final String conflictingEnumKey,
@JsonProperty("conflictingAttributeName") final String conflictingAttributeName) {
this.message = message;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import java.time.*;
import java.util.*;

import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.*;
Expand Down Expand Up @@ -38,7 +39,7 @@ public class EnumKeyDoesNotExistErrorImpl implements EnumKeyDoesNotExistError, M
*/
@JsonCreator
EnumKeyDoesNotExistErrorImpl(@JsonProperty("message") final String message,
@JsonProperty("values") final Map<String, java.lang.Object> values,
@JsonAnySetter @JsonProperty("values") final Map<String, java.lang.Object> values,
@JsonProperty("conflictingEnumKey") final String conflictingEnumKey,
@JsonProperty("conflictingAttributeName") final String conflictingAttributeName) {
this.message = message;
Expand Down
Loading

0 comments on commit adcbf52

Please sign in to comment.