@algolia/client-analytics 5.0.0-alpha.8 → 5.0.0-alpha.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/builds/browser.d.ts +5 -5
- package/dist/builds/browser.d.ts.map +1 -1
- package/dist/builds/node.d.ts +5 -5
- package/dist/builds/node.d.ts.map +1 -1
- package/dist/{client-analytics.cjs.js → client-analytics.cjs} +922 -924
- package/dist/client-analytics.esm.browser.js +1105 -1153
- package/dist/client-analytics.esm.node.js +922 -922
- package/dist/client-analytics.umd.js +2 -2
- package/dist/model/averageClickEvent.d.ts +14 -14
- package/dist/model/averageClickEvent.d.ts.map +1 -1
- package/dist/model/clickPosition.d.ts +10 -10
- package/dist/model/clickPosition.d.ts.map +1 -1
- package/dist/model/clickThroughRateEvent.d.ts +18 -18
- package/dist/model/clickThroughRateEvent.d.ts.map +1 -1
- package/dist/model/clientMethodProps.d.ts +507 -507
- package/dist/model/clientMethodProps.d.ts.map +1 -1
- package/dist/model/conversionRateEvent.d.ts +18 -18
- package/dist/model/conversionRateEvent.d.ts.map +1 -1
- package/dist/model/direction.d.ts +1 -1
- package/dist/model/direction.d.ts.map +1 -1
- package/dist/model/errorBase.d.ts +6 -6
- package/dist/model/errorBase.d.ts.map +1 -1
- package/dist/model/getAverageClickPositionResponse.d.ts +15 -15
- package/dist/model/getAverageClickPositionResponse.d.ts.map +1 -1
- package/dist/model/getClickPositionsResponse.d.ts +7 -7
- package/dist/model/getClickPositionsResponse.d.ts.map +1 -1
- package/dist/model/getClickThroughRateResponse.d.ts +19 -19
- package/dist/model/getClickThroughRateResponse.d.ts.map +1 -1
- package/dist/model/getConversationRateResponse.d.ts +19 -19
- package/dist/model/getConversationRateResponse.d.ts.map +1 -1
- package/dist/model/getNoClickRateResponse.d.ts +19 -19
- package/dist/model/getNoClickRateResponse.d.ts.map +1 -1
- package/dist/model/getNoResultsRateResponse.d.ts +19 -19
- package/dist/model/getNoResultsRateResponse.d.ts.map +1 -1
- package/dist/model/getSearchesCountResponse.d.ts +11 -11
- package/dist/model/getSearchesCountResponse.d.ts.map +1 -1
- package/dist/model/getSearchesNoClicksResponse.d.ts +7 -7
- package/dist/model/getSearchesNoClicksResponse.d.ts.map +1 -1
- package/dist/model/getSearchesNoResultsResponse.d.ts +7 -7
- package/dist/model/getSearchesNoResultsResponse.d.ts.map +1 -1
- package/dist/model/getStatusResponse.d.ts +6 -6
- package/dist/model/getStatusResponse.d.ts.map +1 -1
- package/dist/model/getTopCountriesResponse.d.ts +7 -7
- package/dist/model/getTopCountriesResponse.d.ts.map +1 -1
- package/dist/model/getTopFilterAttribute.d.ts +10 -10
- package/dist/model/getTopFilterAttribute.d.ts.map +1 -1
- package/dist/model/getTopFilterAttributesResponse.d.ts +7 -7
- package/dist/model/getTopFilterAttributesResponse.d.ts.map +1 -1
- package/dist/model/getTopFilterForAttribute.d.ts +18 -18
- package/dist/model/getTopFilterForAttribute.d.ts.map +1 -1
- package/dist/model/getTopFilterForAttributeResponse.d.ts +7 -7
- package/dist/model/getTopFilterForAttributeResponse.d.ts.map +1 -1
- package/dist/model/getTopFiltersNoResultsResponse.d.ts +7 -7
- package/dist/model/getTopFiltersNoResultsResponse.d.ts.map +1 -1
- package/dist/model/getTopFiltersNoResultsValue.d.ts +14 -14
- package/dist/model/getTopFiltersNoResultsValue.d.ts.map +1 -1
- package/dist/model/getTopFiltersNoResultsValues.d.ts +11 -11
- package/dist/model/getTopFiltersNoResultsValues.d.ts.map +1 -1
- package/dist/model/getTopHitsResponse.d.ts +3 -3
- package/dist/model/getTopHitsResponse.d.ts.map +1 -1
- package/dist/model/getTopSearchesResponse.d.ts +3 -3
- package/dist/model/getTopSearchesResponse.d.ts.map +1 -1
- package/dist/model/getUsersCountResponse.d.ts +11 -11
- package/dist/model/getUsersCountResponse.d.ts.map +1 -1
- package/dist/model/index.d.ts +44 -44
- package/dist/model/noClickRateEvent.d.ts +18 -18
- package/dist/model/noClickRateEvent.d.ts.map +1 -1
- package/dist/model/noResultsRateEvent.d.ts +18 -18
- package/dist/model/noResultsRateEvent.d.ts.map +1 -1
- package/dist/model/orderBy.d.ts +4 -1
- package/dist/model/orderBy.d.ts.map +1 -1
- package/dist/model/searchEvent.d.ts +10 -10
- package/dist/model/searchEvent.d.ts.map +1 -1
- package/dist/model/searchNoClickEvent.d.ts +14 -14
- package/dist/model/searchNoClickEvent.d.ts.map +1 -1
- package/dist/model/searchNoResultEvent.d.ts +14 -14
- package/dist/model/searchNoResultEvent.d.ts.map +1 -1
- package/dist/model/topCountry.d.ts +10 -10
- package/dist/model/topCountry.d.ts.map +1 -1
- package/dist/model/topHit.d.ts +10 -10
- package/dist/model/topHit.d.ts.map +1 -1
- package/dist/model/topHitWithAnalytics.d.ts +30 -30
- package/dist/model/topHitWithAnalytics.d.ts.map +1 -1
- package/dist/model/topHitsResponse.d.ts +7 -7
- package/dist/model/topHitsResponse.d.ts.map +1 -1
- package/dist/model/topHitsResponseWithAnalytics.d.ts +7 -7
- package/dist/model/topHitsResponseWithAnalytics.d.ts.map +1 -1
- package/dist/model/topSearch.d.ts +14 -14
- package/dist/model/topSearch.d.ts.map +1 -1
- package/dist/model/topSearchWithAnalytics.d.ts +38 -38
- package/dist/model/topSearchWithAnalytics.d.ts.map +1 -1
- package/dist/model/topSearchesResponse.d.ts +7 -7
- package/dist/model/topSearchesResponse.d.ts.map +1 -1
- package/dist/model/topSearchesResponseWithAnalytics.d.ts +7 -7
- package/dist/model/topSearchesResponseWithAnalytics.d.ts.map +1 -1
- package/dist/model/userWithDate.d.ts +10 -10
- package/dist/model/userWithDate.d.ts.map +1 -1
- package/dist/src/analyticsClient.d.ts +318 -318
- package/dist/src/analyticsClient.d.ts.map +1 -1
- package/index.js +1 -1
- package/model/averageClickEvent.ts +4 -4
- package/model/clickPosition.ts +3 -3
- package/model/clickThroughRateEvent.ts +5 -5
- package/model/clientMethodProps.ts +92 -92
- package/model/conversionRateEvent.ts +5 -5
- package/model/direction.ts +1 -1
- package/model/errorBase.ts +1 -1
- package/model/getAverageClickPositionResponse.ts +4 -4
- package/model/getClickPositionsResponse.ts +2 -2
- package/model/getClickThroughRateResponse.ts +5 -5
- package/model/getConversationRateResponse.ts +5 -5
- package/model/getNoClickRateResponse.ts +5 -5
- package/model/getNoResultsRateResponse.ts +5 -5
- package/model/getSearchesCountResponse.ts +3 -3
- package/model/getSearchesNoClicksResponse.ts +2 -2
- package/model/getSearchesNoResultsResponse.ts +2 -2
- package/model/getStatusResponse.ts +2 -2
- package/model/getTopCountriesResponse.ts +2 -2
- package/model/getTopFilterAttribute.ts +3 -3
- package/model/getTopFilterAttributesResponse.ts +2 -2
- package/model/getTopFilterForAttribute.ts +5 -5
- package/model/getTopFilterForAttributeResponse.ts +2 -2
- package/model/getTopFiltersNoResultsResponse.ts +2 -2
- package/model/getTopFiltersNoResultsValue.ts +4 -4
- package/model/getTopFiltersNoResultsValues.ts +3 -3
- package/model/getTopHitsResponse.ts +1 -1
- package/model/getTopSearchesResponse.ts +1 -1
- package/model/getUsersCountResponse.ts +3 -3
- package/model/index.ts +1 -1
- package/model/noClickRateEvent.ts +5 -5
- package/model/noResultsRateEvent.ts +5 -5
- package/model/orderBy.ts +4 -1
- package/model/searchEvent.ts +3 -3
- package/model/searchNoClickEvent.ts +4 -4
- package/model/searchNoResultEvent.ts +4 -4
- package/model/topCountry.ts +3 -3
- package/model/topHit.ts +3 -3
- package/model/topHitWithAnalytics.ts +8 -8
- package/model/topHitsResponse.ts +2 -2
- package/model/topHitsResponseWithAnalytics.ts +2 -2
- package/model/topSearch.ts +4 -4
- package/model/topSearchWithAnalytics.ts +10 -10
- package/model/topSearchesResponse.ts +2 -2
- package/model/topSearchesResponseWithAnalytics.ts +2 -2
- package/model/userWithDate.ts +3 -3
- package/package.json +30 -13
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
import type { ClickPosition } from './clickPosition';
|
|
4
4
|
|
|
5
5
|
export type GetClickPositionsResponse = {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Click positions.
|
|
8
8
|
*/
|
|
9
9
|
positions: ClickPosition[];
|
|
10
10
|
};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
import type { ClickThroughRateEvent } from './clickThroughRateEvent';
|
|
4
4
|
|
|
5
5
|
export type GetClickThroughRateResponse = {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* [Click-through rate (CTR)](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-through-rate).
|
|
8
8
|
*/
|
|
9
9
|
rate: number;
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Number of click events.
|
|
13
13
|
*/
|
|
14
14
|
clickCount: number;
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Number of tracked searches. This is the number of search requests where the `clickAnalytics` parameter is `true`.
|
|
18
18
|
*/
|
|
19
19
|
trackedSearchCount: number;
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Click-through rate events.
|
|
23
23
|
*/
|
|
24
24
|
dates: ClickThroughRateEvent[];
|
|
25
25
|
};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
import type { ConversionRateEvent } from './conversionRateEvent';
|
|
4
4
|
|
|
5
5
|
export type GetConversationRateResponse = {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* [Click-through rate (CTR)](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-through-rate).
|
|
8
8
|
*/
|
|
9
9
|
rate: number;
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Number of tracked searches. This is the number of search requests where the `clickAnalytics` parameter is `true`.
|
|
13
13
|
*/
|
|
14
14
|
trackedSearchCount: number;
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Number of converted clicks.
|
|
18
18
|
*/
|
|
19
19
|
conversionCount: number;
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Conversion events.
|
|
23
23
|
*/
|
|
24
24
|
dates: ConversionRateEvent[];
|
|
25
25
|
};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
import type { NoClickRateEvent } from './noClickRateEvent';
|
|
4
4
|
|
|
5
5
|
export type GetNoClickRateResponse = {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* [Click-through rate (CTR)](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-through-rate).
|
|
8
8
|
*/
|
|
9
9
|
rate: number;
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Number of click events.
|
|
13
13
|
*/
|
|
14
14
|
count: number;
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Number of click events.
|
|
18
18
|
*/
|
|
19
19
|
noClickCount: number;
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Overall count of searches without clicks plus a daily breakdown.
|
|
23
23
|
*/
|
|
24
24
|
dates: NoClickRateEvent[];
|
|
25
25
|
};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
import type { NoResultsRateEvent } from './noResultsRateEvent';
|
|
4
4
|
|
|
5
5
|
export type GetNoResultsRateResponse = {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* [Click-through rate (CTR)](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-through-rate).
|
|
8
8
|
*/
|
|
9
9
|
rate: number;
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Number of occurrences.
|
|
13
13
|
*/
|
|
14
14
|
count: number;
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Number of occurrences.
|
|
18
18
|
*/
|
|
19
19
|
noResultCount: number;
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Overall count of searches without results plus a daily breakdown.
|
|
23
23
|
*/
|
|
24
24
|
dates: NoResultsRateEvent[];
|
|
25
25
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
import type { SearchEvent } from './searchEvent';
|
|
4
4
|
|
|
5
5
|
export type GetSearchesCountResponse = {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Number of occurrences.
|
|
8
8
|
*/
|
|
9
9
|
count: number;
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Search events with their associated dates and hit counts.
|
|
13
13
|
*/
|
|
14
14
|
dates: SearchEvent[];
|
|
15
15
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
import type { SearchNoClickEvent } from './searchNoClickEvent';
|
|
4
4
|
|
|
5
5
|
export type GetSearchesNoClicksResponse = {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Searches with no clicks.
|
|
8
8
|
*/
|
|
9
9
|
searches: SearchNoClickEvent[];
|
|
10
10
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
import type { SearchNoResultEvent } from './searchNoResultEvent';
|
|
4
4
|
|
|
5
5
|
export type GetSearchesNoResultsResponse = {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Searches with no results.
|
|
8
8
|
*/
|
|
9
9
|
searches: SearchNoResultEvent[];
|
|
10
10
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
export type GetStatusResponse = {
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Timestamp of the last update in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format.
|
|
6
6
|
*/
|
|
7
7
|
updatedAt: string;
|
|
8
8
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
import type { TopCountry } from './topCountry';
|
|
4
4
|
|
|
5
5
|
export type GetTopCountriesResponse = {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Countries.
|
|
8
8
|
*/
|
|
9
9
|
countries: TopCountry[];
|
|
10
10
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
export type GetTopFilterAttribute = {
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Attribute name.
|
|
6
6
|
*/
|
|
7
7
|
attribute: string;
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Number of occurrences.
|
|
11
11
|
*/
|
|
12
12
|
count: number;
|
|
13
13
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
import type { GetTopFilterAttribute } from './getTopFilterAttribute';
|
|
4
4
|
|
|
5
5
|
export type GetTopFilterAttributesResponse = {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Filterable attributes.
|
|
8
8
|
*/
|
|
9
9
|
attributes: GetTopFilterAttribute[];
|
|
10
10
|
};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
export type GetTopFilterForAttribute = {
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Attribute name.
|
|
6
6
|
*/
|
|
7
7
|
attribute: string;
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Operator.
|
|
11
11
|
*/
|
|
12
12
|
operator: string;
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Attribute value.
|
|
16
16
|
*/
|
|
17
17
|
value: string;
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Number of occurrences.
|
|
21
21
|
*/
|
|
22
22
|
count: number;
|
|
23
23
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
import type { GetTopFilterForAttribute } from './getTopFilterForAttribute';
|
|
4
4
|
|
|
5
5
|
export type GetTopFilterForAttributeResponse = {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Filter values for an attribute.
|
|
8
8
|
*/
|
|
9
9
|
values: GetTopFilterForAttribute[];
|
|
10
10
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
import type { GetTopFiltersNoResultsValues } from './getTopFiltersNoResultsValues';
|
|
4
4
|
|
|
5
5
|
export type GetTopFiltersNoResultsResponse = {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Filters with no results.
|
|
8
8
|
*/
|
|
9
9
|
values: GetTopFiltersNoResultsValues[];
|
|
10
10
|
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
export type GetTopFiltersNoResultsValue = {
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Attribute name.
|
|
6
6
|
*/
|
|
7
7
|
attribute: string;
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Operator.
|
|
11
11
|
*/
|
|
12
12
|
operator: string;
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Attribute value.
|
|
16
16
|
*/
|
|
17
17
|
value: string;
|
|
18
18
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
import type { GetTopFiltersNoResultsValue } from './getTopFiltersNoResultsValue';
|
|
4
4
|
|
|
5
5
|
export type GetTopFiltersNoResultsValues = {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Number of occurrences.
|
|
8
8
|
*/
|
|
9
9
|
count: number;
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Filters with no results.
|
|
13
13
|
*/
|
|
14
14
|
values: GetTopFiltersNoResultsValue[];
|
|
15
15
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
import type { TopHitsResponse } from './topHitsResponse';
|
|
4
4
|
import type { TopHitsResponseWithAnalytics } from './topHitsResponseWithAnalytics';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
import type { TopSearchesResponse } from './topSearchesResponse';
|
|
4
4
|
import type { TopSearchesResponseWithAnalytics } from './topSearchesResponseWithAnalytics';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
import type { UserWithDate } from './userWithDate';
|
|
4
4
|
|
|
5
5
|
export type GetUsersCountResponse = {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Number of occurrences.
|
|
8
8
|
*/
|
|
9
9
|
count: number;
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* User count.
|
|
13
13
|
*/
|
|
14
14
|
dates: UserWithDate[];
|
|
15
15
|
};
|
package/model/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
export * from './averageClickEvent';
|
|
4
4
|
export * from './clickPosition';
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
export type NoClickRateEvent = {
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* [Click-through rate (CTR)](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-through-rate).
|
|
6
6
|
*/
|
|
7
7
|
rate: number;
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Number of tracked _and_ untracked searches (where the `clickAnalytics` parameter isn\'t `true`).
|
|
11
11
|
*/
|
|
12
12
|
count: number;
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Number of click events.
|
|
16
16
|
*/
|
|
17
17
|
noClickCount: number;
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
|
-
* Date of the event.
|
|
20
|
+
* Date of the event in the format YYYY-MM-DD.
|
|
21
21
|
*/
|
|
22
22
|
date: string;
|
|
23
23
|
};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
export type NoResultsRateEvent = {
|
|
4
4
|
/**
|
|
5
|
-
* Date of the event.
|
|
5
|
+
* Date of the event in the format YYYY-MM-DD.
|
|
6
6
|
*/
|
|
7
7
|
date: string;
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Number of occurences.
|
|
11
11
|
*/
|
|
12
12
|
noResultCount: number;
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Number of tracked _and_ untracked searches (where the `clickAnalytics` parameter isn\'t `true`).
|
|
16
16
|
*/
|
|
17
17
|
count: number;
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* [Click-through rate (CTR)](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-through-rate).
|
|
21
21
|
*/
|
|
22
22
|
rate: number;
|
|
23
23
|
};
|
package/model/orderBy.ts
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
|
+
/**
|
|
4
|
+
* Method for ordering results. `clickThroughRate`, `conversionRate` and `averageClickPosition` are only available if the `clickAnalytics` parameter is `true`.
|
|
5
|
+
*/
|
|
3
6
|
export type OrderBy =
|
|
4
7
|
| 'averageClickPosition'
|
|
5
8
|
| 'clickThroughRate'
|
package/model/searchEvent.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
export type SearchEvent = {
|
|
4
4
|
/**
|
|
5
|
-
* Date of the event.
|
|
5
|
+
* Date of the event in the format YYYY-MM-DD.
|
|
6
6
|
*/
|
|
7
7
|
date: string;
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Number of occurrences.
|
|
11
11
|
*/
|
|
12
12
|
count: number;
|
|
13
13
|
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
export type SearchNoClickEvent = {
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* User query.
|
|
6
6
|
*/
|
|
7
7
|
search: string;
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Number of occurrences.
|
|
11
11
|
*/
|
|
12
12
|
count: number;
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Number of occurrences.
|
|
16
16
|
*/
|
|
17
17
|
withFilterCount: number;
|
|
18
18
|
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
export type SearchNoResultEvent = {
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* User query.
|
|
6
6
|
*/
|
|
7
7
|
search: string;
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Number of occurrences.
|
|
11
11
|
*/
|
|
12
12
|
count: number;
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
|
-
* Number of hits
|
|
15
|
+
* Number of hits the search query matched.
|
|
16
16
|
*/
|
|
17
17
|
nbHits: number;
|
|
18
18
|
};
|
package/model/topCountry.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
export type TopCountry = {
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Country.
|
|
6
6
|
*/
|
|
7
7
|
country: string;
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Number of occurrences.
|
|
11
11
|
*/
|
|
12
12
|
count: number;
|
|
13
13
|
};
|
package/model/topHit.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
export type TopHit = {
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Hit.
|
|
6
6
|
*/
|
|
7
7
|
hit: string;
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Number of occurrences.
|
|
11
11
|
*/
|
|
12
12
|
count: number;
|
|
13
13
|
};
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
export type TopHitWithAnalytics = {
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Hit.
|
|
6
6
|
*/
|
|
7
7
|
hit: string;
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Number of occurrences.
|
|
11
11
|
*/
|
|
12
12
|
count: number;
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* [Click-through rate (CTR)](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-through-rate).
|
|
16
16
|
*/
|
|
17
17
|
clickThroughRate: number;
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* [Conversion rate (CR)](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#conversion-rate).
|
|
21
21
|
*/
|
|
22
22
|
conversionRate: number;
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Number of tracked searches. This is the number of search requests where the `clickAnalytics` parameter is `true`.
|
|
26
26
|
*/
|
|
27
27
|
trackedSearchCount: number;
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* Number of click events.
|
|
31
31
|
*/
|
|
32
32
|
clickCount: number;
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* Number of converted clicks.
|
|
36
36
|
*/
|
|
37
37
|
conversionCount: number;
|
|
38
38
|
};
|
package/model/topHitsResponse.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
import type { TopHit } from './topHit';
|
|
4
4
|
|
|
5
5
|
export type TopHitsResponse = {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Top hits.
|
|
8
8
|
*/
|
|
9
9
|
hits: TopHit[];
|
|
10
10
|
};
|