Skip to content

Commit cbac9ab

Browse files
authored
Merge branch 'main' into feat/add-chopper-requester-package
2 parents c4978ad + 1bb205a commit cbac9ab

File tree

389 files changed

+7310
-7110
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

389 files changed

+7310
-7110
lines changed

.github/workflows/check.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
runs-on: ubuntu-22.04
4242
timeout-minutes: 10
4343
env:
44-
CACHE_VERSION: 1.10 # bump this to run all clients on the CI.
44+
CACHE_VERSION: 1.11 # bump this to run all clients on the CI.
4545
steps:
4646
- name: debugging - dump GitHub context
4747
env:
@@ -189,6 +189,8 @@ jobs:
189189
ALGOLIA_APPLICATION_ID: ${{ secrets.ALGOLIA_APPLICATION_ID }}
190190
ALGOLIA_ADMIN_KEY: ${{ secrets.ALGOLIA_ADMIN_KEY }}
191191
MONITORING_API_KEY: ${{ secrets.MONITORING_API_KEY }}
192+
METIS_APPLICATION_ID: ${{ secrets.METIS_APPLICATION_ID }}
193+
METIS_API_KEY: ${{ secrets.METIS_API_KEY }}
192194
name: client javascript${{ needs.setup.outputs.RUN_GEN_JAVASCRIPT == 'true' && format('@{0}', fromJSON(needs.setup.outputs.JAVASCRIPT_DATA).version) || '' }}
193195
steps:
194196
- uses: actions/checkout@v4

clients/algoliasearch-client-csharp/algoliasearch/Clients/SearchClient.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -514,8 +514,8 @@ public partial interface ISearchClient
514514
/// <exception cref="ArgumentException">Thrown when arguments are not correct</exception>
515515
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
516516
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
517-
/// <returns>Task of DeletedAtResponse</returns>
518-
Task<DeletedAtResponse> DeleteByAsync(string indexName, DeleteByParams deleteByParams, RequestOptions options = null, CancellationToken cancellationToken = default);
517+
/// <returns>Task of UpdatedAtResponse</returns>
518+
Task<UpdatedAtResponse> DeleteByAsync(string indexName, DeleteByParams deleteByParams, RequestOptions options = null, CancellationToken cancellationToken = default);
519519

520520
/// <summary>
521521
/// This operation doesn't accept empty queries or filters. It's more efficient to get a list of object IDs with the [`browse` operation](#tag/Search/operation/browse), and then delete the records using the [`batch` operation](#tag/Records/operation/batch). (Synchronous version)
@@ -530,8 +530,8 @@ public partial interface ISearchClient
530530
/// <exception cref="ArgumentException">Thrown when arguments are not correct</exception>
531531
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
532532
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
533-
/// <returns>DeletedAtResponse</returns>
534-
DeletedAtResponse DeleteBy(string indexName, DeleteByParams deleteByParams, RequestOptions options = null, CancellationToken cancellationToken = default);
533+
/// <returns>UpdatedAtResponse</returns>
534+
UpdatedAtResponse DeleteBy(string indexName, DeleteByParams deleteByParams, RequestOptions options = null, CancellationToken cancellationToken = default);
535535

