From e38f93fb9576ad0dd735ba540cdb0e885f87671f Mon Sep 17 00:00:00 2001 From: mvgreen Date: Thu, 22 Feb 2024 14:14:14 +0400 Subject: [PATCH] Change type discriminator of AdditionalInventoryData to INVENTORY_PRODUCT to avoid collisions with another report --- .../apiclient/v3/dto/report/result/FetchedReportResponse.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/kotlin/com/ecwid/apiclient/v3/dto/report/result/FetchedReportResponse.kt b/src/main/kotlin/com/ecwid/apiclient/v3/dto/report/result/FetchedReportResponse.kt index 450a35161..024f46072 100644 --- a/src/main/kotlin/com/ecwid/apiclient/v3/dto/report/result/FetchedReportResponse.kt +++ b/src/main/kotlin/com/ecwid/apiclient/v3/dto/report/result/FetchedReportResponse.kt @@ -62,13 +62,14 @@ data class FetchedReportResponse( val imageUrl: String? = null, val thumbnailUrl: String? = null, val exampleOrder: String? = null, - ) : FetchedAdditionalData(AdditionalDataType.PRODUCT) + ) : FetchedAdditionalData(AdditionalDataType.INVENTORY_PRODUCT) enum class AdditionalDataType { UTM, ORDERS, CUSTOMERS, PRODUCT, + INVENTORY_PRODUCT, } }