@algolia/ingestion 1.22.0 → 1.23.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
@@ -609,6 +609,10 @@ type SourceCommercetools = {
609
609
  * Whether a fallback value is stored in the Algolia record if there\'s no inventory information about the product.
610
610
  */
611
611
  fallbackIsInStockValue?: boolean;
612
+ /**
613
+ * Predicate to filter out specific products when indexing. For more information, see [Query Predicate](https://docs.commercetools.com/api/predicates/query).
614
+ */
615
+ productQueryPredicate?: string;
612
616
  customFields?: CommercetoolsCustomFields;
613
617
  };
614
618
 
@@ -1550,6 +1554,10 @@ type SourceUpdateCommercetools = {
1550
1554
  * Whether a fallback value is stored in the Algolia record if there\'s no inventory information about the product.
1551
1555
  */
1552
1556
  fallbackIsInStockValue?: boolean;
1557
+ /**
1558
+ * Predicate to filter out specific products when indexing. For more information, see [Query Predicate](https://docs.commercetools.com/api/predicates/query).
1559
+ */
1560
+ productQueryPredicate?: string;
1553
1561
  customFields?: CommercetoolsCustomFields;
1554
1562
  };
1555
1563
 
@@ -2301,7 +2309,7 @@ type ValidateSourceBeforeUpdateProps = {
2301
2309
  sourceUpdate: SourceUpdate;
2302
2310
  };
2303
2311
 
2304
- declare const apiClientVersion = "1.22.0";
2312
+ declare const apiClientVersion = "1.23.0";
2305
2313
  declare const REGIONS: readonly ["eu", "us"];
2306
2314
  type Region = (typeof REGIONS)[number];
2307
2315
  type RegionOptions = {
package/dist/node.d.cts CHANGED
@@ -609,6 +609,10 @@ type SourceCommercetools = {
609
609
  * Whether a fallback value is stored in the Algolia record if there\'s no inventory information about the product.
610
610
  */
611
611
  fallbackIsInStockValue?: boolean;
612
+ /**
613
+ * Predicate to filter out specific products when indexing. For more information, see [Query Predicate](https://docs.commercetools.com/api/predicates/query).
614
+ */
615
+ productQueryPredicate?: string;
612
616
  customFields?: CommercetoolsCustomFields;
613
617
  };
614
618
 
@@ -1550,6 +1554,10 @@ type SourceUpdateCommercetools = {
1550
1554
  * Whether a fallback value is stored in the Algolia record if there\'s no inventory information about the product.
1551
1555
  */
1552
1556
  fallbackIsInStockValue?: boolean;
1557
+ /**
1558
+ * Predicate to filter out specific products when indexing. For more information, see [Query Predicate](https://docs.commercetools.com/api/predicates/query).
1559
+ */
1560
+ productQueryPredicate?: string;
1553
1561
  customFields?: CommercetoolsCustomFields;
1554
1562
  };
1555
1563
 
@@ -2301,7 +2309,7 @@ type ValidateSourceBeforeUpdateProps = {
2301
2309
  sourceUpdate: SourceUpdate;
2302
2310
  };
2303
2311
 
2304
- declare const apiClientVersion = "1.22.0";
2312
+ declare const apiClientVersion = "1.23.0";
2305
2313
  declare const REGIONS: readonly ["eu", "us"];
2306
2314
  type Region = (typeof REGIONS)[number];
2307
2315
  type RegionOptions = {
package/dist/node.d.ts CHANGED
@@ -609,6 +609,10 @@ type SourceCommercetools = {
609
609
  * Whether a fallback value is stored in the Algolia record if there\'s no inventory information about the product.
610
610
  */
611
611
  fallbackIsInStockValue?: boolean;
612
+ /**
613
+ * Predicate to filter out specific products when indexing. For more information, see [Query Predicate](https://docs.commercetools.com/api/predicates/query).
614
+ */
615
+ productQueryPredicate?: string;
612
616
  customFields?: CommercetoolsCustomFields;
613
617
  };
614
618
 
@@ -1550,6 +1554,10 @@ type SourceUpdateCommercetools = {
1550
1554
  * Whether a fallback value is stored in the Algolia record if there\'s no inventory information about the product.
1551
1555
  */
1552
1556
  fallbackIsInStockValue?: boolean;
1557
+ /**
1558
+ * Predicate to filter out specific products when indexing. For more information, see [Query Predicate](https://docs.commercetools.com/api/predicates/query).
1559
+ */
1560
+ productQueryPredicate?: string;
1553
1561
  customFields?: CommercetoolsCustomFields;
1554
1562
  };
1555
1563
 
@@ -2301,7 +2309,7 @@ type ValidateSourceBeforeUpdateProps = {
2301
2309
  sourceUpdate: SourceUpdate;
2302
2310
  };
2303
2311
 
2304
- declare const apiClientVersion = "1.22.0";
2312
+ declare const apiClientVersion = "1.23.0";
2305
2313
  declare const REGIONS: readonly ["eu", "us"];
2306
2314
  type Region = (typeof REGIONS)[number];
2307
2315
  type RegionOptions = {
@@ -29,7 +29,7 @@ __export(ingestionClient_exports, {
29
29
  });
30
30
  module.exports = __toCommonJS(ingestionClient_exports);
31
31
  var import_client_common = require("@algolia/client-common");
32
- var apiClientVersion = "1.22.0";
32
+ var apiClientVersion = "1.23.0";
33
33
  var REGIONS = ["eu", "us"];
34
34
  function getDefaultHosts(region) {
35
35
  const url = "data.{region}.algolia.com".replace("{region}", region);