Skip to content

Commit d04f3ac

Browse files
algolia-botsbellonemillotp
committed
feat(specs): add useImagesObjects property in commercetools source input (generated)
algolia/api-clients-automation#5586 Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com> Co-authored-by: Sylvain Bellone <sylvain.bellone@algolia.com> Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
1 parent d98998b commit d04f3ac

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ package algoliasearch.ingestion
2828
* @param productQueryPredicate
2929
* Predicate to filter out specific products when indexing. For more information, see [Query
3030
* Predicate](https://docs.commercetools.com/api/predicates/query).
31+
* @param useImagesObjects
32+
* When set to true, the connector indexes objects with all images attributes instead of only the URLs.
3133
*/
3234
case class SourceCommercetools(
3335
storeKeys: Option[Seq[String]] = scala.None,
@@ -36,5 +38,6 @@ case class SourceCommercetools(
3638
projectKey: String,
3739
fallbackIsInStockValue: Option[Boolean] = scala.None,
3840
productQueryPredicate: Option[String] = scala.None,
41+
useImagesObjects: Option[Boolean] = scala.None,
3942
customFields: Option[CommercetoolsCustomFields] = scala.None
4043
) extends SourceInputTrait

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,15 @@ package algoliasearch.ingestion
2828
* @param productQueryPredicate
2929
* Predicate to filter out specific products when indexing. For more information, see [Query
3030
* Predicate](https://docs.commercetools.com/api/predicates/query).
31+
* @param useImagesObjects
32+
* When set to true, the connector indexes objects with all images attributes instead of only the URLs.
3133
*/
3234
case class SourceUpdateCommercetools(
3335
storeKeys: Option[Seq[String]] = scala.None,
3436
locales: Option[Seq[String]] = scala.None,
3537
url: Option[String] = scala.None,
3638
fallbackIsInStockValue: Option[Boolean] = scala.None,
3739
productQueryPredicate: Option[String] = scala.None,
40+
useImagesObjects: Option[Boolean] = scala.None,
3841
customFields: Option[CommercetoolsCustomFields] = scala.None
3942
) extends SourceUpdateInputTrait

0 commit comments

Comments
 (0)