algolia 2.3.4 → 3.0.0.alpha.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (602) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +21 -93
  3. data/Gemfile +1 -14
  4. data/Gemfile.lock +64 -0
  5. data/README.md +4 -6
  6. data/Rakefile +0 -39
  7. data/algolia.gemspec +24 -39
  8. data/lib/algolia/api/abtesting_client.rb +418 -0
  9. data/lib/algolia/api/analytics_client.rb +1294 -0
  10. data/lib/algolia/api/ingestion_client.rb +1659 -0
  11. data/lib/algolia/api/insights_client.rb +252 -0
  12. data/lib/algolia/api/monitoring_client.rb +555 -0
  13. data/lib/algolia/api/personalization_client.rb +365 -0
  14. data/lib/algolia/api/query_suggestions_client.rb +491 -0
  15. data/lib/algolia/api/recommend_client.rb +460 -0
  16. data/lib/algolia/api/search_client.rb +2723 -0
  17. data/lib/algolia/api_client.rb +153 -0
  18. data/lib/algolia/api_error.rb +48 -0
  19. data/lib/algolia/configuration.rb +41 -0
  20. data/lib/algolia/logger_helper.rb +1 -1
  21. data/lib/algolia/models/abtesting/ab_test.rb +332 -0
  22. data/lib/algolia/models/abtesting/ab_test_response.rb +219 -0
  23. data/lib/algolia/models/abtesting/ab_tests_variant.rb +217 -0
  24. data/lib/algolia/models/abtesting/ab_tests_variant_search_params.rb +236 -0
  25. data/lib/algolia/models/abtesting/add_ab_tests_request.rb +239 -0
  26. data/lib/algolia/models/abtesting/add_ab_tests_variant.rb +96 -0
  27. data/lib/algolia/models/abtesting/currencies_value.rb +223 -0
  28. data/lib/algolia/models/abtesting/custom_search_params.rb +195 -0
  29. data/lib/algolia/models/abtesting/error_base.rb +196 -0
  30. data/lib/algolia/models/abtesting/filter_effects.rb +202 -0
  31. data/lib/algolia/models/abtesting/filter_effects_empty_search.rb +204 -0
  32. data/lib/algolia/models/abtesting/filter_effects_outliers.rb +204 -0
  33. data/lib/algolia/models/abtesting/list_ab_tests_response.rb +221 -0
  34. data/lib/algolia/models/abtesting/variant.rb +399 -0
  35. data/lib/algolia/models/analytics/average_click_event.rb +219 -0
  36. data/lib/algolia/models/analytics/click_position.rb +209 -0
  37. data/lib/algolia/models/analytics/click_through_rate_event.rb +249 -0
  38. data/lib/algolia/models/analytics/conversion_rate_event.rb +249 -0
  39. data/lib/algolia/models/analytics/direction.rb +33 -0
  40. data/lib/algolia/models/analytics/error_base.rb +196 -0
  41. data/lib/algolia/models/analytics/get_average_click_position_response.rb +221 -0
  42. data/lib/algolia/models/analytics/get_click_positions_response.rb +215 -0
  43. data/lib/algolia/models/analytics/get_click_through_rate_response.rb +251 -0
  44. data/lib/algolia/models/analytics/get_conversation_rate_response.rb +251 -0
  45. data/lib/algolia/models/analytics/get_no_click_rate_response.rb +251 -0
  46. data/lib/algolia/models/analytics/get_no_results_rate_response.rb +251 -0
  47. data/lib/algolia/models/analytics/get_searches_count_response.rb +209 -0
  48. data/lib/algolia/models/analytics/get_searches_no_clicks_response.rb +197 -0
  49. data/lib/algolia/models/analytics/get_searches_no_results_response.rb +197 -0
  50. data/lib/algolia/models/analytics/get_status_response.rb +195 -0
  51. data/lib/algolia/models/analytics/get_top_countries_response.rb +197 -0
  52. data/lib/algolia/models/analytics/get_top_filter_attribute.rb +207 -0
  53. data/lib/algolia/models/analytics/get_top_filter_attributes_response.rb +197 -0
  54. data/lib/algolia/models/analytics/get_top_filter_for_attribute.rb +231 -0
  55. data/lib/algolia/models/analytics/get_top_filter_for_attribute_response.rb +197 -0
  56. data/lib/algolia/models/analytics/get_top_filters_no_results_response.rb +197 -0
  57. data/lib/algolia/models/analytics/get_top_filters_no_results_value.rb +219 -0
  58. data/lib/algolia/models/analytics/get_top_filters_no_results_values.rb +209 -0
  59. data/lib/algolia/models/analytics/get_top_hits_response.rb +96 -0
  60. data/lib/algolia/models/analytics/get_top_searches_response.rb +96 -0
  61. data/lib/algolia/models/analytics/get_users_count_response.rb +209 -0
  62. data/lib/algolia/models/analytics/no_click_rate_event.rb +249 -0
  63. data/lib/algolia/models/analytics/no_results_rate_event.rb +249 -0
  64. data/lib/algolia/models/analytics/order_by.rb +35 -0
  65. data/lib/algolia/models/analytics/search_event.rb +207 -0
  66. data/lib/algolia/models/analytics/search_no_click_event.rb +219 -0
  67. data/lib/algolia/models/analytics/search_no_result_event.rb +219 -0
  68. data/lib/algolia/models/analytics/top_country.rb +207 -0
  69. data/lib/algolia/models/analytics/top_hit.rb +207 -0
  70. data/lib/algolia/models/analytics/top_hit_with_analytics.rb +285 -0
  71. data/lib/algolia/models/analytics/top_hits_response.rb +197 -0
  72. data/lib/algolia/models/analytics/top_hits_response_with_analytics.rb +197 -0
  73. data/lib/algolia/models/analytics/top_search.rb +219 -0
  74. data/lib/algolia/models/analytics/top_search_with_analytics.rb +309 -0
  75. data/lib/algolia/models/analytics/top_searches_response.rb +197 -0
  76. data/lib/algolia/models/analytics/top_searches_response_with_analytics.rb +197 -0
  77. data/lib/algolia/models/analytics/user_with_date.rb +207 -0
  78. data/lib/algolia/models/ingestion/action_type.rb +34 -0
  79. data/lib/algolia/models/ingestion/auth_algolia.rb +207 -0
  80. data/lib/algolia/models/ingestion/auth_algolia_partial.rb +203 -0
  81. data/lib/algolia/models/ingestion/auth_api_key.rb +195 -0
  82. data/lib/algolia/models/ingestion/auth_api_key_partial.rb +193 -0
  83. data/lib/algolia/models/ingestion/auth_basic.rb +206 -0
  84. data/lib/algolia/models/ingestion/auth_basic_partial.rb +202 -0
  85. data/lib/algolia/models/ingestion/auth_google_service_account.rb +208 -0
  86. data/lib/algolia/models/ingestion/auth_google_service_account_partial.rb +204 -0
  87. data/lib/algolia/models/ingestion/auth_input.rb +99 -0
  88. data/lib/algolia/models/ingestion/auth_input_partial.rb +99 -0
  89. data/lib/algolia/models/ingestion/auth_o_auth.rb +220 -0
  90. data/lib/algolia/models/ingestion/auth_o_auth_partial.rb +214 -0
  91. data/lib/algolia/models/ingestion/authentication.rb +283 -0
  92. data/lib/algolia/models/ingestion/authentication_create.rb +249 -0
  93. data/lib/algolia/models/ingestion/authentication_create_response.rb +220 -0
  94. data/lib/algolia/models/ingestion/authentication_search.rb +197 -0
  95. data/lib/algolia/models/ingestion/authentication_sort_keys.rb +36 -0
  96. data/lib/algolia/models/ingestion/authentication_type.rb +36 -0
  97. data/lib/algolia/models/ingestion/authentication_update.rb +243 -0
  98. data/lib/algolia/models/ingestion/authentication_update_response.rb +220 -0
  99. data/lib/algolia/models/ingestion/big_commerce_channel.rb +207 -0
  100. data/lib/algolia/models/ingestion/big_commerce_metafield.rb +207 -0
  101. data/lib/algolia/models/ingestion/big_query_data_type.rb +33 -0
  102. data/lib/algolia/models/ingestion/delete_response.rb +195 -0
  103. data/lib/algolia/models/ingestion/destination.rb +283 -0
  104. data/lib/algolia/models/ingestion/destination_create.rb +250 -0
  105. data/lib/algolia/models/ingestion/destination_create_response.rb +220 -0
  106. data/lib/algolia/models/ingestion/destination_index_name.rb +238 -0
  107. data/lib/algolia/models/ingestion/destination_index_prefix.rb +195 -0
  108. data/lib/algolia/models/ingestion/destination_input.rb +96 -0
  109. data/lib/algolia/models/ingestion/destination_search.rb +197 -0
  110. data/lib/algolia/models/ingestion/destination_sort_keys.rb +35 -0
  111. data/lib/algolia/models/ingestion/destination_type.rb +34 -0
  112. data/lib/algolia/models/ingestion/destination_update.rb +243 -0
  113. data/lib/algolia/models/ingestion/destination_update_response.rb +220 -0
  114. data/lib/algolia/models/ingestion/docker_image_type.rb +34 -0
  115. data/lib/algolia/models/ingestion/docker_registry.rb +33 -0
  116. data/lib/algolia/models/ingestion/docker_source_discover.rb +207 -0
  117. data/lib/algolia/models/ingestion/docker_source_streams.rb +196 -0
  118. data/lib/algolia/models/ingestion/error_base.rb +196 -0
  119. data/lib/algolia/models/ingestion/event.rb +311 -0
  120. data/lib/algolia/models/ingestion/event_sort_keys.rb +34 -0
  121. data/lib/algolia/models/ingestion/event_status.rb +37 -0
  122. data/lib/algolia/models/ingestion/event_type.rb +35 -0
  123. data/lib/algolia/models/ingestion/list_authentications_response.rb +207 -0
  124. data/lib/algolia/models/ingestion/list_destinations_response.rb +207 -0
  125. data/lib/algolia/models/ingestion/list_events_response.rb +218 -0
  126. data/lib/algolia/models/ingestion/list_sources_response.rb +207 -0
  127. data/lib/algolia/models/ingestion/list_tasks_response.rb +208 -0
  128. data/lib/algolia/models/ingestion/mapping_type_csv.rb +36 -0
  129. data/lib/algolia/models/ingestion/method_type.rb +33 -0
  130. data/lib/algolia/models/ingestion/on_demand_date_utils_input.rb +208 -0
  131. data/lib/algolia/models/ingestion/on_demand_trigger.rb +227 -0
  132. data/lib/algolia/models/ingestion/on_demand_trigger_input.rb +217 -0
  133. data/lib/algolia/models/ingestion/on_demand_trigger_type.rb +32 -0
  134. data/lib/algolia/models/ingestion/order_keys.rb +33 -0
  135. data/lib/algolia/models/ingestion/pagination.rb +227 -0
  136. data/lib/algolia/models/ingestion/platform.rb +33 -0
  137. data/lib/algolia/models/ingestion/platform_none.rb +32 -0
  138. data/lib/algolia/models/ingestion/platform_with_none.rb +96 -0
  139. data/lib/algolia/models/ingestion/record_type.rb +33 -0
  140. data/lib/algolia/models/ingestion/run.rb +359 -0
  141. data/lib/algolia/models/ingestion/run_list_response.rb +218 -0
  142. data/lib/algolia/models/ingestion/run_outcome.rb +34 -0
  143. data/lib/algolia/models/ingestion/run_progress.rb +201 -0
  144. data/lib/algolia/models/ingestion/run_reason_code.rb +38 -0
  145. data/lib/algolia/models/ingestion/run_response.rb +208 -0
  146. data/lib/algolia/models/ingestion/run_sort_keys.rb +34 -0
  147. data/lib/algolia/models/ingestion/run_status.rb +36 -0
  148. data/lib/algolia/models/ingestion/run_type.rb +34 -0
  149. data/lib/algolia/models/ingestion/schedule_date_utils_input.rb +214 -0
  150. data/lib/algolia/models/ingestion/schedule_trigger.rb +251 -0
  151. data/lib/algolia/models/ingestion/schedule_trigger_input.rb +229 -0
  152. data/lib/algolia/models/ingestion/schedule_trigger_type.rb +32 -0
  153. data/lib/algolia/models/ingestion/source.rb +282 -0
  154. data/lib/algolia/models/ingestion/source_big_commerce.rb +235 -0
  155. data/lib/algolia/models/ingestion/source_big_query.rb +278 -0
  156. data/lib/algolia/models/ingestion/source_commercetools.rb +238 -0
  157. data/lib/algolia/models/ingestion/source_create.rb +248 -0
  158. data/lib/algolia/models/ingestion/source_create_response.rb +218 -0
  159. data/lib/algolia/models/ingestion/source_csv.rb +276 -0
  160. data/lib/algolia/models/ingestion/source_docker.rb +261 -0
  161. data/lib/algolia/models/ingestion/source_input.rb +100 -0
  162. data/lib/algolia/models/ingestion/source_json.rb +236 -0
  163. data/lib/algolia/models/ingestion/source_search.rb +196 -0
  164. data/lib/algolia/models/ingestion/source_sort_keys.rb +35 -0
  165. data/lib/algolia/models/ingestion/source_type.rb +37 -0
  166. data/lib/algolia/models/ingestion/source_update.rb +211 -0
  167. data/lib/algolia/models/ingestion/source_update_commercetools.rb +207 -0
  168. data/lib/algolia/models/ingestion/source_update_docker.rb +246 -0
  169. data/lib/algolia/models/ingestion/source_update_input.rb +99 -0
  170. data/lib/algolia/models/ingestion/source_update_response.rb +218 -0
  171. data/lib/algolia/models/ingestion/subscription_trigger.rb +217 -0
  172. data/lib/algolia/models/ingestion/subscription_trigger_type.rb +32 -0
  173. data/lib/algolia/models/ingestion/task.rb +334 -0
  174. data/lib/algolia/models/ingestion/task_create.rb +299 -0
  175. data/lib/algolia/models/ingestion/task_create_response.rb +208 -0
  176. data/lib/algolia/models/ingestion/task_create_trigger.rb +97 -0
  177. data/lib/algolia/models/ingestion/task_input.rb +96 -0
  178. data/lib/algolia/models/ingestion/task_search.rb +196 -0
  179. data/lib/algolia/models/ingestion/task_sort_keys.rb +36 -0
  180. data/lib/algolia/models/ingestion/task_update.rb +250 -0
  181. data/lib/algolia/models/ingestion/task_update_response.rb +208 -0
  182. data/lib/algolia/models/ingestion/trigger.rb +97 -0
  183. data/lib/algolia/models/ingestion/trigger_type.rb +34 -0
  184. data/lib/algolia/models/ingestion/trigger_update_input.rb +196 -0
  185. data/lib/algolia/models/ingestion/window.rb +208 -0
  186. data/lib/algolia/models/insights/add_to_cart_event.rb +32 -0
  187. data/lib/algolia/models/insights/added_to_cart_object_ids.rb +384 -0
  188. data/lib/algolia/models/insights/added_to_cart_object_ids_after_search.rb +419 -0
  189. data/lib/algolia/models/insights/click_event.rb +32 -0
  190. data/lib/algolia/models/insights/clicked_filters.rb +351 -0
  191. data/lib/algolia/models/insights/clicked_object_ids.rb +341 -0
  192. data/lib/algolia/models/insights/clicked_object_ids_after_search.rb +418 -0
  193. data/lib/algolia/models/insights/conversion_event.rb +32 -0
  194. data/lib/algolia/models/insights/converted_filters.rb +350 -0
  195. data/lib/algolia/models/insights/converted_object_ids.rb +351 -0
  196. data/lib/algolia/models/insights/converted_object_ids_after_search.rb +386 -0
  197. data/lib/algolia/models/insights/discount.rb +97 -0
  198. data/lib/algolia/models/insights/error_base.rb +196 -0
  199. data/lib/algolia/models/insights/events_items.rb +106 -0
  200. data/lib/algolia/models/insights/events_response.rb +204 -0
  201. data/lib/algolia/models/insights/insights_events.rb +215 -0
  202. data/lib/algolia/models/insights/object_data.rb +211 -0
  203. data/lib/algolia/models/insights/object_data_after_search.rb +221 -0
  204. data/lib/algolia/models/insights/price.rb +97 -0
  205. data/lib/algolia/models/insights/purchase_event.rb +32 -0
  206. data/lib/algolia/models/insights/purchased_object_ids.rb +384 -0
  207. data/lib/algolia/models/insights/purchased_object_ids_after_search.rb +419 -0
  208. data/lib/algolia/models/insights/view_event.rb +32 -0
  209. data/lib/algolia/models/insights/viewed_filters.rb +351 -0
  210. data/lib/algolia/models/insights/viewed_object_ids.rb +351 -0
  211. data/lib/algolia/models/monitoring/error_base.rb +196 -0
  212. data/lib/algolia/models/monitoring/get_inventory403_response.rb +192 -0
  213. data/lib/algolia/models/monitoring/incident.rb +225 -0
  214. data/lib/algolia/models/monitoring/incidents_inner.rb +202 -0
  215. data/lib/algolia/models/monitoring/incidents_response.rb +194 -0
  216. data/lib/algolia/models/monitoring/indexing_time_response.rb +192 -0
  217. data/lib/algolia/models/monitoring/indexing_time_response_metrics.rb +194 -0
  218. data/lib/algolia/models/monitoring/infrastructure_response.rb +192 -0
  219. data/lib/algolia/models/monitoring/infrastructure_response_metrics.rb +243 -0
  220. data/lib/algolia/models/monitoring/inventory_response.rb +194 -0
  221. data/lib/algolia/models/monitoring/latency_response.rb +192 -0
  222. data/lib/algolia/models/monitoring/latency_response_metrics.rb +194 -0
  223. data/lib/algolia/models/monitoring/metric.rb +37 -0
  224. data/lib/algolia/models/monitoring/period.rb +36 -0
  225. data/lib/algolia/models/monitoring/probes_metric.rb +203 -0
  226. data/lib/algolia/models/monitoring/region.rb +46 -0
  227. data/lib/algolia/models/monitoring/server.rb +272 -0
  228. data/lib/algolia/models/monitoring/server_status.rb +32 -0
  229. data/lib/algolia/models/monitoring/status.rb +35 -0
  230. data/lib/algolia/models/monitoring/status_response.rb +194 -0
  231. data/lib/algolia/models/monitoring/time_inner.rb +203 -0
  232. data/lib/algolia/models/monitoring/type.rb +32 -0
  233. data/lib/algolia/models/personalization/delete_user_profile_response.rb +207 -0
  234. data/lib/algolia/models/personalization/error_base.rb +196 -0
  235. data/lib/algolia/models/personalization/event_scoring.rb +219 -0
  236. data/lib/algolia/models/personalization/facet_scoring.rb +207 -0
  237. data/lib/algolia/models/personalization/get_user_token_response.rb +219 -0
  238. data/lib/algolia/models/personalization/personalization_strategy_params.rb +223 -0
  239. data/lib/algolia/models/personalization/set_personalization_strategy_response.rb +195 -0
  240. data/lib/algolia/models/query-suggestions/base_query_suggestions_configuration_response.rb +223 -0
  241. data/lib/algolia/models/query-suggestions/base_query_suggestions_configuration_with_index.rb +195 -0
  242. data/lib/algolia/models/query-suggestions/base_response.rb +203 -0
  243. data/lib/algolia/models/query-suggestions/error_base.rb +196 -0
  244. data/lib/algolia/models/query-suggestions/facet.rb +204 -0
  245. data/lib/algolia/models/query-suggestions/get_config_status200_response.rb +233 -0
  246. data/lib/algolia/models/query-suggestions/get_log_file200_response.rb +244 -0
  247. data/lib/algolia/models/query-suggestions/languages.rb +97 -0
  248. data/lib/algolia/models/query-suggestions/log_level.rb +34 -0
  249. data/lib/algolia/models/query-suggestions/query_suggestions_configuration.rb +255 -0
  250. data/lib/algolia/models/query-suggestions/query_suggestions_configuration_response.rb +315 -0
  251. data/lib/algolia/models/query-suggestions/query_suggestions_configuration_with_index.rb +275 -0
  252. data/lib/algolia/models/query-suggestions/source_index.rb +305 -0
  253. data/lib/algolia/models/recommend/advanced_syntax_features.rb +33 -0
  254. data/lib/algolia/models/recommend/alternatives_as_exact.rb +34 -0
  255. data/lib/algolia/models/recommend/anchoring.rb +35 -0
  256. data/lib/algolia/models/recommend/around_precision.rb +97 -0
  257. data/lib/algolia/models/recommend/around_precision_from_value_inner.rb +201 -0
  258. data/lib/algolia/models/recommend/around_radius.rb +97 -0
  259. data/lib/algolia/models/recommend/around_radius_all.rb +32 -0
  260. data/lib/algolia/models/recommend/automatic_facet_filter.rb +216 -0
  261. data/lib/algolia/models/recommend/automatic_facet_filters.rb +97 -0
  262. data/lib/algolia/models/recommend/base_recommend_request.rb +233 -0
  263. data/lib/algolia/models/recommend/base_recommendations_query.rb +246 -0
  264. data/lib/algolia/models/recommend/base_recommended_for_you_query.rb +234 -0
  265. data/lib/algolia/models/recommend/base_recommended_for_you_query_parameters.rb +195 -0
  266. data/lib/algolia/models/recommend/base_search_params.rb +564 -0
  267. data/lib/algolia/models/recommend/base_search_params_without_query.rb +546 -0
  268. data/lib/algolia/models/recommend/base_search_response.rb +517 -0
  269. data/lib/algolia/models/recommend/base_trending_facets_query.rb +226 -0
  270. data/lib/algolia/models/recommend/base_trending_items_query.rb +252 -0
  271. data/lib/algolia/models/recommend/condition.rb +244 -0
  272. data/lib/algolia/models/recommend/consequence.rb +239 -0
  273. data/lib/algolia/models/recommend/consequence_hide.rb +196 -0
  274. data/lib/algolia/models/recommend/consequence_params.rb +1121 -0
  275. data/lib/algolia/models/recommend/consequence_query.rb +97 -0
  276. data/lib/algolia/models/recommend/consequence_query_object.rb +207 -0
  277. data/lib/algolia/models/recommend/deleted_at_response.rb +208 -0
  278. data/lib/algolia/models/recommend/distinct.rb +97 -0
  279. data/lib/algolia/models/recommend/edit.rb +234 -0
  280. data/lib/algolia/models/recommend/edit_type.rb +33 -0
  281. data/lib/algolia/models/recommend/error_base.rb +196 -0
  282. data/lib/algolia/models/recommend/exact_on_single_word_query.rb +34 -0
  283. data/lib/algolia/models/recommend/exhaustive.rb +234 -0
  284. data/lib/algolia/models/recommend/facet_filters.rb +97 -0
  285. data/lib/algolia/models/recommend/facet_ordering.rb +205 -0
  286. data/lib/algolia/models/recommend/facets.rb +196 -0
  287. data/lib/algolia/models/recommend/facets_stats.rb +223 -0
  288. data/lib/algolia/models/recommend/get_recommend_task_response.rb +216 -0
  289. data/lib/algolia/models/recommend/get_recommendations_params.rb +198 -0
  290. data/lib/algolia/models/recommend/get_recommendations_response.rb +194 -0
  291. data/lib/algolia/models/recommend/highlight_result.rb +96 -0
  292. data/lib/algolia/models/recommend/highlight_result_option.rb +253 -0
  293. data/lib/algolia/models/recommend/ignore_plurals.rb +97 -0
  294. data/lib/algolia/models/recommend/index_settings_as_search_params.rb +723 -0
  295. data/lib/algolia/models/recommend/match_level.rb +34 -0
  296. data/lib/algolia/models/recommend/matched_geo_location.rb +213 -0
  297. data/lib/algolia/models/recommend/mixed_search_filters.rb +96 -0
  298. data/lib/algolia/models/recommend/mode.rb +33 -0
  299. data/lib/algolia/models/recommend/numeric_filters.rb +97 -0
  300. data/lib/algolia/models/recommend/optional_filters.rb +97 -0
  301. data/lib/algolia/models/recommend/params.rb +220 -0
  302. data/lib/algolia/models/recommend/personalization.rb +213 -0
  303. data/lib/algolia/models/recommend/promote.rb +96 -0
  304. data/lib/algolia/models/recommend/promote_object_id.rb +208 -0
  305. data/lib/algolia/models/recommend/promote_object_ids.rb +210 -0
  306. data/lib/algolia/models/recommend/query_type.rb +34 -0
  307. data/lib/algolia/models/recommend/ranking_info.rb +328 -0
  308. data/lib/algolia/models/recommend/re_ranking_apply_filter.rb +97 -0
  309. data/lib/algolia/models/recommend/recommend_hit.rb +271 -0
  310. data/lib/algolia/models/recommend/recommend_models.rb +35 -0
  311. data/lib/algolia/models/recommend/recommendation_models.rb +33 -0
  312. data/lib/algolia/models/recommend/recommendations_hit.rb +96 -0
  313. data/lib/algolia/models/recommend/recommendations_hits.rb +216 -0
  314. data/lib/algolia/models/recommend/recommendations_query.rb +304 -0
  315. data/lib/algolia/models/recommend/recommendations_request.rb +98 -0
  316. data/lib/algolia/models/recommend/recommendations_results.rb +553 -0
  317. data/lib/algolia/models/recommend/recommended_for_you_model.rb +32 -0
  318. data/lib/algolia/models/recommend/recommended_for_you_query.rb +292 -0
  319. data/lib/algolia/models/recommend/recommended_for_you_query_parameters.rb +1105 -0
  320. data/lib/algolia/models/recommend/redirect.rb +195 -0
  321. data/lib/algolia/models/recommend/redirect_rule_index_metadata.rb +242 -0
  322. data/lib/algolia/models/recommend/redirect_rule_index_metadata_data.rb +195 -0
  323. data/lib/algolia/models/recommend/remove_stop_words.rb +97 -0
  324. data/lib/algolia/models/recommend/remove_words_if_no_results.rb +35 -0
  325. data/lib/algolia/models/recommend/rendering_content.rb +193 -0
  326. data/lib/algolia/models/recommend/rule_response.rb +246 -0
  327. data/lib/algolia/models/recommend/rule_response_metadata.rb +193 -0
  328. data/lib/algolia/models/recommend/search_params_object.rb +1103 -0
  329. data/lib/algolia/models/recommend/search_params_query.rb +193 -0
  330. data/lib/algolia/models/recommend/search_recommend_rules_params.rb +268 -0
  331. data/lib/algolia/models/recommend/search_recommend_rules_response.rb +233 -0
  332. data/lib/algolia/models/recommend/semantic_search.rb +198 -0
  333. data/lib/algolia/models/recommend/snippet_result.rb +96 -0
  334. data/lib/algolia/models/recommend/snippet_result_option.rb +229 -0
  335. data/lib/algolia/models/recommend/sort_remaining_by.rb +34 -0
  336. data/lib/algolia/models/recommend/tag_filters.rb +97 -0
  337. data/lib/algolia/models/recommend/task_status.rb +33 -0
  338. data/lib/algolia/models/recommend/trending_facet_hit.rb +238 -0
  339. data/lib/algolia/models/recommend/trending_facets_model.rb +32 -0
  340. data/lib/algolia/models/recommend/trending_facets_query.rb +284 -0
  341. data/lib/algolia/models/recommend/trending_items_model.rb +32 -0
  342. data/lib/algolia/models/recommend/trending_items_query.rb +310 -0
  343. data/lib/algolia/models/recommend/typo_tolerance.rb +97 -0
  344. data/lib/algolia/models/recommend/typo_tolerance_enum.rb +33 -0
  345. data/lib/algolia/models/recommend/value.rb +226 -0
  346. data/lib/algolia/models/search/acl.rb +47 -0
  347. data/lib/algolia/models/search/action.rb +38 -0
  348. data/lib/algolia/models/search/add_api_key_response.rb +207 -0
  349. data/lib/algolia/models/search/advanced_syntax_features.rb +33 -0
  350. data/lib/algolia/models/search/alternatives_as_exact.rb +34 -0
  351. data/lib/algolia/models/search/anchoring.rb +35 -0
  352. data/lib/algolia/models/search/api_key.rb +272 -0
  353. data/lib/algolia/models/search/around_precision.rb +97 -0
  354. data/lib/algolia/models/search/around_precision_from_value_inner.rb +201 -0
  355. data/lib/algolia/models/search/around_radius.rb +97 -0
  356. data/lib/algolia/models/search/around_radius_all.rb +32 -0
  357. data/lib/algolia/models/search/assign_user_id_params.rb +196 -0
  358. data/lib/algolia/models/search/attribute_to_update.rb +96 -0
  359. data/lib/algolia/models/search/automatic_facet_filter.rb +216 -0
  360. data/lib/algolia/models/search/automatic_facet_filters.rb +97 -0
  361. data/lib/algolia/models/search/base_get_api_key_response.rb +205 -0
  362. data/lib/algolia/models/search/base_index_settings.rb +366 -0
  363. data/lib/algolia/models/search/base_search_params.rb +564 -0
  364. data/lib/algolia/models/search/base_search_params_without_query.rb +546 -0
  365. data/lib/algolia/models/search/base_search_response.rb +517 -0
  366. data/lib/algolia/models/search/batch_assign_user_ids_params.rb +210 -0
  367. data/lib/algolia/models/search/batch_dictionary_entries_params.rb +208 -0
  368. data/lib/algolia/models/search/batch_dictionary_entries_request.rb +227 -0
  369. data/lib/algolia/models/search/batch_params.rb +197 -0
  370. data/lib/algolia/models/search/batch_request.rb +228 -0
  371. data/lib/algolia/models/search/batch_response.rb +209 -0
  372. data/lib/algolia/models/search/batch_write_params.rb +197 -0
  373. data/lib/algolia/models/search/browse_params.rb +96 -0
  374. data/lib/algolia/models/search/browse_params_object.rb +1113 -0
  375. data/lib/algolia/models/search/browse_response.rb +568 -0
  376. data/lib/algolia/models/search/built_in_operation.rb +229 -0
  377. data/lib/algolia/models/search/built_in_operation_type.rb +38 -0
  378. data/lib/algolia/models/search/condition.rb +244 -0
  379. data/lib/algolia/models/search/consequence.rb +239 -0
  380. data/lib/algolia/models/search/consequence_hide.rb +196 -0
  381. data/lib/algolia/models/search/consequence_params.rb +1121 -0
  382. data/lib/algolia/models/search/consequence_query.rb +97 -0
  383. data/lib/algolia/models/search/consequence_query_object.rb +207 -0
  384. data/lib/algolia/models/search/created_at_response.rb +196 -0
  385. data/lib/algolia/models/search/cursor.rb +193 -0
  386. data/lib/algolia/models/search/delete_api_key_response.rb +195 -0
  387. data/lib/algolia/models/search/delete_by_params.rb +263 -0
  388. data/lib/algolia/models/search/delete_source_response.rb +195 -0
  389. data/lib/algolia/models/search/deleted_at_response.rb +208 -0
  390. data/lib/algolia/models/search/dictionary_action.rb +33 -0
  391. data/lib/algolia/models/search/dictionary_entry.rb +276 -0
  392. data/lib/algolia/models/search/dictionary_entry_state.rb +33 -0
  393. data/lib/algolia/models/search/dictionary_language.rb +194 -0
  394. data/lib/algolia/models/search/dictionary_settings_params.rb +195 -0
  395. data/lib/algolia/models/search/dictionary_type.rb +34 -0
  396. data/lib/algolia/models/search/distinct.rb +97 -0
  397. data/lib/algolia/models/search/edit.rb +234 -0
  398. data/lib/algolia/models/search/edit_type.rb +33 -0
  399. data/lib/algolia/models/search/error_base.rb +196 -0
  400. data/lib/algolia/models/search/exact_on_single_word_query.rb +34 -0
  401. data/lib/algolia/models/search/exhaustive.rb +234 -0
  402. data/lib/algolia/models/search/facet_filters.rb +97 -0
  403. data/lib/algolia/models/search/facet_hits.rb +219 -0
  404. data/lib/algolia/models/search/facet_ordering.rb +205 -0
  405. data/lib/algolia/models/search/facets.rb +196 -0
  406. data/lib/algolia/models/search/facets_stats.rb +223 -0
  407. data/lib/algolia/models/search/fetched_index.rb +313 -0
  408. data/lib/algolia/models/search/get_api_key_response.rb +301 -0
  409. data/lib/algolia/models/search/get_dictionary_settings_response.rb +194 -0
  410. data/lib/algolia/models/search/get_logs_response.rb +196 -0
  411. data/lib/algolia/models/search/get_objects_params.rb +197 -0
  412. data/lib/algolia/models/search/get_objects_request.rb +220 -0
  413. data/lib/algolia/models/search/get_objects_response.rb +197 -0
  414. data/lib/algolia/models/search/get_task_response.rb +216 -0
  415. data/lib/algolia/models/search/get_top_user_ids_response.rb +198 -0
  416. data/lib/algolia/models/search/has_pending_mappings_response.rb +207 -0
  417. data/lib/algolia/models/search/highlight_result.rb +96 -0
  418. data/lib/algolia/models/search/highlight_result_option.rb +253 -0
  419. data/lib/algolia/models/search/hit.rb +241 -0
  420. data/lib/algolia/models/search/ignore_plurals.rb +97 -0
  421. data/lib/algolia/models/search/index_settings.rb +912 -0
  422. data/lib/algolia/models/search/index_settings_as_search_params.rb +723 -0
  423. data/lib/algolia/models/search/languages.rb +221 -0
  424. data/lib/algolia/models/search/list_api_keys_response.rb +197 -0
  425. data/lib/algolia/models/search/list_clusters_response.rb +198 -0
  426. data/lib/algolia/models/search/list_indices_response.rb +207 -0
  427. data/lib/algolia/models/search/list_user_ids_response.rb +198 -0
  428. data/lib/algolia/models/search/log.rb +358 -0
  429. data/lib/algolia/models/search/log_query.rb +213 -0
  430. data/lib/algolia/models/search/log_type.rb +35 -0
  431. data/lib/algolia/models/search/match_level.rb +34 -0
  432. data/lib/algolia/models/search/matched_geo_location.rb +213 -0
  433. data/lib/algolia/models/search/mixed_search_filters.rb +96 -0
  434. data/lib/algolia/models/search/mode.rb +33 -0
  435. data/lib/algolia/models/search/multiple_batch_request.rb +240 -0
  436. data/lib/algolia/models/search/multiple_batch_response.rb +211 -0
  437. data/lib/algolia/models/search/numeric_filters.rb +97 -0
  438. data/lib/algolia/models/search/operation_index_params.rb +240 -0
  439. data/lib/algolia/models/search/operation_type.rb +33 -0
  440. data/lib/algolia/models/search/optional_filters.rb +97 -0
  441. data/lib/algolia/models/search/params.rb +220 -0
  442. data/lib/algolia/models/search/personalization.rb +213 -0
  443. data/lib/algolia/models/search/promote.rb +96 -0
  444. data/lib/algolia/models/search/promote_object_id.rb +208 -0
  445. data/lib/algolia/models/search/promote_object_ids.rb +210 -0
  446. data/lib/algolia/models/search/query_type.rb +34 -0
  447. data/lib/algolia/models/search/ranking_info.rb +328 -0
  448. data/lib/algolia/models/search/re_ranking_apply_filter.rb +97 -0
  449. data/lib/algolia/models/search/redirect.rb +195 -0
  450. data/lib/algolia/models/search/redirect_rule_index_metadata.rb +242 -0
  451. data/lib/algolia/models/search/redirect_rule_index_metadata_data.rb +195 -0
  452. data/lib/algolia/models/search/remove_stop_words.rb +97 -0
  453. data/lib/algolia/models/search/remove_user_id_response.rb +195 -0
  454. data/lib/algolia/models/search/remove_words_if_no_results.rb +35 -0
  455. data/lib/algolia/models/search/rendering_content.rb +193 -0
  456. data/lib/algolia/models/search/replace_source_response.rb +195 -0
  457. data/lib/algolia/models/search/rule.rb +249 -0
  458. data/lib/algolia/models/search/save_object_response.rb +217 -0
  459. data/lib/algolia/models/search/save_synonym_response.rb +219 -0
  460. data/lib/algolia/models/search/scope_type.rb +34 -0
  461. data/lib/algolia/models/search/search_dictionary_entries_params.rb +244 -0
  462. data/lib/algolia/models/search/search_for_facet_values_request.rb +227 -0
  463. data/lib/algolia/models/search/search_for_facet_values_response.rb +218 -0
  464. data/lib/algolia/models/search/search_for_facets.rb +1158 -0
  465. data/lib/algolia/models/search/search_for_facets_options.rb +274 -0
  466. data/lib/algolia/models/search/search_for_hits.rb +1134 -0
  467. data/lib/algolia/models/search/search_for_hits_options.rb +226 -0
  468. data/lib/algolia/models/search/search_hits.rb +223 -0
  469. data/lib/algolia/models/search/search_method_params.rb +227 -0
  470. data/lib/algolia/models/search/search_params.rb +96 -0
  471. data/lib/algolia/models/search/search_params_object.rb +1103 -0
  472. data/lib/algolia/models/search/search_params_query.rb +193 -0
  473. data/lib/algolia/models/search/search_params_string.rb +193 -0
  474. data/lib/algolia/models/search/search_query.rb +96 -0
  475. data/lib/algolia/models/search/search_response.rb +560 -0
  476. data/lib/algolia/models/search/search_responses.rb +196 -0
  477. data/lib/algolia/models/search/search_result.rb +96 -0
  478. data/lib/algolia/models/search/search_rules_params.rb +311 -0
  479. data/lib/algolia/models/search/search_rules_response.rb +233 -0
  480. data/lib/algolia/models/search/search_strategy.rb +33 -0
  481. data/lib/algolia/models/search/search_synonyms_params.rb +193 -0
  482. data/lib/algolia/models/search/search_synonyms_response.rb +212 -0
  483. data/lib/algolia/models/search/search_type_default.rb +32 -0
  484. data/lib/algolia/models/search/search_type_facet.rb +32 -0
  485. data/lib/algolia/models/search/search_user_ids_params.rb +244 -0
  486. data/lib/algolia/models/search/search_user_ids_response.rb +264 -0
  487. data/lib/algolia/models/search/semantic_search.rb +198 -0
  488. data/lib/algolia/models/search/snippet_result.rb +96 -0
  489. data/lib/algolia/models/search/snippet_result_option.rb +229 -0
  490. data/lib/algolia/models/search/sort_remaining_by.rb +34 -0
  491. data/lib/algolia/models/search/source.rb +206 -0
  492. data/lib/algolia/models/search/standard_entries.rb +224 -0
  493. data/lib/algolia/models/search/synonym_hit.rb +295 -0
  494. data/lib/algolia/models/search/synonym_type.rb +36 -0
  495. data/lib/algolia/models/search/tag_filters.rb +97 -0
  496. data/lib/algolia/models/search/task_status.rb +33 -0
  497. data/lib/algolia/models/search/time_range.rb +207 -0
  498. data/lib/algolia/models/search/typo_tolerance.rb +97 -0
  499. data/lib/algolia/models/search/typo_tolerance_enum.rb +33 -0
  500. data/lib/algolia/models/search/update_api_key_response.rb +207 -0
  501. data/lib/algolia/models/search/updated_at_response.rb +208 -0
  502. data/lib/algolia/models/search/updated_at_with_object_id_response.rb +214 -0
  503. data/lib/algolia/models/search/updated_rule_response.rb +219 -0
  504. data/lib/algolia/models/search/user_highlight_result.rb +205 -0
  505. data/lib/algolia/models/search/user_hit.rb +269 -0
  506. data/lib/algolia/models/search/user_id.rb +247 -0
  507. data/lib/algolia/models/search/value.rb +226 -0
  508. data/lib/algolia/transport/echo_requester.rb +10 -0
  509. data/lib/algolia/{http → transport/http}/http_requester.rb +24 -19
  510. data/lib/algolia/{http → transport/http}/response.rb +11 -1
  511. data/lib/algolia/transport/request_options.rb +19 -31
  512. data/lib/algolia/transport/retry_strategy.rb +5 -8
  513. data/lib/algolia/transport/stateful_host.rb +1 -2
  514. data/lib/algolia/transport/transport.rb +33 -73
  515. data/lib/algolia/user_agent.rb +4 -14
  516. data/lib/algolia/version.rb +3 -1
  517. data/lib/algolia.rb +23 -40
  518. metadata +522 -217
  519. data/.circleci/config.yml +0 -155
  520. data/.dockerignore +0 -38
  521. data/.github/ISSUE_TEMPLATE.md +0 -20
  522. data/.github/PULL_REQUEST_TEMPLATE.md +0 -22
  523. data/.gitignore +0 -40
  524. data/.rubocop.yml +0 -189
  525. data/.rubocop_todo.yml +0 -14
  526. data/CODE_OF_CONDUCT.md +0 -74
  527. data/CONTRIBUTING.MD +0 -184
  528. data/DOCKER_README.MD +0 -89
  529. data/Dockerfile +0 -7
  530. data/LICENSE +0 -21
  531. data/SECURITY.md +0 -3
  532. data/Steepfile +0 -6
  533. data/bin/console +0 -21
  534. data/bin/setup +0 -8
  535. data/lib/algolia/account_client.rb +0 -65
  536. data/lib/algolia/analytics_client.rb +0 -105
  537. data/lib/algolia/config/analytics_config.rb +0 -20
  538. data/lib/algolia/config/base_config.rb +0 -43
  539. data/lib/algolia/config/insights_config.rb +0 -20
  540. data/lib/algolia/config/personalization_config.rb +0 -20
  541. data/lib/algolia/config/recommend_config.rb +0 -6
  542. data/lib/algolia/config/recommendation_config.rb +0 -7
  543. data/lib/algolia/config/search_config.rb +0 -40
  544. data/lib/algolia/defaults.rb +0 -35
  545. data/lib/algolia/helpers.rb +0 -134
  546. data/lib/algolia/insights_client.rb +0 -238
  547. data/lib/algolia/iterators/base_iterator.rb +0 -19
  548. data/lib/algolia/iterators/object_iterator.rb +0 -28
  549. data/lib/algolia/iterators/paginator_iterator.rb +0 -46
  550. data/lib/algolia/iterators/rule_iterator.rb +0 -9
  551. data/lib/algolia/iterators/synonym_iterator.rb +0 -9
  552. data/lib/algolia/personalization_client.rb +0 -60
  553. data/lib/algolia/recommend_client.rb +0 -134
  554. data/lib/algolia/recommendation_client.rb +0 -7
  555. data/lib/algolia/responses/add_api_key_response.rb +0 -38
  556. data/lib/algolia/responses/base_response.rb +0 -9
  557. data/lib/algolia/responses/delete_api_key_response.rb +0 -40
  558. data/lib/algolia/responses/dictionary_response.rb +0 -33
  559. data/lib/algolia/responses/indexing_response.rb +0 -28
  560. data/lib/algolia/responses/multiple_batch_indexing_response.rb +0 -29
  561. data/lib/algolia/responses/multiple_response.rb +0 -45
  562. data/lib/algolia/responses/restore_api_key_response.rb +0 -36
  563. data/lib/algolia/responses/update_api_key_response.rb +0 -39
  564. data/lib/algolia/search_client.rb +0 -791
  565. data/lib/algolia/search_index.rb +0 -1059
  566. data/renovate.json +0 -5
  567. data/sig/config/algolia_config.rbs +0 -24
  568. data/sig/config/analytics_config.rbs +0 -11
  569. data/sig/config/insights_config.rbs +0 -11
  570. data/sig/config/recommendation_config.rbs +0 -11
  571. data/sig/config/search_config.rbs +0 -11
  572. data/sig/enums/call_type.rbs +0 -5
  573. data/sig/helpers.rbs +0 -12
  574. data/sig/http/http_requester.rbs +0 -17
  575. data/sig/http/response.rbs +0 -14
  576. data/sig/interfaces/_connection.rbs +0 -16
  577. data/sig/iterators/base_iterator.rbs +0 -15
  578. data/sig/iterators/object_iterator.rbs +0 -6
  579. data/sig/iterators/paginator_iterator.rbs +0 -8
  580. data/sig/iterators/rule_iterator.rbs +0 -5
  581. data/sig/iterators/synonym_iterator.rbs +0 -5
  582. data/sig/transport/request_options.rbs +0 -33
  583. data/sig/transport/stateful_host.rbs +0 -21
  584. data/test/algolia/integration/account_client_test.rb +0 -47
  585. data/test/algolia/integration/analytics_client_test.rb +0 -117
  586. data/test/algolia/integration/base_test.rb +0 -9
  587. data/test/algolia/integration/insights_client_test.rb +0 -80
  588. data/test/algolia/integration/mocks/mock_requester.rb +0 -47
  589. data/test/algolia/integration/personalization_client_test.rb +0 -30
  590. data/test/algolia/integration/recommend_client_test.rb +0 -70
  591. data/test/algolia/integration/recommendation_client_test.rb +0 -30
  592. data/test/algolia/integration/search_client_test.rb +0 -465
  593. data/test/algolia/integration/search_index_test.rb +0 -729
  594. data/test/algolia/unit/algolia_config_test.rb +0 -16
  595. data/test/algolia/unit/helpers_test.rb +0 -92
  596. data/test/algolia/unit/http_requester_test.rb +0 -27
  597. data/test/algolia/unit/retry_strategy_test.rb +0 -139
  598. data/test/algolia/unit/user_agent_test.rb +0 -16
  599. data/test/test_helper.rb +0 -121
  600. data/upgrade_guide.md +0 -603
  601. /data/lib/algolia/{enums → transport}/call_type.rb +0 -0
  602. /data/lib/algolia/{enums → transport}/retry_outcome_type.rb +0 -0
