Skip to content

Commit 31666b2

Browse files
algolia-botgazconroyGary Conroykai687
committed
fix(specs): extend Analytics descriptions (generated)
algolia/api-clients-automation#4360 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: gazconroy <[email protected]> Co-authored-by: Gary Conroy <[email protected]> Co-authored-by: Kai Welke <[email protected]>
1 parent 5c5ae5f commit 31666b2

21 files changed

+124
-124
lines changed

algoliasearch/analytics/client.py

Lines changed: 92 additions & 92 deletions
Large diffs are not rendered by default.

algoliasearch/analytics/models/daily_add_to_cart_rates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class DailyAddToCartRates(BaseModel):
3636
"""
3737

3838
rate: float
39-
""" Add-to-cart rate, calculated as number of tracked searches with at least one add-to-cart event divided by the number of tracked searches. If null, Algolia didn't receive any search requests with `clickAnalytics` set to true. """
39+
""" Add-to-cart rate: calculated as the number of tracked searches with at least one add-to-cart event divided by the number of tracked searches. If null, Algolia didn't receive any search requests with `clickAnalytics` set to true. """
4040
tracked_search_count: int
4141
""" Number of tracked searches. Tracked searches are search requests where the `clickAnalytics` parameter is true. """
4242
add_to_cart_count: int

algoliasearch/analytics/models/daily_click_through_rates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class DailyClickThroughRates(BaseModel):
3636
"""
3737

3838
rate: float
39-
""" Click-through rate, calculated as number of tracked searches with at least one click event divided by the number of tracked searches. If null, Algolia didn't receive any search requests with `clickAnalytics` set to true. """
39+
""" Click-through rate: calculated as the number of tracked searches with at least one click event divided by the number of tracked searches. If null, Algolia didn't receive any search requests with `clickAnalytics` set to true. """
4040
click_count: int
4141
""" Number of clicks associated with this search. """
4242
tracked_search_count: int

algoliasearch/analytics/models/daily_conversion_rates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class DailyConversionRates(BaseModel):
3636
"""
3737

3838
rate: float
39-
""" Conversion rate, calculated as number of tracked searches with at least one conversion event divided by the number of tracked searches. If null, Algolia didn't receive any search requests with `clickAnalytics` set to true. """
39+
""" Conversion rate: calculated as the number of tracked searches with at least one conversion event divided by the number of tracked searches. If null, Algolia didn't receive any search requests with `clickAnalytics` set to true. """
4040
tracked_search_count: int
4141
""" Number of tracked searches. Tracked searches are search requests where the `clickAnalytics` parameter is true. """
4242
conversion_count: int

algoliasearch/analytics/models/daily_no_click_rates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class DailyNoClickRates(BaseModel):
3636
"""
3737

3838
rate: float
39-
""" No click rate, calculated as number of tracked searches without any click divided by the number of tracked searches. """
39+
""" No click rate: calculated as the number of tracked searches without clicks divided by the number of tracked searches. """
4040
count: int
4141
""" Number of tracked searches. Tracked searches are search requests where the `clickAnalytics` parameter is true. """
4242
no_click_count: int

algoliasearch/analytics/models/daily_no_results_rates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class DailyNoResultsRates(BaseModel):
4242
count: int
4343
""" Number of searches. """
4444
rate: float
45-
""" No results rate, calculated as number of searches with zero results divided by the total number of searches. """
45+
""" No results rate: calculated as the number of searches with zero results divided by the total number of searches. """
4646

4747
model_config = ConfigDict(
4848
strict=False,

algoliasearch/analytics/models/daily_purchase_rates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class DailyPurchaseRates(BaseModel):
3636
"""
3737

3838
rate: float
39-
""" Purchase rate, calculated as number of tracked searches with at least one purchase event divided by the number of tracked searches. If null, Algolia didn't receive any search requests with `clickAnalytics` set to true. """
39+
""" Purchase rate: calculated as the number of tracked searches with at least one purchase event divided by the number of tracked searches. If null, Algolia didn't receive any search requests with `clickAnalytics` set to true. """
4040
tracked_search_count: int
4141
""" Number of tracked searches. Tracked searches are search requests where the `clickAnalytics` parameter is true. """
4242
purchase_count: int

algoliasearch/analytics/models/daily_revenue.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class DailyRevenue(BaseModel):
3636
"""
3737

3838
currencies: Dict[str, CurrencyCode]
39-
""" Revenue associated with this search, broken-down by currencies. """
39+
""" Revenue associated with this search: broken down by currency. """
4040
var_date: str
4141
""" Date in the format YYYY-MM-DD. """
4242

algoliasearch/analytics/models/get_add_to_cart_rate_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class GetAddToCartRateResponse(BaseModel):
3838
"""
3939

4040
rate: float
41-
""" Add-to-cart rate, calculated as number of tracked searches with at least one add-to-cart event divided by the number of tracked searches. If null, Algolia didn't receive any search requests with `clickAnalytics` set to true. """
41+
""" Add-to-cart rate: calculated as the number of tracked searches with at least one add-to-cart event divided by the number of tracked searches. If null, Algolia didn't receive any search requests with `clickAnalytics` set to true. """
4242
tracked_search_count: int
4343
""" Number of tracked searches. Tracked searches are search requests where the `clickAnalytics` parameter is true. """
4444
add_to_cart_count: int

algoliasearch/analytics/models/get_click_through_rate_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class GetClickThroughRateResponse(BaseModel):
4040
"""
4141

4242
rate: float
43-
""" Click-through rate, calculated as number of tracked searches with at least one click event divided by the number of tracked searches. If null, Algolia didn't receive any search requests with `clickAnalytics` set to true. """
43+
""" Click-through rate: calculated as the number of tracked searches with at least one click event divided by the number of tracked searches. If null, Algolia didn't receive any search requests with `clickAnalytics` set to true. """
4444
click_count: int
4545
""" Number of clicks associated with this search. """
4646
tracked_search_count: int

algoliasearch/analytics/models/get_conversion_rate_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class GetConversionRateResponse(BaseModel):
3838
"""
3939

4040
rate: float
41-
""" Conversion rate, calculated as number of tracked searches with at least one conversion event divided by the number of tracked searches. If null, Algolia didn't receive any search requests with `clickAnalytics` set to true. """
41+
""" Conversion rate: calculated as the number of tracked searches with at least one conversion event divided by the number of tracked searches. If null, Algolia didn't receive any search requests with `clickAnalytics` set to true. """
4242
tracked_search_count: int
4343
""" Number of tracked searches. Tracked searches are search requests where the `clickAnalytics` parameter is true. """
4444
conversion_count: int

algoliasearch/analytics/models/get_no_click_rate_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class GetNoClickRateResponse(BaseModel):
3838
"""
3939

4040
rate: float
41-
""" No click rate, calculated as number of tracked searches without any click divided by the number of tracked searches. """
41+
""" No click rate: calculated as the number of tracked searches without clicks divided by the number of tracked searches. """
4242
count: int
4343
""" Number of tracked searches. Tracked searches are search requests where the `clickAnalytics` parameter is true. """
4444
no_click_count: int

algoliasearch/analytics/models/get_no_results_rate_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class GetNoResultsRateResponse(BaseModel):
3838
"""
3939

4040
rate: float
41-
""" No results rate, calculated as number of searches with zero results divided by the total number of searches. """
41+
""" No results rate: calculated as the number of searches with zero results divided by the total number of searches. """
4242
count: int
4343
""" Number of searches. """
4444
no_result_count: int

algoliasearch/analytics/models/get_purchase_rate_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class GetPurchaseRateResponse(BaseModel):
3838
"""
3939

4040
rate: float
41-
""" Purchase rate, calculated as number of tracked searches with at least one purchase event divided by the number of tracked searches. If null, Algolia didn't receive any search requests with `clickAnalytics` set to true. """
41+
""" Purchase rate: calculated as the number of tracked searches with at least one purchase event divided by the number of tracked searches. If null, Algolia didn't receive any search requests with `clickAnalytics` set to true. """
4242
tracked_search_count: int
4343
""" Number of tracked searches. Tracked searches are search requests where the `clickAnalytics` parameter is true. """
4444
purchase_count: int

algoliasearch/analytics/models/get_revenue.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class GetRevenue(BaseModel):
3737
"""
3838

3939
currencies: Dict[str, CurrencyCode]
40-
""" Revenue associated with this search, broken-down by currencies. """
40+
""" Revenue associated with this search: broken down by currency. """
4141
dates: List[DailyRevenue]
4242
""" Daily revenue. """
4343

algoliasearch/analytics/models/get_top_filters_no_results_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class GetTopFiltersNoResultsResponse(BaseModel):
3737
"""
3838

