From 9d6dab35b85d2315a833ef63cc58f43b9f7b567e Mon Sep 17 00:00:00 2001 From: "ct-sdks[bot]" <153784748+ct-sdks[bot]@users.noreply.github.com> Date: Thu, 16 Jan 2025 16:31:30 +0000 Subject: [PATCH] build(codegen): updating SDK --- changes.md | 1 + .../ProductTailoringSetExternalImagesAction.php | 4 +++- .../ProductTailoringSetExternalImagesActionBuilder.php | 4 +++- .../ProductTailoringSetExternalImagesActionModel.php | 4 +++- references.txt | 1 + 5 files changed, 11 insertions(+), 3 deletions(-) diff --git a/changes.md b/changes.md index efc454e7076..d1579153a2e 100644 --- a/changes.md +++ b/changes.md @@ -13,6 +13,7 @@ Required Property(s) - :warning: changed property `triggerPattern` of type `CartDiscountPatternTarget` to be required +- changed property `images` of type `ProductTailoringSetExternalImagesAction` to be optional diff --git a/lib/commercetools-api/src/Models/ProductTailoring/ProductTailoringSetExternalImagesAction.php b/lib/commercetools-api/src/Models/ProductTailoring/ProductTailoringSetExternalImagesAction.php index 53bad400bff..0fa4cc1e6c3 100644 --- a/lib/commercetools-api/src/Models/ProductTailoring/ProductTailoringSetExternalImagesAction.php +++ b/lib/commercetools-api/src/Models/ProductTailoring/ProductTailoringSetExternalImagesAction.php @@ -36,7 +36,9 @@ public function getVariantId(); public function getSku(); /** - *

Value to set to images.

+ *

Images of the tailored ProductVariant.

+ *

Don't provide this field if you want to remove all images from the tailored Product Variant. + * Set to [] (empty) if you want to hide all images of the original ProductVariant on the tailored ProductVariant.

* * @return null|ImageCollection diff --git a/lib/commercetools-api/src/Models/ProductTailoring/ProductTailoringSetExternalImagesActionBuilder.php b/lib/commercetools-api/src/Models/ProductTailoring/ProductTailoringSetExternalImagesActionBuilder.php index 16ddf762ac2..7ecad8d56b9 100644 --- a/lib/commercetools-api/src/Models/ProductTailoring/ProductTailoringSetExternalImagesActionBuilder.php +++ b/lib/commercetools-api/src/Models/ProductTailoring/ProductTailoringSetExternalImagesActionBuilder.php @@ -68,7 +68,9 @@ public function getSku() } /** - *

Value to set to images.

+ *

Images of the tailored ProductVariant.

+ *

Don't provide this field if you want to remove all images from the tailored Product Variant. + * Set to [] (empty) if you want to hide all images of the original ProductVariant on the tailored ProductVariant.

* * @return null|ImageCollection diff --git a/lib/commercetools-api/src/Models/ProductTailoring/ProductTailoringSetExternalImagesActionModel.php b/lib/commercetools-api/src/Models/ProductTailoring/ProductTailoringSetExternalImagesActionModel.php index d15046ff690..a8f3202da50 100644 --- a/lib/commercetools-api/src/Models/ProductTailoring/ProductTailoringSetExternalImagesActionModel.php +++ b/lib/commercetools-api/src/Models/ProductTailoring/ProductTailoringSetExternalImagesActionModel.php @@ -128,7 +128,9 @@ public function getSku() } /** - *

Value to set to images.

+ *

Images of the tailored ProductVariant.

+ *

Don't provide this field if you want to remove all images from the tailored Product Variant. + * Set to [] (empty) if you want to hide all images of the original ProductVariant on the tailored ProductVariant.

* * * @return null|ImageCollection diff --git a/references.txt b/references.txt index 2aa05f18c62..d5943574edb 100644 --- a/references.txt +++ b/references.txt @@ -349,3 +349,4 @@ cc1732f88ea3dc336358ff9f39cda9d5271cf7c2 e3d5bc9cb69146c5d1dd755ed5e8cf2f54566b3a 591d5eaefd1d56fd350895ccea401cb42f2f0ee8 e45c96065b0f2d6cbb563b65fbed44785e8a8149 +64c89a7773b97bd6425a82d7d8cee1a9f0f3e6e2