algolia 3.5.2 → 3.5.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 84a0ee67eb820ef65c0a92aa71b5dc4d0c70c7522496f0dc5a9e0a1cccc0bb0b
4
- data.tar.gz: 609c3231f74e5a113affbed7cb4377c35ddea0d6dbcf45f9634dcfdab4151733
3
+ metadata.gz: 173d97afe834fd78766030a2edbced933c7fd49ccd5c792855ae508abccdcb5d
4
+ data.tar.gz: 1cc5116b4ad772a662567ccbab55e05ca979bdebf109122cd807fa93fbb1dca9
5
5
  SHA512:
6
- metadata.gz: d7a02c43e9dbddc8f1e8cad80e5437977ba777c36d2f4e6ae91861ee75e212615a9c408fd4f1a5e549394e6421f515207de2feb092ca390111a6d1186f016a06
7
- data.tar.gz: f4b505358a57ec09aa27a65140f9da14d1e043bf43ae9f3dd5e28e324fdcc5a1fb724efe5757648853f93becc44a273cfed19c25be8d08b731a4abbb7ad1a5d8
6
+ metadata.gz: 333f9740f51c5b162cd5b41743cf73e607913079156912f788ebc4c368240d330b86c21174d013fa234a1617690e2e6bd0e2a5ddae260e492a7e16cd1f8c4f1a
7
+ data.tar.gz: ff3edd31b6753c14056240c5e4b0fa62dbcd3db9a8ef80ebd26291686c66dfb74daf89eb90fdcf1bee52b2b1ff44fb26ecaaebb4f0ce4e2bdeaea3d03823ce7b
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## [3.5.4](https://github.com/algolia/algoliasearch-client-ruby/compare/3.5.3...3.5.4)
2
+
3
+ - [1f36e8f93](https://github.com/algolia/api-clients-automation/commit/1f36e8f93) fix(specs): results in getObjects is required ([#4024](https://github.com/algolia/api-clients-automation/pull/4024)) by [@shortcuts](https://github.com/shortcuts/)
4
+
5
+ ## [3.5.3](https://github.com/algolia/algoliasearch-client-ruby/compare/3.5.2...3.5.3)
6
+
7
+ - [fe2c8440e](https://github.com/algolia/api-clients-automation/commit/fe2c8440e) docs(analytics): constrain pagination only to limit query parameter ([#4012](https://github.com/algolia/api-clients-automation/pull/4012)) by [@febeck](https://github.com/febeck/)
8
+
1
9
  ## [3.5.2](https://github.com/algolia/algoliasearch-client-ruby/compare/3.5.1...3.5.2)
2
10
 
3
11
  - [cd98290fa](https://github.com/algolia/api-clients-automation/commit/cd98290fa) fix(specs): Typo tolernace on words ([#3968](https://github.com/algolia/api-clients-automation/pull/3968)) by [@gazconroy](https://github.com/gazconroy/)
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- algolia (3.5.2)
4
+ algolia (3.5.4)
5
5
  base64 (>= 0.2.0, < 1)
6
6
  faraday (>= 1.0.1, < 3.0)
7
7
  faraday-net_http_persistent (>= 0.15, < 3)
@@ -808,8 +808,8 @@ module Algolia
808
808
  # @param index [String] Index name. (required)
809
809
  # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
810
810
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
811
- # @param limit [Integer] Number of items to return. Combined with the `offset` parameter, only the first 1000 items can be retrieved. (default to 10)
812
- # @param offset [Integer] Position of the first item to return. Combined with the `limit` parameter, only the first 1000 items can be retrieved. (default to 0)
811
+ # @param limit [Integer] Number of items to return. (default to 10)
812
+ # @param offset [Integer] Position of the first item to return. (default to 0)
813
813
  # @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/).
814
814
  # @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)
815
815
  # @return [Http::Response] the response
@@ -859,8 +859,8 @@ module Algolia
859
859
  # @param index [String] Index name. (required)
860
860
  # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
861
861
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
862
- # @param limit [Integer] Number of items to return. Combined with the `offset` parameter, only the first 1000 items can be retrieved. (default to 10)
863
- # @param offset [Integer] Position of the first item to return. Combined with the `limit` parameter, only the first 1000 items can be retrieved. (default to 0)
862
+ # @param limit [Integer] Number of items to return. (default to 10)
863
+ # @param offset [Integer] Position of the first item to return. (default to 0)
864
864
  # @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/).
865
865
  # @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)
866
866
  # @return [GetSearchesNoClicksResponse]
@@ -895,8 +895,8 @@ module Algolia
895
895
  # @param index [String] Index name. (required)
896
896
  # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
897
897
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
898
- # @param limit [Integer] Number of items to return. Combined with the `offset` parameter, only the first 1000 items can be retrieved. (default to 10)
899
- # @param offset [Integer] Position of the first item to return. Combined with the `limit` parameter, only the first 1000 items can be retrieved. (default to 0)
898
+ # @param limit [Integer] Number of items to return. (default to 10)
899
+ # @param offset [Integer] Position of the first item to return. (default to 0)
900
900
  # @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/).
901
901
  # @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)
902
902
  # @return [Http::Response] the response
@@ -946,8 +946,8 @@ module Algolia
946
946
  # @param index [String] Index name. (required)
947
947
  # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
948
948
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
949
- # @param limit [Integer] Number of items to return. Combined with the `offset` parameter, only the first 1000 items can be retrieved. (default to 10)
950
- # @param offset [Integer] Position of the first item to return. Combined with the `limit` parameter, only the first 1000 items can be retrieved. (default to 0)
949
+ # @param limit [Integer] Number of items to return. (default to 10)
950
+ # @param offset [Integer] Position of the first item to return. (default to 0)
951
951
  # @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/).
952
952
  # @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)
953
953
  # @return [GetSearchesNoResultsResponse]
@@ -1027,8 +1027,8 @@ module Algolia
1027
1027
  # @param index [String] Index name. (required)
1028
1028
  # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
1029
1029
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
1030
- # @param limit [Integer] Number of items to return. Combined with the `offset` parameter, only the first 1000 items can be retrieved. (default to 10)
1031
- # @param offset [Integer] Position of the first item to return. Combined with the `limit` parameter, only the first 1000 items can be retrieved. (default to 0)
1030
+ # @param limit [Integer] Number of items to return. (default to 10)
1031
+ # @param offset [Integer] Position of the first item to return. (default to 0)
1032
1032
  # @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/).
1033
1033
  # @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)
1034
1034
  # @return [Http::Response] the response
@@ -1078,8 +1078,8 @@ module Algolia
1078
1078
  # @param index [String] Index name. (required)
1079
1079
  # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
1080
1080
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
1081
- # @param limit [Integer] Number of items to return. Combined with the `offset` parameter, only the first 1000 items can be retrieved. (default to 10)
1082
- # @param offset [Integer] Position of the first item to return. Combined with the `limit` parameter, only the first 1000 items can be retrieved. (default to 0)
1081
+ # @param limit [Integer] Number of items to return. (default to 10)
1082
+ # @param offset [Integer] Position of the first item to return. (default to 0)
1083
1083
  # @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/).
1084
1084
  # @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)
1085
1085
  # @return [GetTopCountriesResponse]
@@ -1107,8 +1107,8 @@ module Algolia
1107
1107
  # @param search [String] Search query.
1108
1108
  # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
1109
1109
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
1110
- # @param limit [Integer] Number of items to return. Combined with the `offset` parameter, only the first 1000 items can be retrieved. (default to 10)
1111
- # @param offset [Integer] Position of the first item to return. Combined with the `limit` parameter, only the first 1000 items can be retrieved. (default to 0)
1110
+ # @param limit [Integer] Number of items to return. (default to 10)
1111
+ # @param offset [Integer] Position of the first item to return. (default to 0)
1112
1112
  # @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/).
1113
1113
  # @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)
1114
1114
  # @return [Http::Response] the response
@@ -1161,8 +1161,8 @@ module Algolia
1161
1161
  # @param search [String] Search query.
1162
1162
  # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
1163
1163
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
1164
- # @param limit [Integer] Number of items to return. Combined with the `offset` parameter, only the first 1000 items can be retrieved. (default to 10)
1165
- # @param offset [Integer] Position of the first item to return. Combined with the `limit` parameter, only the first 1000 items can be retrieved. (default to 0)
1164
+ # @param limit [Integer] Number of items to return. (default to 10)
1165
+ # @param offset [Integer] Position of the first item to return. (default to 0)
1166
1166
  # @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/).
1167
1167
  # @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)
1168
1168
  # @return [GetTopFilterAttributesResponse]
@@ -1201,8 +1201,8 @@ module Algolia
1201
1201
  # @param search [String] Search query.
1202
1202
  # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
1203
1203
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
1204
- # @param limit [Integer] Number of items to return. Combined with the `offset` parameter, only the first 1000 items can be retrieved. (default to 10)
1205
- # @param offset [Integer] Position of the first item to return. Combined with the `limit` parameter, only the first 1000 items can be retrieved. (default to 0)
1204
+ # @param limit [Integer] Number of items to return. (default to 10)
1205
+ # @param offset [Integer] Position of the first item to return. (default to 0)
1206
1206
  # @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/).
1207
1207
  # @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)
1208
1208
  # @return [Http::Response] the response
@@ -1261,8 +1261,8 @@ module Algolia
1261
1261
  # @param search [String] Search query.
1262
1262
  # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
1263
1263
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
1264
- # @param limit [Integer] Number of items to return. Combined with the `offset` parameter, only the first 1000 items can be retrieved. (default to 10)
1265
- # @param offset [Integer] Position of the first item to return. Combined with the `limit` parameter, only the first 1000 items can be retrieved. (default to 0)
1264
+ # @param limit [Integer] Number of items to return. (default to 10)
1265
+ # @param offset [Integer] Position of the first item to return. (default to 0)
1266
1266
  # @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/).
1267
1267
  # @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)
1268
1268
  # @return [GetTopFilterForAttributeResponse]
@@ -1302,8 +1302,8 @@ module Algolia
1302
1302
  # @param search [String] Search query.
1303
1303
  # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
1304
1304
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
1305
- # @param limit [Integer] Number of items to return. Combined with the `offset` parameter, only the first 1000 items can be retrieved. (default to 10)
1306
- # @param offset [Integer] Position of the first item to return. Combined with the `limit` parameter, only the first 1000 items can be retrieved. (default to 0)
1305
+ # @param limit [Integer] Number of items to return. (default to 10)
1306
+ # @param offset [Integer] Position of the first item to return. (default to 0)
1307
1307
  # @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/).
1308
1308
  # @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)
1309
1309
  # @return [Http::Response] the response
@@ -1356,8 +1356,8 @@ module Algolia
1356
1356
  # @param search [String] Search query.
1357
1357
  # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
1358
1358
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
1359
- # @param limit [Integer] Number of items to return. Combined with the `offset` parameter, only the first 1000 items can be retrieved. (default to 10)
1360
- # @param offset [Integer] Position of the first item to return. Combined with the `limit` parameter, only the first 1000 items can be retrieved. (default to 0)
1359
+ # @param limit [Integer] Number of items to return. (default to 10)
1360
+ # @param offset [Integer] Position of the first item to return. (default to 0)
1361
1361
  # @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/).
1362
1362
  # @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)
1363
1363
  # @return [GetTopFiltersNoResultsResponse]
@@ -1397,8 +1397,8 @@ module Algolia
1397
1397
  # @param revenue_analytics [Boolean] Whether to include revenue-related metrics in the response. If true, metrics related to click and conversion events are also included in the response. (default to false)
1398
1398
  # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
1399
1399
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
1400
- # @param limit [Integer] Number of items to return. Combined with the `offset` parameter, only the first 1000 items can be retrieved. (default to 10)
1401
- # @param offset [Integer] Position of the first item to return. Combined with the `limit` parameter, only the first 1000 items can be retrieved. (default to 0)
1400
+ # @param limit [Integer] Number of items to return. (default to 10)
1401
+ # @param offset [Integer] Position of the first item to return. (default to 0)
1402
1402
  # @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/).
1403
1403
  # @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)
1404
1404
  # @return [Http::Response] the response
@@ -1457,8 +1457,8 @@ module Algolia
1457
1457
  # @param revenue_analytics [Boolean] Whether to include revenue-related metrics in the response. If true, metrics related to click and conversion events are also included in the response. (default to false)
1458
1458
  # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
1459
1459
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
1460
- # @param limit [Integer] Number of items to return. Combined with the `offset` parameter, only the first 1000 items can be retrieved. (default to 10)
1461
- # @param offset [Integer] Position of the first item to return. Combined with the `limit` parameter, only the first 1000 items can be retrieved. (default to 0)
1460
+ # @param limit [Integer] Number of items to return. (default to 10)
1461
+ # @param offset [Integer] Position of the first item to return. (default to 0)
1462
1462
  # @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/).
1463
1463
  # @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)
1464
1464
  # @return [GetTopHitsResponse]
@@ -1500,8 +1500,8 @@ module Algolia
1500
1500
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
1501
1501
  # @param order_by [OrderBy] Attribute by which to order the response items. If the `clickAnalytics` parameter is false, only `searchCount` is available. (default to 'searchCount')
1502
1502
  # @param direction [Direction] Sorting direction of the results: ascending or descending. (default to 'asc')
1503
- # @param limit [Integer] Number of items to return. Combined with the `offset` parameter, only the first 1000 items can be retrieved. (default to 10)
1504
- # @param offset [Integer] Position of the first item to return. Combined with the `limit` parameter, only the first 1000 items can be retrieved. (default to 0)
1503
+ # @param limit [Integer] Number of items to return. (default to 10)
1504
+ # @param offset [Integer] Position of the first item to return. (default to 0)
1505
1505
  # @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/).
1506
1506
  # @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)
1507
1507
  # @return [Http::Response] the response
@@ -1563,8 +1563,8 @@ module Algolia
1563
1563
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
1564
1564
  # @param order_by [OrderBy] Attribute by which to order the response items. If the `clickAnalytics` parameter is false, only `searchCount` is available. (default to 'searchCount')
1565
1565
  # @param direction [Direction] Sorting direction of the results: ascending or descending. (default to 'asc')
1566
- # @param limit [Integer] Number of items to return. Combined with the `offset` parameter, only the first 1000 items can be retrieved. (default to 10)
1567
- # @param offset [Integer] Position of the first item to return. Combined with the `limit` parameter, only the first 1000 items can be retrieved. (default to 0)
1566
+ # @param limit [Integer] Number of items to return. (default to 10)
1567
+ # @param offset [Integer] Position of the first item to return. (default to 0)
1568
1568
  # @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/).
1569
1569
  # @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)
1570
1570
  # @return [GetTopSearchesResponse]
@@ -62,6 +62,8 @@ module Algolia
62
62
  if (value = attributes[:results]).is_a?(Array)
63
63
  self.results = value
64
64
  end
65
+ else
66
+ self.results = nil
65
67
  end
66
68
  end
67
69
 
@@ -1,5 +1,5 @@
1
1
  # Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  module Algolia
4
- VERSION = "3.5.2".freeze
4
+ VERSION = "3.5.4".freeze
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: algolia
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.2
4
+ version: 3.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - https://alg.li/support
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-17 00:00:00.000000000 Z
11
+ date: 2024-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday