algolia 3.27.0 → 3.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (582) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/do-not-edit-this-repository.yml +1 -1
  3. data/.github/workflows/release.yml +2 -2
  4. data/CHANGELOG.md +7 -0
  5. data/Gemfile.lock +11 -11
  6. data/lib/algolia/api/abtesting_client.rb +13 -13
  7. data/lib/algolia/api/abtesting_v3_client.rb +13 -13
  8. data/lib/algolia/api/analytics_client.rb +69 -69
  9. data/lib/algolia/api/composition_client.rb +17 -17
  10. data/lib/algolia/api/ingestion_client.rb +15 -15
  11. data/lib/algolia/api/insights_client.rb +13 -13
  12. data/lib/algolia/api/monitoring_client.rb +12 -12
  13. data/lib/algolia/api/personalization_client.rb +13 -13
  14. data/lib/algolia/api/query_suggestions_client.rb +13 -13
  15. data/lib/algolia/api/recommend_client.rb +13 -13
  16. data/lib/algolia/api/search_client.rb +41 -41
  17. data/lib/algolia/models/abtesting/ab_test.rb +0 -2
  18. data/lib/algolia/models/abtesting/ab_test_configuration.rb +0 -2
  19. data/lib/algolia/models/abtesting/ab_test_response.rb +1 -3
  20. data/lib/algolia/models/abtesting/ab_tests_variant.rb +0 -2
  21. data/lib/algolia/models/abtesting/ab_tests_variant_search_params.rb +0 -2
  22. data/lib/algolia/models/abtesting/add_ab_tests_request.rb +0 -2
  23. data/lib/algolia/models/abtesting/add_ab_tests_variant.rb +0 -1
  24. data/lib/algolia/models/abtesting/currency.rb +0 -2
  25. data/lib/algolia/models/abtesting/empty_search.rb +0 -2
  26. data/lib/algolia/models/abtesting/empty_search_filter.rb +0 -2
  27. data/lib/algolia/models/abtesting/error_base.rb +0 -2
  28. data/lib/algolia/models/abtesting/estimate_ab_test_request.rb +0 -2
  29. data/lib/algolia/models/abtesting/estimate_ab_test_response.rb +0 -2
  30. data/lib/algolia/models/abtesting/estimate_configuration.rb +0 -2
  31. data/lib/algolia/models/abtesting/filter_effects.rb +0 -2
  32. data/lib/algolia/models/abtesting/list_ab_tests_response.rb +0 -2
  33. data/lib/algolia/models/abtesting/minimum_detectable_effect.rb +0 -2
  34. data/lib/algolia/models/abtesting/outliers.rb +0 -2
  35. data/lib/algolia/models/abtesting/outliers_filter.rb +0 -2
  36. data/lib/algolia/models/abtesting/schedule_ab_test_response.rb +0 -2
  37. data/lib/algolia/models/abtesting/schedule_ab_tests_request.rb +0 -2
  38. data/lib/algolia/models/abtesting/variant.rb +0 -2
  39. data/lib/algolia/models/abtesting-v3/ab_test.rb +0 -2
  40. data/lib/algolia/models/abtesting-v3/ab_test_configuration.rb +0 -2
  41. data/lib/algolia/models/abtesting-v3/ab_test_response.rb +1 -3
  42. data/lib/algolia/models/abtesting-v3/ab_tests_variant.rb +0 -2
  43. data/lib/algolia/models/abtesting-v3/ab_tests_variant_search_params.rb +0 -2
  44. data/lib/algolia/models/abtesting-v3/add_ab_tests_request.rb +0 -2
  45. data/lib/algolia/models/abtesting-v3/add_ab_tests_variant.rb +0 -1
  46. data/lib/algolia/models/abtesting-v3/create_metric.rb +0 -2
  47. data/lib/algolia/models/abtesting-v3/empty_search_filter.rb +0 -2
  48. data/lib/algolia/models/abtesting-v3/error_base.rb +0 -2
  49. data/lib/algolia/models/abtesting-v3/estimate_ab_test_request.rb +0 -2
  50. data/lib/algolia/models/abtesting-v3/estimate_ab_test_response.rb +0 -2
  51. data/lib/algolia/models/abtesting-v3/estimate_configuration.rb +0 -2
  52. data/lib/algolia/models/abtesting-v3/filter_effects.rb +0 -2
  53. data/lib/algolia/models/abtesting-v3/list_ab_tests_response.rb +0 -2
  54. data/lib/algolia/models/abtesting-v3/metric_date.rb +0 -2
  55. data/lib/algolia/models/abtesting-v3/metric_metadata.rb +0 -2
  56. data/lib/algolia/models/abtesting-v3/metric_result.rb +0 -2
  57. data/lib/algolia/models/abtesting-v3/metrics_filter.rb +0 -2
  58. data/lib/algolia/models/abtesting-v3/minimum_detectable_effect.rb +0 -2
  59. data/lib/algolia/models/abtesting-v3/outliers_filter.rb +0 -2
  60. data/lib/algolia/models/abtesting-v3/schedule_ab_test_response.rb +0 -2
  61. data/lib/algolia/models/abtesting-v3/schedule_ab_tests_request.rb +0 -2
  62. data/lib/algolia/models/abtesting-v3/timeseries.rb +0 -2
  63. data/lib/algolia/models/abtesting-v3/timeseries_variant.rb +0 -2
  64. data/lib/algolia/models/abtesting-v3/variant.rb +0 -2
  65. data/lib/algolia/models/abtesting-v3/variant_metadata.rb +0 -2
  66. data/lib/algolia/models/analytics/click_position.rb +0 -2
  67. data/lib/algolia/models/analytics/currency_code.rb +0 -2
  68. data/lib/algolia/models/analytics/daily_add_to_cart_rates.rb +0 -2
  69. data/lib/algolia/models/analytics/daily_average_clicks.rb +0 -2
  70. data/lib/algolia/models/analytics/daily_click_through_rates.rb +0 -2
  71. data/lib/algolia/models/analytics/daily_conversion_rates.rb +0 -2
  72. data/lib/algolia/models/analytics/daily_no_click_rates.rb +0 -2
  73. data/lib/algolia/models/analytics/daily_no_results_rates.rb +0 -2
  74. data/lib/algolia/models/analytics/daily_purchase_rates.rb +0 -2
  75. data/lib/algolia/models/analytics/daily_revenue.rb +0 -2
  76. data/lib/algolia/models/analytics/daily_searches.rb +0 -2
  77. data/lib/algolia/models/analytics/daily_searches_no_clicks.rb +0 -2
  78. data/lib/algolia/models/analytics/daily_searches_no_results.rb +0 -2
  79. data/lib/algolia/models/analytics/daily_users.rb +0 -2
  80. data/lib/algolia/models/analytics/error_base.rb +0 -2
  81. data/lib/algolia/models/analytics/get_add_to_cart_rate_response.rb +0 -2
  82. data/lib/algolia/models/analytics/get_average_click_position_response.rb +0 -2
  83. data/lib/algolia/models/analytics/get_click_positions_response.rb +0 -2
  84. data/lib/algolia/models/analytics/get_click_through_rate_response.rb +0 -2
  85. data/lib/algolia/models/analytics/get_conversion_rate_response.rb +0 -2
  86. data/lib/algolia/models/analytics/get_no_click_rate_response.rb +0 -2
  87. data/lib/algolia/models/analytics/get_no_results_rate_response.rb +0 -2
  88. data/lib/algolia/models/analytics/get_purchase_rate_response.rb +0 -2
  89. data/lib/algolia/models/analytics/get_revenue.rb +0 -2
  90. data/lib/algolia/models/analytics/get_searches_count_response.rb +0 -2
  91. data/lib/algolia/models/analytics/get_searches_no_clicks_response.rb +0 -2
  92. data/lib/algolia/models/analytics/get_searches_no_results_response.rb +0 -2
  93. data/lib/algolia/models/analytics/get_status_response.rb +0 -2
  94. data/lib/algolia/models/analytics/get_top_countries_response.rb +0 -2
  95. data/lib/algolia/models/analytics/get_top_filter_attribute.rb +0 -2
  96. data/lib/algolia/models/analytics/get_top_filter_attributes_response.rb +0 -2
  97. data/lib/algolia/models/analytics/get_top_filter_for_attribute.rb +0 -2
  98. data/lib/algolia/models/analytics/get_top_filter_for_attribute_response.rb +0 -2
  99. data/lib/algolia/models/analytics/get_top_filters_no_results_response.rb +0 -2
  100. data/lib/algolia/models/analytics/get_top_filters_no_results_value.rb +0 -2
  101. data/lib/algolia/models/analytics/get_top_filters_no_results_values.rb +0 -2
  102. data/lib/algolia/models/analytics/get_top_hits_response.rb +0 -1
  103. data/lib/algolia/models/analytics/get_top_searches_response.rb +0 -1
  104. data/lib/algolia/models/analytics/get_users_count_response.rb +0 -2
  105. data/lib/algolia/models/analytics/top_country.rb +0 -2
  106. data/lib/algolia/models/analytics/top_hit.rb +0 -2
  107. data/lib/algolia/models/analytics/top_hit_with_analytics.rb +0 -2
  108. data/lib/algolia/models/analytics/top_hit_with_revenue_analytics.rb +0 -2
  109. data/lib/algolia/models/analytics/top_hits_response.rb +0 -2
  110. data/lib/algolia/models/analytics/top_hits_response_with_analytics.rb +0 -2
  111. data/lib/algolia/models/analytics/top_hits_response_with_revenue_analytics.rb +0 -2
  112. data/lib/algolia/models/analytics/top_search.rb +0 -2
  113. data/lib/algolia/models/analytics/top_search_with_analytics.rb +0 -2
  114. data/lib/algolia/models/analytics/top_search_with_revenue_analytics.rb +0 -2
  115. data/lib/algolia/models/analytics/top_searches_response.rb +0 -2
  116. data/lib/algolia/models/analytics/top_searches_response_with_analytics.rb +0 -2
  117. data/lib/algolia/models/analytics/top_searches_response_with_revenue_analytics.rb +0 -2
  118. data/lib/algolia/models/composition/around_precision.rb +0 -1
  119. data/lib/algolia/models/composition/around_radius.rb +0 -1
  120. data/lib/algolia/models/composition/banner.rb +0 -2
  121. data/lib/algolia/models/composition/banner_image.rb +0 -2
  122. data/lib/algolia/models/composition/banner_image_url.rb +0 -2
  123. data/lib/algolia/models/composition/banner_link.rb +0 -2
  124. data/lib/algolia/models/composition/base_injection_query_parameters.rb +6 -8
  125. data/lib/algolia/models/composition/batch_composition_action.rb +0 -1
  126. data/lib/algolia/models/composition/batch_params.rb +0 -2
  127. data/lib/algolia/models/composition/composition.rb +0 -2
  128. data/lib/algolia/models/composition/composition_behavior.rb +0 -2
  129. data/lib/algolia/models/composition/composition_id_ranking_info.rb +0 -2
  130. data/lib/algolia/models/composition/composition_rule.rb +0 -2
  131. data/lib/algolia/models/composition/composition_rule_consequence.rb +0 -2
  132. data/lib/algolia/models/composition/composition_rules_batch_params.rb +0 -2
  133. data/lib/algolia/models/composition/composition_run_applied_rules.rb +0 -2
  134. data/lib/algolia/models/composition/composition_run_search_response.rb +0 -2
  135. data/lib/algolia/models/composition/composition_source.rb +0 -2
  136. data/lib/algolia/models/composition/composition_source_search.rb +0 -2
  137. data/lib/algolia/models/composition/compositions_search_response.rb +0 -2
  138. data/lib/algolia/models/composition/condition.rb +0 -2
  139. data/lib/algolia/models/composition/dedup_positioning.rb +34 -0
  140. data/lib/algolia/models/composition/deduplication.rb +209 -0
  141. data/lib/algolia/models/composition/delete_composition_action.rb +0 -2
  142. data/lib/algolia/models/composition/delete_composition_rule_action.rb +0 -2
  143. data/lib/algolia/models/composition/distinct.rb +0 -1
  144. data/lib/algolia/models/composition/error_base.rb +0 -2
  145. data/lib/algolia/models/composition/exhaustive.rb +0 -2
  146. data/lib/algolia/models/composition/external.rb +0 -2
  147. data/lib/algolia/models/composition/external_injected_item.rb +0 -2
  148. data/lib/algolia/models/composition/external_injection.rb +0 -2
  149. data/lib/algolia/models/composition/external_source.rb +0 -2
  150. data/lib/algolia/models/composition/facet_filters.rb +0 -1
  151. data/lib/algolia/models/composition/facet_hits.rb +0 -2
  152. data/lib/algolia/models/composition/facet_ordering.rb +0 -2
  153. data/lib/algolia/models/composition/facet_stats.rb +0 -2
  154. data/lib/algolia/models/composition/facets.rb +0 -2
  155. data/lib/algolia/models/composition/get_task_response.rb +0 -2
  156. data/lib/algolia/models/composition/highlight_result.rb +0 -1
  157. data/lib/algolia/models/composition/highlight_result_option.rb +0 -2
  158. data/lib/algolia/models/composition/hit.rb +0 -2
  159. data/lib/algolia/models/composition/hit_metadata.rb +0 -2
  160. data/lib/algolia/models/composition/hit_ranking_info.rb +0 -2
  161. data/lib/algolia/models/composition/ignore_plurals.rb +0 -1
  162. data/lib/algolia/models/composition/injected_item.rb +0 -2
  163. data/lib/algolia/models/composition/injected_item_hits_metadata.rb +0 -2
  164. data/lib/algolia/models/composition/injected_item_metadata.rb +0 -2
  165. data/lib/algolia/models/composition/injected_item_source.rb +0 -1
  166. data/lib/algolia/models/composition/injection.rb +13 -6
  167. data/lib/algolia/models/composition/inside_bounding_box.rb +0 -1
  168. data/lib/algolia/models/composition/list_compositions_response.rb +0 -2
  169. data/lib/algolia/models/composition/main.rb +0 -2
  170. data/lib/algolia/models/composition/main_injection_query_parameters.rb +7 -9
  171. data/lib/algolia/models/composition/matched_geo_location.rb +0 -2
  172. data/lib/algolia/models/composition/multiple_batch_request.rb +0 -2
  173. data/lib/algolia/models/composition/multiple_batch_response.rb +0 -2
  174. data/lib/algolia/models/composition/numeric_filters.rb +0 -1
  175. data/lib/algolia/models/composition/optional_filters.rb +1 -2
  176. data/lib/algolia/models/composition/optional_words.rb +0 -1
  177. data/lib/algolia/models/composition/params.rb +6 -8
  178. data/lib/algolia/models/composition/personalization.rb +0 -2
  179. data/lib/algolia/models/composition/range.rb +0 -2
  180. data/lib/algolia/models/composition/redirect.rb +1 -3
  181. data/lib/algolia/models/composition/redirect_rule_index_data.rb +0 -2
  182. data/lib/algolia/models/composition/redirect_rule_index_metadata.rb +0 -2
  183. data/lib/algolia/models/composition/redirect_url.rb +0 -2
  184. data/lib/algolia/models/composition/remove_stop_words.rb +0 -1
  185. data/lib/algolia/models/composition/rendering_content.rb +0 -2
  186. data/lib/algolia/models/composition/request_body.rb +0 -2
  187. data/lib/algolia/models/composition/results_composition_info_response.rb +0 -2
  188. data/lib/algolia/models/composition/results_injected_item_applied_rules_info_response.rb +0 -2
  189. data/lib/algolia/models/composition/results_injected_item_info_response.rb +0 -2
  190. data/lib/algolia/models/composition/rules_batch_composition_action.rb +0 -1
  191. data/lib/algolia/models/composition/rules_multiple_batch_request.rb +0 -2
  192. data/lib/algolia/models/composition/rules_multiple_batch_response.rb +1 -3
  193. data/lib/algolia/models/composition/search.rb +0 -2
  194. data/lib/algolia/models/composition/search_composition_rules_params.rb +2 -4
  195. data/lib/algolia/models/composition/search_composition_rules_response.rb +0 -2
  196. data/lib/algolia/models/composition/search_for_facet_values_params.rb +0 -2
  197. data/lib/algolia/models/composition/search_for_facet_values_request.rb +0 -2
  198. data/lib/algolia/models/composition/search_for_facet_values_response.rb +0 -2
  199. data/lib/algolia/models/composition/search_for_facet_values_results.rb +0 -2
  200. data/lib/algolia/models/composition/search_response.rb +0 -2
  201. data/lib/algolia/models/composition/search_results_item.rb +1 -3
  202. data/lib/algolia/models/composition/search_source.rb +0 -2
  203. data/lib/algolia/models/composition/snippet_result.rb +0 -1
  204. data/lib/algolia/models/composition/snippet_result_option.rb +0 -2
  205. data/lib/algolia/models/composition/task_id_response.rb +1 -3
  206. data/lib/algolia/models/composition/time_range.rb +0 -2
  207. data/lib/algolia/models/composition/typo_tolerance.rb +1 -2
  208. data/lib/algolia/models/composition/value.rb +0 -2
  209. data/lib/algolia/models/composition/widgets.rb +0 -2
  210. data/lib/algolia/models/ingestion/auth_algolia.rb +0 -2
  211. data/lib/algolia/models/ingestion/auth_algolia_insights.rb +0 -2
  212. data/lib/algolia/models/ingestion/auth_algolia_insights_partial.rb +0 -2
  213. data/lib/algolia/models/ingestion/auth_algolia_partial.rb +0 -2
  214. data/lib/algolia/models/ingestion/auth_api_key.rb +0 -2
  215. data/lib/algolia/models/ingestion/auth_api_key_partial.rb +0 -2
  216. data/lib/algolia/models/ingestion/auth_basic.rb +0 -2
  217. data/lib/algolia/models/ingestion/auth_basic_partial.rb +0 -2
  218. data/lib/algolia/models/ingestion/auth_google_service_account.rb +0 -2
  219. data/lib/algolia/models/ingestion/auth_google_service_account_partial.rb +0 -2
  220. data/lib/algolia/models/ingestion/auth_input.rb +0 -1
  221. data/lib/algolia/models/ingestion/auth_input_partial.rb +0 -1
  222. data/lib/algolia/models/ingestion/auth_o_auth.rb +0 -2
  223. data/lib/algolia/models/ingestion/auth_o_auth_partial.rb +0 -2
  224. data/lib/algolia/models/ingestion/authentication.rb +0 -2
  225. data/lib/algolia/models/ingestion/authentication_create.rb +0 -2
  226. data/lib/algolia/models/ingestion/authentication_create_response.rb +0 -2
  227. data/lib/algolia/models/ingestion/authentication_search.rb +0 -2
  228. data/lib/algolia/models/ingestion/authentication_update.rb +0 -2
  229. data/lib/algolia/models/ingestion/authentication_update_response.rb +0 -2
  230. data/lib/algolia/models/ingestion/big_commerce_channel.rb +0 -2
  231. data/lib/algolia/models/ingestion/big_commerce_metafield.rb +0 -2
  232. data/lib/algolia/models/ingestion/commercetools_custom_fields.rb +0 -2
  233. data/lib/algolia/models/ingestion/delete_response.rb +0 -2
  234. data/lib/algolia/models/ingestion/destination.rb +0 -2
  235. data/lib/algolia/models/ingestion/destination_create.rb +0 -2
  236. data/lib/algolia/models/ingestion/destination_create_response.rb +0 -2
  237. data/lib/algolia/models/ingestion/destination_input.rb +0 -2
  238. data/lib/algolia/models/ingestion/destination_search.rb +0 -2
  239. data/lib/algolia/models/ingestion/destination_update.rb +0 -2
  240. data/lib/algolia/models/ingestion/destination_update_response.rb +0 -2
  241. data/lib/algolia/models/ingestion/docker_streams.rb +0 -2
  242. data/lib/algolia/models/ingestion/docker_streams_input.rb +0 -2
  243. data/lib/algolia/models/ingestion/email_notifications.rb +0 -2
  244. data/lib/algolia/models/ingestion/error_base.rb +0 -2
  245. data/lib/algolia/models/ingestion/event.rb +0 -2
  246. data/lib/algolia/models/ingestion/list_authentications_response.rb +0 -2
  247. data/lib/algolia/models/ingestion/list_destinations_response.rb +0 -2
  248. data/lib/algolia/models/ingestion/list_events_response.rb +0 -2
  249. data/lib/algolia/models/ingestion/list_sources_response.rb +0 -2
  250. data/lib/algolia/models/ingestion/list_tasks_response.rb +0 -2
  251. data/lib/algolia/models/ingestion/list_tasks_response_v1.rb +0 -2
  252. data/lib/algolia/models/ingestion/list_transformations_response.rb +0 -2
  253. data/lib/algolia/models/ingestion/mapping_field_directive.rb +0 -2
  254. data/lib/algolia/models/ingestion/mapping_input.rb +0 -2
  255. data/lib/algolia/models/ingestion/mapping_kit_action.rb +0 -2
  256. data/lib/algolia/models/ingestion/notifications.rb +0 -2
  257. data/lib/algolia/models/ingestion/on_demand_trigger.rb +0 -2
  258. data/lib/algolia/models/ingestion/on_demand_trigger_input.rb +0 -2
  259. data/lib/algolia/models/ingestion/pagination.rb +0 -2
  260. data/lib/algolia/models/ingestion/platform_with_none.rb +0 -1
  261. data/lib/algolia/models/ingestion/policies.rb +0 -2
  262. data/lib/algolia/models/ingestion/push_task_payload.rb +0 -2
  263. data/lib/algolia/models/ingestion/push_task_records.rb +0 -2
  264. data/lib/algolia/models/ingestion/run.rb +0 -2
  265. data/lib/algolia/models/ingestion/run_list_response.rb +0 -2
  266. data/lib/algolia/models/ingestion/run_progress.rb +0 -2
  267. data/lib/algolia/models/ingestion/run_response.rb +0 -2
  268. data/lib/algolia/models/ingestion/run_source_payload.rb +0 -2
  269. data/lib/algolia/models/ingestion/run_source_response.rb +0 -2
  270. data/lib/algolia/models/ingestion/run_task_payload.rb +0 -2
  271. data/lib/algolia/models/ingestion/schedule_trigger.rb +0 -2
  272. data/lib/algolia/models/ingestion/schedule_trigger_input.rb +0 -2
  273. data/lib/algolia/models/ingestion/shopify_input.rb +0 -2
  274. data/lib/algolia/models/ingestion/shopify_market.rb +0 -2
  275. data/lib/algolia/models/ingestion/shopify_metafield.rb +0 -2
  276. data/lib/algolia/models/ingestion/source.rb +0 -2
  277. data/lib/algolia/models/ingestion/source_big_commerce.rb +0 -2
  278. data/lib/algolia/models/ingestion/source_big_query.rb +0 -2
  279. data/lib/algolia/models/ingestion/source_commercetools.rb +0 -2
  280. data/lib/algolia/models/ingestion/source_create.rb +0 -2
  281. data/lib/algolia/models/ingestion/source_create_response.rb +0 -2
  282. data/lib/algolia/models/ingestion/source_csv.rb +0 -2
  283. data/lib/algolia/models/ingestion/source_docker.rb +0 -2
  284. data/lib/algolia/models/ingestion/source_ga4_big_query_export.rb +0 -2
  285. data/lib/algolia/models/ingestion/source_input.rb +0 -1
  286. data/lib/algolia/models/ingestion/source_json.rb +0 -2
  287. data/lib/algolia/models/ingestion/source_search.rb +0 -2
  288. data/lib/algolia/models/ingestion/source_shopify.rb +0 -2
  289. data/lib/algolia/models/ingestion/source_update.rb +0 -2
  290. data/lib/algolia/models/ingestion/source_update_commercetools.rb +0 -2
  291. data/lib/algolia/models/ingestion/source_update_docker.rb +0 -2
  292. data/lib/algolia/models/ingestion/source_update_input.rb +0 -1
  293. data/lib/algolia/models/ingestion/source_update_response.rb +0 -2
  294. data/lib/algolia/models/ingestion/source_update_shopify.rb +0 -2
  295. data/lib/algolia/models/ingestion/streaming_input.rb +0 -2
  296. data/lib/algolia/models/ingestion/streaming_trigger.rb +0 -2
  297. data/lib/algolia/models/ingestion/subscription_trigger.rb +0 -2
  298. data/lib/algolia/models/ingestion/task.rb +0 -2
  299. data/lib/algolia/models/ingestion/task_create.rb +0 -2
  300. data/lib/algolia/models/ingestion/task_create_response.rb +0 -2
  301. data/lib/algolia/models/ingestion/task_create_trigger.rb +0 -1
  302. data/lib/algolia/models/ingestion/task_create_v1.rb +0 -2
  303. data/lib/algolia/models/ingestion/task_input.rb +0 -1
  304. data/lib/algolia/models/ingestion/task_replace.rb +0 -2
  305. data/lib/algolia/models/ingestion/task_search.rb +0 -2
  306. data/lib/algolia/models/ingestion/task_update.rb +0 -2
  307. data/lib/algolia/models/ingestion/task_update_response.rb +0 -2
  308. data/lib/algolia/models/ingestion/task_update_v1.rb +0 -2
  309. data/lib/algolia/models/ingestion/task_v1.rb +0 -2
  310. data/lib/algolia/models/ingestion/transformation.rb +0 -2
  311. data/lib/algolia/models/ingestion/transformation_code.rb +0 -2
  312. data/lib/algolia/models/ingestion/transformation_create.rb +0 -2
  313. data/lib/algolia/models/ingestion/transformation_create_response.rb +0 -2
  314. data/lib/algolia/models/ingestion/transformation_error.rb +0 -2
  315. data/lib/algolia/models/ingestion/transformation_input.rb +0 -1
  316. data/lib/algolia/models/ingestion/transformation_no_code.rb +0 -2
  317. data/lib/algolia/models/ingestion/transformation_search.rb +0 -2
  318. data/lib/algolia/models/ingestion/transformation_try.rb +0 -2
  319. data/lib/algolia/models/ingestion/transformation_try_response.rb +0 -2
  320. data/lib/algolia/models/ingestion/transformation_update_response.rb +0 -2
  321. data/lib/algolia/models/ingestion/trigger.rb +0 -1
  322. data/lib/algolia/models/ingestion/trigger_update_input.rb +0 -2
  323. data/lib/algolia/models/ingestion/watch_response.rb +0 -2
  324. data/lib/algolia/models/ingestion/window.rb +0 -2
  325. data/lib/algolia/models/insights/added_to_cart_object_ids.rb +2 -4
  326. data/lib/algolia/models/insights/added_to_cart_object_ids_after_search.rb +2 -4
  327. data/lib/algolia/models/insights/clicked_filters.rb +2 -4
  328. data/lib/algolia/models/insights/clicked_object_ids.rb +2 -4
  329. data/lib/algolia/models/insights/clicked_object_ids_after_search.rb +2 -4
  330. data/lib/algolia/models/insights/converted_filters.rb +2 -4
  331. data/lib/algolia/models/insights/converted_object_ids.rb +2 -4
  332. data/lib/algolia/models/insights/converted_object_ids_after_search.rb +2 -4
  333. data/lib/algolia/models/insights/discount.rb +0 -1
  334. data/lib/algolia/models/insights/error_base.rb +0 -2
  335. data/lib/algolia/models/insights/events_items.rb +0 -1
  336. data/lib/algolia/models/insights/events_response.rb +0 -2
  337. data/lib/algolia/models/insights/insights_events.rb +0 -2
  338. data/lib/algolia/models/insights/object_data.rb +0 -2
  339. data/lib/algolia/models/insights/object_data_after_search.rb +0 -2
  340. data/lib/algolia/models/insights/price.rb +0 -1
  341. data/lib/algolia/models/insights/purchased_object_ids.rb +2 -4
  342. data/lib/algolia/models/insights/purchased_object_ids_after_search.rb +2 -4
  343. data/lib/algolia/models/insights/value.rb +0 -1
  344. data/lib/algolia/models/insights/viewed_filters.rb +2 -4
  345. data/lib/algolia/models/insights/viewed_object_ids.rb +2 -4
  346. data/lib/algolia/models/monitoring/error_base.rb +0 -2
  347. data/lib/algolia/models/monitoring/incident.rb +0 -2
  348. data/lib/algolia/models/monitoring/incident_entry.rb +0 -2
  349. data/lib/algolia/models/monitoring/incidents_response.rb +0 -2
  350. data/lib/algolia/models/monitoring/indexing_metric.rb +0 -2
  351. data/lib/algolia/models/monitoring/indexing_time_response.rb +0 -2
  352. data/lib/algolia/models/monitoring/infrastructure_response.rb +0 -2
  353. data/lib/algolia/models/monitoring/inventory_response.rb +0 -2
  354. data/lib/algolia/models/monitoring/latency_metric.rb +0 -2
  355. data/lib/algolia/models/monitoring/latency_response.rb +0 -2
  356. data/lib/algolia/models/monitoring/metrics.rb +0 -2
  357. data/lib/algolia/models/monitoring/probes_metric.rb +0 -2
  358. data/lib/algolia/models/monitoring/server.rb +0 -2
  359. data/lib/algolia/models/monitoring/status_response.rb +0 -2
  360. data/lib/algolia/models/monitoring/time_entry.rb +0 -2
  361. data/lib/algolia/models/personalization/delete_user_profile_response.rb +1 -3
  362. data/lib/algolia/models/personalization/error_base.rb +0 -2
  363. data/lib/algolia/models/personalization/events_scoring.rb +0 -2
  364. data/lib/algolia/models/personalization/facets_scoring.rb +0 -2
  365. data/lib/algolia/models/personalization/get_user_token_response.rb +1 -3
  366. data/lib/algolia/models/personalization/personalization_strategy_params.rb +0 -2
  367. data/lib/algolia/models/personalization/set_personalization_strategy_response.rb +0 -2
  368. data/lib/algolia/models/query-suggestions/base_response.rb +0 -2
  369. data/lib/algolia/models/query-suggestions/config_status.rb +0 -2
  370. data/lib/algolia/models/query-suggestions/configuration.rb +0 -2
  371. data/lib/algolia/models/query-suggestions/configuration_response.rb +0 -2
  372. data/lib/algolia/models/query-suggestions/configuration_with_index.rb +0 -2
  373. data/lib/algolia/models/query-suggestions/error_base.rb +0 -2
  374. data/lib/algolia/models/query-suggestions/facet.rb +0 -2
  375. data/lib/algolia/models/query-suggestions/languages.rb +0 -1
  376. data/lib/algolia/models/query-suggestions/log_file.rb +0 -2
  377. data/lib/algolia/models/query-suggestions/source_index.rb +0 -2
  378. data/lib/algolia/models/recommend/around_precision.rb +0 -1
  379. data/lib/algolia/models/recommend/around_radius.rb +0 -1
  380. data/lib/algolia/models/recommend/auto_facet_filter.rb +0 -2
  381. data/lib/algolia/models/recommend/banner.rb +0 -2
  382. data/lib/algolia/models/recommend/banner_image.rb +0 -2
  383. data/lib/algolia/models/recommend/banner_image_url.rb +0 -2
  384. data/lib/algolia/models/recommend/banner_link.rb +0 -2
  385. data/lib/algolia/models/recommend/bought_together_query.rb +0 -2
  386. data/lib/algolia/models/recommend/condition.rb +1 -3
  387. data/lib/algolia/models/recommend/consequence.rb +0 -2
  388. data/lib/algolia/models/recommend/deleted_at_response.rb +1 -3
  389. data/lib/algolia/models/recommend/distinct.rb +0 -1
  390. data/lib/algolia/models/recommend/error_base.rb +0 -2
  391. data/lib/algolia/models/recommend/exhaustive.rb +0 -2
  392. data/lib/algolia/models/recommend/facet_filters.rb +0 -1
  393. data/lib/algolia/models/recommend/facet_ordering.rb +0 -2
  394. data/lib/algolia/models/recommend/facet_stats.rb +0 -2
  395. data/lib/algolia/models/recommend/fallback_params.rb +19 -21
  396. data/lib/algolia/models/recommend/get_recommend_task_response.rb +0 -2
  397. data/lib/algolia/models/recommend/get_recommendations_params.rb +0 -2
  398. data/lib/algolia/models/recommend/get_recommendations_response.rb +0 -2
  399. data/lib/algolia/models/recommend/hide_consequence_object.rb +0 -2
  400. data/lib/algolia/models/recommend/highlight_result.rb +0 -1
  401. data/lib/algolia/models/recommend/highlight_result_option.rb +0 -2
  402. data/lib/algolia/models/recommend/ignore_plurals.rb +0 -1
  403. data/lib/algolia/models/recommend/index_settings_facets.rb +0 -2
  404. data/lib/algolia/models/recommend/inside_bounding_box.rb +0 -1
  405. data/lib/algolia/models/recommend/looking_similar_query.rb +0 -2
  406. data/lib/algolia/models/recommend/matched_geo_location.rb +0 -2
  407. data/lib/algolia/models/recommend/numeric_filters.rb +0 -1
  408. data/lib/algolia/models/recommend/optional_filters.rb +1 -2
  409. data/lib/algolia/models/recommend/optional_words.rb +0 -1
  410. data/lib/algolia/models/recommend/params_consequence.rb +1 -3
  411. data/lib/algolia/models/recommend/personalization.rb +0 -2
  412. data/lib/algolia/models/recommend/promote_consequence_object.rb +0 -2
  413. data/lib/algolia/models/recommend/range.rb +0 -2
  414. data/lib/algolia/models/recommend/ranking_info.rb +0 -2
  415. data/lib/algolia/models/recommend/re_ranking_apply_filter.rb +1 -2
  416. data/lib/algolia/models/recommend/recommend_hit.rb +0 -2
  417. data/lib/algolia/models/recommend/recommend_rule.rb +0 -2
  418. data/lib/algolia/models/recommend/recommend_search_params.rb +19 -21
  419. data/lib/algolia/models/recommend/recommend_updated_at_response.rb +1 -3
  420. data/lib/algolia/models/recommend/recommendations_hit.rb +0 -1
  421. data/lib/algolia/models/recommend/recommendations_request.rb +0 -1
  422. data/lib/algolia/models/recommend/recommendations_results.rb +1 -3
  423. data/lib/algolia/models/recommend/redirect.rb +1 -3
  424. data/lib/algolia/models/recommend/redirect_rule_index_data.rb +0 -2
  425. data/lib/algolia/models/recommend/redirect_rule_index_metadata.rb +0 -2
  426. data/lib/algolia/models/recommend/redirect_url.rb +0 -2
  427. data/lib/algolia/models/recommend/related_query.rb +0 -2
  428. data/lib/algolia/models/recommend/remove_stop_words.rb +0 -1
  429. data/lib/algolia/models/recommend/rendering_content.rb +0 -2
  430. data/lib/algolia/models/recommend/rule_metadata.rb +0 -2
  431. data/lib/algolia/models/recommend/search_recommend_rules_params.rb +2 -4
  432. data/lib/algolia/models/recommend/search_recommend_rules_response.rb +0 -2
  433. data/lib/algolia/models/recommend/snippet_result.rb +0 -1
  434. data/lib/algolia/models/recommend/snippet_result_option.rb +0 -2
  435. data/lib/algolia/models/recommend/tag_filters.rb +0 -1
  436. data/lib/algolia/models/recommend/time_range.rb +0 -2
  437. data/lib/algolia/models/recommend/trending_facet_hit.rb +0 -2
  438. data/lib/algolia/models/recommend/trending_facets_query.rb +0 -2
  439. data/lib/algolia/models/recommend/trending_items_query.rb +0 -2
  440. data/lib/algolia/models/recommend/typo_tolerance.rb +1 -2
  441. data/lib/algolia/models/recommend/value.rb +0 -2
  442. data/lib/algolia/models/recommend/widgets.rb +0 -2
  443. data/lib/algolia/models/search/add_api_key_response.rb +0 -2
  444. data/lib/algolia/models/search/api_key.rb +1 -3
  445. data/lib/algolia/models/search/around_precision.rb +0 -1
  446. data/lib/algolia/models/search/around_radius.rb +0 -1
  447. data/lib/algolia/models/search/assign_user_id_params.rb +0 -2
  448. data/lib/algolia/models/search/attribute_to_update.rb +0 -1
  449. data/lib/algolia/models/search/automatic_facet_filter.rb +0 -2
  450. data/lib/algolia/models/search/automatic_facet_filters.rb +0 -1
  451. data/lib/algolia/models/search/banner.rb +0 -2
  452. data/lib/algolia/models/search/banner_image.rb +0 -2
  453. data/lib/algolia/models/search/banner_image_url.rb +0 -2
  454. data/lib/algolia/models/search/banner_link.rb +0 -2
  455. data/lib/algolia/models/search/batch_assign_user_ids_params.rb +0 -2
  456. data/lib/algolia/models/search/batch_dictionary_entries_params.rb +0 -2
  457. data/lib/algolia/models/search/batch_dictionary_entries_request.rb +0 -2
  458. data/lib/algolia/models/search/batch_params.rb +0 -2
  459. data/lib/algolia/models/search/batch_request.rb +0 -2
  460. data/lib/algolia/models/search/batch_response.rb +1 -3
  461. data/lib/algolia/models/search/batch_write_params.rb +0 -2
  462. data/lib/algolia/models/search/browse_params.rb +0 -1
  463. data/lib/algolia/models/search/browse_params_object.rb +10 -12
  464. data/lib/algolia/models/search/browse_response.rb +1 -3
  465. data/lib/algolia/models/search/built_in_operation.rb +0 -2
  466. data/lib/algolia/models/search/built_in_operation_value.rb +0 -1
  467. data/lib/algolia/models/search/condition.rb +0 -2
  468. data/lib/algolia/models/search/consequence.rb +0 -2
  469. data/lib/algolia/models/search/consequence_hide.rb +0 -2
  470. data/lib/algolia/models/search/consequence_params.rb +10 -12
  471. data/lib/algolia/models/search/consequence_query.rb +0 -1
  472. data/lib/algolia/models/search/consequence_query_object.rb +0 -2
  473. data/lib/algolia/models/search/created_at_response.rb +0 -2
  474. data/lib/algolia/models/search/delete_api_key_response.rb +0 -2
  475. data/lib/algolia/models/search/delete_by_params.rb +1 -3
  476. data/lib/algolia/models/search/delete_source_response.rb +0 -2
  477. data/lib/algolia/models/search/deleted_at_response.rb +1 -3
  478. data/lib/algolia/models/search/dictionary_entry.rb +0 -2
  479. data/lib/algolia/models/search/dictionary_language.rb +0 -2
  480. data/lib/algolia/models/search/dictionary_settings_params.rb +0 -2
  481. data/lib/algolia/models/search/distinct.rb +0 -1
  482. data/lib/algolia/models/search/edit.rb +0 -2
  483. data/lib/algolia/models/search/error_base.rb +0 -2
  484. data/lib/algolia/models/search/event.rb +0 -2
  485. data/lib/algolia/models/search/exhaustive.rb +0 -2
  486. data/lib/algolia/models/search/facet_filters.rb +0 -1
  487. data/lib/algolia/models/search/facet_hits.rb +0 -2
  488. data/lib/algolia/models/search/facet_ordering.rb +0 -2
  489. data/lib/algolia/models/search/facet_stats.rb +0 -2
  490. data/lib/algolia/models/search/facets.rb +0 -2
  491. data/lib/algolia/models/search/fetched_index.rb +0 -2
  492. data/lib/algolia/models/search/get_api_key_response.rb +1 -3
  493. data/lib/algolia/models/search/get_dictionary_settings_response.rb +0 -2
  494. data/lib/algolia/models/search/get_logs_response.rb +0 -2
  495. data/lib/algolia/models/search/get_objects_params.rb +0 -2
  496. data/lib/algolia/models/search/get_objects_request.rb +0 -2
  497. data/lib/algolia/models/search/get_objects_response.rb +0 -2
  498. data/lib/algolia/models/search/get_task_response.rb +0 -2
  499. data/lib/algolia/models/search/get_top_user_ids_response.rb +0 -2
  500. data/lib/algolia/models/search/has_pending_mappings_response.rb +0 -2
  501. data/lib/algolia/models/search/highlight_result.rb +0 -1
  502. data/lib/algolia/models/search/highlight_result_option.rb +0 -2
  503. data/lib/algolia/models/search/hit.rb +0 -2
  504. data/lib/algolia/models/search/ignore_plurals.rb +0 -1
  505. data/lib/algolia/models/search/index_settings.rb +15 -17
  506. data/lib/algolia/models/search/inside_bounding_box.rb +0 -1
  507. data/lib/algolia/models/search/languages.rb +0 -2
  508. data/lib/algolia/models/search/list_api_keys_response.rb +0 -2
  509. data/lib/algolia/models/search/list_clusters_response.rb +0 -2
  510. data/lib/algolia/models/search/list_indices_response.rb +0 -2
  511. data/lib/algolia/models/search/list_user_ids_response.rb +0 -2
  512. data/lib/algolia/models/search/log.rb +0 -2
  513. data/lib/algolia/models/search/log_query.rb +0 -2
  514. data/lib/algolia/models/search/matched_geo_location.rb +0 -2
  515. data/lib/algolia/models/search/multiple_batch_request.rb +0 -2
  516. data/lib/algolia/models/search/multiple_batch_response.rb +0 -2
  517. data/lib/algolia/models/search/numeric_filters.rb +0 -1
  518. data/lib/algolia/models/search/operation_index_params.rb +0 -2
  519. data/lib/algolia/models/search/optional_filters.rb +1 -2
  520. data/lib/algolia/models/search/optional_words.rb +0 -1
  521. data/lib/algolia/models/search/personalization.rb +0 -2
  522. data/lib/algolia/models/search/promote.rb +0 -1
  523. data/lib/algolia/models/search/promote_object_id.rb +0 -2
  524. data/lib/algolia/models/search/promote_object_ids.rb +0 -2
  525. data/lib/algolia/models/search/range.rb +0 -2
  526. data/lib/algolia/models/search/ranking_info.rb +0 -2
  527. data/lib/algolia/models/search/re_ranking_apply_filter.rb +1 -2
  528. data/lib/algolia/models/search/redirect.rb +1 -3
  529. data/lib/algolia/models/search/redirect_rule_index_data.rb +0 -2
  530. data/lib/algolia/models/search/redirect_rule_index_metadata.rb +0 -2
  531. data/lib/algolia/models/search/redirect_url.rb +0 -2
  532. data/lib/algolia/models/search/remove_stop_words.rb +0 -1
  533. data/lib/algolia/models/search/remove_user_id_response.rb +0 -2
  534. data/lib/algolia/models/search/rendering_content.rb +0 -2
  535. data/lib/algolia/models/search/replace_all_objects_response.rb +0 -2
  536. data/lib/algolia/models/search/replace_all_objects_with_transformation_response.rb +0 -2
  537. data/lib/algolia/models/search/replace_source_response.rb +0 -2
  538. data/lib/algolia/models/search/rule.rb +0 -2
  539. data/lib/algolia/models/search/save_object_response.rb +1 -3
  540. data/lib/algolia/models/search/save_synonym_response.rb +1 -3
  541. data/lib/algolia/models/search/search_dictionary_entries_params.rb +0 -2
  542. data/lib/algolia/models/search/search_dictionary_entries_response.rb +1 -3
  543. data/lib/algolia/models/search/search_for_facet_values_request.rb +0 -2
  544. data/lib/algolia/models/search/search_for_facet_values_response.rb +0 -2
  545. data/lib/algolia/models/search/search_for_facets.rb +10 -12
  546. data/lib/algolia/models/search/search_for_hits.rb +10 -12
  547. data/lib/algolia/models/search/search_method_params.rb +0 -2
  548. data/lib/algolia/models/search/search_params.rb +0 -1
  549. data/lib/algolia/models/search/search_params_object.rb +10 -12
  550. data/lib/algolia/models/search/search_params_string.rb +0 -2
  551. data/lib/algolia/models/search/search_query.rb +0 -1
  552. data/lib/algolia/models/search/search_response.rb +1 -3
  553. data/lib/algolia/models/search/search_responses.rb +0 -2
  554. data/lib/algolia/models/search/search_result.rb +0 -1
  555. data/lib/algolia/models/search/search_rules_params.rb +2 -4
  556. data/lib/algolia/models/search/search_rules_response.rb +0 -2
  557. data/lib/algolia/models/search/search_synonyms_params.rb +0 -2
  558. data/lib/algolia/models/search/search_synonyms_response.rb +0 -2
  559. data/lib/algolia/models/search/search_user_ids_params.rb +0 -3
  560. data/lib/algolia/models/search/search_user_ids_response.rb +1 -3
  561. data/lib/algolia/models/search/secured_api_key_restrictions.rb +0 -2
  562. data/lib/algolia/models/search/semantic_search.rb +0 -2
  563. data/lib/algolia/models/search/settings_response.rb +15 -17
  564. data/lib/algolia/models/search/snippet_result.rb +0 -1
  565. data/lib/algolia/models/search/snippet_result_option.rb +0 -2
  566. data/lib/algolia/models/search/source.rb +0 -2
  567. data/lib/algolia/models/search/standard_entries.rb +1 -3
  568. data/lib/algolia/models/search/synonym_hit.rb +4 -6
  569. data/lib/algolia/models/search/tag_filters.rb +0 -1
  570. data/lib/algolia/models/search/time_range.rb +0 -2
  571. data/lib/algolia/models/search/typo_tolerance.rb +1 -2
  572. data/lib/algolia/models/search/update_api_key_response.rb +0 -2
  573. data/lib/algolia/models/search/updated_at_response.rb +1 -3
  574. data/lib/algolia/models/search/updated_at_with_object_id_response.rb +1 -3
  575. data/lib/algolia/models/search/user_highlight_result.rb +0 -2
  576. data/lib/algolia/models/search/user_hit.rb +0 -2
  577. data/lib/algolia/models/search/user_id.rb +0 -2
  578. data/lib/algolia/models/search/value.rb +0 -2
  579. data/lib/algolia/models/search/watch_response.rb +0 -2
  580. data/lib/algolia/models/search/widgets.rb +0 -2
  581. data/lib/algolia/version.rb +1 -1
  582. metadata +3 -1
