Skip to content

Commit

Permalink
Merge branch 'main' into fix/ingestion-qp (generated)
Browse files Browse the repository at this point in the history
Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
  • Loading branch information
algolia-bot and millotp committed Dec 3, 2024
1 parent 5a4d44f commit 46c9238
Show file tree
Hide file tree
Showing 51 changed files with 426 additions and 211 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1136,6 +1136,7 @@ public interface IIngestionClient
/// <param name="action">Actions for filtering the list of tasks. (optional)</param>
/// <param name="enabled">Whether to filter the list of tasks by the `enabled` status. (optional)</param>
/// <param name="sourceID">Source IDs for filtering the list of tasks. (optional)</param>
/// <param name="sourceType">Filters the tasks with the specified source type. (optional)</param>
/// <param name="destinationID">Destination IDs for filtering the list of tasks. (optional)</param>
/// <param name="triggerType">Type of task trigger for filtering the list of tasks. (optional)</param>
/// <param name="sort">Property by which to sort the list of tasks. (optional)</param>
Expand All @@ -1146,7 +1147,7 @@ public interface IIngestionClient
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
/// <returns>Task of ListTasksResponse</returns>
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);
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);

/// <summary>
/// Retrieves a list of tasks. (Synchronous version)
Expand All @@ -1161,6 +1162,7 @@ public interface IIngestionClient
/// <param name="action">Actions for filtering the list of tasks. (optional)</param>
/// <param name="enabled">Whether to filter the list of tasks by the `enabled` status. (optional)</param>
/// <param name="sourceID">Source IDs for filtering the list of tasks. (optional)</param>
/// <param name="sourceType">Filters the tasks with the specified source type. (optional)</param>
/// <param name="destinationID">Destination IDs for filtering the list of tasks. (optional)</param>
/// <param name="triggerType">Type of task trigger for filtering the list of tasks. (optional)</param>
/// <param name="sort">Property by which to sort the list of tasks. (optional)</param>
Expand All @@ -1171,7 +1173,7 @@ public interface IIngestionClient
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
/// <returns>ListTasksResponse</returns>
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);
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);

/// <summary>
/// Retrieves a list of tasks using the v1 endpoint, please use `getTasks` instead.
Expand Down Expand Up @@ -2732,7 +2734,7 @@ public ListSourcesResponse ListSources(int? itemsPerPage = default, int? page =


/// <inheritdoc />
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)
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)
{
var requestOptions = new InternalRequestOptions(options);

Expand All @@ -2742,6 +2744,7 @@ public async Task<ListTasksResponse> ListTasksAsync(int? itemsPerPage = default,
requestOptions.AddQueryParameter("action", action);
requestOptions.AddQueryParameter("enabled", enabled);
requestOptions.AddQueryParameter("sourceID", sourceID);
requestOptions.AddQueryParameter("sourceType", sourceType);
requestOptions.AddQueryParameter("destinationID", destinationID);
requestOptions.AddQueryParameter("triggerType", triggerType);
requestOptions.AddQueryParameter("sort", sort);
Expand All @@ -2751,8 +2754,8 @@ public async Task<ListTasksResponse> ListTasksAsync(int? itemsPerPage = default,


/// <inheritdoc />
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) =>
AsyncHelper.RunSync(() => ListTasksAsync(itemsPerPage, page, action, enabled, sourceID, destinationID, triggerType, sort, order, options, cancellationToken));
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) =>
AsyncHelper.RunSync(() => ListTasksAsync(itemsPerPage, page, action, enabled, sourceID, sourceType, destinationID, triggerType, sort, order, options, cancellationToken));


/// <inheritdoc />
Expand Down
4 changes: 2 additions & 2 deletions clients/algoliasearch-client-go/algolia/abtesting/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions clients/algoliasearch-client-go/algolia/analytics/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions clients/algoliasearch-client-go/algolia/ingestion/api_ingestion.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions clients/algoliasearch-client-go/algolia/insights/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions clients/algoliasearch-client-go/algolia/monitoring/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions clients/algoliasearch-client-go/algolia/recommend/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions clients/algoliasearch-client-go/algolia/search/api_search.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions clients/algoliasearch-client-go/algolia/search/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 46c9238

Please sign in to comment.