algolia 3.0.0.alpha.14 → 3.0.0.alpha.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/Gemfile.lock +2 -2
  4. data/lib/algolia/api/abtesting_client.rb +4 -4
  5. data/lib/algolia/api/analytics_client.rb +268 -98
  6. data/lib/algolia/api/ingestion_client.rb +4 -4
  7. data/lib/algolia/api/insights_client.rb +4 -4
  8. data/lib/algolia/api/monitoring_client.rb +4 -4
  9. data/lib/algolia/api/personalization_client.rb +4 -4
  10. data/lib/algolia/api/query_suggestions_client.rb +4 -4
  11. data/lib/algolia/api/recommend_client.rb +4 -4
  12. data/lib/algolia/api/search_client.rb +4 -4
  13. data/lib/algolia/models/abtesting/{currencies_value.rb → currency.rb} +3 -3
  14. data/lib/algolia/models/abtesting/variant.rb +2 -5
  15. data/lib/algolia/models/analytics/click_positions_inner.rb +242 -0
  16. data/lib/algolia/models/analytics/currencies_value.rb +208 -0
  17. data/lib/algolia/models/analytics/daily_add_to_cart_rates.rb +265 -0
  18. data/lib/algolia/models/analytics/daily_average_clicks.rb +249 -0
  19. data/lib/algolia/models/analytics/{click_through_rate_event.rb → daily_click_through_rates.rb} +24 -14
  20. data/lib/algolia/models/analytics/daily_conversion_rates.rb +265 -0
  21. data/lib/algolia/models/analytics/{no_click_rate_event.rb → daily_no_click_rates.rb} +21 -7
  22. data/lib/algolia/models/analytics/{no_results_rate_event.rb → daily_no_results_rates.rb} +7 -7
  23. data/lib/algolia/models/analytics/{conversion_rate_event.rb → daily_purchase_rates.rb} +18 -22
  24. data/lib/algolia/models/analytics/{average_click_event.rb → daily_revenue.rb} +15 -25
  25. data/lib/algolia/models/analytics/{search_event.rb → daily_searches.rb} +4 -4
  26. data/lib/algolia/models/analytics/{search_no_result_event.rb → daily_searches_no_clicks.rb} +19 -5
  27. data/lib/algolia/models/analytics/{search_no_click_event.rb → daily_searches_no_results.rb} +19 -5
  28. data/lib/algolia/models/analytics/{user_with_date.rb → daily_users.rb} +5 -5
  29. data/lib/algolia/models/analytics/get_add_to_cart_rate_response.rb +267 -0
  30. data/lib/algolia/models/analytics/get_average_click_position_response.rb +31 -5
  31. data/lib/algolia/models/analytics/get_click_positions_response.rb +6 -6
  32. data/lib/algolia/models/analytics/get_click_through_rate_response.rb +22 -12
  33. data/lib/algolia/models/analytics/get_conversion_rate_response.rb +267 -0
  34. data/lib/algolia/models/analytics/get_no_click_rate_response.rb +19 -5
  35. data/lib/algolia/models/analytics/get_no_results_rate_response.rb +5 -5
  36. data/lib/algolia/models/analytics/{get_conversation_rate_response.rb → get_purchase_rate_response.rb} +19 -23
  37. data/lib/algolia/models/analytics/{click_position.rb → get_revenue.rb} +23 -21
  38. data/lib/algolia/models/analytics/get_searches_count_response.rb +2 -2
  39. data/lib/algolia/models/analytics/get_searches_no_clicks_response.rb +2 -2
  40. data/lib/algolia/models/analytics/get_searches_no_results_response.rb +2 -2
  41. data/lib/algolia/models/analytics/get_status_response.rb +4 -2
  42. data/lib/algolia/models/analytics/get_top_countries_response.rb +1 -1
  43. data/lib/algolia/models/analytics/get_top_filter_attributes_response.rb +1 -1
  44. data/lib/algolia/models/analytics/get_top_filter_for_attribute.rb +23 -2
  45. data/lib/algolia/models/analytics/get_top_filters_no_results_response.rb +4 -2
  46. data/lib/algolia/models/analytics/get_top_filters_no_results_value.rb +23 -2
  47. data/lib/algolia/models/analytics/get_top_hits_response.rb +2 -1
  48. data/lib/algolia/models/analytics/get_top_searches_response.rb +2 -1
  49. data/lib/algolia/models/analytics/get_users_count_response.rb +3 -3
  50. data/lib/algolia/models/analytics/operator.rb +38 -0
  51. data/lib/algolia/models/analytics/top_country.rb +1 -1
  52. data/lib/algolia/models/analytics/top_hit.rb +1 -1
  53. data/lib/algolia/models/analytics/top_hit_with_analytics.rb +60 -21
  54. data/lib/algolia/models/analytics/top_hit_with_revenue_analytics.rb +437 -0
  55. data/lib/algolia/models/analytics/top_hits_response.rb +1 -1
  56. data/lib/algolia/models/analytics/top_hits_response_with_analytics.rb +1 -1
  57. data/lib/algolia/models/analytics/top_hits_response_with_revenue_analytics.rb +201 -0
  58. data/lib/algolia/models/analytics/top_search.rb +2 -2
  59. data/lib/algolia/models/analytics/top_search_with_analytics.rb +99 -17
  60. data/lib/algolia/models/analytics/top_search_with_revenue_analytics.rb +504 -0
  61. data/lib/algolia/models/analytics/top_searches_response.rb +1 -1
  62. data/lib/algolia/models/analytics/top_searches_response_with_analytics.rb +1 -1
  63. data/lib/algolia/models/analytics/top_searches_response_with_revenue_analytics.rb +201 -0
  64. data/lib/algolia/version.rb +1 -1
  65. metadata +26 -14
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e0e9421cce47768ebabacaad9971f24cbfd2717a6fa5e54aa18c142a70677483
4
- data.tar.gz: d7897e3832f90b368e9c22826b053c9dbdf23c17283f040a6c69b871fe26de9d
3
+ metadata.gz: 4a6262b57c201e17e93d4dbd3edc9947a012bdaf057ee067c87060f59a91a430
4
+ data.tar.gz: 6a6ce3ecf4a94995bbab80394d46ef5f8acd610c1ed9e14f58d41e9bc83e0fe9
5
5
  SHA512:
