algolia 3.20.0 → 3.21.1

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: 4bfa2f37069351ff91381e8a201051bf60a7a24a2cfde63be59ada18a776e452
4
- data.tar.gz: 1aee42e21b7b2624c16389be504b81db3c9950cf0c3bc05273f5f92f0639f176
3
+ metadata.gz: 5a5e39d35817a8422093311ebd458f87bba18346808a138a8b45ca3ca86917c1
4
+ data.tar.gz: 5407640c35307096179c4b3ff1c5875bd8d62b19d2d64fb51ae250fd6be8046c
5
5
  SHA512:
6
- metadata.gz: f5e1d09eb9e986e760f099987b63af8e652110c5b9d8d4ac12ee7b695d4029377b5e4bb8cd785dd046c013cc454ab352c1adf966b0e6c78287c092d0ef6918b0
7
- data.tar.gz: ebec72090065dd7379f5e768e8ccb4e2e9fa1e63a1aafdfaedf73448b28dc3722bf60eee81192b3771ae94a3fc3c77ebd53f4803208a5c97fe6ba6c4b1345329
6
+ metadata.gz: 3a107416244b5e4cac43ad07c3f6605f31ceab1c8bec776e373ad760a189cd5eb463708b6500b76cb70d71d4bcde74af46f2a0d0bf244231784d2c0c5b01f351
7
+ data.tar.gz: 11e88b59830fd81a37d7b8a2e0f832b85824c792e5539e6877927c66eea86184e87f3351c3ca09bdd3bb5d90acbda29f7e5c9edb8c0211610b2780c69a4ef87b
data/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## [3.21.1](https://github.com/algolia/algoliasearch-client-ruby/compare/3.21.0...3.21.1)
2
+
3
+ - [4c9416a9fe](https://github.com/algolia/api-clients-automation/commit/4c9416a9fe) fix(specs): update sourceRun docs ([#5057](https://github.com/algolia/api-clients-automation/pull/5057)) by [@DevinCodes](https://github.com/DevinCodes/)
4
+ - [754efceb80](https://github.com/algolia/api-clients-automation/commit/754efceb80) fix(specs): allow one sided rule validity ([#5060](https://github.com/algolia/api-clients-automation/pull/5060)) by [@millotp](https://github.com/millotp/)
5
+
6
+ ## [3.21.0](https://github.com/algolia/algoliasearch-client-ruby/compare/3.20.0...3.21.0)
7
+
8
+ - [791a0c045d](https://github.com/algolia/api-clients-automation/commit/791a0c045d) feat(specs): abtesting winsorizedAmount ([#5053](https://github.com/algolia/api-clients-automation/pull/5053)) by [@cdhawke](https://github.com/cdhawke/)
9
+
1
10
  ## [3.20.0](https://github.com/algolia/algoliasearch-client-ruby/compare/3.19.0...3.20.0)
2
11
 
3
12
  - [a2ebbf496c](https://github.com/algolia/api-clients-automation/commit/a2ebbf496c) feat(clients): add `replaceAllObjectsWithTransformation` ([#5008](https://github.com/algolia/api-clients-automation/pull/5008)) by [@shortcuts](https://github.com/shortcuts/)
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- algolia (3.20.0)
4
+ algolia (3.21.1)
5
5
  base64 (>= 0.2.0, < 1)
6
6
  faraday (>= 1.0.1, < 3.0)
7
7
  faraday-net_http_persistent (>= 0.15, < 3)
@@ -2265,7 +2265,7 @@ module Algolia
2265
2265
  @api_client.deserialize(response.body, request_options[:debug_return_type] || "Ingestion::WatchResponse")
2266
2266
  end
2267
2267
 
2268
- # Runs all tasks linked to a source, only available for Shopify sources. It will create 1 run per task.
2268
+ # Runs all tasks linked to a source, only available for Shopify, BigCommerce and commercetools sources. Creates one run per task.
2269
2269
  #
2270
2270
  # Required API Key ACLs:
2271
2271
  # - addObject
@@ -2300,7 +2300,7 @@ module Algolia
2300
2300
  @api_client.call_api(:POST, path, new_options)
2301
2301
  end
2302
2302
 
2303
- # Runs all tasks linked to a source, only available for Shopify sources. It will create 1 run per task.
2303
+ # Runs all tasks linked to a source, only available for Shopify, BigCommerce and commercetools sources. Creates one run per task.
2304
2304
  #
2305
2305
  # Required API Key ACLs:
2306
2306
  # - addObject
@@ -20,13 +20,17 @@ module Algolia
20
20
  # Standard deviation for this currency.
21
21
  attr_accessor :standard_deviation
22
22
 
23
+ # The amount of revenue for this currency that was removed after capping purchase amounts to the 95th percentile.
24
+ attr_accessor :winsorized_amount
25
+
23
26
  # Attribute mapping from ruby-style variable name to JSON key.
24
27
  def self.attribute_map
25
28
  {
26
29
  :currency => :currency,
27
30
  :revenue => :revenue,
28
31
  :mean => :mean,
29
- :standard_deviation => :standardDeviation
32
+ :standard_deviation => :standardDeviation,
33
+ :winsorized_amount => :winsorizedAmount
30
34
  }
31
35
  end
32
36
 
@@ -36,7 +40,8 @@ module Algolia
36
40
  :currency => :"String",
37
41
  :revenue => :"Float",
38
42
  :mean => :"Float",
39
- :standard_deviation => :"Float"
43
+ :standard_deviation => :"Float",
44
+ :winsorized_amount => :"Float"
40
45
  }
41
46
  end
42
47
 
@@ -82,6 +87,10 @@ module Algolia
82
87
  if attributes.key?(:standard_deviation)
83
88
  self.standard_deviation = attributes[:standard_deviation]
84
89
  end
90
+
91
+ if attributes.key?(:winsorized_amount)
92
+ self.winsorized_amount = attributes[:winsorized_amount]
93
+ end
85
94
  end
86
95
 
87
96
  # Checks equality by comparing each attribute.
@@ -92,7 +101,8 @@ module Algolia
92
101
  currency == other.currency &&
93
102
  revenue == other.revenue &&
94
103
  mean == other.mean &&
95
- standard_deviation == other.standard_deviation
104
+ standard_deviation == other.standard_deviation &&
105
+ winsorized_amount == other.winsorized_amount
96
106
  end
97
107
 
98
108
  # @see the `==` method
@@ -104,7 +114,7 @@ module Algolia
104
114
  # Calculates hash code according to all attributes.
105
115
  # @return [Integer] Hash code
106
116
  def hash
107
- [currency, revenue, mean, standard_deviation].hash
117
+ [currency, revenue, mean, standard_deviation, winsorized_amount].hash
108
118
  end
109
119
 
110
120
  # Builds the object from hash
@@ -8,13 +8,13 @@ require "time"
8
8
  module Algolia
9
9
  module Ingestion
10
10
  class RunSourcePayload
11
- # List of index names to include in reidexing/update.
11
+ # List of index names to include in reindex/update.
12
12
  attr_accessor :index_to_include
13
13
 
14
- # List of index names to exclude in reidexing/update.
14
+ # List of index names to exclude in reindex/update.
15
15
  attr_accessor :index_to_exclude
16
16
 
17
- # List of entityID to update.
17
+ # List of entityIDs to update.
18
18
  attr_accessor :entity_ids
19
19
 
20
20
  attr_accessor :entity_type
@@ -62,14 +62,10 @@ module Algolia
62
62
 
63
63
  if attributes.key?(:from)
64
64
  self.from = attributes[:from]
65
- else
66
- self.from = nil
67
65
  end
68
66
 
69
67
  if attributes.key?(:_until)
70
68
  self._until = attributes[:_until]
71
- else
72
- self._until = nil
73
69
  end
74
70
  end
75
71
 
@@ -62,14 +62,10 @@ module Algolia
62
62
 
63
63
  if attributes.key?(:from)
64
64
  self.from = attributes[:from]
65
- else
66
- self.from = nil
67
65
  end
68
66
 
69
67
  if attributes.key?(:_until)
70
68
  self._until = attributes[:_until]
71
- else
72
- self._until = nil
73
69
  end
74
70
  end
75
71
 
@@ -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.20.0"
6
+ VERSION = "3.21.1"
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.20.0
4
+ version: 3.21.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - https://alg.li/support