algolia 3.0.0.alpha.16 → 3.0.0.alpha.18

Sign up to get free protection for your applications and to get access to all the features.
Files changed (157) hide show
  1. checksums.yaml +4 -4
  2. data/.openapi-generator/FILES +10 -167
  3. data/CHANGELOG.md +16 -0
  4. data/Gemfile.lock +4 -4
  5. data/lib/algolia/api/abtesting_client.rb +20 -20
  6. data/lib/algolia/api/analytics_client.rb +76 -76
  7. data/lib/algolia/api/personalization_client.rb +12 -12
  8. data/lib/algolia/api/recommend_client.rb +22 -22
  9. data/lib/algolia/api/search_client.rb +8 -8
  10. data/lib/algolia/api/usage_client.rb +329 -0
  11. data/lib/algolia/models/abtesting/ab_test.rb +41 -16
  12. data/lib/algolia/models/abtesting/ab_test_configuration.rb +217 -0
  13. data/lib/algolia/models/abtesting/ab_test_response.rb +2 -2
  14. data/lib/algolia/models/abtesting/ab_tests_variant.rb +21 -3
  15. data/lib/algolia/models/abtesting/ab_tests_variant_search_params.rb +21 -3
  16. data/lib/algolia/models/abtesting/add_ab_tests_request.rb +1 -1
  17. data/lib/algolia/models/abtesting/custom_search_params.rb +1 -1
  18. data/lib/algolia/models/abtesting/effect.rb +35 -0
  19. data/lib/algolia/models/abtesting/empty_search.rb +198 -0
  20. data/lib/algolia/models/abtesting/list_ab_tests_response.rb +1 -1
  21. data/lib/algolia/models/abtesting/minimum_detectable_effect.rb +247 -0
  22. data/lib/algolia/models/abtesting/outliers.rb +198 -0
  23. data/lib/algolia/models/abtesting/status.rb +35 -0
  24. data/lib/algolia/models/abtesting/variant.rb +31 -13
  25. data/lib/algolia/models/analytics/get_status_response.rb +1 -1
  26. data/lib/algolia/models/ingestion/auth_algolia_insights.rb +212 -0
  27. data/lib/algolia/models/{recommend/consequence_query_object.rb → ingestion/auth_algolia_insights_partial.rb} +21 -24
  28. data/lib/algolia/models/ingestion/auth_input.rb +1 -0
  29. data/lib/algolia/models/ingestion/auth_input_partial.rb +1 -0
  30. data/lib/algolia/models/ingestion/authentication_type.rb +2 -1
  31. data/lib/algolia/models/ingestion/destination_index_name.rb +1 -1
  32. data/lib/algolia/models/ingestion/shopify_input.rb +212 -0
  33. data/lib/algolia/models/ingestion/shopify_market.rb +227 -0
  34. data/lib/algolia/models/ingestion/shopify_metafield.rb +221 -0
  35. data/lib/algolia/models/ingestion/source_input.rb +2 -1
  36. data/lib/algolia/models/ingestion/source_shopify.rb +278 -0
  37. data/lib/algolia/models/{recommend/base_recommended_for_you_query_parameters.rb → ingestion/source_shopify_base.rb} +14 -14
  38. data/lib/algolia/models/ingestion/source_update_input.rb +2 -1
  39. data/lib/algolia/models/ingestion/source_update_shopify.rb +258 -0
  40. data/lib/algolia/models/ingestion/task_input.rb +1 -0
  41. data/lib/algolia/models/insights/added_to_cart_object_ids.rb +2 -2
  42. data/lib/algolia/models/insights/added_to_cart_object_ids_after_search.rb +2 -2
  43. data/lib/algolia/models/insights/clicked_filters.rb +2 -2
  44. data/lib/algolia/models/insights/clicked_object_ids.rb +2 -2
  45. data/lib/algolia/models/insights/clicked_object_ids_after_search.rb +2 -2
  46. data/lib/algolia/models/insights/converted_filters.rb +2 -2
  47. data/lib/algolia/models/insights/converted_object_ids.rb +2 -2
  48. data/lib/algolia/models/insights/converted_object_ids_after_search.rb +2 -2
  49. data/lib/algolia/models/insights/purchased_object_ids.rb +2 -2
  50. data/lib/algolia/models/insights/purchased_object_ids_after_search.rb +2 -2
  51. data/lib/algolia/models/insights/viewed_filters.rb +2 -2
  52. data/lib/algolia/models/insights/viewed_object_ids.rb +2 -2
  53. data/lib/algolia/models/monitoring/incidents_inner.rb +1 -1
  54. data/lib/algolia/models/monitoring/probes_metric.rb +1 -1
  55. data/lib/algolia/models/monitoring/time_inner.rb +1 -1
  56. data/lib/algolia/models/personalization/delete_user_profile_response.rb +2 -2
  57. data/lib/algolia/models/personalization/event_scoring.rb +25 -4
  58. data/lib/algolia/models/personalization/event_type.rb +34 -0
  59. data/lib/algolia/models/personalization/facet_scoring.rb +2 -2
  60. data/lib/algolia/models/personalization/get_user_token_response.rb +3 -3
  61. data/lib/algolia/models/personalization/personalization_strategy_params.rb +21 -3
  62. data/lib/algolia/models/query-suggestions/get_config_status200_response.rb +3 -3
  63. data/lib/algolia/models/query-suggestions/get_log_file200_response.rb +1 -1
  64. data/lib/algolia/models/query-suggestions/query_suggestions_configuration_response.rb +1 -1
  65. data/lib/algolia/models/query-suggestions/query_suggestions_configuration_with_index.rb +1 -1
  66. data/lib/algolia/models/query-suggestions/source_index.rb +1 -1
  67. data/lib/algolia/models/recommend/auto_facet_filter.rb +208 -0
  68. data/lib/algolia/models/recommend/base_recommend_request.rb +37 -8
  69. data/lib/algolia/models/recommend/base_search_params.rb +4 -4
  70. data/lib/algolia/models/recommend/base_search_params_without_query.rb +4 -4
  71. data/lib/algolia/models/recommend/bought_together_query.rb +319 -0
  72. data/lib/algolia/models/recommend/condition.rb +12 -62
  73. data/lib/algolia/models/recommend/consequence.rb +32 -54
  74. data/lib/algolia/models/recommend/deleted_at_response.rb +1 -1
  75. data/lib/algolia/models/recommend/{recommended_for_you_query_parameters.rb → fallback_params.rb} +17 -20
  76. data/lib/algolia/models/recommend/{edit_type.rb → fbt_model.rb} +5 -6
  77. data/lib/algolia/models/recommend/{base_trending_facets_query.rb → frequently_bought_together.rb} +20 -18
  78. data/lib/algolia/models/recommend/get_recommendations_params.rb +2 -2
  79. data/lib/algolia/models/recommend/{consequence_hide.rb → hide_consequence_object.rb} +4 -6
  80. data/lib/algolia/models/recommend/index_settings_as_search_params.rb +10 -10
  81. data/lib/algolia/models/recommend/{base_recommendations_query.rb → looking_similar.rb} +6 -15
  82. data/lib/algolia/models/recommend/{anchoring.rb → looking_similar_model.rb} +5 -8
  83. data/lib/algolia/models/recommend/looking_similar_query.rb +328 -0
  84. data/lib/algolia/models/recommend/{params.rb → params_consequence.rb} +26 -28
  85. data/lib/algolia/models/recommend/{promote_object_id.rb → promote_consequence_object.rb} +19 -9
  86. data/lib/algolia/models/recommend/re_ranking_apply_filter.rb +1 -1
  87. data/lib/algolia/models/recommend/{rule_response.rb → recommend_rule.rb} +13 -18
  88. data/lib/algolia/models/recommend/{rule_response_metadata.rb → recommend_rule_metadata.rb} +5 -4
  89. data/lib/algolia/models/recommend/recommendations_hits.rb +4 -24
  90. data/lib/algolia/models/recommend/recommendations_request.rb +3 -1
  91. data/lib/algolia/models/recommend/recommendations_results.rb +4 -24
  92. data/lib/algolia/models/recommend/{base_recommended_for_you_query.rb → recommended_for_you.rb} +5 -14
  93. data/lib/algolia/models/recommend/recommended_for_you_query.rb +36 -16
  94. data/lib/algolia/models/recommend/{recommendation_models.rb → related_model.rb} +4 -5
  95. data/lib/algolia/models/recommend/{edit.rb → related_products.rb} +27 -24
  96. data/lib/algolia/models/recommend/{recommendations_query.rb → related_query.rb} +40 -20
  97. data/lib/algolia/models/recommend/{consequence_params.rb → search_params.rb} +33 -52
  98. data/lib/algolia/models/recommend/search_params_object.rb +15 -14
  99. data/lib/algolia/models/recommend/search_recommend_rules_params.rb +58 -10
  100. data/lib/algolia/models/recommend/search_recommend_rules_response.rb +2 -2
  101. data/lib/algolia/models/recommend/trending_facet_hit.rb +2 -2
  102. data/lib/algolia/models/recommend/trending_facets.rb +243 -0
  103. data/lib/algolia/models/recommend/trending_facets_query.rb +51 -11
  104. data/lib/algolia/models/recommend/{base_trending_items_query.rb → trending_items.rb} +12 -15
  105. data/lib/algolia/models/recommend/trending_items_query.rb +43 -17
  106. data/lib/algolia/models/search/add_api_key_response.rb +1 -1
  107. data/lib/algolia/models/search/base_get_api_key_response.rb +1 -1
  108. data/lib/algolia/models/search/base_index_settings.rb +10 -10
  109. data/lib/algolia/models/search/base_search_params.rb +4 -4
  110. data/lib/algolia/models/search/base_search_params_without_query.rb +4 -4
  111. data/lib/algolia/models/search/browse_params_object.rb +14 -14
  112. data/lib/algolia/models/search/consequence_params.rb +14 -14
  113. data/lib/algolia/models/search/created_at_response.rb +1 -1
  114. data/lib/algolia/models/search/delete_api_key_response.rb +1 -1
  115. data/lib/algolia/models/search/delete_by_params.rb +2 -2
  116. data/lib/algolia/models/search/delete_source_response.rb +1 -1
  117. data/lib/algolia/models/search/deleted_at_response.rb +1 -1
  118. data/lib/algolia/models/search/fetched_index.rb +1 -1
  119. data/lib/algolia/models/search/get_api_key_response.rb +1 -1
  120. data/lib/algolia/models/search/index_settings.rb +20 -20
  121. data/lib/algolia/models/search/index_settings_as_search_params.rb +10 -10
  122. data/lib/algolia/models/search/log.rb +1 -1
  123. data/lib/algolia/models/search/multiple_batch_request.rb +1 -1
  124. data/lib/algolia/models/search/operation_index_params.rb +1 -1
  125. data/lib/algolia/models/search/re_ranking_apply_filter.rb +1 -1
  126. data/lib/algolia/models/search/remove_user_id_response.rb +1 -1
  127. data/lib/algolia/models/search/replace_source_response.rb +1 -1
  128. data/lib/algolia/models/search/save_object_response.rb +1 -1
  129. data/lib/algolia/models/search/save_synonym_response.rb +1 -1
  130. data/lib/algolia/models/search/search_for_facets.rb +15 -15
  131. data/lib/algolia/models/search/search_for_facets_options.rb +1 -1
  132. data/lib/algolia/models/search/search_for_hits.rb +15 -15
  133. data/lib/algolia/models/search/search_for_hits_options.rb +1 -1
  134. data/lib/algolia/models/search/search_params_object.rb +15 -14
  135. data/lib/algolia/models/search/search_user_ids_response.rb +1 -1
  136. data/lib/algolia/models/search/secured_api_key_restrictions.rb +1 -1
  137. data/lib/algolia/models/search/update_api_key_response.rb +1 -1
  138. data/lib/algolia/models/search/updated_at_response.rb +1 -1
  139. data/lib/algolia/models/search/updated_at_with_object_id_response.rb +1 -1
  140. data/lib/algolia/models/search/updated_rule_response.rb +1 -1
  141. data/lib/algolia/models/search/user_hit.rb +1 -1
  142. data/lib/algolia/models/search/user_id.rb +1 -1
  143. data/lib/algolia/models/usage/error_base.rb +205 -0
  144. data/lib/algolia/models/usage/get_usage200_response.rb +198 -0
  145. data/lib/algolia/models/usage/get_usage200_response_statistics_inner.rb +206 -0
  146. data/lib/algolia/models/usage/get_usage400_response.rb +198 -0
  147. data/lib/algolia/models/usage/get_usage400_response_error.rb +216 -0
  148. data/lib/algolia/models/usage/get_usage400_response_error_errors_inner.rb +225 -0
  149. data/lib/algolia/models/usage/granularity.rb +33 -0
  150. data/lib/algolia/models/usage/statistic.rb +116 -0
  151. data/lib/algolia/models/{recommend/promote.rb → usage/statistic_value.rb} +5 -5
  152. data/lib/algolia/version.rb +1 -1
  153. metadata +47 -25
  154. data/lib/algolia/models/recommend/automatic_facet_filter.rb +0 -220
  155. data/lib/algolia/models/recommend/automatic_facet_filters.rb +0 -97
  156. data/lib/algolia/models/recommend/consequence_query.rb +0 -97
  157. data/lib/algolia/models/recommend/promote_object_ids.rb +0 -228