6
- metadata.gz: 528208e232f76d833a3e2dc4d126e68898a03a2b98eb6f687d65d20853c99b18159b999c8fd1b987515649362312532d89162b974aed6151247c8a1d56056997
7
- data.tar.gz: e6d5c1dda5c8d16c3b41c680322b14a5d421fe9dae395e9ec235ad96dd91c5923a1b37328e48acc5b8ddc51c0a3f2e64323554b84b22c84c5ffa9d5ebd42b081
6
+ metadata.gz: 806076418f703466203ad3e07c1329dad41ca113fb562332155094beedb195c7d9ae969c754df03e19892f6a0ba8056e9503753e927ab539a6c91f2d0ee611bb
7
+ data.tar.gz: 770e48c5c9a6f7244516d0bd85170dca1e7c37cfdd3326842a13003ffb8490fb157396dba590884520ec0969519a13e69b08efa9a9c91fbd702897acf4a4905b
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [3.0.0.alpha.15](https://github.com/algolia/algoliasearch-client-ruby/compare/3.0.0.alpha.14...3.0.0.alpha.15)
2
+
3
+ - [10c9339c8](https://github.com/algolia/api-clients-automation/commit/10c9339c8) fix(specs): more flexible custom methods ([#2889](https://github.com/algolia/api-clients-automation/pull/2889)) by [@damcou](https://github.com/damcou/)
4
+
1
5
  ## [3.0.0.alpha.14](https://github.com/algolia/algoliasearch-client-ruby/compare/3.0.0.alpha.13...3.0.0.alpha.14)
2
6
 
3
7
  - [7dc719cbe](https://github.com/algolia/api-clients-automation/commit/7dc719cbe) fix(specs): make languages an enum ([#2865](https://github.com/algolia/api-clients-automation/pull/2865)) by [@kai687](https://github.com/kai687/)
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- algolia (3.0.0.alpha.14)
4
+ algolia (3.0.0.alpha.15)
5
5
  faraday (>= 1.0.1, < 3.0)
6
6
  faraday-net_http_persistent (>= 0.15, < 3)
7
7
  net-http-persistent
@@ -33,7 +33,7 @@ GEM
33
33
  rake (13.1.0)
34
34
  regexp_parser (2.9.0)
35
35
  rexml (3.2.6)
36
- rubocop (1.62.0)
36
+ rubocop (1.62.1)
37
37
  json (~> 2.3)
38
38
  language_server-protocol (>= 3.17.0)
39
39
  parallel (~> 1.10)
@@ -90,7 +90,7 @@ module Algolia
90
90
  raise ArgumentError, "Parameter `path` is required when calling `custom_delete`."
91
91
  end
92
92
 
93
- path = '/1{path}'.sub('{' + 'path' + '}', path.to_s)
93
+ path = '/{path}'.sub('{' + 'path' + '}', path.to_s)
94
94
  query_params = {}
95
95
  query_params = query_params.merge(parameters) unless parameters.nil?
96
96
  query_params = query_params.merge(request_options[:query_params]) unless request_options[:query_params].nil?
@@ -133,7 +133,7 @@ module Algolia
133
133
  raise ArgumentError, "Parameter `path` is required when calling `custom_get`."
134
134
  end
135
135
 
136
- path = '/1{path}'.sub('{' + 'path' + '}', path.to_s)
136
+ path = '/{path}'.sub('{' + 'path' + '}', path.to_s)
137
137
  query_params = {}
138
138
  query_params = query_params.merge(parameters) unless parameters.nil?
139
139
  query_params = query_params.merge(request_options[:query_params]) unless request_options[:query_params].nil?
@@ -177,7 +177,7 @@ module Algolia
177
177
  raise ArgumentError, "Parameter `path` is required when calling `custom_post`."
178
178
  end
179
179
 
180
- path = '/1{path}'.sub('{' + 'path' + '}', path.to_s)
180
+ path = '/{path}'.sub('{' + 'path' + '}', path.to_s)
181
181
  query_params = {}
182
182
  query_params = query_params.merge(parameters) unless parameters.nil?
183
183
  query_params = query_params.merge(request_options[:query_params]) unless request_options[:query_params].nil?
@@ -222,7 +222,7 @@ module Algolia
222
222
  raise ArgumentError, "Parameter `path` is required when calling `custom_put`."
223
223
  end
224
224
 
225
- path = '/1{path}'.sub('{' + 'path' + '}', path.to_s)
225
+ path = '/{path}'.sub('{' + 'path' + '}', path.to_s)
226
226
  query_params = {}
227
227
  query_params = query_params.merge(parameters) unless parameters.nil?
228
228
  query_params = query_params.merge(request_options[:query_params]) unless request_options[:query_params].nil?