Skip to content

Commit 57d3aba

Browse files
fix(specs): support synonyms type in camel case [skip-bc] (generated)
algolia/api-clients-automation#4031 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Clément Vannicatte <[email protected]>
1 parent 9e25b6b commit 57d3aba

12 files changed

+23
-17
lines changed

algoliasearch/ingestion/models/big_query_data_type.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ class BigQueryDataType(str, Enum):
2424
"""
2525
allowed enum values
2626
"""
27-
GA4 = "ga4"
27+
GA_4 = "ga4"
2828

29-
GA360 = "ga360"
29+
GA_360 = "ga360"
3030

3131
@classmethod
3232
def from_json(cls, json_str: str) -> Self:

algoliasearch/ingestion/models/mapping_format_schema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class MappingFormatSchema(str, Enum):
2424
"""
2525
allowed enum values
2626
"""
27-
MAPPINGKIT_SLASH_V1 = "mappingkit/v1"
27+
MAPPINGKIT_V_1 = "mappingkit/v1"
2828

2929
@classmethod
3030
def from_json(cls, json_str: str) -> Self:

algoliasearch/recommend/models/fbt_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class FbtModel(str, Enum):
2424
"""
2525
allowed enum values
2626
"""
27-
BOUGHT_MINUS_TOGETHER = "bought-together"
27+
BOUGHT_TOGETHER = "bought-together"
2828

2929
@classmethod
3030
def from_json(cls, json_str: str) -> Self:

algoliasearch/recommend/models/looking_similar_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class LookingSimilarModel(str, Enum):
2424
"""
2525
allowed enum values
2626
"""
27-
LOOKING_MINUS_SIMILAR = "looking-similar"
27+
LOOKING_SIMILAR = "looking-similar"
2828

2929
@classmethod
3030
def from_json(cls, json_str: str) -> Self:

algoliasearch/recommend/models/recommend_models.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ class RecommendModels(str, Enum):
2424
"""
2525
allowed enum values
2626
"""
27-
RELATED_MINUS_PRODUCTS = "related-products"
27+
RELATED_PRODUCTS = "related-products"
2828

29-
BOUGHT_MINUS_TOGETHER = "bought-together"
29+
BOUGHT_TOGETHER = "bought-together"
3030

31-
TRENDING_MINUS_FACETS = "trending-facets"
31+
TRENDING_FACETS = "trending-facets"
3232

33-
TRENDING_MINUS_ITEMS = "trending-items"
33+
TRENDING_ITEMS = "trending-items"
3434

3535
@classmethod
3636
def from_json(cls, json_str: str) -> Self:

algoliasearch/recommend/models/recommended_for_you_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class RecommendedForYouModel(str, Enum):
2424
"""
2525
allowed enum values
2626
"""
27-
RECOMMENDED_MINUS_FOR_MINUS_YOU = "recommended-for-you"
27+
RECOMMENDED_FOR_YOU = "recommended-for-you"
2828

2929
@classmethod
3030
def from_json(cls, json_str: str) -> Self:

algoliasearch/recommend/models/related_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class RelatedModel(str, Enum):
2424
"""
2525
allowed enum values
2626
"""
27-
RELATED_MINUS_PRODUCTS = "related-products"
27+
RELATED_PRODUCTS = "related-products"
2828

2929
@classmethod
3030
def from_json(cls, json_str: str) -> Self:

algoliasearch/recommend/models/supported_language.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ class SupportedLanguage(str, Enum):
122122

123123
PT = "pt"
124124

125-
PT_MINUS_BR = "pt-br"
125+
PT_BR = "pt-br"
126126

127127
QU = "qu"
128128

algoliasearch/recommend/models/trending_facets_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class TrendingFacetsModel(str, Enum):
2424
"""
2525
allowed enum values
2626
"""
27-
TRENDING_MINUS_FACETS = "trending-facets"
27+
TRENDING_FACETS = "trending-facets"
2828

2929
@classmethod
3030
def from_json(cls, json_str: str) -> Self:

algoliasearch/recommend/models/trending_items_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class TrendingItemsModel(str, Enum):
2424
"""
2525
allowed enum values
2626
"""
27-
TRENDING_MINUS_ITEMS = "trending-items"
27+
TRENDING_ITEMS = "trending-items"
2828

2929
@classmethod
3030
def from_json(cls, json_str: str) -> Self:

0 commit comments

Comments
 (0)