@algolia/client-search 5.30.0 → 5.31.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.
package/dist/fetch.d.ts CHANGED
@@ -1503,11 +1503,11 @@ type TimeRange = {
1503
1503
  /**
1504
1504
  * When the rule should start to be active, in Unix epoch time.
1505
1505
  */
1506
- from: number;
1506
+ from?: number | undefined;
1507
1507
  /**
1508
1508
  * When the rule should stop to be active, in Unix epoch time.
1509
1509
  */
1510
- until: number;
1510
+ until?: number | undefined;
1511
1511
  };
1512
1512
 
1513
1513
  /**
@@ -3047,7 +3047,7 @@ type AccountCopyIndexOptions = {
3047
3047
  destinationIndexName: string;
3048
3048
  };
3049
3049
 
3050
- declare const apiClientVersion = "5.30.0";
3050
+ declare const apiClientVersion = "5.31.0";
3051
3051
  declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, ...options }: CreateClientOptions): {
3052
3052
  transporter: _algolia_client_common.Transporter;
3053
3053
  /**
package/dist/node.d.cts CHANGED
@@ -1503,11 +1503,11 @@ type TimeRange = {
1503
1503
  /**
1504
1504
  * When the rule should start to be active, in Unix epoch time.
1505
1505
  */
1506
- from: number;
1506
+ from?: number | undefined;
1507
1507
  /**
1508
1508
  * When the rule should stop to be active, in Unix epoch time.
1509
1509
  */
1510
- until: number;
1510
+ until?: number | undefined;
1511
1511
  };
1512
1512
 
1513
1513
  /**
@@ -3047,7 +3047,7 @@ type AccountCopyIndexOptions = {
3047
3047
  destinationIndexName: string;
3048
3048
  };
3049
3049
 
3050
- declare const apiClientVersion = "5.30.0";
3050
+ declare const apiClientVersion = "5.31.0";
3051
3051
  declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, ...options }: CreateClientOptions): {
3052
3052
  transporter: _algolia_client_common.Transporter;
3053
3053
  /**
package/dist/node.d.ts CHANGED
@@ -1503,11 +1503,11 @@ type TimeRange = {
1503
1503
  /**
1504
1504
  * When the rule should start to be active, in Unix epoch time.
1505
1505
  */
1506
- from: number;
1506
+ from?: number | undefined;
1507
1507
  /**
1508
1508
  * When the rule should stop to be active, in Unix epoch time.
1509
1509
  */
1510
- until: number;
1510
+ until?: number | undefined;
1511
1511
  };
1512
1512
 
1513
1513
  /**
@@ -3047,7 +3047,7 @@ type AccountCopyIndexOptions = {
3047
3047
  destinationIndexName: string;
3048
3048
  };
3049
3049
 
3050
- declare const apiClientVersion = "5.30.0";
3050
+ declare const apiClientVersion = "5.31.0";
3051
3051
  declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, ...options }: CreateClientOptions): {
3052
3052
  transporter: _algolia_client_common.Transporter;
3053
3053
  /**
@@ -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.30.0";
28
+ var apiClientVersion = "5.31.0";
29
29
  function getDefaultHosts(appId) {
30
30
  return [
31
31
  {