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 840f8131..c8791bd2 100644 --- a/src/main/kotlin/com/ecwid/apiclient/v3/converter/FetchedStoreProfile.kt +++ b/src/main/kotlin/com/ecwid/apiclient/v3/converter/FetchedStoreProfile.kt @@ -462,8 +462,10 @@ fun FetchedStoreProfile.LegalPagesInfo.toUpdated(): UpdatedStoreProfile.LegalPag type = type?.toUpdated(), enabled = enabled, title = title, + titleTranslated = titleTranslated, display = display?.toUpdated(), text = text, + textTranslated = textTranslated, externalUrl = externalUrl ) } 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 8b9c0b30..8240d0b0 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 @@ -265,8 +265,10 @@ data class UpdatedStoreProfile( val type: Type? = null, val enabled: Boolean? = null, val title: String? = null, + val titleTranslated: Map? = null, val display: Display? = null, val text: String? = null, + val textTranslated: Map? = null, val externalUrl: String? = null ) { enum class Type { 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 ad158ce9..d5d4d586 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 @@ -311,8 +311,10 @@ data class FetchedStoreProfile( val type: Type? = null, val enabled: Boolean? = null, val title: String? = null, + val titleTranslated: Map? = null, val display: Display? = null, val text: String? = null, + val textTranslated: Map? = null, val externalUrl: String? = null ) { enum class Type { 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 3b0295d4..e5ebe5ff 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 @@ -231,7 +231,9 @@ val fetchedStoreProfileNullablePropertyRules: List> = IgnoreNullable(FetchedStoreProfile.LegalPagesInfo::enabled), IgnoreNullable(FetchedStoreProfile.LegalPagesInfo::externalUrl), IgnoreNullable(FetchedStoreProfile.LegalPagesInfo::text), + AllowNullable(FetchedStoreProfile.LegalPagesInfo::textTranslated), IgnoreNullable(FetchedStoreProfile.LegalPagesInfo::title), + AllowNullable(FetchedStoreProfile.LegalPagesInfo::titleTranslated), IgnoreNullable(FetchedStoreProfile.LegalPagesInfo::type), IgnoreNullable(FetchedStoreProfile.LegalPagesSettingsDetails::legalPages), IgnoreNullable(FetchedStoreProfile.LegalPagesSettingsDetails::requireTermsAgreementAtCheckout),