@@ -44,7 +44,6 @@ import algoliasearch.ingestion.RunSourcePayload
4444import algoliasearch .ingestion .RunSourceResponse
4545import algoliasearch .ingestion .RunStatus ._
4646import algoliasearch .ingestion .RunType ._
47- import algoliasearch .ingestion .SortKeys ._
4847import algoliasearch .ingestion .Source
4948import algoliasearch .ingestion .SourceCreate
5049import algoliasearch .ingestion .SourceCreateResponse
@@ -68,6 +67,7 @@ import algoliasearch.ingestion.Transformation
6867import algoliasearch .ingestion .TransformationCreate
6968import algoliasearch .ingestion .TransformationCreateResponse
7069import algoliasearch .ingestion .TransformationSearch
70+ import algoliasearch .ingestion .TransformationSortKeys ._
7171import algoliasearch .ingestion .TransformationTry
7272import algoliasearch .ingestion .TransformationTryResponse
7373import algoliasearch .ingestion .TransformationUpdateResponse
@@ -780,9 +780,9 @@ class IngestionClient(
780780 * @param `type`
781781 * Type of authentication resource to retrieve.
782782 * @param platform
783- * Ecommerce platform for which to retrieve authentication resources .
783+ * Ecommerce platform for which to retrieve authentications .
784784 * @param sort
785- * Property by which to sort the list of authentication resources .
785+ * Property by which to sort the list of authentications .
786786 * @param order
787787 * Sort order of the response, ascending or descending.
788788 */
@@ -825,6 +825,8 @@ class IngestionClient(
825825 * Destination type.
826826 * @param authenticationID
827827 * Authentication ID used by destinations.
828+ * @param transformationID
829+ * Get the list of destinations used by a transformation.
828830 * @param sort
829831 * Property by which to sort the destinations.
830832 * @param order
@@ -835,6 +837,7 @@ class IngestionClient(
835837 page : Option [Int ] = None ,
836838 `type` : Option [Seq [DestinationType ]] = None ,
837839 authenticationID : Option [Seq [String ]] = None ,
840+ transformationID : Option [String ] = None ,
838841 sort : Option [DestinationSortKeys ] = None ,
839842 order : Option [OrderKeys ] = None ,
840843 requestOptions : Option [RequestOptions ] = None
@@ -848,6 +851,7 @@ class IngestionClient(
848851 .withQueryParameter(" page" , page)
849852 .withQueryParameter(" type" , `type`)
850853 .withQueryParameter(" authenticationID" , authenticationID)
854+ .withQueryParameter(" transformationID" , transformationID)
851855 .withQueryParameter(" sort" , sort)
852856 .withQueryParameter(" order" , order)
853857 .build()
@@ -981,8 +985,7 @@ class IngestionClient(
981985 * @param `type`
982986 * Source type. Some sources require authentication.
983987 * @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.
986989 * @param sort
987990 * Property by which to sort the list of sources.
988991 * @param order
@@ -1136,14 +1139,14 @@ class IngestionClient(
11361139 * @param page
11371140 * Page number of the paginated API response.
11381141 * @param sort
1139- * Property by which to sort the list.
1142+ * Property by which to sort the list of transformations .
11401143 * @param order
11411144 * Sort order of the response, ascending or descending.
11421145 */
11431146 def listTransformations (
11441147 itemsPerPage : Option [Int ] = None ,
11451148 page : Option [Int ] = None ,
1146- sort : Option [SortKeys ] = None ,
1149+ sort : Option [TransformationSortKeys ] = None ,
11471150 order : Option [OrderKeys ] = None ,
11481151 requestOptions : Option [RequestOptions ] = None
11491152 )(implicit ec : ExecutionContext ): Future [ListTransformationsResponse ] = Future {
0 commit comments