@@ -812,13 +812,14 @@ public class IngestionClient(
812
812
* @param action Actions for filtering the list of tasks.
813
813
* @param enabled Whether to filter the list of tasks by the `enabled` status.
814
814
* @param sourceID Source IDs for filtering the list of tasks.
815
+ * @param sourceType Filters the tasks with the specified source type.
815
816
* @param destinationID Destination IDs for filtering the list of tasks.
816
817
* @param triggerType Type of task trigger for filtering the list of tasks.
817
818
* @param sort Property by which to sort the list of tasks. (default to createdAt)
818
819
* @param order Sort order of the response, ascending or descending. (default to desc)
819
820
* @param requestOptions additional request configuration.
820
821
*/
821
- public suspend fun listTasks (itemsPerPage : Int? = null, page : Int? = null, action : List <ActionType >? = null, enabled : Boolean? = null, sourceID : List <String >? = null, destinationID : List <String >? = null, triggerType : List <TriggerType >? = null, sort : TaskSortKeys ? = null, order : OrderKeys ? = null, requestOptions : RequestOptions ? = null): ListTasksResponse {
822
+ public suspend fun listTasks (itemsPerPage : Int? = null, page : Int? = null, action : List <ActionType >? = null, enabled : Boolean? = null, sourceID : List <String >? = null, sourceType : List < SourceType > ? = null, destinationID : List <String >? = null, triggerType : List <TriggerType >? = null, sort : TaskSortKeys ? = null, order : OrderKeys ? = null, requestOptions : RequestOptions ? = null): ListTasksResponse {
822
823
val requestConfig = RequestConfig (
823
824
method = RequestMethod .GET ,
824
825
path = listOf (" 2" , " tasks" ),
@@ -828,6 +829,7 @@ public class IngestionClient(
828
829
action?.let { put(" action" , it.joinToString(" ," )) }
829
830
enabled?.let { put(" enabled" , it) }
830
831
sourceID?.let { put(" sourceID" , it.joinToString(" ," )) }
832
+ sourceType?.let { put(" sourceType" , it.joinToString(" ," )) }
831
833
destinationID?.let { put(" destinationID" , it.joinToString(" ," )) }
832
834
triggerType?.let { put(" triggerType" , it.joinToString(" ," )) }
833
835
sort?.let { put(" sort" , it) }
0 commit comments