@@ -11,6 +11,18 @@ module Algolia
11
11
  raise "`app_id` is missing." if config.app_id.nil? || config.app_id == ""
12
12
  raise "`api_key` is missing." if config.api_key.nil? || config.api_key == ""
13
13
 
14
+ if config.connect_timeout.nil?
15
+ config.connect_timeout = 2000
16
+ end
17
+
18
+ if config.read_timeout.nil?
19
+ config.read_timeout = 5000
20
+ end
21
+
22
+ if config.write_timeout.nil?
23
+ config.write_timeout = 30000
24
+ end
25
+
14
26
  @api_client = Algolia::ApiClient.new(config)
15
27
  end
16
28
 
@@ -34,22 +46,10 @@ module Algolia
34
46
  )
35
47
 
36
48
  config = Algolia::Configuration.new(app_id, api_key, hosts, "Analytics", opts)
37
- create_with_config(config)
49
+ new(config)
38
50
  end
39
51
 
40
52
  def self.create_with_config(config)
41
- if config.connect_timeout.nil?
42
- config.connect_timeout = 2000
43
- end
44
-
45
- if config.read_timeout.nil?
46
- config.read_timeout = 5000
47
- end
48
-
49
- if config.write_timeout.nil?
50
- config.write_timeout = 30000
51
- end
52
-
53
53
  new(config)