@@ -215,8 +215,8 @@ module Algolia
215
215
  # Required API Key ACLs:
216
216
  # - analytics
217
217
  # @param index [String] Index name. (required)
218
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
219
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
218
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
219
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
220
220
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
221
221
  # @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)
222
222
  # @return [Http::Response] the response
@@ -254,8 +254,8 @@ module Algolia
254
254
  # Required API Key ACLs:
255
255
  # - analytics
256
256
  # @param index [String] Index name. (required)
257
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
258
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
257
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
258
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
259
259
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
260
260
  # @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)
261
261
  # @return [GetAddToCartRateResponse]
@@ -269,8 +269,8 @@ module Algolia
269
269
  # Required API Key ACLs:
270
270
  # - analytics
271
271
  # @param index [String] Index name. (required)
272
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
273
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
272
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
273
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
274
274
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
275
275
  # @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)
276
276
  # @return [Http::Response] the response
@@ -308,8 +308,8 @@ module Algolia
308
308
  # Required API Key ACLs:
309
309
  # - analytics
310
310
  # @param index [String] Index name. (required)
311
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
312
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
311
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
312
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
313
313
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
314
314
  # @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)
315
315
  # @return [GetAverageClickPositionResponse]
@@ -323,8 +323,8 @@ module Algolia
323
323
  # Required API Key ACLs:
