@@ -18,6 +18,7 @@ fun FetchedStoreProfile.toUpdated(): UpdatedStoreProfile {
1818 zones = zones?.map(FetchedStoreProfile .Zone ::toUpdated),
1919 businessRegistrationID = businessRegistrationID?.toUpdated(),
2020 legalPagesSettings = legalPagesSettings?.toUpdated(),
21+ designSettings = designSettings?.toUpdated(),
2122 productFiltersSettings = productFiltersSettings.toUpdated(),
2223 orderInvoiceSettings = orderInvoiceSettings?.toUpdated()
2324 )
@@ -315,6 +316,143 @@ fun FetchedStoreProfile.LegalPagesSettingsDetails.toUpdated(): UpdatedStoreProfi
315316 )
316317}
317318
319+ @Suppress(" LongMethod" )
320+ fun FetchedStoreProfile.DesignSettings.toUpdated (): UpdatedStoreProfile .DesignSettings {
321+ return UpdatedStoreProfile .DesignSettings (
322+ breadcrumbsHaveHomeItem = breadcrumbsHaveHomeItem,
323+ breadcrumbsHomeUrl = breadcrumbsHomeUrl,
324+ breadcrumbsSeparator = breadcrumbsSeparator,
325+ cartWidgetFixed = cartWidgetFixed,
326+ cartWidgetFixedPosition = cartWidgetFixedPosition,
327+ cartWidgetFixedShape = cartWidgetFixedShape,
328+ cartWidgetHorizontalIndent = cartWidgetHorizontalIndent,
329+ cartWidgetIcon = cartWidgetIcon,
330+ cartWidgetIsResponsive = cartWidgetIsResponsive,
331+ cartWidgetLayout = cartWidgetLayout,
332+ cartWidgetShowBuyAnimation = cartWidgetShowBuyAnimation,
333+ cartWidgetShowEmptyCart = cartWidgetShowEmptyCart,
334+ cartWidgetStoreCustomIconUrl = cartWidgetStoreCustomIconUrl,
335+ cartWidgetVerticalIndent = cartWidgetVerticalIndent,
336+ checkoutProductsCollapsedOnDesktop = checkoutProductsCollapsedOnDesktop,
337+ checkoutProductsCollapsedOnMobile = checkoutProductsCollapsedOnMobile,
338+ checkoutShowAddressLine2 = checkoutShowAddressLine2,
339+ checkoutShowStateInput = checkoutShowStateInput,
340+ enableCatalogOnOnePage = enableCatalogOnOnePage,
341+ enableCatalogSeamlessProductListView = enableCatalogSeamlessProductListView,
342+ enablePageTransitions = enablePageTransitions,
343+ enableSimpleCategoryList = enableSimpleCategoryList,
344+ feedbackMessagePosition = feedbackMessagePosition,
345+ hideCategoryBlockShowAllEnabledProducts = hideCategoryBlockShowAllEnabledProducts,
346+ legalPagesShowPageLinks = legalPagesShowPageLinks,
347+ productDetailsAdditionalImagesHasShadow = productDetailsAdditionalImagesHasShadow,
348+ productDetailsAdditionalImagesPreviewOnClick = productDetailsAdditionalImagesPreviewOnClick,
349+ productDetailsCutProductDescriptionInSidebar = productDetailsCutProductDescriptionInSidebar,
350+ productDetailsGalleryLayout = productDetailsGalleryLayout,
351+ productDetailsHidePriceModifiers = productDetailsHidePriceModifiers,
352+ productDetailsImageCarousel = productDetailsImageCarousel,
353+ productDetailsLayout = productDetailsLayout,
354+ productDetailsPositionBreadcrumbs = productDetailsPositionBreadcrumbs,
355+ productDetailsPositionBuyButton = productDetailsPositionBuyButton,
356+ productDetailsPositionDeliveryTime = productDetailsPositionDeliveryTime,
357+ productDetailsPositionProductDescription = productDetailsPositionProductDescription,
358+ productDetailsPositionProductName = productDetailsPositionProductName,
359+ productDetailsPositionProductOptions = productDetailsPositionProductOptions,
360+ productDetailsPositionProductPrice = productDetailsPositionProductPrice,
361+ productDetailsPositionProductLoyalty = productDetailsPositionProductLoyalty,
362+ productDetailsPositionProductSku = productDetailsPositionProductSku,
363+ productDetailsPositionReviewSection = productDetailsPositionReviewSection,
364+ productDetailsPositionSaveForLater = productDetailsPositionSaveForLater,
365+ productDetailsPositionShareButtons = productDetailsPositionShareButtons,
366+ productDetailsPositionSubtitle = productDetailsPositionSubtitle,
367+ productDetailsPositionWholesalePrices = productDetailsPositionWholesalePrices,
368+ productDetailsShowAttributes = productDetailsShowAttributes,
369+ productDetailsShowBreadcrumbs = productDetailsShowBreadcrumbs,
370+ productDetailsShowBreadcrumbsPosition = productDetailsShowBreadcrumbsPosition,
371+ productDetailsShowBuyButton = productDetailsShowBuyButton,
372+ productDetailsShowDeliveryTime = productDetailsShowDeliveryTime,
373+ productDetailsShowFacebookShareButton = productDetailsShowFacebookShareButton,
374+ productDetailsShowInStockLabel = productDetailsShowInStockLabel,
375+ productDetailsShowNavigationArrows = productDetailsShowNavigationArrows,
376+ productDetailsShowNumberOfItemsInStock = productDetailsShowNumberOfItemsInStock,
377+ productDetailsShowPinterestShareButton = productDetailsShowPinterestShareButton,
378+ productDetailsShowPricePerUnit = productDetailsShowPricePerUnit,
379+ productDetailsShowProductDescription = productDetailsShowProductDescription,
380+ productDetailsShowProductName = productDetailsShowProductName,
381+ productDetailsShowProductNameAlwaysFirstOnMobile = productDetailsShowProductNameAlwaysFirstOnMobile,
382+ productDetailsShowProductOptions = productDetailsShowProductOptions,
383+ productDetailsShowProductPhotoZoom = productDetailsShowProductPhotoZoom,
384+ productDetailsShowProductPrice = productDetailsShowProductPrice,
385+ productDetailsShowProductLoyalty = productDetailsShowProductLoyalty,
386+ productDetailsShowProductSku = productDetailsShowProductSku,
387+ productDetailsShowQty = productDetailsShowQty,
388+ productDetailsShowRatingSection = productDetailsShowRatingSection,
389+ productDetailsShowReviewsSection = productDetailsShowReviewsSection,
390+ productDetailsShowReviewsSectionInOneCardView = productDetailsShowReviewsSectionInOneCardView,
391+ productDetailsShowSalePrice = productDetailsShowSalePrice,
392+ productDetailsShowSaveForLater = productDetailsShowSaveForLater,
393+ productDetailsShowShareButtons = productDetailsShowShareButtons,
394+ productDetailsShowSubtitle = productDetailsShowSubtitle,
395+ productDetailsShowTax = productDetailsShowTax,
396+ productDetailsShowTwitterShareButton = productDetailsShowTwitterShareButton,
397+ productDetailsShowVkShareButton = productDetailsShowVkShareButton,
398+ productDetailsShowWeight = productDetailsShowWeight,
399+ productDetailsShowWholesalePrices = productDetailsShowWholesalePrices,
400+ productDetailsShowZoomedImageInGallery = productDetailsShowZoomedImageInGallery,
401+ productDetailsThumbnailsAspectRatio = productDetailsThumbnailsAspectRatio,
402+ productDetailsTwoColumnsWithLeftSidebarShowProductDescriptionOnSidebar = productDetailsTwoColumnsWithLeftSidebarShowProductDescriptionOnSidebar,
403+ productDetailsTwoColumnsWithRightSidebarShowProductDescriptionOnSidebar = productDetailsTwoColumnsWithRightSidebarShowProductDescriptionOnSidebar,
404+ productFiltersOpenedByDefaultOnCatalogPages = productFiltersOpenedByDefaultOnCatalogPages,
405+ productFiltersOpenedByDefaultOnCategoryPage = productFiltersOpenedByDefaultOnCategoryPage,
406+ productFiltersPositionCategoryPage = productFiltersPositionCategoryPage,
407+ productFiltersPositionOnCatalogPages = productFiltersPositionOnCatalogPages,
408+ productFiltersPositionSearchPage = productFiltersPositionSearchPage,
409+ productFiltersVisibleOnCatalogPages = productFiltersVisibleOnCatalogPages,
410+ productListBuyNowBehaviour = productListBuyNowBehaviour,
411+ productListCardLayout = productListCardLayout,
412+ productListCategoryCellSpacing = productListCategoryCellSpacing,
413+ productListCategoryImageLayout = productListCategoryImageLayout,
414+ productListCategoryImagePosition = productListCategoryImagePosition,
415+ productListCategoryImageSize = productListCategoryImageSize,
416+ productListCategoryNameBehaviour = productListCategoryNameBehaviour,
417+ productListCellSpacing = productListCellSpacing,
418+ productListImageHasShadow = productListImageHasShadow,
419+ productListImageLayout = productListImageLayout,
420+ productListImagePosition = productListImagePosition,
421+ productListImageSize = productListImageSize,
422+ productListNameBehaviour = productListNameBehaviour,
423+ productListPriceBehaviour = productListPriceBehaviour,
424+ productListRatingSectionBehavior = productListRatingSectionBehavior,
425+ productListSKUBehaviour = productListSKUBehaviour,
426+ productListShowAdditionalImage = productListShowAdditionalImage,
427+ productListShowBreadcrumbs = productListShowBreadcrumbs,
428+ productListShowCardFrame = productListShowCardFrame,
429+ productListShowFooterMenu = productListShowFooterMenu,
430+ productListShowOnSaleLabel = productListShowOnSaleLabel,
431+ productListShowPayWhatYouWantLabel = productListShowPayWhatYouWantLabel,
432+ productListShowProductImages = productListShowProductImages,
433+ productListShowRatingInOneStar = productListShowRatingInOneStar,
434+ productListShowRatingNumberInFiveStarsView = productListShowRatingNumberInFiveStarsView,
435+ productListShowReviewsCountInFiveStarsView = productListShowReviewsCountInFiveStarsView,
436+ productListShowSignInLink = productListShowSignInLink,
437+ productListShowSoldOutLabel = productListShowSoldOutLabel,
438+ productListShowSortViewAsOptions = productListShowSortViewAsOptions,
439+ productListSubtitlesBehavior = productListSubtitlesBehavior,
440+ shoppingCartProductsCollapsedOnDesktop = shoppingCartProductsCollapsedOnDesktop,
441+ shoppingCartProductsCollapsedOnMobile = shoppingCartProductsCollapsedOnMobile,
442+ shoppingCartShowSku = shoppingCartShowSku,
443+ shoppingCartShowQtyInputs = shoppingCartShowQtyInputs,
444+ shoppingCartShowWeight = shoppingCartShowWeight,
445+ showCartWidget = showCartWidget,
446+ showRootCategories = showRootCategories,
447+ showSigninLinkWithUnifiedAccountPage = showSigninLinkWithUnifiedAccountPage,
448+ swatchesProductOptionShape = swatchesProductOptionShape,
449+ swatchesProductOptionSize = swatchesProductOptionSize,
450+ productDetailsShowAltTextAsVisibleAsDescription = productDetailsShowAltTextAsVisibleAsDescription,
451+ productFiltersOrientation = productFiltersOrientation,
452+ productListSwatchesProductOptionBehavior = productListSwatchesProductOptionBehavior,
453+ )
454+ }
455+
318456fun FetchedStoreProfile.LegalPagesInfo.toUpdated (): UpdatedStoreProfile .LegalPagesInfo {
319457 return UpdatedStoreProfile .LegalPagesInfo (
320458 type = type?.toUpdated(),
0 commit comments