Skip to content

Commit

Permalink
fix(specs): extend Analytics descriptions (generated)
Browse files Browse the repository at this point in the history
algolia/api-clients-automation#4360

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: gazconroy <gazconroyster@gmail.com>
Co-authored-by: Gary Conroy <gary.conroy@LON-M3P-GConroy.local>
Co-authored-by: Kai Welke <kai.welke@algolia.com>
  • Loading branch information
4 people committed Jan 16, 2025
1 parent 0d81a97 commit 175dd42
Show file tree
Hide file tree
Showing 21 changed files with 53 additions and 53 deletions.
42 changes: 21 additions & 21 deletions lib/Api/AnalyticsClient.php

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/Model/Analytics/DailyAddToCartRates.php
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ public function getRate()
/**
* Sets rate.
*
* @param float $rate 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.
* @param float $rate 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.
*
* @return self
*/
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/Analytics/DailyClickThroughRates.php
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ public function getRate()
/**
* Sets rate.
*
* @param float $rate 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.
* @param float $rate 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.
*
* @return self
*/
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/Analytics/DailyConversionRates.php
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ public function getRate()
/**
* Sets rate.
*
* @param float $rate 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.
* @param float $rate 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.
*
* @return self
*/
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/Analytics/DailyNoClickRates.php
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ public function getRate()
/**
* Sets rate.
*
* @param float $rate no click rate, calculated as number of tracked searches without any click divided by the number of tracked searches
* @param float $rate no click rate: calculated as the number of tracked searches without clicks divided by the number of tracked searches
*
* @return self
*/
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/Analytics/DailyNoResultsRates.php
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ public function getRate()
/**
* Sets rate.
*
* @param float $rate no results rate, calculated as number of searches with zero results divided by the total number of searches
* @param float $rate no results rate: calculated as the number of searches with zero results divided by the total number of searches
*
* @return self
*/
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/Analytics/DailyPurchaseRates.php
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ public function getRate()
/**
* Sets rate.
*
* @param float $rate 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.
* @param float $rate 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.
*
* @return self
*/
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/Analytics/DailyRevenue.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ public function getCurrencies()
/**
* Sets currencies.
*
* @param array<string,\Algolia\AlgoliaSearch\Model\Analytics\CurrencyCode> $currencies revenue associated with this search, broken-down by currencies
* @param array<string,\Algolia\AlgoliaSearch\Model\Analytics\CurrencyCode> $currencies revenue associated with this search: broken down by currency
*
* @return self
*/
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/Analytics/GetAddToCartRateResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ public function getRate()
/**
* Sets rate.
*
* @param float $rate 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.
* @param float $rate 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.
*
* @return self
*/
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/Analytics/GetClickThroughRateResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ public function getRate()
/**
* Sets rate.
*
* @param float $rate 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.
* @param float $rate 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.
*
* @return self
*/
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/Analytics/GetConversionRateResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ public function getRate()
/**
* Sets rate.
*
* @param float $rate 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.
* @param float $rate 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.
*
* @return self
*/
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/Analytics/GetNoClickRateResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ public function getRate()
/**
* Sets rate.
*
* @param float $rate no click rate, calculated as number of tracked searches without any click divided by the number of tracked searches
* @param float $rate no click rate: calculated as the number of tracked searches without clicks divided by the number of tracked searches
*
* @return self
*/
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/Analytics/GetNoResultsRateResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ public function getRate()
/**
* Sets rate.
*
* @param float $rate no results rate, calculated as number of searches with zero results divided by the total number of searches
* @param float $rate no results rate: calculated as the number of searches with zero results divided by the total number of searches
*
* @return self
*/
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/Analytics/GetPurchaseRateResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ public function getRate()
/**
* Sets rate.
*
* @param float $rate 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.
* @param float $rate 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.
*
* @return self
*/
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/Analytics/GetRevenue.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ public function getCurrencies()
/**
* Sets currencies.
*
* @param array<string,\Algolia\AlgoliaSearch\Model\Analytics\CurrencyCode> $currencies revenue associated with this search, broken-down by currencies
* @param array<string,\Algolia\AlgoliaSearch\Model\Analytics\CurrencyCode> $currencies revenue associated with this search: broken down by currency
*
* @return self
*/
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/Analytics/GetTopFiltersNoResultsResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public function getValues()
/**
* Sets values.
*
* @param \Algolia\AlgoliaSearch\Model\Analytics\GetTopFiltersNoResultsValues[] $values 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.
* @param \Algolia\AlgoliaSearch\Model\Analytics\GetTopFiltersNoResultsValues[] $values 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.
*
* @return self
*/
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/Analytics/TopHit.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ public function getHit()
/**
* Sets hit.
*
* @param string $hit object ID of a record that's returned as a search result
* @param string $hit object ID of a record returned as a search result
*
* @return self
*/
Expand Down
6 changes: 3 additions & 3 deletions lib/Model/Analytics/TopHitWithAnalytics.php
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ public function getHit()
/**
* Sets hit.
*
* @param string $hit object ID of a record that's returned as a search result
* @param string $hit object ID of a record returned as a search result
*
* @return self
*/
Expand Down Expand Up @@ -284,7 +284,7 @@ public function getClickThroughRate()
/**
* Sets clickThroughRate.
*
* @param float $clickThroughRate 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.
* @param float $clickThroughRate 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.
*
* @return self
*/
Expand All @@ -308,7 +308,7 @@ public function getConversionRate()
/**
* Sets conversionRate.
*
* @param float $conversionRate 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.
* @param float $conversionRate 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.
*
* @return self
*/
Expand Down
12 changes: 6 additions & 6 deletions lib/Model/Analytics/TopHitWithRevenueAnalytics.php
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ public function getHit()
/**
* Sets hit.
*
* @param string $hit object ID of a record that's returned as a search result
* @param string $hit object ID of a record returned as a search result
*
* @return self
*/
Expand Down Expand Up @@ -339,7 +339,7 @@ public function getClickThroughRate()
/**
* Sets clickThroughRate.
*
* @param float $clickThroughRate 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.
* @param float $clickThroughRate 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.
*
* @return self
*/
Expand All @@ -363,7 +363,7 @@ public function getConversionRate()
/**
* Sets conversionRate.
*
* @param float $conversionRate 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.
* @param float $conversionRate 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.
*
* @return self
*/
Expand Down Expand Up @@ -459,7 +459,7 @@ public function getAddToCartRate()
/**
* Sets addToCartRate.
*
* @param float $addToCartRate 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.
* @param float $addToCartRate 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.
*
* @return self
*/
Expand Down Expand Up @@ -507,7 +507,7 @@ public function getPurchaseRate()
/**
* Sets purchaseRate.
*
* @param float $purchaseRate 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.
* @param float $purchaseRate 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.
*
* @return self
*/
Expand Down Expand Up @@ -555,7 +555,7 @@ public function getCurrencies()
/**
* Sets currencies.
*
* @param array<string,\Algolia\AlgoliaSearch\Model\Analytics\CurrencyCode> $currencies revenue associated with this search, broken-down by currencies
* @param array<string,\Algolia\AlgoliaSearch\Model\Analytics\CurrencyCode> $currencies revenue associated with this search: broken down by currency
*
* @return self
*/
Expand Down
4 changes: 2 additions & 2 deletions lib/Model/Analytics/TopSearchWithAnalytics.php
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ public function getClickThroughRate()
/**
* Sets clickThroughRate.
*
* @param float $clickThroughRate 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.
* @param float $clickThroughRate 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.
*
* @return self
*/
Expand Down Expand Up @@ -389,7 +389,7 @@ public function getConversionRate()
/**
* Sets conversionRate.
*
* @param float $conversionRate 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.
* @param float $conversionRate 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.
*
* @return self
*/
Expand Down
10 changes: 5 additions & 5 deletions lib/Model/Analytics/TopSearchWithRevenueAnalytics.php
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ public function getClickThroughRate()
/**
* Sets clickThroughRate.
*
* @param float $clickThroughRate 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.
* @param float $clickThroughRate 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.
*
* @return self
*/
Expand Down Expand Up @@ -444,7 +444,7 @@ public function getConversionRate()
/**
* Sets conversionRate.
*
* @param float $conversionRate 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.
* @param float $conversionRate 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.
*
* @return self
*/
Expand Down Expand Up @@ -564,7 +564,7 @@ public function getCurrencies()
/**
* Sets currencies.
*
* @param array<string,\Algolia\AlgoliaSearch\Model\Analytics\CurrencyCode> $currencies revenue associated with this search, broken-down by currencies
* @param array<string,\Algolia\AlgoliaSearch\Model\Analytics\CurrencyCode> $currencies revenue associated with this search: broken down by currency
*
* @return self
*/
Expand All @@ -588,7 +588,7 @@ public function getAddToCartRate()
/**
* Sets addToCartRate.
*
* @param float $addToCartRate 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.
* @param float $addToCartRate 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.
*
* @return self
*/
Expand Down Expand Up @@ -636,7 +636,7 @@ public function getPurchaseRate()
/**
* Sets purchaseRate.
*
* @param float $purchaseRate 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.
* @param float $purchaseRate 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.
*
* @return self
*/
Expand Down

0 comments on commit 175dd42

Please sign in to comment.