@algolia/client-analytics 5.0.0-alpha.108 → 5.0.0-alpha.109

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 (186) hide show
  1. package/dist/builds/browser.d.ts +6 -3
  2. package/dist/builds/browser.d.ts.map +1 -1
  3. package/dist/builds/node.d.ts +6 -3
  4. package/dist/builds/node.d.ts.map +1 -1
  5. package/dist/client-analytics.cjs +181 -53
  6. package/dist/client-analytics.esm.browser.js +182 -54
  7. package/dist/client-analytics.esm.node.js +181 -53
  8. package/dist/client-analytics.umd.js +2 -2
  9. package/dist/model/clickPositionsInner.d.ts +14 -0
  10. package/dist/model/clickPositionsInner.d.ts.map +1 -0
  11. package/dist/model/clientMethodProps.d.ts +96 -25
  12. package/dist/model/clientMethodProps.d.ts.map +1 -1
  13. package/dist/model/currenciesValue.d.ts +14 -0
  14. package/dist/model/currenciesValue.d.ts.map +1 -0
  15. package/dist/model/dailyAddToCartRates.d.ts +19 -0
  16. package/dist/model/dailyAddToCartRates.d.ts.map +1 -0
  17. package/dist/model/dailyAverageClicks.d.ts +15 -0
  18. package/dist/model/dailyAverageClicks.d.ts.map +1 -0
  19. package/dist/model/dailyClickThroughRates.d.ts +19 -0
  20. package/dist/model/dailyClickThroughRates.d.ts.map +1 -0
  21. package/dist/model/dailyConversionRates.d.ts +19 -0
  22. package/dist/model/dailyConversionRates.d.ts.map +1 -0
  23. package/dist/model/dailyNoClickRates.d.ts +19 -0
  24. package/dist/model/dailyNoClickRates.d.ts.map +1 -0
  25. package/dist/model/dailyNoResultsRates.d.ts +19 -0
  26. package/dist/model/dailyNoResultsRates.d.ts.map +1 -0
  27. package/dist/model/dailyPurchaseRates.d.ts +19 -0
  28. package/dist/model/dailyPurchaseRates.d.ts.map +1 -0
  29. package/dist/model/dailyRevenue.d.ts +12 -0
  30. package/dist/model/dailyRevenue.d.ts.map +1 -0
  31. package/dist/model/dailySearches.d.ts +11 -0
  32. package/dist/model/dailySearches.d.ts.map +1 -0
  33. package/dist/model/dailySearchesNoClicks.d.ts +15 -0
  34. package/dist/model/dailySearchesNoClicks.d.ts.map +1 -0
  35. package/dist/model/dailySearchesNoResults.d.ts +15 -0
  36. package/dist/model/dailySearchesNoResults.d.ts.map +1 -0
  37. package/dist/model/dailyUsers.d.ts +11 -0
  38. package/dist/model/dailyUsers.d.ts.map +1 -0
  39. package/dist/model/getAddToCartRateResponse.d.ts +20 -0
  40. package/dist/model/getAddToCartRateResponse.d.ts.map +1 -0
  41. package/dist/model/getAverageClickPositionResponse.d.ts +6 -6
  42. package/dist/model/getAverageClickPositionResponse.d.ts.map +1 -1
  43. package/dist/model/getClickPositionsResponse.d.ts +3 -3
  44. package/dist/model/getClickPositionsResponse.d.ts.map +1 -1
  45. package/dist/model/getClickThroughRateResponse.d.ts +8 -8
  46. package/dist/model/getClickThroughRateResponse.d.ts.map +1 -1
  47. package/dist/model/getConversionRateResponse.d.ts +20 -0
  48. package/dist/model/getConversionRateResponse.d.ts.map +1 -0
  49. package/dist/model/getNoClickRateResponse.d.ts +6 -6
  50. package/dist/model/getNoClickRateResponse.d.ts.map +1 -1
  51. package/dist/model/getNoResultsRateResponse.d.ts +6 -6
  52. package/dist/model/getNoResultsRateResponse.d.ts.map +1 -1
  53. package/dist/model/getPurchaseRateResponse.d.ts +20 -0
  54. package/dist/model/getPurchaseRateResponse.d.ts.map +1 -0
  55. package/dist/model/getRevenue.d.ts +13 -0
  56. package/dist/model/getRevenue.d.ts.map +1 -0
  57. package/dist/model/getSearchesCountResponse.d.ts +3 -3
  58. package/dist/model/getSearchesCountResponse.d.ts.map +1 -1
  59. package/dist/model/getSearchesNoClicksResponse.d.ts +3 -3
  60. package/dist/model/getSearchesNoClicksResponse.d.ts.map +1 -1
  61. package/dist/model/getSearchesNoResultsResponse.d.ts +3 -3
  62. package/dist/model/getSearchesNoResultsResponse.d.ts.map +1 -1
  63. package/dist/model/getStatusResponse.d.ts +2 -2
  64. package/dist/model/getStatusResponse.d.ts.map +1 -1
  65. package/dist/model/getTopCountriesResponse.d.ts +1 -1
  66. package/dist/model/getTopFilterAttributesResponse.d.ts +1 -1
  67. package/dist/model/getTopFilterForAttribute.d.ts +2 -4
  68. package/dist/model/getTopFilterForAttribute.d.ts.map +1 -1
  69. package/dist/model/getTopFiltersNoResultsResponse.d.ts +2 -2
  70. package/dist/model/getTopFiltersNoResultsResponse.d.ts.map +1 -1
  71. package/dist/model/getTopFiltersNoResultsValue.d.ts +2 -4
  72. package/dist/model/getTopFiltersNoResultsValue.d.ts.map +1 -1
  73. package/dist/model/getTopHitsResponse.d.ts +2 -1
  74. package/dist/model/getTopHitsResponse.d.ts.map +1 -1
  75. package/dist/model/getTopSearchesResponse.d.ts +2 -1
  76. package/dist/model/getTopSearchesResponse.d.ts.map +1 -1
  77. package/dist/model/getUsersCountResponse.d.ts +4 -4
  78. package/dist/model/getUsersCountResponse.d.ts.map +1 -1
  79. package/dist/model/index.d.ts +23 -11
  80. package/dist/model/index.d.ts.map +1 -1
  81. package/dist/model/operator.d.ts +5 -0
  82. package/dist/model/operator.d.ts.map +1 -0
  83. package/dist/model/orderBy.d.ts +1 -1
  84. package/dist/model/topCountry.d.ts +1 -1
  85. package/dist/model/topHit.d.ts +1 -1
  86. package/dist/model/topHitWithAnalytics.d.ts +9 -9
  87. package/dist/model/topHitWithAnalytics.d.ts.map +1 -1
  88. package/dist/model/topHitWithRevenueAnalytics.d.ts +52 -0
  89. package/dist/model/topHitWithRevenueAnalytics.d.ts.map +1 -0
  90. package/dist/model/topHitsResponse.d.ts +1 -1
  91. package/dist/model/topHitsResponseWithAnalytics.d.ts +1 -1
  92. package/dist/model/topHitsResponseWithRevenueAnalytics.d.ts +8 -0
  93. package/dist/model/topHitsResponseWithRevenueAnalytics.d.ts.map +1 -0
  94. package/dist/model/topSearch.d.ts +2 -2
  95. package/dist/model/topSearchWithAnalytics.d.ts +17 -12
  96. package/dist/model/topSearchWithAnalytics.d.ts.map +1 -1
  97. package/dist/model/topSearchWithRevenueAnalytics.d.ts +65 -0
  98. package/dist/model/topSearchWithRevenueAnalytics.d.ts.map +1 -0
  99. package/dist/model/topSearchesResponse.d.ts +1 -1
  100. package/dist/model/topSearchesResponseWithAnalytics.d.ts +1 -1
  101. package/dist/model/topSearchesResponseWithRevenueAnalytics.d.ts +8 -0
  102. package/dist/model/topSearchesResponseWithRevenueAnalytics.d.ts.map +1 -0
  103. package/dist/src/analyticsClient.d.ts +97 -50
  104. package/dist/src/analyticsClient.d.ts.map +1 -1
  105. package/model/clickPositionsInner.ts +16 -0
  106. package/model/clientMethodProps.ts +99 -25
  107. package/model/currenciesValue.ts +16 -0
  108. package/model/dailyAddToCartRates.ts +23 -0
  109. package/model/dailyAverageClicks.ts +18 -0
  110. package/model/dailyClickThroughRates.ts +23 -0
  111. package/model/dailyConversionRates.ts +23 -0
  112. package/model/dailyNoClickRates.ts +23 -0
  113. package/model/dailyNoResultsRates.ts +23 -0
  114. package/model/dailyPurchaseRates.ts +23 -0
  115. package/model/dailyRevenue.ts +15 -0
  116. package/model/{searchEvent.ts → dailySearches.ts} +2 -2
  117. package/model/{searchNoResultEvent.ts → dailySearchesNoClicks.ts} +3 -3
  118. package/model/{searchNoClickEvent.ts → dailySearchesNoResults.ts} +3 -3
  119. package/model/{userWithDate.ts → dailyUsers.ts} +3 -3
  120. package/model/getAddToCartRateResponse.ts +25 -0
  121. package/model/getAverageClickPositionResponse.ts +6 -6
  122. package/model/getClickPositionsResponse.ts +3 -3
  123. package/model/getClickThroughRateResponse.ts +8 -8
  124. package/model/getConversionRateResponse.ts +25 -0
  125. package/model/getNoClickRateResponse.ts +6 -6
  126. package/model/getNoResultsRateResponse.ts +6 -6
  127. package/model/getPurchaseRateResponse.ts +25 -0
  128. package/model/getRevenue.ts +16 -0
  129. package/model/getSearchesCountResponse.ts +3 -3
  130. package/model/getSearchesNoClicksResponse.ts +3 -3
  131. package/model/getSearchesNoResultsResponse.ts +3 -3
  132. package/model/getStatusResponse.ts +2 -2
  133. package/model/getTopCountriesResponse.ts +1 -1
  134. package/model/getTopFilterAttributesResponse.ts +1 -1
  135. package/model/getTopFilterForAttribute.ts +3 -4
  136. package/model/getTopFiltersNoResultsResponse.ts +2 -2
  137. package/model/getTopFiltersNoResultsValue.ts +3 -4
  138. package/model/getTopHitsResponse.ts +5 -1
  139. package/model/getTopSearchesResponse.ts +3 -1
  140. package/model/getUsersCountResponse.ts +4 -4
  141. package/model/index.ts +23 -11
  142. package/model/operator.ts +6 -0
  143. package/model/orderBy.ts +1 -1
  144. package/model/topCountry.ts +1 -1
  145. package/model/topHit.ts +1 -1
  146. package/model/topHitWithAnalytics.ts +9 -9
  147. package/model/topHitWithRevenueAnalytics.ts +65 -0
  148. package/model/topHitsResponse.ts +1 -1
  149. package/model/topHitsResponseWithAnalytics.ts +1 -1
  150. package/model/topHitsResponseWithRevenueAnalytics.ts +10 -0
  151. package/model/topSearch.ts +2 -2
  152. package/model/topSearchWithAnalytics.ts +19 -12
  153. package/model/topSearchWithRevenueAnalytics.ts +81 -0
  154. package/model/topSearchesResponse.ts +1 -1
  155. package/model/topSearchesResponseWithAnalytics.ts +1 -1
  156. package/model/topSearchesResponseWithRevenueAnalytics.ts +10 -0
  157. package/package.json +6 -6
  158. package/dist/model/averageClickEvent.d.ts +0 -15
  159. package/dist/model/averageClickEvent.d.ts.map +0 -1
  160. package/dist/model/clickPosition.d.ts +0 -11
  161. package/dist/model/clickPosition.d.ts.map +0 -1
  162. package/dist/model/clickThroughRateEvent.d.ts +0 -19
  163. package/dist/model/clickThroughRateEvent.d.ts.map +0 -1
  164. package/dist/model/conversionRateEvent.d.ts +0 -19
  165. package/dist/model/conversionRateEvent.d.ts.map +0 -1
  166. package/dist/model/getConversationRateResponse.d.ts +0 -20
  167. package/dist/model/getConversationRateResponse.d.ts.map +0 -1
  168. package/dist/model/noClickRateEvent.d.ts +0 -19
  169. package/dist/model/noClickRateEvent.d.ts.map +0 -1
  170. package/dist/model/noResultsRateEvent.d.ts +0 -19
  171. package/dist/model/noResultsRateEvent.d.ts.map +0 -1
  172. package/dist/model/searchEvent.d.ts +0 -11
  173. package/dist/model/searchEvent.d.ts.map +0 -1
  174. package/dist/model/searchNoClickEvent.d.ts +0 -15
  175. package/dist/model/searchNoClickEvent.d.ts.map +0 -1
  176. package/dist/model/searchNoResultEvent.d.ts +0 -15
  177. package/dist/model/searchNoResultEvent.d.ts.map +0 -1
  178. package/dist/model/userWithDate.d.ts +0 -11
  179. package/dist/model/userWithDate.d.ts.map +0 -1
  180. package/model/averageClickEvent.ts +0 -18
  181. package/model/clickPosition.ts +0 -13
  182. package/model/clickThroughRateEvent.ts +0 -23
  183. package/model/conversionRateEvent.ts +0 -23
  184. package/model/getConversationRateResponse.ts +0 -25
  185. package/model/noClickRateEvent.ts +0 -23
  186. package/model/noResultsRateEvent.ts +0 -23