metadata CHANGED
@@ -1,77 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: algolia
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.4
4
+ version: 3.0.0.alpha.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Algolia
8
- autorequire:
9
- bindir: exe
8
+ autorequire:
9
+ bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-27 00:00:00.000000000 Z
11
+ date: 2024-01-09 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: bundler
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '0'
20
- type: :development
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ">="
25
- - !ruby/object:Gem::Version
26
- version: '0'
27
- - !ruby/object:Gem::Dependency
28
- name: rake
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
- - !ruby/object:Gem::Dependency
42
- name: rubocop
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "<="
46
- - !ruby/object:Gem::Version
47
- version: 0.82.0
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "<="
53
- - !ruby/object:Gem::Version
54
- version: 0.82.0
55
13
  - !ruby/object:Gem::Dependency
56
14
  name: faraday
57
15
  requirement: !ruby/object:Gem::Requirement
58
16
  requirements:
59
17
  - - ">="
60
18
  - !ruby/object:Gem::Version
61
- version: '0.15'
19
+ version: 1.0.1
62
20
  - - "<"
63
21
  - !ruby/object:Gem::Version
64
- version: '3'
22
+ version: '3.0'
65
23
  type: :runtime
66
24
  prerelease: false
67
25
  version_requirements: !ruby/object:Gem::Requirement