324
324
  # - analytics
325
325
  # @param index [String] Index name. (required)
326
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
327
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
326
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
327
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
328
328
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
329
329
  # @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)
330
330
  # @return [Http::Response] the response
@@ -362,8 +362,8 @@ module Algolia
362
362
  # Required API Key ACLs:
363
363
  # - analytics
364
364
  # @param index [String] Index name. (required)
365
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
366
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
365
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
366
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
367
367
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
368
368
  # @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)
369
369
  # @return [GetClickPositionsResponse]
@@ -377,8 +377,8 @@ module Algolia
377
377
  # Required API Key ACLs:
378
378
  # - analytics
379
379
  # @param index [String] Index name. (required)
380
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
381
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
380
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
381
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
382
382
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
383
383
  # @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)
384
384
  # @return [Http::Response] the response
@@ -416,8 +416,8 @@ module Algolia
416
416
  # Required API Key ACLs:
417
417
  # - analytics
418
418
  # @param index [String] Index name. (required)
419
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
420
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
419
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
420
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
421
421
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
422
422
  # @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)
423
423
  # @return [GetClickThroughRateResponse]
@@ -431,8 +431,8 @@ module Algolia
431
431
  # Required API Key ACLs:
432
432
  # - analytics
433
433
  # @param index [String] Index name. (required)