@@ -0,0 +1,19 @@
1
+ export type DailyPurchaseRates = {
2
+ /**
3
+ * Purchase rate, calculated as number of tracked searches with at least one purchase event divided by the number of tracked searches. If null, Algolia didn\'t receive any search requests with `clickAnalytics` set to true.
4
+ */
5
+ rate: number | null;
6
+ /**
7
+ * Number of tracked searches. Tracked searches are search requests where the `clickAnalytics` parameter is true.
8
+ */
9
+ trackedSearchCount: number;
10
+ /**
11
+ * Number of purchase events from this search.
12
+ */
13
+ purchaseCount: number;
14
+ /**
15
+ * Date in the format YYYY-MM-DD.
16
+ */
17
+ date: string;
18
+ };
19
+ //# sourceMappingURL=dailyPurchaseRates.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dailyPurchaseRates.d.ts","sourceRoot":"","sources":["../../model/dailyPurchaseRates.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;OAEG;IACH,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAEpB;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd,CAAC"}
@@ -0,0 +1,12 @@
1
+ import type { CurrenciesValue } from './currenciesValue';
2
+ export type DailyRevenue = {
3
+ /**
4
+ * Revenue associated with this search, broken-down by currencies.
5
+ */
6
+ currencies: Record<string, CurrenciesValue>;
7
+ /**
8
+ * Date in the format YYYY-MM-DD.
9
+ */
10
+ date: string;
11
+ };
12
+ //# sourceMappingURL=dailyRevenue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dailyRevenue.d.ts","sourceRoot":"","sources":["../../model/dailyRevenue.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD,MAAM,MAAM,YAAY,GAAG;IACzB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;IAE5C;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd,CAAC"}
@@ -0,0 +1,11 @@
1
+ export type DailySearches = {
2
+ /**
3
+ * Date in the format YYYY-MM-DD.
4
+ */
5
+ date: string;
6
+ /**
7
+ * Number of occurrences.
8
+ */
9
+ count: number;
10
+ };
11
+ //# sourceMappingURL=dailySearches.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dailySearches.d.ts","sourceRoot":"","sources":["../../model/dailySearches.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC"}
@@ -0,0 +1,15 @@
1
+ export type DailySearchesNoClicks = {
2
+ /**
3
+ * Search query.
4
+ */
5
+ search: string;
6
+ /**
7
+ * Number of tracked searches.
8
+ */
9
+ count: number;
10
+ /**
11
+ * Number of results (hits).
12
+ */
13
+ nbHits: number;
14
+ };
15
+ //# sourceMappingURL=dailySearchesNoClicks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dailySearchesNoClicks.d.ts","sourceRoot":"","sources":["../../model/dailySearchesNoClicks.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,qBAAqB,GAAG;IAClC;;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,15 @@
1
+ export type DailySearchesNoResults = {
2
+ /**
3
+ * Search query.
4
+ */
5
+ search: string;
6
+ /**
7
+ * Number of occurrences.
8
+ */
9
+ count: number;
10
+ /**
11
+ * Number of searches for this term with applied filters.
12
+ */
13
+ withFilterCount: number;
14
+ };
15
+ //# sourceMappingURL=dailySearchesNoResults.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dailySearchesNoResults.d.ts","sourceRoot":"","sources":["../../model/dailySearchesNoResults.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,sBAAsB,GAAG;IACnC;;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,11 @@
1
+ export type DailyUsers = {
2
+ /**
3
+ * Date in the format YYYY-MM-DD.
4
+ */
5
+ date: string;
6
+ /**
7
+ * Number of unique users.
8
+ */
9
+ count: number;
10
+ };
11
+ //# sourceMappingURL=dailyUsers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dailyUsers.d.ts","sourceRoot":"","sources":["../../model/dailyUsers.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,UAAU,GAAG;IACvB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC"}
@@ -0,0 +1,20 @@
1
+ import type { DailyAddToCartRates } from './dailyAddToCartRates';
2
+ export type GetAddToCartRateResponse = {
3
+ /**
4
+ * Add-to-cart rate, calculated as number of tracked searches with at least one add-to-cart event divided by the number of tracked searches. If null, Algolia didn\'t receive any search requests with `clickAnalytics` set to true.
5
+ */
6
+ rate: number | null;
7
+ /**
8
+ * Number of tracked searches. Tracked searches are search requests where the `clickAnalytics` parameter is true.
9
+ */
10
+ trackedSearchCount: number;
11
+ /**
12
+ * Number of add-to-cart events from this search.
13
+ */
14
+ addToCartCount: number;
15
+ /**
16
+ * Daily add-to-cart rates.
17
+ */
18
+ dates: DailyAddToCartRates[];
19
+ };
20
+ //# sourceMappingURL=getAddToCartRateResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getAddToCartRateResponse.d.ts","sourceRoot":"","sources":["../../model/getAddToCartRateResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAEjE,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAEpB;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,KAAK,EAAE,mBAAmB,EAAE,CAAC;CAC9B,CAAC"}
@@ -1,16 +1,16 @@
1
- import type { AverageClickEvent } from './averageClickEvent';
1
+ import type { DailyAverageClicks } from './dailyAverageClicks';
2
2
  export type GetAverageClickPositionResponse = {
3
3
  /**
4
- * Average count of all click events.
4
+ * Average position of a clicked search result in the list of search results. If null, Algolia didn\'t receive any search requests with `clickAnalytics` set to true.
5
5
  */
6
- average: number;
6
+ average: number | null;
7
7
  /**
8
- * Number of click events.
8
+ * Number of clicks associated with this search.
9
9
  */
10
10
  clickCount: number;
11
11
  /**
12
- * Average click positions.
12
+ * Daily average click positions.
13
13
  */
14
- dates: AverageClickEvent[];
14
+ dates: DailyAverageClicks[];
15
15
  };