68
26
  requirements:
69
27
  - - ">="
70
28
  - !ruby/object:Gem::Version
71
- version: '0.15'
29
+ version: 1.0.1
72
30
  - - "<"
73
31
  - !ruby/object:Gem::Version
74
- version: '3'
32
+ version: '3.0'
75
33
  - !ruby/object:Gem::Dependency
76
34
  name: faraday-net_http_persistent
77
35
  requirement: !ruby/object:Gem::Requirement
@@ -92,20 +50,6 @@ dependencies:
92
50
  - - "<"
93
51
  - !ruby/object:Gem::Version
94
52
  version: '3'
95
- - !ruby/object:Gem::Dependency
96
- name: multi_json
97
- requirement: !ruby/object:Gem::Requirement
98
- requirements:
99
- - - "~>"
100
- - !ruby/object:Gem::Version
101
- version: '1.0'
102
- type: :runtime
103
- prerelease: false
104
- version_requirements: !ruby/object:Gem::Requirement
105
- requirements:
106
- - - "~>"
107
- - !ruby/object:Gem::Version
108
- version: '1.0'
109
53
  - !ruby/object:Gem::Dependency
110
54
  name: net-http-persistent
111
55
  requirement: !ruby/object:Gem::Requirement
@@ -121,49 +65,7 @@ dependencies:
121
65
  - !ruby/object:Gem::Version