54
54
  end
55
55
 
@@ -245,14 +245,14 @@ module Algolia
245
245
  @api_client.deserialize(response.body, request_options[:debug_return_type] || "Object")
246
246
  end
247
247
 
248
- # Retrieves the add-to-cart rate for all your searches with at least one add-to-cart event, including a daily breakdown. By default, the analyzed period includes the last eight days including the current day. The rate is the number of add-to-cart conversion events divided by the number of tracked searches. A search is tracked if it returns a queryID (`clickAnalytics` is `true`). This differs from the response's `count`, which shows the overall number of searches, including those where `clickAnalytics` is `false`. **There's a difference between a 0 and null add-to-cart rate when `clickAnalytics` is enabled:** - **Null** means there were no queries: since Algolia didn't receive any events, the add-to-cart rate is null. - **0** mean there _were_ queries but no [add-to-cart events](https://www.algolia.com/doc/guides/sending-events/getting-started/) were received.
248
+ # Retrieves the add-to-cart rate for all your searches with at least one add-to-cart event, including a daily breakdown. By default, the analyzed period includes the last eight days including the current day. The rate is the number of add-to-cart conversion events divided by the number of tracked searches. A search is tracked if it returns a queryID (`clickAnalytics` is `true`). This differs from the response's `count`, which shows the overall number of searches, including those where `clickAnalytics` is `false`. **There's a difference between a 0 and null add-to-cart rate when `clickAnalytics` is enabled:** - **Null** means there were no queries: since Algolia didn't receive any events, the add-to-cart rate is null. - **0** mean there _were_ queries but no [add-to-cart events](https://www.algolia.com/doc/guides/sending-events/getting-started) were received.
249
249
  #
