From 19db377fc532b5196f92b74b0fafa3ad6cb00b55 Mon Sep 17 00:00:00 2001 From: "roman.ivshin" Date: Tue, 8 Sep 2026 10:58:04 +0400 Subject: [PATCH] ECOM-49754 - add new legal page to java api client --- .../com/ecwid/apiclient/v3/converter/FetchedStoreProfile.kt | 1 + .../apiclient/v3/dto/profile/request/UpdatedStoreProfile.kt | 2 +- .../apiclient/v3/dto/profile/result/FetchedStoreProfile.kt | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) 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 c8791bd2..a30335d1 100644 --- a/src/main/kotlin/com/ecwid/apiclient/v3/converter/FetchedStoreProfile.kt +++ b/src/main/kotlin/com/ecwid/apiclient/v3/converter/FetchedStoreProfile.kt @@ -477,6 +477,7 @@ fun FetchedStoreProfile.LegalPagesInfo.Type.toUpdated(): UpdatedStoreProfile.Leg FetchedStoreProfile.LegalPagesInfo.Type.REVOCATION_TERMS -> UpdatedStoreProfile.LegalPagesInfo.Type.REVOCATION_TERMS FetchedStoreProfile.LegalPagesInfo.Type.TERMS -> UpdatedStoreProfile.LegalPagesInfo.Type.TERMS FetchedStoreProfile.LegalPagesInfo.Type.PRIVACY_STATEMENT -> UpdatedStoreProfile.LegalPagesInfo.Type.PRIVACY_STATEMENT + FetchedStoreProfile.LegalPagesInfo.Type.EU_GUARANTEE_NOTICE -> UpdatedStoreProfile.LegalPagesInfo.Type.EU_GUARANTEE_NOTICE } } 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 8240d0b0..b77cc5e3 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 @@ -272,7 +272,7 @@ data class UpdatedStoreProfile( val externalUrl: String? = null ) { enum class Type { - LEGAL_INFO, SHIPPING_COST_PAYMENT_INFO, REVOCATION_TERMS, TERMS, PRIVACY_STATEMENT + LEGAL_INFO, SHIPPING_COST_PAYMENT_INFO, REVOCATION_TERMS, TERMS, PRIVACY_STATEMENT, EU_GUARANTEE_NOTICE } enum class Display { 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 00d48102..62bcc17c 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 @@ -319,7 +319,7 @@ data class FetchedStoreProfile( val externalUrl: String? = null ) { enum class Type { - LEGAL_INFO, SHIPPING_COST_PAYMENT_INFO, REVOCATION_TERMS, TERMS, PRIVACY_STATEMENT + LEGAL_INFO, SHIPPING_COST_PAYMENT_INFO, REVOCATION_TERMS, TERMS, PRIVACY_STATEMENT, EU_GUARANTEE_NOTICE } enum class Display {