122
66
  version: '0'
123
67
  - !ruby/object:Gem::Dependency
124
- name: httpclient
125
- requirement: !ruby/object:Gem::Requirement
126
- requirements:
127
- - - ">="
128
- - !ruby/object:Gem::Version
129
- version: '0'
130
- type: :development
131
- prerelease: false
132
- version_requirements: !ruby/object:Gem::Requirement
133
- requirements:
134
- - - ">="
135
- - !ruby/object:Gem::Version
136
- version: '0'
137
- - !ruby/object:Gem::Dependency
138
- name: m
139
- requirement: !ruby/object:Gem::Requirement
140
- requirements:
141
- - - ">="
142
- - !ruby/object:Gem::Version
143
- version: '0'
144
- type: :development
145
- prerelease: false
146
- version_requirements: !ruby/object:Gem::Requirement
147
- requirements:
148
- - - ">="
149
- - !ruby/object:Gem::Version
150
- version: '0'
151
- - !ruby/object:Gem::Dependency
152
- name: minitest
153
- requirement: !ruby/object:Gem::Requirement
154
- requirements:
155
- - - ">="
156
- - !ruby/object:Gem::Version
157
- version: '0'
158
- type: :development
159
- prerelease: false
160
- version_requirements: !ruby/object:Gem::Requirement
161
- requirements:
162
- - - ">="
163
- - !ruby/object:Gem::Version
164
- version: '0'
165
- - !ruby/object:Gem::Dependency
166
- name: minitest-hooks
68
+ name: bundler
167
69
  requirement: !ruby/object:Gem::Requirement
