@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.
Files changed (146) hide show
  1. package/dist/builds/browser.d.ts +5 -5
  2. package/dist/builds/browser.d.ts.map +1 -1
  3. package/dist/builds/node.d.ts +5 -5
  4. package/dist/builds/node.d.ts.map +1 -1
  5. package/dist/{client-analytics.cjs.js → client-analytics.cjs} +922 -924
  6. package/dist/client-analytics.esm.browser.js +1105 -1153
  7. package/dist/client-analytics.esm.node.js +922 -922
  8. package/dist/client-analytics.umd.js +2 -2
  9. package/dist/model/averageClickEvent.d.ts +14 -14
  10. package/dist/model/averageClickEvent.d.ts.map +1 -1
  11. package/dist/model/clickPosition.d.ts +10 -10
  12. package/dist/model/clickPosition.d.ts.map +1 -1
  13. package/dist/model/clickThroughRateEvent.d.ts +18 -18
  14. package/dist/model/clickThroughRateEvent.d.ts.map +1 -1
  15. package/dist/model/clientMethodProps.d.ts +507 -507
  16. package/dist/model/clientMethodProps.d.ts.map +1 -1
  17. package/dist/model/conversionRateEvent.d.ts +18 -18
  18. package/dist/model/conversionRateEvent.d.ts.map +1 -1
  19. package/dist/model/direction.d.ts +1 -1
  20. package/dist/model/direction.d.ts.map +1 -1
  21. package/dist/model/errorBase.d.ts +6 -6
  22. package/dist/model/errorBase.d.ts.map +1 -1
  23. package/dist/model/getAverageClickPositionResponse.d.ts +15 -15
  24. package/dist/model/getAverageClickPositionResponse.d.ts.map +1 -1
  25. package/dist/model/getClickPositionsResponse.d.ts +7 -7
  26. package/dist/model/getClickPositionsResponse.d.ts.map +1 -1
  27. package/dist/model/getClickThroughRateResponse.d.ts +19 -19
  28. package/dist/model/getClickThroughRateResponse.d.ts.map +1 -1
  29. package/dist/model/getConversationRateResponse.d.ts +19 -19
  30. package/dist/model/getConversationRateResponse.d.ts.map +1 -1
  31. package/dist/model/getNoClickRateResponse.d.ts +19 -19
  32. package/dist/model/getNoClickRateResponse.d.ts.map +1 -1
  33. package/dist/model/getNoResultsRateResponse.d.ts +19 -19
  34. package/dist/model/getNoResultsRateResponse.d.ts.map +1 -1
  35. package/dist/model/getSearchesCountResponse.d.ts +11 -11
  36. package/dist/model/getSearchesCountResponse.d.ts.map +1 -1
  37. package/dist/model/getSearchesNoClicksResponse.d.ts +7 -7
  38. package/dist/model/getSearchesNoClicksResponse.d.ts.map +1 -1
  39. package/dist/model/getSearchesNoResultsResponse.d.ts +7 -7
  40. package/dist/model/getSearchesNoResultsResponse.d.ts.map +1 -1
  41. package/dist/model/getStatusResponse.d.ts +6 -6
  42. package/dist/model/getStatusResponse.d.ts.map +1 -1
  43. package/dist/model/getTopCountriesResponse.d.ts +7 -7
  44. package/dist/model/getTopCountriesResponse.d.ts.map +1 -1
  45. package/dist/model/getTopFilterAttribute.d.ts +10 -10
  46. package/dist/model/getTopFilterAttribute.d.ts.map +1 -1
  47. package/dist/model/getTopFilterAttributesResponse.d.ts +7 -7
  48. package/dist/model/getTopFilterAttributesResponse.d.ts.map +1 -1
  49. package/dist/model/getTopFilterForAttribute.d.ts +18 -18
  50. package/dist/model/getTopFilterForAttribute.d.ts.map +1 -1
  51. package/dist/model/getTopFilterForAttributeResponse.d.ts +7 -7
  52. package/dist/model/getTopFilterForAttributeResponse.d.ts.map +1 -1
  53. package/dist/model/getTopFiltersNoResultsResponse.d.ts +7 -7
  54. package/dist/model/getTopFiltersNoResultsResponse.d.ts.map +1 -1
  55. package/dist/model/getTopFiltersNoResultsValue.d.ts +14 -14
  56. package/dist/model/getTopFiltersNoResultsValue.d.ts.map +1 -1
  57. package/dist/model/getTopFiltersNoResultsValues.d.ts +11 -11
  58. package/dist/model/getTopFiltersNoResultsValues.d.ts.map +1 -1
  59. package/dist/model/getTopHitsResponse.d.ts +3 -3
  60. package/dist/model/getTopHitsResponse.d.ts.map +1 -1
  61. package/dist/model/getTopSearchesResponse.d.ts +3 -3
  62. package/dist/model/getTopSearchesResponse.d.ts.map +1 -1
  63. package/dist/model/getUsersCountResponse.d.ts +11 -11
  64. package/dist/model/getUsersCountResponse.d.ts.map +1 -1
  65. package/dist/model/index.d.ts +44 -44
  66. package/dist/model/noClickRateEvent.d.ts +18 -18
  67. package/dist/model/noClickRateEvent.d.ts.map +1 -1
  68. package/dist/model/noResultsRateEvent.d.ts +18 -18
  69. package/dist/model/noResultsRateEvent.d.ts.map +1 -1
  70. package/dist/model/orderBy.d.ts +4 -1
  71. package/dist/model/orderBy.d.ts.map +1 -1
  72. package/dist/model/searchEvent.d.ts +10 -10
  73. package/dist/model/searchEvent.d.ts.map +1 -1
  74. package/dist/model/searchNoClickEvent.d.ts +14 -14
  75. package/dist/model/searchNoClickEvent.d.ts.map +1 -1
  76. package/dist/model/searchNoResultEvent.d.ts +14 -14
  77. package/dist/model/searchNoResultEvent.d.ts.map +1 -1
  78. package/dist/model/topCountry.d.ts +10 -10
  79. package/dist/model/topCountry.d.ts.map +1 -1
  80. package/dist/model/topHit.d.ts +10 -10
  81. package/dist/model/topHit.d.ts.map +1 -1
  82. package/dist/model/topHitWithAnalytics.d.ts +30 -30
  83. package/dist/model/topHitWithAnalytics.d.ts.map +1 -1
  84. package/dist/model/topHitsResponse.d.ts +7 -7
  85. package/dist/model/topHitsResponse.d.ts.map +1 -1
  86. package/dist/model/topHitsResponseWithAnalytics.d.ts +7 -7
  87. package/dist/model/topHitsResponseWithAnalytics.d.ts.map +1 -1
  88. package/dist/model/topSearch.d.ts +14 -14
  89. package/dist/model/topSearch.d.ts.map +1 -1
  90. package/dist/model/topSearchWithAnalytics.d.ts +38 -38
  91. package/dist/model/topSearchWithAnalytics.d.ts.map +1 -1
  92. package/dist/model/topSearchesResponse.d.ts +7 -7
  93. package/dist/model/topSearchesResponse.d.ts.map +1 -1
  94. package/dist/model/topSearchesResponseWithAnalytics.d.ts +7 -7
  95. package/dist/model/topSearchesResponseWithAnalytics.d.ts.map +1 -1
  96. package/dist/model/userWithDate.d.ts +10 -10
  97. package/dist/model/userWithDate.d.ts.map +1 -1
  98. package/dist/src/analyticsClient.d.ts +318 -318
  99. package/dist/src/analyticsClient.d.ts.map +1 -1
  100. package/index.js +1 -1
  101. package/model/averageClickEvent.ts +4 -4
  102. package/model/clickPosition.ts +3 -3
  103. package/model/clickThroughRateEvent.ts +5 -5
  104. package/model/clientMethodProps.ts +92 -92
  105. package/model/conversionRateEvent.ts +5 -5
  106. package/model/direction.ts +1 -1
  107. package/model/errorBase.ts +1 -1
  108. package/model/getAverageClickPositionResponse.ts +4 -4
  109. package/model/getClickPositionsResponse.ts +2 -2
  110. package/model/getClickThroughRateResponse.ts +5 -5
  111. package/model/getConversationRateResponse.ts +5 -5
  112. package/model/getNoClickRateResponse.ts +5 -5
  113. package/model/getNoResultsRateResponse.ts +5 -5
  114. package/model/getSearchesCountResponse.ts +3 -3
  115. package/model/getSearchesNoClicksResponse.ts +2 -2
  116. package/model/getSearchesNoResultsResponse.ts +2 -2
  117. package/model/getStatusResponse.ts +2 -2
  118. package/model/getTopCountriesResponse.ts +2 -2
  119. package/model/getTopFilterAttribute.ts +3 -3
  120. package/model/getTopFilterAttributesResponse.ts +2 -2
  121. package/model/getTopFilterForAttribute.ts +5 -5
  122. package/model/getTopFilterForAttributeResponse.ts +2 -2
  123. package/model/getTopFiltersNoResultsResponse.ts +2 -2
  124. package/model/getTopFiltersNoResultsValue.ts +4 -4
  125. package/model/getTopFiltersNoResultsValues.ts +3 -3
  126. package/model/getTopHitsResponse.ts +1 -1
  127. package/model/getTopSearchesResponse.ts +1 -1
  128. package/model/getUsersCountResponse.ts +3 -3
  129. package/model/index.ts +1 -1
  130. package/model/noClickRateEvent.ts +5 -5
  131. package/model/noResultsRateEvent.ts +5 -5
  132. package/model/orderBy.ts +4 -1
  133. package/model/searchEvent.ts +3 -3
  134. package/model/searchNoClickEvent.ts +4 -4
  135. package/model/searchNoResultEvent.ts +4 -4
  136. package/model/topCountry.ts +3 -3
  137. package/model/topHit.ts +3 -3
  138. package/model/topHitWithAnalytics.ts +8 -8
  139. package/model/topHitsResponse.ts +2 -2
  140. package/model/topHitsResponseWithAnalytics.ts +2 -2
  141. package/model/topSearch.ts +4 -4
  142. package/model/topSearchWithAnalytics.ts +10 -10
  143. package/model/topSearchesResponse.ts +2 -2
  144. package/model/topSearchesResponseWithAnalytics.ts +2 -2
  145. package/model/userWithDate.ts +3 -3
  146. package/package.json +30 -13
