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 137eac66..2e049e4b 100644 --- a/src/main/kotlin/com/ecwid/apiclient/v3/converter/FetchedStoreProfile.kt +++ b/src/main/kotlin/com/ecwid/apiclient/v3/converter/FetchedStoreProfile.kt @@ -123,6 +123,7 @@ fun FetchedStoreProfile.Settings.toUpdated(): UpdatedStoreProfile.Settings { storeDescriptionTranslated = storeDescriptionTranslated, storeName = storeName, tikTokPixel = tikTokPixel?.toUpdated(), + askAgeConfirmationInStorefront = askAgeConfirmationInStorefront, ) } 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 eb358751..222bbfe2 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 @@ -116,6 +116,7 @@ data class UpdatedStoreProfile( val storeDescriptionTranslated: LocalizedValueMap? = null, val storeName: String? = null, val tikTokPixel: TikTokPixelSettings? = null, + val askAgeConfirmationInStorefront: Boolean? = null, ) data class TikTokPixelSettings( 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 d5d9e6a7..d2251d1a 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 @@ -148,6 +148,7 @@ data class FetchedStoreProfile( val storeDescriptionTranslated: LocalizedValueMap? = null, val storeName: String? = null, val tikTokPixel: TikTokPixelSettings? = null, + val askAgeConfirmationInStorefront: Boolean = false, ) data class TikTokPixelSettings(