168
70
  requirements:
169
71
  - - ">="
@@ -177,7 +79,7 @@ dependencies:
177
79
  - !ruby/object:Gem::Version
178
80
  version: '0'
179
81
  - !ruby/object:Gem::Dependency
180
- name: minitest-proveit
82
+ name: rake
181
83
  requirement: !ruby/object:Gem::Requirement
182
84
  requirements:
183
85
  - - ">="
@@ -191,7 +93,7 @@ dependencies:
191
93
  - !ruby/object:Gem::Version
192
94
  version: '0'
193
95
  - !ruby/object:Gem::Dependency
194
- name: webmock
96
+ name: rubocop
195
97
  requirement: !ruby/object:Gem::Requirement
196
98
  requirements:
197
99
  - - ">="
@@ -211,114 +113,533 @@ executables: []
211
113
  extensions: []
212
114
  extra_rdoc_files: []
213
115
  files:
214
- - ".circleci/config.yml"
215
- - ".dockerignore"
216
- - ".github/ISSUE_TEMPLATE.md"
217
- - ".github/PULL_REQUEST_TEMPLATE.md"
218
- - ".gitignore"
219
- - ".rubocop.yml"
220
- - ".rubocop_todo.yml"
221
116
  - CHANGELOG.md
222
- - CODE_OF_CONDUCT.md
223
- - CONTRIBUTING.MD
224
- - DOCKER_README.MD
225
- - Dockerfile
226
117
  - Gemfile
227
- - LICENSE
118
+ - Gemfile.lock
228
119
  - README.md
229
120
  - Rakefile
230
- - SECURITY.md
231
- - Steepfile
232
121
  - algolia.gemspec
233
- - bin/console
234
- - bin/setup
235
122
  - lib/algolia.rb
236
- - lib/algolia/account_client.rb
237
- - lib/algolia/analytics_client.rb
238
- - lib/algolia/config/analytics_config.rb
239
- - lib/algolia/config/base_config.rb
240
- - lib/algolia/config/insights_config.rb
241
- - lib/algolia/config/personalization_config.rb
242
- - lib/algolia/config/recommend_config.rb
243
- - lib/algolia/config/recommendation_config.rb
244
- - lib/algolia/config/search_config.rb
245
- - lib/algolia/defaults.rb
246
- - lib/algolia/enums/call_type.rb
247
- - lib/algolia/enums/retry_outcome_type.rb
123
+ - lib/algolia/api/abtesting_client.rb
124
+ - lib/algolia/api/analytics_client.rb
125
+ - lib/algolia/api/ingestion_client.rb
126
+ - lib/algolia/api/insights_client.rb
127
+ - lib/algolia/api/monitoring_client.rb
128
+ - lib/algolia/api/personalization_client.rb
129
+ - lib/algolia/api/query_suggestions_client.rb
130
+ - lib/algolia/api/recommend_client.rb
131
+ - lib/algolia/api/search_client.rb
132
+ - lib/algolia/api_client.rb
133
+ - lib/algolia/api_error.rb
134
+ - lib/algolia/configuration.rb
248
135
  - lib/algolia/error.rb
249
- - lib/algolia/helpers.rb
250
- - lib/algolia/http/http_requester.rb
251
- - lib/algolia/http/response.rb
252
- - lib/algolia/insights_client.rb
253
- - lib/algolia/iterators/base_iterator.rb
254
- - lib/algolia/iterators/object_iterator.rb
255
- - lib/algolia/iterators/paginator_iterator.rb
256
- - lib/algolia/iterators/rule_iterator.rb
257
- - lib/algolia/iterators/synonym_iterator.rb
258
136
  - lib/algolia/logger_helper.rb
