algolia 3.29.0 → 3.30.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/CHANGELOG.md +6 -0
- data/Gemfile.lock +1 -1
- data/lib/algolia/api/ingestion_client.rb +100 -20
- data/lib/algolia/api/search_client.rb +18 -6
- data/lib/algolia/models/composition/main_injection_query_parameters.rb +11 -1
- data/lib/algolia/models/composition/params.rb +11 -11
- data/lib/algolia/version.rb +1 -1
- metadata +1 -1
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 698d0bf438f61272bc29420b92a6e6d3d7284810c99a915d58b7b28e6ef64061
         | 
| 4 | 
            +
              data.tar.gz: a59ba07ae58c007bbf2c832b400cce0cca4e89fa3cdf9f80965d1b4eb93e3ddb
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: d196cc67966b88bd8ea0de06a9d4b4a8ebb54722d1716fd421de078eb64c8410475dc32fbaf67b1c50ae402e94923f59d15cdfd84fcc8e9c079283c06b81dfa9
         | 
| 7 | 
            +
              data.tar.gz: 37fba20279d136c60e354072e8ecd05e2e079f9253579eba8b054b5feff8e3bd10722583aa888e0a49842a8cfa8354a53f13588dd78433524a7f5c6f16e199a3
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    | @@ -1,3 +1,9 @@ | |
| 1 | 
            +
            ## [3.30.0](https://github.com/algolia/algoliasearch-client-ruby/compare/3.29.0...3.30.0)
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            - [d9b21b4b1](https://github.com/algolia/api-clients-automation/commit/d9b21b4b1) feat(specs): add `renderingContent` query parameter in Composition API main injection ([#5549](https://github.com/algolia/api-clients-automation/pull/5549)) by [@ClaraMuller](https://github.com/ClaraMuller/)
         | 
| 4 | 
            +
            - [1eee2a5f7](https://github.com/algolia/api-clients-automation/commit/1eee2a5f7) fix(specs): add ACL to missing endpoints ([#5529](https://github.com/algolia/api-clients-automation/pull/5529)) by [@millotp](https://github.com/millotp/)
         | 
| 5 | 
            +
            - [38ae444d7](https://github.com/algolia/api-clients-automation/commit/38ae444d7) feat(specs): add specific documentation for `facets` query parameter in Composition API ([#5477](https://github.com/algolia/api-clients-automation/pull/5477)) by [@ClaraMuller](https://github.com/ClaraMuller/)
         | 
| 6 | 
            +
             | 
| 1 7 | 
             
            ## [3.29.0](https://github.com/algolia/algoliasearch-client-ruby/compare/3.28.1...3.29.0)
         | 
| 2 8 |  | 
| 3 9 | 
             
            - [7f9de7cd9](https://github.com/algolia/api-clients-automation/commit/7f9de7cd9) fix(specs): ingestion small fix + added source input descriptions ([#5515](https://github.com/algolia/api-clients-automation/pull/5515)) by [@sbellone](https://github.com/sbellone/)
         | 
    
        data/Gemfile.lock
    CHANGED
    
    
| @@ -220,7 +220,11 @@ module Algolia | |
| 220 220 | 
             
                end
         | 
| 221 221 |  | 
| 222 222 | 
             
                # Creates a new task.
         | 
| 223 | 
            -
             | 
| 223 | 
            +
                #
         | 
| 224 | 
            +
                # Required API Key ACLs:
         | 
| 225 | 
            +
                #   - addObject
         | 
| 226 | 
            +
                #   - deleteIndex
         | 
| 227 | 
            +
                #   - editSettings
         | 
| 224 228 | 
             
                # @param task_create [TaskCreate] Request body for creating a task. (required)
         | 
| 225 229 | 
             
                # @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)
         | 
| 226 230 | 
             
                # @return [Http::Response] the response
         | 
| @@ -250,7 +254,11 @@ module Algolia | |
| 250 254 | 
             
                end
         | 
| 251 255 |  | 
| 252 256 | 
             
                # Creates a new task.
         | 
| 253 | 
            -
             | 
| 257 | 
            +
                #
         | 
| 258 | 
            +
                # Required API Key ACLs:
         | 
| 259 | 
            +
                #   - addObject
         | 
| 260 | 
            +
                #   - deleteIndex
         | 
| 261 | 
            +
                #   - editSettings
         | 
| 254 262 | 
             
                # @param task_create [TaskCreate] Request body for creating a task. (required)
         | 
| 255 263 | 
             
                # @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)
         | 
| 256 264 | 
             
                # @return [TaskCreateResponse]
         | 
| @@ -260,7 +268,11 @@ module Algolia | |
| 260 268 | 
             
                end
         | 
| 261 269 |  | 
| 262 270 | 
             
                # Creates a new task using the v1 endpoint, please use `createTask` instead.
         | 
| 263 | 
            -
             | 
| 271 | 
            +
                #
         | 
| 272 | 
            +
                # Required API Key ACLs:
         | 
| 273 | 
            +
                #   - addObject
         | 
| 274 | 
            +
                #   - deleteIndex
         | 
| 275 | 
            +
                #   - editSettings
         | 
| 264 276 | 
             
                # THIS OPERATION IS DEPRECATED
         | 
| 265 277 | 
             
                # @param task_create [TaskCreateV1] Request body for creating a task. (required)
         | 
| 266 278 | 
             
                # @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)
         | 
| @@ -291,7 +303,11 @@ module Algolia | |
| 291 303 | 
             
                end
         | 
| 292 304 |  | 
| 293 305 | 
             
                # Creates a new task using the v1 endpoint, please use `createTask` instead.
         | 
| 294 | 
            -
             | 
| 306 | 
            +
                #
         | 
| 307 | 
            +
                # Required API Key ACLs:
         | 
| 308 | 
            +
                #   - addObject
         | 
| 309 | 
            +
                #   - deleteIndex
         | 
| 310 | 
            +
                #   - editSettings
         | 
| 295 311 | 
             
                # @param task_create [TaskCreateV1] Request body for creating a task. (required)
         | 
| 296 312 | 
             
                # @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)
         | 
| 297 313 | 
             
                # @return [TaskCreateResponse]
         | 
| @@ -301,7 +317,11 @@ module Algolia | |
| 301 317 | 
             
                end
         | 
| 302 318 |  | 
| 303 319 | 
             
                # Creates a new transformation.
         | 
| 304 | 
            -
             | 
| 320 | 
            +
                #
         | 
| 321 | 
            +
                # Required API Key ACLs:
         | 
| 322 | 
            +
                #   - addObject
         | 
| 323 | 
            +
                #   - deleteIndex
         | 
| 324 | 
            +
                #   - editSettings
         | 
| 305 325 | 
             
                # @param transformation_create [TransformationCreate] Request body for creating a transformation. (required)
         | 
| 306 326 | 
             
                # @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)
         | 
| 307 327 | 
             
                # @return [Http::Response] the response
         | 
| @@ -331,7 +351,11 @@ module Algolia | |
| 331 351 | 
             
                end
         | 
| 332 352 |  | 
| 333 353 | 
             
                # Creates a new transformation.
         | 
| 334 | 
            -
             | 
| 354 | 
            +
                #
         | 
| 355 | 
            +
                # Required API Key ACLs:
         | 
| 356 | 
            +
                #   - addObject
         | 
| 357 | 
            +
                #   - deleteIndex
         | 
| 358 | 
            +
                #   - editSettings
         | 
| 335 359 | 
             
                # @param transformation_create [TransformationCreate] Request body for creating a transformation. (required)
         | 
| 336 360 | 
             
                # @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)
         | 
| 337 361 | 
             
                # @return [TransformationCreateResponse]
         | 
| @@ -670,7 +694,11 @@ module Algolia | |
| 670 694 | 
             
                end
         | 
| 671 695 |  | 
| 672 696 | 
             
                # Deletes a task by its ID.
         | 
| 673 | 
            -
             | 
| 697 | 
            +
                #
         | 
| 698 | 
            +
                # Required API Key ACLs:
         | 
| 699 | 
            +
                #   - addObject
         | 
| 700 | 
            +
                #   - deleteIndex
         | 
| 701 | 
            +
                #   - editSettings
         | 
| 674 702 | 
             
                # @param task_id [String] Unique identifier of a task. (required)
         | 
| 675 703 | 
             
                # @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)
         | 
| 676 704 | 
             
                # @return [Http::Response] the response
         | 
| @@ -700,7 +728,11 @@ module Algolia | |
| 700 728 | 
             
                end
         | 
| 701 729 |  | 
| 702 730 | 
             
                # Deletes a task by its ID.
         | 
| 703 | 
            -
             | 
| 731 | 
            +
                #
         | 
| 732 | 
            +
                # Required API Key ACLs:
         | 
| 733 | 
            +
                #   - addObject
         | 
| 734 | 
            +
                #   - deleteIndex
         | 
| 735 | 
            +
                #   - editSettings
         | 
| 704 736 | 
             
                # @param task_id [String] Unique identifier of a task. (required)
         | 
| 705 737 | 
             
                # @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)
         | 
| 706 738 | 
             
                # @return [DeleteResponse]
         | 
| @@ -710,7 +742,11 @@ module Algolia | |
| 710 742 | 
             
                end
         | 
| 711 743 |  | 
| 712 744 | 
             
                # Deletes a task by its ID using the v1 endpoint, please use `deleteTask` instead.
         | 
| 713 | 
            -
             | 
| 745 | 
            +
                #
         | 
| 746 | 
            +
                # Required API Key ACLs:
         | 
| 747 | 
            +
                #   - addObject
         | 
| 748 | 
            +
                #   - deleteIndex
         | 
| 749 | 
            +
                #   - editSettings
         | 
| 714 750 | 
             
                # THIS OPERATION IS DEPRECATED
         | 
| 715 751 | 
             
                # @param task_id [String] Unique identifier of a task. (required)
         | 
| 716 752 | 
             
                # @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)
         | 
| @@ -741,7 +777,11 @@ module Algolia | |
| 741 777 | 
             
                end
         | 
| 742 778 |  | 
| 743 779 | 
             
                # Deletes a task by its ID using the v1 endpoint, please use `deleteTask` instead.
         | 
| 744 | 
            -
             | 
| 780 | 
            +
                #
         | 
| 781 | 
            +
                # Required API Key ACLs:
         | 
| 782 | 
            +
                #   - addObject
         | 
| 783 | 
            +
                #   - deleteIndex
         | 
| 784 | 
            +
                #   - editSettings
         | 
| 745 785 | 
             
                # @param task_id [String] Unique identifier of a task. (required)
         | 
| 746 786 | 
             
                # @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)
         | 
| 747 787 | 
             
                # @return [DeleteResponse]
         | 
| @@ -751,7 +791,11 @@ module Algolia | |
| 751 791 | 
             
                end
         | 
| 752 792 |  | 
| 753 793 | 
             
                # Deletes a transformation by its ID.
         | 
| 754 | 
            -
             | 
| 794 | 
            +
                #
         | 
| 795 | 
            +
                # Required API Key ACLs:
         | 
| 796 | 
            +
                #   - addObject
         | 
| 797 | 
            +
                #   - deleteIndex
         | 
| 798 | 
            +
                #   - editSettings
         | 
| 755 799 | 
             
                # @param transformation_id [String] Unique identifier of a transformation. (required)
         | 
| 756 800 | 
             
                # @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)
         | 
| 757 801 | 
             
                # @return [Http::Response] the response
         | 
| @@ -784,7 +828,11 @@ module Algolia | |
| 784 828 | 
             
                end
         | 
| 785 829 |  | 
| 786 830 | 
             
                # Deletes a transformation by its ID.
         | 
| 787 | 
            -
             | 
| 831 | 
            +
                #
         | 
| 832 | 
            +
                # Required API Key ACLs:
         | 
| 833 | 
            +
                #   - addObject
         | 
| 834 | 
            +
                #   - deleteIndex
         | 
| 835 | 
            +
                #   - editSettings
         | 
| 788 836 | 
             
                # @param transformation_id [String] Unique identifier of a transformation. (required)
         | 
| 789 837 | 
             
                # @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)
         | 
| 790 838 | 
             
                # @return [DeleteResponse]
         | 
| @@ -2277,7 +2325,11 @@ module Algolia | |
| 2277 2325 | 
             
                end
         | 
| 2278 2326 |  | 
| 2279 2327 | 
             
                # Fully updates a task by its ID, use partialUpdateTask if you only want to update a subset of fields.
         | 
| 2280 | 
            -
             | 
| 2328 | 
            +
                #
         | 
| 2329 | 
            +
                # Required API Key ACLs:
         | 
| 2330 | 
            +
                #   - addObject
         | 
| 2331 | 
            +
                #   - deleteIndex
         | 
| 2332 | 
            +
                #   - editSettings
         | 
| 2281 2333 | 
             
                # @param task_id [String] Unique identifier of a task. (required)
         | 
| 2282 2334 | 
             
                # @param task_replace [TaskReplace]  (required)
         | 
| 2283 2335 | 
             
                # @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)
         | 
| @@ -2312,7 +2364,11 @@ module Algolia | |
| 2312 2364 | 
             
                end
         | 
| 2313 2365 |  | 
| 2314 2366 | 
             
                # Fully updates a task by its ID, use partialUpdateTask if you only want to update a subset of fields.
         | 
| 2315 | 
            -
             | 
| 2367 | 
            +
                #
         | 
| 2368 | 
            +
                # Required API Key ACLs:
         | 
| 2369 | 
            +
                #   - addObject
         | 
| 2370 | 
            +
                #   - deleteIndex
         | 
| 2371 | 
            +
                #   - editSettings
         | 
| 2316 2372 | 
             
                # @param task_id [String] Unique identifier of a task. (required)
         | 
| 2317 2373 | 
             
                # @param task_replace [TaskReplace]  (required)
         | 
| 2318 2374 | 
             
                # @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)
         | 
| @@ -3104,7 +3160,11 @@ module Algolia | |
| 3104 3160 | 
             
                end
         | 
| 3105 3161 |  | 
| 3106 3162 | 
             
                # Partially updates a task by its ID.
         | 
| 3107 | 
            -
             | 
| 3163 | 
            +
                #
         | 
| 3164 | 
            +
                # Required API Key ACLs:
         | 
| 3165 | 
            +
                #   - addObject
         | 
| 3166 | 
            +
                #   - deleteIndex
         | 
| 3167 | 
            +
                #   - editSettings
         | 
| 3108 3168 | 
             
                # @param task_id [String] Unique identifier of a task. (required)
         | 
| 3109 3169 | 
             
                # @param task_update [TaskUpdate]  (required)
         | 
| 3110 3170 | 
             
                # @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)
         | 
| @@ -3139,7 +3199,11 @@ module Algolia | |
| 3139 3199 | 
             
                end
         | 
| 3140 3200 |  | 
| 3141 3201 | 
             
                # Partially updates a task by its ID.
         | 
| 3142 | 
            -
             | 
| 3202 | 
            +
                #
         | 
| 3203 | 
            +
                # Required API Key ACLs:
         | 
| 3204 | 
            +
                #   - addObject
         | 
| 3205 | 
            +
                #   - deleteIndex
         | 
| 3206 | 
            +
                #   - editSettings
         | 
| 3143 3207 | 
             
                # @param task_id [String] Unique identifier of a task. (required)
         | 
| 3144 3208 | 
             
                # @param task_update [TaskUpdate]  (required)
         | 
| 3145 3209 | 
             
                # @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)
         | 
| @@ -3150,7 +3214,11 @@ module Algolia | |
| 3150 3214 | 
             
                end
         | 
| 3151 3215 |  | 
| 3152 3216 | 
             
                # Updates a task by its ID using the v1 endpoint, please use `updateTask` instead.
         | 
| 3153 | 
            -
             | 
| 3217 | 
            +
                #
         | 
| 3218 | 
            +
                # Required API Key ACLs:
         | 
| 3219 | 
            +
                #   - addObject
         | 
| 3220 | 
            +
                #   - deleteIndex
         | 
| 3221 | 
            +
                #   - editSettings
         | 
| 3154 3222 | 
             
                # THIS OPERATION IS DEPRECATED
         | 
| 3155 3223 | 
             
                # @param task_id [String] Unique identifier of a task. (required)
         | 
| 3156 3224 | 
             
                # @param task_update [TaskUpdateV1]  (required)
         | 
| @@ -3186,7 +3254,11 @@ module Algolia | |
| 3186 3254 | 
             
                end
         | 
| 3187 3255 |  | 
| 3188 3256 | 
             
                # Updates a task by its ID using the v1 endpoint, please use `updateTask` instead.
         | 
| 3189 | 
            -
             | 
| 3257 | 
            +
                #
         | 
| 3258 | 
            +
                # Required API Key ACLs:
         | 
| 3259 | 
            +
                #   - addObject
         | 
| 3260 | 
            +
                #   - deleteIndex
         | 
| 3261 | 
            +
                #   - editSettings
         | 
| 3190 3262 | 
             
                # @param task_id [String] Unique identifier of a task. (required)
         | 
| 3191 3263 | 
             
                # @param task_update [TaskUpdateV1]  (required)
         | 
| 3192 3264 | 
             
                # @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)
         | 
| @@ -3197,7 +3269,11 @@ module Algolia | |
| 3197 3269 | 
             
                end
         | 
| 3198 3270 |  | 
| 3199 3271 | 
             
                # Updates a transformation by its ID.
         | 
| 3200 | 
            -
             | 
| 3272 | 
            +
                #
         | 
| 3273 | 
            +
                # Required API Key ACLs:
         | 
| 3274 | 
            +
                #   - addObject
         | 
| 3275 | 
            +
                #   - deleteIndex
         | 
| 3276 | 
            +
                #   - editSettings
         | 
| 3201 3277 | 
             
                # @param transformation_id [String] Unique identifier of a transformation. (required)
         | 
| 3202 3278 | 
             
                # @param transformation_create [TransformationCreate]  (required)
         | 
| 3203 3279 | 
             
                # @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)
         | 
| @@ -3235,7 +3311,11 @@ module Algolia | |
| 3235 3311 | 
             
                end
         | 
| 3236 3312 |  | 
| 3237 3313 | 
             
                # Updates a transformation by its ID.
         | 
| 3238 | 
            -
             | 
| 3314 | 
            +
                #
         | 
| 3315 | 
            +
                # Required API Key ACLs:
         | 
| 3316 | 
            +
                #   - addObject
         | 
| 3317 | 
            +
                #   - deleteIndex
         | 
| 3318 | 
            +
                #   - editSettings
         | 
| 3239 3319 | 
             
                # @param transformation_id [String] Unique identifier of a transformation. (required)
         | 
| 3240 3320 | 
             
                # @param transformation_create [TransformationCreate]  (required)
         | 
| 3241 3321 | 
             
                # @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)
         | 
| @@ -268,7 +268,9 @@ module Algolia | |
| 268 268 | 
             
                end
         | 
| 269 269 |  | 
| 270 270 | 
             
                # Adds, updates, or deletes records in one index with a single API request.  Batching index updates reduces latency and increases data integrity.  - Actions are applied in the order they're specified. - Actions are equivalent to the individual API requests of the same name.  This operation is subject to [indexing rate limits](https://support.algolia.com/hc/articles/4406975251089-Is-there-a-rate-limit-for-indexing-on-Algolia).
         | 
| 271 | 
            -
             | 
| 271 | 
            +
                #
         | 
| 272 | 
            +
                # Required API Key ACLs:
         | 
| 273 | 
            +
                #   - addObject
         | 
| 272 274 | 
             
                # @param index_name [String] Name of the index on which to perform the operation. (required)
         | 
| 273 275 | 
             
                # @param batch_write_params [BatchWriteParams]  (required)
         | 
| 274 276 | 
             
                # @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)
         | 
| @@ -303,7 +305,9 @@ module Algolia | |
| 303 305 | 
             
                end
         | 
| 304 306 |  | 
| 305 307 | 
             
                # Adds, updates, or deletes records in one index with a single API request.  Batching index updates reduces latency and increases data integrity.  - Actions are applied in the order they're specified. - Actions are equivalent to the individual API requests of the same name.  This operation is subject to [indexing rate limits](https://support.algolia.com/hc/articles/4406975251089-Is-there-a-rate-limit-for-indexing-on-Algolia).
         | 
| 306 | 
            -
             | 
| 308 | 
            +
                #
         | 
| 309 | 
            +
                # Required API Key ACLs:
         | 
| 310 | 
            +
                #   - addObject
         | 
| 307 311 | 
             
                # @param index_name [String] Name of the index on which to perform the operation. (required)
         | 
| 308 312 | 
             
                # @param batch_write_params [BatchWriteParams]  (required)
         | 
| 309 313 | 
             
                # @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)
         | 
| @@ -1134,7 +1138,9 @@ module Algolia | |
| 1134 1138 | 
             
                end
         | 
| 1135 1139 |  | 
| 1136 1140 | 
             
                # Gets the permissions and restrictions of an API key.  When authenticating with the admin API key, you can request information for any of your application's keys. When authenticating with other API keys, you can only retrieve information for that key, with the description replaced by `<redacted>`.
         | 
| 1137 | 
            -
             | 
| 1141 | 
            +
                #
         | 
| 1142 | 
            +
                # Required API Key ACLs:
         | 
| 1143 | 
            +
                #   - search
         | 
| 1138 1144 | 
             
                # @param key [String] API key. (required)
         | 
| 1139 1145 | 
             
                # @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)
         | 
| 1140 1146 | 
             
                # @return [Http::Response] the response
         | 
| @@ -1164,7 +1170,9 @@ module Algolia | |
| 1164 1170 | 
             
                end
         | 
| 1165 1171 |  | 
| 1166 1172 | 
             
                # Gets the permissions and restrictions of an API key.  When authenticating with the admin API key, you can request information for any of your application's keys. When authenticating with other API keys, you can only retrieve information for that key, with the description replaced by `<redacted>`.
         | 
| 1167 | 
            -
             | 
| 1173 | 
            +
                #
         | 
| 1174 | 
            +
                # Required API Key ACLs:
         | 
| 1175 | 
            +
                #   - search
         | 
| 1168 1176 | 
             
                # @param key [String] API key. (required)
         | 
| 1169 1177 | 
             
                # @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)
         | 
| 1170 1178 | 
             
                # @return [GetApiKeyResponse]
         | 
| @@ -1976,7 +1984,9 @@ module Algolia | |
| 1976 1984 | 
             
                end
         | 
| 1977 1985 |  | 
| 1978 1986 | 
             
                # Adds, updates, or deletes records in multiple indices with a single API request.  - Actions are applied in the order they are specified. - Actions are equivalent to the individual API requests of the same name.  This operation is subject to [indexing rate limits](https://support.algolia.com/hc/articles/4406975251089-Is-there-a-rate-limit-for-indexing-on-Algolia).
         | 
| 1979 | 
            -
             | 
| 1987 | 
            +
                #
         | 
| 1988 | 
            +
                # Required API Key ACLs:
         | 
| 1989 | 
            +
                #   - addObject
         | 
| 1980 1990 | 
             
                # @param batch_params [BatchParams]  (required)
         | 
| 1981 1991 | 
             
                # @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)
         | 
| 1982 1992 | 
             
                # @return [Http::Response] the response
         | 
| @@ -2006,7 +2016,9 @@ module Algolia | |
| 2006 2016 | 
             
                end
         | 
| 2007 2017 |  | 
| 2008 2018 | 
             
                # Adds, updates, or deletes records in multiple indices with a single API request.  - Actions are applied in the order they are specified. - Actions are equivalent to the individual API requests of the same name.  This operation is subject to [indexing rate limits](https://support.algolia.com/hc/articles/4406975251089-Is-there-a-rate-limit-for-indexing-on-Algolia).
         | 
| 2009 | 
            -
             | 
| 2019 | 
            +
                #
         | 
| 2020 | 
            +
                # Required API Key ACLs:
         | 
| 2021 | 
            +
                #   - addObject
         | 
| 2010 2022 | 
             
                # @param batch_params [BatchParams]  (required)
         | 
| 2011 2023 | 
             
                # @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)
         | 
| 2012 2024 | 
             
                # @return [MultipleBatchResponse]
         | 
| @@ -141,7 +141,7 @@ module Algolia | |
| 141 141 | 
             
                  # Whether faceting should be applied after deduplication with `distinct` This leads to accurate facet counts when using faceting in combination with `distinct`. It's usually better to use `afterDistinct` modifiers in the `attributesForFaceting` setting, as `facetingAfterDistinct` only computes correct facet counts if all records have the same facet values for the `attributeForDistinct`.
         | 
| 142 142 | 
             
                  attr_accessor :faceting_after_distinct
         | 
| 143 143 |  | 
| 144 | 
            -
                  # Facets for which to retrieve facet values that match the search criteria and the number of matching facet values To retrieve all facets, use the wildcard character `*`. For more information, see [facets](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#contextual-facet-values-and-counts).
         | 
| 144 | 
            +
                  # Facets for which to retrieve facet values that match the search criteria and the number of matching facet values To retrieve all facets, use the wildcard character `*`. To retrieve disjunctive facets lists, annotate any facets with the `disjunctive` modifier. For more information, see [facets](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#contextual-facet-values-and-counts) and [disjunctive faceting for Smart Groups](https://www.algolia.com/doc/guides/managing-results/compositions/search-based-groups#facets-including-disjunctive-faceting).
         | 
| 145 145 | 
             
                  attr_accessor :facets
         | 
| 146 146 |  | 
| 147 147 | 
             
                  # Number of hits per page.
         | 
| @@ -150,6 +150,8 @@ module Algolia | |
| 150 150 | 
             
                  # Maximum number of facet values to return for each facet.
         | 
| 151 151 | 
             
                  attr_accessor :max_values_per_facet
         | 
| 152 152 |  | 
| 153 | 
            +
                  attr_accessor :rendering_content
         | 
| 154 | 
            +
             | 
| 153 155 | 
             
                  # Order in which to retrieve facet values - `count`.   Facet values are retrieved by decreasing count.   The count is the number of matching records containing this facet value - `alpha`.   Retrieve facet values alphabetically This setting doesn't influence how facet values are displayed in your UI (see `renderingContent`). For more information, see [facet value display](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/facet-display/js).
         | 
| 154 156 | 
             
                  attr_accessor :sort_facet_values_by
         | 
| 155 157 |  | 
| @@ -210,6 +212,7 @@ module Algolia | |
| 210 212 | 
             
                      :facets => :facets,
         | 
| 211 213 | 
             
                      :hits_per_page => :hitsPerPage,
         | 
| 212 214 | 
             
                      :max_values_per_facet => :maxValuesPerFacet,
         | 
| 215 | 
            +
                      :rendering_content => :renderingContent,
         | 
| 213 216 | 
             
                      :sort_facet_values_by => :sortFacetValuesBy,
         | 
| 214 217 | 
             
                      :sum_or_filters_scores => :sumOrFiltersScores
         | 
| 215 218 | 
             
                    }
         | 
| @@ -269,6 +272,7 @@ module Algolia | |
| 269 272 | 
             
                      :facets => :"Array<String>",
         | 
| 270 273 | 
             
                      :hits_per_page => :"Integer",
         | 
| 271 274 | 
             
                      :max_values_per_facet => :"Integer",
         | 
| 275 | 
            +
                      :rendering_content => :"RenderingContent",
         | 
| 272 276 | 
             
                      :sort_facet_values_by => :"String",
         | 
| 273 277 | 
             
                      :sum_or_filters_scores => :"Boolean"
         | 
| 274 278 | 
             
                    }
         | 
| @@ -543,6 +547,10 @@ module Algolia | |
| 543 547 | 
             
                      self.max_values_per_facet = attributes[:max_values_per_facet]
         | 
| 544 548 | 
             
                    end
         | 
| 545 549 |  | 
| 550 | 
            +
                    if attributes.key?(:rendering_content)
         | 
| 551 | 
            +
                      self.rendering_content = attributes[:rendering_content]
         | 
| 552 | 
            +
                    end
         | 
| 553 | 
            +
             | 
| 546 554 | 
             
                    if attributes.key?(:sort_facet_values_by)
         | 
| 547 555 | 
             
                      self.sort_facet_values_by = attributes[:sort_facet_values_by]
         | 
| 548 556 | 
             
                    end
         | 
| @@ -608,6 +616,7 @@ module Algolia | |
| 608 616 | 
             
                      facets == other.facets &&
         | 
| 609 617 | 
             
                      hits_per_page == other.hits_per_page &&
         | 
| 610 618 | 
             
                      max_values_per_facet == other.max_values_per_facet &&
         | 
| 619 | 
            +
                      rendering_content == other.rendering_content &&
         | 
| 611 620 | 
             
                      sort_facet_values_by == other.sort_facet_values_by &&
         | 
| 612 621 | 
             
                      sum_or_filters_scores == other.sum_or_filters_scores
         | 
| 613 622 | 
             
                  end
         | 
| @@ -673,6 +682,7 @@ module Algolia | |
| 673 682 | 
             
                      facets,
         | 
| 674 683 | 
             
                      hits_per_page,
         | 
| 675 684 | 
             
                      max_values_per_facet,
         | 
| 685 | 
            +
                      rendering_content,
         | 
| 676 686 | 
             
                      sort_facet_values_by,
         | 
| 677 687 | 
             
                      sum_or_filters_scores
         | 
| 678 688 | 
             
                    ].hash
         | 
| @@ -23,11 +23,11 @@ module Algolia | |
| 23 23 | 
             
                  # Relevancy threshold below which less relevant results aren't included in the results You can only set `relevancyStrictness` on [virtual replica indices](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/replicas/#what-are-virtual-replicas). Use this setting to strike a balance between the relevance and number of returned results.
         | 
| 24 24 | 
             
                  attr_accessor :relevancy_strictness
         | 
| 25 25 |  | 
| 26 | 
            -
                  # Facets for which to retrieve facet values that match the search criteria and the number of matching facet values To retrieve all facets, use the wildcard character `*`. For more information, see [facets](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#contextual-facet-values-and-counts).
         | 
| 27 | 
            -
                  attr_accessor :facets
         | 
| 28 | 
            -
             | 
| 29 26 | 
             
                  attr_accessor :facet_filters
         | 
| 30 27 |  | 
| 28 | 
            +
                  # Facets for which to retrieve facet values that match the search criteria and the number of matching facet values To retrieve all facets, use the wildcard character `*`. To retrieve disjunctive facets lists, annotate any facets with the `disjunctive` modifier. For more information, see [facets](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#contextual-facet-values-and-counts) and [disjunctive faceting for Smart Groups](https://www.algolia.com/doc/guides/managing-results/compositions/search-based-groups#facets-including-disjunctive-faceting).
         | 
| 29 | 
            +
                  attr_accessor :facets
         | 
| 30 | 
            +
             | 
| 31 31 | 
             
                  attr_accessor :optional_filters
         | 
| 32 32 |  | 
| 33 33 | 
             
                  attr_accessor :numeric_filters
         | 
| @@ -94,8 +94,8 @@ module Algolia | |
| 94 94 | 
             
                      :page => :page,
         | 
| 95 95 | 
             
                      :get_ranking_info => :getRankingInfo,
         | 
| 96 96 | 
             
                      :relevancy_strictness => :relevancyStrictness,
         | 
| 97 | 
            -
                      :facets => :facets,
         | 
| 98 97 | 
             
                      :facet_filters => :facetFilters,
         | 
| 98 | 
            +
                      :facets => :facets,
         | 
| 99 99 | 
             
                      :optional_filters => :optionalFilters,
         | 
| 100 100 | 
             
                      :numeric_filters => :numericFilters,
         | 
| 101 101 | 
             
                      :hits_per_page => :hitsPerPage,
         | 
| @@ -128,8 +128,8 @@ module Algolia | |
| 128 128 | 
             
                      :page => :"Integer",
         | 
| 129 129 | 
             
                      :get_ranking_info => :"Boolean",
         | 
| 130 130 | 
             
                      :relevancy_strictness => :"Integer",
         | 
| 131 | 
            -
                      :facets => :"Array<String>",
         | 
| 132 131 | 
             
                      :facet_filters => :"FacetFilters",
         | 
| 132 | 
            +
                      :facets => :"Array<String>",
         | 
| 133 133 | 
             
                      :optional_filters => :"OptionalFilters",
         | 
| 134 134 | 
             
                      :numeric_filters => :"NumericFilters",
         | 
| 135 135 | 
             
                      :hits_per_page => :"Integer",
         | 
| @@ -203,16 +203,16 @@ module Algolia | |
| 203 203 | 
             
                      self.relevancy_strictness = attributes[:relevancy_strictness]
         | 
| 204 204 | 
             
                    end
         | 
| 205 205 |  | 
| 206 | 
            +
                    if attributes.key?(:facet_filters)
         | 
| 207 | 
            +
                      self.facet_filters = attributes[:facet_filters]
         | 
| 208 | 
            +
                    end
         | 
| 209 | 
            +
             | 
| 206 210 | 
             
                    if attributes.key?(:facets)
         | 
| 207 211 | 
             
                      if (value = attributes[:facets]).is_a?(Array)
         | 
| 208 212 | 
             
                        self.facets = value
         | 
| 209 213 | 
             
                      end
         | 
| 210 214 | 
             
                    end
         | 
| 211 215 |  | 
| 212 | 
            -
                    if attributes.key?(:facet_filters)
         | 
| 213 | 
            -
                      self.facet_filters = attributes[:facet_filters]
         | 
| 214 | 
            -
                    end
         | 
| 215 | 
            -
             | 
| 216 216 | 
             
                    if attributes.key?(:optional_filters)
         | 
| 217 217 | 
             
                      self.optional_filters = attributes[:optional_filters]
         | 
| 218 218 | 
             
                    end
         | 
| @@ -320,8 +320,8 @@ module Algolia | |
| 320 320 | 
             
                      page == other.page &&
         | 
| 321 321 | 
             
                      get_ranking_info == other.get_ranking_info &&
         | 
| 322 322 | 
             
                      relevancy_strictness == other.relevancy_strictness &&
         | 
| 323 | 
            -
                      facets == other.facets &&
         | 
| 324 323 | 
             
                      facet_filters == other.facet_filters &&
         | 
| 324 | 
            +
                      facets == other.facets &&
         | 
| 325 325 | 
             
                      optional_filters == other.optional_filters &&
         | 
| 326 326 | 
             
                      numeric_filters == other.numeric_filters &&
         | 
| 327 327 | 
             
                      hits_per_page == other.hits_per_page &&
         | 
| @@ -360,8 +360,8 @@ module Algolia | |
| 360 360 | 
             
                      page,
         | 
| 361 361 | 
             
                      get_ranking_info,
         | 
| 362 362 | 
             
                      relevancy_strictness,
         | 
| 363 | 
            -
                      facets,
         | 
| 364 363 | 
             
                      facet_filters,
         | 
| 364 | 
            +
                      facets,
         | 
| 365 365 | 
             
                      optional_filters,
         | 
| 366 366 | 
             
                      numeric_filters,
         | 
| 367 367 | 
             
                      hits_per_page,
         | 
    
        data/lib/algolia/version.rb
    CHANGED