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 c77d2f351..9d6e5c3e2 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 @@ -449,6 +449,9 @@ data class FetchedStoreProfile( @JsonFieldName("cart_widget_icon") val cartWidgetIcon: String? = null, + @JsonFieldName("cart_widget_is_responsive") + val cartWidgetIsResponsive: Boolean? = null, + @JsonFieldName("cart_widget_layout") val cartWidgetLayout: String? = null, @@ -470,6 +473,12 @@ data class FetchedStoreProfile( @JsonFieldName("checkout_products_collapsed_on_mobile") val checkoutProductsCollapsedOnMobile: Boolean? = null, + @JsonFieldName("checkout_show_address_line_2") + val checkoutShowAddressLine2: Boolean? = null, + + @JsonFieldName("checkout_show_state_input") + val checkoutShowStateInput: Boolean? = null, + @JsonFieldName("enable_catalog_on_one_page") val enableCatalogOnOnePage: Boolean? = null, @@ -515,9 +524,6 @@ data class FetchedStoreProfile( @JsonFieldName("product_details_position_delivery_time") val productDetailsPositionDeliveryTime: Int? = null, - @JsonFieldName("product_details_show_delivery_time") - val productDetailsShowDeliveryTime: Boolean? = null, - @JsonFieldName("product_details_position_product_description") val productDetailsPositionProductDescription: Int? = null, @@ -557,6 +563,9 @@ data class FetchedStoreProfile( @JsonFieldName("product_details_show_buy_button") val productDetailsShowBuyButton: Boolean? = null, + @JsonFieldName("product_details_show_delivery_time") + val productDetailsShowDeliveryTime: Boolean? = null, + @JsonFieldName("product_details_show_facebook_share_button") val productDetailsShowFacebookShareButton: Boolean? = null, @@ -626,6 +635,9 @@ data class FetchedStoreProfile( @JsonFieldName("product_details_show_wholesale_prices") val productDetailsShowWholesalePrices: Boolean? = null, + @JsonFieldName("product_details_show_zoomed_image_in_gallery") + val productDetailsShowZoomedImageInGallery: Boolean? = null, + @JsonFieldName("product_details_thumbnails_aspect_ratio") val productDetailsThumbnailsAspectRatio: String? = null, @@ -647,6 +659,12 @@ data class FetchedStoreProfile( @JsonFieldName("product_list_buybutton_behavior") val productListBuyNowBehaviour: String? = null, + @JsonFieldName("product_list_product_info_layout") + val productListCardLayout: String? = null, + + @JsonFieldName("product_list_category_cell_spacing") + val productListCategoryCellSpacing: Int? = null, + @JsonFieldName("product_list_category_image_aspect_ratio") val productListCategoryImageLayout: String? = null, @@ -659,23 +677,29 @@ data class FetchedStoreProfile( @JsonFieldName("product_list_category_title_behavior") val productListCategoryNameBehaviour: String? = null, - @JsonFieldName("product_list_image_aspect_ratio") - val productListImageLayout: String? = null, + @JsonFieldName("product_list_cell_spacing") + val productListCellSpacing: Int? = null, @JsonFieldName("product_list_image_has_shadow") val productListImageHasShadow: Boolean? = null, + @JsonFieldName("product_list_image_aspect_ratio") + val productListImageLayout: String? = null, + @JsonFieldName("product_list_image_position") val productListImagePosition: String? = null, @JsonFieldName("product_list_image_size") val productListImageSize: String? = null, + @JsonFieldName("product_list_title_behavior") + val productListNameBehaviour: String? = null, + @JsonFieldName("product_list_price_behavior") val productListPriceBehaviour: String? = null, - @JsonFieldName("product_list_product_info_layout") - val productListCardLayout: String? = null, + @JsonFieldName("product_list_sku_behavior") + val productListSKUBehaviour: String? = null, @JsonFieldName("product_list_show_additional_image_on_hover") val productListShowAdditionalImage: Boolean? = null, @@ -707,22 +731,19 @@ data class FetchedStoreProfile( @JsonFieldName("product_list_show_sort_viewas_options") val productListShowSortViewAsOptions: Boolean? = null, - @JsonFieldName("product_list_sku_behavior") - val productListSKUBehaviour: String? = null, - @JsonFieldName("product_list_subtitles_behavior") val productListSubtitlesBehavior: String? = null, - @JsonFieldName("product_list_title_behavior") - val productListNameBehaviour: String? = null, - @JsonFieldName("shopping_cart_products_collapsed_on_desktop") val shoppingCartProductsCollapsedOnDesktop: Boolean? = null, @JsonFieldName("shopping_cart_products_collapsed_on_mobile") val shoppingCartProductsCollapsedOnMobile: Boolean? = null, - @JsonFieldName("shopping_cart_show_qty_inputs_on_mobile") + @JsonFieldName("shopping_cart_show_sku") + val shoppingCartShowSku: Boolean? = null, + + @JsonFieldName("shopping_cart_show_qty_inputs") val shoppingCartShowQtyInputs: Boolean? = null, @JsonFieldName("shopping_cart_show_weight") 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 50ad7150d..eab1d5208 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 @@ -83,8 +83,8 @@ val fetchedStoreProfileNullablePropertyRules: List> = AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsLayout), AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsPositionBreadcrumbs), AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsPositionBuyButton), - AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsPositionProductDescription), AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsPositionDeliveryTime), + AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsPositionProductDescription), AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsPositionProductName), AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsPositionProductOptions), AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsPositionProductPrice), @@ -97,6 +97,7 @@ val fetchedStoreProfileNullablePropertyRules: List> = AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowBreadcrumbs), AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowBreadcrumbsPosition), AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowBuyButton), + AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowDeliveryTime), AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowFacebookShareButton), AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowInStockLabel), AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowNavigationArrows), @@ -104,7 +105,6 @@ val fetchedStoreProfileNullablePropertyRules: List> = AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowPinterestShareButton), AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowPricePerUnit), AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowProductDescription), - AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowDeliveryTime), AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowProductName), AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowProductNameAlwaysFirstOnMobile), AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowProductOptions), @@ -157,6 +157,13 @@ val fetchedStoreProfileNullablePropertyRules: List> = AllowNullable(FetchedStoreProfile.DesignSettings::shoppingCartShowWeight), AllowNullable(FetchedStoreProfile.DesignSettings::showCartWidget), AllowNullable(FetchedStoreProfile.DesignSettings::showRootCategories), + AllowNullable(FetchedStoreProfile.DesignSettings::cartWidgetIsResponsive), + AllowNullable(FetchedStoreProfile.DesignSettings::checkoutShowAddressLine2), + AllowNullable(FetchedStoreProfile.DesignSettings::checkoutShowStateInput), + AllowNullable(FetchedStoreProfile.DesignSettings::productDetailsShowZoomedImageInGallery), + AllowNullable(FetchedStoreProfile.DesignSettings::productListCategoryCellSpacing), + AllowNullable(FetchedStoreProfile.DesignSettings::productListCellSpacing), + AllowNullable(FetchedStoreProfile.DesignSettings::shoppingCartShowSku), IgnoreNullable(FetchedStoreProfile.FBMessengerSettings::enabled), IgnoreNullable(FetchedStoreProfile.FBMessengerSettings::fbMessengerMessageUsButtonColor), IgnoreNullable(FetchedStoreProfile.FBMessengerSettings::fbMessengerPageId),