@@ -1,10 +1,10 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  import type { ClickPosition } from './clickPosition';
4
4
 
5
5
  export type GetClickPositionsResponse = {
6
6
  /**
7
- * A list of the click positions with their click count.
7
+ * Click positions.
8
8
  */
9
9
  positions: ClickPosition[];
10
10
  };
@@ -1,25 +1,25 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  import type { ClickThroughRateEvent } from './clickThroughRateEvent';
4
4
 
5
5
  export type GetClickThroughRateResponse = {
6
6
  /**
7
- * The click-through rate.
7
+ * [Click-through rate (CTR)](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-through-rate).
8
8
  */
9
9
  rate: number;
10
10
 
11
11
  /**
12
- * The number of click event.
12
+ * Number of click events.
13
13
  */
14
14
  clickCount: number;
15
15
 
16
16
  /**
17
- * The number of tracked search click.
17
+ * Number of tracked searches. This is the number of search requests where the `clickAnalytics` parameter is `true`.
18
18
  */
19
19
  trackedSearchCount: number;
20
20
 
21
21
  /**
22
- * A list of click-through rate events with their date.
22
+ * Click-through rate events.
23
23
  */
24
24
  dates: ClickThroughRateEvent[];
25
25
  };
@@ -1,25 +1,25 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  import type { ConversionRateEvent } from './conversionRateEvent';
4
4
 