3939
values: List[GetTopFiltersNoResultsValues]
40-
""" Filters for searches without any results. If null, the search term specified with the `search` parameter is not a search without results, or the `search` parameter is absent from the request. """
40+
""" Filters for searches without any results. If null, the search term specified with the `search` parameter isn't a search without results, or the `search` parameter is absent from the request. """
4141

4242
model_config = ConfigDict(
4343
strict=False,

algoliasearch/analytics/models/top_hit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class TopHit(BaseModel):
3434
"""
3535

3636
hit: str
37-
""" Object ID of a record that's returned as a search result. """
37+
""" Object ID of a record returned as a search result. """
3838
count: int
3939
""" Number of occurrences. """
4040

algoliasearch/analytics/models/top_hit_with_analytics.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ class TopHitWithAnalytics(BaseModel):
3939
"""
4040

4141
hit: str
42-
""" Object ID of a record that's returned as a search result. """
42+
""" Object ID of a record returned as a search result. """
4343
count: int
4444
""" Number of occurrences. """
4545
click_through_rate: float
46-
""" Click-through rate, calculated as number of tracked searches with at least one click event divided by the number of tracked searches. If null, Algolia didn't receive any search requests with `clickAnalytics` set to true. """
46+
""" Click-through rate: calculated as the number of tracked searches with at least one click event divided by the number of tracked searches. If null, Algolia didn't receive any search requests with `clickAnalytics` set to true. """
4747
conversion_rate: float
48-
""" Conversion rate, calculated as number of tracked searches with at least one conversion event divided by the number of tracked searches. If null, Algolia didn't receive any search requests with `clickAnalytics` set to true. """
48+
""" Conversion rate: calculated as the number of tracked searches with at least one conversion event divided by the number of tracked searches. If null, Algolia didn't receive any search requests with `clickAnalytics` set to true. """
4949
tracked_hit_count: int
5050
""" Number of tracked searches. Tracked searches are search requests where the `clickAnalytics` parameter is true. """
5151
click_count: int

algoliasearch/analytics/models/top_hit_with_revenue_analytics.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,29 +46,29 @@ class TopHitWithRevenueAnalytics(BaseModel):
4646
"""
4747

4848
hit: str
49-
""" Object ID of a record that's returned as a search result. """
49+
""" Object ID of a record returned as a search result. """
5050
count: int
5151
""" Number of occurrences. """
5252
click_through_rate: float
53-
""" Click-through rate, calculated as number of tracked searches with at least one click event divided by the number of tracked searches. If null, Algolia didn't receive any search requests with `clickAnalytics` set to true. """
53+
""" Click-through rate: calculated as the number of tracked searches with at least one click event divided by the number of tracked searches. If null, Algolia didn't receive any search requests with `clickAnalytics` set to true. """
5454
conversion_rate: float
55-
""" Conversion rate, calculated as number of tracked searches with at least one conversion event divided by the number of tracked searches. If null, Algolia didn't receive any search requests with `clickAnalytics` set to true. """
55+
""" Conversion rate: calculated as the number of tracked searches with at least one conversion event divided by the number of tracked searches. If null, Algolia didn't receive any search requests with `clickAnalytics` set to true. """
5656
tracked_hit_count: int
5757
""" Number of tracked searches. Tracked searches are search requests where the `clickAnalytics` parameter is true. """
5858
click_count: int
5959
""" Number of clicks associated with this search. """
6060
conversion_count: int
6161
""" Number of conversions from this search. """
6262
add_to_cart_rate: float
63-
""" Add-to-cart rate, calculated as number of tracked searches with at least one add-to-cart event divided by the number of tracked searches. If null, Algolia didn't receive any search requests with `clickAnalytics` set to true. """
63+
""" Add-to-cart rate: calculated as the number of tracked searches with at least one add-to-cart event divided by the number of tracked searches. If null, Algolia didn't receive any search requests with `clickAnalytics` set to true. """
6464
add_to_cart_count: int
6565
""" Number of add-to-cart events from this search. """
6666
purchase_rate: float
67-
""" Purchase rate, calculated as number of tracked searches with at least one purchase event divided by the number of tracked searches. If null, Algolia didn't receive any search requests with `clickAnalytics` set to true. """
67+
""" Purchase rate: calculated as the number of tracked searches with at least one purchase event divided by the number of tracked searches. If null, Algolia didn't receive any search requests with `clickAnalytics` set to true. """
6868
purchase_count: int
6969
""" Number of purchase events from this search. """
7070
currencies: Dict[str, CurrencyCode]
71-
""" Revenue associated with this search, broken-down by currencies. """
71+
""" Revenue associated with this search: broken down by currency. """
7272

7373
model_config = ConfigDict(
7474
strict=False,

algoliasearch/analytics/models/top_search_with_analytics.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,13 @@ class TopSearchWithAnalytics(BaseModel):
4848
count: int
4949
""" Number of searches. """
5050
click_through_rate: float
51-
""" Click-through rate, calculated as number of tracked searches with at least one click event divided by the number of tracked searches. If null, Algolia didn't receive any search requests with `clickAnalytics` set to true. """
51+
""" Click-through rate: calculated as the number of tracked searches with at least one click event divided by the number of tracked searches. If null, Algolia didn't receive any search requests with `clickAnalytics` set to true. """
5252
average_click_position: float
5353
""" Average position of a clicked search result in the list of search results. If null, Algolia didn't receive any search requests with `clickAnalytics` set to true. """
5454
click_positions: List[ClickPosition]
5555
""" List of positions in the search results and clicks associated with this search. """
5656
conversion_rate: float
57-
""" Conversion rate, calculated as number of tracked searches with at least one conversion event divided by the number of tracked searches. If null, Algolia didn't receive any search requests with `clickAnalytics` set to true. """
57+
""" Conversion rate: calculated as the number of tracked searches with at least one conversion event divided by the number of tracked searches. If null, Algolia didn't receive any search requests with `clickAnalytics` set to true. """
5858
tracked_search_count: int
5959
""" Number of tracked searches. Tracked searches are search requests where the `clickAnalytics` parameter is true. """
6060
click_count: int

algoliasearch/analytics/models/top_search_with_revenue_analytics.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,13 @@ class TopSearchWithRevenueAnalytics(BaseModel):
5454
count: int
5555
""" Number of searches. """
5656
click_through_rate: float
57-
""" Click-through rate, calculated as number of tracked searches with at least one click event divided by the number of tracked searches. If null, Algolia didn't receive any search requests with `clickAnalytics` set to true. """
57+
""" Click-through rate: calculated as the number of tracked searches with at least one click event divided by the number of tracked searches. If null, Algolia didn't receive any search requests with `clickAnalytics` set to true. """
5858
average_click_position: float
5959
""" Average position of a clicked search result in the list of search results. If null, Algolia didn't receive any search requests with `clickAnalytics` set to true. """
6060
click_positions: List[ClickPosition]
6161
""" List of positions in the search results and clicks associated with this search. """
6262
conversion_rate: float
63-
""" Conversion rate, calculated as number of tracked searches with at least one conversion event divided by the number of tracked searches. If null, Algolia didn't receive any search requests with `clickAnalytics` set to true. """
63+
""" Conversion rate: calculated as the number of tracked searches with at least one conversion event divided by the number of tracked searches. If null, Algolia didn't receive any search requests with `clickAnalytics` set to true. """
6464
tracked_search_count: int
6565
""" Number of tracked searches. Tracked searches are search requests where the `clickAnalytics` parameter is true. """
6666
click_count: int
@@ -70,13 +70,13 @@ class TopSearchWithRevenueAnalytics(BaseModel):
7070
nb_hits: int
7171
""" Number of results (hits). """
7272
currencies: Dict[str, CurrencyCode]
73-
""" Revenue associated with this search, broken-down by currencies. """
73+
""" Revenue associated with this search: broken down by currency. """
7474
add_to_cart_rate: float
75-
""" Add-to-cart rate, calculated as number of tracked searches with at least one add-to-cart event divided by the number of tracked searches. If null, Algolia didn't receive any search requests with `clickAnalytics` set to true. """
75+
""" Add-to-cart rate: calculated as the number of tracked searches with at least one add-to-cart event divided by the number of tracked searches. If null, Algolia didn't receive any search requests with `clickAnalytics` set to true. """
7676
add_to_cart_count: int
7777
""" Number of add-to-cart events from this search. """
7878
purchase_rate: float
79-
""" Purchase rate, calculated as number of tracked searches with at least one purchase event divided by the number of tracked searches. If null, Algolia didn't receive any search requests with `clickAnalytics` set to true. """
79+
""" Purchase rate: calculated as the number of tracked searches with at least one purchase event divided by the number of tracked searches. If null, Algolia didn't receive any search requests with `clickAnalytics` set to true. """
8080
purchase_count: int
8181
""" Number of purchase events from this search. """
8282

0 commit comments

Comments
 (0)