@@ -64,6 +64,7 @@ import type { TransformationSearch } from '../model/transformationSearch';
64
64
65
65
import type { TransformationTry } from '../model/transformationTry' ;
66
66
import type { TransformationTryResponse } from '../model/transformationTryResponse' ;
67
+
67
68
import type { TransformationUpdateResponse } from '../model/transformationUpdateResponse' ;
68
69
69
70
import type { WatchResponse } from '../model/watchResponse' ;
@@ -1752,10 +1753,11 @@ export function createIngestionClient({
1752
1753
* @param listTransformations.page - Page number of the paginated API response.
1753
1754
* @param listTransformations.sort - Property by which to sort the list of transformations.
1754
1755
* @param listTransformations.order - Sort order of the response, ascending or descending.
1756
+ * @param listTransformations.type - Whether to filter the list of transformations by the type of transformation.
1755
1757
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
1756
1758
*/
1757
1759
listTransformations (
1758
- { itemsPerPage, page, sort, order } : ListTransformationsProps = { } ,
1760
+ { itemsPerPage, page, sort, order, type } : ListTransformationsProps = { } ,
1759
1761
requestOptions : RequestOptions | undefined = undefined ,
1760
1762
) : Promise < ListTransformationsResponse > {
1761
1763
const requestPath = '/1/transformations' ;
@@ -1778,6 +1780,10 @@ export function createIngestionClient({
1778
1780
queryParameters [ 'order' ] = order . toString ( ) ;
1779
1781
}
1780
1782
1783
+ if ( type !== undefined ) {
1784
+ queryParameters [ 'type' ] = type . toString ( ) ;
1785
+ }
1786
+
1781
1787
const request : Request = {
1782
1788
method : 'GET' ,
1783
1789
path : requestPath ,
0 commit comments