Skip to content

Commit 1dc3589

Browse files
algolia-botkai687
andcommitted
Merge branch 'main' into fix/specs/usage (generated)
Co-authored-by: Kai Welke <[email protected]>
1 parent 71af150 commit 1dc3589

File tree

42 files changed

+178
-217
lines changed

Some content is hidden

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

42 files changed

+178
-217
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public interface IInsightsClient
130130
object CustomPut(string path, Dictionary<string, object> parameters = default, object body = default, RequestOptions options = null, CancellationToken cancellationToken = default);
131131

132132
/// <summary>
133-
/// Deletes all events related to the specified user token from events metrics and analytics. The deletion is asynchronous, and processed within 48 hours. To delete a personalization user profile, see [Delete a user profile](/specs/personalization#tag/profiles/operation/deleteUserProfile).
133+
/// Deletes all events related to the specified user token from events metrics and analytics. The deletion is asynchronous, and processed within 48 hours. To delete a personalization user profile, see `Delete a user profile` in the Personalization API.
134134
/// </summary>
135135
/// <param name="userToken">User token for which to delete all associated events.</param>
136136
/// <param name="options">Add extra http header or query parameters to Algolia.</param>
@@ -142,7 +142,7 @@ public interface IInsightsClient
142142
Task DeleteUserTokenAsync(string userToken, RequestOptions options = null, CancellationToken cancellationToken = default);
143143

144144
/// <summary>
145-
/// Deletes all events related to the specified user token from events metrics and analytics. The deletion is asynchronous, and processed within 48 hours. To delete a personalization user profile, see [Delete a user profile](/specs/personalization#tag/profiles/operation/deleteUserProfile). (Synchronous version)
145+
/// Deletes all events related to the specified user token from events metrics and analytics. The deletion is asynchronous, and processed within 48 hours. To delete a personalization user profile, see `Delete a user profile` in the Personalization API. (Synchronous version)
146146
/// </summary>
147147
/// <param name="userToken">User token for which to delete all associated events.</param>
148148
/// <param name="options">Add extra http header or query parameters to Algolia.</param>
@@ -412,7 +412,7 @@ public object CustomPut(string path, Dictionary<string, object> parameters = def
412412

413413

414414
/// <summary>
415-
/// Deletes all events related to the specified user token from events metrics and analytics. The deletion is asynchronous, and processed within 48 hours. To delete a personalization user profile, see [Delete a user profile](/specs/personalization#tag/profiles/operation/deleteUserProfile).
415+
/// Deletes all events related to the specified user token from events metrics and analytics. The deletion is asynchronous, and processed within 48 hours. To delete a personalization user profile, see `Delete a user profile` in the Personalization API.
416416
/// </summary>
417417
/// <param name="userToken">User token for which to delete all associated events.</param>
418418
/// <param name="options">Add extra http header or query parameters to Algolia.</param>
@@ -436,7 +436,7 @@ public async Task DeleteUserTokenAsync(string userToken, RequestOptions options
436436

437437

438438
/// <summary>
439-
/// Deletes all events related to the specified user token from events metrics and analytics. The deletion is asynchronous, and processed within 48 hours. To delete a personalization user profile, see [Delete a user profile](/specs/personalization#tag/profiles/operation/deleteUserProfile). (Synchronous version)
439+
/// Deletes all events related to the specified user token from events metrics and analytics. The deletion is asynchronous, and processed within 48 hours. To delete a personalization user profile, see `Delete a user profile` in the Personalization API. (Synchronous version)
440440
/// </summary>
441441
/// <param name="userToken">User token for which to delete all associated events.</param>
442442
/// <param name="options">Add extra http header or query parameters to Algolia.</param>

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ public interface IQuerySuggestionsClient
154154
object CustomPut(string path, Dictionary<string, object> parameters = default, object body = default, RequestOptions options = null, CancellationToken cancellationToken = default);
155155

156156
/// <summary>
157-
/// Deletes a Query Suggestions configuration. Deleting only removes the configuration and stops updates to the Query Suggestions index. To delete the Query Suggestions index itself, use the Search API and the [Delete an index](/specs/search#tag/Indices/operation/deleteIndex) operation.
157+
/// Deletes a Query Suggestions configuration. Deleting only removes the configuration and stops updates to the Query Suggestions index. To delete the Query Suggestions index itself, use the Search API and the `Delete an index` operation.
158158
/// </summary>
159159
/// <param name="indexName">Query Suggestions index name.</param>
160160
/// <param name="options">Add extra http header or query parameters to Algolia.</param>
@@ -166,7 +166,7 @@ public interface IQuerySuggestionsClient
166166
Task<BaseResponse> DeleteConfigAsync(string indexName, RequestOptions options = null, CancellationToken cancellationToken = default);
167167

168168
/// <summary>
169-
/// Deletes a Query Suggestions configuration. Deleting only removes the configuration and stops updates to the Query Suggestions index. To delete the Query Suggestions index itself, use the Search API and the [Delete an index](/specs/search#tag/Indices/operation/deleteIndex) operation. (Synchronous version)
169+
/// Deletes a Query Suggestions configuration. Deleting only removes the configuration and stops updates to the Query Suggestions index. To delete the Query Suggestions index itself, use the Search API and the `Delete an index` operation. (Synchronous version)
170170
/// </summary>
171171
/// <param name="indexName">Query Suggestions index name.</param>
172172
/// <param name="options">Add extra http header or query parameters to Algolia.</param>
@@ -576,7 +576,7 @@ public object CustomPut(string path, Dictionary<string, object> parameters = def
576576

577577

578578
/// <summary>
579-
/// Deletes a Query Suggestions configuration. Deleting only removes the configuration and stops updates to the Query Suggestions index. To delete the Query Suggestions index itself, use the Search API and the [Delete an index](/specs/search#tag/Indices/operation/deleteIndex) operation.
579+
/// Deletes a Query Suggestions configuration. Deleting only removes the configuration and stops updates to the Query Suggestions index. To delete the Query Suggestions index itself, use the Search API and the `Delete an index` operation.
580580
/// </summary>
581581
///
582582
/// Required API Key ACLs:
@@ -603,7 +603,7 @@ public async Task<BaseResponse> DeleteConfigAsync(string indexName, RequestOptio
603603

604604

605605
/// <summary>
606-
/// Deletes a Query Suggestions configuration. Deleting only removes the configuration and stops updates to the Query Suggestions index. To delete the Query Suggestions index itself, use the Search API and the [Delete an index](/specs/search#tag/Indices/operation/deleteIndex) operation. (Synchronous version)
606+
/// Deletes a Query Suggestions configuration. Deleting only removes the configuration and stops updates to the Query Suggestions index. To delete the Query Suggestions index itself, use the Search API and the `Delete an index` operation. (Synchronous version)
607607
/// </summary>
608608
///
609609
/// Required API Key ACLs:

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

Lines changed: 16 additions & 16 deletions
Large diffs are not rendered by default.

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

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,6 @@ private static List<StatefulHost> GetDefaultHosts()
4343
LastUse = DateTime.UtcNow,
4444
Accept = CallType.Read | CallType.Write
4545
},
46-
new()
47-
{
48-
Url = "usage-dev.algolia.com",
49-
Up = true,
50-
LastUse = DateTime.UtcNow,
51-
Accept = CallType.Read | CallType.Write
52-
},
5346
};
5447
}
5548
}

