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 Dec 9, 2024
1 parent 5354193 commit e0f5028
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 586 deletions.
7 changes: 3 additions & 4 deletions changes.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
**Api changes**
**Import changes**

<details>
<summary>Changed Property(s)</summary>
<summary>Removed Type(s)</summary>

- :warning: changed property `totalPrice` of type `StagedOrder` from type `TypedMoney` to `CentPrecisionMoney`
- :warning: changed property `totalPrice` of type `Order` from type `TypedMoney` to `CentPrecisionMoney`
- :warning: removed type `ReferencedResourceNotFound`
</details>

Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
@JsonSubTypes.Type(value = com.commercetools.importapi.models.errors.InvalidStateTransitionErrorImpl.class, name = InvalidStateTransitionError.INVALID_TRANSITION),
@JsonSubTypes.Type(value = com.commercetools.importapi.models.errors.InvalidTokenErrorImpl.class, name = InvalidTokenError.INVALID_TOKEN),
@JsonSubTypes.Type(value = com.commercetools.importapi.models.errors.NewMasterVariantAdditionNotAllowedErrorImpl.class, name = NewMasterVariantAdditionNotAllowedError.NEW_MASTER_VARIANT_ADDITION_NOT_ALLOWED),
@JsonSubTypes.Type(value = com.commercetools.importapi.models.errors.ReferencedResourceNotFoundImpl.class, name = ReferencedResourceNotFound.REFERENCED_RESOURCE_NOT_FOUND),
@JsonSubTypes.Type(value = com.commercetools.importapi.models.errors.RequiredFieldErrorImpl.class, name = RequiredFieldError.REQUIRED_FIELD),
@JsonSubTypes.Type(value = com.commercetools.importapi.models.errors.ResourceCreationErrorImpl.class, name = ResourceCreationError.RESOURCE_CREATION),
@JsonSubTypes.Type(value = com.commercetools.importapi.models.errors.ResourceDeletionErrorImpl.class, name = ResourceDeletionError.RESOURCE_DELETION),
Expand Down Expand Up @@ -168,10 +167,6 @@ public static ErrorObject deepCopy(@Nullable final ErrorObject template) {
return com.commercetools.importapi.models.errors.NewMasterVariantAdditionNotAllowedError.deepCopy(
(com.commercetools.importapi.models.errors.NewMasterVariantAdditionNotAllowedError) template);
}
if (template instanceof com.commercetools.importapi.models.errors.ReferencedResourceNotFound) {
return com.commercetools.importapi.models.errors.ReferencedResourceNotFound
.deepCopy((com.commercetools.importapi.models.errors.ReferencedResourceNotFound) template);
}
if (template instanceof com.commercetools.importapi.models.errors.RequiredFieldError) {
return com.commercetools.importapi.models.errors.RequiredFieldError
.deepCopy((com.commercetools.importapi.models.errors.RequiredFieldError) template);
Expand Down Expand Up @@ -349,14 +344,6 @@ public static com.commercetools.importapi.models.errors.NewMasterVariantAddition
return com.commercetools.importapi.models.errors.NewMasterVariantAdditionNotAllowedErrorBuilder.of();
}

/**
* builder for referencedResourceNotFound subtype
* @return builder
*/
public static com.commercetools.importapi.models.errors.ReferencedResourceNotFoundBuilder referencedResourceNotFoundBuilder() {
return com.commercetools.importapi.models.errors.ReferencedResourceNotFoundBuilder.of();
}

/**
* builder for requiredField subtype
* @return builder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,6 @@ public com.commercetools.importapi.models.errors.NewMasterVariantAdditionNotAllo
return com.commercetools.importapi.models.errors.NewMasterVariantAdditionNotAllowedErrorBuilder.of();
}

public com.commercetools.importapi.models.errors.ReferencedResourceNotFoundBuilder referencedResourceNotFoundBuilder() {
return com.commercetools.importapi.models.errors.ReferencedResourceNotFoundBuilder.of();
}

public com.commercetools.importapi.models.errors.RequiredFieldErrorBuilder requiredFieldBuilder() {
return com.commercetools.importapi.models.errors.RequiredFieldErrorBuilder.of();
}
Expand Down

This file was deleted.

Loading

0 comments on commit e0f5028

Please sign in to comment.