434
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
435
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
434
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
435
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
436
436
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
437
437
  # @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)
438
438
  # @return [Http::Response] the response
@@ -470,8 +470,8 @@ module Algolia
470
470
  # Required API Key ACLs:
471
471
  # - analytics
472
472
  # @param index [String] Index name. (required)
473
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
474
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
473
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
474
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
475
475
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
476
476
  # @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)
477
477
  # @return [GetConversionRateResponse]
@@ -485,8 +485,8 @@ module Algolia
485
485
  # Required API Key ACLs:
486
486
  # - analytics
487
487
  # @param index [String] Index name. (required)
488
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
489
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
488
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
489
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
490
490
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
491
491
  # @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)
492
492
  # @return [Http::Response] the response
@@ -524,8 +524,8 @@ module Algolia
524
524
  # Required API Key ACLs:
525
525
  # - analytics
526
526
  # @param index [String] Index name. (required)
527
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
528
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
527
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
528
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
529
529
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
530
530
  # @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)
531
531
  # @return [GetNoClickRateResponse]
@@ -539,8 +539,8 @@ module Algolia
539
539
  # Required API Key ACLs:
540
540
  # - analytics
541
541
  # @param index [String] Index name. (required)
542
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
543
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
542
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
543
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
544
544
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
545
545
  # @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)
