Skip to content

Commit 3694a49

Browse files
algolia-botkai687
andcommitted
fix(specs): add x-acl to insights endpoints (#4822) (generated) [skip ci]
Co-authored-by: Kai Welke <[email protected]>
1 parent bebb56e commit 3694a49

File tree

45 files changed

+193
-105
lines changed

Some content is hidden

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

45 files changed

+193
-105
lines changed

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

+12
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,9 @@ object CustomPut(
175175
/// <summary>
176176
/// 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.
177177
/// </summary>
178+
///
179+
/// Required API Key ACLs:
180+
/// - deleteObject
178181
/// <param name="userToken">User token for which to delete all associated events.</param>
179182
/// <param name="options">Add extra http header or query parameters to Algolia.</param>
180183
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
@@ -191,6 +194,9 @@ Task DeleteUserTokenAsync(
191194
/// <summary>
192195
/// 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)
193196
/// </summary>
197+
///
198+
/// Required API Key ACLs:
199+
/// - deleteObject
194200
/// <param name="userToken">User token for which to delete all associated events.</param>
195201
/// <param name="options">Add extra http header or query parameters to Algolia.</param>
196202
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
@@ -207,6 +213,9 @@ void DeleteUserToken(
207213
/// <summary>
208214
/// Sends a list of events to the Insights API. You can include up to 1,000 events in a single request, but the request body must be smaller than 2&nbsp;MB.
209215
/// </summary>
216+
///
217+
/// Required API Key ACLs:
218+
/// - search
210219
/// <param name="insightsEvents"></param>
211220
/// <param name="options">Add extra http header or query parameters to Algolia.</param>
212221
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
@@ -223,6 +232,9 @@ Task<EventsResponse> PushEventsAsync(
223232
/// <summary>
224233
/// Sends a list of events to the Insights API. You can include up to 1,000 events in a single request, but the request body must be smaller than 2&nbsp;MB. (Synchronous version)
225234
/// </summary>
235+
///
236+
/// Required API Key ACLs:
237+
/// - search
226238
/// <param name="insightsEvents"></param>
227239
/// <param name="options">Add extra http header or query parameters to Algolia.</param>
228240
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param>

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

+6
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,9 @@ final class InsightsClient implements ApiClient {
187187

188188
/// 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
///
190+
/// Required API Key ACLs:
191+
/// - deleteObject
192+
///
190193
/// Parameters:
191194
/// * [userToken] User token for which to delete all associated events.
192195
/// * [requestOptions] additional request configuration.
@@ -211,6 +214,9 @@ final class InsightsClient implements ApiClient {
211214

212215
/// Sends a list of events to the Insights API. You can include up to 1,000 events in a single request, but the request body must be smaller than 2&nbsp;MB.
213216
///
217+
/// Required API Key ACLs:
218+
/// - search
219+
///
214220
/// Parameters:
215221
/// * [insightsEvents]
216222
/// * [requestOptions] additional request configuration.

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

+12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/algoliasearch-client-javascript/packages/client-insights/src/insightsClient.ts

+6
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,9 @@ export function createInsightsClient({
231231

232232
/**
233233
* 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.
234+
*
235+
* Required API Key ACLs:
236+
* - deleteObject
234237
* @param deleteUserToken - The deleteUserToken object.
235238
* @param deleteUserToken.userToken - User token for which to delete all associated events.
236239
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
@@ -256,6 +259,9 @@ export function createInsightsClient({
256259

257260
/**
258261
* Sends a list of events to the Insights API. You can include up to 1,000 events in a single request, but the request body must be smaller than 2&nbsp;MB.
262+
*
263+
* Required API Key ACLs:
264+
* - search
259265
* @param insightsEvents - The insightsEvents object.
260266
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
261267
*/

clients/algoliasearch-client-kotlin/client/src/commonMain/kotlin/com/algolia/client/api/InsightsClient.kt

+6
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,9 @@ public class InsightsClient(
119119

120120
/**
121121
* 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.
122+
*
123+
* Required API Key ACLs:
124+
* - deleteObject
122125
* @param userToken User token for which to delete all associated events.
123126
* @param requestOptions additional request configuration.
124127
*/
@@ -136,6 +139,9 @@ public class InsightsClient(
136139

137140
/**
138141
* Sends a list of events to the Insights API. You can include up to 1,000 events in a single request, but the request body must be smaller than 2&nbsp;MB.
142+
*
143+
* Required API Key ACLs:
144+
* - search
139145
* @param insightsEvents
140146
* @param requestOptions additional request configuration.
141147
*/

clients/algoliasearch-client-php/lib/Api/InsightsClient.php

+6
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,9 @@ public function customPut($path, $parameters = null, $body = null, $requestOptio
270270
/**
271271
* 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.
272272
*
273+
* Required API Key ACLs:
274+
* - deleteObject
275+
*
273276
* @param string $userToken User token for which to delete all associated events. (required)
274277
* @param array $requestOptions the requestOptions to send along with the query, they will be merged with the transporter requestOptions
275278
*/
@@ -302,6 +305,9 @@ public function deleteUserToken($userToken, $requestOptions = [])
302305
/**
303306
* Sends a list of events to the Insights API. You can include up to 1,000 events in a single request, but the request body must be smaller than 2&nbsp;MB.
304307
*
308+
* Required API Key ACLs:
309+
* - search
310+
*
305311
* @param array|InsightsEvents $insightsEvents insightsEvents (required)
306312
* - $insightsEvents['events'] => (array) Click and conversion events. **All** events must be valid, otherwise the API returns an error. (required)
307313
*

clients/algoliasearch-client-python/algoliasearch/insights/client.py

+16
Original file line numberDiff line numberDiff line change
@@ -472,6 +472,8 @@ async def delete_user_token_with_http_info(
472472
"""
473473
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.
474474
475+
Required API Key ACLs:
476+
- deleteObject
475477
476478
:param user_token: User token for which to delete all associated events. (required)
477479
:type user_token: str
@@ -511,6 +513,8 @@ async def delete_user_token(
511513
"""
512514
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.
513515
516+
Required API Key ACLs:
517+
- deleteObject
514518
515519
:param user_token: User token for which to delete all associated events. (required)
516520
:type user_token: str
@@ -527,6 +531,8 @@ async def push_events_with_http_info(
527531
"""
528532
Sends a list of events to the Insights API. You can include up to 1,000 events in a single request, but the request body must be smaller than 2&nbsp;MB.
529533
534+
Required API Key ACLs:
535+
- search
530536
531537
:param insights_events: (required)
532538
:type insights_events: InsightsEvents
@@ -561,6 +567,8 @@ async def push_events(
561567
"""
562568
Sends a list of events to the Insights API. You can include up to 1,000 events in a single request, but the request body must be smaller than 2&nbsp;MB.
563569
570+
Required API Key ACLs:
571+
- search
564572
565573
:param insights_events: (required)
566574
:type insights_events: InsightsEvents
@@ -1005,6 +1013,8 @@ def delete_user_token_with_http_info(
10051013
"""
10061014
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.
10071015
1016+
Required API Key ACLs:
1017+
- deleteObject
10081018
10091019
:param user_token: User token for which to delete all associated events. (required)
10101020
:type user_token: str
@@ -1044,6 +1054,8 @@ def delete_user_token(
10441054
"""
10451055
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.
10461056
1057+
Required API Key ACLs:
1058+
- deleteObject
10471059
10481060
:param user_token: User token for which to delete all associated events. (required)
10491061
:type user_token: str
@@ -1060,6 +1072,8 @@ def push_events_with_http_info(
10601072
"""
10611073
Sends a list of events to the Insights API. You can include up to 1,000 events in a single request, but the request body must be smaller than 2&nbsp;MB.
10621074
1075+
Required API Key ACLs:
1076+
- search
10631077
10641078
:param insights_events: (required)
10651079
:type insights_events: InsightsEvents
@@ -1094,6 +1108,8 @@ def push_events(
10941108
"""
10951109
Sends a list of events to the Insights API. You can include up to 1,000 events in a single request, but the request body must be smaller than 2&nbsp;MB.
10961110
1111+
Required API Key ACLs:
1112+
- search
10971113
10981114
:param insights_events: (required)
10991115
:type insights_events: InsightsEvents

clients/algoliasearch-client-ruby/lib/algolia/api/insights_client.rb

+12-4
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,9 @@ def custom_put(path, parameters = nil, body = nil, request_options = {})
246246
end
247247

248248
# 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.
249-
249+
#
250+
# Required API Key ACLs:
251+
# - deleteObject
250252
# @param user_token [String] User token for which to delete all associated events. (required)
251253
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
252254
# @return [Http::Response] the response
@@ -276,7 +278,9 @@ def delete_user_token_with_http_info(user_token, request_options = {})
276278
end
277279

278280
# 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.
279-
281+
#
282+
# Required API Key ACLs:
283+
# - deleteObject
280284
# @param user_token [String] User token for which to delete all associated events. (required)
281285
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
282286
# @return [nil]
@@ -286,7 +290,9 @@ def delete_user_token(user_token, request_options = {})
286290
end
287291

288292
# Sends a list of events to the Insights API. You can include up to 1,000 events in a single request, but the request body must be smaller than 2&nbsp;MB.
289-
293+
#
294+
# Required API Key ACLs:
295+
# - search
290296
# @param insights_events [InsightsEvents] (required)
291297
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
292298
# @return [Http::Response] the response
@@ -316,7 +322,9 @@ def push_events_with_http_info(insights_events, request_options = {})
316322
end
317323

318324
# Sends a list of events to the Insights API. You can include up to 1,000 events in a single request, but the request body must be smaller than 2&nbsp;MB.
319-
325+
#
326+
# Required API Key ACLs:
327+
# - search
320328
# @param insights_events [InsightsEvents] (required)
321329
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
322330
# @return [EventsResponse]

clients/algoliasearch-client-scala/src/main/scala/algoliasearch/api/InsightsClient.scala

+6
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,9 @@ class InsightsClient(
189189
* asynchronous, and processed within 48 hours. To delete a personalization user profile, see `Delete a user profile`
190190
* in the Personalization API.
191191
*
192+
* Required API Key ACLs:
193+
* - deleteObject
194+
*
192195
* @param userToken
193196
* User token for which to delete all associated events.
194197
*/
@@ -207,6 +210,9 @@ class InsightsClient(
207210

208211
/** Sends a list of events to the Insights API. You can include up to 1,000 events in a single request, but the
209212
* request body must be smaller than 2&nbsp;MB.
213+
*
214+
* Required API Key ACLs:
215+
* - search
210216
*/
211217
def pushEvents(insightsEvents: InsightsEvents, requestOptions: Option[RequestOptions] = None)(implicit
212218
ec: ExecutionContext

clients/algoliasearch-client-swift/Sources/Insights/InsightsClient.swift

+4-2
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,8 @@ open class InsightsClient {
314314
/// Deletes all events related to the specified user token from events metrics and analytics. The deletion is
315315
/// asynchronous, and processed within 48 hours. To delete a personalization user profile, see `Delete a user
316316
/// profile` in the Personalization API.
317-
///
317+
/// Required API Key ACLs:
318+
/// - deleteObject
318319
///
319320
/// - parameter userToken: (path) User token for which to delete all associated events.
320321
/// - returns: RequestBuilder<Void>
@@ -376,7 +377,8 @@ open class InsightsClient {
376377

377378
// Sends a list of events to the Insights API. You can include up to 1,000 events in a single request, but the
378379
// request body must be smaller than 2&nbsp;MB.
379-
//
380+
// Required API Key ACLs:
381+
// - search
380382
//
381383
// - parameter insightsEvents: (body)
382384
// - returns: RequestBuilder<EventsResponse>

0 commit comments

Comments
 (0)