259
- - lib/algolia/personalization_client.rb
260
- - lib/algolia/recommend_client.rb
261
- - lib/algolia/recommendation_client.rb
262
- - lib/algolia/responses/add_api_key_response.rb
263
- - lib/algolia/responses/base_response.rb
264
- - lib/algolia/responses/delete_api_key_response.rb
265
- - lib/algolia/responses/dictionary_response.rb
266
- - lib/algolia/responses/indexing_response.rb
267
- - lib/algolia/responses/multiple_batch_indexing_response.rb
268
- - lib/algolia/responses/multiple_response.rb
269
- - lib/algolia/responses/restore_api_key_response.rb
270
- - lib/algolia/responses/update_api_key_response.rb
271
- - lib/algolia/search_client.rb
272
- - lib/algolia/search_index.rb
137
+ - lib/algolia/models/abtesting/ab_test.rb
138
+ - lib/algolia/models/abtesting/ab_test_response.rb
139
+ - lib/algolia/models/abtesting/ab_tests_variant.rb
140
+ - lib/algolia/models/abtesting/ab_tests_variant_search_params.rb
141
+ - lib/algolia/models/abtesting/add_ab_tests_request.rb
142
+ - lib/algolia/models/abtesting/add_ab_tests_variant.rb
143
+ - lib/algolia/models/abtesting/currencies_value.rb
144
+ - lib/algolia/models/abtesting/custom_search_params.rb
145
+ - lib/algolia/models/abtesting/error_base.rb
146
+ - lib/algolia/models/abtesting/filter_effects.rb
147
+ - lib/algolia/models/abtesting/filter_effects_empty_search.rb
148
+ - lib/algolia/models/abtesting/filter_effects_outliers.rb
149
+ - lib/algolia/models/abtesting/list_ab_tests_response.rb
150
+ - lib/algolia/models/abtesting/variant.rb
151
+ - lib/algolia/models/analytics/average_click_event.rb
152
+ - lib/algolia/models/analytics/click_position.rb
153
+ - lib/algolia/models/analytics/click_through_rate_event.rb
154
+ - lib/algolia/models/analytics/conversion_rate_event.rb
155
+ - lib/algolia/models/analytics/direction.rb
156
+ - lib/algolia/models/analytics/error_base.rb
157
+ - lib/algolia/models/analytics/get_average_click_position_response.rb
158
+ - lib/algolia/models/analytics/get_click_positions_response.rb
159
+ - lib/algolia/models/analytics/get_click_through_rate_response.rb
160
+ - lib/algolia/models/analytics/get_conversation_rate_response.rb
161
+ - lib/algolia/models/analytics/get_no_click_rate_response.rb
162
+ - lib/algolia/models/analytics/get_no_results_rate_response.rb
163
+ - lib/algolia/models/analytics/get_searches_count_response.rb
164
+ - lib/algolia/models/analytics/get_searches_no_clicks_response.rb
165
+ - lib/algolia/models/analytics/get_searches_no_results_response.rb
166
+ - lib/algolia/models/analytics/get_status_response.rb
167
+ - lib/algolia/models/analytics/get_top_countries_response.rb
168
+ - lib/algolia/models/analytics/get_top_filter_attribute.rb
169
+ - lib/algolia/models/analytics/get_top_filter_attributes_response.rb
170
+ - lib/algolia/models/analytics/get_top_filter_for_attribute.rb
171
+ - lib/algolia/models/analytics/get_top_filter_for_attribute_response.rb
172
+ - lib/algolia/models/analytics/get_top_filters_no_results_response.rb
173
+ - lib/algolia/models/analytics/get_top_filters_no_results_value.rb
174
+ - lib/algolia/models/analytics/get_top_filters_no_results_values.rb
175
+ - lib/algolia/models/analytics/get_top_hits_response.rb
176
+ - lib/algolia/models/analytics/get_top_searches_response.rb
177
+ - lib/algolia/models/analytics/get_users_count_response.rb
178
+ - lib/algolia/models/analytics/no_click_rate_event.rb
179
+ - lib/algolia/models/analytics/no_results_rate_event.rb
180
+ - lib/algolia/models/analytics/order_by.rb
181
+ - lib/algolia/models/analytics/search_event.rb
182
+ - lib/algolia/models/analytics/search_no_click_event.rb
183
+ - lib/algolia/models/analytics/search_no_result_event.rb
184
+ - lib/algolia/models/analytics/top_country.rb
185
+ - lib/algolia/models/analytics/top_hit.rb
186
+ - lib/algolia/models/analytics/top_hit_with_analytics.rb
187
+ - lib/algolia/models/analytics/top_hits_response.rb
188
+ - lib/algolia/models/analytics/top_hits_response_with_analytics.rb
189
+ - lib/algolia/models/analytics/top_search.rb
190
+ - lib/algolia/models/analytics/top_search_with_analytics.rb
191
+ - lib/algolia/models/analytics/top_searches_response.rb
192
+ - lib/algolia/models/analytics/top_searches_response_with_analytics.rb
193
+ - lib/algolia/models/analytics/user_with_date.rb
194
+ - lib/algolia/models/ingestion/action_type.rb
195
+ - lib/algolia/models/ingestion/auth_algolia.rb
196
+ - lib/algolia/models/ingestion/auth_algolia_partial.rb
197
+ - lib/algolia/models/ingestion/auth_api_key.rb
198
+ - lib/algolia/models/ingestion/auth_api_key_partial.rb
199
+ - lib/algolia/models/ingestion/auth_basic.rb
200
+ - lib/algolia/models/ingestion/auth_basic_partial.rb
201
+ - lib/algolia/models/ingestion/auth_google_service_account.rb
202
+ - lib/algolia/models/ingestion/auth_google_service_account_partial.rb
203
+ - lib/algolia/models/ingestion/auth_input.rb
204
+ - lib/algolia/models/ingestion/auth_input_partial.rb
205
+ - lib/algolia/models/ingestion/auth_o_auth.rb
206
+ - lib/algolia/models/ingestion/auth_o_auth_partial.rb
207
+ - lib/algolia/models/ingestion/authentication.rb
208
+ - lib/algolia/models/ingestion/authentication_create.rb
209
+ - lib/algolia/models/ingestion/authentication_create_response.rb
210
+ - lib/algolia/models/ingestion/authentication_search.rb
211
+ - lib/algolia/models/ingestion/authentication_sort_keys.rb
212
+ - lib/algolia/models/ingestion/authentication_type.rb
213
+ - lib/algolia/models/ingestion/authentication_update.rb
214
+ - lib/algolia/models/ingestion/authentication_update_response.rb
215
+ - lib/algolia/models/ingestion/big_commerce_channel.rb
216
+ - lib/algolia/models/ingestion/big_commerce_metafield.rb
217
+ - lib/algolia/models/ingestion/big_query_data_type.rb
218
+ - lib/algolia/models/ingestion/delete_response.rb
219
+ - lib/algolia/models/ingestion/destination.rb
220
+ - lib/algolia/models/ingestion/destination_create.rb
221
+ - lib/algolia/models/ingestion/destination_create_response.rb
222
+ - lib/algolia/models/ingestion/destination_index_name.rb
223
+ - lib/algolia/models/ingestion/destination_index_prefix.rb
224
+ - lib/algolia/models/ingestion/destination_input.rb
225
+ - lib/algolia/models/ingestion/destination_search.rb
226
+ - lib/algolia/models/ingestion/destination_sort_keys.rb
227
+ - lib/algolia/models/ingestion/destination_type.rb
228
+ - lib/algolia/models/ingestion/destination_update.rb
229
+ - lib/algolia/models/ingestion/destination_update_response.rb
230
+ - lib/algolia/models/ingestion/docker_image_type.rb
231
+ - lib/algolia/models/ingestion/docker_registry.rb
232
+ - lib/algolia/models/ingestion/docker_source_discover.rb
233
+ - lib/algolia/models/ingestion/docker_source_streams.rb
234
+ - lib/algolia/models/ingestion/error_base.rb
235
+ - lib/algolia/models/ingestion/event.rb
236
+ - lib/algolia/models/ingestion/event_sort_keys.rb
237
+ - lib/algolia/models/ingestion/event_status.rb
238
+ - lib/algolia/models/ingestion/event_type.rb
239
+ - lib/algolia/models/ingestion/list_authentications_response.rb
240
+ - lib/algolia/models/ingestion/list_destinations_response.rb
241
+ - lib/algolia/models/ingestion/list_events_response.rb
242
+ - lib/algolia/models/ingestion/list_sources_response.rb
243
+ - lib/algolia/models/ingestion/list_tasks_response.rb
244
+ - lib/algolia/models/ingestion/mapping_type_csv.rb
245
+ - lib/algolia/models/ingestion/method_type.rb
246
+ - lib/algolia/models/ingestion/on_demand_date_utils_input.rb
247
+ - lib/algolia/models/ingestion/on_demand_trigger.rb
248
+ - lib/algolia/models/ingestion/on_demand_trigger_input.rb
249
+ - lib/algolia/models/ingestion/on_demand_trigger_type.rb
250
+ - lib/algolia/models/ingestion/order_keys.rb
251
+ - lib/algolia/models/ingestion/pagination.rb
252
+ - lib/algolia/models/ingestion/platform.rb
253
+ - lib/algolia/models/ingestion/platform_none.rb
254
+ - lib/algolia/models/ingestion/platform_with_none.rb
255
+ - lib/algolia/models/ingestion/record_type.rb
256
+ - lib/algolia/models/ingestion/run.rb
257
+ - lib/algolia/models/ingestion/run_list_response.rb
258
+ - lib/algolia/models/ingestion/run_outcome.rb
259
+ - lib/algolia/models/ingestion/run_progress.rb
260
+ - lib/algolia/models/ingestion/run_reason_code.rb
261
+ - lib/algolia/models/ingestion/run_response.rb
262
+ - lib/algolia/models/ingestion/run_sort_keys.rb
263
+ - lib/algolia/models/ingestion/run_status.rb
264
+ - lib/algolia/models/ingestion/run_type.rb
265
+ - lib/algolia/models/ingestion/schedule_date_utils_input.rb
266
+ - lib/algolia/models/ingestion/schedule_trigger.rb
267
+ - lib/algolia/models/ingestion/schedule_trigger_input.rb
268
+ - lib/algolia/models/ingestion/schedule_trigger_type.rb
269
+ - lib/algolia/models/ingestion/source.rb
270
+ - lib/algolia/models/ingestion/source_big_commerce.rb
271
+ - lib/algolia/models/ingestion/source_big_query.rb
272
+ - lib/algolia/models/ingestion/source_commercetools.rb
273
+ - lib/algolia/models/ingestion/source_create.rb
274
+ - lib/algolia/models/ingestion/source_create_response.rb
275
+ - lib/algolia/models/ingestion/source_csv.rb
276
+ - lib/algolia/models/ingestion/source_docker.rb
277
+ - lib/algolia/models/ingestion/source_input.rb
278
+ - lib/algolia/models/ingestion/source_json.rb
279
+ - lib/algolia/models/ingestion/source_search.rb
280
+ - lib/algolia/models/ingestion/source_sort_keys.rb
281
+ - lib/algolia/models/ingestion/source_type.rb
282
+ - lib/algolia/models/ingestion/source_update.rb
283
+ - lib/algolia/models/ingestion/source_update_commercetools.rb
284
+ - lib/algolia/models/ingestion/source_update_docker.rb
285
+ - lib/algolia/models/ingestion/source_update_input.rb
286
+ - lib/algolia/models/ingestion/source_update_response.rb
287
+ - lib/algolia/models/ingestion/subscription_trigger.rb
288
+ - lib/algolia/models/ingestion/subscription_trigger_type.rb
289
+ - lib/algolia/models/ingestion/task.rb
290
+ - lib/algolia/models/ingestion/task_create.rb
291
+ - lib/algolia/models/ingestion/task_create_response.rb
292
+ - lib/algolia/models/ingestion/task_create_trigger.rb
293
+ - lib/algolia/models/ingestion/task_input.rb
294
+ - lib/algolia/models/ingestion/task_search.rb
295
+ - lib/algolia/models/ingestion/task_sort_keys.rb
296
+ - lib/algolia/models/ingestion/task_update.rb
297
+ - lib/algolia/models/ingestion/task_update_response.rb
298
+ - lib/algolia/models/ingestion/trigger.rb
299
+ - lib/algolia/models/ingestion/trigger_type.rb
300
+ - lib/algolia/models/ingestion/trigger_update_input.rb
301
+ - lib/algolia/models/ingestion/window.rb
302
+ - lib/algolia/models/insights/add_to_cart_event.rb
303
+ - lib/algolia/models/insights/added_to_cart_object_ids.rb
304
+ - lib/algolia/models/insights/added_to_cart_object_ids_after_search.rb
305
+ - lib/algolia/models/insights/click_event.rb
306
+ - lib/algolia/models/insights/clicked_filters.rb
307
+ - lib/algolia/models/insights/clicked_object_ids.rb
308
+ - lib/algolia/models/insights/clicked_object_ids_after_search.rb
309
+ - lib/algolia/models/insights/conversion_event.rb
310
+ - lib/algolia/models/insights/converted_filters.rb
311
+ - lib/algolia/models/insights/converted_object_ids.rb
312
+ - lib/algolia/models/insights/converted_object_ids_after_search.rb
313
+ - lib/algolia/models/insights/discount.rb
314
+ - lib/algolia/models/insights/error_base.rb
315
+ - lib/algolia/models/insights/events_items.rb
316
+ - lib/algolia/models/insights/events_response.rb
317
+ - lib/algolia/models/insights/insights_events.rb
318
+ - lib/algolia/models/insights/object_data.rb
319
+ - lib/algolia/models/insights/object_data_after_search.rb
320
+ - lib/algolia/models/insights/price.rb
321
+ - lib/algolia/models/insights/purchase_event.rb
322
+ - lib/algolia/models/insights/purchased_object_ids.rb
323
+ - lib/algolia/models/insights/purchased_object_ids_after_search.rb
324
+ - lib/algolia/models/insights/view_event.rb
325
+ - lib/algolia/models/insights/viewed_filters.rb
326
+ - lib/algolia/models/insights/viewed_object_ids.rb
327
+ - lib/algolia/models/monitoring/error_base.rb
328
+ - lib/algolia/models/monitoring/get_inventory403_response.rb
329
+ - lib/algolia/models/monitoring/incident.rb
330
+ - lib/algolia/models/monitoring/incidents_inner.rb
331
+ - lib/algolia/models/monitoring/incidents_response.rb
332
+ - lib/algolia/models/monitoring/indexing_time_response.rb
333
+ - lib/algolia/models/monitoring/indexing_time_response_metrics.rb
334
+ - lib/algolia/models/monitoring/infrastructure_response.rb
335
+ - lib/algolia/models/monitoring/infrastructure_response_metrics.rb
336
+ - lib/algolia/models/monitoring/inventory_response.rb
337
+ - lib/algolia/models/monitoring/latency_response.rb
338
+ - lib/algolia/models/monitoring/latency_response_metrics.rb
339
+ - lib/algolia/models/monitoring/metric.rb
340
+ - lib/algolia/models/monitoring/period.rb
341
+ - lib/algolia/models/monitoring/probes_metric.rb
342
+ - lib/algolia/models/monitoring/region.rb
343
+ - lib/algolia/models/monitoring/server.rb
344
+ - lib/algolia/models/monitoring/server_status.rb
345
+ - lib/algolia/models/monitoring/status.rb
346
+ - lib/algolia/models/monitoring/status_response.rb
347
+ - lib/algolia/models/monitoring/time_inner.rb
348
+ - lib/algolia/models/monitoring/type.rb
349
+ - lib/algolia/models/personalization/delete_user_profile_response.rb
350
+ - lib/algolia/models/personalization/error_base.rb
351
+ - lib/algolia/models/personalization/event_scoring.rb
352
+ - lib/algolia/models/personalization/facet_scoring.rb
353
+ - lib/algolia/models/personalization/get_user_token_response.rb
354
+ - lib/algolia/models/personalization/personalization_strategy_params.rb
355
+ - lib/algolia/models/personalization/set_personalization_strategy_response.rb
356
+ - lib/algolia/models/query-suggestions/base_query_suggestions_configuration_response.rb
357
+ - lib/algolia/models/query-suggestions/base_query_suggestions_configuration_with_index.rb
358
+ - lib/algolia/models/query-suggestions/base_response.rb
359
+ - lib/algolia/models/query-suggestions/error_base.rb
360
+ - lib/algolia/models/query-suggestions/facet.rb
361
+ - lib/algolia/models/query-suggestions/get_config_status200_response.rb
362
+ - lib/algolia/models/query-suggestions/get_log_file200_response.rb
363
+ - lib/algolia/models/query-suggestions/languages.rb
364
+ - lib/algolia/models/query-suggestions/log_level.rb
365
+ - lib/algolia/models/query-suggestions/query_suggestions_configuration.rb
366
+ - lib/algolia/models/query-suggestions/query_suggestions_configuration_response.rb
367
+ - lib/algolia/models/query-suggestions/query_suggestions_configuration_with_index.rb
368
+ - lib/algolia/models/query-suggestions/source_index.rb
369
+ - lib/algolia/models/recommend/advanced_syntax_features.rb
370
+ - lib/algolia/models/recommend/alternatives_as_exact.rb
371
+ - lib/algolia/models/recommend/anchoring.rb
372
+ - lib/algolia/models/recommend/around_precision.rb
373
+ - lib/algolia/models/recommend/around_precision_from_value_inner.rb
374
+ - lib/algolia/models/recommend/around_radius.rb
375
+ - lib/algolia/models/recommend/around_radius_all.rb
376
+ - lib/algolia/models/recommend/automatic_facet_filter.rb
377
+ - lib/algolia/models/recommend/automatic_facet_filters.rb
378
+ - lib/algolia/models/recommend/base_recommend_request.rb
379
+ - lib/algolia/models/recommend/base_recommendations_query.rb
380
+ - lib/algolia/models/recommend/base_recommended_for_you_query.rb
381
+ - lib/algolia/models/recommend/base_recommended_for_you_query_parameters.rb
382
+ - lib/algolia/models/recommend/base_search_params.rb
383
+ - lib/algolia/models/recommend/base_search_params_without_query.rb
384
+ - lib/algolia/models/recommend/base_search_response.rb
385
+ - lib/algolia/models/recommend/base_trending_facets_query.rb
386
+ - lib/algolia/models/recommend/base_trending_items_query.rb
387
+ - lib/algolia/models/recommend/condition.rb
388
+ - lib/algolia/models/recommend/consequence.rb
389
+ - lib/algolia/models/recommend/consequence_hide.rb
390
+ - lib/algolia/models/recommend/consequence_params.rb
391
+ - lib/algolia/models/recommend/consequence_query.rb
392
+ - lib/algolia/models/recommend/consequence_query_object.rb
393
+ - lib/algolia/models/recommend/deleted_at_response.rb
394
+ - lib/algolia/models/recommend/distinct.rb
395
+ - lib/algolia/models/recommend/edit.rb
396
+ - lib/algolia/models/recommend/edit_type.rb
397
+ - lib/algolia/models/recommend/error_base.rb
398
+ - lib/algolia/models/recommend/exact_on_single_word_query.rb
399
+ - lib/algolia/models/recommend/exhaustive.rb
400
+ - lib/algolia/models/recommend/facet_filters.rb
401
+ - lib/algolia/models/recommend/facet_ordering.rb
402
+ - lib/algolia/models/recommend/facets.rb
403
+ - lib/algolia/models/recommend/facets_stats.rb
404
+ - lib/algolia/models/recommend/get_recommend_task_response.rb
405
+ - lib/algolia/models/recommend/get_recommendations_params.rb
406
+ - lib/algolia/models/recommend/get_recommendations_response.rb
407
+ - lib/algolia/models/recommend/highlight_result.rb
408
+ - lib/algolia/models/recommend/highlight_result_option.rb
409
+ - lib/algolia/models/recommend/ignore_plurals.rb
410
+ - lib/algolia/models/recommend/index_settings_as_search_params.rb
411
+ - lib/algolia/models/recommend/match_level.rb
412
+ - lib/algolia/models/recommend/matched_geo_location.rb
413
+ - lib/algolia/models/recommend/mixed_search_filters.rb
414
+ - lib/algolia/models/recommend/mode.rb
415
+ - lib/algolia/models/recommend/numeric_filters.rb
416
+ - lib/algolia/models/recommend/optional_filters.rb
417
+ - lib/algolia/models/recommend/params.rb
418
+ - lib/algolia/models/recommend/personalization.rb
419
+ - lib/algolia/models/recommend/promote.rb
420
+ - lib/algolia/models/recommend/promote_object_id.rb
421
+ - lib/algolia/models/recommend/promote_object_ids.rb
422
+ - lib/algolia/models/recommend/query_type.rb
423
+ - lib/algolia/models/recommend/ranking_info.rb
424
+ - lib/algolia/models/recommend/re_ranking_apply_filter.rb
425
+ - lib/algolia/models/recommend/recommend_hit.rb
426
+ - lib/algolia/models/recommend/recommend_models.rb
427
+ - lib/algolia/models/recommend/recommendation_models.rb
428
+ - lib/algolia/models/recommend/recommendations_hit.rb
429
+ - lib/algolia/models/recommend/recommendations_hits.rb
430
+ - lib/algolia/models/recommend/recommendations_query.rb
431
+ - lib/algolia/models/recommend/recommendations_request.rb
432
+ - lib/algolia/models/recommend/recommendations_results.rb
433
+ - lib/algolia/models/recommend/recommended_for_you_model.rb
434
+ - lib/algolia/models/recommend/recommended_for_you_query.rb
435
+ - lib/algolia/models/recommend/recommended_for_you_query_parameters.rb
436
+ - lib/algolia/models/recommend/redirect.rb
437
+ - lib/algolia/models/recommend/redirect_rule_index_metadata.rb
438
+ - lib/algolia/models/recommend/redirect_rule_index_metadata_data.rb
439
+ - lib/algolia/models/recommend/remove_stop_words.rb
440
+ - lib/algolia/models/recommend/remove_words_if_no_results.rb
441
+ - lib/algolia/models/recommend/rendering_content.rb
442
+ - lib/algolia/models/recommend/rule_response.rb
443
+ - lib/algolia/models/recommend/rule_response_metadata.rb
444
+ - lib/algolia/models/recommend/search_params_object.rb
445
+ - lib/algolia/models/recommend/search_params_query.rb
446
+ - lib/algolia/models/recommend/search_recommend_rules_params.rb
447
+ - lib/algolia/models/recommend/search_recommend_rules_response.rb
448
+ - lib/algolia/models/recommend/semantic_search.rb
449
+ - lib/algolia/models/recommend/snippet_result.rb
450
+ - lib/algolia/models/recommend/snippet_result_option.rb
451
+ - lib/algolia/models/recommend/sort_remaining_by.rb
452
+ - lib/algolia/models/recommend/tag_filters.rb
453
+ - lib/algolia/models/recommend/task_status.rb
454
+ - lib/algolia/models/recommend/trending_facet_hit.rb
455
+ - lib/algolia/models/recommend/trending_facets_model.rb
456
+ - lib/algolia/models/recommend/trending_facets_query.rb
457
+ - lib/algolia/models/recommend/trending_items_model.rb
458
+ - lib/algolia/models/recommend/trending_items_query.rb
459
+ - lib/algolia/models/recommend/typo_tolerance.rb
460
+ - lib/algolia/models/recommend/typo_tolerance_enum.rb
461
+ - lib/algolia/models/recommend/value.rb
462
+ - lib/algolia/models/search/acl.rb
463
+ - lib/algolia/models/search/action.rb
464
+ - lib/algolia/models/search/add_api_key_response.rb
465
+ - lib/algolia/models/search/advanced_syntax_features.rb
466
+ - lib/algolia/models/search/alternatives_as_exact.rb
467
+ - lib/algolia/models/search/anchoring.rb
468
+ - lib/algolia/models/search/api_key.rb
469
+ - lib/algolia/models/search/around_precision.rb
470
+ - lib/algolia/models/search/around_precision_from_value_inner.rb
471
+ - lib/algolia/models/search/around_radius.rb
472
+ - lib/algolia/models/search/around_radius_all.rb
473
+ - lib/algolia/models/search/assign_user_id_params.rb
474
+ - lib/algolia/models/search/attribute_to_update.rb
475
+ - lib/algolia/models/search/automatic_facet_filter.rb
476
+ - lib/algolia/models/search/automatic_facet_filters.rb
477
+ - lib/algolia/models/search/base_get_api_key_response.rb
478
+ - lib/algolia/models/search/base_index_settings.rb
479
+ - lib/algolia/models/search/base_search_params.rb
480
+ - lib/algolia/models/search/base_search_params_without_query.rb
481
+ - lib/algolia/models/search/base_search_response.rb
482
+ - lib/algolia/models/search/batch_assign_user_ids_params.rb
483
+ - lib/algolia/models/search/batch_dictionary_entries_params.rb
484
+ - lib/algolia/models/search/batch_dictionary_entries_request.rb
485
+ - lib/algolia/models/search/batch_params.rb
486
+ - lib/algolia/models/search/batch_request.rb
487
+ - lib/algolia/models/search/batch_response.rb
488
+ - lib/algolia/models/search/batch_write_params.rb
489
+ - lib/algolia/models/search/browse_params.rb
490
+ - lib/algolia/models/search/browse_params_object.rb
491
+ - lib/algolia/models/search/browse_response.rb
492
+ - lib/algolia/models/search/built_in_operation.rb
493
+ - lib/algolia/models/search/built_in_operation_type.rb
494
+ - lib/algolia/models/search/condition.rb
495
+ - lib/algolia/models/search/consequence.rb
496
+ - lib/algolia/models/search/consequence_hide.rb
497
+ - lib/algolia/models/search/consequence_params.rb
498
+ - lib/algolia/models/search/consequence_query.rb
499
+ - lib/algolia/models/search/consequence_query_object.rb
500
+ - lib/algolia/models/search/created_at_response.rb
501
+ - lib/algolia/models/search/cursor.rb
502
+ - lib/algolia/models/search/delete_api_key_response.rb
503
+ - lib/algolia/models/search/delete_by_params.rb
504
+ - lib/algolia/models/search/delete_source_response.rb
505
+ - lib/algolia/models/search/deleted_at_response.rb
506
+ - lib/algolia/models/search/dictionary_action.rb
507
+ - lib/algolia/models/search/dictionary_entry.rb
508
+ - lib/algolia/models/search/dictionary_entry_state.rb
509
+ - lib/algolia/models/search/dictionary_language.rb
510
+ - lib/algolia/models/search/dictionary_settings_params.rb
511
+ - lib/algolia/models/search/dictionary_type.rb
512
+ - lib/algolia/models/search/distinct.rb
513
+ - lib/algolia/models/search/edit.rb
514
+ - lib/algolia/models/search/edit_type.rb
515
+ - lib/algolia/models/search/error_base.rb
516
+ - lib/algolia/models/search/exact_on_single_word_query.rb
517
+ - lib/algolia/models/search/exhaustive.rb
518
+ - lib/algolia/models/search/facet_filters.rb
519
+ - lib/algolia/models/search/facet_hits.rb
520
+ - lib/algolia/models/search/facet_ordering.rb
521
+ - lib/algolia/models/search/facets.rb
522
+ - lib/algolia/models/search/facets_stats.rb
523
+ - lib/algolia/models/search/fetched_index.rb
524
+ - lib/algolia/models/search/get_api_key_response.rb
525
+ - lib/algolia/models/search/get_dictionary_settings_response.rb
526
+ - lib/algolia/models/search/get_logs_response.rb
527
+ - lib/algolia/models/search/get_objects_params.rb
528
+ - lib/algolia/models/search/get_objects_request.rb
529
+ - lib/algolia/models/search/get_objects_response.rb
530
+ - lib/algolia/models/search/get_task_response.rb
531
+ - lib/algolia/models/search/get_top_user_ids_response.rb
532
+ - lib/algolia/models/search/has_pending_mappings_response.rb
533
+ - lib/algolia/models/search/highlight_result.rb
534
+ - lib/algolia/models/search/highlight_result_option.rb
535
+ - lib/algolia/models/search/hit.rb
536
+ - lib/algolia/models/search/ignore_plurals.rb
537
+ - lib/algolia/models/search/index_settings.rb
538
+ - lib/algolia/models/search/index_settings_as_search_params.rb
539
+ - lib/algolia/models/search/languages.rb
540
+ - lib/algolia/models/search/list_api_keys_response.rb
541
+ - lib/algolia/models/search/list_clusters_response.rb
542
+ - lib/algolia/models/search/list_indices_response.rb
543
+ - lib/algolia/models/search/list_user_ids_response.rb
544
+ - lib/algolia/models/search/log.rb
545
+ - lib/algolia/models/search/log_query.rb
546
+ - lib/algolia/models/search/log_type.rb
547
+ - lib/algolia/models/search/match_level.rb
548
+ - lib/algolia/models/search/matched_geo_location.rb
549
+ - lib/algolia/models/search/mixed_search_filters.rb
550
+ - lib/algolia/models/search/mode.rb
551
+ - lib/algolia/models/search/multiple_batch_request.rb
552
+ - lib/algolia/models/search/multiple_batch_response.rb
553
+ - lib/algolia/models/search/numeric_filters.rb
554
+ - lib/algolia/models/search/operation_index_params.rb
555
+ - lib/algolia/models/search/operation_type.rb
556
+ - lib/algolia/models/search/optional_filters.rb
557
+ - lib/algolia/models/search/params.rb
558
+ - lib/algolia/models/search/personalization.rb
559
+ - lib/algolia/models/search/promote.rb
560
+ - lib/algolia/models/search/promote_object_id.rb
561
+ - lib/algolia/models/search/promote_object_ids.rb
562
+ - lib/algolia/models/search/query_type.rb
563
+ - lib/algolia/models/search/ranking_info.rb
564
+ - lib/algolia/models/search/re_ranking_apply_filter.rb
565
+ - lib/algolia/models/search/redirect.rb
566
+ - lib/algolia/models/search/redirect_rule_index_metadata.rb
567
+ - lib/algolia/models/search/redirect_rule_index_metadata_data.rb
568
+ - lib/algolia/models/search/remove_stop_words.rb
569
+ - lib/algolia/models/search/remove_user_id_response.rb
570
+ - lib/algolia/models/search/remove_words_if_no_results.rb
571
+ - lib/algolia/models/search/rendering_content.rb
572
+ - lib/algolia/models/search/replace_source_response.rb
573
+ - lib/algolia/models/search/rule.rb
574
+ - lib/algolia/models/search/save_object_response.rb
575
+ - lib/algolia/models/search/save_synonym_response.rb
576
+ - lib/algolia/models/search/scope_type.rb
577
+ - lib/algolia/models/search/search_dictionary_entries_params.rb
578
+ - lib/algolia/models/search/search_for_facet_values_request.rb
579
+ - lib/algolia/models/search/search_for_facet_values_response.rb
580
+ - lib/algolia/models/search/search_for_facets.rb
581
+ - lib/algolia/models/search/search_for_facets_options.rb
582
+ - lib/algolia/models/search/search_for_hits.rb
583
+ - lib/algolia/models/search/search_for_hits_options.rb
584
+ - lib/algolia/models/search/search_hits.rb
585
+ - lib/algolia/models/search/search_method_params.rb
586
+ - lib/algolia/models/search/search_params.rb
587
+ - lib/algolia/models/search/search_params_object.rb
588
+ - lib/algolia/models/search/search_params_query.rb
589
+ - lib/algolia/models/search/search_params_string.rb
590
+ - lib/algolia/models/search/search_query.rb
591
+ - lib/algolia/models/search/search_response.rb
592
+ - lib/algolia/models/search/search_responses.rb
593
+ - lib/algolia/models/search/search_result.rb
594
+ - lib/algolia/models/search/search_rules_params.rb
595
+ - lib/algolia/models/search/search_rules_response.rb
596
+ - lib/algolia/models/search/search_strategy.rb
597
+ - lib/algolia/models/search/search_synonyms_params.rb
598
+ - lib/algolia/models/search/search_synonyms_response.rb
599
+ - lib/algolia/models/search/search_type_default.rb
600
+ - lib/algolia/models/search/search_type_facet.rb
601
+ - lib/algolia/models/search/search_user_ids_params.rb
602
+ - lib/algolia/models/search/search_user_ids_response.rb
603
+ - lib/algolia/models/search/semantic_search.rb
604
+ - lib/algolia/models/search/snippet_result.rb
605
+ - lib/algolia/models/search/snippet_result_option.rb
606
+ - lib/algolia/models/search/sort_remaining_by.rb
607
+ - lib/algolia/models/search/source.rb
608
+ - lib/algolia/models/search/standard_entries.rb
609
+ - lib/algolia/models/search/synonym_hit.rb
610
+ - lib/algolia/models/search/synonym_type.rb
611
+ - lib/algolia/models/search/tag_filters.rb
612
+ - lib/algolia/models/search/task_status.rb
613
+ - lib/algolia/models/search/time_range.rb
614
+ - lib/algolia/models/search/typo_tolerance.rb
615
+ - lib/algolia/models/search/typo_tolerance_enum.rb
616
+ - lib/algolia/models/search/update_api_key_response.rb
617
+ - lib/algolia/models/search/updated_at_response.rb
618
+ - lib/algolia/models/search/updated_at_with_object_id_response.rb
619
+ - lib/algolia/models/search/updated_rule_response.rb
620
+ - lib/algolia/models/search/user_highlight_result.rb
621
+ - lib/algolia/models/search/user_hit.rb
622
+ - lib/algolia/models/search/user_id.rb
623
+ - lib/algolia/models/search/value.rb
624
+ - lib/algolia/transport/call_type.rb
625
+ - lib/algolia/transport/echo_requester.rb
626
+ - lib/algolia/transport/http/http_requester.rb
627
+ - lib/algolia/transport/http/response.rb
273
628
  - lib/algolia/transport/request_options.rb
