From 2651a69957386f2c864ffc23d77bfaf79663a14f Mon Sep 17 00:00:00 2001 From: Filipp Semenkov Date: Wed, 29 May 2024 00:21:40 +0400 Subject: [PATCH] ECWID-140946 New Reports: internal API for topOfCategoriesByOrders report: - added AdditionalCategoryData --- 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 051e6411..22580705 100644 --- a/src/main/kotlin/com/ecwid/apiclient/v3/ApiClientHelper.kt +++ b/src/main/kotlin/com/ecwid/apiclient/v3/ApiClientHelper.kt @@ -549,6 +549,7 @@ private fun createAdditionalDataPolymorphicType(): PolymorphicType> = listOf( AllowNullable(FetchedReportResponse.FetchedAdditionalData.AdditionalLandingData::landingUrl), + AllowNullable(FetchedReportResponse.FetchedAdditionalData.AdditionalCategoryData::categoryName), + AllowNullable(CreateBatchRequest::groupId), AllowNullable(CreateBatchRequestWithIds::groupId),