diff --git a/src/main/kotlin/com/ecwid/apiclient/v3/converter/FetchedStoreProfile.kt b/src/main/kotlin/com/ecwid/apiclient/v3/converter/FetchedStoreProfile.kt index 0c640310..e9449e3a 100644 --- a/src/main/kotlin/com/ecwid/apiclient/v3/converter/FetchedStoreProfile.kt +++ b/src/main/kotlin/com/ecwid/apiclient/v3/converter/FetchedStoreProfile.kt @@ -411,6 +411,7 @@ fun FetchedStoreProfile.DesignSettings.toUpdated(): UpdatedStoreProfile.DesignSe productFiltersVisibleOnCatalogPages = productFiltersVisibleOnCatalogPages, productListBuyNowBehaviour = productListBuyNowBehaviour, productListCardLayout = productListCardLayout, + productListCardSpacingType = productListCardSpacingType, productListCategoryCellSpacing = productListCategoryCellSpacing, productListCategoryImageLayout = productListCategoryImageLayout, productListCategoryImagePosition = productListCategoryImagePosition, diff --git a/src/main/kotlin/com/ecwid/apiclient/v3/dto/profile/request/UpdatedStoreProfile.kt b/src/main/kotlin/com/ecwid/apiclient/v3/dto/profile/request/UpdatedStoreProfile.kt index 24fba898..ddc667f9 100644 --- a/src/main/kotlin/com/ecwid/apiclient/v3/dto/profile/request/UpdatedStoreProfile.kt +++ b/src/main/kotlin/com/ecwid/apiclient/v3/dto/profile/request/UpdatedStoreProfile.kt @@ -551,6 +551,9 @@ data class UpdatedStoreProfile( @JsonFieldName("product_list_product_info_layout") val productListCardLayout: String? = null, + @JsonFieldName("product_list_card_spacing_type") + val productListCardSpacingType: String? = null, + @JsonFieldName("product_list_category_cell_spacing") val productListCategoryCellSpacing: Int? = null, 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 3c2f59f5..8b2542f7 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 @@ -651,6 +651,9 @@ data class FetchedStoreProfile( @JsonFieldName("product_list_product_info_layout") val productListCardLayout: String? = null, + @JsonFieldName("product_list_card_spacing_type") + val productListCardSpacingType: String? = null, + @JsonFieldName("product_list_category_cell_spacing") val productListCategoryCellSpacing: Int? = null, 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 6df09ef2..737f5be2 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 @@ -136,6 +136,7 @@ val fetchedStoreProfileNullablePropertyRules: List> = AllowNullable(FetchedStoreProfile.DesignSettings::productFiltersVisibleOnCatalogPages), AllowNullable(FetchedStoreProfile.DesignSettings::productListBuyNowBehaviour), AllowNullable(FetchedStoreProfile.DesignSettings::productListCardLayout), + AllowNullable(FetchedStoreProfile.DesignSettings::productListCardSpacingType), AllowNullable(FetchedStoreProfile.DesignSettings::productListCategoryCellSpacing), AllowNullable(FetchedStoreProfile.DesignSettings::productListCategoryImageLayout), AllowNullable(FetchedStoreProfile.DesignSettings::productListCategoryImagePosition),