629
+ - lib/algolia/transport/retry_outcome_type.rb
274
630
  - lib/algolia/transport/retry_strategy.rb
275
631
  - lib/algolia/transport/stateful_host.rb
276
632
  - lib/algolia/transport/transport.rb
277
633
  - lib/algolia/user_agent.rb
278
634
  - lib/algolia/version.rb
279
- - renovate.json
280
- - sig/config/algolia_config.rbs
281
- - sig/config/analytics_config.rbs
282
- - sig/config/insights_config.rbs
283
- - sig/config/recommendation_config.rbs
284
- - sig/config/search_config.rbs
285
- - sig/enums/call_type.rbs
286
- - sig/helpers.rbs
287
- - sig/http/http_requester.rbs
288
- - sig/http/response.rbs
289
- - sig/interfaces/_connection.rbs
290
- - sig/iterators/base_iterator.rbs
291
- - sig/iterators/object_iterator.rbs
292
- - sig/iterators/paginator_iterator.rbs
293
- - sig/iterators/rule_iterator.rbs
294
- - sig/iterators/synonym_iterator.rbs
295
- - sig/transport/request_options.rbs
296
- - sig/transport/stateful_host.rbs
297
- - test/algolia/integration/account_client_test.rb
298
- - test/algolia/integration/analytics_client_test.rb
299
- - test/algolia/integration/base_test.rb
300
- - test/algolia/integration/insights_client_test.rb
301
- - test/algolia/integration/mocks/mock_requester.rb
302
- - test/algolia/integration/personalization_client_test.rb
303
- - test/algolia/integration/recommend_client_test.rb
304
- - test/algolia/integration/recommendation_client_test.rb
305
- - test/algolia/integration/search_client_test.rb
306
- - test/algolia/integration/search_index_test.rb
307
- - test/algolia/unit/algolia_config_test.rb
308
- - test/algolia/unit/helpers_test.rb
309
- - test/algolia/unit/http_requester_test.rb
310
- - test/algolia/unit/retry_strategy_test.rb
311
- - test/algolia/unit/user_agent_test.rb
312
- - test/test_helper.rb
313
- - upgrade_guide.md
314
635
  homepage: https://github.com/algolia/algoliasearch-client-ruby
