From 419c271e44e0336146e1739dd78e4b9d59d1f0a5 Mon Sep 17 00:00:00 2001 From: Filipp Semenkov Date: Fri, 8 Mar 2024 01:50:43 +0400 Subject: [PATCH] ECWID-136271 New reports: internal API for abandonedCarts report - added abandonedCarts report --- src/main/kotlin/com/ecwid/apiclient/v3/ApiClientHelper.kt | 1 + .../com/ecwid/apiclient/v3/dto/report/enums/ReportType.kt | 1 + .../apiclient/v3/dto/report/result/FetchedReportResponse.kt | 5 +++++ .../com/ecwid/apiclient/v3/rule/NullablePropertyRules.kt | 2 ++ 4 files changed, 9 insertions(+) diff --git a/src/main/kotlin/com/ecwid/apiclient/v3/ApiClientHelper.kt b/src/main/kotlin/com/ecwid/apiclient/v3/ApiClientHelper.kt index b20e25f6..3021378f 100644 --- a/src/main/kotlin/com/ecwid/apiclient/v3/ApiClientHelper.kt +++ b/src/main/kotlin/com/ecwid/apiclient/v3/ApiClientHelper.kt @@ -533,6 +533,7 @@ private fun createAdditionalDataPolymorphicType(): PolymorphicType> = listOf( AllowNullable(FetchedReportResponse.FetchedAdditionalData.AdditionalCouponData::couponName), + AllowNullable(FetchedReportResponse.FetchedAdditionalData.AdditionalAbandonedCartData::autoAbandonedSalesRecovery), + AllowNullable(CreateBatchRequest::groupId), AllowNullable(CreateBatchRequestWithIds::groupId),