@@ -847,6 +847,7 @@ public interface IIngestionClient
847
847
/// <param name="itemsPerPage">Number of items per page. (optional, default to 10)</param>
848
848
/// <param name="page">Page number of the paginated API response. (optional)</param>
849
849
/// <param name="status">Run status for filtering the list of task runs. (optional)</param>
850
+ /// <param name="type">Run type for filtering the list of task runs. (optional)</param>
850
851
/// <param name="taskID">Task ID for filtering the list of task runs. (optional)</param>
851
852
/// <param name="sort">Property by which to sort the list of task runs. (optional)</param>
852
853
/// <param name="order">Sort order of the response, ascending or descending. (optional)</param>
@@ -858,14 +859,15 @@ public interface IIngestionClient
858
859
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
859
860
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
860
861
/// <returns>Task of RunListResponse</returns>
861
- Task < RunListResponse > ListRunsAsync ( int ? itemsPerPage = default , int ? page = default , List < RunStatus > status = default , string taskID = default , RunSortKeys ? sort = default , OrderKeys ? order = default , string startDate = default , string endDate = default , RequestOptions options = null , CancellationToken cancellationToken = default ) ;
862
+ Task < RunListResponse > ListRunsAsync ( int ? itemsPerPage = default , int ? page = default , List < RunStatus > status = default , List < RunType > type = default , string taskID = default , RunSortKeys ? sort = default , OrderKeys ? order = default , string startDate = default , string endDate = default , RequestOptions options = null , CancellationToken cancellationToken = default ) ;
862
863
863
864
/// <summary>
864
865
/// Retrieve a list of task runs. (Synchronous version)
865
866
/// </summary>
866
867
/// <param name="itemsPerPage">Number of items per page. (optional, default to 10)</param>
867
868
/// <param name="page">Page number of the paginated API response. (optional)</param>
868
869
/// <param name="status">Run status for filtering the list of task runs. (optional)</param>
870
+ /// <param name="type">Run type for filtering the list of task runs. (optional)</param>
869
871
/// <param name="taskID">Task ID for filtering the list of task runs. (optional)</param>
870
872
/// <param name="sort">Property by which to sort the list of task runs. (optional)</param>
871
873
/// <param name="order">Sort order of the response, ascending or descending. (optional)</param>
@@ -877,7 +879,7 @@ public interface IIngestionClient
877
879
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
878
880
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
879
881
/// <returns>RunListResponse</returns>
880
- RunListResponse ListRuns ( int ? itemsPerPage = default , int ? page = default , List < RunStatus > status = default , string taskID = default , RunSortKeys ? sort = default , OrderKeys ? order = default , string startDate = default , string endDate = default , RequestOptions options = null , CancellationToken cancellationToken = default ) ;
882
+ RunListResponse ListRuns ( int ? itemsPerPage = default , int ? page = default , List < RunStatus > status = default , List < RunType > type = default , string taskID = default , RunSortKeys ? sort = default , OrderKeys ? order = default , string startDate = default , string endDate = default , RequestOptions options = null , CancellationToken cancellationToken = default ) ;
881
883
882
884
/// <summary>
883
885
/// Retrieves a list of sources.
@@ -3153,6 +3155,7 @@ public ListEventsResponse ListEvents(string runID, int? itemsPerPage = default,
3153
3155
/// <param name="itemsPerPage">Number of items per page. (optional, default to 10)</param>
3154
3156
/// <param name="page">Page number of the paginated API response. (optional)</param>
3155
3157
/// <param name="status">Run status for filtering the list of task runs. (optional)</param>
3158
+ /// <param name="type">Run type for filtering the list of task runs. (optional)</param>
3156
3159
/// <param name="taskID">Task ID for filtering the list of task runs. (optional)</param>
3157
3160
/// <param name="sort">Property by which to sort the list of task runs. (optional)</param>
3158
3161
/// <param name="order">Sort order of the response, ascending or descending. (optional)</param>
@@ -3164,14 +3167,15 @@ public ListEventsResponse ListEvents(string runID, int? itemsPerPage = default,
3164
3167
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
3165
3168
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
3166
3169
/// <returns>Task of RunListResponse</returns>
3167
- public async Task < RunListResponse > ListRunsAsync ( int ? itemsPerPage = default , int ? page = default , List < RunStatus > status = default , string taskID = default , RunSortKeys ? sort = default , OrderKeys ? order = default , string startDate = default , string endDate = default , RequestOptions options = null , CancellationToken cancellationToken = default )
3170
+ public async Task < RunListResponse > ListRunsAsync ( int ? itemsPerPage = default , int ? page = default , List < RunStatus > status = default , List < RunType > type = default , string taskID = default , RunSortKeys ? sort = default , OrderKeys ? order = default , string startDate = default , string endDate = default , RequestOptions options = null , CancellationToken cancellationToken = default )
3168
3171
{
3169
3172
var requestOptions = new InternalRequestOptions ( options ) ;
3170
3173
3171
3174
3172
3175
requestOptions . AddQueryParameter ( "itemsPerPage" , itemsPerPage ) ;
3173
3176
requestOptions . AddQueryParameter ( "page" , page ) ;
3174
3177
requestOptions . AddQueryParameter ( "status" , status ) ;
3178
+ requestOptions . AddQueryParameter ( "type" , type ) ;
3175
3179
requestOptions . AddQueryParameter ( "taskID" , taskID ) ;
3176
3180
requestOptions . AddQueryParameter ( "sort" , sort ) ;
3177
3181
requestOptions . AddQueryParameter ( "order" , order ) ;
@@ -3192,6 +3196,7 @@ public async Task<RunListResponse> ListRunsAsync(int? itemsPerPage = default, in
3192
3196
/// <param name="itemsPerPage">Number of items per page. (optional, default to 10)</param>
3193
3197
/// <param name="page">Page number of the paginated API response. (optional)</param>
3194
3198
/// <param name="status">Run status for filtering the list of task runs. (optional)</param>
3199
+ /// <param name="type">Run type for filtering the list of task runs. (optional)</param>
3195
3200
/// <param name="taskID">Task ID for filtering the list of task runs. (optional)</param>
3196
3201
/// <param name="sort">Property by which to sort the list of task runs. (optional)</param>
3197
3202
/// <param name="order">Sort order of the response, ascending or descending. (optional)</param>
@@ -3203,8 +3208,8 @@ public async Task<RunListResponse> ListRunsAsync(int? itemsPerPage = default, in
3203
3208
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
3204
3209
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
3205
3210
/// <returns>RunListResponse</returns>
3206
- public RunListResponse ListRuns ( int ? itemsPerPage = default , int ? page = default , List < RunStatus > status = default , string taskID = default , RunSortKeys ? sort = default , OrderKeys ? order = default , string startDate = default , string endDate = default , RequestOptions options = null , CancellationToken cancellationToken = default ) =>
3207
- AsyncHelper . RunSync ( ( ) => ListRunsAsync ( itemsPerPage , page , status , taskID , sort , order , startDate , endDate , options , cancellationToken ) ) ;
3211
+ public RunListResponse ListRuns ( int ? itemsPerPage = default , int ? page = default , List < RunStatus > status = default , List < RunType > type = default , string taskID = default , RunSortKeys ? sort = default , OrderKeys ? order = default , string startDate = default , string endDate = default , RequestOptions options = null , CancellationToken cancellationToken = default ) =>
3212
+ AsyncHelper . RunSync ( ( ) => ListRunsAsync ( itemsPerPage , page , status , type , taskID , sort , order , startDate , endDate , options , cancellationToken ) ) ;
3208
3213
3209
3214
3210
3215
/// <summary>
0 commit comments