5
5
  export type GetConversationRateResponse = {
6
6
  /**
7
- * The click-through rate.
7
+ * [Click-through rate (CTR)](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-through-rate).
8
8
  */
9
9
  rate: number;
10
10
 
11
11
  /**
12
- * The number of tracked search click.
12
+ * Number of tracked searches. This is the number of search requests where the `clickAnalytics` parameter is `true`.
13
13
  */
14
14
  trackedSearchCount: number;
15
15
 
16
16
  /**
17
- * The number of converted clicks.
17
+ * Number of converted clicks.
18
18
  */
19
19
  conversionCount: number;
20
20
 
21
21
  /**
22
- * A list of conversion events with their date.
22
+ * Conversion events.
23
23
  */
24
24
  dates: ConversionRateEvent[];
25
25
  };
@@ -1,25 +1,25 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  import type { NoClickRateEvent } from './noClickRateEvent';
4
4
 
5
5
  export type GetNoClickRateResponse = {
6
6
  /**
7
- * The click-through rate.
7
+ * [Click-through rate (CTR)](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-through-rate).
8
8
  */
9
9
  rate: number;
10
10
 
11
11
  /**
12
- * The number of click event.
12
+ * Number of click events.
13
13
  */
14
14
  count: number;
15
15
 
16
16
  /**
17
- * The number of click event.
17
+ * Number of click events.
18
18
  */
19
19
  noClickCount: number;
20
20
 
21
21
  /**
22
- * A list of searches without clicks with their date, rate and counts.
22
+ * Overall count of searches without clicks plus a daily breakdown.
23
23
  */
24
24
  dates: NoClickRateEvent[];
25
25
  };
