algolia 3.46.1 → 3.47.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 328e8475c7136afd5c3ecb2e096a3c7cbeeaccc7fe1f00e46ef1f0d761ba5371
4
- data.tar.gz: 6191e28670fce3448e29aa71b1d348ff9fa033e726101e5e7d67a024bd9592e6
3
+ metadata.gz: 3ecdb659fe529673e571a60a4bbe13dc73c9c6fbe53c950a5c44802f4add29d9
4
+ data.tar.gz: af9ded4069bb54fa19eb779c543f50bb9d8a42a93bcec851503d9c3bafa93909
5
5
  SHA512:
6
- metadata.gz: 164520f8480480fd77846475b8fbe0c71d61b9180564f132835ef7d9a7ca471ab82f6737ca354f7bba0d0c4a4b8fcab5149874c5b8fd4a26bef7fb6aba14e26f
7
- data.tar.gz: 9e4c5bfd50ce5ec2e98efe1a7fbe55316ff640e542035871085bb92903bbd89d55f8ade740a4ae8a470ee066c102a6c5589fe2fbde8e12610548969075627c6b
6
+ metadata.gz: 7cbe0d52f1d866d286860249008f8ecfadad93149f241f3e199ea25d2636330e9ce84682e0f181d7036b7f55d28af1cdd5f6c937ce2bbd9ac8afdddc98ae5655
7
+ data.tar.gz: c2aa1c1e557a956ec9e9e1a5bec99d47999bd0c1738c317caf58edd653431cbbca0ae7c4443938c43c131b9c9e2fe16d4d0e78b5306231125ec31b276d1ddab3
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [3.47.0](https://github.com/algolia/algoliasearch-client-ruby/compare/3.46.1...3.47.0)
2
+
3
+ - [e6d5471f15](https://github.com/algolia/api-clients-automation/commit/e6d5471f15) fix(scripts): avoid swift CTS deadlock when running in docker ([#7146](https://github.com/algolia/api-clients-automation/pull/7146)) by [@Fluf22](https://github.com/Fluf22/)
4
+ - [c2153f09a5](https://github.com/algolia/api-clients-automation/commit/c2153f09a5) fix(specs): remove obsolete index-key copy note ([#7177](https://github.com/algolia/api-clients-automation/pull/7177)) by [@xroche](https://github.com/xroche/)
5
+ - [75e309924e](https://github.com/algolia/api-clients-automation/commit/75e309924e) clients(clients): cache host state only on change ([#7202](https://github.com/algolia/api-clients-automation/pull/7202)) by [@zigzagdev](https://github.com/zigzagdev/)
6
+ - [e7642ce951](https://github.com/algolia/api-clients-automation/commit/e7642ce951) feat(specs): add user metrics to abtesting-v3 timeseries enum ([#7181](https://github.com/algolia/api-clients-automation/pull/7181)) by [@stevenMevans](https://github.com/stevenMevans/)
7
+
1
8
  ## [3.46.1](https://github.com/algolia/algoliasearch-client-ruby/compare/3.46.0...3.46.1)
2
9
 
3
10
  - [f2854eb518](https://github.com/algolia/api-clients-automation/commit/f2854eb518) chore(ci): bump ruby/setup-ruby to v1.329.0 to support Ruby 4.0.7 ([#7142](https://github.com/algolia/api-clients-automation/pull/7142)) by [@Fluf22](https://github.com/Fluf22/)
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- algolia (3.46.1)
4
+ algolia (3.47.0)
5
5
  base64 (>= 0.2.0, < 1)
6
6
  faraday (>= 1.0.1, < 3.0)
7
7
  faraday-net_http_persistent (>= 0.15, < 3)
@@ -553,7 +553,7 @@ module Algolia
553
553
  # @param id [Integer] Unique A/B test identifier. (required)
554
554
  # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
555
555
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
556
- # @param metric [Array<MetricName>] List of metrics to retrieve. If not specified, all metrics are returned.
556
+ # @param metric [Array<MetricName>] Metrics to retrieve, as a comma-separated list. If not specified, all metrics are returned.
557
557
  # @param methods [Array<AnalysisMethod>] Statistical analysis results to include, as a comma-separated list. When omitted, each test uses its configured method, or `frequentist` if no method is configured. Request both methods to include both sets of available results. This doesn't change the test configuration or compute missing results. Duplicate values aren't allowed.
558
558
  # @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)
559
559
  # @return [Http::Response] the response
@@ -574,7 +574,7 @@ module Algolia
574
574
  query_params = {}
575
575
  query_params[:startDate] = start_date unless start_date.nil?
576
576
  query_params[:endDate] = end_date unless end_date.nil?
577
- query_params[:metric] = @api_client.build_collection_param(metric, :multi) unless metric.nil?
577
+ query_params[:metric] = @api_client.build_collection_param(metric, :csv) unless metric.nil?
578
578
  query_params[:methods] = @api_client.build_collection_param(methods, :csv) unless methods.nil?
579
579
  query_params = query_params.merge(request_options[:query_params]) unless request_options[:query_params].nil?
580
580
  header_params = {}
@@ -600,7 +600,7 @@ module Algolia
600
600
  # @param id [Integer] Unique A/B test identifier. (required)
601
601
  # @param start_date [String] Start date of the period to analyze, in `YYYY-MM-DD` format.
602
602
  # @param end_date [String] End date of the period to analyze, in `YYYY-MM-DD` format.
603
- # @param metric [Array<MetricName>] List of metrics to retrieve. If not specified, all metrics are returned.
603
+ # @param metric [Array<MetricName>] Metrics to retrieve, as a comma-separated list. If not specified, all metrics are returned.
604
604
  # @param methods [Array<AnalysisMethod>] Statistical analysis results to include, as a comma-separated list. When omitted, each test uses its configured method, or `frequentist` if no method is configured. Request both methods to include both sets of available results. This doesn't change the test configuration or compute missing results. Duplicate values aren't allowed.
605
605
  # @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)
606
606
  # @return [Timeseries]
@@ -2242,7 +2242,7 @@ module Algolia
2242
2242
  @api_client.deserialize(response.body, request_options[:debug_return_type] || "Search::MultipleBatchResponse")
2243
2243
  end
2244
2244
 
2245
- # Copies or moves (renames) an index within the same Algolia application. Notes: - Existing destination indices are overwritten, except for their analytics data. - If the destination index doesn't exist yet, it's created. - This operation is resource-intensive. **Copy** - If the source index doesn't exist, copying creates a new index with 0 records and default settings. - API keys from the source index are merged with the existing keys in the destination index. - You can't copy the `enableReRanking`, `mode`, and `replicas` settings. - You can't copy to a destination index that already has replicas. - Be aware of the [size limits](https://www.algolia.com/doc/guides/scaling/algolia-service-limits/#application-record-and-index-limits). - For more information, see [Copy indices](https://www.algolia.com/doc/guides/sending-and-managing-data/manage-indices-and-apps/manage-indices/how-to/copy-indices). **Move** - If the source index doesn't exist, moving is ignored without returning an error. - When moving an index, the analytics data keeps its original name, and a new set of analytics data is started for the new name. To access the original analytics in the dashboard, create an index with the original name. - If the destination index has replicas, moving will overwrite the existing index and copy the data to the replica indices. - For more information, see [Move indices](https://www.algolia.com/doc/guides/sending-and-managing-data/manage-indices-and-apps/manage-indices/how-to/move-indices). This operation is subject to [indexing rate limits](https://support.algolia.com/hc/articles/4406975251089-Is-there-a-rate-limit-for-indexing-on-Algolia).
2245
+ # Copies or moves (renames) an index within the same Algolia application. Notes: - Existing destination indices are overwritten, except for their analytics data. - If the destination index doesn't exist yet, it's created. - This operation is resource-intensive. **Copy** - If the source index doesn't exist, copying creates a new index with 0 records and default settings. - You can't copy the `enableReRanking`, `mode`, and `replicas` settings. - You can't copy to a destination index that already has replicas. - Be aware of the [size limits](https://www.algolia.com/doc/guides/scaling/algolia-service-limits/#application-record-and-index-limits). - For more information, see [Copy indices](https://www.algolia.com/doc/guides/sending-and-managing-data/manage-indices-and-apps/manage-indices/how-to/copy-indices). **Move** - If the source index doesn't exist, moving is ignored without returning an error. - When moving an index, the analytics data keeps its original name, and a new set of analytics data is started for the new name. To access the original analytics in the dashboard, create an index with the original name. - If the destination index has replicas, moving will overwrite the existing index and copy the data to the replica indices. - For more information, see [Move indices](https://www.algolia.com/doc/guides/sending-and-managing-data/manage-indices-and-apps/manage-indices/how-to/move-indices). This operation is subject to [indexing rate limits](https://support.algolia.com/hc/articles/4406975251089-Is-there-a-rate-limit-for-indexing-on-Algolia).
2246
2246
  #
2247
2247
  # Required API Key ACLs:
2248
2248
  # - addObject
@@ -2283,7 +2283,7 @@ module Algolia
2283
2283
  @api_client.call_api(:POST, path, new_options)
2284
2284
  end
2285
2285
 
2286
- # Copies or moves (renames) an index within the same Algolia application. Notes: - Existing destination indices are overwritten, except for their analytics data. - If the destination index doesn't exist yet, it's created. - This operation is resource-intensive. **Copy** - If the source index doesn't exist, copying creates a new index with 0 records and default settings. - API keys from the source index are merged with the existing keys in the destination index. - You can't copy the `enableReRanking`, `mode`, and `replicas` settings. - You can't copy to a destination index that already has replicas. - Be aware of the [size limits](https://www.algolia.com/doc/guides/scaling/algolia-service-limits/#application-record-and-index-limits). - For more information, see [Copy indices](https://www.algolia.com/doc/guides/sending-and-managing-data/manage-indices-and-apps/manage-indices/how-to/copy-indices). **Move** - If the source index doesn't exist, moving is ignored without returning an error. - When moving an index, the analytics data keeps its original name, and a new set of analytics data is started for the new name. To access the original analytics in the dashboard, create an index with the original name. - If the destination index has replicas, moving will overwrite the existing index and copy the data to the replica indices. - For more information, see [Move indices](https://www.algolia.com/doc/guides/sending-and-managing-data/manage-indices-and-apps/manage-indices/how-to/move-indices). This operation is subject to [indexing rate limits](https://support.algolia.com/hc/articles/4406975251089-Is-there-a-rate-limit-for-indexing-on-Algolia).
2286
+ # Copies or moves (renames) an index within the same Algolia application. Notes: - Existing destination indices are overwritten, except for their analytics data. - If the destination index doesn't exist yet, it's created. - This operation is resource-intensive. **Copy** - If the source index doesn't exist, copying creates a new index with 0 records and default settings. - You can't copy the `enableReRanking`, `mode`, and `replicas` settings. - You can't copy to a destination index that already has replicas. - Be aware of the [size limits](https://www.algolia.com/doc/guides/scaling/algolia-service-limits/#application-record-and-index-limits). - For more information, see [Copy indices](https://www.algolia.com/doc/guides/sending-and-managing-data/manage-indices-and-apps/manage-indices/how-to/copy-indices). **Move** - If the source index doesn't exist, moving is ignored without returning an error. - When moving an index, the analytics data keeps its original name, and a new set of analytics data is started for the new name. To access the original analytics in the dashboard, create an index with the original name. - If the destination index has replicas, moving will overwrite the existing index and copy the data to the replica indices. - For more information, see [Move indices](https://www.algolia.com/doc/guides/sending-and-managing-data/manage-indices-and-apps/manage-indices/how-to/move-indices). This operation is subject to [indexing rate limits](https://support.algolia.com/hc/articles/4406975251089-Is-there-a-rate-limit-for-indexing-on-Algolia).
2287
2287
  #
2288
2288
  # Required API Key ACLs:
2289
2289
  # - addObject
@@ -13,9 +13,23 @@ module Algolia
13
13
  CONVERSION_RATE = "conversionRate".freeze
14
14
  PURCHASE_RATE = "purchaseRate".freeze
15
15
  NO_RESULTS_RATE = "noResultsRate".freeze
16
+ ADD_TO_CART_USERS_RATE = "addToCartUsersRate".freeze
17
+ CLICKED_USERS_RATE = "clickedUsersRate".freeze
18
+ CONVERTED_USERS_RATE = "convertedUsersRate".freeze
19
+ PURCHASE_USERS_RATE = "purchaseUsersRate".freeze
16
20
 
17
21
  def self.all_vars
18
- @all_vars ||= [ADD_TO_CART_RATE, CLICK_THROUGH_RATE, CONVERSION_RATE, PURCHASE_RATE, NO_RESULTS_RATE].freeze
22
+ @all_vars ||= [
23
+ ADD_TO_CART_RATE,
24
+ CLICK_THROUGH_RATE,
25
+ CONVERSION_RATE,
26
+ PURCHASE_RATE,
27
+ NO_RESULTS_RATE,
28
+ ADD_TO_CART_USERS_RATE,
29
+ CLICKED_USERS_RATE,
30
+ CONVERTED_USERS_RATE,
31
+ PURCHASE_USERS_RATE
32
+ ].freeze
19
33
  end
20
34
 
21
35
  # Builds the enum from string
@@ -11,7 +11,7 @@ module Algolia
11
11
  # Estimated number of days needed to reach the sample sizes required for detecting the configured effect. This value is based on historical traffic.
12
12
  attr_accessor :duration_days
13
13
 
14
- # Sample size estimates for each variant. The first element is the control variant. Each element is the estimated number of searches required to achieve the desired statistical significance.
14
+ # Sample size estimates for each variant. The first element is the control variant. Each element is the estimated number of searches, or users for user-level rates (metrics ending in `UsersRate`), required to achieve the desired statistical significance.
15
15
  attr_accessor :sample_sizes
16
16
 
17
17
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -26,6 +26,22 @@ module Algolia
26
26
  REVENUE = "revenue".freeze
27
27
  REVENUE_PER_SEARCH = "revenue_per_search".freeze
28
28
  AVERAGE_ORDER_VALUE = "average_order_value".freeze
29
+ CLICKED_USERS_COUNT = "clicked_users_count".freeze
30
+ CONVERTED_USERS_COUNT = "converted_users_count".freeze
31
+ ADD_TO_CART_USERS_COUNT = "add_to_cart_users_count".freeze
32
+ PURCHASE_USERS_COUNT = "purchase_users_count".freeze
33
+ USERS_WITH_NO_RESULTS_COUNT = "users_with_no_results_count".freeze
34
+ CLICKED_USERS_RATE = "clicked_users_rate".freeze
35
+ CONVERTED_USERS_RATE = "converted_users_rate".freeze
36
+ ADD_TO_CART_USERS_RATE = "add_to_cart_users_rate".freeze
37
+ PURCHASE_USERS_RATE = "purchase_users_rate".freeze
38
+ AVG_CLICK_THROUGH_RATE_PER_USER = "avg_click_through_rate_per_user".freeze
39
+ AVG_CONVERSION_RATE_PER_USER = "avg_conversion_rate_per_user".freeze
40
+ AVG_PURCHASE_RATE_PER_USER = "avg_purchase_rate_per_user".freeze
41
+ AVG_ADD_TO_CART_RATE_PER_USER = "avg_add_to_cart_rate_per_user".freeze
42
+ AVG_CLICK_POSITION_PER_USER = "avg_click_position_per_user".freeze
43
+ WINSORIZED_REVENUE_PER_USER = "winsorized_revenue_per_user".freeze
44
+ WINSORIZED_REVENUE_PER_PURCHASER = "winsorized_revenue_per_purchaser".freeze
29
45
 
30
46
  def self.all_vars
31
47
  @all_vars ||= [
@@ -46,7 +62,23 @@ module Algolia
46
62
  AVERAGE_CLICK_POSITION,
47
63
  REVENUE,
48
64
  REVENUE_PER_SEARCH,
49
- AVERAGE_ORDER_VALUE
65
+ AVERAGE_ORDER_VALUE,
66
+ CLICKED_USERS_COUNT,
67
+ CONVERTED_USERS_COUNT,
68
+ ADD_TO_CART_USERS_COUNT,
69
+ PURCHASE_USERS_COUNT,
70
+ USERS_WITH_NO_RESULTS_COUNT,
71
+ CLICKED_USERS_RATE,
72
+ CONVERTED_USERS_RATE,
73
+ ADD_TO_CART_USERS_RATE,
74
+ PURCHASE_USERS_RATE,
75
+ AVG_CLICK_THROUGH_RATE_PER_USER,
76
+ AVG_CONVERSION_RATE_PER_USER,
77
+ AVG_PURCHASE_RATE_PER_USER,
78
+ AVG_ADD_TO_CART_RATE_PER_USER,
79
+ AVG_CLICK_POSITION_PER_USER,
80
+ WINSORIZED_REVENUE_PER_USER,
81
+ WINSORIZED_REVENUE_PER_PURCHASER
50
82
  ].freeze
51
83
  end
52
84
 
@@ -13,9 +13,23 @@ module Algolia
13
13
  CONVERSION_RATE = "conversion_rate".freeze
14
14
  PURCHASE_RATE = "purchase_rate".freeze
15
15
  REVENUE_PER_SEARCH = "revenue_per_search".freeze
16
+ ADD_TO_CART_USERS_RATE = "add_to_cart_users_rate".freeze
17
+ CLICKED_USERS_RATE = "clicked_users_rate".freeze
18
+ CONVERTED_USERS_RATE = "converted_users_rate".freeze
19
+ PURCHASE_USERS_RATE = "purchase_users_rate".freeze
16
20
 
17
21
  def self.all_vars
18
- @all_vars ||= [ADD_TO_CART_RATE, CLICK_THROUGH_RATE, CONVERSION_RATE, PURCHASE_RATE, REVENUE_PER_SEARCH].freeze
22
+ @all_vars ||= [
23
+ ADD_TO_CART_RATE,
24
+ CLICK_THROUGH_RATE,
25
+ CONVERSION_RATE,
26
+ PURCHASE_RATE,
27
+ REVENUE_PER_SEARCH,
28
+ ADD_TO_CART_USERS_RATE,
29
+ CLICKED_USERS_RATE,
30
+ CONVERTED_USERS_RATE,
31
+ PURCHASE_USERS_RATE
32
+ ].freeze
19
33
  end
20
34
 
21
35
  # Builds the enum from string
@@ -11,7 +11,7 @@ module Algolia
11
11
  # Description for this variant.
12
12
  attr_accessor :description
13
13
 
14
- # Estimated number of searches required to achieve the desired statistical significance. The A/B test configuration must include a `minimumDetectableEffect` setting for this number to be included in the response.
14
+ # Estimated number of searches, or users for user-level rates (metrics ending in `UsersRate`), required to achieve the desired statistical significance. The A/B test configuration must include a `minimumDetectableEffect` setting for this number to be included in the response.
15
15
  attr_accessor :estimated_sample_size
16
16
 
17
17
  # Index name of the A/B test variant (case-sensitive).
@@ -7,7 +7,7 @@ require "time"
7
7
 
8
8
  module Algolia
9
9
  module Search
10
- # Key-value pairs of [supported language ISO codes](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/supported-languages) and boolean values.
10
+ # Turn off the built-in Algolia stop words for specific languages. Only `stopwords` is supported. The keys of the `stopwords` object are [language ISO codes](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/supported-languages) of languages with a built-in stop-word dictionary.
11
11
  class StandardEntries
12
12
  # Key-value pair of a language ISO code and a boolean value.
13
13
  attr_accessor :plurals
@@ -3,5 +3,5 @@
3
3
  # 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.
4
4
 
5
5
  module Algolia
6
- VERSION = "3.46.1"
6
+ VERSION = "3.47.0"
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: algolia
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.46.1
4
+ version: 3.47.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - https://alg.li/support