546
546
  # @return [Http::Response] the response
@@ -578,8 +578,8 @@ module Algolia
578
578
  # Required API Key ACLs:
579
579
  # - analytics
580
580
  # @param index [String] Index name. (required)
581
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
582
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
581
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
582
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
583
583
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
584
584
  # @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)
585
585
  # @return [GetNoResultsRateResponse]
@@ -593,8 +593,8 @@ module Algolia
593
593
  # Required API Key ACLs:
594
594
  # - analytics
595
595
  # @param index [String] Index name. (required)
596
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
597
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
596
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
597
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
598
598
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
599
599
  # @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)
600
600
  # @return [Http::Response] the response
@@ -632,8 +632,8 @@ module Algolia
632
632
  # Required API Key ACLs:
633
633
  # - analytics
634
634
  # @param index [String] Index name. (required)
635
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
636
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
635
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
636
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
637
637
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
638
638
  # @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)
639
639
  # @return [GetPurchaseRateResponse]
@@ -647,8 +647,8 @@ module Algolia
647
647
  # Required API Key ACLs:
648
648
  # - analytics
649
649
  # @param index [String] Index name. (required)
650
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
651
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
650
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
651
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
652
652
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
653
653
  # @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)
654
654
  # @return [Http::Response] the response
@@ -686,8 +686,8 @@ module Algolia
686
686
  # Required API Key ACLs:
687
687
  # - analytics
688
688
  # @param index [String] Index name. (required)
689
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
690
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
689
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
690
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
691
691
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
692
692
  # @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)
693
693
  # @return [GetRevenue]
@@ -701,8 +701,8 @@ module Algolia
701
701
  # Required API Key ACLs:
702
702
  # - analytics
703
703
  # @param index [String] Index name. (required)
704
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
705
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
704
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
705
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
706
706
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
707
707
  # @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)
708
708
  # @return [Http::Response] the response
@@ -740,8 +740,8 @@ module Algolia
740
740
  # Required API Key ACLs:
741
741
  # - analytics
742
742
  # @param index [String] Index name. (required)
743
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
744
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
743
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
744
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
745
745
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
746
746
  # @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)
747
747
  # @return [GetSearchesCountResponse]
@@ -755,8 +755,8 @@ module Algolia
755
755
  # Required API Key ACLs:
756
756
  # - analytics
757
757
  # @param index [String] Index name. (required)
758
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
759
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
758
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
759
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
760
760
  # @param limit [Integer] Number of items to return. (default to 10)
761
761
  # @param offset [Integer] Position of the first item to return. (default to 0)
762
762
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
@@ -801,8 +801,8 @@ module Algolia
801
801
  # Required API Key ACLs:
802
802
  # - analytics
803
803
  # @param index [String] Index name. (required)
804
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
805
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
804
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
805
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
806
806
  # @param limit [Integer] Number of items to return. (default to 10)
807
807
  # @param offset [Integer] Position of the first item to return. (default to 0)
808
808
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
@@ -818,8 +818,8 @@ module Algolia
818
818
  # Required API Key ACLs:
819
819
  # - analytics
820
820
  # @param index [String] Index name. (required)
821
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
822
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
821
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
822
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
823
823
  # @param limit [Integer] Number of items to return. (default to 10)
824
824
  # @param offset [Integer] Position of the first item to return. (default to 0)
825
825
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
@@ -864,8 +864,8 @@ module Algolia
864
864
  # Required API Key ACLs:
865
865
  # - analytics
866
866
  # @param index [String] Index name. (required)
867
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
868
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
867
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
868
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
869
869
  # @param limit [Integer] Number of items to return. (default to 10)