536536
/// <summary>
537537
/// Deletes an index and all its settings. - Deleting an index doesn't delete its analytics data. - If you try to delete a non-existing index, the operation is ignored without warning. - If the index you want to delete has replica indices, the replicas become independent indices. - If the index you want to delete is a replica index, you must first unlink it from its primary index before you can delete it. For more information, see [Delete replica indices](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/how-to/deleting-replicas/).
@@ -2374,7 +2374,7 @@ public DeleteApiKeyResponse DeleteApiKey(string key, RequestOptions options = nu
23742374

23752375

23762376
/// <inheritdoc />
2377-
public async Task<DeletedAtResponse> DeleteByAsync(string indexName, DeleteByParams deleteByParams, RequestOptions options = null, CancellationToken cancellationToken = default)
2377+
public async Task<UpdatedAtResponse> DeleteByAsync(string indexName, DeleteByParams deleteByParams, RequestOptions options = null, CancellationToken cancellationToken = default)
23782378
{
23792379

23802380
if (indexName == null)
@@ -2389,12 +2389,12 @@ public async Task<DeletedAtResponse> DeleteByAsync(string indexName, DeleteByPar
23892389
requestOptions.PathParameters.Add("indexName", QueryStringHelper.ParameterToString(indexName));
23902390

23912391
requestOptions.Data = deleteByParams;
2392-
return await _transport.ExecuteRequestAsync<DeletedAtResponse>(new HttpMethod("POST"), "/1/indexes/{indexName}/deleteByQuery", requestOptions, cancellationToken).ConfigureAwait(false);
2392+
return await _transport.ExecuteRequestAsync<UpdatedAtResponse>(new HttpMethod("POST"), "/1/indexes/{indexName}/deleteByQuery", requestOptions, cancellationToken).ConfigureAwait(false);
23932393
}
23942394

23952395

23962396
/// <inheritdoc />
2397-
public DeletedAtResponse DeleteBy(string indexName, DeleteByParams deleteByParams, RequestOptions options = null, CancellationToken cancellationToken = default) =>
2397+
public UpdatedAtResponse DeleteBy(string indexName, DeleteByParams deleteByParams, RequestOptions options = null, CancellationToken cancellationToken = default) =>
23982398
AsyncHelper.RunSync(() => DeleteByAsync(indexName, deleteByParams, options, cancellationToken));
23992399

24002400

clients/algoliasearch-client-csharp/algoliasearch/Models/Ingestion/AuthInput.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public AuthInput(AuthAlgoliaInsights actualInstance)
8484
/// Initializes a new instance of the AuthInput class
8585
/// with a Dictionary{string, string}
8686
/// </summary>
87-
/// <param name="actualInstance">An instance of Dictionary&lt;string, string&gt;.</param>
87+
/// <param name="actualInstance">An instance of Dictionary<string, string>.</param>
8888
public AuthInput(Dictionary<string, string> actualInstance)
8989
{
9090
ActualInstance = actualInstance;

clients/algoliasearch-client-csharp/algoliasearch/Models/Ingestion/AuthInputPartial.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public AuthInputPartial(AuthAlgoliaInsightsPartial actualInstance)
8484
/// Initializes a new instance of the AuthInputPartial class
8585
/// with a Dictionary{string, string}
8686
/// </summary>
87-
/// <param name="actualInstance">An instance of Dictionary&lt;string, string&gt;.</param>
87+
/// <param name="actualInstance">An instance of Dictionary<string, string>.</param>
8888
public AuthInputPartial(Dictionary<string, string> actualInstance)
8989
{
9090
ActualInstance = actualInstance;

clients/algoliasearch-client-csharp/algoliasearch/Models/QuerySuggestions/Languages.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public partial class Languages : AbstractSchema
2424
/// Initializes a new instance of the Languages class
2525
/// with a List{String}
2626
/// </summary>
27-
/// <param name="actualInstance">An instance of List&lt;string&gt;.</param>
27+
/// <param name="actualInstance">An instance of List<string>.</param>
2828
public Languages(List<string> actualInstance)
2929
{
3030
ActualInstance = actualInstance ?? throw new ArgumentException("Invalid instance found. Must not be null.");

clients/algoliasearch-client-csharp/algoliasearch/Models/Recommend/AroundPrecision.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public AroundPrecision(int actualInstance)
3434
/// Initializes a new instance of the AroundPrecision class
3535
/// with a List{Range}
3636
/// </summary>
37-
/// <param name="actualInstance">An instance of List&lt;Range&gt;.</param>
37+
/// <param name="actualInstance">An instance of List<Range>.</param>
3838
public AroundPrecision(List<Range> actualInstance)
3939
{
4040
ActualInstance = actualInstance ?? throw new ArgumentException("Invalid instance found. Must not be null.");

clients/algoliasearch-client-csharp/algoliasearch/Models/Recommend/FacetFilters.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public partial class FacetFilters : AbstractSchema
2424
/// Initializes a new instance of the FacetFilters class
2525
/// with a List{FacetFilters}
2626
/// </summary>
27-
/// <param name="actualInstance">An instance of List&lt;FacetFilters&gt;.</param>
27+
/// <param name="actualInstance">An instance of List<FacetFilters>.</param>
2828
public FacetFilters(List<FacetFilters> actualInstance)
2929
{
3030
ActualInstance = actualInstance ?? throw new ArgumentException("Invalid instance found. Must not be null.");

0 commit comments

Comments
 (0)