Skip to content

Commit 522e545

Browse files
algolia-botmillotp
andcommitted
chore: generated code for commit 28003717. [skip ci]
algolia/api-clients-automation@2800371 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Pierre Millot <[email protected]>
1 parent 6b8ed5b commit 522e545

File tree

2 files changed

+6
-54
lines changed

2 files changed

+6
-54
lines changed

src/main/scala/algoliasearch/ingestion/SourceShopify.scala

Lines changed: 3 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -25,36 +25,12 @@ package algoliasearch.ingestion
2525

2626
/** SourceShopify
2727
*
28-
* @param collectionIDIndexing
29-
* Whether to index collection IDs. If your store has `has_collection_search_page` set to true, collection IDs will
30-
* be indexed even if `collectionIDIndexing` is false.
31-
* @param increaseProductCollectionLimit
32-
* Whether to increase the number of indexed collections per product. If true, Algolia indexes 200 collections per
33-
* product. If false, 100 collections per product are indexed.
34-
* @param defaultPriceRatioAsOne
35-
* Whether to set the default price ratio to 1 if no sale price is present. The price ratio is determined by the
36-
* ratio: `sale_price` / `regular_price`. If no sale price is present, the price ratio would be 0. If
37-
* `defaultPriceRatioAsOne` is true, the price ratio is indexed as 1 instead.
38-
* @param excludeOOSVariantsForPriceAtTRS
39-
* Whether to exclude out-of-stock variants when determining the `max_variant_price` and `min_variant_price`
40-
* attributes.
41-
* @param includeVariantsInventory
42-
* Whether to include an inventory with every variant for every product record.
43-
* @param hasCollectionSearchPage
44-
* Whether to include collection IDs and handles in the product records.
45-
* @param productNamedTags
46-
* Whether to convert tags on products to named tags. To learn more, see [Named
47-
* tags](https://www.algolia.com/doc/integration/shopify/sending-and-managing-data/named-tags).
28+
* @param featureFlags
29+
* Feature flags for the Shopify source.
4830
* @param shopURL
4931
* URL of the Shopify store.
5032
*/
5133
case class SourceShopify(
52-
collectionIDIndexing: Option[Boolean] = scala.None,
53-
increaseProductCollectionLimit: Option[Boolean] = scala.None,
54-
defaultPriceRatioAsOne: Option[Boolean] = scala.None,
55-
excludeOOSVariantsForPriceAtTRS: Option[Boolean] = scala.None,
56-
includeVariantsInventory: Option[Boolean] = scala.None,
57-
hasCollectionSearchPage: Option[Boolean] = scala.None,
58-
productNamedTags: Option[Boolean] = scala.None,
34+
featureFlags: Option[Map[String, Any]] = scala.None,
5935
shopURL: String
6036
) extends SourceInputTrait

src/main/scala/algoliasearch/ingestion/SourceUpdateShopify.scala

Lines changed: 3 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -25,33 +25,9 @@ package algoliasearch.ingestion
2525

2626
/** SourceUpdateShopify
2727
*
28-
* @param collectionIDIndexing
29-
* Whether to index collection IDs. If your store has `has_collection_search_page` set to true, collection IDs will
30-
* be indexed even if `collectionIDIndexing` is false.
31-
* @param increaseProductCollectionLimit
32-
* Whether to increase the number of indexed collections per product. If true, Algolia indexes 200 collections per
33-
* product. If false, 100 collections per product are indexed.
34-
* @param defaultPriceRatioAsOne
35-
* Whether to set the default price ratio to 1 if no sale price is present. The price ratio is determined by the
36-
* ratio: `sale_price` / `regular_price`. If no sale price is present, the price ratio would be 0. If
37-
* `defaultPriceRatioAsOne` is true, the price ratio is indexed as 1 instead.
38-
* @param excludeOOSVariantsForPriceAtTRS
39-
* Whether to exclude out-of-stock variants when determining the `max_variant_price` and `min_variant_price`
40-
* attributes.
41-
* @param includeVariantsInventory
42-
* Whether to include an inventory with every variant for every product record.
43-
* @param hasCollectionSearchPage
44-
* Whether to include collection IDs and handles in the product records.
45-
* @param productNamedTags
46-
* Whether to convert tags on products to named tags. To learn more, see [Named
47-
* tags](https://www.algolia.com/doc/integration/shopify/sending-and-managing-data/named-tags).
28+
* @param featureFlags
29+
* Feature flags for the Shopify source.
4830
*/
4931
case class SourceUpdateShopify(
50-
collectionIDIndexing: Option[Boolean] = scala.None,
51-
increaseProductCollectionLimit: Option[Boolean] = scala.None,
52-
defaultPriceRatioAsOne: Option[Boolean] = scala.None,
53-
excludeOOSVariantsForPriceAtTRS: Option[Boolean] = scala.None,
54-
includeVariantsInventory: Option[Boolean] = scala.None,
55-
hasCollectionSearchPage: Option[Boolean] = scala.None,
56-
productNamedTags: Option[Boolean] = scala.None
32+
featureFlags: Option[Map[String, Any]] = scala.None
5733
) extends SourceUpdateInputTrait

0 commit comments

Comments
 (0)