From bf85ad80d6fc0fe19fb1b1801ce33782d0ef6aaa Mon Sep 17 00:00:00 2001 From: Stefano Troia Date: Wed, 16 Jul 2025 12:30:10 +0200 Subject: [PATCH 1/3] ECWID-166984 added missing design properties --- .../v3/dto/profile/result/FetchedStoreProfile.kt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/main/kotlin/com/ecwid/apiclient/v3/dto/profile/result/FetchedStoreProfile.kt b/src/main/kotlin/com/ecwid/apiclient/v3/dto/profile/result/FetchedStoreProfile.kt index d2251d1a..9ab237e4 100644 --- a/src/main/kotlin/com/ecwid/apiclient/v3/dto/profile/result/FetchedStoreProfile.kt +++ b/src/main/kotlin/com/ecwid/apiclient/v3/dto/profile/result/FetchedStoreProfile.kt @@ -751,6 +751,15 @@ data class FetchedStoreProfile( @JsonFieldName("show_signin_link_with_unified_account_page") val showSigninLinkWithUnifiedAccountPage: Boolean? = null, + + @JsonFieldName("swatches_product_option_shape") + val swatchesProductOptionShape: String? = null, + + @JsonFieldName("swatches_product_option_size") + val swatchesProductOptionSize: String? = null, + + @JsonFieldName("product_details_show_image_alt_text_as_visible_description") + val productDetailsShowAltTextAsDescription: Boolean? = null, ) data class ProductFilterItem( From f9ce1b4ffce206a4e539b894b3ef026bef674e7a Mon Sep 17 00:00:00 2001 From: Stefano Troia Date: Wed, 16 Jul 2025 12:41:59 +0200 Subject: [PATCH 2/3] ECWID-166984 added missing design properties --- .../v3/rule/nullablepropertyrules/FetchedStoreProfileRules.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/test/kotlin/com/ecwid/apiclient/v3/rule/nullablepropertyrules/FetchedStoreProfileRules.kt b/src/test/kotlin/com/ecwid/apiclient/v3/rule/nullablepropertyrules/FetchedStoreProfileRules.kt index b7b5987e..bba3dce4 100644 --- a/src/test/kotlin/com/ecwid/apiclient/v3/rule/nullablepropertyrules/FetchedStoreProfileRules.kt +++ b/src/test/kotlin/com/ecwid/apiclient/v3/rule/nullablepropertyrules/FetchedStoreProfileRules.kt @@ -170,6 +170,9 @@ val fetchedStoreProfileNullablePropertyRules: List> = AllowNullable(FetchedStoreProfile.DesignSettings::showCartWidget), AllowNullable(FetchedStoreProfile.DesignSettings::showRootCategories), AllowNullable(FetchedStoreProfile.DesignSettings::showSigninLinkWithUnifiedAccountPage), + AllowNullable(FetchedStoreProfile.DesignSettings::swatchesProductOptionShape), + AllowNullable(FetchedStoreProfile.DesignSettings::swatchesProductOptionSize), + AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowAltTextAsDescription), IgnoreNullable(FetchedStoreProfile.FBMessengerSettings::enabled), IgnoreNullable(FetchedStoreProfile.FBMessengerSettings::fbMessengerMessageUsButtonColor), IgnoreNullable(FetchedStoreProfile.FBMessengerSettings::fbMessengerPageId), From 282593fed5557ee2a4c2719afbfa9a56008ff641 Mon Sep 17 00:00:00 2001 From: Stefano Troia Date: Thu, 17 Jul 2025 15:17:04 +0200 Subject: [PATCH 3/3] ECWID-166984 renamed productDetailsShowAltTextAsVisibleAsDescription --- .../apiclient/v3/dto/profile/result/FetchedStoreProfile.kt | 2 +- .../v3/rule/nullablepropertyrules/FetchedStoreProfileRules.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/com/ecwid/apiclient/v3/dto/profile/result/FetchedStoreProfile.kt b/src/main/kotlin/com/ecwid/apiclient/v3/dto/profile/result/FetchedStoreProfile.kt index 9ab237e4..3afaa046 100644 --- a/src/main/kotlin/com/ecwid/apiclient/v3/dto/profile/result/FetchedStoreProfile.kt +++ b/src/main/kotlin/com/ecwid/apiclient/v3/dto/profile/result/FetchedStoreProfile.kt @@ -759,7 +759,7 @@ data class FetchedStoreProfile( val swatchesProductOptionSize: String? = null, @JsonFieldName("product_details_show_image_alt_text_as_visible_description") - val productDetailsShowAltTextAsDescription: Boolean? = null, + val productDetailsShowAltTextAsVisibleAsDescription: Boolean? = null, ) data class ProductFilterItem( diff --git a/src/test/kotlin/com/ecwid/apiclient/v3/rule/nullablepropertyrules/FetchedStoreProfileRules.kt b/src/test/kotlin/com/ecwid/apiclient/v3/rule/nullablepropertyrules/FetchedStoreProfileRules.kt index bba3dce4..c40c8b7f 100644 --- a/src/test/kotlin/com/ecwid/apiclient/v3/rule/nullablepropertyrules/FetchedStoreProfileRules.kt +++ b/src/test/kotlin/com/ecwid/apiclient/v3/rule/nullablepropertyrules/FetchedStoreProfileRules.kt @@ -172,7 +172,7 @@ val fetchedStoreProfileNullablePropertyRules: List> = AllowNullable(FetchedStoreProfile.DesignSettings::showSigninLinkWithUnifiedAccountPage), AllowNullable(FetchedStoreProfile.DesignSettings::swatchesProductOptionShape), AllowNullable(FetchedStoreProfile.DesignSettings::swatchesProductOptionSize), - AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowAltTextAsDescription), + AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowAltTextAsVisibleAsDescription), IgnoreNullable(FetchedStoreProfile.FBMessengerSettings::enabled), IgnoreNullable(FetchedStoreProfile.FBMessengerSettings::fbMessengerMessageUsButtonColor), IgnoreNullable(FetchedStoreProfile.FBMessengerSettings::fbMessengerPageId),