@@ -72,6 +72,7 @@ import algoliasearch.ingestion.TransformationSearch
7272import algoliasearch .ingestion .TransformationSortKeys ._
7373import algoliasearch .ingestion .TransformationTry
7474import algoliasearch .ingestion .TransformationTryResponse
75+ import algoliasearch .ingestion .TransformationType ._
7576import algoliasearch .ingestion .TransformationUpdateResponse
7677import algoliasearch .ingestion .TriggerType ._
7778import algoliasearch .ingestion .WatchResponse
@@ -1185,12 +1186,15 @@ class IngestionClient(
11851186 * Property by which to sort the list of transformations.
11861187 * @param order
11871188 * Sort order of the response, ascending or descending.
1189+ * @param `type`
1190+ * Whether to filter the list of transformations by the type of transformation.
11881191 */
11891192 def listTransformations (
11901193 itemsPerPage : Option [Int ] = None ,
11911194 page : Option [Int ] = None ,
11921195 sort : Option [TransformationSortKeys ] = None ,
11931196 order : Option [OrderKeys ] = None ,
1197+ `type` : Option [TransformationType ] = None ,
11941198 requestOptions : Option [RequestOptions ] = None
11951199 )(implicit ec : ExecutionContext ): Future [ListTransformationsResponse ] = Future {
11961200
@@ -1202,6 +1206,7 @@ class IngestionClient(
12021206 .withQueryParameter(" page" , page)
12031207 .withQueryParameter(" sort" , sort)
12041208 .withQueryParameter(" order" , order)
1209+ .withQueryParameter(" type" , `type`)
12051210 .build()
12061211 execute[ListTransformationsResponse ](request, requestOptions)
12071212 }
0 commit comments