@@ -72,6 +72,7 @@ import algoliasearch.ingestion.TransformationSearch
72
72
import algoliasearch .ingestion .TransformationSortKeys ._
73
73
import algoliasearch .ingestion .TransformationTry
74
74
import algoliasearch .ingestion .TransformationTryResponse
75
+ import algoliasearch .ingestion .TransformationType ._
75
76
import algoliasearch .ingestion .TransformationUpdateResponse
76
77
import algoliasearch .ingestion .TriggerType ._
77
78
import algoliasearch .ingestion .WatchResponse
@@ -1185,12 +1186,15 @@ class IngestionClient(
1185
1186
* Property by which to sort the list of transformations.
1186
1187
* @param order
1187
1188
* Sort order of the response, ascending or descending.
1189
+ * @param `type`
1190
+ * Whether to filter the list of transformations by the type of transformation.
1188
1191
*/
1189
1192
def listTransformations (
1190
1193
itemsPerPage : Option [Int ] = None ,
1191
1194
page : Option [Int ] = None ,
1192
1195
sort : Option [TransformationSortKeys ] = None ,
1193
1196
order : Option [OrderKeys ] = None ,
1197
+ `type` : Option [TransformationType ] = None ,
1194
1198
requestOptions : Option [RequestOptions ] = None
1195
1199
)(implicit ec : ExecutionContext ): Future [ListTransformationsResponse ] = Future {
1196
1200
@@ -1202,6 +1206,7 @@ class IngestionClient(
1202
1206
.withQueryParameter(" page" , page)
1203
1207
.withQueryParameter(" sort" , sort)
1204
1208
.withQueryParameter(" order" , order)
1209
+ .withQueryParameter(" type" , `type`)
1205
1210
.build()
1206
1211
execute[ListTransformationsResponse ](request, requestOptions)
1207
1212
}
0 commit comments