870
870
  # @param offset [Integer] Position of the first item to return. (default to 0)
871
871
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
@@ -926,8 +926,8 @@ module Algolia
926
926
  # Required API Key ACLs:
927
927
  # - analytics
928
928
  # @param index [String] Index name. (required)
929
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
930
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
929
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
930
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
931
931
  # @param limit [Integer] Number of items to return. (default to 10)
932
932
  # @param offset [Integer] Position of the first item to return. (default to 0)
933
933
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
@@ -972,8 +972,8 @@ module Algolia
972
972
  # Required API Key ACLs:
973
973
  # - analytics
974
974
  # @param index [String] Index name. (required)
975
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
976
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
975
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
976
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
977
977
  # @param limit [Integer] Number of items to return. (default to 10)
978
978
  # @param offset [Integer] Position of the first item to return. (default to 0)
979
979
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
@@ -990,8 +990,8 @@ module Algolia
990
990
  # - analytics
991
991
  # @param index [String] Index name. (required)
992
992
  # @param search [String] Search query.
993
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
994
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
993
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
994
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
995
995
  # @param limit [Integer] Number of items to return. (default to 10)
996
996
  # @param offset [Integer] Position of the first item to return. (default to 0)
997
997
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
@@ -1038,8 +1038,8 @@ module Algolia
1038
1038
  # - analytics
1039
1039
  # @param index [String] Index name. (required)
1040
1040
  # @param search [String] Search query.
1041
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
1042
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
1041
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
1042
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
1043
1043
  # @param limit [Integer] Number of items to return. (default to 10)
1044
1044
  # @param offset [Integer] Position of the first item to return. (default to 0)
1045
1045
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
@@ -1057,8 +1057,8 @@ module Algolia
1057
1057
  # @param attribute [String] Attribute name. (required)
1058
1058
  # @param index [String] Index name. (required)
1059
1059
  # @param search [String] Search query.
1060
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
1061
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
1060
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
1061
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
1062
1062
  # @param limit [Integer] Number of items to return. (default to 10)
1063
1063
  # @param offset [Integer] Position of the first item to return. (default to 0)
1064
1064
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
@@ -1110,8 +1110,8 @@ module Algolia
1110
1110
  # @param attribute [String] Attribute name. (required)
1111
1111
  # @param index [String] Index name. (required)
1112
1112
  # @param search [String] Search query.
1113
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
1114
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
1113
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
1114
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
1115
1115
  # @param limit [Integer] Number of items to return. (default to 10)
1116
1116
  # @param offset [Integer] Position of the first item to return. (default to 0)
1117
1117
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
@@ -1128,8 +1128,8 @@ module Algolia
1128
1128
  # - analytics
1129
1129
  # @param index [String] Index name. (required)
1130
1130
  # @param search [String] Search query.
1131
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
1132
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
1131
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
1132
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
1133
1133
  # @param limit [Integer] Number of items to return. (default to 10)
1134
1134
  # @param offset [Integer] Position of the first item to return. (default to 0)
1135
1135
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
@@ -1176,8 +1176,8 @@ module Algolia
1176
1176
  # - analytics
1177
1177
  # @param index [String] Index name. (required)
1178
1178
  # @param search [String] Search query.
1179
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
1180
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
1179
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
1180
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
1181
1181
  # @param limit [Integer] Number of items to return. (default to 10)
1182
1182
  # @param offset [Integer] Position of the first item to return. (default to 0)
1183
1183
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
@@ -1196,8 +1196,8 @@ module Algolia
1196
1196
  # @param search [String] Search query.
1197
1197
  # @param click_analytics [Boolean] Whether to include metrics related to click and conversion events in the response. (default to false)
1198
1198
  # @param revenue_analytics [Boolean] Whether to include revenue-related metrics in the response. If true, metrics related to click and conversion events are also included in the response. (default to false)
1199
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
1200
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
1199
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
1200
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
1201
1201
  # @param limit [Integer] Number of items to return. (default to 10)
1202
1202
  # @param offset [Integer] Position of the first item to return. (default to 0)
1203
1203
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
@@ -1249,8 +1249,8 @@ module Algolia
1249
1249
  # @param search [String] Search query.
1250
1250
  # @param click_analytics [Boolean] Whether to include metrics related to click and conversion events in the response. (default to false)