250
250
  # Required API Key ACLs:
251
251
  # - analytics
252
252
  # @param index [String] Index name. (required)
253
253
  # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
254
254
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
255
- # @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/).
255
+ # @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).
256
256
  # @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)
257
257
  # @return [Http::Response] the response
258
258
  def get_add_to_cart_rate_with_http_info(index, start_date = nil, end_date = nil, tags = nil, request_options = {})
@@ -284,14 +284,14 @@ module Algolia
284
284
  @api_client.call_api(:GET, path, new_options)
285
285
  end
286
286
 
287
- # Retrieves the add-to-cart rate for all your searches with at least one add-to-cart event, including a daily breakdown. By default, the analyzed period includes the last eight days including the current day. The rate is the number of add-to-cart conversion events divided by the number of tracked searches. A search is tracked if it returns a queryID (`clickAnalytics` is `true`). This differs from the response's `count`, which shows the overall number of searches, including those where `clickAnalytics` is `false`. **There's a difference between a 0 and null add-to-cart rate when `clickAnalytics` is enabled:** - **Null** means there were no queries: since Algolia didn't receive any events, the add-to-cart rate is null. - **0** mean there _were_ queries but no [add-to-cart events](https://www.algolia.com/doc/guides/sending-events/getting-started/) were received.
287
+ # Retrieves the add-to-cart rate for all your searches with at least one add-to-cart event, including a daily breakdown. By default, the analyzed period includes the last eight days including the current day. The rate is the number of add-to-cart conversion events divided by the number of tracked searches. A search is tracked if it returns a queryID (`clickAnalytics` is `true`). This differs from the response's `count`, which shows the overall number of searches, including those where `clickAnalytics` is `false`. **There's a difference between a 0 and null add-to-cart rate when `clickAnalytics` is enabled:** - **Null** means there were no queries: since Algolia didn't receive any events, the add-to-cart rate is null. - **0** mean there _were_ queries but no [add-to-cart events](https://www.algolia.com/doc/guides/sending-events/getting-started) were received.
288
288
  #
