@algolia/client-analytics 5.0.0-alpha.110 → 5.0.0-alpha.111
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client-analytics.cjs +39 -39
- package/dist/client-analytics.esm.browser.js +39 -39
- package/dist/client-analytics.esm.node.js +39 -39
- package/dist/client-analytics.umd.js +2 -2
- package/dist/model/clientMethodProps.d.ts +38 -38
- package/dist/model/getStatusResponse.d.ts +1 -1
- package/dist/src/analyticsClient.d.ts +39 -39
- package/model/clientMethodProps.ts +38 -38
- package/model/getStatusResponse.ts +1 -1
- package/package.json +7 -7
|
@@ -20,7 +20,7 @@ import type { GetTopFiltersNoResultsResponse } from '../model/getTopFiltersNoRes
|
|
|
20
20
|
import type { GetTopHitsResponse } from '../model/getTopHitsResponse';
|
|
21
21
|
import type { GetTopSearchesResponse } from '../model/getTopSearchesResponse';
|
|
22
22
|
import type { GetUsersCountResponse } from '../model/getUsersCountResponse';
|
|
23
|
-
export declare const apiClientVersion = "5.0.0-alpha.
|
|
23
|
+
export declare const apiClientVersion = "5.0.0-alpha.111";
|
|
24
24
|
export declare const REGIONS: readonly ["de", "us"];
|
|
25
25
|
export type Region = (typeof REGIONS)[number];
|
|
26
26
|
export declare function createAnalyticsClient({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, region: regionOption, ...options }: CreateClientOptions & {
|
|
@@ -92,8 +92,8 @@ export declare function createAnalyticsClient({ appId: appIdOption, apiKey: apiK
|
|
|
92
92
|
*
|
|
93
93
|
* @param getAddToCartRate - The getAddToCartRate object.
|
|
94
94
|
* @param getAddToCartRate.index - Index name.
|
|
95
|
-
* @param getAddToCartRate.startDate - Start date
|
|
96
|
-
* @param getAddToCartRate.endDate - End date
|
|
95
|
+
* @param getAddToCartRate.startDate - Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
96
|
+
* @param getAddToCartRate.endDate - End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
97
97
|
* @param getAddToCartRate.tags - Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
98
98
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
99
99
|
*/
|
|
@@ -106,8 +106,8 @@ export declare function createAnalyticsClient({ appId: appIdOption, apiKey: apiK
|
|
|
106
106
|
*
|
|
107
107
|
* @param getAverageClickPosition - The getAverageClickPosition object.
|
|
108
108
|
* @param getAverageClickPosition.index - Index name.
|
|
109
|
-
* @param getAverageClickPosition.startDate - Start date
|
|
110
|
-
* @param getAverageClickPosition.endDate - End date
|
|
109
|
+
* @param getAverageClickPosition.startDate - Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
110
|
+
* @param getAverageClickPosition.endDate - End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
111
111
|
* @param getAverageClickPosition.tags - Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
112
112
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
113
113
|
*/
|
|
@@ -120,8 +120,8 @@ export declare function createAnalyticsClient({ appId: appIdOption, apiKey: apiK
|
|
|
120
120
|
*
|
|
121
121
|
* @param getClickPositions - The getClickPositions object.
|
|
122
122
|
* @param getClickPositions.index - Index name.
|
|
123
|
-
* @param getClickPositions.startDate - Start date
|
|
124
|
-
* @param getClickPositions.endDate - End date
|
|
123
|
+
* @param getClickPositions.startDate - Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
124
|
+
* @param getClickPositions.endDate - End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
125
125
|
* @param getClickPositions.tags - Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
126
126
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
127
127
|
*/
|
|
@@ -134,8 +134,8 @@ export declare function createAnalyticsClient({ appId: appIdOption, apiKey: apiK
|
|
|
134
134
|
*
|
|
135
135
|
* @param getClickThroughRate - The getClickThroughRate object.
|
|
136
136
|
* @param getClickThroughRate.index - Index name.
|
|
137
|
-
* @param getClickThroughRate.startDate - Start date
|
|
138
|
-
* @param getClickThroughRate.endDate - End date
|
|
137
|
+
* @param getClickThroughRate.startDate - Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
138
|
+
* @param getClickThroughRate.endDate - End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
139
139
|
* @param getClickThroughRate.tags - Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
140
140
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
141
141
|
*/
|
|
@@ -148,8 +148,8 @@ export declare function createAnalyticsClient({ appId: appIdOption, apiKey: apiK
|
|
|
148
148
|
*
|
|
149
149
|
* @param getConversionRate - The getConversionRate object.
|
|
150
150
|
* @param getConversionRate.index - Index name.
|
|
151
|
-
* @param getConversionRate.startDate - Start date
|
|
152
|
-
* @param getConversionRate.endDate - End date
|
|
151
|
+
* @param getConversionRate.startDate - Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
152
|
+
* @param getConversionRate.endDate - End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
153
153
|
* @param getConversionRate.tags - Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
154
154
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
155
155
|
*/
|
|
@@ -162,8 +162,8 @@ export declare function createAnalyticsClient({ appId: appIdOption, apiKey: apiK
|
|
|
162
162
|
*
|
|
163
163
|
* @param getNoClickRate - The getNoClickRate object.
|
|
164
164
|
* @param getNoClickRate.index - Index name.
|
|
165
|
-
* @param getNoClickRate.startDate - Start date
|
|
166
|
-
* @param getNoClickRate.endDate - End date
|
|
165
|
+
* @param getNoClickRate.startDate - Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
166
|
+
* @param getNoClickRate.endDate - End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
167
167
|
* @param getNoClickRate.tags - Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
168
168
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
169
169
|
*/
|
|
@@ -176,8 +176,8 @@ export declare function createAnalyticsClient({ appId: appIdOption, apiKey: apiK
|
|
|
176
176
|
*
|
|
177
177
|
* @param getNoResultsRate - The getNoResultsRate object.
|
|
178
178
|
* @param getNoResultsRate.index - Index name.
|
|
179
|
-
* @param getNoResultsRate.startDate - Start date
|
|
180
|
-
* @param getNoResultsRate.endDate - End date
|
|
179
|
+
* @param getNoResultsRate.startDate - Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
180
|
+
* @param getNoResultsRate.endDate - End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
181
181
|
* @param getNoResultsRate.tags - Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
182
182
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
183
183
|
*/
|
|
@@ -190,8 +190,8 @@ export declare function createAnalyticsClient({ appId: appIdOption, apiKey: apiK
|
|
|
190
190
|
*
|
|
191
191
|
* @param getPurchaseRate - The getPurchaseRate object.
|
|
192
192
|
* @param getPurchaseRate.index - Index name.
|
|
193
|
-
* @param getPurchaseRate.startDate - Start date
|
|
194
|
-
* @param getPurchaseRate.endDate - End date
|
|
193
|
+
* @param getPurchaseRate.startDate - Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
194
|
+
* @param getPurchaseRate.endDate - End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
195
195
|
* @param getPurchaseRate.tags - Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
196
196
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
197
197
|
*/
|
|
@@ -204,8 +204,8 @@ export declare function createAnalyticsClient({ appId: appIdOption, apiKey: apiK
|
|
|
204
204
|
*
|
|
205
205
|
* @param getRevenue - The getRevenue object.
|
|
206
206
|
* @param getRevenue.index - Index name.
|
|
207
|
-
* @param getRevenue.startDate - Start date
|
|
208
|
-
* @param getRevenue.endDate - End date
|
|
207
|
+
* @param getRevenue.startDate - Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
208
|
+
* @param getRevenue.endDate - End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
209
209
|
* @param getRevenue.tags - Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
210
210
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
211
211
|
*/
|
|
@@ -218,8 +218,8 @@ export declare function createAnalyticsClient({ appId: appIdOption, apiKey: apiK
|
|
|
218
218
|
*
|
|
219
219
|
* @param getSearchesCount - The getSearchesCount object.
|
|
220
220
|
* @param getSearchesCount.index - Index name.
|
|
221
|
-
* @param getSearchesCount.startDate - Start date
|
|
222
|
-
* @param getSearchesCount.endDate - End date
|
|
221
|
+
* @param getSearchesCount.startDate - Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
222
|
+
* @param getSearchesCount.endDate - End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
223
223
|
* @param getSearchesCount.tags - Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
224
224
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
225
225
|
*/
|
|
@@ -232,8 +232,8 @@ export declare function createAnalyticsClient({ appId: appIdOption, apiKey: apiK
|
|
|
232
232
|
*
|
|
233
233
|
* @param getSearchesNoClicks - The getSearchesNoClicks object.
|
|
234
234
|
* @param getSearchesNoClicks.index - Index name.
|
|
235
|
-
* @param getSearchesNoClicks.startDate - Start date
|
|
236
|
-
* @param getSearchesNoClicks.endDate - End date
|
|
235
|
+
* @param getSearchesNoClicks.startDate - Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
236
|
+
* @param getSearchesNoClicks.endDate - End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
237
237
|
* @param getSearchesNoClicks.limit - Number of items to return.
|
|
238
238
|
* @param getSearchesNoClicks.offset - Position of the first item to return.
|
|
239
239
|
* @param getSearchesNoClicks.tags - Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
@@ -248,8 +248,8 @@ export declare function createAnalyticsClient({ appId: appIdOption, apiKey: apiK
|
|
|
248
248
|
*
|
|
249
249
|
* @param getSearchesNoResults - The getSearchesNoResults object.
|
|
250
250
|
* @param getSearchesNoResults.index - Index name.
|
|
251
|
-
* @param getSearchesNoResults.startDate - Start date
|
|
252
|
-
* @param getSearchesNoResults.endDate - End date
|
|
251
|
+
* @param getSearchesNoResults.startDate - Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
252
|
+
* @param getSearchesNoResults.endDate - End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
253
253
|
* @param getSearchesNoResults.limit - Number of items to return.
|
|
254
254
|
* @param getSearchesNoResults.offset - Position of the first item to return.
|
|
255
255
|
* @param getSearchesNoResults.tags - Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
@@ -275,8 +275,8 @@ export declare function createAnalyticsClient({ appId: appIdOption, apiKey: apiK
|
|
|
275
275
|
*
|
|
276
276
|
* @param getTopCountries - The getTopCountries object.
|
|
277
277
|
* @param getTopCountries.index - Index name.
|
|
278
|
-
* @param getTopCountries.startDate - Start date
|
|
279
|
-
* @param getTopCountries.endDate - End date
|
|
278
|
+
* @param getTopCountries.startDate - Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
279
|
+
* @param getTopCountries.endDate - End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
280
280
|
* @param getTopCountries.limit - Number of items to return.
|
|
281
281
|
* @param getTopCountries.offset - Position of the first item to return.
|
|
282
282
|
* @param getTopCountries.tags - Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
@@ -292,8 +292,8 @@ export declare function createAnalyticsClient({ appId: appIdOption, apiKey: apiK
|
|
|
292
292
|
* @param getTopFilterAttributes - The getTopFilterAttributes object.
|
|
293
293
|
* @param getTopFilterAttributes.index - Index name.
|
|
294
294
|
* @param getTopFilterAttributes.search - Search query.
|
|
295
|
-
* @param getTopFilterAttributes.startDate - Start date
|
|
296
|
-
* @param getTopFilterAttributes.endDate - End date
|
|
295
|
+
* @param getTopFilterAttributes.startDate - Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
296
|
+
* @param getTopFilterAttributes.endDate - End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
297
297
|
* @param getTopFilterAttributes.limit - Number of items to return.
|
|
298
298
|
* @param getTopFilterAttributes.offset - Position of the first item to return.
|
|
299
299
|
* @param getTopFilterAttributes.tags - Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
@@ -310,8 +310,8 @@ export declare function createAnalyticsClient({ appId: appIdOption, apiKey: apiK
|
|
|
310
310
|
* @param getTopFilterForAttribute.attribute - Attribute name.
|
|
311
311
|
* @param getTopFilterForAttribute.index - Index name.
|
|
312
312
|
* @param getTopFilterForAttribute.search - Search query.
|
|
313
|
-
* @param getTopFilterForAttribute.startDate - Start date
|
|
314
|
-
* @param getTopFilterForAttribute.endDate - End date
|
|
313
|
+
* @param getTopFilterForAttribute.startDate - Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
314
|
+
* @param getTopFilterForAttribute.endDate - End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
315
315
|
* @param getTopFilterForAttribute.limit - Number of items to return.
|
|
316
316
|
* @param getTopFilterForAttribute.offset - Position of the first item to return.
|
|
317
317
|
* @param getTopFilterForAttribute.tags - Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
@@ -327,8 +327,8 @@ export declare function createAnalyticsClient({ appId: appIdOption, apiKey: apiK
|
|
|
327
327
|
* @param getTopFiltersNoResults - The getTopFiltersNoResults object.
|
|
328
328
|
* @param getTopFiltersNoResults.index - Index name.
|
|
329
329
|
* @param getTopFiltersNoResults.search - Search query.
|
|
330
|
-
* @param getTopFiltersNoResults.startDate - Start date
|
|
331
|
-
* @param getTopFiltersNoResults.endDate - End date
|
|
330
|
+
* @param getTopFiltersNoResults.startDate - Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
331
|
+
* @param getTopFiltersNoResults.endDate - End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
332
332
|
* @param getTopFiltersNoResults.limit - Number of items to return.
|
|
333
333
|
* @param getTopFiltersNoResults.offset - Position of the first item to return.
|
|
334
334
|
* @param getTopFiltersNoResults.tags - Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
@@ -346,8 +346,8 @@ export declare function createAnalyticsClient({ appId: appIdOption, apiKey: apiK
|
|
|
346
346
|
* @param getTopHits.search - Search query.
|
|
347
347
|
* @param getTopHits.clickAnalytics - Whether to include metrics related to click and conversion events in the response.
|
|
348
348
|
* @param getTopHits.revenueAnalytics - Whether to include revenue-related metrics in the response. If true, metrics related to click and conversion events are also included in the response.
|
|
349
|
-
* @param getTopHits.startDate - Start date
|
|
350
|
-
* @param getTopHits.endDate - End date
|
|
349
|
+
* @param getTopHits.startDate - Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
350
|
+
* @param getTopHits.endDate - End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
351
351
|
* @param getTopHits.limit - Number of items to return.
|
|
352
352
|
* @param getTopHits.offset - Position of the first item to return.
|
|
353
353
|
* @param getTopHits.tags - Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
@@ -364,8 +364,8 @@ export declare function createAnalyticsClient({ appId: appIdOption, apiKey: apiK
|
|
|
364
364
|
* @param getTopSearches.index - Index name.
|
|
365
365
|
* @param getTopSearches.clickAnalytics - Whether to include metrics related to click and conversion events in the response.
|
|
366
366
|
* @param getTopSearches.revenueAnalytics - Whether to include revenue-related metrics in the response. If true, metrics related to click and conversion events are also included in the response.
|
|
367
|
-
* @param getTopSearches.startDate - Start date
|
|
368
|
-
* @param getTopSearches.endDate - End date
|
|
367
|
+
* @param getTopSearches.startDate - Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
368
|
+
* @param getTopSearches.endDate - End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
369
369
|
* @param getTopSearches.orderBy - Attribute by which to order the response items. If the `clickAnalytics` parameter is false, only `searchCount` is available.
|
|
370
370
|
* @param getTopSearches.direction - Sorting direction of the results: ascending or descending.
|
|
371
371
|
* @param getTopSearches.limit - Number of items to return.
|
|
@@ -382,8 +382,8 @@ export declare function createAnalyticsClient({ appId: appIdOption, apiKey: apiK
|
|
|
382
382
|
*
|
|
383
383
|
* @param getUsersCount - The getUsersCount object.
|
|
384
384
|
* @param getUsersCount.index - Index name.
|
|
385
|
-
* @param getUsersCount.startDate - Start date
|
|
386
|
-
* @param getUsersCount.endDate - End date
|
|
385
|
+
* @param getUsersCount.startDate - Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
386
|
+
* @param getUsersCount.endDate - End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
387
387
|
* @param getUsersCount.tags - Tags by which to segment the analytics. You can combine multiple tags with `OR` and `AND`. Tags must be URL-encoded. For more information, see [Segment your analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
388
388
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
389
389
|
*/
|
|
@@ -76,11 +76,11 @@ export type GetAddToCartRateProps = {
|
|
|
76
76
|
*/
|
|
77
77
|
index: string;
|
|
78
78
|
/**
|
|
79
|
-
* Start date
|
|
79
|
+
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
80
80
|
*/
|
|
81
81
|
startDate?: string;
|
|
82
82
|
/**
|
|
83
|
-
* End date
|
|
83
|
+
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
84
84
|
*/
|
|
85
85
|
endDate?: string;
|
|
86
86
|
/**
|
|
@@ -98,11 +98,11 @@ export type GetAverageClickPositionProps = {
|
|
|
98
98
|
*/
|
|
99
99
|
index: string;
|
|
100
100
|
/**
|
|
101
|
-
* Start date
|
|
101
|
+
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
102
102
|
*/
|
|
103
103
|
startDate?: string;
|
|
104
104
|
/**
|
|
105
|
-
* End date
|
|
105
|
+
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
106
106
|
*/
|
|
107
107
|
endDate?: string;
|
|
108
108
|
/**
|
|
@@ -120,11 +120,11 @@ export type GetClickPositionsProps = {
|
|
|
120
120
|
*/
|
|
121
121
|
index: string;
|
|
122
122
|
/**
|
|
123
|
-
* Start date
|
|
123
|
+
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
124
124
|
*/
|
|
125
125
|
startDate?: string;
|
|
126
126
|
/**
|
|
127
|
-
* End date
|
|
127
|
+
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
128
128
|
*/
|
|
129
129
|
endDate?: string;
|
|
130
130
|
/**
|
|
@@ -142,11 +142,11 @@ export type GetClickThroughRateProps = {
|
|
|
142
142
|
*/
|
|
143
143
|
index: string;
|
|
144
144
|
/**
|
|
145
|
-
* Start date
|
|
145
|
+
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
146
146
|
*/
|
|
147
147
|
startDate?: string;
|
|
148
148
|
/**
|
|
149
|
-
* End date
|
|
149
|
+
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
150
150
|
*/
|
|
151
151
|
endDate?: string;
|
|
152
152
|
/**
|
|
@@ -164,11 +164,11 @@ export type GetConversionRateProps = {
|
|
|
164
164
|
*/
|
|
165
165
|
index: string;
|
|
166
166
|
/**
|
|
167
|
-
* Start date
|
|
167
|
+
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
168
168
|
*/
|
|
169
169
|
startDate?: string;
|
|
170
170
|
/**
|
|
171
|
-
* End date
|
|
171
|
+
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
172
172
|
*/
|
|
173
173
|
endDate?: string;
|
|
174
174
|
/**
|
|
@@ -186,11 +186,11 @@ export type GetNoClickRateProps = {
|
|
|
186
186
|
*/
|
|
187
187
|
index: string;
|
|
188
188
|
/**
|
|
189
|
-
* Start date
|
|
189
|
+
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
190
190
|
*/
|
|
191
191
|
startDate?: string;
|
|
192
192
|
/**
|
|
193
|
-
* End date
|
|
193
|
+
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
194
194
|
*/
|
|
195
195
|
endDate?: string;
|
|
196
196
|
/**
|
|
@@ -208,11 +208,11 @@ export type GetNoResultsRateProps = {
|
|
|
208
208
|
*/
|
|
209
209
|
index: string;
|
|
210
210
|
/**
|
|
211
|
-
* Start date
|
|
211
|
+
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
212
212
|
*/
|
|
213
213
|
startDate?: string;
|
|
214
214
|
/**
|
|
215
|
-
* End date
|
|
215
|
+
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
216
216
|
*/
|
|
217
217
|
endDate?: string;
|
|
218
218
|
/**
|
|
@@ -230,11 +230,11 @@ export type GetPurchaseRateProps = {
|
|
|
230
230
|
*/
|
|
231
231
|
index: string;
|
|
232
232
|
/**
|
|
233
|
-
* Start date
|
|
233
|
+
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
234
234
|
*/
|
|
235
235
|
startDate?: string;
|
|
236
236
|
/**
|
|
237
|
-
* End date
|
|
237
|
+
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
238
238
|
*/
|
|
239
239
|
endDate?: string;
|
|
240
240
|
/**
|
|
@@ -252,11 +252,11 @@ export type GetRevenueProps = {
|
|
|
252
252
|
*/
|
|
253
253
|
index: string;
|
|
254
254
|
/**
|
|
255
|
-
* Start date
|
|
255
|
+
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
256
256
|
*/
|
|
257
257
|
startDate?: string;
|
|
258
258
|
/**
|
|
259
|
-
* End date
|
|
259
|
+
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
260
260
|
*/
|
|
261
261
|
endDate?: string;
|
|
262
262
|
/**
|
|
@@ -274,11 +274,11 @@ export type GetSearchesCountProps = {
|
|
|
274
274
|
*/
|
|
275
275
|
index: string;
|
|
276
276
|
/**
|
|
277
|
-
* Start date
|
|
277
|
+
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
278
278
|
*/
|
|
279
279
|
startDate?: string;
|
|
280
280
|
/**
|
|
281
|
-
* End date
|
|
281
|
+
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
282
282
|
*/
|
|
283
283
|
endDate?: string;
|
|
284
284
|
/**
|
|
@@ -296,11 +296,11 @@ export type GetSearchesNoClicksProps = {
|
|
|
296
296
|
*/
|
|
297
297
|
index: string;
|
|
298
298
|
/**
|
|
299
|
-
* Start date
|
|
299
|
+
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
300
300
|
*/
|
|
301
301
|
startDate?: string;
|
|
302
302
|
/**
|
|
303
|
-
* End date
|
|
303
|
+
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
304
304
|
*/
|
|
305
305
|
endDate?: string;
|
|
306
306
|
/**
|
|
@@ -326,11 +326,11 @@ export type GetSearchesNoResultsProps = {
|
|
|
326
326
|
*/
|
|
327
327
|
index: string;
|
|
328
328
|
/**
|
|
329
|
-
* Start date
|
|
329
|
+
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
330
330
|
*/
|
|
331
331
|
startDate?: string;
|
|
332
332
|
/**
|
|
333
|
-
* End date
|
|
333
|
+
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
334
334
|
*/
|
|
335
335
|
endDate?: string;
|
|
336
336
|
/**
|
|
@@ -366,11 +366,11 @@ export type GetTopCountriesProps = {
|
|
|
366
366
|
*/
|
|
367
367
|
index: string;
|
|
368
368
|
/**
|
|
369
|
-
* Start date
|
|
369
|
+
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
370
370
|
*/
|
|
371
371
|
startDate?: string;
|
|
372
372
|
/**
|
|
373
|
-
* End date
|
|
373
|
+
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
374
374
|
*/
|
|
375
375
|
endDate?: string;
|
|
376
376
|
/**
|
|
@@ -400,11 +400,11 @@ export type GetTopFilterAttributesProps = {
|
|
|
400
400
|
*/
|
|
401
401
|
search?: string;
|
|
402
402
|
/**
|
|
403
|
-
* Start date
|
|
403
|
+
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
404
404
|
*/
|
|
405
405
|
startDate?: string;
|
|
406
406
|
/**
|
|
407
|
-
* End date
|
|
407
|
+
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
408
408
|
*/
|
|
409
409
|
endDate?: string;
|
|
410
410
|
/**
|
|
@@ -438,11 +438,11 @@ export type GetTopFilterForAttributeProps = {
|
|
|
438
438
|
*/
|
|
439
439
|
search?: string;
|
|
440
440
|
/**
|
|
441
|
-
* Start date
|
|
441
|
+
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
442
442
|
*/
|
|
443
443
|
startDate?: string;
|
|
444
444
|
/**
|
|
445
|
-
* End date
|
|
445
|
+
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
446
446
|
*/
|
|
447
447
|
endDate?: string;
|
|
448
448
|
/**
|
|
@@ -472,11 +472,11 @@ export type GetTopFiltersNoResultsProps = {
|
|
|
472
472
|
*/
|
|
473
473
|
search?: string;
|
|
474
474
|
/**
|
|
475
|
-
* Start date
|
|
475
|
+
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
476
476
|
*/
|
|
477
477
|
startDate?: string;
|
|
478
478
|
/**
|
|
479
|
-
* End date
|
|
479
|
+
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
480
480
|
*/
|
|
481
481
|
endDate?: string;
|
|
482
482
|
/**
|
|
@@ -514,11 +514,11 @@ export type GetTopHitsProps = {
|
|
|
514
514
|
*/
|
|
515
515
|
revenueAnalytics?: boolean;
|
|
516
516
|
/**
|
|
517
|
-
* Start date
|
|
517
|
+
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
518
518
|
*/
|
|
519
519
|
startDate?: string;
|
|
520
520
|
/**
|
|
521
|
-
* End date
|
|
521
|
+
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
522
522
|
*/
|
|
523
523
|
endDate?: string;
|
|
524
524
|
/**
|
|
@@ -552,11 +552,11 @@ export type GetTopSearchesProps = {
|
|
|
552
552
|
*/
|
|
553
553
|
revenueAnalytics?: boolean;
|
|
554
554
|
/**
|
|
555
|
-
* Start date
|
|
555
|
+
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
556
556
|
*/
|
|
557
557
|
startDate?: string;
|
|
558
558
|
/**
|
|
559
|
-
* End date
|
|
559
|
+
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
560
560
|
*/
|
|
561
561
|
endDate?: string;
|
|
562
562
|
/**
|
|
@@ -590,11 +590,11 @@ export type GetUsersCountProps = {
|
|
|
590
590
|
*/
|
|
591
591
|
index: string;
|
|
592
592
|
/**
|
|
593
|
-
* Start date
|
|
593
|
+
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
594
594
|
*/
|
|
595
595
|
startDate?: string;
|
|
596
596
|
/**
|
|
597
|
-
* End date
|
|
597
|
+
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
598
598
|
*/
|
|
599
599
|
endDate?: string;
|
|
600
600
|
/**
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
export type GetStatusResponse = {
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Date and time when the object was updated, in RFC 3339 format.
|
|
6
6
|
*/
|
|
7
7
|
updatedAt: string | null;
|
|
8
8
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@algolia/client-analytics",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.111",
|
|
4
4
|
"description": "JavaScript client for client-analytics",
|
|
5
5
|
"repository": "algolia/algoliasearch-client-javascript",
|
|
6
6
|
"license": "MIT",
|
|
@@ -39,14 +39,14 @@
|
|
|
39
39
|
"clean": "rm -rf ./dist || true"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@algolia/client-common": "5.0.0-alpha.
|
|
43
|
-
"@algolia/requester-browser-xhr": "5.0.0-alpha.
|
|
44
|
-
"@algolia/requester-node-http": "5.0.0-alpha.
|
|
42
|
+
"@algolia/client-common": "5.0.0-alpha.112",
|
|
43
|
+
"@algolia/requester-browser-xhr": "5.0.0-alpha.112",
|
|
44
|
+
"@algolia/requester-node-http": "5.0.0-alpha.112"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@types/node": "20.
|
|
48
|
-
"rollup": "4.
|
|
49
|
-
"typescript": "5.4.
|
|
47
|
+
"@types/node": "20.12.5",
|
|
48
|
+
"rollup": "4.14.0",
|
|
49
|
+
"typescript": "5.4.4"
|
|
50
50
|
},
|
|
51
51
|
"engines": {
|
|
52
52
|
"node": ">= 14.0.0"
|