Skip to content

Commit 333b4c9

Browse files
feat(specs): add CT Query predicate property (generated)
algolia/api-clients-automation#4654 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Morgan Leroi <[email protected]>
1 parent e52804f commit 333b4c9

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

src/main/scala/algoliasearch/ingestion/SourceCommercetools.scala

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,16 @@ package algoliasearch.ingestion
2525
* Locales for your commercetools stores.
2626
* @param fallbackIsInStockValue
2727
* Whether a fallback value is stored in the Algolia record if there's no inventory information about the product.
28+
* @param productQueryPredicate
29+
* Predicate to filter out specific products when indexing. For more information, see [Query
30+
* Predicate](https://docs.commercetools.com/api/predicates/query).
2831
*/
2932
case class SourceCommercetools(
3033
storeKeys: Option[Seq[String]] = scala.None,
3134
locales: Option[Seq[String]] = scala.None,
3235
url: String,
3336
projectKey: String,
3437
fallbackIsInStockValue: Option[Boolean] = scala.None,
38+
productQueryPredicate: Option[String] = scala.None,
3539
customFields: Option[CommercetoolsCustomFields] = scala.None
3640
) extends SourceInputTrait

src/main/scala/algoliasearch/ingestion/SourceUpdateCommercetools.scala

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,15 @@ package algoliasearch.ingestion
2525
* Locales for your commercetools stores.
2626
* @param fallbackIsInStockValue
2727
* Whether a fallback value is stored in the Algolia record if there's no inventory information about the product.
28+
* @param productQueryPredicate
29+
* Predicate to filter out specific products when indexing. For more information, see [Query
30+
* Predicate](https://docs.commercetools.com/api/predicates/query).
2831
*/
2932
case class SourceUpdateCommercetools(
3033
storeKeys: Option[Seq[String]] = scala.None,
3134
locales: Option[Seq[String]] = scala.None,
3235
url: Option[String] = scala.None,
3336
fallbackIsInStockValue: Option[Boolean] = scala.None,
37+
productQueryPredicate: Option[String] = scala.None,
3438
customFields: Option[CommercetoolsCustomFields] = scala.None
3539
) extends SourceUpdateInputTrait

0 commit comments

Comments
 (0)