clients/algoliasearch-client-dart/packages/client_insights/lib/src/api/insights_client.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ final class InsightsClient implements ApiClient {
185185
);
186186
}
187187

188-
/// Deletes all events related to the specified user token from events metrics and analytics. The deletion is asynchronous, and processed within 48 hours. To delete a personalization user profile, see [Delete a user profile](/specs/personalization#tag/profiles/operation/deleteUserProfile).
188+
/// Deletes all events related to the specified user token from events metrics and analytics. The deletion is asynchronous, and processed within 48 hours. To delete a personalization user profile, see `Delete a user profile` in the Personalization API.
189189
///
190190
/// Parameters:
191191
/// * [userToken] User token for which to delete all associated events.

clients/algoliasearch-client-go/algolia/insights/api_insights.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/algoliasearch-client-go/algolia/query-suggestions/api_query_suggestions.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/algoliasearch-client-go/algolia/usage/api_usage.go

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/algoliasearch-client-go/algolia/usage/client.go

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/algoliasearch-client-java/algoliasearch/src/main/java/com/algolia/api/InsightsClient.java

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -479,8 +479,7 @@ public CompletableFuture<Object> customPutAsync(@Nonnull String path) throws Alg
479479
/**
480480
* Deletes all events related to the specified user token from events metrics and analytics. The
481481
* deletion is asynchronous, and processed within 48 hours. To delete a personalization user
482-
* profile, see [Delete a user
483-
* profile](/specs/personalization#tag/profiles/operation/deleteUserProfile).
482+
* profile, see `Delete a user profile` in the Personalization API.
484483
*
485484
* @param userToken User token for which to delete all associated events. (required)
486485
* @param requestOptions The requestOptions to send along with the query, they will be merged with
@@ -495,8 +494,7 @@ public void deleteUserToken(@Nonnull String userToken, RequestOptions requestOpt
495494
/**
496495
* Deletes all events related to the specified user token from events metrics and analytics. The
497496
* deletion is asynchronous, and processed within 48 hours. To delete a personalization user
498-
* profile, see [Delete a user
499-
* profile](/specs/personalization#tag/profiles/operation/deleteUserProfile).
497+
* profile, see `Delete a user profile` in the Personalization API.
500498
*
501499
* @param userToken User token for which to delete all associated events. (required)
502500
* @throws AlgoliaRuntimeException If it fails to process the API call
@@ -508,8 +506,7 @@ public void deleteUserToken(@Nonnull String userToken) throws AlgoliaRuntimeExce
508506
/**
509507
* (asynchronously) Deletes all events related to the specified user token from events metrics and
510508
* analytics. The deletion is asynchronous, and processed within 48 hours. To delete a
511-
* personalization user profile, see [Delete a user
512-
* profile](/specs/personalization#tag/profiles/operation/deleteUserProfile).
509+
* personalization user profile, see `Delete a user profile` in the Personalization API.
513510
*
514511
* @param userToken User token for which to delete all associated events. (required)
515512
* @param requestOptions The requestOptions to send along with the query, they will be merged with
@@ -527,8 +524,7 @@ public CompletableFuture<Void> deleteUserTokenAsync(@Nonnull String userToken, R
527524
/**
528525
* (asynchronously) Deletes all events related to the specified user token from events metrics and
529526
* analytics. The deletion is asynchronous, and processed within 48 hours. To delete a
530-
* personalization user profile, see [Delete a user
531-
* profile](/specs/personalization#tag/profiles/operation/deleteUserProfile).
527+
* personalization user profile, see `Delete a user profile` in the Personalization API.
532528
*
533529
* @param userToken User token for which to delete all associated events. (required)
534530
* @throws AlgoliaRuntimeException If it fails to process the API call

clients/algoliasearch-client-java/algoliasearch/src/main/java/com/algolia/api/QuerySuggestionsClient.java

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -527,8 +527,7 @@ public CompletableFuture<Object> customPutAsync(@Nonnull String path) throws Alg
527527
/**
528528
* Deletes a Query Suggestions configuration. Deleting only removes the configuration and stops
529529
* updates to the Query Suggestions index. To delete the Query Suggestions index itself, use the
530-
* Search API and the [Delete an index](/specs/search#tag/Indices/operation/deleteIndex)
531-
* operation.
530+
* Search API and the `Delete an index` operation.
532531
*
533532
* @param indexName Query Suggestions index name. (required)
534533
* @param requestOptions The requestOptions to send along with the query, they will be merged with
@@ -542,8 +541,7 @@ public BaseResponse deleteConfig(@Nonnull String indexName, RequestOptions reque
542541
/**
543542
* Deletes a Query Suggestions configuration. Deleting only removes the configuration and stops
544543
* updates to the Query Suggestions index. To delete the Query Suggestions index itself, use the
545-
* Search API and the [Delete an index](/specs/search#tag/Indices/operation/deleteIndex)
546-
* operation.
544+
* Search API and the `Delete an index` operation.
547545
*
548546
* @param indexName Query Suggestions index name. (required)
549547
* @throws AlgoliaRuntimeException If it fails to process the API call
@@ -555,8 +553,7 @@ public BaseResponse deleteConfig(@Nonnull String indexName) throws AlgoliaRuntim
555553
/**
556554
* (asynchronously) Deletes a Query Suggestions configuration. Deleting only removes the
557555
* configuration and stops updates to the Query Suggestions index. To delete the Query Suggestions
558-
* index itself, use the Search API and the [Delete an
559-
* index](/specs/search#tag/Indices/operation/deleteIndex) operation.
556+
* index itself, use the Search API and the `Delete an index` operation.
560557
*
561558
* @param indexName Query Suggestions index name. (required)
562559
* @param requestOptions The requestOptions to send along with the query, they will be merged with
@@ -574,8 +571,7 @@ public CompletableFuture<BaseResponse> deleteConfigAsync(@Nonnull String indexNa
574571
/**
575572
* (asynchronously) Deletes a Query Suggestions configuration. Deleting only removes the
576573
* configuration and stops updates to the Query Suggestions index. To delete the Query Suggestions
577-
* index itself, use the Search API and the [Delete an
578-
* index](/specs/search#tag/Indices/operation/deleteIndex) operation.
574+
* index itself, use the Search API and the `Delete an index` operation.
579575
*
580576
* @param indexName Query Suggestions index name. (required)
581577
* @throws AlgoliaRuntimeException If it fails to process the API call

0 commit comments

Comments
 (0)