Skip to content

Commit 5ee9e19

Browse files
feat(specs): allow filtering transformations type (generated)
algolia/api-clients-automation#5363 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Clément Vannicatte <[email protected]>
1 parent 27d04b5 commit 5ee9e19

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

client/src/commonMain/kotlin/com/algolia/client/api/IngestionClient.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -902,9 +902,10 @@ public class IngestionClient(
902902
* @param page Page number of the paginated API response.
903903
* @param sort Property by which to sort the list of transformations. (default to createdAt)
904904
* @param order Sort order of the response, ascending or descending. (default to desc)
905+
* @param type Whether to filter the list of transformations by the type of transformation.
905906
* @param requestOptions additional request configuration.
906907
*/
907-
public suspend fun listTransformations(itemsPerPage: Int? = null, page: Int? = null, sort: TransformationSortKeys? = null, order: OrderKeys? = null, requestOptions: RequestOptions? = null): ListTransformationsResponse {
908+
public suspend fun listTransformations(itemsPerPage: Int? = null, page: Int? = null, sort: TransformationSortKeys? = null, order: OrderKeys? = null, type: TransformationType? = null, requestOptions: RequestOptions? = null): ListTransformationsResponse {
908909
val requestConfig = RequestConfig(
909910
method = RequestMethod.GET,
910911
path = listOf("1", "transformations"),
@@ -913,6 +914,7 @@ public class IngestionClient(
913914
page?.let { put("page", it) }
914915
sort?.let { put("sort", it) }
915916
order?.let { put("order", it) }
917+
type?.let { put("type", it) }
916918
},
917919
)
918920
return requester.execute(

0 commit comments

Comments
 (0)