@@ -1,25 +1,25 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  import type { NoResultsRateEvent } from './noResultsRateEvent';
4
4
 
5
5
  export type GetNoResultsRateResponse = {
6
6
  /**
7
- * The click-through rate.
7
+ * [Click-through rate (CTR)](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-through-rate).
8
8
  */
9
9
  rate: number;
10
10
 
11
11
  /**
12
- * The number of occurrences.
12
+ * Number of occurrences.
13
13
  */
14
14
  count: number;
15
15
 
16
16
  /**
17
- * The number of occurrences.
17
+ * Number of occurrences.
18
18
  */
19
19
  noResultCount: number;
20
20
 
21
21
  /**
22
- * A list of searches without results with their date, rate and counts.
22
+ * Overall count of searches without results plus a daily breakdown.
23
23
  */
24
24
  dates: NoResultsRateEvent[];
25
25
  };
@@ -1,15 +1,15 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  import type { SearchEvent } from './searchEvent';
4
4
 
5
5
  export type GetSearchesCountResponse = {
6
6
  /**
7
- * The number of occurrences.
7
+ * Number of occurrences.
8
8
  */
9
9
  count: number;
10
10
 
11
11
  /**
12
- * A list of search events with their date and count.
12
+ * Search events with their associated dates and hit counts.
13
13
  */
14
14
  dates: SearchEvent[];
15
15
  };
@@ -1,10 +1,10 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  import type { SearchNoClickEvent } from './searchNoClickEvent';
4
4
 
5
5
  export type GetSearchesNoClicksResponse = {
6
6
  /**
7
- * A list of searches with no clicks and their count.
7
+ * Searches with no clicks.
8
8
  */
9
9
  searches: SearchNoClickEvent[];
10
10
  };
@@ -1,10 +1,10 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  import type { SearchNoResultEvent } from './searchNoResultEvent';
4
4
 
5
5
  export type GetSearchesNoResultsResponse = {
6
6
  /**
7
- * A list of searches with no results and their count.
7
+ * Searches with no results.
8
8
  */
9
9
  searches: SearchNoResultEvent[];
10
10
  };
@@ -1,8 +1,8 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  export type GetStatusResponse = {
4
4
  /**
5
- * Date of last update (ISO-8601 format).
5
+ * Timestamp of the last update in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format.
6
6
  */
7
7
  updatedAt: string;
8
8
  };
@@ -1,10 +1,10 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  import type { TopCountry } from './topCountry';
4
4
 
5
5
  export type GetTopCountriesResponse = {
6
6
  /**
7
- * A list of countries with their count.
7
+ * Countries.
8
8
  */
9
9
  countries: TopCountry[];
10
10
  };
@@ -1,13 +1,13 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  export type GetTopFilterAttribute = {
4
4
  /**
5
- * The attribute.
5
+ * Attribute name.
6
6
  */
7
7
  attribute: string;
8
8
 
9
9
  /**
10
- * The number of occurrences.
10
+ * Number of occurrences.
11
11
  */
12
12
  count: number;
13
13
  };
@@ -1,10 +1,10 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  import type { GetTopFilterAttribute } from './getTopFilterAttribute';
4
4
 
5
5
  export type GetTopFilterAttributesResponse = {
6
6
  /**
7
- * A list of attributes with their count.
7
+ * Filterable attributes.
8
8
  */
9
9
  attributes: GetTopFilterAttribute[];
10
10
  };
@@ -1,23 +1,23 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  export type GetTopFilterForAttribute = {
4
4
  /**
5
- * The attribute.
5
+ * Attribute name.
6
6
  */
7
7
  attribute: string;
8
8
 
9
9
  /**
10
- * The operator.
10
+ * Operator.
11
11
  */
12
12
  operator: string;
13
13
 
14
14
  /**
15
- * The value of the attribute.
15
+ * Attribute value.
16
16
  */
17
17
  value: string;
18
18
 
19
19
  /**
20
- * The number of occurrences.
20
+ * Number of occurrences.
21
21
  */
22
22
  count: number;
23
23
  };
