Skip to content

Commit 2d621ef

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 7fa7800 commit 2d621ef

22 files changed

+55
-55
lines changed

packages/client-analytics/model/clientMethodProps.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ export type GetTopHitsProps = {
511511
*/
512512
clickAnalytics?: boolean;
513513
/**
514-
* Whether to include revenue-related metrics in the response. If true, metrics related to click and conversion events are also included in the response.
514+
* Whether to include metrics related to revenue events in the response.
515515
*/
516516
revenueAnalytics?: boolean;
517517
/**
@@ -549,7 +549,7 @@ export type GetTopSearchesProps = {
549549
*/
550550
clickAnalytics?: boolean;
551551
/**
552-
* Whether to include revenue-related metrics in the response. If true, metrics related to click and conversion events are also included in the response.
552+
* Whether to include metrics related to revenue events in the response.
553553
*/
554554
revenueAnalytics?: boolean;
555555
/**

packages/client-analytics/model/dailyAddToCartRates.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
export type DailyAddToCartRates = {
44
/**
5-
* 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.
5+
* 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.
66
*/
77
rate: number | null;
88

packages/client-analytics/model/dailyClickThroughRates.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
export type DailyClickThroughRates = {
44
/**
5-
* 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.
5+
* 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.
66
*/
77
rate: number | null;
88

packages/client-analytics/model/dailyConversionRates.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
export type DailyConversionRates = {
44
/**
5-
* 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.
5+
* 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.
66
*/
77
rate: number | null;
88

packages/client-analytics/model/dailyNoClickRates.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
export type DailyNoClickRates = {
44
/**
5-
* No click rate, calculated as number of tracked searches without any click divided by the number of tracked searches.
5+
* No click rate: calculated as the number of tracked searches without clicks divided by the number of tracked searches.
66
*/
77
rate: number;
88

packages/client-analytics/model/dailyNoResultsRates.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export type DailyNoResultsRates = {
1717
count: number;
1818

1919
/**
20-
* No results rate, calculated as number of searches with zero results divided by the total number of searches.
20+
* No results rate: calculated as the number of searches with zero results divided by the total number of searches.
2121
*/
2222
rate: number;
2323
};

packages/client-analytics/model/dailyPurchaseRates.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
export type DailyPurchaseRates = {
44
/**
5-
* 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.
5+
* 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.
66
*/
77
rate: number | null;
88

packages/client-analytics/model/dailyRevenue.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import type { CurrencyCode } from './currencyCode';
44

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

packages/client-analytics/model/getAddToCartRateResponse.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import type { DailyAddToCartRates } from './dailyAddToCartRates';
44

55
export type GetAddToCartRateResponse = {
66
/**
7-
* 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.
7+
* 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.
88
*/
99
rate: number | null;
1010

packages/client-analytics/model/getClickThroughRateResponse.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import type { DailyClickThroughRates } from './dailyClickThroughRates';
44

55
export type GetClickThroughRateResponse = {
66
/**
7-
* 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.
7+
* 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.
88
*/
99
rate: number | null;
1010

packages/client-analytics/model/getConversionRateResponse.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import type { DailyConversionRates } from './dailyConversionRates';
44

55
export type GetConversionRateResponse = {
66
/**
7-
* 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.
7+
* 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.
88
*/
99
rate: number | null;
1010

packages/client-analytics/model/getNoClickRateResponse.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import type { DailyNoClickRates } from './dailyNoClickRates';
44

55
export type GetNoClickRateResponse = {
66
/**
7-
* No click rate, calculated as number of tracked searches without any click divided by the number of tracked searches.
7+
* No click rate: calculated as the number of tracked searches without clicks divided by the number of tracked searches.
88
*/
99
rate: number;
1010

packages/client-analytics/model/getNoResultsRateResponse.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import type { DailyNoResultsRates } from './dailyNoResultsRates';
44

55
export type GetNoResultsRateResponse = {
66
/**
7-
* No results rate, calculated as number of searches with zero results divided by the total number of searches.
7+
* No results rate: calculated as the number of searches with zero results divided by the total number of searches.
88
*/
99
rate: number;
1010

packages/client-analytics/model/getPurchaseRateResponse.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import type { DailyPurchaseRates } from './dailyPurchaseRates';
44

55
export type GetPurchaseRateResponse = {
66
/**
7-
* 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.
7+
* 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.
88
*/
99
rate: number | null;
1010

packages/client-analytics/model/getRevenue.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import type { DailyRevenue } from './dailyRevenue';
55

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

packages/client-analytics/model/getTopFiltersNoResultsResponse.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import type { GetTopFiltersNoResultsValues } from './getTopFiltersNoResultsValue
44

55
export type GetTopFiltersNoResultsResponse = {
66
/**
7-
* 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.
7+
* 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.
88
*/
99
values: Array<GetTopFiltersNoResultsValues> | null;
1010
};

packages/client-analytics/model/topHit.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
export type TopHit = {
44
/**
5-
* Object ID of a record that\'s returned as a search result.
5+
* Object ID of a record returned as a search result.
66
*/
77
hit: string;
88

packages/client-analytics/model/topHitWithAnalytics.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
export type TopHitWithAnalytics = {
44
/**
5-
* Object ID of a record that\'s returned as a search result.
5+
* Object ID of a record returned as a search result.
66
*/
77
hit: string;
88

@@ -12,12 +12,12 @@ export type TopHitWithAnalytics = {
1212
count: number;
1313

1414
/**
15-
* 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.
15+
* 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.
1616
*/
1717
clickThroughRate: number | null;
1818

1919
/**
20-
* 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.
20+
* 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.
2121
*/
2222
conversionRate: number | null;
2323

packages/client-analytics/model/topHitWithRevenueAnalytics.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import type { CurrencyCode } from './currencyCode';
44

55
export type TopHitWithRevenueAnalytics = {
66
/**
7-
* Object ID of a record that\'s returned as a search result.
7+
* Object ID of a record returned as a search result.
88
*/
99
hit: string;
1010

@@ -14,12 +14,12 @@ export type TopHitWithRevenueAnalytics = {
1414
count: number;
1515

1616
/**
17-
* 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.
17+
* 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.
1818
*/
1919
clickThroughRate: number | null;
2020

2121
/**
22-
* 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.
22+
* 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.
2323
*/
2424
conversionRate: number | null;
2525

@@ -39,7 +39,7 @@ export type TopHitWithRevenueAnalytics = {
3939
conversionCount: number;
4040

4141
/**
42-
* 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.
42+
* 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.
4343
*/
4444
addToCartRate: number | null;
4545

@@ -49,7 +49,7 @@ export type TopHitWithRevenueAnalytics = {
4949
addToCartCount: number;
5050

5151
/**
52-
* 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.
52+
* 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.
5353
*/
5454
purchaseRate: number | null;
5555

@@ -59,7 +59,7 @@ export type TopHitWithRevenueAnalytics = {
5959
purchaseCount: number;
6060

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

packages/client-analytics/model/topSearchWithAnalytics.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export type TopSearchWithAnalytics = {
1414
count: number;
1515

1616
/**
17-
* 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.
17+
* 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.
1818
*/
1919
clickThroughRate: number | null;
2020

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

3131
/**
32-
* 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.
32+
* 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.
3333
*/
3434
conversionRate: number | null;
3535

packages/client-analytics/model/topSearchWithRevenueAnalytics.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export type TopSearchWithRevenueAnalytics = {
1515
count: number;
1616

1717
/**
18-
* 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.
18+
* 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.
1919
*/
2020
clickThroughRate: number | null;
2121

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

3232
/**
33-
* 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.
33+
* 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.
3434
*/
3535
conversionRate: number | null;
3636

@@ -55,12 +55,12 @@ export type TopSearchWithRevenueAnalytics = {
5555
nbHits: number;
5656

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

6262
/**
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
*/
6565
addToCartRate: number | null;
6666

@@ -70,7 +70,7 @@ export type TopSearchWithRevenueAnalytics = {
7070
addToCartCount: number;
7171

7272
/**
73-
* 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.
73+
* 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.
7474
*/
7575
purchaseRate: number | null;
7676

0 commit comments

Comments
 (0)