algolia 3.3.2 → 3.3.3

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: 905fdb6fe32accdf3bc3acdbe57ea50653773c0478988e670b7f59bd26714a48
4
- data.tar.gz: e957f44dab0649486bd2a5970db4b48adac0043c49023a7415c253c2eddd2705
3
+ metadata.gz: 66eec2563ee8ee04fa4731b5a2f7344a84187717546bcf72f4b46db7ef0b2bbf
4
+ data.tar.gz: 650845fdbfdfe17116c415aa866d21689510fe67fdac2a56b7438b1dce1b0b94
5
5
  SHA512:
6
- metadata.gz: 7d76243776293ce3ff17c60a81b61f2cbe5987c612e8dfa4d254d4596c38701c0d133cf287a832acf3e5bf3789b0c1b08018b8d91233e2b4589610bdb2082336
7
- data.tar.gz: 1b29b9adbf7c80b23a2c221303215f73c0687bd8c343469893a77a9f888d3072a164c1083155a91df30c54c3d5f9dea90f5bd341d01c8044be19b19724711f26
6
+ metadata.gz: f73cb61eecd79e5e2eb251c215474a273365c7a50afe645080f93cba1df62d1c7a812fc8fb9379f2902fc696197f663e4d968054251f4f2d1728b55e4ef3b3de
7
+ data.tar.gz: d86f3812352a5b3b9d21f6948cff5b40bb1c173007f96718d787d65da42ee5725036753d439bac7d079a15950ab7622441196a321d613bf33ca1f860b2bc11df
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## [3.3.3](https://github.com/algolia/algoliasearch-client-ruby/compare/3.3.2...3.3.3)
2
+
3
+ - [1a73994ff](https://github.com/algolia/api-clients-automation/commit/1a73994ff) fix(specs): recommend remove unsupported query parameters [RECO-2345] [skip-bc] ([#3692](https://github.com/algolia/api-clients-automation/pull/3692)) by [@raed667](https://github.com/raed667/)
4
+ - [92438873c](https://github.com/algolia/api-clients-automation/commit/92438873c) fix(specs): remove models from ingestion specs [skip-bc] ([#3774](https://github.com/algolia/api-clients-automation/pull/3774)) by [@shortcuts](https://github.com/shortcuts/)
5
+
1
6
  ## [3.3.2](https://github.com/algolia/algoliasearch-client-ruby/compare/3.3.1...3.3.2)
2
7
 
3
8
  - [638058eae](https://github.com/algolia/api-clients-automation/commit/638058eae) fix(specs): update search api specs [skip-bc] ([#3760](https://github.com/algolia/api-clients-automation/pull/3760)) 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.3.2)
4
+ algolia (3.3.3)
5
5
  base64 (>= 0.2.0, < 1)
6
6
  faraday (>= 1.0.1, < 3.0)
7
7
  faraday-net_http_persistent (>= 0.15, < 3)
@@ -961,60 +961,6 @@ module Algolia
961
961
  @api_client.deserialize(response.body, request_options[:debug_return_type] || "Ingestion::TaskUpdateResponse")
962
962
  end
963
963
 
964
- # Generates code for the selected model based on the given prompt.
965
- #
966
- # Required API Key ACLs:
967
- # - addObject
968
- # - deleteIndex
969
- # - editSettings
970
- # @param generate_transformation_code_payload [GenerateTransformationCodePayload] (required)
971
- # @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)
972
- # @return [Http::Response] the response
973
- def generate_transformation_code_with_http_info(generate_transformation_code_payload, request_options = {})
974
- # verify the required parameter 'generate_transformation_code_payload' is set
975
- if @api_client.config.client_side_validation && generate_transformation_code_payload.nil?
976
- raise(
977
- ArgumentError,
978
- "Parameter `generate_transformation_code_payload` is required when calling `generate_transformation_code`."
979
- )
980
- end
981
-
982
- path = "/1/transformations/models"
983
- query_params = {}
984
- query_params = query_params.merge(request_options[:query_params]) unless request_options[:query_params].nil?
985
- header_params = {}
986
- header_params = header_params.merge(request_options[:header_params]) unless request_options[:header_params].nil?
987
-
988
- post_body = request_options[:debug_body] || @api_client.object_to_http_body(generate_transformation_code_payload)
989
-
990
- new_options = request_options.merge(
991
- :operation => :"IngestionClient.generate_transformation_code",
992
- :header_params => header_params,
993
- :query_params => query_params,
994
- :body => post_body,
995
- :use_read_transporter => false
996
- )
997
-
998
- @api_client.call_api(:POST, path, new_options)
999
- end
1000
-
1001
- # Generates code for the selected model based on the given prompt.
1002
- #
1003
- # Required API Key ACLs:
1004
- # - addObject
1005
- # - deleteIndex
1006
- # - editSettings
1007
- # @param generate_transformation_code_payload [GenerateTransformationCodePayload] (required)
1008
- # @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)
1009
- # @return [GenerateTransformationCodeResponse]
1010
- def generate_transformation_code(generate_transformation_code_payload, request_options = {})
1011
- response = generate_transformation_code_with_http_info(generate_transformation_code_payload, request_options)
1012
- @api_client.deserialize(
1013
- response.body,
1014
- request_options[:debug_return_type] || "Ingestion::GenerateTransformationCodeResponse"
1015
- )
1016
- end
1017
-
1018
964
  # Retrieves an authentication resource by its ID.
1019
965
  #
1020
966
  # Required API Key ACLs:
@@ -2231,47 +2177,6 @@ module Algolia
2231
2177
  @api_client.deserialize(response.body, request_options[:debug_return_type] || "Ingestion::ListTasksResponseV1")
2232
2178
  end
2233
2179
 
2234
- # Retrieves a list of existing LLM transformation helpers.
2235
- #
2236
- # Required API Key ACLs:
2237
- # - addObject
2238
- # - deleteIndex
2239
- # - editSettings
2240
- # @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)
2241
- # @return [Http::Response] the response
2242
- def list_transformation_models_with_http_info(request_options = {})
2243
- path = "/1/transformations/models"
2244
- query_params = {}
2245
- query_params = query_params.merge(request_options[:query_params]) unless request_options[:query_params].nil?
2246
- header_params = {}
2247
- header_params = header_params.merge(request_options[:header_params]) unless request_options[:header_params].nil?
2248
-
2249
- post_body = request_options[:debug_body]
2250
-
2251
- new_options = request_options.merge(
2252
- :operation => :"IngestionClient.list_transformation_models",
2253
- :header_params => header_params,
2254
- :query_params => query_params,
2255
- :body => post_body,
2256
- :use_read_transporter => false
2257
- )
2258
-
2259
- @api_client.call_api(:GET, path, new_options)
2260
- end
2261
-
2262
- # Retrieves a list of existing LLM transformation helpers.
2263
- #
2264
- # Required API Key ACLs:
2265
- # - addObject
2266
- # - deleteIndex
2267
- # - editSettings
2268
- # @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)
2269
- # @return [TransformationModels]
2270
- def list_transformation_models(request_options = {})
2271
- response = list_transformation_models_with_http_info(request_options)
2272
- @api_client.deserialize(response.body, request_options[:debug_return_type] || "Ingestion::TransformationModels")
2273
- end
2274
-
2275
2180
  # Retrieves a list of transformations.
2276
2181
  #
2277
2182
  # Required API Key ACLs:
@@ -45,7 +45,7 @@ module Algolia
45
45
  :index_name => :"String",
46
46
  :threshold => :"Float",
47
47
  :max_recommendations => :"Integer",
48
- :query_parameters => :"SearchParams",
48
+ :query_parameters => :"RecommendSearchParams",
49
49
  :model => :"FbtModel",
50
50
  :object_id => :"String"
51
51
  }
@@ -28,7 +28,7 @@ module Algolia
28
28
  # Attribute type mapping.
29
29
  def self.types_mapping
30
30
  {
31
- :facets => :"Facets",
31
+ :facets => :"IndexSettingsFacets",
32
32
  :values => :"Hash<String, Value>"
33
33
  }
34
34
  end