289
289
  # Required API Key ACLs:
290
290
  # - analytics
291
291
  # @param index [String] Index name. (required)
292
292
  # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
293
293
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
294
- # @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/).
294
+ # @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).
295
295
  # @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)
296
296
  # @return [GetAddToCartRateResponse]
297
297
  def get_add_to_cart_rate(index, start_date = nil, end_date = nil, tags = nil, request_options = {})
@@ -302,14 +302,14 @@ module Algolia
302
302
  )
303
303
  end
304
304
 
305
- # Retrieves the average click position of your search results, including a daily breakdown. The average click position is the average of all clicked search result positions. For example, if users only ever click on the first result for any search, the average click position is 1. By default, the analyzed period includes the last eight days including the current day. An average of `null` when `clickAnalytics` is enabled means Algolia didn't receive any [click events](https://www.algolia.com/doc/guides/sending-events/getting-started/) for the queries. The average is `null` until Algolia receives at least one click event.
305
+ # Retrieves the average click position of your search results, including a daily breakdown. The average click position is the average of all clicked search result positions. For example, if users only ever click on the first result for any search, the average click position is 1. By default, the analyzed period includes the last eight days including the current day. An average of `null` when `clickAnalytics` is enabled means Algolia didn't receive any [click events](https://www.algolia.com/doc/guides/sending-events/getting-started) for the queries. The average is `null` until Algolia receives at least one click event.
306
306
  #
307
307
  # Required API Key ACLs:
308
308
  # - analytics
309
309
  # @param index [String] Index name. (required)
310
310
  # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
311
311
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
312
- # @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/).
312
+ # @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).
313
313
  # @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)
314
314
  # @return [Http::Response] the response