1251
1251
  # @param revenue_analytics [Boolean] Whether to include revenue-related metrics in the response. If true, metrics related to click and conversion events are also included in the response. (default to false)
1252
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
1253
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
1252
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
1253
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
1254
1254
  # @param limit [Integer] Number of items to return. (default to 10)
1255
1255
  # @param offset [Integer] Position of the first item to return. (default to 0)
1256
1256
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
@@ -1269,8 +1269,8 @@ module Algolia
1269
1269
  # @param index [String] Index name. (required)
1270
1270
  # @param click_analytics [Boolean] Whether to include metrics related to click and conversion events in the response. (default to false)
1271
1271
  # @param revenue_analytics [Boolean] Whether to include revenue-related metrics in the response. If true, metrics related to click and conversion events are also included in the response. (default to false)
1272
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
1273
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
1272
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
1273
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
1274
1274
  # @param order_by [OrderBy] Attribute by which to order the response items. If the `clickAnalytics` parameter is false, only `searchCount` is available. (default to 'searchCount')
1275
1275
  # @param direction [Direction] Sorting direction of the results: ascending or descending. (default to 'asc')
1276
1276
  # @param limit [Integer] Number of items to return. (default to 10)
@@ -1324,8 +1324,8 @@ module Algolia
1324
1324
  # @param index [String] Index name. (required)
1325
1325
  # @param click_analytics [Boolean] Whether to include metrics related to click and conversion events in the response. (default to false)
1326
1326
  # @param revenue_analytics [Boolean] Whether to include revenue-related metrics in the response. If true, metrics related to click and conversion events are also included in the response. (default to false)
1327
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
1328
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
1327
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
1328
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
1329
1329
  # @param order_by [OrderBy] Attribute by which to order the response items. If the `clickAnalytics` parameter is false, only `searchCount` is available. (default to 'searchCount')
1330
1330
  # @param direction [Direction] Sorting direction of the results: ascending or descending. (default to 'asc')
1331
1331
  # @param limit [Integer] Number of items to return. (default to 10)
@@ -1344,8 +1344,8 @@ module Algolia
1344
1344
  # Required API Key ACLs:
1345
1345
  # - analytics
1346
1346
  # @param index [String] Index name. (required)
1347
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
1348
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
1347
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
1348
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
1349
1349
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
1350
1350
  # @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)
1351
1351
  # @return [Http::Response] the response
@@ -1383,8 +1383,8 @@ module Algolia
1383
1383
  # Required API Key ACLs:
1384
1384
  # - analytics
1385
1385
  # @param index [String] Index name. (required)
1386
- # @param start_date [String] Start date (`YYYY-MM-DD`) of the period to analyze.
1387
- # @param end_date [String] End date (`YYYY-MM-DD`) of the period to analyze.
1386
+ # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
1387
+ # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
1388
1388
  # @param tags [String] Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
1389
1389
  # @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)
1390
1390
  # @return [GetUsersCountResponse]
@@ -209,11 +209,11 @@ module Algolia
209
209
  @api_client.deserialize(response.body, request_options[:debug_return_type] || 'Object')
210
210
  end
211
211
 
212
- # Delete the user profile and all its associated data. Returns, as part of the response, a date until which the data can safely be considered as deleted for the given user. This means if you send events for the given user before this date, they will be ignored. Any data received after the deletedUntil date will start building a new user profile. It might take a couple hours for the deletion request to be fully processed.
212
+ # Deletes a user profile. The response includes a date and time when the user profile can safely be considered deleted.
213
213
  #
214
214
  # Required API Key ACLs:
215
215
  # - recommendation
216
- # @param user_token [String] userToken representing the user for which to fetch the Personalization profile. (required)
216
+ # @param user_token [String] Unique identifier representing a user for which to fetch the personalization profile. (required)
217
217
  # @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)
218
218
  # @return [Http::Response] the response
219
219
  def delete_user_profile_with_http_info(user_token, request_options = {})
@@ -241,11 +241,11 @@ module Algolia
241
241
  @api_client.call_api(:DELETE, path, new_options)
242
242
  end
243
243
 