315
636
  licenses:
316
637
  - MIT
317
638
  metadata:
318
639
  bug_tracker_uri: https://github.com/algolia/algoliasearch-client-ruby/issues
319
- documentation_uri: https://www.algolia.com/doc/api-client/getting-started/install/ruby
320
640
  source_code_uri: https://github.com/algolia/algoliasearch-client-ruby
321
- post_install_message:
641
+ rubygems_mfa_required: 'true'
642
+ post_install_message:
322
643
  rdoc_options: []
323
644
  require_paths:
324
645
  - lib
@@ -329,28 +650,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
329
650
  version: '0'
330
651
  required_rubygems_version: !ruby/object:Gem::Requirement
331
652
  requirements:
332
- - - ">="
653
+ - - ">"
333
654
  - !ruby/object:Gem::Version
334
- version: '0'
655
+ version: 1.3.1
335
656
  requirements: []
336
657
  rubygems_version: 3.0.3.1
337
- signing_key:
658
+ signing_key:
338
659
  specification_version: 4
339
660
  summary: A simple Ruby client for the algolia.com REST API
340
- test_files:
341
- - test/algolia/integration/account_client_test.rb
342
- - test/algolia/integration/analytics_client_test.rb
343
- - test/algolia/integration/base_test.rb
344
- - test/algolia/integration/insights_client_test.rb
345
- - test/algolia/integration/mocks/mock_requester.rb
346
- - test/algolia/integration/personalization_client_test.rb
347
- - test/algolia/integration/recommend_client_test.rb
348
- - test/algolia/integration/recommendation_client_test.rb
349
- - test/algolia/integration/search_client_test.rb
350
- - test/algolia/integration/search_index_test.rb
351
- - test/algolia/unit/algolia_config_test.rb
352
- - test/algolia/unit/helpers_test.rb
353
- - test/algolia/unit/http_requester_test.rb
354
- - test/algolia/unit/retry_strategy_test.rb
355
- - test/algolia/unit/user_agent_test.rb
356
- - test/test_helper.rb
661
+ test_files: []