Skip to content

Commit 12740e0

Browse files
algolia-botrenovate[bot]shortcutsmillotp
committed
chore(deps): dependencies 2025-04-28 (generated)
algolia/api-clients-automation#4785 Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com> Co-authored-by: Algolia Bot <30854082+algolia-bot@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: shortcuts <vannicattec@gmail.com> Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
1 parent b279c72 commit 12740e0

File tree

5 files changed

+14
-50
lines changed

5 files changed

+14
-50
lines changed

client/src/commonMain/kotlin/com/algolia/client/model/ingestion/DestinationIndexName.kt

Lines changed: 0 additions & 24 deletions
This file was deleted.
Lines changed: 11 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,24 @@
11
/** Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT. */
22
package com.algolia.client.model.ingestion
33

4-
import com.algolia.client.exception.AlgoliaClientException
5-
import com.algolia.client.extensions.internal.*
64
import kotlinx.serialization.*
7-
import kotlinx.serialization.builtins.*
8-
import kotlinx.serialization.descriptors.*
9-
import kotlinx.serialization.encoding.*
105
import kotlinx.serialization.json.*
11-
import kotlin.jvm.JvmInline
126

137
/**
148
* DestinationInput
159
*
16-
* Implementations:
17-
* - [DestinationIndexName]
10+
* @param indexName Algolia index name (case-sensitive).
11+
* @param recordType
12+
* @param attributesToExclude Attributes from your source to exclude from Algolia records. Not all your data attributes will be useful for searching. Keeping your Algolia records small increases indexing and search performance. - Exclude nested attributes with `.` notation. For example, `foo.bar` indexes the `foo` attribute and all its children **except** the `bar` attribute. - Exclude attributes from arrays with `[i]`, where `i` is the index of the array element. For example, `foo.[0].bar` only excludes the `bar` attribute from the first element of the `foo` array, but indexes the complete `foo` attribute for all other elements. Use `*` as wildcard: `foo.[*].bar` excludes `bar` from all elements of the `foo` array.
1813
*/
19-
@Serializable(DestinationInputSerializer::class)
20-
public sealed interface DestinationInput {
21-
@Serializable
22-
@JvmInline
23-
public value class DestinationIndexNameValue(public val value: DestinationIndexName) : DestinationInput
14+
@Serializable
15+
public data class DestinationInput(
2416

25-
public companion object {
17+
/** Algolia index name (case-sensitive). */
18+
@SerialName(value = "indexName") val indexName: String,
2619

27-
public fun of(value: DestinationIndexName): DestinationInput = DestinationIndexNameValue(value)
28-
}
29-
}
20+
@SerialName(value = "recordType") val recordType: RecordType? = null,
3021

31-
internal class DestinationInputSerializer : JsonContentPolymorphicSerializer<DestinationInput>(DestinationInput::class) {
32-
override fun selectDeserializer(element: JsonElement): DeserializationStrategy<DestinationInput> = when {
33-
element is JsonObject -> DestinationIndexName.serializer()
34-
else -> throw AlgoliaClientException("Failed to deserialize json element: $element")
35-
}
36-
}
22+
/** Attributes from your source to exclude from Algolia records. Not all your data attributes will be useful for searching. Keeping your Algolia records small increases indexing and search performance. - Exclude nested attributes with `.` notation. For example, `foo.bar` indexes the `foo` attribute and all its children **except** the `bar` attribute. - Exclude attributes from arrays with `[i]`, where `i` is the index of the array element. For example, `foo.[0].bar` only excludes the `bar` attribute from the first element of the `foo` array, but indexes the complete `foo` attribute for all other elements. Use `*` as wildcard: `foo.[*].bar` excludes `bar` from all elements of the `foo` array. */
23+
@SerialName(value = "attributesToExclude") val attributesToExclude: List<String>? = null,
24+
)

gradle/wrapper/gradle-wrapper.jar

59 Bytes
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ case "$( uname )" in #(
114114
NONSTOP* ) nonstop=true ;;
115115
esac
116116

117-
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
117+
CLASSPATH="\\\"\\\""
118118

119119

120120
# Determine the Java command to use to start the JVM.
@@ -213,7 +213,7 @@ DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
213213
set -- \
214214
"-Dorg.gradle.appname=$APP_BASE_NAME" \
215215
-classpath "$CLASSPATH" \
216-
org.gradle.wrapper.GradleWrapperMain \
216+
-jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \
217217
"$@"
218218

219219
# Stop when "xargs" is not available.

0 commit comments

Comments
 (0)