@algolia/client-analytics 4.14.1 → 5.0.0-alpha.10

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.
Files changed (150) hide show
  1. package/dist/builds/browser.d.ts +6 -0
  2. package/dist/builds/browser.d.ts.map +1 -0
  3. package/dist/builds/node.d.ts +6 -0
  4. package/dist/builds/node.d.ts.map +1 -0
  5. package/dist/client-analytics.cjs.js +920 -65
  6. package/dist/client-analytics.esm.browser.js +1646 -0
  7. package/dist/client-analytics.esm.node.js +930 -0
  8. package/dist/client-analytics.umd.js +2 -0
  9. package/dist/model/averageClickEvent.d.ts +15 -0
  10. package/dist/model/averageClickEvent.d.ts.map +1 -0
  11. package/dist/model/clickPosition.d.ts +11 -0
  12. package/dist/model/clickPosition.d.ts.map +1 -0
  13. package/dist/model/clickThroughRateEvent.d.ts +19 -0
  14. package/dist/model/clickThroughRateEvent.d.ts.map +1 -0
  15. package/dist/model/clientMethodProps.d.ts +508 -0
  16. package/dist/model/clientMethodProps.d.ts.map +1 -0
  17. package/dist/model/conversionRateEvent.d.ts +19 -0
  18. package/dist/model/conversionRateEvent.d.ts.map +1 -0
  19. package/dist/model/direction.d.ts +2 -0
  20. package/dist/model/direction.d.ts.map +1 -0
  21. package/dist/model/errorBase.d.ts +7 -0
  22. package/dist/model/errorBase.d.ts.map +1 -0
  23. package/dist/model/getAverageClickPositionResponse.d.ts +16 -0
  24. package/dist/model/getAverageClickPositionResponse.d.ts.map +1 -0
  25. package/dist/model/getClickPositionsResponse.d.ts +8 -0
  26. package/dist/model/getClickPositionsResponse.d.ts.map +1 -0
  27. package/dist/model/getClickThroughRateResponse.d.ts +20 -0
  28. package/dist/model/getClickThroughRateResponse.d.ts.map +1 -0
  29. package/dist/model/getConversationRateResponse.d.ts +20 -0
  30. package/dist/model/getConversationRateResponse.d.ts.map +1 -0
  31. package/dist/model/getNoClickRateResponse.d.ts +20 -0
  32. package/dist/model/getNoClickRateResponse.d.ts.map +1 -0
  33. package/dist/model/getNoResultsRateResponse.d.ts +20 -0
  34. package/dist/model/getNoResultsRateResponse.d.ts.map +1 -0
  35. package/dist/model/getSearchesCountResponse.d.ts +12 -0
  36. package/dist/model/getSearchesCountResponse.d.ts.map +1 -0
  37. package/dist/model/getSearchesNoClicksResponse.d.ts +8 -0
  38. package/dist/model/getSearchesNoClicksResponse.d.ts.map +1 -0
  39. package/dist/model/getSearchesNoResultsResponse.d.ts +8 -0
  40. package/dist/model/getSearchesNoResultsResponse.d.ts.map +1 -0
  41. package/dist/model/getStatusResponse.d.ts +7 -0
  42. package/dist/model/getStatusResponse.d.ts.map +1 -0
  43. package/dist/model/getTopCountriesResponse.d.ts +8 -0
  44. package/dist/model/getTopCountriesResponse.d.ts.map +1 -0
  45. package/dist/model/getTopFilterAttribute.d.ts +11 -0
  46. package/dist/model/getTopFilterAttribute.d.ts.map +1 -0
  47. package/dist/model/getTopFilterAttributesResponse.d.ts +8 -0
  48. package/dist/model/getTopFilterAttributesResponse.d.ts.map +1 -0
  49. package/dist/model/getTopFilterForAttribute.d.ts +19 -0
  50. package/dist/model/getTopFilterForAttribute.d.ts.map +1 -0
  51. package/dist/model/getTopFilterForAttributeResponse.d.ts +8 -0
  52. package/dist/model/getTopFilterForAttributeResponse.d.ts.map +1 -0
  53. package/dist/model/getTopFiltersNoResultsResponse.d.ts +8 -0
  54. package/dist/model/getTopFiltersNoResultsResponse.d.ts.map +1 -0
  55. package/dist/model/getTopFiltersNoResultsValue.d.ts +15 -0
  56. package/dist/model/getTopFiltersNoResultsValue.d.ts.map +1 -0
  57. package/dist/model/getTopFiltersNoResultsValues.d.ts +12 -0
  58. package/dist/model/getTopFiltersNoResultsValues.d.ts.map +1 -0
  59. package/dist/model/getTopHitsResponse.d.ts +4 -0
  60. package/dist/model/getTopHitsResponse.d.ts.map +1 -0
  61. package/dist/model/getTopSearchesResponse.d.ts +4 -0
  62. package/dist/model/getTopSearchesResponse.d.ts.map +1 -0
  63. package/dist/model/getUsersCountResponse.d.ts +12 -0
  64. package/dist/model/getUsersCountResponse.d.ts.map +1 -0
  65. package/dist/model/index.d.ts +45 -0
  66. package/dist/model/index.d.ts.map +1 -0
  67. package/dist/model/noClickRateEvent.d.ts +19 -0
  68. package/dist/model/noClickRateEvent.d.ts.map +1 -0
  69. package/dist/model/noResultsRateEvent.d.ts +19 -0
  70. package/dist/model/noResultsRateEvent.d.ts.map +1 -0
  71. package/dist/model/orderBy.d.ts +2 -0
  72. package/dist/model/orderBy.d.ts.map +1 -0
  73. package/dist/model/searchEvent.d.ts +11 -0
  74. package/dist/model/searchEvent.d.ts.map +1 -0
  75. package/dist/model/searchNoClickEvent.d.ts +15 -0
  76. package/dist/model/searchNoClickEvent.d.ts.map +1 -0
  77. package/dist/model/searchNoResultEvent.d.ts +15 -0
  78. package/dist/model/searchNoResultEvent.d.ts.map +1 -0
  79. package/dist/model/topCountry.d.ts +11 -0
  80. package/dist/model/topCountry.d.ts.map +1 -0
  81. package/dist/model/topHit.d.ts +11 -0
  82. package/dist/model/topHit.d.ts.map +1 -0
  83. package/dist/model/topHitWithAnalytics.d.ts +31 -0
  84. package/dist/model/topHitWithAnalytics.d.ts.map +1 -0
  85. package/dist/model/topHitsResponse.d.ts +8 -0
  86. package/dist/model/topHitsResponse.d.ts.map +1 -0
  87. package/dist/model/topHitsResponseWithAnalytics.d.ts +8 -0
  88. package/dist/model/topHitsResponseWithAnalytics.d.ts.map +1 -0
  89. package/dist/model/topSearch.d.ts +15 -0
  90. package/dist/model/topSearch.d.ts.map +1 -0
  91. package/dist/model/topSearchWithAnalytics.d.ts +39 -0
  92. package/dist/model/topSearchWithAnalytics.d.ts.map +1 -0
  93. package/dist/model/topSearchesResponse.d.ts +8 -0
  94. package/dist/model/topSearchesResponse.d.ts.map +1 -0
  95. package/dist/model/topSearchesResponseWithAnalytics.d.ts +8 -0
  96. package/dist/model/topSearchesResponseWithAnalytics.d.ts.map +1 -0
  97. package/dist/model/userWithDate.d.ts +11 -0
  98. package/dist/model/userWithDate.d.ts.map +1 -0
  99. package/dist/src/analyticsClient.d.ts +319 -0
  100. package/dist/src/analyticsClient.d.ts.map +1 -0
  101. package/index.d.ts +2 -0
  102. package/index.js +1 -1
  103. package/model/averageClickEvent.ts +18 -0
  104. package/model/clickPosition.ts +13 -0
  105. package/model/clickThroughRateEvent.ts +23 -0
  106. package/model/clientMethodProps.ts +530 -0
  107. package/model/conversionRateEvent.ts +23 -0
  108. package/model/direction.ts +3 -0
  109. package/model/errorBase.ts +8 -0
  110. package/model/getAverageClickPositionResponse.ts +20 -0
  111. package/model/getClickPositionsResponse.ts +10 -0
  112. package/model/getClickThroughRateResponse.ts +25 -0
  113. package/model/getConversationRateResponse.ts +25 -0
  114. package/model/getNoClickRateResponse.ts +25 -0
  115. package/model/getNoResultsRateResponse.ts +25 -0
  116. package/model/getSearchesCountResponse.ts +15 -0
  117. package/model/getSearchesNoClicksResponse.ts +10 -0
  118. package/model/getSearchesNoResultsResponse.ts +10 -0
  119. package/model/getStatusResponse.ts +8 -0
  120. package/model/getTopCountriesResponse.ts +10 -0
  121. package/model/getTopFilterAttribute.ts +13 -0
  122. package/model/getTopFilterAttributesResponse.ts +10 -0
  123. package/model/getTopFilterForAttribute.ts +23 -0
  124. package/model/getTopFilterForAttributeResponse.ts +10 -0
  125. package/model/getTopFiltersNoResultsResponse.ts +10 -0
  126. package/model/getTopFiltersNoResultsValue.ts +18 -0
  127. package/model/getTopFiltersNoResultsValues.ts +15 -0
  128. package/model/getTopHitsResponse.ts +6 -0
  129. package/model/getTopSearchesResponse.ts +8 -0
  130. package/model/getUsersCountResponse.ts +15 -0
  131. package/model/index.ts +46 -0
  132. package/model/noClickRateEvent.ts +23 -0
  133. package/model/noResultsRateEvent.ts +23 -0
  134. package/model/orderBy.ts +7 -0
  135. package/model/searchEvent.ts +13 -0
  136. package/model/searchNoClickEvent.ts +18 -0
  137. package/model/searchNoResultEvent.ts +18 -0
  138. package/model/topCountry.ts +13 -0
  139. package/model/topHit.ts +13 -0
  140. package/model/topHitWithAnalytics.ts +38 -0
  141. package/model/topHitsResponse.ts +10 -0
  142. package/model/topHitsResponseWithAnalytics.ts +10 -0
  143. package/model/topSearch.ts +18 -0
  144. package/model/topSearchWithAnalytics.ts +48 -0
  145. package/model/topSearchesResponse.ts +10 -0
  146. package/model/topSearchesResponseWithAnalytics.ts +10 -0
  147. package/model/userWithDate.ts +13 -0
  148. package/package.json +27 -14
  149. package/dist/client-analytics.d.ts +0 -233
  150. package/dist/client-analytics.esm.js +0 -71
