algolia 3.25.0 → 3.26.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 +4 -4
- data/.github/workflows/issue.yml +1 -1
- data/.github/workflows/release.yml +1 -1
- data/CHANGELOG.md +10 -0
- data/Gemfile.lock +1 -1
- data/lib/algolia/api/composition_client.rb +765 -0
- data/lib/algolia/api/ingestion_client.rb +15 -4
- data/lib/algolia/api/search_client.rb +4 -2
- data/lib/algolia/models/composition/action.rb +34 -0
- data/lib/algolia/models/composition/advanced_syntax_features.rb +34 -0
- data/lib/algolia/models/composition/alternatives_as_exact.rb +36 -0
- data/lib/algolia/models/composition/anchoring.rb +36 -0
- data/lib/algolia/models/composition/base_injection_query_parameters.rb +732 -0
- data/lib/algolia/models/composition/batch_composition_action.rb +109 -0
- data/lib/algolia/models/composition/batch_params.rb +213 -0
- data/lib/algolia/models/composition/boolean_string.rb +34 -0
- data/lib/algolia/models/composition/composition.rb +244 -0
- data/lib/algolia/models/composition/composition_behavior.rb +210 -0
- data/lib/algolia/models/composition/composition_rule.rb +280 -0
- data/lib/algolia/models/composition/composition_rule_consequence.rb +211 -0
- data/lib/algolia/models/composition/composition_rules_batch_params.rb +211 -0
- data/lib/algolia/models/composition/composition_source.rb +210 -0
- data/lib/algolia/models/composition/composition_source_search.rb +220 -0
- data/lib/algolia/models/composition/condition.rb +238 -0
- data/lib/algolia/models/composition/delete_composition_action.rb +212 -0
- data/lib/algolia/models/composition/delete_composition_rule_action.rb +212 -0
- data/lib/algolia/models/composition/distinct.rb +110 -0
- data/lib/algolia/models/composition/exact_on_single_word_query.rb +35 -0
- data/lib/algolia/models/composition/external.rb +226 -0
- data/lib/algolia/models/composition/external_ordering.rb +34 -0
- data/lib/algolia/models/composition/external_source.rb +211 -0
- data/lib/algolia/models/composition/get_task_response.rb +210 -0
- data/lib/algolia/models/composition/ignore_plurals.rb +111 -0
- data/lib/algolia/models/composition/injected_item.rb +253 -0
- data/lib/algolia/models/composition/injected_item_hits_metadata.rb +222 -0
- data/lib/algolia/models/composition/injected_item_metadata.rb +209 -0
- data/lib/algolia/models/composition/injected_item_source.rb +109 -0
- data/lib/algolia/models/composition/injection.rb +222 -0
- data/lib/algolia/models/composition/list_compositions_response.rb +261 -0
- data/lib/algolia/models/composition/main.rb +207 -0
- data/lib/algolia/models/composition/main_injection_query_parameters.rb +807 -0
- data/lib/algolia/models/composition/multiple_batch_request.rb +221 -0
- data/lib/algolia/models/composition/multiple_batch_response.rb +213 -0
- data/lib/algolia/models/composition/optional_words.rb +110 -0
- data/lib/algolia/models/composition/query_type.rb +35 -0
- data/lib/algolia/models/composition/remove_stop_words.rb +110 -0
- data/lib/algolia/models/composition/remove_words_if_no_results.rb +36 -0
- data/lib/algolia/models/composition/rules_batch_composition_action.rb +109 -0
- data/lib/algolia/models/composition/rules_multiple_batch_request.rb +221 -0
- data/lib/algolia/models/composition/rules_multiple_batch_response.rb +211 -0
- data/lib/algolia/models/composition/search.rb +217 -0
- data/lib/algolia/models/composition/search_composition_rules_params.rb +261 -0
- data/lib/algolia/models/composition/search_composition_rules_response.rb +249 -0
- data/lib/algolia/models/composition/search_source.rb +211 -0
- data/lib/algolia/models/composition/task_id_response.rb +211 -0
- data/lib/algolia/models/composition/task_status.rb +34 -0
- data/lib/algolia/models/composition/time_range.rb +219 -0
- data/lib/algolia/models/composition/typo_tolerance.rb +110 -0
- data/lib/algolia/models/composition/typo_tolerance_enum.rb +36 -0
- data/lib/algolia/version.rb +1 -1
- metadata +52 -1
@@ -0,0 +1,219 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
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
|
+
|
5
|
+
require "date"
|
6
|
+
require "time"
|
7
|
+
|
8
|
+
module Algolia
|
9
|
+
module Composition
|
10
|
+
class TimeRange
|
11
|
+
# When the rule should start to be active, in Unix epoch time.
|
12
|
+
attr_accessor :from
|
13
|
+
|
14
|
+
# When the rule should stop to be active, in Unix epoch time.
|
15
|
+
attr_accessor :_until
|
16
|
+
|
17
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
18
|
+
def self.attribute_map
|
19
|
+
{
|
20
|
+
:from => :from,
|
21
|
+
:_until => :until
|
22
|
+
}
|
23
|
+
end
|
24
|
+
|
25
|
+
# Attribute type mapping.
|
26
|
+
def self.types_mapping
|
27
|
+
{
|
28
|
+
:from => :"Integer",
|
29
|
+
:_until => :"Integer"
|
30
|
+
}
|
31
|
+
end
|
32
|
+
|
33
|
+
# List of attributes with nullable: true
|
34
|
+
def self.openapi_nullable
|
35
|
+
Set.new(
|
36
|
+
[]
|
37
|
+
)
|
38
|
+
end
|
39
|
+
|
40
|
+
# Initializes the object
|
41
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
42
|
+
def initialize(attributes = {})
|
43
|
+
if (!attributes.is_a?(Hash))
|
44
|
+
raise(
|
45
|
+
ArgumentError,
|
46
|
+
"The input argument (attributes) must be a hash in `Algolia::TimeRange` initialize method"
|
47
|
+
)
|
48
|
+
end
|
49
|
+
|
50
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
51
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
52
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
53
|
+
raise(
|
54
|
+
ArgumentError,
|
55
|
+
"`#{k}` is not a valid attribute in `Algolia::TimeRange`. Please check the name to make sure it's valid. List of attributes: " +
|
56
|
+
self.class.attribute_map.keys.inspect
|
57
|
+
)
|
58
|
+
end
|
59
|
+
|
60
|
+
h[k.to_sym] = v
|
61
|
+
}
|
62
|
+
|
63
|
+
if attributes.key?(:from)
|
64
|
+
self.from = attributes[:from]
|
65
|
+
end
|
66
|
+
|
67
|
+
if attributes.key?(:_until)
|
68
|
+
self._until = attributes[:_until]
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
72
|
+
# Checks equality by comparing each attribute.
|
73
|
+
# @param [Object] Object to be compared
|
74
|
+
def ==(other)
|
75
|
+
return true if self.equal?(other)
|
76
|
+
self.class == other.class &&
|
77
|
+
from == other.from &&
|
78
|
+
_until == other._until
|
79
|
+
end
|
80
|
+
|
81
|
+
# @see the `==` method
|
82
|
+
# @param [Object] Object to be compared
|
83
|
+
def eql?(other)
|
84
|
+
self == other
|
85
|
+
end
|
86
|
+
|
87
|
+
# Calculates hash code according to all attributes.
|
88
|
+
# @return [Integer] Hash code
|
89
|
+
def hash
|
90
|
+
[from, _until].hash
|
91
|
+
end
|
92
|
+
|
93
|
+
# Builds the object from hash
|
94
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
95
|
+
# @return [Object] Returns the model itself
|
96
|
+
def self.build_from_hash(attributes)
|
97
|
+
return nil unless attributes.is_a?(Hash)
|
98
|
+
attributes = attributes.transform_keys(&:to_sym)
|
99
|
+
transformed_hash = {}
|
100
|
+
types_mapping.each_pair do |key, type|
|
101
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
102
|
+
transformed_hash[key.to_sym] = nil
|
103
|
+
elsif type =~ /\AArray<(.*)>/i
|
104
|
+
# check to ensure the input is an array given that the attribute
|
105
|
+
# is documented as an array but the input is not
|
106
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
107
|
+
transformed_hash[key.to_sym] = attributes[attribute_map[key]].map { |v|
|
108
|
+
_deserialize(::Regexp.last_match(1), v)
|
109
|
+
}
|
110
|
+
end
|
111
|
+
elsif !attributes[attribute_map[key]].nil?
|
112
|
+
transformed_hash[key.to_sym] = _deserialize(type, attributes[attribute_map[key]])
|
113
|
+
end
|
114
|
+
end
|
115
|
+
|
116
|
+
new(transformed_hash)
|
117
|
+
end
|
118
|
+
|
119
|
+
# Deserializes the data based on type
|
120
|
+
# @param string type Data type
|
121
|
+
# @param string value Value to be deserialized
|
122
|
+
# @return [Object] Deserialized data
|
123
|
+
def self._deserialize(type, value)
|
124
|
+
case type.to_sym
|
125
|
+
when :Time
|
126
|
+
Time.parse(value)
|
127
|
+
when :Date
|
128
|
+
Date.parse(value)
|
129
|
+
when :String
|
130
|
+
value.to_s
|
131
|
+
when :Integer
|
132
|
+
value.to_i
|
133
|
+
when :Float
|
134
|
+
value.to_f
|
135
|
+
when :Boolean
|
136
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
137
|
+
true
|
138
|
+
else
|
139
|
+
false
|
140
|
+
end
|
141
|
+
|
142
|
+
when :Object
|
143
|
+
# generic object (usually a Hash), return directly
|
144
|
+
value
|
145
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
146
|
+
inner_type = Regexp.last_match[:inner_type]
|
147
|
+
value.map { |v| _deserialize(inner_type, v) }
|
148
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
149
|
+
k_type = Regexp.last_match[:k_type]
|
150
|
+
v_type = Regexp.last_match[:v_type]
|
151
|
+
{}.tap do |hash|
|
152
|
+
value.each do |k, v|
|
153
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
154
|
+
end
|
155
|
+
end
|
156
|
+
# model
|
157
|
+
else
|
158
|
+
# models (e.g. Pet) or oneOf
|
159
|
+
klass = Algolia::Composition.const_get(type)
|
160
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass
|
161
|
+
.build_from_hash(value)
|
162
|
+
end
|
163
|
+
end
|
164
|
+
|
165
|
+
# Returns the string representation of the object
|
166
|
+
# @return [String] String presentation of the object
|
167
|
+
def to_s
|
168
|
+
to_hash.to_s
|
169
|
+
end
|
170
|
+
|
171
|
+
# to_body is an alias to to_hash (backward compatibility)
|
172
|
+
# @return [Hash] Returns the object in the form of hash
|
173
|
+
def to_body
|
174
|
+
to_hash
|
175
|
+
end
|
176
|
+
|
177
|
+
def to_json(*_args)
|
178
|
+
to_hash.to_json
|
179
|
+
end
|
180
|
+
|
181
|
+
# Returns the object in the form of hash
|
182
|
+
# @return [Hash] Returns the object in the form of hash
|
183
|
+
def to_hash
|
184
|
+
hash = {}
|
185
|
+
self.class.attribute_map.each_pair do |attr, param|
|
186
|
+
value = send(attr)
|
187
|
+
if value.nil?
|
188
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
189
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
190
|
+
end
|
191
|
+
|
192
|
+
hash[param] = _to_hash(value)
|
193
|
+
end
|
194
|
+
|
195
|
+
hash
|
196
|
+
end
|
197
|
+
|
198
|
+
# Outputs non-array value in the form of hash
|
199
|
+
# For object, use to_hash. Otherwise, just return the value
|
200
|
+
# @param [Object] value Any valid value
|
201
|
+
# @return [Hash] Returns the value in the form of hash
|
202
|
+
def _to_hash(value)
|
203
|
+
if value.is_a?(Array)
|
204
|
+
value.compact.map { |v| _to_hash(v) }
|
205
|
+
elsif value.is_a?(Hash)
|
206
|
+
{}.tap do |hash|
|
207
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
208
|
+
end
|
209
|
+
elsif value.respond_to?(:to_hash)
|
210
|
+
value.to_hash
|
211
|
+
else
|
212
|
+
value
|
213
|
+
end
|
214
|
+
end
|
215
|
+
|
216
|
+
end
|
217
|
+
|
218
|
+
end
|
219
|
+
end
|
@@ -0,0 +1,110 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
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
|
+
|
5
|
+
require "date"
|
6
|
+
require "time"
|
7
|
+
|
8
|
+
module Algolia
|
9
|
+
module Composition
|
10
|
+
# Whether [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/) is enabled and how it is applied. If typo tolerance is true, `min`, or `strict`, [word splitting and concatenation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/splitting-and-concatenation/) are also active.
|
11
|
+
module TypoTolerance
|
12
|
+
class << self
|
13
|
+
# List of class defined in oneOf (OpenAPI v3)
|
14
|
+
def openapi_one_of
|
15
|
+
[
|
16
|
+
:"Boolean",
|
17
|
+
:"TypoToleranceEnum"
|
18
|
+
]
|
19
|
+
end
|
20
|
+
|
21
|
+
# Builds the object
|
22
|
+
# @param [Mixed] Data to be matched against the list of oneOf items
|
23
|
+
# @return [Object] Returns the model or the data itself
|
24
|
+
def build(data)
|
25
|
+
# Go through the list of oneOf items and attempt to identify the appropriate one.
|
26
|
+
# Note:
|
27
|
+
# - We do not attempt to check whether exactly one item matches.
|
28
|
+
# - No advanced validation of types in some cases (e.g. "x: { type: string }" will happily match { x: 123 })
|
29
|
+
# due to the way the deserialization is made in the base_object template (it just casts without verifying).
|
30
|
+
# - TODO: scalar values are de facto behaving as if they were nullable.
|
31
|
+
# - TODO: logging when debugging is set.
|
32
|
+
openapi_one_of.each do |klass|
|
33
|
+
begin
|
34
|
+
# "nullable: true"
|
35
|
+
next if klass == :AnyType
|
36
|
+
typed_data = find_and_cast_into_type(klass, data)
|
37
|
+
return typed_data if typed_data
|
38
|
+
# rescue all errors so we keep iterating even if the current item lookup raises
|
39
|
+
rescue
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
openapi_one_of.include?(:AnyType) ? data : nil
|
44
|
+
end
|
45
|
+
|
46
|
+
private
|
47
|
+
|
48
|
+
SchemaMismatchError = Class.new(StandardError)
|
49
|
+
|
50
|
+
def find_and_cast_into_type(klass, data)
|
51
|
+
return if data.nil?
|
52
|
+
|
53
|
+
case klass.to_s
|
54
|
+
when "Boolean"
|
55
|
+
return data if data.instance_of?(TrueClass) || data.instance_of?(FalseClass)
|
56
|
+
when "Float"
|
57
|
+
return data if data.instance_of?(Float)
|
58
|
+
when "Integer"
|
59
|
+
return data if data.instance_of?(Integer)
|
60
|
+
when "Time"
|
61
|
+
return Time.parse(data)
|
62
|
+
when "Date"
|
63
|
+
return Date.parse(data)
|
64
|
+
when "String"
|
65
|
+
return data if data.instance_of?(String)
|
66
|
+
# "type: object"
|
67
|
+
when "Object"
|
68
|
+
return data if data.instance_of?(Hash)
|
69
|
+
# "type: array"
|
70
|
+
when /\AArray<(?<sub_type>.+)>\z/
|
71
|
+
if data.instance_of?(Array)
|
72
|
+
sub_type = Regexp.last_match[:sub_type]
|
73
|
+
return data.map { |item| find_and_cast_into_type(sub_type, item) }
|
74
|
+
end
|
75
|
+
# "type: object" with "additionalProperties: { ... }"
|
76
|
+
when /\AHash<String, (?<sub_type>.+)>\z/
|
77
|
+
if data.instance_of?(Hash) && data.keys.all? { |k| k.instance_of?(Symbol) || k.instance_of?(String) }
|
78
|
+
sub_type = Regexp.last_match[:sub_type]
|
79
|
+
return data.each_with_object({}) { |(k, v), hsh| hsh[k] = find_and_cast_into_type(sub_type, v) }
|
80
|
+
end
|
81
|
+
# model
|
82
|
+
else
|
83
|
+
const = Algolia::Composition.const_get(klass)
|
84
|
+
if const
|
85
|
+
if const.respond_to?(:openapi_one_of)
|
86
|
+
# nested oneOf model
|
87
|
+
model = const.build(data)
|
88
|
+
elsif const.respond_to?(:discriminator_attributes)
|
89
|
+
if const.discriminator_attributes.all? { |attr| data.key?(attr) }
|
90
|
+
model = const.build_from_hash(data)
|
91
|
+
end
|
92
|
+
else
|
93
|
+
# maybe it's an enum, or doens't have discriminators
|
94
|
+
model = const.build_from_hash(data)
|
95
|
+
end
|
96
|
+
|
97
|
+
return model if model
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
101
|
+
# if no match by now, raise
|
102
|
+
raise
|
103
|
+
rescue
|
104
|
+
raise SchemaMismatchError, "#{data} doesn't match the #{klass} type"
|
105
|
+
end
|
106
|
+
end
|
107
|
+
end
|
108
|
+
|
109
|
+
end
|
110
|
+
end
|
@@ -0,0 +1,36 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
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
|
+
|
5
|
+
require "date"
|
6
|
+
require "time"
|
7
|
+
|
8
|
+
module Algolia
|
9
|
+
module Composition
|
10
|
+
class TypoToleranceEnum
|
11
|
+
MIN = "min".freeze
|
12
|
+
STRICT = "strict".freeze
|
13
|
+
TRUE = "true".freeze
|
14
|
+
FALSE = "false".freeze
|
15
|
+
|
16
|
+
def self.all_vars
|
17
|
+
@all_vars ||= [MIN, STRICT, TRUE, FALSE].freeze
|
18
|
+
end
|
19
|
+
|
20
|
+
# Builds the enum from string
|
21
|
+
# @param [String] The enum value in the form of the string
|
22
|
+
# @return [String] The enum value
|
23
|
+
def self.build_from_hash(value)
|
24
|
+
new.build_from_hash(value)
|
25
|
+
end
|
26
|
+
|
27
|
+
# Builds the enum from string
|
28
|
+
# @param [String] The enum value in the form of the string
|
29
|
+
# @return [String] The enum value
|
30
|
+
def build_from_hash(value)
|
31
|
+
return value if TypoToleranceEnum.all_vars.include?(value)
|
32
|
+
raise "Invalid ENUM value #{value} for class #TypoToleranceEnum"
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
data/lib/algolia/version.rb
CHANGED
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.
|
4
|
+
version: 3.26.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- https://alg.li/support
|
@@ -257,6 +257,10 @@ files:
|
|
257
257
|
- lib/algolia/models/analytics/top_searches_response.rb
|
258
258
|
- lib/algolia/models/analytics/top_searches_response_with_analytics.rb
|
259
259
|
- lib/algolia/models/analytics/top_searches_response_with_revenue_analytics.rb
|
260
|
+
- lib/algolia/models/composition/action.rb
|
261
|
+
- lib/algolia/models/composition/advanced_syntax_features.rb
|
262
|
+
- lib/algolia/models/composition/alternatives_as_exact.rb
|
263
|
+
- lib/algolia/models/composition/anchoring.rb
|
260
264
|
- lib/algolia/models/composition/around_precision.rb
|
261
265
|
- lib/algolia/models/composition/around_radius.rb
|
262
266
|
- lib/algolia/models/composition/around_radius_all.rb
|
@@ -264,51 +268,98 @@ files:
|
|
264
268
|
- lib/algolia/models/composition/banner_image.rb
|
265
269
|
- lib/algolia/models/composition/banner_image_url.rb
|
266
270
|
- lib/algolia/models/composition/banner_link.rb
|
271
|
+
- lib/algolia/models/composition/base_injection_query_parameters.rb
|
272
|
+
- lib/algolia/models/composition/batch_composition_action.rb
|
273
|
+
- lib/algolia/models/composition/batch_params.rb
|
274
|
+
- lib/algolia/models/composition/boolean_string.rb
|
275
|
+
- lib/algolia/models/composition/composition.rb
|
276
|
+
- lib/algolia/models/composition/composition_behavior.rb
|
267
277
|
- lib/algolia/models/composition/composition_id_ranking_info.rb
|
278
|
+
- lib/algolia/models/composition/composition_rule.rb
|
279
|
+
- lib/algolia/models/composition/composition_rule_consequence.rb
|
280
|
+
- lib/algolia/models/composition/composition_rules_batch_params.rb
|
268
281
|
- lib/algolia/models/composition/composition_run_applied_rules.rb
|
269
282
|
- lib/algolia/models/composition/composition_run_search_response.rb
|
283
|
+
- lib/algolia/models/composition/composition_source.rb
|
284
|
+
- lib/algolia/models/composition/composition_source_search.rb
|
270
285
|
- lib/algolia/models/composition/compositions_search_response.rb
|
286
|
+
- lib/algolia/models/composition/condition.rb
|
287
|
+
- lib/algolia/models/composition/delete_composition_action.rb
|
288
|
+
- lib/algolia/models/composition/delete_composition_rule_action.rb
|
289
|
+
- lib/algolia/models/composition/distinct.rb
|
271
290
|
- lib/algolia/models/composition/error_base.rb
|
291
|
+
- lib/algolia/models/composition/exact_on_single_word_query.rb
|
272
292
|
- lib/algolia/models/composition/exhaustive.rb
|
293
|
+
- lib/algolia/models/composition/external.rb
|
273
294
|
- lib/algolia/models/composition/external_injected_item.rb
|
274
295
|
- lib/algolia/models/composition/external_injection.rb
|
296
|
+
- lib/algolia/models/composition/external_ordering.rb
|
297
|
+
- lib/algolia/models/composition/external_source.rb
|
275
298
|
- lib/algolia/models/composition/facet_filters.rb
|
276
299
|
- lib/algolia/models/composition/facet_hits.rb
|
277
300
|
- lib/algolia/models/composition/facet_ordering.rb
|
278
301
|
- lib/algolia/models/composition/facet_stats.rb
|
279
302
|
- lib/algolia/models/composition/facets.rb
|
303
|
+
- lib/algolia/models/composition/get_task_response.rb
|
280
304
|
- lib/algolia/models/composition/highlight_result.rb
|
281
305
|
- lib/algolia/models/composition/highlight_result_option.rb
|
282
306
|
- lib/algolia/models/composition/hit.rb
|
283
307
|
- lib/algolia/models/composition/hit_metadata.rb
|
284
308
|
- lib/algolia/models/composition/hit_ranking_info.rb
|
309
|
+
- lib/algolia/models/composition/ignore_plurals.rb
|
310
|
+
- lib/algolia/models/composition/injected_item.rb
|
311
|
+
- lib/algolia/models/composition/injected_item_hits_metadata.rb
|
312
|
+
- lib/algolia/models/composition/injected_item_metadata.rb
|
313
|
+
- lib/algolia/models/composition/injected_item_source.rb
|
314
|
+
- lib/algolia/models/composition/injection.rb
|
285
315
|
- lib/algolia/models/composition/inside_bounding_box.rb
|
316
|
+
- lib/algolia/models/composition/list_compositions_response.rb
|
317
|
+
- lib/algolia/models/composition/main.rb
|
318
|
+
- lib/algolia/models/composition/main_injection_query_parameters.rb
|
286
319
|
- lib/algolia/models/composition/match_level.rb
|
287
320
|
- lib/algolia/models/composition/matched_geo_location.rb
|
321
|
+
- lib/algolia/models/composition/multiple_batch_request.rb
|
322
|
+
- lib/algolia/models/composition/multiple_batch_response.rb
|
288
323
|
- lib/algolia/models/composition/numeric_filters.rb
|
289
324
|
- lib/algolia/models/composition/optional_filters.rb
|
325
|
+
- lib/algolia/models/composition/optional_words.rb
|
290
326
|
- lib/algolia/models/composition/params.rb
|
291
327
|
- lib/algolia/models/composition/personalization.rb
|
328
|
+
- lib/algolia/models/composition/query_type.rb
|
292
329
|
- lib/algolia/models/composition/range.rb
|
293
330
|
- lib/algolia/models/composition/redirect.rb
|
294
331
|
- lib/algolia/models/composition/redirect_rule_index_data.rb
|
295
332
|
- lib/algolia/models/composition/redirect_rule_index_metadata.rb
|
296
333
|
- lib/algolia/models/composition/redirect_url.rb
|
334
|
+
- lib/algolia/models/composition/remove_stop_words.rb
|
335
|
+
- lib/algolia/models/composition/remove_words_if_no_results.rb
|
297
336
|
- lib/algolia/models/composition/rendering_content.rb
|
298
337
|
- lib/algolia/models/composition/request_body.rb
|
299
338
|
- lib/algolia/models/composition/results_composition_info_response.rb
|
300
339
|
- lib/algolia/models/composition/results_injected_item_applied_rules_info_response.rb
|
301
340
|
- lib/algolia/models/composition/results_injected_item_info_response.rb
|
341
|
+
- lib/algolia/models/composition/rules_batch_composition_action.rb
|
342
|
+
- lib/algolia/models/composition/rules_multiple_batch_request.rb
|
343
|
+
- lib/algolia/models/composition/rules_multiple_batch_response.rb
|
344
|
+
- lib/algolia/models/composition/search.rb
|
345
|
+
- lib/algolia/models/composition/search_composition_rules_params.rb
|
346
|
+
- lib/algolia/models/composition/search_composition_rules_response.rb
|
302
347
|
- lib/algolia/models/composition/search_for_facet_values_params.rb
|
303
348
|
- lib/algolia/models/composition/search_for_facet_values_request.rb
|
304
349
|
- lib/algolia/models/composition/search_for_facet_values_response.rb
|
305
350
|
- lib/algolia/models/composition/search_for_facet_values_results.rb
|
306
351
|
- lib/algolia/models/composition/search_response.rb
|
307
352
|
- lib/algolia/models/composition/search_results_item.rb
|
353
|
+
- lib/algolia/models/composition/search_source.rb
|
308
354
|
- lib/algolia/models/composition/snippet_result.rb
|
309
355
|
- lib/algolia/models/composition/snippet_result_option.rb
|
310
356
|
- lib/algolia/models/composition/sort_remaining_by.rb
|
311
357
|
- lib/algolia/models/composition/supported_language.rb
|
358
|
+
- lib/algolia/models/composition/task_id_response.rb
|
359
|
+
- lib/algolia/models/composition/task_status.rb
|
360
|
+
- lib/algolia/models/composition/time_range.rb
|
361
|
+
- lib/algolia/models/composition/typo_tolerance.rb
|
362
|
+
- lib/algolia/models/composition/typo_tolerance_enum.rb
|
312
363
|
- lib/algolia/models/composition/value.rb
|
313
364
|
- lib/algolia/models/composition/widgets.rb
|
314
365
|
- lib/algolia/models/ingestion/action.rb
|