@algolia/client-search 5.13.0 → 5.14.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.
package/dist/fetch.d.ts CHANGED
@@ -3041,7 +3041,7 @@ type ReplaceAllObjectsOptions = {
3041
3041
  batchSize?: number;
3042
3042
  };
3043
3043
 
3044
- declare const apiClientVersion = "5.13.0";
3044
+ declare const apiClientVersion = "5.14.0";
3045
3045
  declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, ...options }: CreateClientOptions): {
3046
3046
  transporter: _algolia_client_common.Transporter;
3047
3047
  /**
@@ -3394,7 +3394,7 @@ declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption,
3394
3394
  * @param deleteBy.deleteByParams - The deleteByParams object.
3395
3395
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
3396
3396
  */
3397
- deleteBy({ indexName, deleteByParams }: DeleteByProps, requestOptions?: RequestOptions): Promise<DeletedAtResponse>;
3397
+ deleteBy({ indexName, deleteByParams }: DeleteByProps, requestOptions?: RequestOptions): Promise<UpdatedAtResponse>;
3398
3398
  /**
3399
3399
  * Deletes an index and all its settings. - Deleting an index doesn\'t delete its analytics data. - If you try to delete a non-existing index, the operation is ignored without warning. - If the index you want to delete has replica indices, the replicas become independent indices. - If the index you want to delete is a replica index, you must first unlink it from its primary index before you can delete it. For more information, see [Delete replica indices](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/how-to/deleting-replicas/).
3400
3400
  *
package/dist/node.d.cts CHANGED
@@ -3041,7 +3041,7 @@ type ReplaceAllObjectsOptions = {
3041
3041
  batchSize?: number;
3042
3042
  };
3043
3043
 
3044
- declare const apiClientVersion = "5.13.0";
3044
+ declare const apiClientVersion = "5.14.0";
3045
3045
  declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, ...options }: CreateClientOptions): {
3046
3046
  transporter: _algolia_client_common.Transporter;
3047
3047
  /**
@@ -3394,7 +3394,7 @@ declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption,
3394
3394
  * @param deleteBy.deleteByParams - The deleteByParams object.
3395
3395
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
3396
3396
  */
3397
- deleteBy({ indexName, deleteByParams }: DeleteByProps, requestOptions?: RequestOptions): Promise<DeletedAtResponse>;
3397
+ deleteBy({ indexName, deleteByParams }: DeleteByProps, requestOptions?: RequestOptions): Promise<UpdatedAtResponse>;
3398
3398
  /**
3399
3399
  * Deletes an index and all its settings. - Deleting an index doesn\'t delete its analytics data. - If you try to delete a non-existing index, the operation is ignored without warning. - If the index you want to delete has replica indices, the replicas become independent indices. - If the index you want to delete is a replica index, you must first unlink it from its primary index before you can delete it. For more information, see [Delete replica indices](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/how-to/deleting-replicas/).
3400
3400
  *
package/dist/node.d.ts CHANGED
@@ -3041,7 +3041,7 @@ type ReplaceAllObjectsOptions = {
3041
3041
  batchSize?: number;
3042
3042
  };
3043
3043
 
3044
- declare const apiClientVersion = "5.13.0";
3044
+ declare const apiClientVersion = "5.14.0";
3045
3045
  declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, ...options }: CreateClientOptions): {
3046
3046
  transporter: _algolia_client_common.Transporter;
3047
3047
  /**
@@ -3394,7 +3394,7 @@ declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption,
3394
3394
  * @param deleteBy.deleteByParams - The deleteByParams object.
3395
3395
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
3396
3396
  */
3397
- deleteBy({ indexName, deleteByParams }: DeleteByProps, requestOptions?: RequestOptions): Promise<DeletedAtResponse>;
3397
+ deleteBy({ indexName, deleteByParams }: DeleteByProps, requestOptions?: RequestOptions): Promise<UpdatedAtResponse>;
3398
3398
  /**
3399
3399
  * Deletes an index and all its settings. - Deleting an index doesn\'t delete its analytics data. - If you try to delete a non-existing index, the operation is ignored without warning. - If the index you want to delete has replica indices, the replicas become independent indices. - If the index you want to delete is a replica index, you must first unlink it from its primary index before you can delete it. For more information, see [Delete replica indices](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/how-to/deleting-replicas/).
3400
3400
  *
@@ -25,7 +25,7 @@ __export(searchClient_exports, {
25
25
  });
26
26
  module.exports = __toCommonJS(searchClient_exports);
27
27
  var import_client_common = require("@algolia/client-common");
28
- var apiClientVersion = "5.13.0";
28
+ var apiClientVersion = "5.14.0";
29
29
  function getDefaultHosts(appId) {
30
30
  return [
31
31
  {