From b8e88127db7e9559cc687b4a324acb187b639a41 Mon Sep 17 00:00:00 2001 From: Filipp Semenkov Date: Wed, 10 Apr 2024 20:04:52 +0400 Subject: [PATCH] ECWID-138042 New reports: internal API for topOfLandingPagesByVisitors report: - added AdditionalLandingData --- src/main/kotlin/com/ecwid/apiclient/v3/ApiClientHelper.kt | 1 + .../apiclient/v3/dto/report/result/FetchedReportResponse.kt | 5 +++++ .../com/ecwid/apiclient/v3/rule/NullablePropertyRules.kt | 2 ++ 3 files changed, 8 insertions(+) diff --git a/src/main/kotlin/com/ecwid/apiclient/v3/ApiClientHelper.kt b/src/main/kotlin/com/ecwid/apiclient/v3/ApiClientHelper.kt index 234ee5e5e..f13e28fb4 100644 --- a/src/main/kotlin/com/ecwid/apiclient/v3/ApiClientHelper.kt +++ b/src/main/kotlin/com/ecwid/apiclient/v3/ApiClientHelper.kt @@ -539,6 +539,7 @@ private fun createAdditionalDataPolymorphicType(): PolymorphicType> = listOf( AllowNullable(FetchedReportResponse.FetchedAdditionalData.AdditionalShippingData::shippingMethodName), AllowNullable(FetchedReportResponse.FetchedAdditionalData.AdditionalShippingData::fulfilmentType), + AllowNullable(FetchedReportResponse.FetchedAdditionalData.AdditionalLandingData::landingUrl), + AllowNullable(CreateBatchRequest::groupId), AllowNullable(CreateBatchRequestWithIds::groupId),