315
315
  def get_average_click_position_with_http_info(
@@ -347,14 +347,14 @@ module Algolia
347
347
  @api_client.call_api(:GET, path, new_options)
348
348
  end
349
349
 
350
- # Retrieves the average click position of your search results, including a daily breakdown. The average click position is the average of all clicked search result positions. For example, if users only ever click on the first result for any search, the average click position is 1. By default, the analyzed period includes the last eight days including the current day. An average of `null` when `clickAnalytics` is enabled means Algolia didn't receive any [click events](https://www.algolia.com/doc/guides/sending-events/getting-started/) for the queries. The average is `null` until Algolia receives at least one click event.
350
+ # Retrieves the average click position of your search results, including a daily breakdown. The average click position is the average of all clicked search result positions. For example, if users only ever click on the first result for any search, the average click position is 1. By default, the analyzed period includes the last eight days including the current day. An average of `null` when `clickAnalytics` is enabled means Algolia didn't receive any [click events](https://www.algolia.com/doc/guides/sending-events/getting-started) for the queries. The average is `null` until Algolia receives at least one click event.
351
351
  #
352
352
  # Required API Key ACLs:
353
353
  # - analytics
354
354
  # @param index [String] Index name. (required)
355
355
  # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
356
356
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
357
- # @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/).
357
+ # @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).
358
358
  # @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)
359
359
  # @return [GetAverageClickPositionResponse]
360
360
  def get_average_click_position(index, start_date = nil, end_date = nil, tags = nil, request_options = {})
@@ -365,14 +365,14 @@ module Algolia
365
365
  )
366
366
  end
367
367
 
368
- # Retrieves the positions in the search results and their associated number of clicks. This lets you check how many clicks the first, second, or tenth search results receive. An average of `0` when `clickAnalytics` is enabled means Algolia didn't receive any [click events](https://www.algolia.com/doc/guides/sending-events/getting-started/) for the queries.
368
+ # Retrieves the positions in the search results and their associated number of clicks. This lets you check how many clicks the first, second, or tenth search results receive. An average of `0` when `clickAnalytics` is enabled means Algolia didn't receive any [click events](https://www.algolia.com/doc/guides/sending-events/getting-started) for the queries.
369
369
  #
370
370
  # Required API Key ACLs:
371
371
  # - analytics
372
372
  # @param index [String] Index name. (required)
373
373
  # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
374
374
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
375
- # @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/).
375
+ # @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).
376
376
  # @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)
377
377
  # @return [Http::Response] the response
378
378
  def get_click_positions_with_http_info(index, start_date = nil, end_date = nil, tags = nil, request_options = {})
@@ -404,14 +404,14 @@ module Algolia
404
404
  @api_client.call_api(:GET, path, new_options)
405
405
  end
406
406
 
407
- # Retrieves the positions in the search results and their associated number of clicks. This lets you check how many clicks the first, second, or tenth search results receive. An average of `0` when `clickAnalytics` is enabled means Algolia didn't receive any [click events](https://www.algolia.com/doc/guides/sending-events/getting-started/) for the queries.
407
+ # Retrieves the positions in the search results and their associated number of clicks. This lets you check how many clicks the first, second, or tenth search results receive. An average of `0` when `clickAnalytics` is enabled means Algolia didn't receive any [click events](https://www.algolia.com/doc/guides/sending-events/getting-started) for the queries.
408
408
  #
409
409
  # Required API Key ACLs:
410
410
  # - analytics
411
411
  # @param index [String] Index name. (required)
412
412
  # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
413
413
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
414
- # @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/).
414
+ # @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).
415
415
  # @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)
416
416
  # @return [GetClickPositionsResponse]
417
417
  def get_click_positions(index, start_date = nil, end_date = nil, tags = nil, request_options = {})
@@ -422,14 +422,14 @@ module Algolia
422
422
  )
423
423
  end
424
424
 
425
- # Retrieves the click-through rate (CTR) for all your searches with at least one click event, including a daily breakdown. By default, the analyzed period includes the last eight days including the current day. **There's a difference between a 0 and null CTR when `clickAnalytics` is enabled:** - **Null** means there were no queries: since Algolia didn't receive any events, CTR is null. - **0** mean there _were_ queries but no [click events](https://www.algolia.com/doc/guides/sending-events/getting-started/) were received.
425
+ # Retrieves the click-through rate (CTR) for all your searches with at least one click event, including a daily breakdown. By default, the analyzed period includes the last eight days including the current day. **There's a difference between a 0 and null CTR when `clickAnalytics` is enabled:** - **Null** means there were no queries: since Algolia didn't receive any events, CTR is null. - **0** mean there _were_ queries but no [click events](https://www.algolia.com/doc/guides/sending-events/getting-started) were received.
426
426
  #
427
427
  # Required API Key ACLs:
428
428
  # - analytics
429
429
  # @param index [String] Index name. (required)
430
430
  # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
431
431
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
432
- # @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/).
432
+ # @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).
433
433
  # @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)
434
434
  # @return [Http::Response] the response
435
435
  def get_click_through_rate_with_http_info(index, start_date = nil, end_date = nil, tags = nil, request_options = {})
@@ -461,14 +461,14 @@ module Algolia
461
461
  @api_client.call_api(:GET, path, new_options)
462
462
  end
463
463
 
464
- # Retrieves the click-through rate (CTR) for all your searches with at least one click event, including a daily breakdown. By default, the analyzed period includes the last eight days including the current day. **There's a difference between a 0 and null CTR when `clickAnalytics` is enabled:** - **Null** means there were no queries: since Algolia didn't receive any events, CTR is null. - **0** mean there _were_ queries but no [click events](https://www.algolia.com/doc/guides/sending-events/getting-started/) were received.
464
+ # Retrieves the click-through rate (CTR) for all your searches with at least one click event, including a daily breakdown. By default, the analyzed period includes the last eight days including the current day. **There's a difference between a 0 and null CTR when `clickAnalytics` is enabled:** - **Null** means there were no queries: since Algolia didn't receive any events, CTR is null. - **0** mean there _were_ queries but no [click events](https://www.algolia.com/doc/guides/sending-events/getting-started) were received.
465
465
  #
466
466
  # Required API Key ACLs:
467
467
  # - analytics
468
468
  # @param index [String] Index name. (required)
469
469
  # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
470
470
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
471
- # @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/).
471
+ # @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).
472
472
  # @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)
473
473
  # @return [GetClickThroughRateResponse]
474
474
  def get_click_through_rate(index, start_date = nil, end_date = nil, tags = nil, request_options = {})
@@ -479,14 +479,14 @@ module Algolia
479
479
  )
480
480
  end
481
481
 
482
- # Retrieves the conversion rate (CR) for all your searches with at least one conversion event, including a daily breakdown. By default, the analyzed period includes the last eight days including the current day. **There's a difference between a 0 and null CR when `clickAnalytics` is enabled:** - **Null** means there were no queries: since Algolia didn't receive any events, CR is null. - **0** mean there _were_ queries but no [conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started/) were received.
482
+ # Retrieves the conversion rate (CR) for all your searches with at least one conversion event, including a daily breakdown. By default, the analyzed period includes the last eight days including the current day. **There's a difference between a 0 and null CR when `clickAnalytics` is enabled:** - **Null** means there were no queries: since Algolia didn't receive any events, CR is null. - **0** mean there _were_ queries but no [conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started) were received.
483
483
  #
484
484
  # Required API Key ACLs:
485
485
  # - analytics
486
486
  # @param index [String] Index name. (required)
487
487
  # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
488
488
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
489
- # @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/).
489
+ # @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).
490
490
  # @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)
491
491
  # @return [Http::Response] the response
492
492
  def get_conversion_rate_with_http_info(index, start_date = nil, end_date = nil, tags = nil, request_options = {})
@@ -518,14 +518,14 @@ module Algolia
518
518
  @api_client.call_api(:GET, path, new_options)
519
519
  end
520
520
 
521
- # Retrieves the conversion rate (CR) for all your searches with at least one conversion event, including a daily breakdown. By default, the analyzed period includes the last eight days including the current day. **There's a difference between a 0 and null CR when `clickAnalytics` is enabled:** - **Null** means there were no queries: since Algolia didn't receive any events, CR is null. - **0** mean there _were_ queries but no [conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started/) were received.
521
+ # Retrieves the conversion rate (CR) for all your searches with at least one conversion event, including a daily breakdown. By default, the analyzed period includes the last eight days including the current day. **There's a difference between a 0 and null CR when `clickAnalytics` is enabled:** - **Null** means there were no queries: since Algolia didn't receive any events, CR is null. - **0** mean there _were_ queries but no [conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started) were received.
522
522
  #
523
523
  # Required API Key ACLs:
524
524
  # - analytics
525
525
  # @param index [String] Index name. (required)
526
526
  # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
527
527
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
528
- # @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/).
528
+ # @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).
529
529
  # @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)
530
530
  # @return [GetConversionRateResponse]
531
531
  def get_conversion_rate(index, start_date = nil, end_date = nil, tags = nil, request_options = {})
@@ -543,7 +543,7 @@ module Algolia
543
543
  # @param index [String] Index name. (required)
544
544
  # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
545
545
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
546
- # @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/).
546
+ # @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).
547
547
  # @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)
548
548
  # @return [Http::Response] the response
549
549
  def get_no_click_rate_with_http_info(index, start_date = nil, end_date = nil, tags = nil, request_options = {})
@@ -582,7 +582,7 @@ module Algolia
582
582
  # @param index [String] Index name. (required)
583
583
  # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
584
584
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
585
- # @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/).
585
+ # @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).
586
586
  # @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)
587
587
  # @return [GetNoClickRateResponse]
588
588
  def get_no_click_rate(index, start_date = nil, end_date = nil, tags = nil, request_options = {})
@@ -597,7 +597,7 @@ module Algolia
597
597
  # @param index [String] Index name. (required)
598
598
  # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
599
599
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
600
- # @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/).
600
+ # @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).
601
601
  # @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)
602
602
  # @return [Http::Response] the response
603
603
  def get_no_results_rate_with_http_info(index, start_date = nil, end_date = nil, tags = nil, request_options = {})
@@ -636,7 +636,7 @@ module Algolia
636
636
  # @param index [String] Index name. (required)
637
637
  # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
638
638
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
639
- # @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/).
639
+ # @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).
640
640
  # @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)
641
641
  # @return [GetNoResultsRateResponse]
642
642
  def get_no_results_rate(index, start_date = nil, end_date = nil, tags = nil, request_options = {})
@@ -647,14 +647,14 @@ module Algolia
647
647
  )
648
648
  end
649
649
 
