Skip to content

Commit 43e50d4

Browse files
authored
Merge branch 'main' into feat/swift-disjunctive-faceting
2 parents f8b871c + 6e91dbf commit 43e50d4

File tree

1,198 files changed

+33153
-37631
lines changed

Some content is hidden

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

1,198 files changed

+33153
-37631
lines changed

clients/algoliasearch-client-csharp/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
## [7.4.1](https://github.com/algolia/algoliasearch-client-csharp/compare/7.4.0...7.4.1)
2+
3+
- [1a73994ff](https://github.com/algolia/api-clients-automation/commit/1a73994ff) fix(specs): recommend remove unsupported query parameters [RECO-2345] [skip-bc] ([#3692](https://github.com/algolia/api-clients-automation/pull/3692)) by [@raed667](https://github.com/raed667/)
4+
- [92438873c](https://github.com/algolia/api-clients-automation/commit/92438873c) fix(specs): remove models from ingestion specs [skip-bc] ([#3774](https://github.com/algolia/api-clients-automation/pull/3774)) by [@shortcuts](https://github.com/shortcuts/)
5+
6+
## [7.4.0](https://github.com/algolia/algoliasearch-client-csharp/compare/7.3.2...7.4.0)
7+
8+
- [e74af8d71](https://github.com/algolia/api-clients-automation/commit/e74af8d71) fix(csharp): remove global enum converter ([#3765](https://github.com/algolia/api-clients-automation/pull/3765)) by [@morganleroi](https://github.com/morganleroi/)
9+
110
## [7.3.2](https://github.com/algolia/algoliasearch-client-csharp/compare/7.3.1...7.3.2)
211

312
- [638058eae](https://github.com/algolia/api-clients-automation/commit/638058eae) fix(specs): update search api specs [skip-bc] ([#3760](https://github.com/algolia/api-clients-automation/pull/3760)) by [@Fluf22](https://github.com/Fluf22/)

clients/algoliasearch-client-csharp/algoliasearch/Algolia.Search.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<RepositoryUrl>https://github.com/algolia/algoliasearch-client-csharp</RepositoryUrl>
2121
<RepositoryType>git</RepositoryType>
2222
<RequireLicenseAcceptance>false</RequireLicenseAcceptance>
23-
<Version>7.3.2</Version>
23+
<Version>7.4.1</Version>
2424
<GenerateDocumentationFile>true</GenerateDocumentationFile>
2525
<TargetFrameworks>netstandard2.1;netstandard2.0</TargetFrameworks>
2626
<IncludeSymbols>true</IncludeSymbols>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public sealed class AbtestingConfig : AlgoliaConfig
2828
/// <param name="appId">Your application ID</param>
2929
/// <param name="apiKey">Your API Key</param>
3030
/// <param name="region">Targeted region (optional)</param>
31-
public AbtestingConfig(string appId, string apiKey, string region = null) : base(appId, apiKey, "Abtesting", "7.3.2")
31+
public AbtestingConfig(string appId, string apiKey, string region = null) : base(appId, apiKey, "Abtesting", "7.4.1")
3232
{
3333
DefaultHosts = GetDefaultHosts(region);
3434
Compression = CompressionType.None;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public sealed class AnalyticsConfig : AlgoliaConfig
2828
/// <param name="appId">Your application ID</param>
2929
/// <param name="apiKey">Your API Key</param>
3030
/// <param name="region">Targeted region (optional)</param>
31-
public AnalyticsConfig(string appId, string apiKey, string region = null) : base(appId, apiKey, "Analytics", "7.3.2")
31+
public AnalyticsConfig(string appId, string apiKey, string region = null) : base(appId, apiKey, "Analytics", "7.4.1")
3232
{
3333
DefaultHosts = GetDefaultHosts(region);
3434
Compression = CompressionType.None;

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

Lines changed: 0 additions & 101 deletions
Original file line numberDiff line numberDiff line change
@@ -615,40 +615,6 @@ public interface IIngestionClient
615615
/// <returns>TaskUpdateResponse</returns>
616616
TaskUpdateResponse EnableTaskV1(string taskID, RequestOptions options = null, CancellationToken cancellationToken = default);
617617

618-
/// <summary>
619-
/// Generates code for the selected model based on the given prompt.
620-
/// </summary>
621-
///
622-
/// Required API Key ACLs:
623-
/// - addObject
624-
/// - deleteIndex
625-
/// - editSettings
626-
/// <param name="generateTransformationCodePayload"></param>
627-
/// <param name="options">Add extra http header or query parameters to Algolia.</param>
628-
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
629-
/// <exception cref="ArgumentException">Thrown when arguments are not correct</exception>
630-
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
631-
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
632-
/// <returns>Task of GenerateTransformationCodeResponse</returns>
633-
Task<GenerateTransformationCodeResponse> GenerateTransformationCodeAsync(GenerateTransformationCodePayload generateTransformationCodePayload, RequestOptions options = null, CancellationToken cancellationToken = default);
634-
635-
/// <summary>
636-
/// Generates code for the selected model based on the given prompt. (Synchronous version)
637-
/// </summary>
638-
///
639-
/// Required API Key ACLs:
640-
/// - addObject
641-
/// - deleteIndex
642-
/// - editSettings
643-
/// <param name="generateTransformationCodePayload"></param>
644-
/// <param name="options">Add extra http header or query parameters to Algolia.</param>
645-
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
646-
/// <exception cref="ArgumentException">Thrown when arguments are not correct</exception>
647-
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
648-
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
649-
/// <returns>GenerateTransformationCodeResponse</returns>
650-
GenerateTransformationCodeResponse GenerateTransformationCode(GenerateTransformationCodePayload generateTransformationCodePayload, RequestOptions options = null, CancellationToken cancellationToken = default);
651-
652618
/// <summary>
653619
/// Retrieves an authentication resource by its ID.
654620
/// </summary>
@@ -1255,38 +1221,6 @@ public interface IIngestionClient
12551221
/// <returns>ListTasksResponseV1</returns>
12561222
ListTasksResponseV1 ListTasksV1(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);
12571223

1258-
/// <summary>
1259-
/// Retrieves a list of existing LLM transformation helpers.
1260-
/// </summary>
1261-
///
1262-
/// Required API Key ACLs:
1263-
/// - addObject
1264-
/// - deleteIndex
1265-
/// - editSettings
1266-
/// <param name="options">Add extra http header or query parameters to Algolia.</param>
1267-
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
1268-
/// <exception cref="ArgumentException">Thrown when arguments are not correct</exception>
1269-
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
1270-
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
1271-
/// <returns>Task of TransformationModels</returns>
1272-
Task<TransformationModels> ListTransformationModelsAsync(RequestOptions options = null, CancellationToken cancellationToken = default);
1273-
1274-
/// <summary>
1275-
/// Retrieves a list of existing LLM transformation helpers. (Synchronous version)
1276-
/// </summary>
1277-
///
1278-
/// Required API Key ACLs:
1279-
/// - addObject
1280-
/// - deleteIndex
1281-
/// - editSettings
1282-
/// <param name="options">Add extra http header or query parameters to Algolia.</param>
1283-
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
1284-
/// <exception cref="ArgumentException">Thrown when arguments are not correct</exception>
1285-
/// <exception cref="Algolia.Search.Exceptions.AlgoliaApiException">Thrown when the API call was rejected by Algolia</exception>
1286-
/// <exception cref="Algolia.Search.Exceptions.AlgoliaUnreachableHostException">Thrown when the client failed to call the endpoint</exception>
1287-
/// <returns>TransformationModels</returns>
1288-
TransformationModels ListTransformationModels(RequestOptions options = null, CancellationToken cancellationToken = default);
1289-
12901224
/// <summary>
12911225
/// Retrieves a list of transformations.
12921226
/// </summary>
@@ -2514,26 +2448,6 @@ public TaskUpdateResponse EnableTaskV1(string taskID, RequestOptions options = n
25142448
AsyncHelper.RunSync(() => EnableTaskV1Async(taskID, options, cancellationToken));
25152449

25162450

2517-
/// <inheritdoc />
2518-
public async Task<GenerateTransformationCodeResponse> GenerateTransformationCodeAsync(GenerateTransformationCodePayload generateTransformationCodePayload, RequestOptions options = null, CancellationToken cancellationToken = default)
2519-
{
2520-
2521-
if (generateTransformationCodePayload == null)
2522-
throw new ArgumentException("Parameter `generateTransformationCodePayload` is required when calling `GenerateTransformationCode`.");
2523-
2524-
var requestOptions = new InternalRequestOptions(options);
2525-
2526-
2527-
requestOptions.Data = generateTransformationCodePayload;
2528-
return await _transport.ExecuteRequestAsync<GenerateTransformationCodeResponse>(new HttpMethod("POST"), "/1/transformations/models", requestOptions, cancellationToken).ConfigureAwait(false);
2529-
}
2530-
2531-
2532-
/// <inheritdoc />
2533-
public GenerateTransformationCodeResponse GenerateTransformationCode(GenerateTransformationCodePayload generateTransformationCodePayload, RequestOptions options = null, CancellationToken cancellationToken = default) =>
2534-
AsyncHelper.RunSync(() => GenerateTransformationCodeAsync(generateTransformationCodePayload, options, cancellationToken));
2535-
2536-
25372451
/// <inheritdoc />
25382452
public async Task<Authentication> GetAuthenticationAsync(string authenticationID, RequestOptions options = null, CancellationToken cancellationToken = default)
25392453
{
@@ -2862,21 +2776,6 @@ public ListTasksResponseV1 ListTasksV1(int? itemsPerPage = default, int? page =
28622776
AsyncHelper.RunSync(() => ListTasksV1Async(itemsPerPage, page, action, enabled, sourceID, destinationID, triggerType, sort, order, options, cancellationToken));
28632777

28642778

2865-
/// <inheritdoc />
2866-
public async Task<TransformationModels> ListTransformationModelsAsync(RequestOptions options = null, CancellationToken cancellationToken = default)
2867-
{
2868-
var requestOptions = new InternalRequestOptions(options);
2869-
2870-
2871-
return await _transport.ExecuteRequestAsync<TransformationModels>(new HttpMethod("GET"), "/1/transformations/models", requestOptions, cancellationToken).ConfigureAwait(false);
2872-
}
2873-
2874-
2875-
/// <inheritdoc />
2876-
public TransformationModels ListTransformationModels(RequestOptions options = null, CancellationToken cancellationToken = default) =>
2877-
AsyncHelper.RunSync(() => ListTransformationModelsAsync(options, cancellationToken));
2878-
2879-
28802779
/// <inheritdoc />
28812780
public async Task<ListTransformationsResponse> ListTransformationsAsync(int? itemsPerPage = default, int? page = default, SortKeys? sort = default, OrderKeys? order = default, RequestOptions options = null, CancellationToken cancellationToken = default)
28822781
{

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public sealed class IngestionConfig : AlgoliaConfig
2828
/// <param name="appId">Your application ID</param>
2929
/// <param name="apiKey">Your API Key</param>
3030
/// <param name="region">Targeted region </param>
31-
public IngestionConfig(string appId, string apiKey, string region) : base(appId, apiKey, "Ingestion", "7.3.2")
31+
public IngestionConfig(string appId, string apiKey, string region) : base(appId, apiKey, "Ingestion", "7.4.1")
3232
{
3333
DefaultHosts = GetDefaultHosts(region);
3434
Compression = CompressionType.None;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public sealed class InsightsConfig : AlgoliaConfig
2828
/// <param name="appId">Your application ID</param>
2929
/// <param name="apiKey">Your API Key</param>
3030
/// <param name="region">Targeted region (optional)</param>
31-
public InsightsConfig(string appId, string apiKey, string region = null) : base(appId, apiKey, "Insights", "7.3.2")
31+
public InsightsConfig(string appId, string apiKey, string region = null) : base(appId, apiKey, "Insights", "7.4.1")
3232
{
3333
DefaultHosts = GetDefaultHosts(region);
3434
Compression = CompressionType.None;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public sealed class MonitoringConfig : AlgoliaConfig
2727
/// </summary>
2828
/// <param name="appId">Your application ID</param>
2929
/// <param name="apiKey">Your API Key</param>
30-
public MonitoringConfig(string appId, string apiKey) : base(appId, apiKey, "Monitoring", "7.3.2")
30+
public MonitoringConfig(string appId, string apiKey) : base(appId, apiKey, "Monitoring", "7.4.1")
3131
{
3232
DefaultHosts = GetDefaultHosts();
3333
Compression = CompressionType.None;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public sealed class PersonalizationConfig : AlgoliaConfig
2828
/// <param name="appId">Your application ID</param>
2929
/// <param name="apiKey">Your API Key</param>
3030
/// <param name="region">Targeted region </param>
31-
public PersonalizationConfig(string appId, string apiKey, string region) : base(appId, apiKey, "Personalization", "7.3.2")
31+
public PersonalizationConfig(string appId, string apiKey, string region) : base(appId, apiKey, "Personalization", "7.4.1")
3232
{
3333
DefaultHosts = GetDefaultHosts(region);
3434
Compression = CompressionType.None;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public sealed class QuerySuggestionsConfig : AlgoliaConfig
2828
/// <param name="appId">Your application ID</param>
2929
/// <param name="apiKey">Your API Key</param>
3030
/// <param name="region">Targeted region </param>
31-
public QuerySuggestionsConfig(string appId, string apiKey, string region) : base(appId, apiKey, "QuerySuggestions", "7.3.2")
31+
public QuerySuggestionsConfig(string appId, string apiKey, string region) : base(appId, apiKey, "QuerySuggestions", "7.4.1")
3232
{
3333
DefaultHosts = GetDefaultHosts(region);
3434
Compression = CompressionType.None;

0 commit comments

Comments
 (0)