@@ -44,7 +44,6 @@ import algoliasearch.ingestion.RunSourcePayload
44
44
import algoliasearch .ingestion .RunSourceResponse
45
45
import algoliasearch .ingestion .RunStatus ._
46
46
import algoliasearch .ingestion .RunType ._
47
- import algoliasearch .ingestion .SortKeys ._
48
47
import algoliasearch .ingestion .Source
49
48
import algoliasearch .ingestion .SourceCreate
50
49
import algoliasearch .ingestion .SourceCreateResponse
@@ -68,6 +67,7 @@ import algoliasearch.ingestion.Transformation
68
67
import algoliasearch .ingestion .TransformationCreate
69
68
import algoliasearch .ingestion .TransformationCreateResponse
70
69
import algoliasearch .ingestion .TransformationSearch
70
+ import algoliasearch .ingestion .TransformationSortKeys ._
71
71
import algoliasearch .ingestion .TransformationTry
72
72
import algoliasearch .ingestion .TransformationTryResponse
73
73
import algoliasearch .ingestion .TransformationUpdateResponse
@@ -780,9 +780,9 @@ class IngestionClient(
780
780
* @param `type`
781
781
* Type of authentication resource to retrieve.
782
782
* @param platform
783
- * Ecommerce platform for which to retrieve authentication resources .
783
+ * Ecommerce platform for which to retrieve authentications .
784
784
* @param sort
785
- * Property by which to sort the list of authentication resources .
785
+ * Property by which to sort the list of authentications .
786
786
* @param order
787
787
* Sort order of the response, ascending or descending.
788
788
*/
@@ -825,6 +825,8 @@ class IngestionClient(
825
825
* Destination type.
826
826
* @param authenticationID
827
827
* Authentication ID used by destinations.
828
+ * @param transformationID
829
+ * Get the list of destinations used by a transformation.
828
830
* @param sort
829
831
* Property by which to sort the destinations.
830
832
* @param order
@@ -835,6 +837,7 @@ class IngestionClient(
835
837
page : Option [Int ] = None ,
836
838
`type` : Option [Seq [DestinationType ]] = None ,
837
839
authenticationID : Option [Seq [String ]] = None ,
840
+ transformationID : Option [String ] = None ,
838
841
sort : Option [DestinationSortKeys ] = None ,
839
842
order : Option [OrderKeys ] = None ,
840
843
requestOptions : Option [RequestOptions ] = None
@@ -848,6 +851,7 @@ class IngestionClient(
848
851
.withQueryParameter(" page" , page)
849
852
.withQueryParameter(" type" , `type`)
850
853
.withQueryParameter(" authenticationID" , authenticationID)
854
+ .withQueryParameter(" transformationID" , transformationID)
851
855
.withQueryParameter(" sort" , sort)
852
856
.withQueryParameter(" order" , order)
853
857
.build()
@@ -981,8 +985,7 @@ class IngestionClient(
981
985
* @param `type`
982
986
* Source type. Some sources require authentication.
983
987
* @param authenticationID
984
- * Authentication IDs of the sources to retrieve. 'none' returns sources that doesn't have an authentication
985
- * resource.
988
+ * Authentication IDs of the sources to retrieve. 'none' returns sources that doesn't have an authentication.
986
989
* @param sort
987
990
* Property by which to sort the list of sources.
988
991
* @param order
@@ -1136,14 +1139,14 @@ class IngestionClient(
1136
1139
* @param page
1137
1140
* Page number of the paginated API response.
1138
1141
* @param sort
1139
- * Property by which to sort the list.
1142
+ * Property by which to sort the list of transformations .
1140
1143
* @param order
1141
1144
* Sort order of the response, ascending or descending.
1142
1145
*/
1143
1146
def listTransformations (
1144
1147
itemsPerPage : Option [Int ] = None ,
1145
1148
page : Option [Int ] = None ,
1146
- sort : Option [SortKeys ] = None ,
1149
+ sort : Option [TransformationSortKeys ] = None ,
1147
1150
order : Option [OrderKeys ] = None ,
1148
1151
requestOptions : Option [RequestOptions ] = None
1149
1152
)(implicit ec : ExecutionContext ): Future [ListTransformationsResponse ] = Future {
0 commit comments