@@ -1,10 +1,10 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  import type { GetTopFilterForAttribute } from './getTopFilterForAttribute';
4
4
 
5
5
  export type GetTopFilterForAttributeResponse = {
6
6
  /**
7
- * A list of filters for the given attributes.
7
+ * Filter values for an attribute.
8
8
  */
9
9
  values: GetTopFilterForAttribute[];
10
10
  };
@@ -1,10 +1,10 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  import type { GetTopFiltersNoResultsValues } from './getTopFiltersNoResultsValues';
4
4
 
5
5
  export type GetTopFiltersNoResultsResponse = {
6
6
  /**
7
- * A list of filters without results.
7
+ * Filters with no results.
8
8
  */
9
9
  values: GetTopFiltersNoResultsValues[];
10
10
  };
@@ -1,18 +1,18 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  export type GetTopFiltersNoResultsValue = {
4
4
  /**
5
- * The attribute.
5
+ * Attribute name.
6
6
  */
7
7
  attribute: string;
8
8
 
9
9
  /**
10
- * The operator.
10
+ * Operator.
11
11
  */
12
12
  operator: string;
13
13
 
14
14
  /**
15
- * The value of the attribute.
15
+ * Attribute value.
16
16
  */
17
17
  value: string;
18
18
  };
@@ -1,15 +1,15 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  import type { GetTopFiltersNoResultsValue } from './getTopFiltersNoResultsValue';
4
4
 
5
5
  export type GetTopFiltersNoResultsValues = {
6
6
  /**
7
- * The number of occurrences.
7
+ * Number of occurrences.
8
8
  */
9
9
  count: number;
10
10
 
11
11
  /**
12
- * A list of filters without results.
12
+ * Filters with no results.
13
13
  */
14
14
  values: GetTopFiltersNoResultsValue[];
15
15
  };
@@ -1,4 +1,4 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  import type { TopHitsResponse } from './topHitsResponse';
4
4
  import type { TopHitsResponseWithAnalytics } from './topHitsResponseWithAnalytics';
@@ -1,4 +1,4 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  import type { TopSearchesResponse } from './topSearchesResponse';
4
4
  import type { TopSearchesResponseWithAnalytics } from './topSearchesResponseWithAnalytics';
@@ -1,15 +1,15 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  import type { UserWithDate } from './userWithDate';
4
4
 
5
5
  export type GetUsersCountResponse = {
6
6
  /**
7
- * The number of occurrences.
7
+ * Number of occurrences.
8
8
  */
9
9
  count: number;
10
10
 
11
11
  /**
12
- * A list of users count with their date.
12
+ * User count.
13
13
  */
14
14
  dates: UserWithDate[];
15
15
  };
package/model/index.ts CHANGED
@@ -1,4 +1,4 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  export * from './averageClickEvent';
4
4
  export * from './clickPosition';
@@ -1,23 +1,23 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  export type NoClickRateEvent = {
4
4
  /**
5
- * The click-through rate.
5
+ * [Click-through rate (CTR)](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-through-rate).
6
6
  */
7
7
  rate: number;
8
8
 
9
9
  /**
10
- * The number of click event.
10
+ * Number of tracked _and_ untracked searches (where the `clickAnalytics` parameter isn\'t `true`).
11
11
  */
12
12
  count: number;
13
13
 
14
14
  /**
15
- * The number of click event.
15
+ * Number of click events.
16
16
  */
17
17
  noClickCount: number;
18
18
 
19
19
  /**
20
- * Date of the event.
20
+ * Date of the event in the format YYYY-MM-DD.
21
21
  */
22
22
  date: string;
23
23
  };
@@ -1,23 +1,23 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  export type NoResultsRateEvent = {
4
4
  /**
5
- * Date of the event.
5
+ * Date of the event in the format YYYY-MM-DD.
6
6
  */
7
7
  date: string;
8
8
 
9
9
  /**
10
- * The number of occurrences.
10
+ * Number of occurences.
11
11
  */
12
12
  noResultCount: number;
13
13
 
14
14
  /**
15
- * The number of occurrences.
15
+ * Number of tracked _and_ untracked searches (where the `clickAnalytics` parameter isn\'t `true`).
16
16
  */
17
17
  count: number;
18
18
 
19
19
  /**
20
- * The click-through rate.
20
+ * [Click-through rate (CTR)](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-through-rate).
21
21
  */
22
22
  rate: number;
23
23
  };
