@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,15 +1,15 @@
|
|
|
1
|
-
export
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
*/
|
|
5
|
-
attribute: string;
|
|
6
|
-
/**
|
|
7
|
-
*
|
|
8
|
-
*/
|
|
9
|
-
operator: string;
|
|
10
|
-
/**
|
|
11
|
-
*
|
|
12
|
-
*/
|
|
13
|
-
value: string;
|
|
14
|
-
};
|
|
1
|
+
export type GetTopFiltersNoResultsValue = {
|
|
2
|
+
/**
|
|
3
|
+
* Attribute name.
|
|
4
|
+
*/
|
|
5
|
+
attribute: string;
|
|
6
|
+
/**
|
|
7
|
+
* Operator.
|
|
8
|
+
*/
|
|
9
|
+
operator: string;
|
|
10
|
+
/**
|
|
11
|
+
* Attribute value.
|
|
12
|
+
*/
|
|
13
|
+
value: string;
|
|
14
|
+
};
|
|
15
15
|
//# sourceMappingURL=getTopFiltersNoResultsValue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getTopFiltersNoResultsValue.d.ts","sourceRoot":"","sources":["../../model/getTopFiltersNoResultsValue.ts"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"getTopFiltersNoResultsValue.d.ts","sourceRoot":"","sources":["../../model/getTopFiltersNoResultsValue.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,2BAA2B,GAAG;IACxC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import type { GetTopFiltersNoResultsValue } from './getTopFiltersNoResultsValue';
|
|
2
|
-
export
|
|
3
|
-
/**
|
|
4
|
-
*
|
|
5
|
-
*/
|
|
6
|
-
count: number;
|
|
7
|
-
/**
|
|
8
|
-
*
|
|
9
|
-
*/
|
|
10
|
-
values: GetTopFiltersNoResultsValue[];
|
|
11
|
-
};
|
|
1
|
+
import type { GetTopFiltersNoResultsValue } from './getTopFiltersNoResultsValue';
|
|
2
|
+
export type GetTopFiltersNoResultsValues = {
|
|
3
|
+
/**
|
|
4
|
+
* Number of occurrences.
|
|
5
|
+
*/
|
|
6
|
+
count: number;
|
|
7
|
+
/**
|
|
8
|
+
* Filters with no results.
|
|
9
|
+
*/
|
|
10
|
+
values: GetTopFiltersNoResultsValue[];
|
|
11
|
+
};
|
|
12
12
|
//# sourceMappingURL=getTopFiltersNoResultsValues.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getTopFiltersNoResultsValues.d.ts","sourceRoot":"","sources":["../../model/getTopFiltersNoResultsValues.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAEjF,
|
|
1
|
+
{"version":3,"file":"getTopFiltersNoResultsValues.d.ts","sourceRoot":"","sources":["../../model/getTopFiltersNoResultsValues.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAEjF,MAAM,MAAM,4BAA4B,GAAG;IACzC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,MAAM,EAAE,2BAA2B,EAAE,CAAC;CACvC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { TopHitsResponse } from './topHitsResponse';
|
|
2
|
-
import type { TopHitsResponseWithAnalytics } from './topHitsResponseWithAnalytics';
|
|
3
|
-
export
|
|
1
|
+
import type { TopHitsResponse } from './topHitsResponse';
|
|
2
|
+
import type { TopHitsResponseWithAnalytics } from './topHitsResponseWithAnalytics';
|
|
3
|
+
export type GetTopHitsResponse = TopHitsResponse | TopHitsResponseWithAnalytics;
|
|
4
4
|
//# sourceMappingURL=getTopHitsResponse.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getTopHitsResponse.d.ts","sourceRoot":"","sources":["../../model/getTopHitsResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAEnF,
|
|
1
|
+
{"version":3,"file":"getTopHitsResponse.d.ts","sourceRoot":"","sources":["../../model/getTopHitsResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAEnF,MAAM,MAAM,kBAAkB,GAAG,eAAe,GAAG,4BAA4B,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { TopSearchesResponse } from './topSearchesResponse';
|
|
2
|
-
import type { TopSearchesResponseWithAnalytics } from './topSearchesResponseWithAnalytics';
|
|
3
|
-
export
|
|
1
|
+
import type { TopSearchesResponse } from './topSearchesResponse';
|
|
2
|
+
import type { TopSearchesResponseWithAnalytics } from './topSearchesResponseWithAnalytics';
|
|
3
|
+
export type GetTopSearchesResponse = TopSearchesResponse | TopSearchesResponseWithAnalytics;
|
|
4
4
|
//# sourceMappingURL=getTopSearchesResponse.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getTopSearchesResponse.d.ts","sourceRoot":"","sources":["../../model/getTopSearchesResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAE3F,
|
|
1
|
+
{"version":3,"file":"getTopSearchesResponse.d.ts","sourceRoot":"","sources":["../../model/getTopSearchesResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAE3F,MAAM,MAAM,sBAAsB,GAC9B,mBAAmB,GACnB,gCAAgC,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import type { UserWithDate } from './userWithDate';
|
|
2
|
-
export
|
|
3
|
-
/**
|
|
4
|
-
*
|
|
5
|
-
*/
|
|
6
|
-
count: number;
|
|
7
|
-
/**
|
|
8
|
-
*
|
|
9
|
-
*/
|
|
10
|
-
dates: UserWithDate[];
|
|
11
|
-
};
|
|
1
|
+
import type { UserWithDate } from './userWithDate';
|
|
2
|
+
export type GetUsersCountResponse = {
|
|
3
|
+
/**
|
|
4
|
+
* Number of occurrences.
|
|
5
|
+
*/
|
|
6
|
+
count: number;
|
|
7
|
+
/**
|
|
8
|
+
* User count.
|
|
9
|
+
*/
|
|
10
|
+
dates: UserWithDate[];
|
|
11
|
+
};
|
|
12
12
|
//# sourceMappingURL=getUsersCountResponse.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getUsersCountResponse.d.ts","sourceRoot":"","sources":["../../model/getUsersCountResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,
|
|
1
|
+
{"version":3,"file":"getUsersCountResponse.d.ts","sourceRoot":"","sources":["../../model/getUsersCountResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,KAAK,EAAE,YAAY,EAAE,CAAC;CACvB,CAAC"}
|
package/dist/model/index.d.ts
CHANGED
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
export * from './averageClickEvent';
|
|
2
|
-
export * from './clickPosition';
|
|
3
|
-
export * from './clickThroughRateEvent';
|
|
4
|
-
export * from './conversionRateEvent';
|
|
5
|
-
export * from './direction';
|
|
6
|
-
export * from './errorBase';
|
|
7
|
-
export * from './getAverageClickPositionResponse';
|
|
8
|
-
export * from './getClickPositionsResponse';
|
|
9
|
-
export * from './getClickThroughRateResponse';
|
|
10
|
-
export * from './getConversationRateResponse';
|
|
11
|
-
export * from './getNoClickRateResponse';
|
|
12
|
-
export * from './getNoResultsRateResponse';
|
|
13
|
-
export * from './getSearchesCountResponse';
|
|
14
|
-
export * from './getSearchesNoClicksResponse';
|
|
15
|
-
export * from './getSearchesNoResultsResponse';
|
|
16
|
-
export * from './getStatusResponse';
|
|
17
|
-
export * from './getTopCountriesResponse';
|
|
18
|
-
export * from './getTopFilterAttribute';
|
|
19
|
-
export * from './getTopFilterAttributesResponse';
|
|
20
|
-
export * from './getTopFilterForAttribute';
|
|
21
|
-
export * from './getTopFilterForAttributeResponse';
|
|
22
|
-
export * from './getTopFiltersNoResultsResponse';
|
|
23
|
-
export * from './getTopFiltersNoResultsValue';
|
|
24
|
-
export * from './getTopFiltersNoResultsValues';
|
|
25
|
-
export * from './getTopHitsResponse';
|
|
26
|
-
export * from './getTopSearchesResponse';
|
|
27
|
-
export * from './getUsersCountResponse';
|
|
28
|
-
export * from './noClickRateEvent';
|
|
29
|
-
export * from './noResultsRateEvent';
|
|
30
|
-
export * from './orderBy';
|
|
31
|
-
export * from './searchEvent';
|
|
32
|
-
export * from './searchNoClickEvent';
|
|
33
|
-
export * from './searchNoResultEvent';
|
|
34
|
-
export * from './topCountry';
|
|
35
|
-
export * from './topHit';
|
|
36
|
-
export * from './topHitWithAnalytics';
|
|
37
|
-
export * from './topHitsResponse';
|
|
38
|
-
export * from './topHitsResponseWithAnalytics';
|
|
39
|
-
export * from './topSearch';
|
|
40
|
-
export * from './topSearchWithAnalytics';
|
|
41
|
-
export * from './topSearchesResponse';
|
|
42
|
-
export * from './topSearchesResponseWithAnalytics';
|
|
43
|
-
export * from './userWithDate';
|
|
44
|
-
export * from './clientMethodProps';
|
|
1
|
+
export * from './averageClickEvent';
|
|
2
|
+
export * from './clickPosition';
|
|
3
|
+
export * from './clickThroughRateEvent';
|
|
4
|
+
export * from './conversionRateEvent';
|
|
5
|
+
export * from './direction';
|
|
6
|
+
export * from './errorBase';
|
|
7
|
+
export * from './getAverageClickPositionResponse';
|
|
8
|
+
export * from './getClickPositionsResponse';
|
|
9
|
+
export * from './getClickThroughRateResponse';
|
|
10
|
+
export * from './getConversationRateResponse';
|
|
11
|
+
export * from './getNoClickRateResponse';
|
|
12
|
+
export * from './getNoResultsRateResponse';
|
|
13
|
+
export * from './getSearchesCountResponse';
|
|
14
|
+
export * from './getSearchesNoClicksResponse';
|
|
15
|
+
export * from './getSearchesNoResultsResponse';
|
|
16
|
+
export * from './getStatusResponse';
|
|
17
|
+
export * from './getTopCountriesResponse';
|
|
18
|
+
export * from './getTopFilterAttribute';
|
|
19
|
+
export * from './getTopFilterAttributesResponse';
|
|
20
|
+
export * from './getTopFilterForAttribute';
|
|
21
|
+
export * from './getTopFilterForAttributeResponse';
|
|
22
|
+
export * from './getTopFiltersNoResultsResponse';
|
|
23
|
+
export * from './getTopFiltersNoResultsValue';
|
|
24
|
+
export * from './getTopFiltersNoResultsValues';
|
|
25
|
+
export * from './getTopHitsResponse';
|
|
26
|
+
export * from './getTopSearchesResponse';
|
|
27
|
+
export * from './getUsersCountResponse';
|
|
28
|
+
export * from './noClickRateEvent';
|
|
29
|
+
export * from './noResultsRateEvent';
|
|
30
|
+
export * from './orderBy';
|
|
31
|
+
export * from './searchEvent';
|
|
32
|
+
export * from './searchNoClickEvent';
|
|
33
|
+
export * from './searchNoResultEvent';
|
|
34
|
+
export * from './topCountry';
|
|
35
|
+
export * from './topHit';
|
|
36
|
+
export * from './topHitWithAnalytics';
|
|
37
|
+
export * from './topHitsResponse';
|
|
38
|
+
export * from './topHitsResponseWithAnalytics';
|
|
39
|
+
export * from './topSearch';
|
|
40
|
+
export * from './topSearchWithAnalytics';
|
|
41
|
+
export * from './topSearchesResponse';
|
|
42
|
+
export * from './topSearchesResponseWithAnalytics';
|
|
43
|
+
export * from './userWithDate';
|
|
44
|
+
export * from './clientMethodProps';
|
|
45
45
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
*/
|
|
5
|
-
rate: number;
|
|
6
|
-
/**
|
|
7
|
-
*
|
|
8
|
-
*/
|
|
9
|
-
count: number;
|
|
10
|
-
/**
|
|
11
|
-
*
|
|
12
|
-
*/
|
|
13
|
-
noClickCount: number;
|
|
14
|
-
/**
|
|
15
|
-
* Date of the event.
|
|
16
|
-
*/
|
|
17
|
-
date: string;
|
|
18
|
-
};
|
|
1
|
+
export type NoClickRateEvent = {
|
|
2
|
+
/**
|
|
3
|
+
* [Click-through rate (CTR)](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-through-rate).
|
|
4
|
+
*/
|
|
5
|
+
rate: number;
|
|
6
|
+
/**
|
|
7
|
+
* Number of tracked _and_ untracked searches (where the `clickAnalytics` parameter isn\'t `true`).
|
|
8
|
+
*/
|
|
9
|
+
count: number;
|
|
10
|
+
/**
|
|
11
|
+
* Number of click events.
|
|
12
|
+
*/
|
|
13
|
+
noClickCount: number;
|
|
14
|
+
/**
|
|
15
|
+
* Date of the event in the format YYYY-MM-DD.
|
|
16
|
+
*/
|
|
17
|
+
date: string;
|
|
18
|
+
};
|
|
19
19
|
//# sourceMappingURL=noClickRateEvent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"noClickRateEvent.d.ts","sourceRoot":"","sources":["../../model/noClickRateEvent.ts"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"noClickRateEvent.d.ts","sourceRoot":"","sources":["../../model/noClickRateEvent.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd,CAAC"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export
|
|
2
|
-
/**
|
|
3
|
-
* Date of the event.
|
|
4
|
-
*/
|
|
5
|
-
date: string;
|
|
6
|
-
/**
|
|
7
|
-
*
|
|
8
|
-
*/
|
|
9
|
-
noResultCount: number;
|
|
10
|
-
/**
|
|
11
|
-
*
|
|
12
|
-
*/
|
|
13
|
-
count: number;
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
*/
|
|
17
|
-
rate: number;
|
|
18
|
-
};
|
|
1
|
+
export type NoResultsRateEvent = {
|
|
2
|
+
/**
|
|
3
|
+
* Date of the event in the format YYYY-MM-DD.
|
|
4
|
+
*/
|
|
5
|
+
date: string;
|
|
6
|
+
/**
|
|
7
|
+
* Number of occurences.
|
|
8
|
+
*/
|
|
9
|
+
noResultCount: number;
|
|
10
|
+
/**
|
|
11
|
+
* Number of tracked _and_ untracked searches (where the `clickAnalytics` parameter isn\'t `true`).
|
|
12
|
+
*/
|
|
13
|
+
count: number;
|
|
14
|
+
/**
|
|
15
|
+
* [Click-through rate (CTR)](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-through-rate).
|
|
16
|
+
*/
|
|
17
|
+
rate: number;
|
|
18
|
+
};
|
|
19
19
|
//# sourceMappingURL=noResultsRateEvent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"noResultsRateEvent.d.ts","sourceRoot":"","sources":["../../model/noResultsRateEvent.ts"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"noResultsRateEvent.d.ts","sourceRoot":"","sources":["../../model/noResultsRateEvent.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd,CAAC"}
|
package/dist/model/orderBy.d.ts
CHANGED
|
@@ -1,2 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Method for ordering results. `clickThroughRate`, `conversionRate` and `averageClickPosition` are only available if the `clickAnalytics` parameter is `true`.
|
|
3
|
+
*/
|
|
4
|
+
export type OrderBy = 'averageClickPosition' | 'clickThroughRate' | 'conversionRate' | 'searchCount';
|
|
2
5
|
//# sourceMappingURL=orderBy.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orderBy.d.ts","sourceRoot":"","sources":["../../model/orderBy.ts"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"orderBy.d.ts","sourceRoot":"","sources":["../../model/orderBy.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,OAAO,GACf,sBAAsB,GACtB,kBAAkB,GAClB,gBAAgB,GAChB,aAAa,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export
|
|
2
|
-
/**
|
|
3
|
-
* Date of the event.
|
|
4
|
-
*/
|
|
5
|
-
date: string;
|
|
6
|
-
/**
|
|
7
|
-
*
|
|
8
|
-
*/
|
|
9
|
-
count: number;
|
|
10
|
-
};
|
|
1
|
+
export type SearchEvent = {
|
|
2
|
+
/**
|
|
3
|
+
* Date of the event in the format YYYY-MM-DD.
|
|
4
|
+
*/
|
|
5
|
+
date: string;
|
|
6
|
+
/**
|
|
7
|
+
* Number of occurrences.
|
|
8
|
+
*/
|
|
9
|
+
count: number;
|
|
10
|
+
};
|
|
11
11
|
//# sourceMappingURL=searchEvent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"searchEvent.d.ts","sourceRoot":"","sources":["../../model/searchEvent.ts"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"searchEvent.d.ts","sourceRoot":"","sources":["../../model/searchEvent.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,WAAW,GAAG;IACxB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
*/
|
|
5
|
-
search: string;
|
|
6
|
-
/**
|
|
7
|
-
*
|
|
8
|
-
*/
|
|
9
|
-
count: number;
|
|
10
|
-
/**
|
|
11
|
-
*
|
|
12
|
-
*/
|
|
13
|
-
withFilterCount: number;
|
|
14
|
-
};
|
|
1
|
+
export type SearchNoClickEvent = {
|
|
2
|
+
/**
|
|
3
|
+
* User query.
|
|
4
|
+
*/
|
|
5
|
+
search: string;
|
|
6
|
+
/**
|
|
7
|
+
* Number of occurrences.
|
|
8
|
+
*/
|
|
9
|
+
count: number;
|
|
10
|
+
/**
|
|
11
|
+
* Number of occurrences.
|
|
12
|
+
*/
|
|
13
|
+
withFilterCount: number;
|
|
14
|
+
};
|
|
15
15
|
//# sourceMappingURL=searchNoClickEvent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"searchNoClickEvent.d.ts","sourceRoot":"","sources":["../../model/searchNoClickEvent.ts"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"searchNoClickEvent.d.ts","sourceRoot":"","sources":["../../model/searchNoClickEvent.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
*/
|
|
5
|
-
search: string;
|
|
6
|
-
/**
|
|
7
|
-
*
|
|
8
|
-
*/
|
|
9
|
-
count: number;
|
|
10
|
-
/**
|
|
11
|
-
* Number of hits
|
|
12
|
-
*/
|
|
13
|
-
nbHits: number;
|
|
14
|
-
};
|
|
1
|
+
export type SearchNoResultEvent = {
|
|
2
|
+
/**
|
|
3
|
+
* User query.
|
|
4
|
+
*/
|
|
5
|
+
search: string;
|
|
6
|
+
/**
|
|
7
|
+
* Number of occurrences.
|
|
8
|
+
*/
|
|
9
|
+
count: number;
|
|
10
|
+
/**
|
|
11
|
+
* Number of hits the search query matched.
|
|
12
|
+
*/
|
|
13
|
+
nbHits: number;
|
|
14
|
+
};
|
|
15
15
|
//# sourceMappingURL=searchNoResultEvent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"searchNoResultEvent.d.ts","sourceRoot":"","sources":["../../model/searchNoResultEvent.ts"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"searchNoResultEvent.d.ts","sourceRoot":"","sources":["../../model/searchNoResultEvent.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
*/
|
|
5
|
-
country: string;
|
|
6
|
-
/**
|
|
7
|
-
*
|
|
8
|
-
*/
|
|
9
|
-
count: number;
|
|
10
|
-
};
|
|
1
|
+
export type TopCountry = {
|
|
2
|
+
/**
|
|
3
|
+
* Country.
|
|
4
|
+
*/
|
|
5
|
+
country: string;
|
|
6
|
+
/**
|
|
7
|
+
* Number of occurrences.
|
|
8
|
+
*/
|
|
9
|
+
count: number;
|
|
10
|
+
};
|
|
11
11
|
//# sourceMappingURL=topCountry.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"topCountry.d.ts","sourceRoot":"","sources":["../../model/topCountry.ts"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"topCountry.d.ts","sourceRoot":"","sources":["../../model/topCountry.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,UAAU,GAAG;IACvB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC"}
|
package/dist/model/topHit.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
*/
|
|
5
|
-
hit: string;
|
|
6
|
-
/**
|
|
7
|
-
*
|
|
8
|
-
*/
|
|
9
|
-
count: number;
|
|
10
|
-
};
|
|
1
|
+
export type TopHit = {
|
|
2
|
+
/**
|
|
3
|
+
* Hit.
|
|
4
|
+
*/
|
|
5
|
+
hit: string;
|
|
6
|
+
/**
|
|
7
|
+
* Number of occurrences.
|
|
8
|
+
*/
|
|
9
|
+
count: number;
|
|
10
|
+
};
|
|
11
11
|
//# sourceMappingURL=topHit.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"topHit.d.ts","sourceRoot":"","sources":["../../model/topHit.ts"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"topHit.d.ts","sourceRoot":"","sources":["../../model/topHit.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,MAAM,GAAG;IACnB;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC"}
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
export
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
*/
|
|
5
|
-
hit: string;
|
|
6
|
-
/**
|
|
7
|
-
*
|
|
8
|
-
*/
|
|
9
|
-
count: number;
|
|
10
|
-
/**
|
|
11
|
-
*
|
|
12
|
-
*/
|
|
13
|
-
clickThroughRate: number;
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
*/
|
|
17
|
-
conversionRate: number;
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
*/
|
|
21
|
-
trackedSearchCount: number;
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
|
-
clickCount: number;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
|
-
conversionCount: number;
|
|
30
|
-
};
|
|
1
|
+
export type TopHitWithAnalytics = {
|
|
2
|
+
/**
|
|
3
|
+
* Hit.
|
|
4
|
+
*/
|
|
5
|
+
hit: string;
|
|
6
|
+
/**
|
|
7
|
+
* Number of occurrences.
|
|
8
|
+
*/
|
|
9
|
+
count: number;
|
|
10
|
+
/**
|
|
11
|
+
* [Click-through rate (CTR)](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-through-rate).
|
|
12
|
+
*/
|
|
13
|
+
clickThroughRate: number;
|
|
14
|
+
/**
|
|
15
|
+
* [Conversion rate (CR)](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#conversion-rate).
|
|
16
|
+
*/
|
|
17
|
+
conversionRate: number;
|
|
18
|
+
/**
|
|
19
|
+
* Number of tracked searches. This is the number of search requests where the `clickAnalytics` parameter is `true`.
|
|
20
|
+
*/
|
|
21
|
+
trackedSearchCount: number;
|
|
22
|
+
/**
|
|
23
|
+
* Number of click events.
|
|
24
|
+
*/
|
|
25
|
+
clickCount: number;
|
|
26
|
+
/**
|
|
27
|
+
* Number of converted clicks.
|
|
28
|
+
*/
|
|
29
|
+
conversionCount: number;
|
|
30
|
+
};
|
|
31
31
|
//# sourceMappingURL=topHitWithAnalytics.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"topHitWithAnalytics.d.ts","sourceRoot":"","sources":["../../model/topHitWithAnalytics.ts"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"topHitWithAnalytics.d.ts","sourceRoot":"","sources":["../../model/topHitWithAnalytics.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { TopHit } from './topHit';
|
|
2
|
-
export
|
|
3
|
-
/**
|
|
4
|
-
*
|
|
5
|
-
*/
|
|
6
|
-
hits: TopHit[];
|
|
7
|
-
};
|
|
1
|
+
import type { TopHit } from './topHit';
|
|
2
|
+
export type TopHitsResponse = {
|
|
3
|
+
/**
|
|
4
|
+
* Top hits.
|
|
5
|
+
*/
|
|
6
|
+
hits: TopHit[];
|
|
7
|
+
};
|
|
8
8
|
//# sourceMappingURL=topHitsResponse.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"topHitsResponse.d.ts","sourceRoot":"","sources":["../../model/topHitsResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC,
|
|
1
|
+
{"version":3,"file":"topHitsResponse.d.ts","sourceRoot":"","sources":["../../model/topHitsResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,IAAI,EAAE,MAAM,EAAE,CAAC;CAChB,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { TopHitWithAnalytics } from './topHitWithAnalytics';
|
|
2
|
-
export
|
|
3
|
-
/**
|
|
4
|
-
*
|
|
5
|
-
*/
|
|
6
|
-
hits: TopHitWithAnalytics[];
|
|
7
|
-
};
|
|
1
|
+
import type { TopHitWithAnalytics } from './topHitWithAnalytics';
|
|
2
|
+
export type TopHitsResponseWithAnalytics = {
|
|
3
|
+
/**
|
|
4
|
+
* Top hits.
|
|
5
|
+
*/
|
|
6
|
+
hits: TopHitWithAnalytics[];
|
|
7
|
+
};
|
|
8
8
|
//# sourceMappingURL=topHitsResponseWithAnalytics.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"topHitsResponseWithAnalytics.d.ts","sourceRoot":"","sources":["../../model/topHitsResponseWithAnalytics.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAEjE,
|
|
1
|
+
{"version":3,"file":"topHitsResponseWithAnalytics.d.ts","sourceRoot":"","sources":["../../model/topHitsResponseWithAnalytics.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAEjE,MAAM,MAAM,4BAA4B,GAAG;IACzC;;OAEG;IACH,IAAI,EAAE,mBAAmB,EAAE,CAAC;CAC7B,CAAC"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
*/
|
|
5
|
-
search: string;
|
|
6
|
-
/**
|
|
7
|
-
*
|
|
8
|
-
*/
|
|
9
|
-
count: number;
|
|
10
|
-
/**
|
|
11
|
-
* Number of hits
|
|
12
|
-
*/
|
|
13
|
-
nbHits: number;
|
|
14
|
-
};
|
|
1
|
+
export type TopSearch = {
|
|
2
|
+
/**
|
|
3
|
+
* User query.
|
|
4
|
+
*/
|
|
5
|
+
search: string;
|
|
6
|
+
/**
|
|
7
|
+
* Number of tracked _and_ untracked searches (where the `clickAnalytics` parameter isn\'t `true`).
|
|
8
|
+
*/
|
|
9
|
+
count: number;
|
|
10
|
+
/**
|
|
11
|
+
* Number of hits the search query matched.
|
|
12
|
+
*/
|
|
13
|
+
nbHits: number;
|
|
14
|
+
};
|
|
15
15
|
//# sourceMappingURL=topSearch.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"topSearch.d.ts","sourceRoot":"","sources":["../../model/topSearch.ts"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"topSearch.d.ts","sourceRoot":"","sources":["../../model/topSearch.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,SAAS,GAAG;IACtB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC"}
|