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 <[email protected]>
Co-authored-by: gazconroy <[email protected]>
Co-authored-by: Gary Conroy <[email protected]>
Co-authored-by: Kai Welke <[email protected]>
  • Loading branch information
4 people committed Jan 16, 2025
1 parent 7fa7800 commit 2d621ef
Show file tree
Hide file tree
Showing 22 changed files with 55 additions and 55 deletions.
4 changes: 2 additions & 2 deletions packages/client-analytics/model/clientMethodProps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ export type GetTopHitsProps = {
*/
clickAnalytics?: boolean;
/**
* Whether to include revenue-related metrics in the response. If true, metrics related to click and conversion events are also included in the response.
* Whether to include metrics related to revenue events in the response.
*/
revenueAnalytics?: boolean;
/**
Expand Down Expand Up @@ -549,7 +549,7 @@ export type GetTopSearchesProps = {
*/
clickAnalytics?: boolean;
/**
* Whether to include revenue-related metrics in the response. If true, metrics related to click and conversion events are also included in the response.
* Whether to include metrics related to revenue events in the response.
*/
revenueAnalytics?: boolean;
/**
Expand Down
2 changes: 1 addition & 1 deletion packages/client-analytics/model/dailyAddToCartRates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

export type DailyAddToCartRates = {
/**
* 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.
* 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.
*/
rate: number | null;

Expand Down
2 changes: 1 addition & 1 deletion packages/client-analytics/model/dailyClickThroughRates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

export type DailyClickThroughRates = {
/**
* 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.
* 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.
*/
rate: number | null;

Expand Down
2 changes: 1 addition & 1 deletion packages/client-analytics/model/dailyConversionRates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

export type DailyConversionRates = {
/**
* 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.
* 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.
*/
rate: number | null;

Expand Down
2 changes: 1 addition & 1 deletion packages/client-analytics/model/dailyNoClickRates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

export type DailyNoClickRates = {
/**
* No click rate, calculated as number of tracked searches without any click divided by the number of tracked searches.
* No click rate: calculated as the number of tracked searches without clicks divided by the number of tracked searches.
*/
rate: number;

Expand Down
2 changes: 1 addition & 1 deletion packages/client-analytics/model/dailyNoResultsRates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export type DailyNoResultsRates = {
count: number;

/**
* No results rate, calculated as number of searches with zero results divided by the total number of searches.
* No results rate: calculated as the number of searches with zero results divided by the total number of searches.
*/
rate: number;
};
2 changes: 1 addition & 1 deletion packages/client-analytics/model/dailyPurchaseRates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

export type DailyPurchaseRates = {
/**
* 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.
* 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.
*/
rate: number | null;

Expand Down
2 changes: 1 addition & 1 deletion packages/client-analytics/model/dailyRevenue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type { CurrencyCode } from './currencyCode';

export type DailyRevenue = {
/**
* Revenue associated with this search, broken-down by currencies.
* Revenue associated with this search: broken down by currency.
*/
currencies: { [key: string]: CurrencyCode };

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type { DailyAddToCartRates } from './dailyAddToCartRates';

export type GetAddToCartRateResponse = {
/**
* 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.
* 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.
*/
rate: number | null;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type { DailyClickThroughRates } from './dailyClickThroughRates';

export type GetClickThroughRateResponse = {
/**
* 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.
* 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.
*/
rate: number | null;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type { DailyConversionRates } from './dailyConversionRates';

export type GetConversionRateResponse = {
/**
* 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.
* 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.
*/
rate: number | null;

Expand Down
2 changes: 1 addition & 1 deletion packages/client-analytics/model/getNoClickRateResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type { DailyNoClickRates } from './dailyNoClickRates';

export type GetNoClickRateResponse = {
/**
* No click rate, calculated as number of tracked searches without any click divided by the number of tracked searches.
* No click rate: calculated as the number of tracked searches without clicks divided by the number of tracked searches.
*/
rate: number;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type { DailyNoResultsRates } from './dailyNoResultsRates';

export type GetNoResultsRateResponse = {
/**
* No results rate, calculated as number of searches with zero results divided by the total number of searches.
* No results rate: calculated as the number of searches with zero results divided by the total number of searches.
*/
rate: number;

Expand Down
2 changes: 1 addition & 1 deletion packages/client-analytics/model/getPurchaseRateResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type { DailyPurchaseRates } from './dailyPurchaseRates';

export type GetPurchaseRateResponse = {
/**
* 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.
* 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.
*/
rate: number | null;

Expand Down
2 changes: 1 addition & 1 deletion packages/client-analytics/model/getRevenue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import type { DailyRevenue } from './dailyRevenue';

export type GetRevenue = {
/**
* Revenue associated with this search, broken-down by currencies.
* Revenue associated with this search: broken down by currency.
*/
currencies: { [key: string]: CurrencyCode };

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type { GetTopFiltersNoResultsValues } from './getTopFiltersNoResultsValue

export type GetTopFiltersNoResultsResponse = {
/**
* 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.
* 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.
*/
values: Array<GetTopFiltersNoResultsValues> | null;
};
2 changes: 1 addition & 1 deletion packages/client-analytics/model/topHit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

export type TopHit = {
/**
* Object ID of a record that\'s returned as a search result.
* Object ID of a record returned as a search result.
*/
hit: string;

Expand Down
6 changes: 3 additions & 3 deletions packages/client-analytics/model/topHitWithAnalytics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

export type TopHitWithAnalytics = {
/**
* Object ID of a record that\'s returned as a search result.
* Object ID of a record returned as a search result.
*/
hit: string;

Expand All @@ -12,12 +12,12 @@ export type TopHitWithAnalytics = {
count: number;

/**
* 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.
* 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.
*/
clickThroughRate: number | null;

/**
* 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.
* 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.
*/
conversionRate: number | null;

Expand Down
12 changes: 6 additions & 6 deletions packages/client-analytics/model/topHitWithRevenueAnalytics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type { CurrencyCode } from './currencyCode';

export type TopHitWithRevenueAnalytics = {
/**
* Object ID of a record that\'s returned as a search result.
* Object ID of a record returned as a search result.
*/
hit: string;

Expand All @@ -14,12 +14,12 @@ export type TopHitWithRevenueAnalytics = {
count: number;

/**
* 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.
* 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.
*/
clickThroughRate: number | null;

/**
* 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.
* 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.
*/
conversionRate: number | null;

Expand All @@ -39,7 +39,7 @@ export type TopHitWithRevenueAnalytics = {
conversionCount: number;

/**
* 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.
* 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.
*/
addToCartRate: number | null;

Expand All @@ -49,7 +49,7 @@ export type TopHitWithRevenueAnalytics = {
addToCartCount: number;

/**
* 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.
* 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.
*/
purchaseRate: number | null;

Expand All @@ -59,7 +59,7 @@ export type TopHitWithRevenueAnalytics = {
purchaseCount: number;

/**
* Revenue associated with this search, broken-down by currencies.
* Revenue associated with this search: broken down by currency.
*/
currencies: { [key: string]: CurrencyCode };
};
4 changes: 2 additions & 2 deletions packages/client-analytics/model/topSearchWithAnalytics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export type TopSearchWithAnalytics = {
count: number;

/**
* 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.
* 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.
*/
clickThroughRate: number | null;

Expand All @@ -29,7 +29,7 @@ export type TopSearchWithAnalytics = {
clickPositions: Array<ClickPosition>;

/**
* 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.
* 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.
*/
conversionRate: number | null;

Expand Down
10 changes: 5 additions & 5 deletions packages/client-analytics/model/topSearchWithRevenueAnalytics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export type TopSearchWithRevenueAnalytics = {
count: number;

/**
* 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.
* 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.
*/
clickThroughRate: number | null;

Expand All @@ -30,7 +30,7 @@ export type TopSearchWithRevenueAnalytics = {
clickPositions: Array<ClickPosition>;

/**
* 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.
* 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.
*/
conversionRate: number | null;

Expand All @@ -55,12 +55,12 @@ export type TopSearchWithRevenueAnalytics = {
nbHits: number;

/**
* Revenue associated with this search, broken-down by currencies.
* Revenue associated with this search: broken down by currency.
*/
currencies: { [key: string]: CurrencyCode };

/**
* 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.
* 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.
*/
addToCartRate: number | null;

Expand All @@ -70,7 +70,7 @@ export type TopSearchWithRevenueAnalytics = {
addToCartCount: number;

/**
* 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.
* 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.
*/
purchaseRate: number | null;

Expand Down
Loading

0 comments on commit 2d621ef

Please sign in to comment.