package/model/orderBy.ts CHANGED
@@ -1,5 +1,8 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
+ /**
4
+ * Method for ordering results. `clickThroughRate`, `conversionRate` and `averageClickPosition` are only available if the `clickAnalytics` parameter is `true`.
5
+ */
3
6
  export type OrderBy =
4
7
  | 'averageClickPosition'
5
8
  | 'clickThroughRate'
@@ -1,13 +1,13 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  export type SearchEvent = {
4
4
  /**
5
- * Date of the event.
5
+ * Date of the event in the format YYYY-MM-DD.
6
6
  */
7
7
  date: string;
8
8
 
9
9
  /**
10
- * The number of occurrences.
10
+ * Number of occurrences.
11
11
  */
12
12
  count: number;
13
13
  };
@@ -1,18 +1,18 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  export type SearchNoClickEvent = {
4
4
  /**
5
- * The search query.
5
+ * User query.
6
6
  */
7
7
  search: string;
8
8
 
9
9
  /**
10
- * The number of occurrences.
10
+ * Number of occurrences.
11
11
  */
12
12
  count: number;
13
13
 
14
14
  /**
15
- * The number of occurrences.
15
+ * Number of occurrences.
16
16
  */
17
17
  withFilterCount: number;
18
18
  };
@@ -1,18 +1,18 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  export type SearchNoResultEvent = {
4
4
  /**
5
- * The search query.
5
+ * User query.
6
6
  */
7
7
  search: string;
8
8
 
9
9
  /**
10
- * The number of occurrences.
10
+ * Number of occurrences.
11
11
  */
12
12
  count: number;
13
13
 
14
14
  /**
15
- * Number of hits that the search query matched.
15
+ * Number of hits the search query matched.
16
16
  */
17
17
  nbHits: number;
18
18
  };
@@ -1,13 +1,13 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  export type TopCountry = {
4
4
  /**
5
- * The country.
5
+ * Country.
6
6
  */
7
7
  country: string;
8
8
 
9
9
  /**
10
- * The number of occurrences.
10
+ * Number of occurrences.
11
11
  */
12
12
  count: number;
13
13
  };
package/model/topHit.ts CHANGED
@@ -1,13 +1,13 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  export type TopHit = {
4
4
  /**
5
- * The hit.
5
+ * Hit.
6
6
  */
7
7
  hit: string;
8
8
 
9
9
  /**
10
- * The number of occurrences.
10
+ * Number of occurrences.
11
11
  */
12
12
  count: number;
13
13
  };
@@ -1,38 +1,38 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  export type TopHitWithAnalytics = {
4
4
  /**
5
- * The hit.
5
+ * Hit.
6
6
  */
7
7
  hit: string;
8
8
 
9
9
  /**
10
- * The number of occurrences.
10
+ * Number of occurrences.
11
11
  */
12
12
  count: number;
13
13
 
14
14
  /**
15
- * The click-through rate.
15
+ * [Click-through rate (CTR)](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-through-rate).
16
16
  */
17
17
  clickThroughRate: number;
18
18
 
19
19
  /**
20
- * The conversion rate.
20
+ * [Conversion rate (CR)](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#conversion-rate).
21
21
  */
22
22
  conversionRate: number;
23
23
 
24
24
  /**
25
- * The number of tracked search click.
25
+ * Number of tracked searches. This is the number of search requests where the `clickAnalytics` parameter is `true`.
26
26
  */
27
27
  trackedSearchCount: number;
28
28
 
29
29
  /**
30
- * The number of click event.
30
+ * Number of click events.
31
31
  */
32
32
  clickCount: number;
33
33
 
34
34
  /**
35
- * The number of converted clicks.
35
+ * Number of converted clicks.
36
36
  */
37
37
  conversionCount: number;
38
38
  };
@@ -1,10 +1,10 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
1
+ // Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
2
2
 
3
3
  import type { TopHit } from './topHit';
4
4
 
5
5
  export type TopHitsResponse = {
6
6
  /**
7
- * A list of top hits with their count.
7
+ * Top hits.
8
8
  */
9
9
  hits: TopHit[];
10
10
  };