650
- # Retrieves the purchase rate for all your searches with at least one purchase event, including a daily breakdown. By default, the analyzed period includes the last eight days including the current day. The rate is the number of purchase conversion events divided by the number of tracked searches. A search is tracked if it returns a query ID (`clickAnalytics` is `true`). This differs from the response's `count`, which shows the overall number of searches, including those where `clickAnalytics` is `false`. **There's a difference between a 0 and null purchase rate when `clickAnalytics` is enabled:** - **Null** means there were no queries: since Algolia didn't receive any events, the purchase rate is null. - **0** mean there _were_ queries but no [purchase conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started/) were received.
650
+ # Retrieves the purchase rate for all your searches with at least one purchase event, including a daily breakdown. By default, the analyzed period includes the last eight days including the current day. The rate is the number of purchase conversion events divided by the number of tracked searches. A search is tracked if it returns a query ID (`clickAnalytics` is `true`). This differs from the response's `count`, which shows the overall number of searches, including those where `clickAnalytics` is `false`. **There's a difference between a 0 and null purchase rate when `clickAnalytics` is enabled:** - **Null** means there were no queries: since Algolia didn't receive any events, the purchase rate is null. - **0** mean there _were_ queries but no [purchase conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started) were received.
651
651
  #
652
652
  # Required API Key ACLs:
653
653
  # - analytics
654
654
  # @param index [String] Index name. (required)
655
655
  # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
656
656
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
657
- # @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/).
657
+ # @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).
658
658
  # @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)
659
659
  # @return [Http::Response] the response
660
660
  def get_purchase_rate_with_http_info(index, start_date = nil, end_date = nil, tags = nil, request_options = {})
@@ -686,14 +686,14 @@ module Algolia
686
686
  @api_client.call_api(:GET, path, new_options)
687
687
  end
688
688
 
689
- # Retrieves the purchase rate for all your searches with at least one purchase event, including a daily breakdown. By default, the analyzed period includes the last eight days including the current day. The rate is the number of purchase conversion events divided by the number of tracked searches. A search is tracked if it returns a query ID (`clickAnalytics` is `true`). This differs from the response's `count`, which shows the overall number of searches, including those where `clickAnalytics` is `false`. **There's a difference between a 0 and null purchase rate when `clickAnalytics` is enabled:** - **Null** means there were no queries: since Algolia didn't receive any events, the purchase rate is null. - **0** mean there _were_ queries but no [purchase conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started/) were received.
689
+ # Retrieves the purchase rate for all your searches with at least one purchase event, including a daily breakdown. By default, the analyzed period includes the last eight days including the current day. The rate is the number of purchase conversion events divided by the number of tracked searches. A search is tracked if it returns a query ID (`clickAnalytics` is `true`). This differs from the response's `count`, which shows the overall number of searches, including those where `clickAnalytics` is `false`. **There's a difference between a 0 and null purchase rate when `clickAnalytics` is enabled:** - **Null** means there were no queries: since Algolia didn't receive any events, the purchase rate is null. - **0** mean there _were_ queries but no [purchase conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started) were received.
690
690
  #
691
691
  # Required API Key ACLs:
692
692
  # - analytics
693
693
  # @param index [String] Index name. (required)
694
694
  # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
695
695
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
696
- # @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/).
696
+ # @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).
697
697
  # @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)
698
698
  # @return [GetPurchaseRateResponse]
699
699
  def get_purchase_rate(index, start_date = nil, end_date = nil, tags = nil, request_options = {})
@@ -711,7 +711,7 @@ module Algolia
711
711
  # @param index [String] Index name. (required)
712
712
  # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
713
713
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
714
- # @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/).
714
+ # @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).
715
715
  # @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)
716
716
  # @return [Http::Response] the response
717
717
  def get_revenue_with_http_info(index, start_date = nil, end_date = nil, tags = nil, request_options = {})
@@ -750,7 +750,7 @@ module Algolia
750
750
  # @param index [String] Index name. (required)
751
751
  # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
752
752
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
753
- # @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/).
753
+ # @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).
754
754
  # @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)
755
755
  # @return [GetRevenue]
756
756
  def get_revenue(index, start_date = nil, end_date = nil, tags = nil, request_options = {})
@@ -765,7 +765,7 @@ module Algolia
765
765
  # @param index [String] Index name. (required)
766
766
  # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
767
767
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
768
- # @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/).
768
+ # @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).
769
769
  # @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)
770
770
  # @return [Http::Response] the response
771
771
  def get_searches_count_with_http_info(index, start_date = nil, end_date = nil, tags = nil, request_options = {})
@@ -804,7 +804,7 @@ module Algolia
804
804
  # @param index [String] Index name. (required)
805
805
  # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
806
806
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
807
- # @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/).
807
+ # @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).
808
808
  # @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)
809
809
  # @return [GetSearchesCountResponse]
810
810
  def get_searches_count(index, start_date = nil, end_date = nil, tags = nil, request_options = {})
@@ -824,7 +824,7 @@ module Algolia
824
824
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
825
825
  # @param limit [Integer] Number of items to return. (default to 10)
826
826
  # @param offset [Integer] Position of the first item to return. (default to 0)
827
- # @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/).
827
+ # @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).
828
828
  # @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)
829
829
  # @return [Http::Response] the response