244
- # Delete the user profile and all its associated data. Returns, as part of the response, a date until which the data can safely be considered as deleted for the given user. This means if you send events for the given user before this date, they will be ignored. Any data received after the deletedUntil date will start building a new user profile. It might take a couple hours for the deletion request to be fully processed.
244
+ # Deletes a user profile. The response includes a date and time when the user profile can safely be considered deleted.
245
245
  #
246
246
  # Required API Key ACLs:
247
247
  # - recommendation
248
- # @param user_token [String] userToken representing the user for which to fetch the Personalization profile. (required)
248
+ # @param user_token [String] Unique identifier representing a user for which to fetch the personalization profile. (required)
249
249
  # @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)
250
250
  # @return [DeleteUserProfileResponse]
251
251
  def delete_user_profile(user_token, request_options = {})
@@ -253,7 +253,7 @@ module Algolia
253
253
  @api_client.deserialize(response.body, request_options[:debug_return_type] || 'Personalization::DeleteUserProfileResponse')
254
254
  end
255
255
 
256
- # The strategy contains information on the events and facets that impact user profiles and personalized search results.
256
+ # Retrieves the current personalization strategy.
257
257
  #
258
258
  # Required API Key ACLs:
259
259
  # - recommendation
@@ -279,7 +279,7 @@ module Algolia
279
279
  @api_client.call_api(:GET, path, new_options)
280
280
  end
281
281
 
282
- # The strategy contains information on the events and facets that impact user profiles and personalized search results.
282
+ # Retrieves the current personalization strategy.
283
283
  #
284
284
  # Required API Key ACLs:
285
285
  # - recommendation
@@ -290,11 +290,11 @@ module Algolia
290
290
  @api_client.deserialize(response.body, request_options[:debug_return_type] || 'Personalization::PersonalizationStrategyParams')
291
291
  end
292
292
 
293
- # Get the user profile built from Personalization strategy. The profile is structured by facet name used in the strategy. Each facet value is mapped to its score. Each score represents the user affinity for a specific facet value given the userToken past events and the Personalization strategy defined. Scores are bounded to 20. The last processed event timestamp is provided using the ISO 8601 format for debugging purposes.
293
+ # Retrieves a user profile and their affinities for different facets.
294
294
  #
295
295
  # Required API Key ACLs:
296
296
  # - recommendation
297
- # @param user_token [String] userToken representing the user for which to fetch the Personalization profile. (required)
297
+ # @param user_token [String] Unique identifier representing a user for which to fetch the personalization profile. (required)
298
298
  # @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)
299
299
  # @return [Http::Response] the response
300
300
  def get_user_token_profile_with_http_info(user_token, request_options = {})
@@ -322,11 +322,11 @@ module Algolia
322
322
  @api_client.call_api(:GET, path, new_options)
323
323
  end
324
324
 
325
- # Get the user profile built from Personalization strategy. The profile is structured by facet name used in the strategy. Each facet value is mapped to its score. Each score represents the user affinity for a specific facet value given the userToken past events and the Personalization strategy defined. Scores are bounded to 20. The last processed event timestamp is provided using the ISO 8601 format for debugging purposes.
325
+ # Retrieves a user profile and their affinities for different facets.
326
326
  #
327
327
  # Required API Key ACLs:
328
328
  # - recommendation
329
- # @param user_token [String] userToken representing the user for which to fetch the Personalization profile. (required)
329
+ # @param user_token [String] Unique identifier representing a user for which to fetch the personalization profile. (required)
330
330
  # @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)
331
331
  # @return [GetUserTokenResponse]
332
332
  def get_user_token_profile(user_token, request_options = {})
@@ -334,7 +334,7 @@ module Algolia
334
334
  @api_client.deserialize(response.body, request_options[:debug_return_type] || 'Personalization::GetUserTokenResponse')
335
335
  end
336
336
 
337
- # A strategy defines the events and facets that impact user profiles and personalized search results.
337
+ # Creates a new personalization strategy.
338
338
  #
339
339
  # Required API Key ACLs:
340
340
  # - recommendation
@@ -366,7 +366,7 @@ module Algolia
366
366
  @api_client.call_api(:POST, path, new_options)
367
367
  end
368
368
 
369
- # A strategy defines the events and facets that impact user profiles and personalized search results.
369
+ # Creates a new personalization strategy.
370
370
  #
371
371
  # Required API Key ACLs:
372
372
  # - recommendation