@@ -1136,6 +1136,7 @@ public interface IIngestionClient
1136
1136
/// <param name="action">Actions for filtering the list of tasks. (optional)</param>
1137
1137
/// <param name="enabled">Whether to filter the list of tasks by the `enabled` status. (optional)</param>
1138
1138
/// <param name="sourceID">Source IDs for filtering the list of tasks. (optional)</param>
1139
+ /// <param name="sourceType">Filters the tasks with the specified source type. (optional)</param>
1139
1140
/// <param name="destinationID">Destination IDs for filtering the list of tasks. (optional)</param>
1140
1141
/// <param name="triggerType">Type of task trigger for filtering the list of tasks. (optional)</param>
1141
1142
/// <param name="sort">Property by which to sort the list of tasks. (optional)</param>
@@ -1146,7 +1147,7 @@ public interface IIngestionClient
1146
1147
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
1147
1148
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
1148
1149
/// <returns>Task of ListTasksResponse</returns>
1149
- Task < ListTasksResponse > ListTasksAsync ( int ? itemsPerPage = default , int ? page = default , List < ActionType > action = default , bool ? enabled = default , List < string > sourceID = default , List < string > destinationID = default , List < TriggerType > triggerType = default , TaskSortKeys ? sort = default , OrderKeys ? order = default , RequestOptions options = null , CancellationToken cancellationToken = default ) ;
1150
+ Task < ListTasksResponse > ListTasksAsync ( int ? itemsPerPage = default , int ? page = default , List < ActionType > action = default , bool ? enabled = default , List < string > sourceID = default , List < SourceType > sourceType = default , List < string > destinationID = default , List < TriggerType > triggerType = default , TaskSortKeys ? sort = default , OrderKeys ? order = default , RequestOptions options = null , CancellationToken cancellationToken = default ) ;
1150
1151
1151
1152
/// <summary>
1152
1153
/// Retrieves a list of tasks. (Synchronous version)
@@ -1161,6 +1162,7 @@ public interface IIngestionClient
1161
1162
/// <param name="action">Actions for filtering the list of tasks. (optional)</param>
1162
1163
/// <param name="enabled">Whether to filter the list of tasks by the `enabled` status. (optional)</param>
1163
1164
/// <param name="sourceID">Source IDs for filtering the list of tasks. (optional)</param>
1165
+ /// <param name="sourceType">Filters the tasks with the specified source type. (optional)</param>
1164
1166
/// <param name="destinationID">Destination IDs for filtering the list of tasks. (optional)</param>
1165
1167
/// <param name="triggerType">Type of task trigger for filtering the list of tasks. (optional)</param>
1166
1168
/// <param name="sort">Property by which to sort the list of tasks. (optional)</param>
@@ -1171,7 +1173,7 @@ public interface IIngestionClient
1171
1173
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
1172
1174
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
1173
1175
/// <returns>ListTasksResponse</returns>
1174
- ListTasksResponse ListTasks ( int ? itemsPerPage = default , int ? page = default , List < ActionType > action = default , bool ? enabled = default , List < string > sourceID = default , List < string > destinationID = default , List < TriggerType > triggerType = default , TaskSortKeys ? sort = default , OrderKeys ? order = default , RequestOptions options = null , CancellationToken cancellationToken = default ) ;
1176
+ ListTasksResponse ListTasks ( int ? itemsPerPage = default , int ? page = default , List < ActionType > action = default , bool ? enabled = default , List < string > sourceID = default , List < SourceType > sourceType = default , List < string > destinationID = default , List < TriggerType > triggerType = default , TaskSortKeys ? sort = default , OrderKeys ? order = default , RequestOptions options = null , CancellationToken cancellationToken = default ) ;
1175
1177
1176
1178
/// <summary>
1177
1179
/// Retrieves a list of tasks using the v1 endpoint, please use `getTasks` instead.
@@ -2732,7 +2734,7 @@ public ListSourcesResponse ListSources(int? itemsPerPage = default, int? page =
2732
2734
2733
2735
2734
2736
/// <inheritdoc />
2735
- public async Task < ListTasksResponse > ListTasksAsync ( int ? itemsPerPage = default , int ? page = default , List < ActionType > action = default , bool ? enabled = default , List < string > sourceID = default , List < string > destinationID = default , List < TriggerType > triggerType = default , TaskSortKeys ? sort = default , OrderKeys ? order = default , RequestOptions options = null , CancellationToken cancellationToken = default )
2737
+ public async Task < ListTasksResponse > ListTasksAsync ( int ? itemsPerPage = default , int ? page = default , List < ActionType > action = default , bool ? enabled = default , List < string > sourceID = default , List < SourceType > sourceType = default , List < string > destinationID = default , List < TriggerType > triggerType = default , TaskSortKeys ? sort = default , OrderKeys ? order = default , RequestOptions options = null , CancellationToken cancellationToken = default )
2736
2738
{
2737
2739
var requestOptions = new InternalRequestOptions ( options ) ;
2738
2740
@@ -2742,6 +2744,7 @@ public async Task<ListTasksResponse> ListTasksAsync(int? itemsPerPage = default,
2742
2744
requestOptions . AddQueryParameter ( "action" , action ) ;
2743
2745
requestOptions . AddQueryParameter ( "enabled" , enabled ) ;
2744
2746
requestOptions . AddQueryParameter ( "sourceID" , sourceID ) ;
2747
+ requestOptions . AddQueryParameter ( "sourceType" , sourceType ) ;
2745
2748
requestOptions . AddQueryParameter ( "destinationID" , destinationID ) ;
2746
2749
requestOptions . AddQueryParameter ( "triggerType" , triggerType ) ;
2747
2750
requestOptions . AddQueryParameter ( "sort" , sort ) ;
@@ -2751,8 +2754,8 @@ public async Task<ListTasksResponse> ListTasksAsync(int? itemsPerPage = default,
2751
2754
2752
2755
2753
2756
/// <inheritdoc />
2754
- public ListTasksResponse ListTasks ( int ? itemsPerPage = default , int ? page = default , List < ActionType > action = default , bool ? enabled = default , List < string > sourceID = default , List < string > destinationID = default , List < TriggerType > triggerType = default , TaskSortKeys ? sort = default , OrderKeys ? order = default , RequestOptions options = null , CancellationToken cancellationToken = default ) =>
2755
- AsyncHelper . RunSync ( ( ) => ListTasksAsync ( itemsPerPage , page , action , enabled , sourceID , destinationID , triggerType , sort , order , options , cancellationToken ) ) ;
2757
+ public ListTasksResponse ListTasks ( int ? itemsPerPage = default , int ? page = default , List < ActionType > action = default , bool ? enabled = default , List < string > sourceID = default , List < SourceType > sourceType = default , List < string > destinationID = default , List < TriggerType > triggerType = default , TaskSortKeys ? sort = default , OrderKeys ? order = default , RequestOptions options = null , CancellationToken cancellationToken = default ) =>
2758
+ AsyncHelper . RunSync ( ( ) => ListTasksAsync ( itemsPerPage , page , action , enabled , sourceID , sourceType , destinationID , triggerType , sort , order , options , cancellationToken ) ) ;
2756
2759
2757
2760
2758
2761
/// <inheritdoc />
0 commit comments