830
830
  def get_searches_no_clicks_with_http_info(
@@ -875,7 +875,7 @@ module Algolia
875
875
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
876
876
  # @param limit [Integer] Number of items to return. (default to 10)
877
877
  # @param offset [Integer] Position of the first item to return. (default to 0)
878
- # @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/).
878
+ # @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).
879
879
  # @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)
880
880
  # @return [GetSearchesNoClicksResponse]
881
881
  def get_searches_no_clicks(
@@ -911,7 +911,7 @@ module Algolia
911
911
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
912
912
  # @param limit [Integer] Number of items to return. (default to 10)
913
913
  # @param offset [Integer] Position of the first item to return. (default to 0)
914
- # @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/).
914
+ # @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).
915
915
  # @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)
916
916
  # @return [Http::Response] the response
917
917
  def get_searches_no_results_with_http_info(
@@ -962,7 +962,7 @@ module Algolia
962
962
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
963
963
  # @param limit [Integer] Number of items to return. (default to 10)
964
964
  # @param offset [Integer] Position of the first item to return. (default to 0)
965
- # @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/).
965
+ # @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).
966
966
  # @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)
967
967
  # @return [GetSearchesNoResultsResponse]
968
968
  def get_searches_no_results(
@@ -1043,7 +1043,7 @@ module Algolia
1043
1043
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
1044
1044
  # @param limit [Integer] Number of items to return. (default to 10)
1045
1045
  # @param offset [Integer] Position of the first item to return. (default to 0)
1046
- # @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/).
1046
+ # @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).
1047
1047
  # @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)
1048
1048
  # @return [Http::Response] the response
1049
1049
  def get_top_countries_with_http_info(
@@ -1094,7 +1094,7 @@ module Algolia
1094
1094
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
1095
1095
  # @param limit [Integer] Number of items to return. (default to 10)
1096
1096
  # @param offset [Integer] Position of the first item to return. (default to 0)
1097
- # @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/).
1097
+ # @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).
1098
1098
  # @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)
1099
1099
  # @return [GetTopCountriesResponse]
1100
1100
  def get_top_countries(
@@ -1123,7 +1123,7 @@ module Algolia
1123
1123
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
1124
1124
  # @param limit [Integer] Number of items to return. (default to 10)
1125
1125
  # @param offset [Integer] Position of the first item to return. (default to 0)
1126
- # @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/).
1126
+ # @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).
1127
1127
  # @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)
1128
1128
  # @return [Http::Response] the response
1129
1129
  def get_top_filter_attributes_with_http_info(
@@ -1177,7 +1177,7 @@ module Algolia
1177
1177
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
1178
1178
  # @param limit [Integer] Number of items to return. (default to 10)
1179
1179
  # @param offset [Integer] Position of the first item to return. (default to 0)
1180
- # @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/).
1180
+ # @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).
1181
1181
  # @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)
1182
1182
  # @return [GetTopFilterAttributesResponse]
1183
1183
  def get_top_filter_attributes(
@@ -1217,7 +1217,7 @@ module Algolia
1217
1217
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
1218
1218
  # @param limit [Integer] Number of items to return. (default to 10)
1219
1219
  # @param offset [Integer] Position of the first item to return. (default to 0)
1220
- # @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/).
1220
+ # @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).
1221
1221
  # @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)
1222
1222
  # @return [Http::Response] the response
1223
1223
  def get_top_filter_for_attribute_with_http_info(
@@ -1277,7 +1277,7 @@ module Algolia
1277
1277
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
1278
1278
  # @param limit [Integer] Number of items to return. (default to 10)
1279
1279
  # @param offset [Integer] Position of the first item to return. (default to 0)
1280
- # @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/).
1280
+ # @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).
1281
1281
  # @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)
1282
1282
  # @return [GetTopFilterForAttributeResponse]
1283
1283
  def get_top_filter_for_attribute(
@@ -1308,7 +1308,7 @@ module Algolia
1308
1308
  )
1309
1309
  end
1310
1310
 
1311
- # Retrieves the 1,000 most frequently used filters for a search that didn't return any results. To get the most frequent searches without results, use the [Retrieve searches without results](#tag/search/operation/getSearchesNoResults) operation.
1311
+ # Retrieves the 1,000 most frequently used filters for a search that didn't return any results. To get the most frequent searches without results, use the [Retrieve searches without results](https://www.algolia.com/doc/rest-api/analytics/get-searches-no-results) operation.
1312
1312
  #
1313
1313
  # Required API Key ACLs:
1314
1314
  # - analytics
@@ -1318,7 +1318,7 @@ module Algolia
1318
1318
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
1319
1319
  # @param limit [Integer] Number of items to return. (default to 10)
1320
1320
  # @param offset [Integer] Position of the first item to return. (default to 0)
1321
- # @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/).
1321
+ # @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).
1322
1322
  # @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)
1323
1323
  # @return [Http::Response] the response
1324
1324
  def get_top_filters_no_results_with_http_info(
@@ -1362,7 +1362,7 @@ module Algolia
1362
1362
  @api_client.call_api(:GET, path, new_options)
1363
1363
  end
1364
1364
 
1365
- # Retrieves the 1,000 most frequently used filters for a search that didn't return any results. To get the most frequent searches without results, use the [Retrieve searches without results](#tag/search/operation/getSearchesNoResults) operation.
1365
+ # Retrieves the 1,000 most frequently used filters for a search that didn't return any results. To get the most frequent searches without results, use the [Retrieve searches without results](https://www.algolia.com/doc/rest-api/analytics/get-searches-no-results) operation.
1366
1366
  #
1367
1367
  # Required API Key ACLs:
1368
1368
  # - analytics
@@ -1372,7 +1372,7 @@ module Algolia
1372
1372
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
1373
1373
  # @param limit [Integer] Number of items to return. (default to 10)
1374
1374
  # @param offset [Integer] Position of the first item to return. (default to 0)
1375
- # @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/).
1375
+ # @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).
1376
1376
  # @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)
1377
1377
  # @return [GetTopFiltersNoResultsResponse]
1378
1378
  def get_top_filters_no_results(
@@ -1401,7 +1401,7 @@ module Algolia
1401
1401
  )
1402
1402
  end
1403
1403
 
1404
- # Retrieves the object IDs of the 1,000 most frequent search results. If you set the `clickAnalytics` query parameter to true, the response also includes: - Tracked searches count. Tracked searches are Search API requests with the `clickAnalytics` parameter set to `true`. This differs from the response's `count`, which shows the overall number of searches, including those where `clickAnalytics` is `false`. - Click count - Click-through rate (CTR) - Conversion count - Conversion rate (CR) - Average click position If you set the `revenueAnalytics` parameter to `true`, the response also includes: - Add-to-cart count - Add-to-cart rate (ATCR) - Purchase count - Purchase rate - Revenue details for each currency **There's a difference between 0% rates and null rates:** - **Null** means there were no queries: since Algolia didn't receive any events, the rates (CTR, CR, ATCR, purchase rate) are null. - **0% rates** mean there _were_ queries but no [click or conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started/) were received.
1404
+ # Retrieves the object IDs of the 1,000 most frequent search results. If you set the `clickAnalytics` query parameter to true, the response also includes: - Tracked searches count. Tracked searches are Search API requests with the `clickAnalytics` parameter set to `true`. This differs from the response's `count`, which shows the overall number of searches, including those where `clickAnalytics` is `false`. - Click count - Click-through rate (CTR) - Conversion count - Conversion rate (CR) - Average click position If you set the `revenueAnalytics` parameter to `true`, the response also includes: - Add-to-cart count - Add-to-cart rate (ATCR) - Purchase count - Purchase rate - Revenue details for each currency **There's a difference between 0% rates and null rates:** - **Null** means there were no queries: since Algolia didn't receive any events, the rates (CTR, CR, ATCR, purchase rate) are null. - **0% rates** mean there _were_ queries but no [click or conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started) were received.
1405
1405
  #
1406
1406
  # Required API Key ACLs:
1407
1407
  # - analytics
@@ -1413,7 +1413,7 @@ module Algolia
1413
1413
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
1414
1414
  # @param limit [Integer] Number of items to return. (default to 10)
1415
1415
  # @param offset [Integer] Position of the first item to return. (default to 0)
1416
- # @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/).
1416
+ # @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).
1417
1417
  # @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)
1418
1418
  # @return [Http::Response] the response
1419
1419
  def get_top_hits_with_http_info(
@@ -1461,7 +1461,7 @@ module Algolia
1461
1461
  @api_client.call_api(:GET, path, new_options)
1462
1462
  end
1463
1463
 
1464
- # Retrieves the object IDs of the 1,000 most frequent search results. If you set the `clickAnalytics` query parameter to true, the response also includes: - Tracked searches count. Tracked searches are Search API requests with the `clickAnalytics` parameter set to `true`. This differs from the response's `count`, which shows the overall number of searches, including those where `clickAnalytics` is `false`. - Click count - Click-through rate (CTR) - Conversion count - Conversion rate (CR) - Average click position If you set the `revenueAnalytics` parameter to `true`, the response also includes: - Add-to-cart count - Add-to-cart rate (ATCR) - Purchase count - Purchase rate - Revenue details for each currency **There's a difference between 0% rates and null rates:** - **Null** means there were no queries: since Algolia didn't receive any events, the rates (CTR, CR, ATCR, purchase rate) are null. - **0% rates** mean there _were_ queries but no [click or conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started/) were received.
1464
+ # Retrieves the object IDs of the 1,000 most frequent search results. If you set the `clickAnalytics` query parameter to true, the response also includes: - Tracked searches count. Tracked searches are Search API requests with the `clickAnalytics` parameter set to `true`. This differs from the response's `count`, which shows the overall number of searches, including those where `clickAnalytics` is `false`. - Click count - Click-through rate (CTR) - Conversion count - Conversion rate (CR) - Average click position If you set the `revenueAnalytics` parameter to `true`, the response also includes: - Add-to-cart count - Add-to-cart rate (ATCR) - Purchase count - Purchase rate - Revenue details for each currency **There's a difference between 0% rates and null rates:** - **Null** means there were no queries: since Algolia didn't receive any events, the rates (CTR, CR, ATCR, purchase rate) are null. - **0% rates** mean there _were_ queries but no [click or conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started) were received.
1465
1465
  #
1466
1466
  # Required API Key ACLs:
1467
1467
  # - analytics
@@ -1473,7 +1473,7 @@ module Algolia
1473
1473
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
1474
1474
  # @param limit [Integer] Number of items to return. (default to 10)
1475
1475
  # @param offset [Integer] Position of the first item to return. (default to 0)
1476
- # @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/).
1476
+ # @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).
1477
1477
  # @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)
1478
1478
  # @return [GetTopHitsResponse]
1479
1479
  def get_top_hits(
@@ -1503,7 +1503,7 @@ module Algolia
1503
1503
  @api_client.deserialize(response.body, request_options[:debug_return_type] || "Analytics::GetTopHitsResponse")
1504
1504
  end
1505
1505
 
1506
- # Returns the most popular searches. For each search, it also includes the average number of hits. If you set the `clickAnalytics` query parameter to `true`, the response also includes - Tracked searches count. Tracked searches are Search API requests with the `clickAnalytics` parameter set to `true`. This differs from the response's `count`, which shows the overall number of searches, including those where `clickAnalytics` is `false`. - Click count - Click-through rate (CTR) - Conversion count - Conversion rate (CR) - Average click position If you set the `revenueAnalytics` query parameter to `true`, the response also includes: - Add-to-cart count - Add-to-cart rate (ATCR) - Purchase count - Purchase rate - Revenue details for each currency **There's a difference between 0% rates and null rates:** - **Null** means there were no queries: since Algolia didn't receive any events, the rates (CTR, CR, ATCR, purchase rate) are null. - **0% rates** mean there _were_ queries but no [click or conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started/) were received.
1506
+ # Returns the most popular searches. For each search, it also includes the average number of hits. If you set the `clickAnalytics` query parameter to `true`, the response also includes - Tracked searches count. Tracked searches are Search API requests with the `clickAnalytics` parameter set to `true`. This differs from the response's `count`, which shows the overall number of searches, including those where `clickAnalytics` is `false`. - Click count - Click-through rate (CTR) - Conversion count - Conversion rate (CR) - Average click position If you set the `revenueAnalytics` query parameter to `true`, the response also includes: - Add-to-cart count - Add-to-cart rate (ATCR) - Purchase count - Purchase rate - Revenue details for each currency **There's a difference between 0% rates and null rates:** - **Null** means there were no queries: since Algolia didn't receive any events, the rates (CTR, CR, ATCR, purchase rate) are null. - **0% rates** mean there _were_ queries but no [click or conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started) were received.
1507
1507
  #
1508
1508
  # Required API Key ACLs:
1509
1509
  # - analytics
@@ -1516,7 +1516,7 @@ module Algolia
1516
1516
  # @param direction [Direction] Sorting direction of the results: ascending or descending. (default to 'asc')
1517
1517
  # @param limit [Integer] Number of items to return. (default to 10)
1518
1518
  # @param offset [Integer] Position of the first item to return. (default to 0)
1519
- # @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/).
1519
+ # @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).
1520
1520
  # @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)
1521
1521
  # @return [Http::Response] the response
1522
1522
  def get_top_searches_with_http_info(
@@ -1566,7 +1566,7 @@ module Algolia
1566
1566
  @api_client.call_api(:GET, path, new_options)
1567
1567
  end
1568
1568
 
1569
- # Returns the most popular searches. For each search, it also includes the average number of hits. If you set the `clickAnalytics` query parameter to `true`, the response also includes - Tracked searches count. Tracked searches are Search API requests with the `clickAnalytics` parameter set to `true`. This differs from the response's `count`, which shows the overall number of searches, including those where `clickAnalytics` is `false`. - Click count - Click-through rate (CTR) - Conversion count - Conversion rate (CR) - Average click position If you set the `revenueAnalytics` query parameter to `true`, the response also includes: - Add-to-cart count - Add-to-cart rate (ATCR) - Purchase count - Purchase rate - Revenue details for each currency **There's a difference between 0% rates and null rates:** - **Null** means there were no queries: since Algolia didn't receive any events, the rates (CTR, CR, ATCR, purchase rate) are null. - **0% rates** mean there _were_ queries but no [click or conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started/) were received.
1569
+ # Returns the most popular searches. For each search, it also includes the average number of hits. If you set the `clickAnalytics` query parameter to `true`, the response also includes - Tracked searches count. Tracked searches are Search API requests with the `clickAnalytics` parameter set to `true`. This differs from the response's `count`, which shows the overall number of searches, including those where `clickAnalytics` is `false`. - Click count - Click-through rate (CTR) - Conversion count - Conversion rate (CR) - Average click position If you set the `revenueAnalytics` query parameter to `true`, the response also includes: - Add-to-cart count - Add-to-cart rate (ATCR) - Purchase count - Purchase rate - Revenue details for each currency **There's a difference between 0% rates and null rates:** - **Null** means there were no queries: since Algolia didn't receive any events, the rates (CTR, CR, ATCR, purchase rate) are null. - **0% rates** mean there _were_ queries but no [click or conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started) were received.
1570
1570
  #
1571
1571
  # Required API Key ACLs:
1572
1572
  # - analytics
@@ -1579,7 +1579,7 @@ module Algolia
1579
1579
  # @param direction [Direction] Sorting direction of the results: ascending or descending. (default to 'asc')
1580
1580
  # @param limit [Integer] Number of items to return. (default to 10)
1581
1581
  # @param offset [Integer] Position of the first item to return. (default to 0)
1582
- # @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/).
1582
+ # @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).
1583
1583
  # @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)
1584
1584
  # @return [GetTopSearchesResponse]
1585
1585
  def get_top_searches(
@@ -1618,7 +1618,7 @@ module Algolia
1618
1618
  # @param index [String] Index name. (required)
1619
1619
  # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
1620
1620
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
1621
- # @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/).
1621
+ # @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).
1622
1622
  # @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)
1623
1623
  # @return [Http::Response] the response
1624
1624
  def get_users_count_with_http_info(index, start_date = nil, end_date = nil, tags = nil, request_options = {})
@@ -1657,7 +1657,7 @@ module Algolia
1657
1657
  # @param index [String] Index name. (required)
1658
1658
  # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
1659
1659
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
1660
- # @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/).
1660
+ # @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).
1661
1661
  # @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)
1662
1662
  # @return [GetUsersCountResponse]
1663
1663
  def get_users_count(index, start_date = nil, end_date = nil, tags = nil, request_options = {})