Skip to content

Commit 8775fce

Browse files
fix(specs): remove private beta endpoint from recommend [skip-bc] (generated)
algolia/api-clients-automation#4110 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Clément Vannicatte <[email protected]>
1 parent db1b3c7 commit 8775fce

File tree

3 files changed

+0
-59
lines changed

3 files changed

+0
-59
lines changed

client/src/commonMain/kotlin/com/algolia/client/model/recommend/RecommendationsRequest.kt

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import kotlin.jvm.JvmInline
1616
* Implementations:
1717
* - [BoughtTogetherQuery]
1818
* - [LookingSimilarQuery]
19-
* - [RecommendedForYouQuery]
2019
* - [RelatedQuery]
2120
* - [TrendingFacetsQuery]
2221
* - [TrendingItemsQuery]
@@ -43,10 +42,6 @@ public sealed interface RecommendationsRequest {
4342
@JvmInline
4443
public value class LookingSimilarQueryValue(public val value: LookingSimilarQuery) : RecommendationsRequest
4544

46-
@Serializable
47-
@JvmInline
48-
public value class RecommendedForYouQueryValue(public val value: RecommendedForYouQuery) : RecommendationsRequest
49-
5045
public companion object {
5146

5247
public fun of(value: BoughtTogetherQuery): RecommendationsRequest {
@@ -64,9 +59,6 @@ public sealed interface RecommendationsRequest {
6459
public fun of(value: LookingSimilarQuery): RecommendationsRequest {
6560
return LookingSimilarQueryValue(value)
6661
}
67-
public fun of(value: RecommendedForYouQuery): RecommendationsRequest {
68-
return RecommendedForYouQueryValue(value)
69-
}
7062
}
7163
}
7264

@@ -78,7 +70,6 @@ internal class RecommendationsRequestSerializer : JsonContentPolymorphicSerializ
7870
element is JsonObject -> TrendingItemsQuery.serializer()
7971
element is JsonObject -> TrendingFacetsQuery.serializer()
8072
element is JsonObject -> LookingSimilarQuery.serializer()
81-
element is JsonObject -> RecommendedForYouQuery.serializer()
8273
else -> throw AlgoliaClientException("Failed to deserialize json element: $element")
8374
}
8475
}

client/src/commonMain/kotlin/com/algolia/client/model/recommend/RecommendedForYouModel.kt

Lines changed: 0 additions & 16 deletions
This file was deleted.

client/src/commonMain/kotlin/com/algolia/client/model/recommend/RecommendedForYouQuery.kt

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)