16
16
  //# sourceMappingURL=getAverageClickPositionResponse.d.ts.map
@@ -1 +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,MAAM,MAAM,+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"}
1
+ {"version":3,"file":"getAverageClickPositionResponse.d.ts","sourceRoot":"","sources":["../../model/getAverageClickPositionResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,MAAM,MAAM,+BAA+B,GAAG;IAC5C;;OAEG;IACH,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAEvB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,KAAK,EAAE,kBAAkB,EAAE,CAAC;CAC7B,CAAC"}
@@ -1,8 +1,8 @@
1
- import type { ClickPosition } from './clickPosition';
1
+ import type { ClickPositionsInner } from './clickPositionsInner';
2
2
  export type GetClickPositionsResponse = {
3
3
  /**
4
- * Click positions.
4
+ * List of positions in the search results and clicks associated with this search.
5
5
  */
6
- positions: ClickPosition[];
6
+ positions: ClickPositionsInner[];
7
7
  };
8
8
  //# sourceMappingURL=getClickPositionsResponse.d.ts.map
@@ -1 +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,MAAM,MAAM,yBAAyB,GAAG;IACtC;;OAEG;IACH,SAAS,EAAE,aAAa,EAAE,CAAC;CAC5B,CAAC"}
1
+ {"version":3,"file":"getClickPositionsResponse.d.ts","sourceRoot":"","sources":["../../model/getClickPositionsResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAEjE,MAAM,MAAM,yBAAyB,GAAG;IACtC;;OAEG;IACH,SAAS,EAAE,mBAAmB,EAAE,CAAC;CAClC,CAAC"}
@@ -1,20 +1,20 @@
1
- import type { ClickThroughRateEvent } from './clickThroughRateEvent';
1
+ import type { DailyClickThroughRates } from './dailyClickThroughRates';
2
2
  export type GetClickThroughRateResponse = {
3
3
  /**
4
- * [Click-through rate (CTR)](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-through-rate).
4
+ * Click-through rate, calculated as number of tracked searches with at least one click event divided by the number of tracked searches. If null, Algolia didn\'t receive any search requests with `clickAnalytics` set to true.
5
5
  */
6
- rate: number;
6
+ rate: number | null;
7
7
  /**
8
- * Number of click events.
8
+ * Number of clicks associated with this search.
9
9
  */
10
10
  clickCount: number;
11
11
  /**
12
- * Number of tracked searches. This is the number of search requests where the `clickAnalytics` parameter is `true`.
12
+ * Number of tracked searches. Tracked searches are search requests where the `clickAnalytics` parameter is true.
13
13
  */
14
- trackedSearchCount: number | null;
14
+ trackedSearchCount: number;
15
15
  /**
16
- * Click-through rate events.
16
+ * Daily click-through rates.
17
17
  */
18
- dates: ClickThroughRateEvent[];
18
+ dates: DailyClickThroughRates[];
19
19
  };
20
20
  //# sourceMappingURL=getClickThroughRateResponse.d.ts.map
@@ -1 +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,MAAM,MAAM,2BAA2B,GAAG;IACxC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;IAElC;;OAEG;IACH,KAAK,EAAE,qBAAqB,EAAE,CAAC;CAChC,CAAC"}
1
+ {"version":3,"file":"getClickThroughRateResponse.d.ts","sourceRoot":"","sources":["../../model/getClickThroughRateResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAEvE,MAAM,MAAM,2BAA2B,GAAG;IACxC;;OAEG;IACH,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAEpB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACH,KAAK,EAAE,sBAAsB,EAAE,CAAC;CACjC,CAAC"}
@@ -0,0 +1,20 @@
1
+ import type { DailyConversionRates } from './dailyConversionRates';
2
+ export type GetConversionRateResponse = {
3
+ /**
4
+ * Conversion rate, calculated as number of tracked searches with at least one conversion event divided by the number of tracked searches. If null, Algolia didn\'t receive any search requests with `clickAnalytics` set to true.
5
+ */
6
+ rate: number | null;
7
+ /**
8
+ * Number of tracked searches. Tracked searches are search requests where the `clickAnalytics` parameter is true.
9
+ */
10
+ trackedSearchCount: number;
11
+ /**
12
+ * Number of conversions from this search.
13
+ */
14
+ conversionCount: number;
15
+ /**
16
+ * Daily conversion rates.
17
+ */
18
+ dates: DailyConversionRates[];
19
+ };
20
+ //# sourceMappingURL=getConversionRateResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getConversionRateResponse.d.ts","sourceRoot":"","sources":["../../model/getConversionRateResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAEnE,MAAM,MAAM,yBAAyB,GAAG;IACtC;;OAEG;IACH,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAEpB;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,KAAK,EAAE,oBAAoB,EAAE,CAAC;CAC/B,CAAC"}
@@ -1,20 +1,20 @@
1
- import type { NoClickRateEvent } from './noClickRateEvent';
1
+ import type { DailyNoClickRates } from './dailyNoClickRates';
2
2
  export type GetNoClickRateResponse = {
3
3
  /**
4
- * [Click-through rate (CTR)](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-through-rate).
4
+ * No click rate, calculated as number of tracked searches without any click divided by the number of tracked searches.
5
5
  */
6
6
  rate: number;
7
7
  /**
8
- * Number of click events.
8
+ * Number of tracked searches. Tracked searches are search requests where the `clickAnalytics` parameter is true.
9
9
  */
10
10
  count: number;
11
11
  /**
12
- * Number of click events.
12
+ * Number of times this search was returned as a result without any click.
13
13
  */
14
14
  noClickCount: number;
15
15
  /**
16
- * Overall count of searches without clicks plus a daily breakdown.
16
+ * Daily no click rates.
17
17
  */
18
- dates: NoClickRateEvent[];
18
+ dates: DailyNoClickRates[];
19
19
  };
20
20
  //# sourceMappingURL=getNoClickRateResponse.d.ts.map
@@ -1 +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,MAAM,MAAM,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"}
1
+ {"version":3,"file":"getNoClickRateResponse.d.ts","sourceRoot":"","sources":["../../model/getNoClickRateResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,MAAM,MAAM,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,iBAAiB,EAAE,CAAC;CAC5B,CAAC"}
@@ -1,20 +1,20 @@
1
- import type { NoResultsRateEvent } from './noResultsRateEvent';
1
+ import type { DailyNoResultsRates } from './dailyNoResultsRates';
2
2
  export type GetNoResultsRateResponse = {
3
3
  /**
4
- * [Click-through rate (CTR)](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-through-rate).
4
+ * No results rate, calculated as number of searches with zero results divided by the total number of searches.
5
5
  */
6
6
  rate: number;
7
7
  /**
8
- * Number of occurrences.
8
+ * Number of searches.
9
9
  */
10
10
  count: number;
11
11
  /**
12
- * Number of occurrences.
12
+ * Number of searches without any results.
13
13
  */
14
14
  noResultCount: number;
15
15
  /**
16
- * Overall count of searches without results plus a daily breakdown.
16
+ * Daily no results rates.
17
17
  */
18
- dates: NoResultsRateEvent[];
18
+ dates: DailyNoResultsRates[];
19
19
  };
20
20
  //# sourceMappingURL=getNoResultsRateResponse.d.ts.map
@@ -1 +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,MAAM,MAAM,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"}
1
+ {"version":3,"file":"getNoResultsRateResponse.d.ts","sourceRoot":"","sources":["../../model/getNoResultsRateResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAEjE,MAAM,MAAM,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,mBAAmB,EAAE,CAAC;CAC9B,CAAC"}
@@ -0,0 +1,20 @@
1
+ import type { DailyPurchaseRates } from './dailyPurchaseRates';
2
+ export type GetPurchaseRateResponse = {
3
+ /**
4
+ * Purchase rate, calculated as number of tracked searches with at least one purchase event divided by the number of tracked searches. If null, Algolia didn\'t receive any search requests with `clickAnalytics` set to true.
5
+ */
6
+ rate: number | null;
7
+ /**
8
+ * Number of tracked searches. Tracked searches are search requests where the `clickAnalytics` parameter is true.
9
+ */
10
+ trackedSearchCount: number;
11
+ /**
12
+ * Number of purchase events from this search.
13
+ */
14
+ purchaseCount: number;
15
+ /**
16
+ * Daily purchase rates.
17
+ */
18
+ dates: DailyPurchaseRates[];
19
+ };
20
+ //# sourceMappingURL=getPurchaseRateResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getPurchaseRateResponse.d.ts","sourceRoot":"","sources":["../../model/getPurchaseRateResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,MAAM,MAAM,uBAAuB,GAAG;IACpC;;OAEG;IACH,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAEpB;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,KAAK,EAAE,kBAAkB,EAAE,CAAC;CAC7B,CAAC"}
@@ -0,0 +1,13 @@
1
+ import type { CurrenciesValue } from './currenciesValue';
2
+ import type { DailyRevenue } from './dailyRevenue';
3
+ export type GetRevenue = {
4
+ /**
5
+ * Revenue associated with this search, broken-down by currencies.
6
+ */
7
+ currencies: Record<string, CurrenciesValue>;
8
+ /**
9
+ * Daily revenue.
10
+ */
11
+ dates: DailyRevenue[];
12
+ };
13
+ //# sourceMappingURL=getRevenue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getRevenue.d.ts","sourceRoot":"","sources":["../../model/getRevenue.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,MAAM,MAAM,UAAU,GAAG;IACvB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;IAE5C;;OAEG;IACH,KAAK,EAAE,YAAY,EAAE,CAAC;CACvB,CAAC"}
@@ -1,12 +1,12 @@
1
- import type { SearchEvent } from './searchEvent';
1
+ import type { DailySearches } from './dailySearches';
2
2
  export type GetSearchesCountResponse = {
3
3
  /**
4
4
  * Number of occurrences.
5
5
  */
6
6
  count: number;
7
7
  /**
8
- * Search events with their associated dates and hit counts.
8
+ * Daily number of searches.
9
9
  */
10
- dates: SearchEvent[];
10
+ dates: DailySearches[];
11
11
  };
12
12
  //# sourceMappingURL=getSearchesCountResponse.d.ts.map
@@ -1 +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,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,KAAK,EAAE,WAAW,EAAE,CAAC;CACtB,CAAC"}
1
+ {"version":3,"file":"getSearchesCountResponse.d.ts","sourceRoot":"","sources":["../../model/getSearchesCountResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,KAAK,EAAE,aAAa,EAAE,CAAC;CACxB,CAAC"}
@@ -1,8 +1,8 @@
1
- import type { SearchNoClickEvent } from './searchNoClickEvent';
1
+ import type { DailySearchesNoClicks } from './dailySearchesNoClicks';
2
2
  export type GetSearchesNoClicksResponse = {
3
3
  /**
4
- * Searches with no clicks.
4
+ * Searches without any clicks.
5
5
  */
6
- searches: SearchNoClickEvent[];
6
+ searches: DailySearchesNoClicks[];
7
7
  };
8
8
  //# sourceMappingURL=getSearchesNoClicksResponse.d.ts.map
@@ -1 +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,MAAM,MAAM,2BAA2B,GAAG;IACxC;;OAEG;IACH,QAAQ,EAAE,kBAAkB,EAAE,CAAC;CAChC,CAAC"}
1
+ {"version":3,"file":"getSearchesNoClicksResponse.d.ts","sourceRoot":"","sources":["../../model/getSearchesNoClicksResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAErE,MAAM,MAAM,2BAA2B,GAAG;IACxC;;OAEG;IACH,QAAQ,EAAE,qBAAqB,EAAE,CAAC;CACnC,CAAC"}
@@ -1,8 +1,8 @@
1
- import type { SearchNoResultEvent } from './searchNoResultEvent';
1
+ import type { DailySearchesNoResults } from './dailySearchesNoResults';
2
2
  export type GetSearchesNoResultsResponse = {
3
3
  /**
4
- * Searches with no results.
4
+ * Searches without results.
5
5
  */
6
- searches: SearchNoResultEvent[];
6
+ searches: DailySearchesNoResults[];
7
7
  };
8
8
  //# sourceMappingURL=getSearchesNoResultsResponse.d.ts.map
@@ -1 +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,MAAM,MAAM,4BAA4B,GAAG;IACzC;;OAEG;IACH,QAAQ,EAAE,mBAAmB,EAAE,CAAC;CACjC,CAAC"}
1
+ {"version":3,"file":"getSearchesNoResultsResponse.d.ts","sourceRoot":"","sources":["../../model/getSearchesNoResultsResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAEvE,MAAM,MAAM,4BAA4B,GAAG;IACzC;;OAEG;IACH,QAAQ,EAAE,sBAAsB,EAAE,CAAC;CACpC,CAAC"}
@@ -1,7 +1,7 @@
1
1
  export type GetStatusResponse = {
2
2
  /**
3
- * Timestamp of the last update in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format.
3
+ * Timestamp of the last update in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format. If null, no update was performed yet.
4
4
  */
5
- updatedAt: string;
5
+ updatedAt: string | null;
6
6
  };
7
7
  //# sourceMappingURL=getStatusResponse.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getStatusResponse.d.ts","sourceRoot":"","sources":["../../model/getStatusResponse.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC"}
1
+ {"version":3,"file":"getStatusResponse.d.ts","sourceRoot":"","sources":["../../model/getStatusResponse.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import type { TopCountry } from './topCountry';
2
2
  export type GetTopCountriesResponse = {
3
3
  /**
4
- * Countries.
4
+ * Countries and number of searches.
5
5
  */
6
6
  countries: TopCountry[];
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import type { GetTopFilterAttribute } from './getTopFilterAttribute';
2
2
  export type GetTopFilterAttributesResponse = {
3
3
  /**
4
- * Filterable attributes.
4
+ * Most frequent filters.
5
5
  */
6
6
  attributes: GetTopFilterAttribute[];
7
7
  };
@@ -1,12 +1,10 @@
1
+ import type { Operator } from './operator';
1
2
  export type GetTopFilterForAttribute = {
2
3
  /**
3
4
  * Attribute name.
4
5
  */
5
6
  attribute: string;
6
- /**
7
- * Operator.
8
- */
9
- operator: string;
7
+ operator: Operator;
10
8
  /**
11
9
  * Attribute value.
12
10
  */
@@ -1 +1 @@
1
- {"version":3,"file":"getTopFilterForAttribute.d.ts","sourceRoot":"","sources":["../../model/getTopFilterForAttribute.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,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"}
1
+ {"version":3,"file":"getTopFilterForAttribute.d.ts","sourceRoot":"","sources":["../../model/getTopFilterForAttribute.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAE3C,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB,QAAQ,EAAE,QAAQ,CAAC;IAEnB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC"}
@@ -1,8 +1,8 @@
1
1
  import type { GetTopFiltersNoResultsValues } from './getTopFiltersNoResultsValues';
2
2
  export type GetTopFiltersNoResultsResponse = {
3
3
  /**
4
- * Filters with no results.
4
+ * Filters for searches without any results. If null, the search term specified with the `search` parameter is not a search without results, or the `search` parameter is absent from the request.
5
5
  */
6
- values: GetTopFiltersNoResultsValues[];
6
+ values: GetTopFiltersNoResultsValues[] | null;
7
7
  };
8
8
  //# sourceMappingURL=getTopFiltersNoResultsResponse.d.ts.map
@@ -1 +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,MAAM,MAAM,8BAA8B,GAAG;IAC3C;;OAEG;IACH,MAAM,EAAE,4BAA4B,EAAE,CAAC;CACxC,CAAC"}
1
+ {"version":3,"file":"getTopFiltersNoResultsResponse.d.ts","sourceRoot":"","sources":["../../model/getTopFiltersNoResultsResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAEnF,MAAM,MAAM,8BAA8B,GAAG;IAC3C;;OAEG;IACH,MAAM,EAAE,4BAA4B,EAAE,GAAG,IAAI,CAAC;CAC/C,CAAC"}
@@ -1,12 +1,10 @@
1
+ import type { Operator } from './operator';
1
2
  export type GetTopFiltersNoResultsValue = {
2
3
  /**
3
4
  * Attribute name.
4
5
  */
5
6
  attribute: string;
6
- /**
7
- * Operator.
8
- */
9
- operator: string;
7
+ operator: Operator;
10
8
  /**
11
9
  * Attribute value.
12
10
  */
@@ -1 +1 @@
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
+ {"version":3,"file":"getTopFiltersNoResultsValue.d.ts","sourceRoot":"","sources":["../../model/getTopFiltersNoResultsValue.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAE3C,MAAM,MAAM,2BAA2B,GAAG;IACxC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB,QAAQ,EAAE,QAAQ,CAAC;IAEnB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import type { TopHitsResponse } from './topHitsResponse';
2
2
  import type { TopHitsResponseWithAnalytics } from './topHitsResponseWithAnalytics';
3
- export type GetTopHitsResponse = TopHitsResponse | TopHitsResponseWithAnalytics;
3
+ import type { TopHitsResponseWithRevenueAnalytics } from './topHitsResponseWithRevenueAnalytics';
4
+ export type GetTopHitsResponse = TopHitsResponse | TopHitsResponseWithAnalytics | TopHitsResponseWithRevenueAnalytics;
4
5
  //# 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,MAAM,MAAM,kBAAkB,GAAG,eAAe,GAAG,4BAA4B,CAAC"}
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;AACnF,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,uCAAuC,CAAC;AAEjG,MAAM,MAAM,kBAAkB,GAC1B,eAAe,GACf,4BAA4B,GAC5B,mCAAmC,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import type { TopSearchesResponse } from './topSearchesResponse';
2
2
  import type { TopSearchesResponseWithAnalytics } from './topSearchesResponseWithAnalytics';
3
- export type GetTopSearchesResponse = TopSearchesResponse | TopSearchesResponseWithAnalytics;
3
+ import type { TopSearchesResponseWithRevenueAnalytics } from './topSearchesResponseWithRevenueAnalytics';
4
+ export type GetTopSearchesResponse = TopSearchesResponse | TopSearchesResponseWithAnalytics | TopSearchesResponseWithRevenueAnalytics;
4
5
  //# 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,MAAM,MAAM,sBAAsB,GAC9B,mBAAmB,GACnB,gCAAgC,CAAC"}
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;AAC3F,OAAO,KAAK,EAAE,uCAAuC,EAAE,MAAM,2CAA2C,CAAC;AAEzG,MAAM,MAAM,sBAAsB,GAC9B,mBAAmB,GACnB,gCAAgC,GAChC,uCAAuC,CAAC"}
@@ -1,12 +1,12 @@
1
- import type { UserWithDate } from './userWithDate';
1
+ import type { DailyUsers } from './dailyUsers';
2
2
  export type GetUsersCountResponse = {
3
3
  /**
4
- * Number of occurrences.
4
+ * Number of unique users.
5
5
  */
6
6
  count: number;
7
7
  /**
8
- * User count.
8
+ * Daily number of unique users.
9
9
  */
10
- dates: UserWithDate[];
10
+ dates: DailyUsers[];
11
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,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,KAAK,EAAE,YAAY,EAAE,CAAC;CACvB,CAAC"}
1
+ {"version":3,"file":"getUsersCountResponse.d.ts","sourceRoot":"","sources":["../../model/getUsersCountResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,KAAK,EAAE,UAAU,EAAE,CAAC;CACrB,CAAC"}