@@ -0,0 +1,16 @@
1
+ import type { AverageClickEvent } from './averageClickEvent';
2
+ export declare type GetAverageClickPositionResponse = {
3
+ /**
4
+ * The average of all the click count event.
5
+ */
6
+ average: number;
7
+ /**
8
+ * The number of click event.
9
+ */
10
+ clickCount: number;
11
+ /**
12
+ * A list of average click position with their date.
13
+ */
14
+ dates: AverageClickEvent[];
15
+ };
16
+ //# sourceMappingURL=getAverageClickPositionResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getAverageClickPositionResponse.d.ts","sourceRoot":"","sources":["../../model/getAverageClickPositionResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,oBAAY,+BAA+B,GAAG;IAC5C;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,KAAK,EAAE,iBAAiB,EAAE,CAAC;CAC5B,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { ClickPosition } from './clickPosition';
2
+ export declare type GetClickPositionsResponse = {
3
+ /**
4
+ * A list of the click positions with their click count.
5
+ */
6
+ positions: ClickPosition[];
7
+ };
8
+ //# sourceMappingURL=getClickPositionsResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getClickPositionsResponse.d.ts","sourceRoot":"","sources":["../../model/getClickPositionsResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,oBAAY,yBAAyB,GAAG;IACtC;;OAEG;IACH,SAAS,EAAE,aAAa,EAAE,CAAC;CAC5B,CAAC"}
@@ -0,0 +1,20 @@
1
+ import type { ClickThroughRateEvent } from './clickThroughRateEvent';
2
+ export declare type GetClickThroughRateResponse = {
3
+ /**
4
+ * The click-through rate.
5
+ */
6
+ rate: number;
7
+ /**
8
+ * The number of click event.
9
+ */
10
+ clickCount: number;
11
+ /**
12
+ * The number of tracked search click.
13
+ */
14
+ trackedSearchCount: number;
15
+ /**
16
+ * A list of click-through rate events with their date.
17
+ */
18
+ dates: ClickThroughRateEvent[];
19
+ };
20
+ //# sourceMappingURL=getClickThroughRateResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getClickThroughRateResponse.d.ts","sourceRoot":"","sources":["../../model/getClickThroughRateResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAErE,oBAAY,2BAA2B,GAAG;IACxC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACH,KAAK,EAAE,qBAAqB,EAAE,CAAC;CAChC,CAAC"}
@@ -0,0 +1,20 @@
1
+ import type { ConversionRateEvent } from './conversionRateEvent';
2
+ export declare type GetConversationRateResponse = {
3
+ /**
4
+ * The click-through rate.
5
+ */
6
+ rate: number;
7
+ /**
8
+ * The number of tracked search click.
9
+ */
10
+ trackedSearchCount: number;
11
+ /**
12
+ * The number of converted clicks.
13
+ */
14
+ conversionCount: number;
15
+ /**
16
+ * A list of conversion events with their date.
17
+ */
18
+ dates: ConversionRateEvent[];
19
+ };
20
+ //# sourceMappingURL=getConversationRateResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getConversationRateResponse.d.ts","sourceRoot":"","sources":["../../model/getConversationRateResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAEjE,oBAAY,2BAA2B,GAAG;IACxC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,KAAK,EAAE,mBAAmB,EAAE,CAAC;CAC9B,CAAC"}
@@ -0,0 +1,20 @@
1
+ import type { NoClickRateEvent } from './noClickRateEvent';
2
+ export declare type GetNoClickRateResponse = {
3
+ /**
4
+ * The click-through rate.
5
+ */
6
+ rate: number;
7
+ /**
8
+ * The number of click event.
9
+ */
10
+ count: number;
11
+ /**
12
+ * The number of click event.
13
+ */
14
+ noClickCount: number;
15
+ /**
16
+ * A list of searches without clicks with their date, rate and counts.
17
+ */
18
+ dates: NoClickRateEvent[];
19
+ };
20
+ //# sourceMappingURL=getNoClickRateResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getNoClickRateResponse.d.ts","sourceRoot":"","sources":["../../model/getNoClickRateResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE3D,oBAAY,sBAAsB,GAAG;IACnC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,KAAK,EAAE,gBAAgB,EAAE,CAAC;CAC3B,CAAC"}
@@ -0,0 +1,20 @@
1
+ import type { NoResultsRateEvent } from './noResultsRateEvent';
2
+ export declare type GetNoResultsRateResponse = {
3
+ /**
4
+ * The click-through rate.
5
+ */
6
+ rate: number;
7
+ /**
8
+ * The number of occurrences.
9
+ */
10
+ count: number;
11
+ /**
12
+ * The number of occurrences.
13
+ */
14
+ noResultCount: number;
15
+ /**
16
+ * A list of searches without results with their date, rate and counts.
17
+ */
18
+ dates: NoResultsRateEvent[];
19
+ };
20
+ //# sourceMappingURL=getNoResultsRateResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getNoResultsRateResponse.d.ts","sourceRoot":"","sources":["../../model/getNoResultsRateResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,oBAAY,wBAAwB,GAAG;IACrC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,KAAK,EAAE,kBAAkB,EAAE,CAAC;CAC7B,CAAC"}
@@ -0,0 +1,12 @@
1
+ import type { SearchEvent } from './searchEvent';
2
+ export declare type GetSearchesCountResponse = {
3
+ /**
4
+ * The number of occurrences.
5
+ */
6
+ count: number;
7
+ /**
8
+ * A list of search events with their date and count.
9
+ */
10
+ dates: SearchEvent[];
11
+ };
12
+ //# sourceMappingURL=getSearchesCountResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSearchesCountResponse.d.ts","sourceRoot":"","sources":["../../model/getSearchesCountResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEjD,oBAAY,wBAAwB,GAAG;IACrC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,KAAK,EAAE,WAAW,EAAE,CAAC;CACtB,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { SearchNoClickEvent } from './searchNoClickEvent';
2
+ export declare type GetSearchesNoClicksResponse = {
3
+ /**
4
+ * A list of searches with no clicks and their count.
5
+ */
6
+ searches: SearchNoClickEvent[];
7
+ };
8
+ //# sourceMappingURL=getSearchesNoClicksResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSearchesNoClicksResponse.d.ts","sourceRoot":"","sources":["../../model/getSearchesNoClicksResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,oBAAY,2BAA2B,GAAG;IACxC;;OAEG;IACH,QAAQ,EAAE,kBAAkB,EAAE,CAAC;CAChC,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { SearchNoResultEvent } from './searchNoResultEvent';
2
+ export declare type GetSearchesNoResultsResponse = {
3
+ /**
4
+ * A list of searches with no results and their count.
5
+ */
6
+ searches: SearchNoResultEvent[];
7
+ };
8
+ //# sourceMappingURL=getSearchesNoResultsResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSearchesNoResultsResponse.d.ts","sourceRoot":"","sources":["../../model/getSearchesNoResultsResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAEjE,oBAAY,4BAA4B,GAAG;IACzC;;OAEG;IACH,QAAQ,EAAE,mBAAmB,EAAE,CAAC;CACjC,CAAC"}
@@ -0,0 +1,7 @@
1
+ export declare type GetStatusResponse = {
2
+ /**
3
+ * Date of last update (ISO-8601 format).
4
+ */
5
+ updatedAt: string;
6
+ };
7
+ //# sourceMappingURL=getStatusResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getStatusResponse.d.ts","sourceRoot":"","sources":["../../model/getStatusResponse.ts"],"names":[],"mappings":"AAEA,oBAAY,iBAAiB,GAAG;IAC9B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { TopCountry } from './topCountry';
2
+ export declare type GetTopCountriesResponse = {
3
+ /**
4
+ * A list of countries with their count.
5
+ */
6
+ countries: TopCountry[];
7
+ };
8
+ //# sourceMappingURL=getTopCountriesResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getTopCountriesResponse.d.ts","sourceRoot":"","sources":["../../model/getTopCountriesResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,oBAAY,uBAAuB,GAAG;IACpC;;OAEG;IACH,SAAS,EAAE,UAAU,EAAE,CAAC;CACzB,CAAC"}
@@ -0,0 +1,11 @@
1
+ export declare type GetTopFilterAttribute = {
2
+ /**
3
+ * The attribute.
4
+ */
5
+ attribute: string;
6
+ /**
7
+ * The number of occurrences.
8
+ */
9
+ count: number;
10
+ };
11
+ //# sourceMappingURL=getTopFilterAttribute.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getTopFilterAttribute.d.ts","sourceRoot":"","sources":["../../model/getTopFilterAttribute.ts"],"names":[],"mappings":"AAEA,oBAAY,qBAAqB,GAAG;IAClC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { GetTopFilterAttribute } from './getTopFilterAttribute';
2
+ export declare type GetTopFilterAttributesResponse = {
3
+ /**
4
+ * A list of attributes with their count.
5
+ */
6
+ attributes: GetTopFilterAttribute[];
7
+ };
8
+ //# sourceMappingURL=getTopFilterAttributesResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getTopFilterAttributesResponse.d.ts","sourceRoot":"","sources":["../../model/getTopFilterAttributesResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAErE,oBAAY,8BAA8B,GAAG;IAC3C;;OAEG;IACH,UAAU,EAAE,qBAAqB,EAAE,CAAC;CACrC,CAAC"}
@@ -0,0 +1,19 @@
1
+ export declare type GetTopFilterForAttribute = {
2
+ /**
3
+ * The attribute.
4
+ */
5
+ attribute: string;
6
+ /**
7
+ * The operator.
8
+ */
9
+ operator: string;
10
+ /**
11
+ * The value of the attribute.
12
+ */
13
+ value: string;
14
+ /**
15
+ * The number of occurrences.
16
+ */
17
+ count: number;
18
+ };
19
+ //# sourceMappingURL=getTopFilterForAttribute.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getTopFilterForAttribute.d.ts","sourceRoot":"","sources":["../../model/getTopFilterForAttribute.ts"],"names":[],"mappings":"AAEA,oBAAY,wBAAwB,GAAG;IACrC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { GetTopFilterForAttribute } from './getTopFilterForAttribute';
2
+ export declare type GetTopFilterForAttributeResponse = {
3
+ /**
4
+ * A list of filters for the given attributes.
5
+ */
6
+ values: GetTopFilterForAttribute[];
7
+ };
8
+ //# sourceMappingURL=getTopFilterForAttributeResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getTopFilterForAttributeResponse.d.ts","sourceRoot":"","sources":["../../model/getTopFilterForAttributeResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAE3E,oBAAY,gCAAgC,GAAG;IAC7C;;OAEG;IACH,MAAM,EAAE,wBAAwB,EAAE,CAAC;CACpC,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { GetTopFiltersNoResultsValues } from './getTopFiltersNoResultsValues';
2
+ export declare type GetTopFiltersNoResultsResponse = {
3
+ /**
4
+ * A list of filters without results.
5
+ */
6
+ values: GetTopFiltersNoResultsValues[];
7
+ };
8
+ //# sourceMappingURL=getTopFiltersNoResultsResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getTopFiltersNoResultsResponse.d.ts","sourceRoot":"","sources":["../../model/getTopFiltersNoResultsResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAEnF,oBAAY,8BAA8B,GAAG;IAC3C;;OAEG;IACH,MAAM,EAAE,4BAA4B,EAAE,CAAC;CACxC,CAAC"}
@@ -0,0 +1,15 @@
1
+ export declare type GetTopFiltersNoResultsValue = {
2
+ /**
3
+ * The attribute.
4
+ */
5
+ attribute: string;
6
+ /**
7
+ * The operator.
8
+ */
9
+ operator: string;
10
+ /**
11
+ * The value of the attribute.
12
+ */
13
+ value: string;
14
+ };
15
+ //# sourceMappingURL=getTopFiltersNoResultsValue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getTopFiltersNoResultsValue.d.ts","sourceRoot":"","sources":["../../model/getTopFiltersNoResultsValue.ts"],"names":[],"mappings":"AAEA,oBAAY,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"}
@@ -0,0 +1,12 @@
1
+ import type { GetTopFiltersNoResultsValue } from './getTopFiltersNoResultsValue';
2
+ export declare type GetTopFiltersNoResultsValues = {
3
+ /**
4
+ * The number of occurrences.
5
+ */
6
+ count: number;
7
+ /**
8
+ * A list of filters without results.
9
+ */
10
+ values: GetTopFiltersNoResultsValue[];
11
+ };
12
+ //# sourceMappingURL=getTopFiltersNoResultsValues.d.ts.map
@@ -0,0 +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,oBAAY,4BAA4B,GAAG;IACzC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,MAAM,EAAE,2BAA2B,EAAE,CAAC;CACvC,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { TopHitsResponse } from './topHitsResponse';
2
+ import type { TopHitsResponseWithAnalytics } from './topHitsResponseWithAnalytics';
3
+ export declare type GetTopHitsResponse = TopHitsResponse | TopHitsResponseWithAnalytics;
4
+ //# sourceMappingURL=getTopHitsResponse.d.ts.map
@@ -0,0 +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,oBAAY,kBAAkB,GAAG,eAAe,GAAG,4BAA4B,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { TopSearchesResponse } from './topSearchesResponse';
2
+ import type { TopSearchesResponseWithAnalytics } from './topSearchesResponseWithAnalytics';
3
+ export declare type GetTopSearchesResponse = TopSearchesResponse | TopSearchesResponseWithAnalytics;
4
+ //# sourceMappingURL=getTopSearchesResponse.d.ts.map
@@ -0,0 +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,oBAAY,sBAAsB,GAC9B,mBAAmB,GACnB,gCAAgC,CAAC"}
@@ -0,0 +1,12 @@
1
+ import type { UserWithDate } from './userWithDate';
2
+ export declare type GetUsersCountResponse = {
3
+ /**
4
+ * The number of occurrences.
5
+ */
6
+ count: number;
7
+ /**
8
+ * A list of users count with their date.
9
+ */
10
+ dates: UserWithDate[];
11
+ };
12
+ //# sourceMappingURL=getUsersCountResponse.d.ts.map
@@ -0,0 +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,oBAAY,qBAAqB,GAAG;IAClC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,KAAK,EAAE,YAAY,EAAE,CAAC;CACvB,CAAC"}
@@ -0,0 +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';
45
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../model/index.ts"],"names":[],"mappings":"AAEA,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,mCAAmC,CAAC;AAClD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,kCAAkC,CAAC;AACjD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oCAAoC,CAAC;AACnD,cAAc,kCAAkC,CAAC;AACjD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,aAAa,CAAC;AAC5B,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oCAAoC,CAAC;AACnD,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC"}
@@ -0,0 +1,19 @@
1
+ export declare type NoClickRateEvent = {
2
+ /**
3
+ * The click-through rate.
4
+ */
5
+ rate: number;
6
+ /**
7
+ * The number of click event.
8
+ */
9
+ count: number;
10
+ /**
11
+ * The number of click event.
12
+ */
13
+ noClickCount: number;
14
+ /**
15
+ * Date of the event.
16
+ */
17
+ date: string;
18
+ };
19
+ //# sourceMappingURL=noClickRateEvent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"noClickRateEvent.d.ts","sourceRoot":"","sources":["../../model/noClickRateEvent.ts"],"names":[],"mappings":"AAEA,oBAAY,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"}
@@ -0,0 +1,19 @@
1
+ export declare type NoResultsRateEvent = {
2
+ /**
3
+ * Date of the event.
4
+ */
5
+ date: string;
6
+ /**
7
+ * The number of occurrences.
8
+ */
9
+ noResultCount: number;
10
+ /**
11
+ * The number of occurrences.
12
+ */
13
+ count: number;
14
+ /**
15
+ * The click-through rate.
16
+ */
17
+ rate: number;
18
+ };
19
+ //# sourceMappingURL=noResultsRateEvent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"noResultsRateEvent.d.ts","sourceRoot":"","sources":["../../model/noResultsRateEvent.ts"],"names":[],"mappings":"AAEA,oBAAY,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"}
@@ -0,0 +1,2 @@
1
+ export declare type OrderBy = 'averageClickPosition' | 'clickThroughRate' | 'conversionRate' | 'searchCount';
2
+ //# sourceMappingURL=orderBy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"orderBy.d.ts","sourceRoot":"","sources":["../../model/orderBy.ts"],"names":[],"mappings":"AAEA,oBAAY,OAAO,GACf,sBAAsB,GACtB,kBAAkB,GAClB,gBAAgB,GAChB,aAAa,CAAC"}
@@ -0,0 +1,11 @@
1
+ export declare type SearchEvent = {
2
+ /**
3
+ * Date of the event.
4
+ */
5
+ date: string;
6
+ /**
7
+ * The number of occurrences.
8
+ */
9
+ count: number;
10
+ };
11
+ //# sourceMappingURL=searchEvent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"searchEvent.d.ts","sourceRoot":"","sources":["../../model/searchEvent.ts"],"names":[],"mappings":"AAEA,oBAAY,WAAW,GAAG;IACxB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC"}
@@ -0,0 +1,15 @@
1
+ export declare type SearchNoClickEvent = {
2
+ /**
3
+ * The search query.
4
+ */
5
+ search: string;
6
+ /**
7
+ * The number of occurrences.
8
+ */
9
+ count: number;
10
+ /**
11
+ * The number of occurrences.
12
+ */
13
+ withFilterCount: number;
14
+ };
15
+ //# sourceMappingURL=searchNoClickEvent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"searchNoClickEvent.d.ts","sourceRoot":"","sources":["../../model/searchNoClickEvent.ts"],"names":[],"mappings":"AAEA,oBAAY,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"}
@@ -0,0 +1,15 @@
1
+ export declare type SearchNoResultEvent = {
2
+ /**
3
+ * The search query.
4
+ */
5
+ search: string;
6
+ /**
7
+ * The number of occurrences.
8
+ */
9
+ count: number;
10
+ /**
11
+ * Number of hits that the search query matched.
12
+ */
13
+ nbHits: number;
14
+ };
15
+ //# sourceMappingURL=searchNoResultEvent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"searchNoResultEvent.d.ts","sourceRoot":"","sources":["../../model/searchNoResultEvent.ts"],"names":[],"mappings":"AAEA,oBAAY,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"}
@@ -0,0 +1,11 @@
1
+ export declare type TopCountry = {
2
+ /**
3
+ * The country.
4
+ */
5
+ country: string;
6
+ /**
7
+ * The number of occurrences.
8
+ */
9
+ count: number;
10
+ };
11
+ //# sourceMappingURL=topCountry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"topCountry.d.ts","sourceRoot":"","sources":["../../model/topCountry.ts"],"names":[],"mappings":"AAEA,oBAAY,UAAU,GAAG;IACvB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC"}
@@ -0,0 +1,11 @@
1
+ export declare type TopHit = {
2
+ /**
3
+ * The hit.
4
+ */
5
+ hit: string;
6
+ /**
7
+ * The number of occurrences.
8
+ */
9
+ count: number;
10
+ };
11
+ //# sourceMappingURL=topHit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"topHit.d.ts","sourceRoot":"","sources":["../../model/topHit.ts"],"names":[],"mappings":"AAEA,oBAAY,MAAM,GAAG;IACnB;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC"}
@@ -0,0 +1,31 @@
1
+ export declare type TopHitWithAnalytics = {
2
+ /**
3
+ * The hit.
4
+ */
5
+ hit: string;
6
+ /**
7
+ * The number of occurrences.
8
+ */
9
+ count: number;
10
+ /**
11
+ * The click-through rate.
12
+ */
13
+ clickThroughRate: number;
14
+ /**
15
+ * The conversion rate.
16
+ */
17
+ conversionRate: number;
18
+ /**
19
+ * The number of tracked search click.
20
+ */
21
+ trackedSearchCount: number;
22
+ /**
23
+ * The number of click event.
24
+ */
25
+ clickCount: number;
26
+ /**
27
+ * The number of converted clicks.
28
+ */
29
+ conversionCount: number;
30
+ };
31
+ //# sourceMappingURL=topHitWithAnalytics.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"topHitWithAnalytics.d.ts","sourceRoot":"","sources":["../../model/topHitWithAnalytics.ts"],"names":[],"mappings":"AAEA,oBAAY,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"}
@@ -0,0 +1,8 @@
1
+ import type { TopHit } from './topHit';
2
+ export declare type TopHitsResponse = {
3
+ /**
4
+ * A list of top hits with their count.
5
+ */
6
+ hits: TopHit[];
7
+ };
8
+ //# sourceMappingURL=topHitsResponse.d.ts.map
@@ -0,0 +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,oBAAY,eAAe,GAAG;IAC5B;;OAEG;IACH,IAAI,EAAE,MAAM,EAAE,CAAC;CAChB,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { TopHitWithAnalytics } from './topHitWithAnalytics';
2
+ export declare type TopHitsResponseWithAnalytics = {
3
+ /**
4
+ * A list of top hits with their count and analytics.
5
+ */
6
+ hits: TopHitWithAnalytics[];
7
+ };
8
+ //# sourceMappingURL=topHitsResponseWithAnalytics.d.ts.map
@@ -0,0 +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,oBAAY,4BAA4B,GAAG;IACzC;;OAEG;IACH,IAAI,EAAE,mBAAmB,EAAE,CAAC;CAC7B,CAAC"}