@algolia/client-analytics 5.0.0-alpha.106 → 5.0.0-alpha.107
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 +66 -66
- package/dist/client-analytics.esm.browser.js +66 -66
- package/dist/client-analytics.esm.node.js +66 -66
- package/dist/client-analytics.umd.js +2 -2
- package/dist/model/clientMethodProps.d.ts +65 -65
- package/dist/model/searchNoResultEvent.d.ts +1 -1
- package/dist/model/topSearch.d.ts +1 -1
- package/dist/model/topSearchWithAnalytics.d.ts +1 -1
- package/dist/src/analyticsClient.d.ts +66 -66
- package/model/clientMethodProps.ts +65 -65
- package/model/searchNoResultEvent.ts +1 -1
- package/model/topSearch.ts +1 -1
- package/model/topSearchWithAnalytics.ts +1 -1
- package/package.json +7 -7
|
@@ -72,15 +72,15 @@ export type CustomPutProps = {
|
|
|
72
72
|
*/
|
|
73
73
|
export type GetAverageClickPositionProps = {
|
|
74
74
|
/**
|
|
75
|
-
* Index name
|
|
75
|
+
* Index name.
|
|
76
76
|
*/
|
|
77
77
|
index: string;
|
|
78
78
|
/**
|
|
79
|
-
* Start date (
|
|
79
|
+
* Start date (`YYYY-MM-DD`) of the period to analyze.
|
|
80
80
|
*/
|
|
81
81
|
startDate?: string;
|
|
82
82
|
/**
|
|
83
|
-
* End date (
|
|
83
|
+
* End date (`YYYY-MM-DD`) of the period to analyze.
|
|
84
84
|
*/
|
|
85
85
|
endDate?: string;
|
|
86
86
|
/**
|
|
@@ -94,15 +94,15 @@ export type GetAverageClickPositionProps = {
|
|
|
94
94
|
*/
|
|
95
95
|
export type GetClickPositionsProps = {
|
|
96
96
|
/**
|
|
97
|
-
* Index name
|
|
97
|
+
* Index name.
|
|
98
98
|
*/
|
|
99
99
|
index: string;
|
|
100
100
|
/**
|
|
101
|
-
* Start date (
|
|
101
|
+
* Start date (`YYYY-MM-DD`) of the period to analyze.
|
|
102
102
|
*/
|
|
103
103
|
startDate?: string;
|
|
104
104
|
/**
|
|
105
|
-
* End date (
|
|
105
|
+
* End date (`YYYY-MM-DD`) of the period to analyze.
|
|
106
106
|
*/
|
|
107
107
|
endDate?: string;
|
|
108
108
|
/**
|
|
@@ -116,15 +116,15 @@ export type GetClickPositionsProps = {
|
|
|
116
116
|
*/
|
|
117
117
|
export type GetClickThroughRateProps = {
|
|
118
118
|
/**
|
|
119
|
-
* Index name
|
|
119
|
+
* Index name.
|
|
120
120
|
*/
|
|
121
121
|
index: string;
|
|
122
122
|
/**
|
|
123
|
-
* Start date (
|
|
123
|
+
* Start date (`YYYY-MM-DD`) of the period to analyze.
|
|
124
124
|
*/
|
|
125
125
|
startDate?: string;
|
|
126
126
|
/**
|
|
127
|
-
* End date (
|
|
127
|
+
* End date (`YYYY-MM-DD`) of the period to analyze.
|
|
128
128
|
*/
|
|
129
129
|
endDate?: string;
|
|
130
130
|
/**
|
|
@@ -138,15 +138,15 @@ export type GetClickThroughRateProps = {
|
|
|
138
138
|
*/
|
|
139
139
|
export type GetConversationRateProps = {
|
|
140
140
|
/**
|
|
141
|
-
* Index name
|
|
141
|
+
* Index name.
|
|
142
142
|
*/
|
|
143
143
|
index: string;
|
|
144
144
|
/**
|
|
145
|
-
* Start date (
|
|
145
|
+
* Start date (`YYYY-MM-DD`) of the period to analyze.
|
|
146
146
|
*/
|
|
147
147
|
startDate?: string;
|
|
148
148
|
/**
|
|
149
|
-
* End date (
|
|
149
|
+
* End date (`YYYY-MM-DD`) of the period to analyze.
|
|
150
150
|
*/
|
|
151
151
|
endDate?: string;
|
|
152
152
|
/**
|
|
@@ -160,15 +160,15 @@ export type GetConversationRateProps = {
|
|
|
160
160
|
*/
|
|
161
161
|
export type GetNoClickRateProps = {
|
|
162
162
|
/**
|
|
163
|
-
* Index name
|
|
163
|
+
* Index name.
|
|
164
164
|
*/
|
|
165
165
|
index: string;
|
|
166
166
|
/**
|
|
167
|
-
* Start date (
|
|
167
|
+
* Start date (`YYYY-MM-DD`) of the period to analyze.
|
|
168
168
|
*/
|
|
169
169
|
startDate?: string;
|
|
170
170
|
/**
|
|
171
|
-
* End date (
|
|
171
|
+
* End date (`YYYY-MM-DD`) of the period to analyze.
|
|
172
172
|
*/
|
|
173
173
|
endDate?: string;
|
|
174
174
|
/**
|
|
@@ -182,15 +182,15 @@ export type GetNoClickRateProps = {
|
|
|
182
182
|
*/
|
|
183
183
|
export type GetNoResultsRateProps = {
|
|
184
184
|
/**
|
|
185
|
-
* Index name
|
|
185
|
+
* Index name.
|
|
186
186
|
*/
|
|
187
187
|
index: string;
|
|
188
188
|
/**
|
|
189
|
-
* Start date (
|
|
189
|
+
* Start date (`YYYY-MM-DD`) of the period to analyze.
|
|
190
190
|
*/
|
|
191
191
|
startDate?: string;
|
|
192
192
|
/**
|
|
193
|
-
* End date (
|
|
193
|
+
* End date (`YYYY-MM-DD`) of the period to analyze.
|
|
194
194
|
*/
|
|
195
195
|
endDate?: string;
|
|
196
196
|
/**
|
|
@@ -204,15 +204,15 @@ export type GetNoResultsRateProps = {
|
|
|
204
204
|
*/
|
|
205
205
|
export type GetSearchesCountProps = {
|
|
206
206
|
/**
|
|
207
|
-
* Index name
|
|
207
|
+
* Index name.
|
|
208
208
|
*/
|
|
209
209
|
index: string;
|
|
210
210
|
/**
|
|
211
|
-
* Start date (
|
|
211
|
+
* Start date (`YYYY-MM-DD`) of the period to analyze.
|
|
212
212
|
*/
|
|
213
213
|
startDate?: string;
|
|
214
214
|
/**
|
|
215
|
-
* End date (
|
|
215
|
+
* End date (`YYYY-MM-DD`) of the period to analyze.
|
|
216
216
|
*/
|
|
217
217
|
endDate?: string;
|
|
218
218
|
/**
|
|
@@ -226,23 +226,23 @@ export type GetSearchesCountProps = {
|
|
|
226
226
|
*/
|
|
227
227
|
export type GetSearchesNoClicksProps = {
|
|
228
228
|
/**
|
|
229
|
-
* Index name
|
|
229
|
+
* Index name.
|
|
230
230
|
*/
|
|
231
231
|
index: string;
|
|
232
232
|
/**
|
|
233
|
-
* Start date (
|
|
233
|
+
* Start date (`YYYY-MM-DD`) of the period to analyze.
|
|
234
234
|
*/
|
|
235
235
|
startDate?: string;
|
|
236
236
|
/**
|
|
237
|
-
* End date (
|
|
237
|
+
* End date (`YYYY-MM-DD`) of the period to analyze.
|
|
238
238
|
*/
|
|
239
239
|
endDate?: string;
|
|
240
240
|
/**
|
|
241
|
-
* Number of
|
|
241
|
+
* Number of items to return.
|
|
242
242
|
*/
|
|
243
243
|
limit?: number;
|
|
244
244
|
/**
|
|
245
|
-
* Position of the
|
|
245
|
+
* Position of the first item to return.
|
|
246
246
|
*/
|
|
247
247
|
offset?: number;
|
|
248
248
|
/**
|
|
@@ -256,23 +256,23 @@ export type GetSearchesNoClicksProps = {
|
|
|
256
256
|
*/
|
|
257
257
|
export type GetSearchesNoResultsProps = {
|
|
258
258
|
/**
|
|
259
|
-
* Index name
|
|
259
|
+
* Index name.
|
|
260
260
|
*/
|
|
261
261
|
index: string;
|
|
262
262
|
/**
|
|
263
|
-
* Start date (
|
|
263
|
+
* Start date (`YYYY-MM-DD`) of the period to analyze.
|
|
264
264
|
*/
|
|
265
265
|
startDate?: string;
|
|
266
266
|
/**
|
|
267
|
-
* End date (
|
|
267
|
+
* End date (`YYYY-MM-DD`) of the period to analyze.
|
|
268
268
|
*/
|
|
269
269
|
endDate?: string;
|
|
270
270
|
/**
|
|
271
|
-
* Number of
|
|
271
|
+
* Number of items to return.
|
|
272
272
|
*/
|
|
273
273
|
limit?: number;
|
|
274
274
|
/**
|
|
275
|
-
* Position of the
|
|
275
|
+
* Position of the first item to return.
|
|
276
276
|
*/
|
|
277
277
|
offset?: number;
|
|
278
278
|
/**
|
|
@@ -286,7 +286,7 @@ export type GetSearchesNoResultsProps = {
|
|
|
286
286
|
*/
|
|
287
287
|
export type GetStatusProps = {
|
|
288
288
|
/**
|
|
289
|
-
* Index name
|
|
289
|
+
* Index name.
|
|
290
290
|
*/
|
|
291
291
|
index: string;
|
|
292
292
|
};
|
|
@@ -296,23 +296,23 @@ export type GetStatusProps = {
|
|
|
296
296
|
*/
|
|
297
297
|
export type GetTopCountriesProps = {
|
|
298
298
|
/**
|
|
299
|
-
* Index name
|
|
299
|
+
* Index name.
|
|
300
300
|
*/
|
|
301
301
|
index: string;
|
|
302
302
|
/**
|
|
303
|
-
* Start date (
|
|
303
|
+
* Start date (`YYYY-MM-DD`) of the period to analyze.
|
|
304
304
|
*/
|
|
305
305
|
startDate?: string;
|
|
306
306
|
/**
|
|
307
|
-
* End date (
|
|
307
|
+
* End date (`YYYY-MM-DD`) of the period to analyze.
|
|
308
308
|
*/
|
|
309
309
|
endDate?: string;
|
|
310
310
|
/**
|
|
311
|
-
* Number of
|
|
311
|
+
* Number of items to return.
|
|
312
312
|
*/
|
|
313
313
|
limit?: number;
|
|
314
314
|
/**
|
|
315
|
-
* Position of the
|
|
315
|
+
* Position of the first item to return.
|
|
316
316
|
*/
|
|
317
317
|
offset?: number;
|
|
318
318
|
/**
|
|
@@ -326,7 +326,7 @@ export type GetTopCountriesProps = {
|
|
|
326
326
|
*/
|
|
327
327
|
export type GetTopFilterAttributesProps = {
|
|
328
328
|
/**
|
|
329
|
-
* Index name
|
|
329
|
+
* Index name.
|
|
330
330
|
*/
|
|
331
331
|
index: string;
|
|
332
332
|
/**
|
|
@@ -334,19 +334,19 @@ export type GetTopFilterAttributesProps = {
|
|
|
334
334
|
*/
|
|
335
335
|
search?: string;
|
|
336
336
|
/**
|
|
337
|
-
* Start date (
|
|
337
|
+
* Start date (`YYYY-MM-DD`) of the period to analyze.
|
|
338
338
|
*/
|
|
339
339
|
startDate?: string;
|
|
340
340
|
/**
|
|
341
|
-
* End date (
|
|
341
|
+
* End date (`YYYY-MM-DD`) of the period to analyze.
|
|
342
342
|
*/
|
|
343
343
|
endDate?: string;
|
|
344
344
|
/**
|
|
345
|
-
* Number of
|
|
345
|
+
* Number of items to return.
|
|
346
346
|
*/
|
|
347
347
|
limit?: number;
|
|
348
348
|
/**
|
|
349
|
-
* Position of the
|
|
349
|
+
* Position of the first item to return.
|
|
350
350
|
*/
|
|
351
351
|
offset?: number;
|
|
352
352
|
/**
|
|
@@ -364,7 +364,7 @@ export type GetTopFilterForAttributeProps = {
|
|
|
364
364
|
*/
|
|
365
365
|
attribute: string;
|
|
366
366
|
/**
|
|
367
|
-
* Index name
|
|
367
|
+
* Index name.
|
|
368
368
|
*/
|
|
369
369
|
index: string;
|
|
370
370
|
/**
|
|
@@ -372,19 +372,19 @@ export type GetTopFilterForAttributeProps = {
|
|
|
372
372
|
*/
|
|
373
373
|
search?: string;
|
|
374
374
|
/**
|
|
375
|
-
* Start date (
|
|
375
|
+
* Start date (`YYYY-MM-DD`) of the period to analyze.
|
|
376
376
|
*/
|
|
377
377
|
startDate?: string;
|
|
378
378
|
/**
|
|
379
|
-
* End date (
|
|
379
|
+
* End date (`YYYY-MM-DD`) of the period to analyze.
|
|
380
380
|
*/
|
|
381
381
|
endDate?: string;
|
|
382
382
|
/**
|
|
383
|
-
* Number of
|
|
383
|
+
* Number of items to return.
|
|
384
384
|
*/
|
|
385
385
|
limit?: number;
|
|
386
386
|
/**
|
|
387
|
-
* Position of the
|
|
387
|
+
* Position of the first item to return.
|
|
388
388
|
*/
|
|
389
389
|
offset?: number;
|
|
390
390
|
/**
|
|
@@ -398,7 +398,7 @@ export type GetTopFilterForAttributeProps = {
|
|
|
398
398
|
*/
|
|
399
399
|
export type GetTopFiltersNoResultsProps = {
|
|
400
400
|
/**
|
|
401
|
-
* Index name
|
|
401
|
+
* Index name.
|
|
402
402
|
*/
|
|
403
403
|
index: string;
|
|
404
404
|
/**
|
|
@@ -406,19 +406,19 @@ export type GetTopFiltersNoResultsProps = {
|
|
|
406
406
|
*/
|
|
407
407
|
search?: string;
|
|
408
408
|
/**
|
|
409
|
-
* Start date (
|
|
409
|
+
* Start date (`YYYY-MM-DD`) of the period to analyze.
|
|
410
410
|
*/
|
|
411
411
|
startDate?: string;
|
|
412
412
|
/**
|
|
413
|
-
* End date (
|
|
413
|
+
* End date (`YYYY-MM-DD`) of the period to analyze.
|
|
414
414
|
*/
|
|
415
415
|
endDate?: string;
|
|
416
416
|
/**
|
|
417
|
-
* Number of
|
|
417
|
+
* Number of items to return.
|
|
418
418
|
*/
|
|
419
419
|
limit?: number;
|
|
420
420
|
/**
|
|
421
|
-
* Position of the
|
|
421
|
+
* Position of the first item to return.
|
|
422
422
|
*/
|
|
423
423
|
offset?: number;
|
|
424
424
|
/**
|
|
@@ -432,7 +432,7 @@ export type GetTopFiltersNoResultsProps = {
|
|
|
432
432
|
*/
|
|
433
433
|
export type GetTopHitsProps = {
|
|
434
434
|
/**
|
|
435
|
-
* Index name
|
|
435
|
+
* Index name.
|
|
436
436
|
*/
|
|
437
437
|
index: string;
|
|
438
438
|
/**
|
|
@@ -444,19 +444,19 @@ export type GetTopHitsProps = {
|
|
|
444
444
|
*/
|
|
445
445
|
clickAnalytics?: boolean;
|
|
446
446
|
/**
|
|
447
|
-
* Start date (
|
|
447
|
+
* Start date (`YYYY-MM-DD`) of the period to analyze.
|
|
448
448
|
*/
|
|
449
449
|
startDate?: string;
|
|
450
450
|
/**
|
|
451
|
-
* End date (
|
|
451
|
+
* End date (`YYYY-MM-DD`) of the period to analyze.
|
|
452
452
|
*/
|
|
453
453
|
endDate?: string;
|
|
454
454
|
/**
|
|
455
|
-
* Number of
|
|
455
|
+
* Number of items to return.
|
|
456
456
|
*/
|
|
457
457
|
limit?: number;
|
|
458
458
|
/**
|
|
459
|
-
* Position of the
|
|
459
|
+
* Position of the first item to return.
|
|
460
460
|
*/
|
|
461
461
|
offset?: number;
|
|
462
462
|
/**
|
|
@@ -470,7 +470,7 @@ export type GetTopHitsProps = {
|
|
|
470
470
|
*/
|
|
471
471
|
export type GetTopSearchesProps = {
|
|
472
472
|
/**
|
|
473
|
-
* Index name
|
|
473
|
+
* Index name.
|
|
474
474
|
*/
|
|
475
475
|
index: string;
|
|
476
476
|
/**
|
|
@@ -478,11 +478,11 @@ export type GetTopSearchesProps = {
|
|
|
478
478
|
*/
|
|
479
479
|
clickAnalytics?: boolean;
|
|
480
480
|
/**
|
|
481
|
-
* Start date (
|
|
481
|
+
* Start date (`YYYY-MM-DD`) of the period to analyze.
|
|
482
482
|
*/
|
|
483
483
|
startDate?: string;
|
|
484
484
|
/**
|
|
485
|
-
* End date (
|
|
485
|
+
* End date (`YYYY-MM-DD`) of the period to analyze.
|
|
486
486
|
*/
|
|
487
487
|
endDate?: string;
|
|
488
488
|
/**
|
|
@@ -494,11 +494,11 @@ export type GetTopSearchesProps = {
|
|
|
494
494
|
*/
|
|
495
495
|
direction?: Direction;
|
|
496
496
|
/**
|
|
497
|
-
* Number of
|
|
497
|
+
* Number of items to return.
|
|
498
498
|
*/
|
|
499
499
|
limit?: number;
|
|
500
500
|
/**
|
|
501
|
-
* Position of the
|
|
501
|
+
* Position of the first item to return.
|
|
502
502
|
*/
|
|
503
503
|
offset?: number;
|
|
504
504
|
/**
|
|
@@ -512,15 +512,15 @@ export type GetTopSearchesProps = {
|
|
|
512
512
|
*/
|
|
513
513
|
export type GetUsersCountProps = {
|
|
514
514
|
/**
|
|
515
|
-
* Index name
|
|
515
|
+
* Index name.
|
|
516
516
|
*/
|
|
517
517
|
index: string;
|
|
518
518
|
/**
|
|
519
|
-
* Start date (
|
|
519
|
+
* Start date (`YYYY-MM-DD`) of the period to analyze.
|
|
520
520
|
*/
|
|
521
521
|
startDate?: string;
|
|
522
522
|
/**
|
|
523
|
-
* End date (
|
|
523
|
+
* End date (`YYYY-MM-DD`) of the period to analyze.
|
|
524
524
|
*/
|
|
525
525
|
endDate?: string;
|
|
526
526
|
/**
|
package/model/topSearch.ts
CHANGED
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.107",
|
|
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.108",
|
|
43
|
+
"@algolia/requester-browser-xhr": "5.0.0-alpha.108",
|
|
44
|
+
"@algolia/requester-node-http": "5.0.0-alpha.108"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@types/node": "20.11.
|
|
48
|
-
"rollup": "4.12.
|
|
49
|
-
"typescript": "5.
|
|
47
|
+
"@types/node": "20.11.25",
|
|
48
|
+
"rollup": "4.12.1",
|
|
49
|
+
"typescript": "5.4.2"
|
|
50
50
|
},
|
|
51
51
|
"engines": {
|
|
52
52
|
"node": ">= 14.0.0"
|