From 675c65ed9bf4e54b4dbaf2c7ada066e53e0b68ff Mon Sep 17 00:00:00 2001 From: algolia-bot Date: Tue, 3 Dec 2024 10:16:25 +0000 Subject: [PATCH] fix(specs): add sourceType to listTasks [skip-bc] (generated) https://github.com/algolia/api-clients-automation/pull/4193 Co-authored-by: algolia-bot Co-authored-by: Pierre Millot --- .../kotlin/com/algolia/client/api/IngestionClient.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/src/commonMain/kotlin/com/algolia/client/api/IngestionClient.kt b/client/src/commonMain/kotlin/com/algolia/client/api/IngestionClient.kt index 09675e22..49b14b99 100644 --- a/client/src/commonMain/kotlin/com/algolia/client/api/IngestionClient.kt +++ b/client/src/commonMain/kotlin/com/algolia/client/api/IngestionClient.kt @@ -812,13 +812,14 @@ public class IngestionClient( * @param action Actions for filtering the list of tasks. * @param enabled Whether to filter the list of tasks by the `enabled` status. * @param sourceID Source IDs for filtering the list of tasks. + * @param sourceType Filters the tasks with the specified source type. * @param destinationID Destination IDs for filtering the list of tasks. * @param triggerType Type of task trigger for filtering the list of tasks. * @param sort Property by which to sort the list of tasks. (default to createdAt) * @param order Sort order of the response, ascending or descending. (default to desc) * @param requestOptions additional request configuration. */ - public suspend fun listTasks(itemsPerPage: Int? = null, page: Int? = null, action: List? = null, enabled: Boolean? = null, sourceID: List? = null, destinationID: List? = null, triggerType: List? = null, sort: TaskSortKeys? = null, order: OrderKeys? = null, requestOptions: RequestOptions? = null): ListTasksResponse { + public suspend fun listTasks(itemsPerPage: Int? = null, page: Int? = null, action: List? = null, enabled: Boolean? = null, sourceID: List? = null, sourceType: List? = null, destinationID: List? = null, triggerType: List? = null, sort: TaskSortKeys? = null, order: OrderKeys? = null, requestOptions: RequestOptions? = null): ListTasksResponse { val requestConfig = RequestConfig( method = RequestMethod.GET, path = listOf("2", "tasks"), @@ -828,6 +829,7 @@ public class IngestionClient( action?.let { put("action", it.joinToString(",")) } enabled?.let { put("enabled", it) } sourceID?.let { put("sourceID", it.joinToString(",")) } + sourceType?.let { put("sourceType", it.joinToString(",")) } destinationID?.let { put("destinationID", it.joinToString(",")) } triggerType?.let { put("triggerType", it.joinToString(",")) } sort?.let { put("sort", it) }