@algolia/client-analytics 5.0.0-alpha.8 → 5.0.0-alpha.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/builds/browser.d.ts +5 -5
- package/dist/builds/browser.d.ts.map +1 -1
- package/dist/builds/node.d.ts +5 -5
- package/dist/builds/node.d.ts.map +1 -1
- package/dist/{client-analytics.cjs.js → client-analytics.cjs} +922 -924
- package/dist/client-analytics.esm.browser.js +1105 -1153
- package/dist/client-analytics.esm.node.js +922 -922
- package/dist/client-analytics.umd.js +2 -2
- package/dist/model/averageClickEvent.d.ts +14 -14
- package/dist/model/averageClickEvent.d.ts.map +1 -1
- package/dist/model/clickPosition.d.ts +10 -10
- package/dist/model/clickPosition.d.ts.map +1 -1
- package/dist/model/clickThroughRateEvent.d.ts +18 -18
- package/dist/model/clickThroughRateEvent.d.ts.map +1 -1
- package/dist/model/clientMethodProps.d.ts +507 -507
- package/dist/model/clientMethodProps.d.ts.map +1 -1
- package/dist/model/conversionRateEvent.d.ts +18 -18
- package/dist/model/conversionRateEvent.d.ts.map +1 -1
- package/dist/model/direction.d.ts +1 -1
- package/dist/model/direction.d.ts.map +1 -1
- package/dist/model/errorBase.d.ts +6 -6
- package/dist/model/errorBase.d.ts.map +1 -1
- package/dist/model/getAverageClickPositionResponse.d.ts +15 -15
- package/dist/model/getAverageClickPositionResponse.d.ts.map +1 -1
- package/dist/model/getClickPositionsResponse.d.ts +7 -7
- package/dist/model/getClickPositionsResponse.d.ts.map +1 -1
- package/dist/model/getClickThroughRateResponse.d.ts +19 -19
- package/dist/model/getClickThroughRateResponse.d.ts.map +1 -1
- package/dist/model/getConversationRateResponse.d.ts +19 -19
- package/dist/model/getConversationRateResponse.d.ts.map +1 -1
- package/dist/model/getNoClickRateResponse.d.ts +19 -19
- package/dist/model/getNoClickRateResponse.d.ts.map +1 -1
- package/dist/model/getNoResultsRateResponse.d.ts +19 -19
- package/dist/model/getNoResultsRateResponse.d.ts.map +1 -1
- package/dist/model/getSearchesCountResponse.d.ts +11 -11
- package/dist/model/getSearchesCountResponse.d.ts.map +1 -1
- package/dist/model/getSearchesNoClicksResponse.d.ts +7 -7
- package/dist/model/getSearchesNoClicksResponse.d.ts.map +1 -1
- package/dist/model/getSearchesNoResultsResponse.d.ts +7 -7
- package/dist/model/getSearchesNoResultsResponse.d.ts.map +1 -1
- package/dist/model/getStatusResponse.d.ts +6 -6
- package/dist/model/getStatusResponse.d.ts.map +1 -1
- package/dist/model/getTopCountriesResponse.d.ts +7 -7
- package/dist/model/getTopCountriesResponse.d.ts.map +1 -1
- package/dist/model/getTopFilterAttribute.d.ts +10 -10
- package/dist/model/getTopFilterAttribute.d.ts.map +1 -1
- package/dist/model/getTopFilterAttributesResponse.d.ts +7 -7
- package/dist/model/getTopFilterAttributesResponse.d.ts.map +1 -1
- package/dist/model/getTopFilterForAttribute.d.ts +18 -18
- package/dist/model/getTopFilterForAttribute.d.ts.map +1 -1
- package/dist/model/getTopFilterForAttributeResponse.d.ts +7 -7
- package/dist/model/getTopFilterForAttributeResponse.d.ts.map +1 -1
- package/dist/model/getTopFiltersNoResultsResponse.d.ts +7 -7
- package/dist/model/getTopFiltersNoResultsResponse.d.ts.map +1 -1
- package/dist/model/getTopFiltersNoResultsValue.d.ts +14 -14
- package/dist/model/getTopFiltersNoResultsValue.d.ts.map +1 -1
- package/dist/model/getTopFiltersNoResultsValues.d.ts +11 -11
- package/dist/model/getTopFiltersNoResultsValues.d.ts.map +1 -1
- package/dist/model/getTopHitsResponse.d.ts +3 -3
- package/dist/model/getTopHitsResponse.d.ts.map +1 -1
- package/dist/model/getTopSearchesResponse.d.ts +3 -3
- package/dist/model/getTopSearchesResponse.d.ts.map +1 -1
- package/dist/model/getUsersCountResponse.d.ts +11 -11
- package/dist/model/getUsersCountResponse.d.ts.map +1 -1
- package/dist/model/index.d.ts +44 -44
- package/dist/model/noClickRateEvent.d.ts +18 -18
- package/dist/model/noClickRateEvent.d.ts.map +1 -1
- package/dist/model/noResultsRateEvent.d.ts +18 -18
- package/dist/model/noResultsRateEvent.d.ts.map +1 -1
- package/dist/model/orderBy.d.ts +4 -1
- package/dist/model/orderBy.d.ts.map +1 -1
- package/dist/model/searchEvent.d.ts +10 -10
- package/dist/model/searchEvent.d.ts.map +1 -1
- package/dist/model/searchNoClickEvent.d.ts +14 -14
- package/dist/model/searchNoClickEvent.d.ts.map +1 -1
- package/dist/model/searchNoResultEvent.d.ts +14 -14
- package/dist/model/searchNoResultEvent.d.ts.map +1 -1
- package/dist/model/topCountry.d.ts +10 -10
- package/dist/model/topCountry.d.ts.map +1 -1
- package/dist/model/topHit.d.ts +10 -10
- package/dist/model/topHit.d.ts.map +1 -1
- package/dist/model/topHitWithAnalytics.d.ts +30 -30
- package/dist/model/topHitWithAnalytics.d.ts.map +1 -1
- package/dist/model/topHitsResponse.d.ts +7 -7
- package/dist/model/topHitsResponse.d.ts.map +1 -1
- package/dist/model/topHitsResponseWithAnalytics.d.ts +7 -7
- package/dist/model/topHitsResponseWithAnalytics.d.ts.map +1 -1
- package/dist/model/topSearch.d.ts +14 -14
- package/dist/model/topSearch.d.ts.map +1 -1
- package/dist/model/topSearchWithAnalytics.d.ts +38 -38
- package/dist/model/topSearchWithAnalytics.d.ts.map +1 -1
- package/dist/model/topSearchesResponse.d.ts +7 -7
- package/dist/model/topSearchesResponse.d.ts.map +1 -1
- package/dist/model/topSearchesResponseWithAnalytics.d.ts +7 -7
- package/dist/model/topSearchesResponseWithAnalytics.d.ts.map +1 -1
- package/dist/model/userWithDate.d.ts +10 -10
- package/dist/model/userWithDate.d.ts.map +1 -1
- package/dist/src/analyticsClient.d.ts +318 -318
- package/dist/src/analyticsClient.d.ts.map +1 -1
- package/index.js +1 -1
- package/model/averageClickEvent.ts +4 -4
- package/model/clickPosition.ts +3 -3
- package/model/clickThroughRateEvent.ts +5 -5
- package/model/clientMethodProps.ts +92 -92
- package/model/conversionRateEvent.ts +5 -5
- package/model/direction.ts +1 -1
- package/model/errorBase.ts +1 -1
- package/model/getAverageClickPositionResponse.ts +4 -4
- package/model/getClickPositionsResponse.ts +2 -2
- package/model/getClickThroughRateResponse.ts +5 -5
- package/model/getConversationRateResponse.ts +5 -5
- package/model/getNoClickRateResponse.ts +5 -5
- package/model/getNoResultsRateResponse.ts +5 -5
- package/model/getSearchesCountResponse.ts +3 -3
- package/model/getSearchesNoClicksResponse.ts +2 -2
- package/model/getSearchesNoResultsResponse.ts +2 -2
- package/model/getStatusResponse.ts +2 -2
- package/model/getTopCountriesResponse.ts +2 -2
- package/model/getTopFilterAttribute.ts +3 -3
- package/model/getTopFilterAttributesResponse.ts +2 -2
- package/model/getTopFilterForAttribute.ts +5 -5
- package/model/getTopFilterForAttributeResponse.ts +2 -2
- package/model/getTopFiltersNoResultsResponse.ts +2 -2
- package/model/getTopFiltersNoResultsValue.ts +4 -4
- package/model/getTopFiltersNoResultsValues.ts +3 -3
- package/model/getTopHitsResponse.ts +1 -1
- package/model/getTopSearchesResponse.ts +1 -1
- package/model/getUsersCountResponse.ts +3 -3
- package/model/index.ts +1 -1
- package/model/noClickRateEvent.ts +5 -5
- package/model/noResultsRateEvent.ts +5 -5
- package/model/orderBy.ts +4 -1
- package/model/searchEvent.ts +3 -3
- package/model/searchNoClickEvent.ts +4 -4
- package/model/searchNoResultEvent.ts +4 -4
- package/model/topCountry.ts +3 -3
- package/model/topHit.ts +3 -3
- package/model/topHitWithAnalytics.ts +8 -8
- package/model/topHitsResponse.ts +2 -2
- package/model/topHitsResponseWithAnalytics.ts +2 -2
- package/model/topSearch.ts +4 -4
- package/model/topSearchWithAnalytics.ts +10 -10
- package/model/topSearchesResponse.ts +2 -2
- package/model/topSearchesResponseWithAnalytics.ts +2 -2
- package/model/userWithDate.ts +3 -3
- package/package.json +30 -13
|
@@ -1,508 +1,508 @@
|
|
|
1
|
-
import type { Direction } from './direction';
|
|
2
|
-
import type { OrderBy } from './orderBy';
|
|
3
|
-
/**
|
|
4
|
-
* Properties for the `del` method.
|
|
5
|
-
*/
|
|
6
|
-
export
|
|
7
|
-
/**
|
|
8
|
-
*
|
|
9
|
-
*/
|
|
10
|
-
path: string;
|
|
11
|
-
/**
|
|
12
|
-
* Query parameters to
|
|
13
|
-
*/
|
|
14
|
-
parameters?: Record<string, any>;
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
* Properties for the `get` method.
|
|
18
|
-
*/
|
|
19
|
-
export
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
path: string;
|
|
24
|
-
/**
|
|
25
|
-
* Query parameters to
|
|
26
|
-
*/
|
|
27
|
-
parameters?: Record<string, any>;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* Properties for the `getAverageClickPosition` method.
|
|
31
|
-
*/
|
|
32
|
-
export
|
|
33
|
-
/**
|
|
34
|
-
*
|
|
35
|
-
*/
|
|
36
|
-
index: string;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
startDate?: string;
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
|
-
endDate?: string;
|
|
45
|
-
/**
|
|
46
|
-
* Filter
|
|
47
|
-
*/
|
|
48
|
-
tags?: string;
|
|
49
|
-
};
|
|
50
|
-
/**
|
|
51
|
-
* Properties for the `getClickPositions` method.
|
|
52
|
-
*/
|
|
53
|
-
export
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
*/
|
|
57
|
-
index: string;
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
*/
|
|
61
|
-
startDate?: string;
|
|
62
|
-
/**
|
|
63
|
-
*
|
|
64
|
-
*/
|
|
65
|
-
endDate?: string;
|
|
66
|
-
/**
|
|
67
|
-
* Filter
|
|
68
|
-
*/
|
|
69
|
-
tags?: string;
|
|
70
|
-
};
|
|
71
|
-
/**
|
|
72
|
-
* Properties for the `getClickThroughRate` method.
|
|
73
|
-
*/
|
|
74
|
-
export
|
|
75
|
-
/**
|
|
76
|
-
*
|
|
77
|
-
*/
|
|
78
|
-
index: string;
|
|
79
|
-
/**
|
|
80
|
-
*
|
|
81
|
-
*/
|
|
82
|
-
startDate?: string;
|
|
83
|
-
/**
|
|
84
|
-
*
|
|
85
|
-
*/
|
|
86
|
-
endDate?: string;
|
|
87
|
-
/**
|
|
88
|
-
* Filter
|
|
89
|
-
*/
|
|
90
|
-
tags?: string;
|
|
91
|
-
};
|
|
92
|
-
/**
|
|
93
|
-
* Properties for the `getConversationRate` method.
|
|
94
|
-
*/
|
|
95
|
-
export
|
|
96
|
-
/**
|
|
97
|
-
*
|
|
98
|
-
*/
|
|
99
|
-
index: string;
|
|
100
|
-
/**
|
|
101
|
-
*
|
|
102
|
-
*/
|
|
103
|
-
startDate?: string;
|
|
104
|
-
/**
|
|
105
|
-
*
|
|
106
|
-
*/
|
|
107
|
-
endDate?: string;
|
|
108
|
-
/**
|
|
109
|
-
* Filter
|
|
110
|
-
*/
|
|
111
|
-
tags?: string;
|
|
112
|
-
};
|
|
113
|
-
/**
|
|
114
|
-
* Properties for the `getNoClickRate` method.
|
|
115
|
-
*/
|
|
116
|
-
export
|
|
117
|
-
/**
|
|
118
|
-
*
|
|
119
|
-
*/
|
|
120
|
-
index: string;
|
|
121
|
-
/**
|
|
122
|
-
*
|
|
123
|
-
*/
|
|
124
|
-
startDate?: string;
|
|
125
|
-
/**
|
|
126
|
-
*
|
|
127
|
-
*/
|
|
128
|
-
endDate?: string;
|
|
129
|
-
/**
|
|
130
|
-
* Filter
|
|
131
|
-
*/
|
|
132
|
-
tags?: string;
|
|
133
|
-
};
|
|
134
|
-
/**
|
|
135
|
-
* Properties for the `getNoResultsRate` method.
|
|
136
|
-
*/
|
|
137
|
-
export
|
|
138
|
-
/**
|
|
139
|
-
*
|
|
140
|
-
*/
|
|
141
|
-
index: string;
|
|
142
|
-
/**
|
|
143
|
-
*
|
|
144
|
-
*/
|
|
145
|
-
startDate?: string;
|
|
146
|
-
/**
|
|
147
|
-
*
|
|
148
|
-
*/
|
|
149
|
-
endDate?: string;
|
|
150
|
-
/**
|
|
151
|
-
* Filter
|
|
152
|
-
*/
|
|
153
|
-
tags?: string;
|
|
154
|
-
};
|
|
155
|
-
/**
|
|
156
|
-
* Properties for the `getSearchesCount` method.
|
|
157
|
-
*/
|
|
158
|
-
export
|
|
159
|
-
/**
|
|
160
|
-
*
|
|
161
|
-
*/
|
|
162
|
-
index: string;
|
|
163
|
-
/**
|
|
164
|
-
*
|
|
165
|
-
*/
|
|
166
|
-
startDate?: string;
|
|
167
|
-
/**
|
|
168
|
-
*
|
|
169
|
-
*/
|
|
170
|
-
endDate?: string;
|
|
171
|
-
/**
|
|
172
|
-
* Filter
|
|
173
|
-
*/
|
|
174
|
-
tags?: string;
|
|
175
|
-
};
|
|
176
|
-
/**
|
|
177
|
-
* Properties for the `getSearchesNoClicks` method.
|
|
178
|
-
*/
|
|
179
|
-
export
|
|
180
|
-
/**
|
|
181
|
-
*
|
|
182
|
-
*/
|
|
183
|
-
index: string;
|
|
184
|
-
/**
|
|
185
|
-
*
|
|
186
|
-
*/
|
|
187
|
-
startDate?: string;
|
|
188
|
-
/**
|
|
189
|
-
*
|
|
190
|
-
*/
|
|
191
|
-
endDate?: string;
|
|
192
|
-
/**
|
|
193
|
-
* Number of records to return
|
|
194
|
-
*/
|
|
195
|
-
limit?: number;
|
|
196
|
-
/**
|
|
197
|
-
* Position of the starting record. Used for paging. 0 is the first record.
|
|
198
|
-
*/
|
|
199
|
-
offset?: number;
|
|
200
|
-
/**
|
|
201
|
-
* Filter
|
|
202
|
-
*/
|
|
203
|
-
tags?: string;
|
|
204
|
-
};
|
|
205
|
-
/**
|
|
206
|
-
* Properties for the `getSearchesNoResults` method.
|
|
207
|
-
*/
|
|
208
|
-
export
|
|
209
|
-
/**
|
|
210
|
-
*
|
|
211
|
-
*/
|
|
212
|
-
index: string;
|
|
213
|
-
/**
|
|
214
|
-
*
|
|
215
|
-
*/
|
|
216
|
-
startDate?: string;
|
|
217
|
-
/**
|
|
218
|
-
*
|
|
219
|
-
*/
|
|
220
|
-
endDate?: string;
|
|
221
|
-
/**
|
|
222
|
-
* Number of records to return
|
|
223
|
-
*/
|
|
224
|
-
limit?: number;
|
|
225
|
-
/**
|
|
226
|
-
* Position of the starting record. Used for paging. 0 is the first record.
|
|
227
|
-
*/
|
|
228
|
-
offset?: number;
|
|
229
|
-
/**
|
|
230
|
-
* Filter
|
|
231
|
-
*/
|
|
232
|
-
tags?: string;
|
|
233
|
-
};
|
|
234
|
-
/**
|
|
235
|
-
* Properties for the `getStatus` method.
|
|
236
|
-
*/
|
|
237
|
-
export
|
|
238
|
-
/**
|
|
239
|
-
*
|
|
240
|
-
*/
|
|
241
|
-
index: string;
|
|
242
|
-
};
|
|
243
|
-
/**
|
|
244
|
-
* Properties for the `getTopCountries` method.
|
|
245
|
-
*/
|
|
246
|
-
export
|
|
247
|
-
/**
|
|
248
|
-
*
|
|
249
|
-
*/
|
|
250
|
-
index: string;
|
|
251
|
-
/**
|
|
252
|
-
*
|
|
253
|
-
*/
|
|
254
|
-
startDate?: string;
|
|
255
|
-
/**
|
|
256
|
-
*
|
|
257
|
-
*/
|
|
258
|
-
endDate?: string;
|
|
259
|
-
/**
|
|
260
|
-
* Number of records to return
|
|
261
|
-
*/
|
|
262
|
-
limit?: number;
|
|
263
|
-
/**
|
|
264
|
-
* Position of the starting record. Used for paging. 0 is the first record.
|
|
265
|
-
*/
|
|
266
|
-
offset?: number;
|
|
267
|
-
/**
|
|
268
|
-
* Filter
|
|
269
|
-
*/
|
|
270
|
-
tags?: string;
|
|
271
|
-
};
|
|
272
|
-
/**
|
|
273
|
-
* Properties for the `getTopFilterAttributes` method.
|
|
274
|
-
*/
|
|
275
|
-
export
|
|
276
|
-
/**
|
|
277
|
-
*
|
|
278
|
-
*/
|
|
279
|
-
index: string;
|
|
280
|
-
/**
|
|
281
|
-
*
|
|
282
|
-
*/
|
|
283
|
-
search?: string;
|
|
284
|
-
/**
|
|
285
|
-
*
|
|
286
|
-
*/
|
|
287
|
-
startDate?: string;
|
|
288
|
-
/**
|
|
289
|
-
*
|
|
290
|
-
*/
|
|
291
|
-
endDate?: string;
|
|
292
|
-
/**
|
|
293
|
-
* Number of records to return
|
|
294
|
-
*/
|
|
295
|
-
limit?: number;
|
|
296
|
-
/**
|
|
297
|
-
* Position of the starting record. Used for paging. 0 is the first record.
|
|
298
|
-
*/
|
|
299
|
-
offset?: number;
|
|
300
|
-
/**
|
|
301
|
-
* Filter
|
|
302
|
-
*/
|
|
303
|
-
tags?: string;
|
|
304
|
-
};
|
|
305
|
-
/**
|
|
306
|
-
* Properties for the `getTopFilterForAttribute` method.
|
|
307
|
-
*/
|
|
308
|
-
export
|
|
309
|
-
/**
|
|
310
|
-
*
|
|
311
|
-
*/
|
|
312
|
-
attribute: string;
|
|
313
|
-
/**
|
|
314
|
-
*
|
|
315
|
-
*/
|
|
316
|
-
index: string;
|
|
317
|
-
/**
|
|
318
|
-
*
|
|
319
|
-
*/
|
|
320
|
-
search?: string;
|
|
321
|
-
/**
|
|
322
|
-
*
|
|
323
|
-
*/
|
|
324
|
-
startDate?: string;
|
|
325
|
-
/**
|
|
326
|
-
*
|
|
327
|
-
*/
|
|
328
|
-
endDate?: string;
|
|
329
|
-
/**
|
|
330
|
-
* Number of records to return
|
|
331
|
-
*/
|
|
332
|
-
limit?: number;
|
|
333
|
-
/**
|
|
334
|
-
* Position of the starting record. Used for paging. 0 is the first record.
|
|
335
|
-
*/
|
|
336
|
-
offset?: number;
|
|
337
|
-
/**
|
|
338
|
-
* Filter
|
|
339
|
-
*/
|
|
340
|
-
tags?: string;
|
|
341
|
-
};
|
|
342
|
-
/**
|
|
343
|
-
* Properties for the `getTopFiltersNoResults` method.
|
|
344
|
-
*/
|
|
345
|
-
export
|
|
346
|
-
/**
|
|
347
|
-
*
|
|
348
|
-
*/
|
|
349
|
-
index: string;
|
|
350
|
-
/**
|
|
351
|
-
*
|
|
352
|
-
*/
|
|
353
|
-
search?: string;
|
|
354
|
-
/**
|
|
355
|
-
*
|
|
356
|
-
*/
|
|
357
|
-
startDate?: string;
|
|
358
|
-
/**
|
|
359
|
-
*
|
|
360
|
-
*/
|
|
361
|
-
endDate?: string;
|
|
362
|
-
/**
|
|
363
|
-
* Number of records to return
|
|
364
|
-
*/
|
|
365
|
-
limit?: number;
|
|
366
|
-
/**
|
|
367
|
-
* Position of the starting record. Used for paging. 0 is the first record.
|
|
368
|
-
*/
|
|
369
|
-
offset?: number;
|
|
370
|
-
/**
|
|
371
|
-
* Filter
|
|
372
|
-
*/
|
|
373
|
-
tags?: string;
|
|
374
|
-
};
|
|
375
|
-
/**
|
|
376
|
-
* Properties for the `getTopHits` method.
|
|
377
|
-
*/
|
|
378
|
-
export
|
|
379
|
-
/**
|
|
380
|
-
*
|
|
381
|
-
*/
|
|
382
|
-
index: string;
|
|
383
|
-
/**
|
|
384
|
-
*
|
|
385
|
-
*/
|
|
386
|
-
search?: string;
|
|
387
|
-
/**
|
|
388
|
-
* Whether to include
|
|
389
|
-
*/
|
|
390
|
-
clickAnalytics?: boolean;
|
|
391
|
-
/**
|
|
392
|
-
*
|
|
393
|
-
*/
|
|
394
|
-
startDate?: string;
|
|
395
|
-
/**
|
|
396
|
-
*
|
|
397
|
-
*/
|
|
398
|
-
endDate?: string;
|
|
399
|
-
/**
|
|
400
|
-
* Number of records to return
|
|
401
|
-
*/
|
|
402
|
-
limit?: number;
|
|
403
|
-
/**
|
|
404
|
-
* Position of the starting record. Used for paging. 0 is the first record.
|
|
405
|
-
*/
|
|
406
|
-
offset?: number;
|
|
407
|
-
/**
|
|
408
|
-
* Filter
|
|
409
|
-
*/
|
|
410
|
-
tags?: string;
|
|
411
|
-
};
|
|
412
|
-
/**
|
|
413
|
-
* Properties for the `getTopSearches` method.
|
|
414
|
-
*/
|
|
415
|
-
export
|
|
416
|
-
/**
|
|
417
|
-
*
|
|
418
|
-
*/
|
|
419
|
-
index: string;
|
|
420
|
-
/**
|
|
421
|
-
* Whether to include
|
|
422
|
-
*/
|
|
423
|
-
clickAnalytics?: boolean;
|
|
424
|
-
/**
|
|
425
|
-
*
|
|
426
|
-
*/
|
|
427
|
-
startDate?: string;
|
|
428
|
-
/**
|
|
429
|
-
*
|
|
430
|
-
*/
|
|
431
|
-
endDate?: string;
|
|
432
|
-
/**
|
|
433
|
-
* Reorder the results.
|
|
434
|
-
*/
|
|
435
|
-
orderBy?: OrderBy;
|
|
436
|
-
/**
|
|
437
|
-
*
|
|
438
|
-
*/
|
|
439
|
-
direction?: Direction;
|
|
440
|
-
/**
|
|
441
|
-
* Number of records to return
|
|
442
|
-
*/
|
|
443
|
-
limit?: number;
|
|
444
|
-
/**
|
|
445
|
-
* Position of the starting record. Used for paging. 0 is the first record.
|
|
446
|
-
*/
|
|
447
|
-
offset?: number;
|
|
448
|
-
/**
|
|
449
|
-
* Filter
|
|
450
|
-
*/
|
|
451
|
-
tags?: string;
|
|
452
|
-
};
|
|
453
|
-
/**
|
|
454
|
-
* Properties for the `getUsersCount` method.
|
|
455
|
-
*/
|
|
456
|
-
export
|
|
457
|
-
/**
|
|
458
|
-
*
|
|
459
|
-
*/
|
|
460
|
-
index: string;
|
|
461
|
-
/**
|
|
462
|
-
*
|
|
463
|
-
*/
|
|
464
|
-
startDate?: string;
|
|
465
|
-
/**
|
|
466
|
-
*
|
|
467
|
-
*/
|
|
468
|
-
endDate?: string;
|
|
469
|
-
/**
|
|
470
|
-
* Filter
|
|
471
|
-
*/
|
|
472
|
-
tags?: string;
|
|
473
|
-
};
|
|
474
|
-
/**
|
|
475
|
-
* Properties for the `post` method.
|
|
476
|
-
*/
|
|
477
|
-
export
|
|
478
|
-
/**
|
|
479
|
-
*
|
|
480
|
-
*/
|
|
481
|
-
path: string;
|
|
482
|
-
/**
|
|
483
|
-
* Query parameters to
|
|
484
|
-
*/
|
|
485
|
-
parameters?: Record<string, any>;
|
|
486
|
-
/**
|
|
487
|
-
*
|
|
488
|
-
*/
|
|
489
|
-
body?: Record<string, any>;
|
|
490
|
-
};
|
|
491
|
-
/**
|
|
492
|
-
* Properties for the `put` method.
|
|
493
|
-
*/
|
|
494
|
-
export
|
|
495
|
-
/**
|
|
496
|
-
*
|
|
497
|
-
*/
|
|
498
|
-
path: string;
|
|
499
|
-
/**
|
|
500
|
-
* Query parameters to
|
|
501
|
-
*/
|
|
502
|
-
parameters?: Record<string, any>;
|
|
503
|
-
/**
|
|
504
|
-
*
|
|
505
|
-
*/
|
|
506
|
-
body?: Record<string, any>;
|
|
507
|
-
};
|
|
1
|
+
import type { Direction } from './direction';
|
|
2
|
+
import type { OrderBy } from './orderBy';
|
|
3
|
+
/**
|
|
4
|
+
* Properties for the `del` method.
|
|
5
|
+
*/
|
|
6
|
+
export type DelProps = {
|
|
7
|
+
/**
|
|
8
|
+
* Path of the endpoint, anything after \"/1\" must be specified.
|
|
9
|
+
*/
|
|
10
|
+
path: string;
|
|
11
|
+
/**
|
|
12
|
+
* Query parameters to apply to the current query.
|
|
13
|
+
*/
|
|
14
|
+
parameters?: Record<string, any>;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Properties for the `get` method.
|
|
18
|
+
*/
|
|
19
|
+
export type GetProps = {
|
|
20
|
+
/**
|
|
21
|
+
* Path of the endpoint, anything after \"/1\" must be specified.
|
|
22
|
+
*/
|
|
23
|
+
path: string;
|
|
24
|
+
/**
|
|
25
|
+
* Query parameters to apply to the current query.
|
|
26
|
+
*/
|
|
27
|
+
parameters?: Record<string, any>;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Properties for the `getAverageClickPosition` method.
|
|
31
|
+
*/
|
|
32
|
+
export type GetAverageClickPositionProps = {
|
|
33
|
+
/**
|
|
34
|
+
* Index name to target.
|
|
35
|
+
*/
|
|
36
|
+
index: string;
|
|
37
|
+
/**
|
|
38
|
+
* Start date (a string in the format `YYYY-MM-DD`) of the period to analyze.
|
|
39
|
+
*/
|
|
40
|
+
startDate?: string;
|
|
41
|
+
/**
|
|
42
|
+
* End date (a string in the format `YYYY-MM-DD`) of the period to analyze.
|
|
43
|
+
*/
|
|
44
|
+
endDate?: string;
|
|
45
|
+
/**
|
|
46
|
+
* Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded.
|
|
47
|
+
*/
|
|
48
|
+
tags?: string;
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* Properties for the `getClickPositions` method.
|
|
52
|
+
*/
|
|
53
|
+
export type GetClickPositionsProps = {
|
|
54
|
+
/**
|
|
55
|
+
* Index name to target.
|
|
56
|
+
*/
|
|
57
|
+
index: string;
|
|
58
|
+
/**
|
|
59
|
+
* Start date (a string in the format `YYYY-MM-DD`) of the period to analyze.
|
|
60
|
+
*/
|
|
61
|
+
startDate?: string;
|
|
62
|
+
/**
|
|
63
|
+
* End date (a string in the format `YYYY-MM-DD`) of the period to analyze.
|
|
64
|
+
*/
|
|
65
|
+
endDate?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded.
|
|
68
|
+
*/
|
|
69
|
+
tags?: string;
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* Properties for the `getClickThroughRate` method.
|
|
73
|
+
*/
|
|
74
|
+
export type GetClickThroughRateProps = {
|
|
75
|
+
/**
|
|
76
|
+
* Index name to target.
|
|
77
|
+
*/
|
|
78
|
+
index: string;
|
|
79
|
+
/**
|
|
80
|
+
* Start date (a string in the format `YYYY-MM-DD`) of the period to analyze.
|
|
81
|
+
*/
|
|
82
|
+
startDate?: string;
|
|
83
|
+
/**
|
|
84
|
+
* End date (a string in the format `YYYY-MM-DD`) of the period to analyze.
|
|
85
|
+
*/
|
|
86
|
+
endDate?: string;
|
|
87
|
+
/**
|
|
88
|
+
* Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded.
|
|
89
|
+
*/
|
|
90
|
+
tags?: string;
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* Properties for the `getConversationRate` method.
|
|
94
|
+
*/
|
|
95
|
+
export type GetConversationRateProps = {
|
|
96
|
+
/**
|
|
97
|
+
* Index name to target.
|
|
98
|
+
*/
|
|
99
|
+
index: string;
|
|
100
|
+
/**
|
|
101
|
+
* Start date (a string in the format `YYYY-MM-DD`) of the period to analyze.
|
|
102
|
+
*/
|
|
103
|
+
startDate?: string;
|
|
104
|
+
/**
|
|
105
|
+
* End date (a string in the format `YYYY-MM-DD`) of the period to analyze.
|
|
106
|
+
*/
|
|
107
|
+
endDate?: string;
|
|
108
|
+
/**
|
|
109
|
+
* Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded.
|
|
110
|
+
*/
|
|
111
|
+
tags?: string;
|
|
112
|
+
};
|
|
113
|
+
/**
|
|
114
|
+
* Properties for the `getNoClickRate` method.
|
|
115
|
+
*/
|
|
116
|
+
export type GetNoClickRateProps = {
|
|
117
|
+
/**
|
|
118
|
+
* Index name to target.
|
|
119
|
+
*/
|
|
120
|
+
index: string;
|
|
121
|
+
/**
|
|
122
|
+
* Start date (a string in the format `YYYY-MM-DD`) of the period to analyze.
|
|
123
|
+
*/
|
|
124
|
+
startDate?: string;
|
|
125
|
+
/**
|
|
126
|
+
* End date (a string in the format `YYYY-MM-DD`) of the period to analyze.
|
|
127
|
+
*/
|
|
128
|
+
endDate?: string;
|
|
129
|
+
/**
|
|
130
|
+
* Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded.
|
|
131
|
+
*/
|
|
132
|
+
tags?: string;
|
|
133
|
+
};
|
|
134
|
+
/**
|
|
135
|
+
* Properties for the `getNoResultsRate` method.
|
|
136
|
+
*/
|
|
137
|
+
export type GetNoResultsRateProps = {
|
|
138
|
+
/**
|
|
139
|
+
* Index name to target.
|
|
140
|
+
*/
|
|
141
|
+
index: string;
|
|
142
|
+
/**
|
|
143
|
+
* Start date (a string in the format `YYYY-MM-DD`) of the period to analyze.
|
|
144
|
+
*/
|
|
145
|
+
startDate?: string;
|
|
146
|
+
/**
|
|
147
|
+
* End date (a string in the format `YYYY-MM-DD`) of the period to analyze.
|
|
148
|
+
*/
|
|
149
|
+
endDate?: string;
|
|
150
|
+
/**
|
|
151
|
+
* Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded.
|
|
152
|
+
*/
|
|
153
|
+
tags?: string;
|
|
154
|
+
};
|
|
155
|
+
/**
|
|
156
|
+
* Properties for the `getSearchesCount` method.
|
|
157
|
+
*/
|
|
158
|
+
export type GetSearchesCountProps = {
|
|
159
|
+
/**
|
|
160
|
+
* Index name to target.
|
|
161
|
+
*/
|
|
162
|
+
index: string;
|
|
163
|
+
/**
|
|
164
|
+
* Start date (a string in the format `YYYY-MM-DD`) of the period to analyze.
|
|
165
|
+
*/
|
|
166
|
+
startDate?: string;
|
|
167
|
+
/**
|
|
168
|
+
* End date (a string in the format `YYYY-MM-DD`) of the period to analyze.
|
|
169
|
+
*/
|
|
170
|
+
endDate?: string;
|
|
171
|
+
/**
|
|
172
|
+
* Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded.
|
|
173
|
+
*/
|
|
174
|
+
tags?: string;
|
|
175
|
+
};
|
|
176
|
+
/**
|
|
177
|
+
* Properties for the `getSearchesNoClicks` method.
|
|
178
|
+
*/
|
|
179
|
+
export type GetSearchesNoClicksProps = {
|
|
180
|
+
/**
|
|
181
|
+
* Index name to target.
|
|
182
|
+
*/
|
|
183
|
+
index: string;
|
|
184
|
+
/**
|
|
185
|
+
* Start date (a string in the format `YYYY-MM-DD`) of the period to analyze.
|
|
186
|
+
*/
|
|
187
|
+
startDate?: string;
|
|
188
|
+
/**
|
|
189
|
+
* End date (a string in the format `YYYY-MM-DD`) of the period to analyze.
|
|
190
|
+
*/
|
|
191
|
+
endDate?: string;
|
|
192
|
+
/**
|
|
193
|
+
* Number of records to return (page size).
|
|
194
|
+
*/
|
|
195
|
+
limit?: number;
|
|
196
|
+
/**
|
|
197
|
+
* Position of the starting record. Used for paging. 0 is the first record.
|
|
198
|
+
*/
|
|
199
|
+
offset?: number;
|
|
200
|
+
/**
|
|
201
|
+
* Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded.
|
|
202
|
+
*/
|
|
203
|
+
tags?: string;
|
|
204
|
+
};
|
|
205
|
+
/**
|
|
206
|
+
* Properties for the `getSearchesNoResults` method.
|
|
207
|
+
*/
|
|
208
|
+
export type GetSearchesNoResultsProps = {
|
|
209
|
+
/**
|
|
210
|
+
* Index name to target.
|
|
211
|
+
*/
|
|
212
|
+
index: string;
|
|
213
|
+
/**
|
|
214
|
+
* Start date (a string in the format `YYYY-MM-DD`) of the period to analyze.
|
|
215
|
+
*/
|
|
216
|
+
startDate?: string;
|
|
217
|
+
/**
|
|
218
|
+
* End date (a string in the format `YYYY-MM-DD`) of the period to analyze.
|
|
219
|
+
*/
|
|
220
|
+
endDate?: string;
|
|
221
|
+
/**
|
|
222
|
+
* Number of records to return (page size).
|
|
223
|
+
*/
|
|
224
|
+
limit?: number;
|
|
225
|
+
/**
|
|
226
|
+
* Position of the starting record. Used for paging. 0 is the first record.
|
|
227
|
+
*/
|
|
228
|
+
offset?: number;
|
|
229
|
+
/**
|
|
230
|
+
* Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded.
|
|
231
|
+
*/
|
|
232
|
+
tags?: string;
|
|
233
|
+
};
|
|
234
|
+
/**
|
|
235
|
+
* Properties for the `getStatus` method.
|
|
236
|
+
*/
|
|
237
|
+
export type GetStatusProps = {
|
|
238
|
+
/**
|
|
239
|
+
* Index name to target.
|
|
240
|
+
*/
|
|
241
|
+
index: string;
|
|
242
|
+
};
|
|
243
|
+
/**
|
|
244
|
+
* Properties for the `getTopCountries` method.
|
|
245
|
+
*/
|
|
246
|
+
export type GetTopCountriesProps = {
|
|
247
|
+
/**
|
|
248
|
+
* Index name to target.
|
|
249
|
+
*/
|
|
250
|
+
index: string;
|
|
251
|
+
/**
|
|
252
|
+
* Start date (a string in the format `YYYY-MM-DD`) of the period to analyze.
|
|
253
|
+
*/
|
|
254
|
+
startDate?: string;
|
|
255
|
+
/**
|
|
256
|
+
* End date (a string in the format `YYYY-MM-DD`) of the period to analyze.
|
|
257
|
+
*/
|
|
258
|
+
endDate?: string;
|
|
259
|
+
/**
|
|
260
|
+
* Number of records to return (page size).
|
|
261
|
+
*/
|
|
262
|
+
limit?: number;
|
|
263
|
+
/**
|
|
264
|
+
* Position of the starting record. Used for paging. 0 is the first record.
|
|
265
|
+
*/
|
|
266
|
+
offset?: number;
|
|
267
|
+
/**
|
|
268
|
+
* Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded.
|
|
269
|
+
*/
|
|
270
|
+
tags?: string;
|
|
271
|
+
};
|
|
272
|
+
/**
|
|
273
|
+
* Properties for the `getTopFilterAttributes` method.
|
|
274
|
+
*/
|
|
275
|
+
export type GetTopFilterAttributesProps = {
|
|
276
|
+
/**
|
|
277
|
+
* Index name to target.
|
|
278
|
+
*/
|
|
279
|
+
index: string;
|
|
280
|
+
/**
|
|
281
|
+
* User query.
|
|
282
|
+
*/
|
|
283
|
+
search?: string;
|
|
284
|
+
/**
|
|
285
|
+
* Start date (a string in the format `YYYY-MM-DD`) of the period to analyze.
|
|
286
|
+
*/
|
|
287
|
+
startDate?: string;
|
|
288
|
+
/**
|
|
289
|
+
* End date (a string in the format `YYYY-MM-DD`) of the period to analyze.
|
|
290
|
+
*/
|
|
291
|
+
endDate?: string;
|
|
292
|
+
/**
|
|
293
|
+
* Number of records to return (page size).
|
|
294
|
+
*/
|
|
295
|
+
limit?: number;
|
|
296
|
+
/**
|
|
297
|
+
* Position of the starting record. Used for paging. 0 is the first record.
|
|
298
|
+
*/
|
|
299
|
+
offset?: number;
|
|
300
|
+
/**
|
|
301
|
+
* Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded.
|
|
302
|
+
*/
|
|
303
|
+
tags?: string;
|
|
304
|
+
};
|
|
305
|
+
/**
|
|
306
|
+
* Properties for the `getTopFilterForAttribute` method.
|
|
307
|
+
*/
|
|
308
|
+
export type GetTopFilterForAttributeProps = {
|
|
309
|
+
/**
|
|
310
|
+
* Attribute name.
|
|
311
|
+
*/
|
|
312
|
+
attribute: string;
|
|
313
|
+
/**
|
|
314
|
+
* Index name to target.
|
|
315
|
+
*/
|
|
316
|
+
index: string;
|
|
317
|
+
/**
|
|
318
|
+
* User query.
|
|
319
|
+
*/
|
|
320
|
+
search?: string;
|
|
321
|
+
/**
|
|
322
|
+
* Start date (a string in the format `YYYY-MM-DD`) of the period to analyze.
|
|
323
|
+
*/
|
|
324
|
+
startDate?: string;
|
|
325
|
+
/**
|
|
326
|
+
* End date (a string in the format `YYYY-MM-DD`) of the period to analyze.
|
|
327
|
+
*/
|
|
328
|
+
endDate?: string;
|
|
329
|
+
/**
|
|
330
|
+
* Number of records to return (page size).
|
|
331
|
+
*/
|
|
332
|
+
limit?: number;
|
|
333
|
+
/**
|
|
334
|
+
* Position of the starting record. Used for paging. 0 is the first record.
|
|
335
|
+
*/
|
|
336
|
+
offset?: number;
|
|
337
|
+
/**
|
|
338
|
+
* Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded.
|
|
339
|
+
*/
|
|
340
|
+
tags?: string;
|
|
341
|
+
};
|
|
342
|
+
/**
|
|
343
|
+
* Properties for the `getTopFiltersNoResults` method.
|
|
344
|
+
*/
|
|
345
|
+
export type GetTopFiltersNoResultsProps = {
|
|
346
|
+
/**
|
|
347
|
+
* Index name to target.
|
|
348
|
+
*/
|
|
349
|
+
index: string;
|
|
350
|
+
/**
|
|
351
|
+
* User query.
|
|
352
|
+
*/
|
|
353
|
+
search?: string;
|
|
354
|
+
/**
|
|
355
|
+
* Start date (a string in the format `YYYY-MM-DD`) of the period to analyze.
|
|
356
|
+
*/
|
|
357
|
+
startDate?: string;
|
|
358
|
+
/**
|
|
359
|
+
* End date (a string in the format `YYYY-MM-DD`) of the period to analyze.
|
|
360
|
+
*/
|
|
361
|
+
endDate?: string;
|
|
362
|
+
/**
|
|
363
|
+
* Number of records to return (page size).
|
|
364
|
+
*/
|
|
365
|
+
limit?: number;
|
|
366
|
+
/**
|
|
367
|
+
* Position of the starting record. Used for paging. 0 is the first record.
|
|
368
|
+
*/
|
|
369
|
+
offset?: number;
|
|
370
|
+
/**
|
|
371
|
+
* Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded.
|
|
372
|
+
*/
|
|
373
|
+
tags?: string;
|
|
374
|
+
};
|
|
375
|
+
/**
|
|
376
|
+
* Properties for the `getTopHits` method.
|
|
377
|
+
*/
|
|
378
|
+
export type GetTopHitsProps = {
|
|
379
|
+
/**
|
|
380
|
+
* Index name to target.
|
|
381
|
+
*/
|
|
382
|
+
index: string;
|
|
383
|
+
/**
|
|
384
|
+
* User query.
|
|
385
|
+
*/
|
|
386
|
+
search?: string;
|
|
387
|
+
/**
|
|
388
|
+
* Whether to include [click and conversion](https://www.algolia.com/doc/guides/sending-events/getting-started/) rates for a search.
|
|
389
|
+
*/
|
|
390
|
+
clickAnalytics?: boolean;
|
|
391
|
+
/**
|
|
392
|
+
* Start date (a string in the format `YYYY-MM-DD`) of the period to analyze.
|
|
393
|
+
*/
|
|
394
|
+
startDate?: string;
|
|
395
|
+
/**
|
|
396
|
+
* End date (a string in the format `YYYY-MM-DD`) of the period to analyze.
|
|
397
|
+
*/
|
|
398
|
+
endDate?: string;
|
|
399
|
+
/**
|
|
400
|
+
* Number of records to return (page size).
|
|
401
|
+
*/
|
|
402
|
+
limit?: number;
|
|
403
|
+
/**
|
|
404
|
+
* Position of the starting record. Used for paging. 0 is the first record.
|
|
405
|
+
*/
|
|
406
|
+
offset?: number;
|
|
407
|
+
/**
|
|
408
|
+
* Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded.
|
|
409
|
+
*/
|
|
410
|
+
tags?: string;
|
|
411
|
+
};
|
|
412
|
+
/**
|
|
413
|
+
* Properties for the `getTopSearches` method.
|
|
414
|
+
*/
|
|
415
|
+
export type GetTopSearchesProps = {
|
|
416
|
+
/**
|
|
417
|
+
* Index name to target.
|
|
418
|
+
*/
|
|
419
|
+
index: string;
|
|
420
|
+
/**
|
|
421
|
+
* Whether to include [click and conversion](https://www.algolia.com/doc/guides/sending-events/getting-started/) rates for a search.
|
|
422
|
+
*/
|
|
423
|
+
clickAnalytics?: boolean;
|
|
424
|
+
/**
|
|
425
|
+
* Start date (a string in the format `YYYY-MM-DD`) of the period to analyze.
|
|
426
|
+
*/
|
|
427
|
+
startDate?: string;
|
|
428
|
+
/**
|
|
429
|
+
* End date (a string in the format `YYYY-MM-DD`) of the period to analyze.
|
|
430
|
+
*/
|
|
431
|
+
endDate?: string;
|
|
432
|
+
/**
|
|
433
|
+
* Reorder the results.
|
|
434
|
+
*/
|
|
435
|
+
orderBy?: OrderBy;
|
|
436
|
+
/**
|
|
437
|
+
* Sorting direction of the results: ascending or descending.
|
|
438
|
+
*/
|
|
439
|
+
direction?: Direction;
|
|
440
|
+
/**
|
|
441
|
+
* Number of records to return (page size).
|
|
442
|
+
*/
|
|
443
|
+
limit?: number;
|
|
444
|
+
/**
|
|
445
|
+
* Position of the starting record. Used for paging. 0 is the first record.
|
|
446
|
+
*/
|
|
447
|
+
offset?: number;
|
|
448
|
+
/**
|
|
449
|
+
* Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded.
|
|
450
|
+
*/
|
|
451
|
+
tags?: string;
|
|
452
|
+
};
|
|
453
|
+
/**
|
|
454
|
+
* Properties for the `getUsersCount` method.
|
|
455
|
+
*/
|
|
456
|
+
export type GetUsersCountProps = {
|
|
457
|
+
/**
|
|
458
|
+
* Index name to target.
|
|
459
|
+
*/
|
|
460
|
+
index: string;
|
|
461
|
+
/**
|
|
462
|
+
* Start date (a string in the format `YYYY-MM-DD`) of the period to analyze.
|
|
463
|
+
*/
|
|
464
|
+
startDate?: string;
|
|
465
|
+
/**
|
|
466
|
+
* End date (a string in the format `YYYY-MM-DD`) of the period to analyze.
|
|
467
|
+
*/
|
|
468
|
+
endDate?: string;
|
|
469
|
+
/**
|
|
470
|
+
* Filter analytics on the [`analyticsTags`](https://www.algolia.com/doc/api-reference/api-parameters/analyticsTags/) set at search time. Multiple tags can be combined with the operators OR and AND. If a tag contains characters like spaces or parentheses, it must be URL-encoded.
|
|
471
|
+
*/
|
|
472
|
+
tags?: string;
|
|
473
|
+
};
|
|
474
|
+
/**
|
|
475
|
+
* Properties for the `post` method.
|
|
476
|
+
*/
|
|
477
|
+
export type PostProps = {
|
|
478
|
+
/**
|
|
479
|
+
* Path of the endpoint, anything after \"/1\" must be specified.
|
|
480
|
+
*/
|
|
481
|
+
path: string;
|
|
482
|
+
/**
|
|
483
|
+
* Query parameters to apply to the current query.
|
|
484
|
+
*/
|
|
485
|
+
parameters?: Record<string, any>;
|
|
486
|
+
/**
|
|
487
|
+
* Parameters to send with the custom request.
|
|
488
|
+
*/
|
|
489
|
+
body?: Record<string, any>;
|
|
490
|
+
};
|
|
491
|
+
/**
|
|
492
|
+
* Properties for the `put` method.
|
|
493
|
+
*/
|
|
494
|
+
export type PutProps = {
|
|
495
|
+
/**
|
|
496
|
+
* Path of the endpoint, anything after \"/1\" must be specified.
|
|
497
|
+
*/
|
|
498
|
+
path: string;
|
|
499
|
+
/**
|
|
500
|
+
* Query parameters to apply to the current query.
|
|
501
|
+
*/
|
|
502
|
+
parameters?: Record<string, any>;
|
|
503
|
+
/**
|
|
504
|
+
* Parameters to send with the custom request.
|
|
505
|
+
*/
|
|
506
|
+
body?: Record<string, any>;
|
|
507
|
+
};
|
|
508
508
|
//# sourceMappingURL=clientMethodProps.d.ts.map
|