@algolia/client-analytics 5.9.0 → 5.10.0

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 (78) hide show
  1. package/README.md +4 -4
  2. package/dist/browser.d.ts +33 -33
  3. package/dist/builds/browser.js +17 -17
  4. package/dist/builds/browser.js.map +1 -1
  5. package/dist/builds/browser.min.js +1 -1
  6. package/dist/builds/browser.min.js.map +1 -1
  7. package/dist/builds/browser.umd.js +1 -1
  8. package/dist/builds/fetch.js +17 -17
  9. package/dist/builds/fetch.js.map +1 -1
  10. package/dist/builds/node.cjs +17 -17
  11. package/dist/builds/node.cjs.map +1 -1
  12. package/dist/builds/node.js +17 -17
  13. package/dist/builds/node.js.map +1 -1
  14. package/dist/fetch.d.ts +33 -33
  15. package/dist/node.d.cts +33 -33
  16. package/dist/node.d.ts +33 -33
  17. package/dist/src/analyticsClient.cjs +17 -17
  18. package/dist/src/analyticsClient.cjs.map +1 -1
  19. package/dist/src/analyticsClient.js +17 -17
  20. package/dist/src/analyticsClient.js.map +1 -1
  21. package/package.json +6 -7
  22. package/model/clickPosition.ts +0 -16
  23. package/model/clientMethodProps.ts +0 -605
  24. package/model/currencyCode.ts +0 -16
  25. package/model/dailyAddToCartRates.ts +0 -23
  26. package/model/dailyAverageClicks.ts +0 -18
  27. package/model/dailyClickThroughRates.ts +0 -23
  28. package/model/dailyConversionRates.ts +0 -23
  29. package/model/dailyNoClickRates.ts +0 -23
  30. package/model/dailyNoResultsRates.ts +0 -23
  31. package/model/dailyPurchaseRates.ts +0 -23
  32. package/model/dailyRevenue.ts +0 -15
  33. package/model/dailySearches.ts +0 -13
  34. package/model/dailySearchesNoClicks.ts +0 -18
  35. package/model/dailySearchesNoResults.ts +0 -18
  36. package/model/dailyUsers.ts +0 -13
  37. package/model/direction.ts +0 -3
  38. package/model/errorBase.ts +0 -8
  39. package/model/getAddToCartRateResponse.ts +0 -25
  40. package/model/getAverageClickPositionResponse.ts +0 -20
  41. package/model/getClickPositionsResponse.ts +0 -10
  42. package/model/getClickThroughRateResponse.ts +0 -25
  43. package/model/getConversionRateResponse.ts +0 -25
  44. package/model/getNoClickRateResponse.ts +0 -25
  45. package/model/getNoResultsRateResponse.ts +0 -25
  46. package/model/getPurchaseRateResponse.ts +0 -25
  47. package/model/getRevenue.ts +0 -16
  48. package/model/getSearchesCountResponse.ts +0 -15
  49. package/model/getSearchesNoClicksResponse.ts +0 -10
  50. package/model/getSearchesNoResultsResponse.ts +0 -10
  51. package/model/getStatusResponse.ts +0 -8
  52. package/model/getTopCountriesResponse.ts +0 -10
  53. package/model/getTopFilterAttribute.ts +0 -13
  54. package/model/getTopFilterAttributesResponse.ts +0 -10
  55. package/model/getTopFilterForAttribute.ts +0 -22
  56. package/model/getTopFilterForAttributeResponse.ts +0 -10
  57. package/model/getTopFiltersNoResultsResponse.ts +0 -10
  58. package/model/getTopFiltersNoResultsValue.ts +0 -17
  59. package/model/getTopFiltersNoResultsValues.ts +0 -15
  60. package/model/getTopHitsResponse.ts +0 -7
  61. package/model/getTopSearchesResponse.ts +0 -10
  62. package/model/getUsersCountResponse.ts +0 -15
  63. package/model/index.ts +0 -58
  64. package/model/operator.ts +0 -6
  65. package/model/orderBy.ts +0 -6
  66. package/model/topCountry.ts +0 -13
  67. package/model/topHit.ts +0 -13
  68. package/model/topHitWithAnalytics.ts +0 -38
  69. package/model/topHitWithRevenueAnalytics.ts +0 -65
  70. package/model/topHitsResponse.ts +0 -10
  71. package/model/topHitsResponseWithAnalytics.ts +0 -10
  72. package/model/topHitsResponseWithRevenueAnalytics.ts +0 -10
  73. package/model/topSearch.ts +0 -18
  74. package/model/topSearchWithAnalytics.ts +0 -55
  75. package/model/topSearchWithRevenueAnalytics.ts +0 -81
  76. package/model/topSearchesResponse.ts +0 -10
  77. package/model/topSearchesResponseWithAnalytics.ts +0 -10
  78. package/model/topSearchesResponseWithRevenueAnalytics.ts +0 -10
@@ -1,605 +0,0 @@
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
-
3
- import { Direction } from '../model/direction';
4
-
5
- import { OrderBy } from '../model/orderBy';
6
-
7
- /**
8
- * Properties for the `customDelete` method.
9
- */
10
- export type CustomDeleteProps = {
11
- /**
12
- * Path of the endpoint, anything after \"/1\" must be specified.
13
- */
14
- path: string;
15
- /**
16
- * Query parameters to apply to the current query.
17
- */
18
- parameters?: { [key: string]: any };
19
- };
20
-
21
- /**
22
- * Properties for the `customGet` method.
23
- */
24
- export type CustomGetProps = {
25
- /**
26
- * Path of the endpoint, anything after \"/1\" must be specified.
27
- */
28
- path: string;
29
- /**
30
- * Query parameters to apply to the current query.
31
- */
32
- parameters?: { [key: string]: any };
33
- };
34
-
35
- /**
36
- * Properties for the `customPost` method.
37
- */
38
- export type CustomPostProps = {
39
- /**
40
- * Path of the endpoint, anything after \"/1\" must be specified.
41
- */
42
- path: string;
43
- /**
44
- * Query parameters to apply to the current query.
45
- */
46
- parameters?: { [key: string]: any };
47
- /**
48
- * Parameters to send with the custom request.
49
- */
50
- body?: Record<string, unknown>;
51
- };
52
-
53
- /**
54
- * Properties for the `customPut` method.
55
- */
56
- export type CustomPutProps = {
57
- /**
58
- * Path of the endpoint, anything after \"/1\" must be specified.
59
- */
60
- path: string;
61
- /**
62
- * Query parameters to apply to the current query.
63
- */
64
- parameters?: { [key: string]: any };
65
- /**
66
- * Parameters to send with the custom request.
67
- */
68
- body?: Record<string, unknown>;
69
- };
70
-
71
- /**
72
- * Properties for the `getAddToCartRate` method.
73
- */
74
- export type GetAddToCartRateProps = {
75
- /**
76
- * Index name.
77
- */
78
- index: string;
79
- /**
80
- * Start date of the period to analyze, in `YYYY-MM-DD` format.
81
- */
82
- startDate?: string;
83
- /**
84
- * End date of the period to analyze, in `YYYY-MM-DD` format.
85
- */
86
- endDate?: string;
87
- /**
88
- * 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/).
89
- */
90
- tags?: string;
91
- };
92
-
93
- /**
94
- * Properties for the `getAverageClickPosition` method.
95
- */
96
- export type GetAverageClickPositionProps = {
97
- /**
98
- * Index name.
99
- */
100
- index: string;
101
- /**
102
- * Start date of the period to analyze, in `YYYY-MM-DD` format.
103
- */
104
- startDate?: string;
105
- /**
106
- * End date of the period to analyze, in `YYYY-MM-DD` format.
107
- */
108
- endDate?: string;
109
- /**
110
- * 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/).
111
- */
112
- tags?: string;
113
- };
114
-
115
- /**
116
- * Properties for the `getClickPositions` method.
117
- */
118
- export type GetClickPositionsProps = {
119
- /**
120
- * Index name.
121
- */
122
- index: string;
123
- /**
124
- * Start date of the period to analyze, in `YYYY-MM-DD` format.
125
- */
126
- startDate?: string;
127
- /**
128
- * End date of the period to analyze, in `YYYY-MM-DD` format.
129
- */
130
- endDate?: string;
131
- /**
132
- * 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/).
133
- */
134
- tags?: string;
135
- };
136
-
137
- /**
138
- * Properties for the `getClickThroughRate` method.
139
- */
140
- export type GetClickThroughRateProps = {
141
- /**
142
- * Index name.
143
- */
144
- index: string;
145
- /**
146
- * Start date of the period to analyze, in `YYYY-MM-DD` format.
147
- */
148
- startDate?: string;
149
- /**
150
- * End date of the period to analyze, in `YYYY-MM-DD` format.
151
- */
152
- endDate?: string;
153
- /**
154
- * 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/).
155
- */
156
- tags?: string;
157
- };
158
-
159
- /**
160
- * Properties for the `getConversionRate` method.
161
- */
162
- export type GetConversionRateProps = {
163
- /**
164
- * Index name.
165
- */
166
- index: string;
167
- /**
168
- * Start date of the period to analyze, in `YYYY-MM-DD` format.
169
- */
170
- startDate?: string;
171
- /**
172
- * End date of the period to analyze, in `YYYY-MM-DD` format.
173
- */
174
- endDate?: string;
175
- /**
176
- * 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/).
177
- */
178
- tags?: string;
179
- };
180
-
181
- /**
182
- * Properties for the `getNoClickRate` method.
183
- */
184
- export type GetNoClickRateProps = {
185
- /**
186
- * Index name.
187
- */
188
- index: string;
189
- /**
190
- * Start date of the period to analyze, in `YYYY-MM-DD` format.
191
- */
192
- startDate?: string;
193
- /**
194
- * End date of the period to analyze, in `YYYY-MM-DD` format.
195
- */
196
- endDate?: string;
197
- /**
198
- * 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/).
199
- */
200
- tags?: string;
201
- };
202
-
203
- /**
204
- * Properties for the `getNoResultsRate` method.
205
- */
206
- export type GetNoResultsRateProps = {
207
- /**
208
- * Index name.
209
- */
210
- index: string;
211
- /**
212
- * Start date of the period to analyze, in `YYYY-MM-DD` format.
213
- */
214
- startDate?: string;
215
- /**
216
- * End date of the period to analyze, in `YYYY-MM-DD` format.
217
- */
218
- endDate?: string;
219
- /**
220
- * 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/).
221
- */
222
- tags?: string;
223
- };
224
-
225
- /**
226
- * Properties for the `getPurchaseRate` method.
227
- */
228
- export type GetPurchaseRateProps = {
229
- /**
230
- * Index name.
231
- */
232
- index: string;
233
- /**
234
- * Start date of the period to analyze, in `YYYY-MM-DD` format.
235
- */
236
- startDate?: string;
237
- /**
238
- * End date of the period to analyze, in `YYYY-MM-DD` format.
239
- */
240
- endDate?: string;
241
- /**
242
- * 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/).
243
- */
244
- tags?: string;
245
- };
246
-
247
- /**
248
- * Properties for the `getRevenue` method.
249
- */
250
- export type GetRevenueProps = {
251
- /**
252
- * Index name.
253
- */
254
- index: string;
255
- /**
256
- * Start date of the period to analyze, in `YYYY-MM-DD` format.
257
- */
258
- startDate?: string;
259
- /**
260
- * End date of the period to analyze, in `YYYY-MM-DD` format.
261
- */
262
- endDate?: string;
263
- /**
264
- * 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/).
265
- */
266
- tags?: string;
267
- };
268
-
269
- /**
270
- * Properties for the `getSearchesCount` method.
271
- */
272
- export type GetSearchesCountProps = {
273
- /**
274
- * Index name.
275
- */
276
- index: string;
277
- /**
278
- * Start date of the period to analyze, in `YYYY-MM-DD` format.
279
- */
280
- startDate?: string;
281
- /**
282
- * End date of the period to analyze, in `YYYY-MM-DD` format.
283
- */
284
- endDate?: string;
285
- /**
286
- * 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/).
287
- */
288
- tags?: string;
289
- };
290
-
291
- /**
292
- * Properties for the `getSearchesNoClicks` method.
293
- */
294
- export type GetSearchesNoClicksProps = {
295
- /**
296
- * Index name.
297
- */
298
- index: string;
299
- /**
300
- * Start date of the period to analyze, in `YYYY-MM-DD` format.
301
- */
302
- startDate?: string;
303
- /**
304
- * End date of the period to analyze, in `YYYY-MM-DD` format.
305
- */
306
- endDate?: string;
307
- /**
308
- * Number of items to return. Combined with the `offset` parameter, only the first 1000 items can be retrieved.
309
- */
310
- limit?: number;
311
- /**
312
- * Position of the first item to return. Combined with the `limit` parameter, only the first 1000 items can be retrieved.
313
- */
314
- offset?: number;
315
- /**
316
- * 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/).
317
- */
318
- tags?: string;
319
- };
320
-
321
- /**
322
- * Properties for the `getSearchesNoResults` method.
323
- */
324
- export type GetSearchesNoResultsProps = {
325
- /**
326
- * Index name.
327
- */
328
- index: string;
329
- /**
330
- * Start date of the period to analyze, in `YYYY-MM-DD` format.
331
- */
332
- startDate?: string;
333
- /**
334
- * End date of the period to analyze, in `YYYY-MM-DD` format.
335
- */
336
- endDate?: string;
337
- /**
338
- * Number of items to return. Combined with the `offset` parameter, only the first 1000 items can be retrieved.
339
- */
340
- limit?: number;
341
- /**
342
- * Position of the first item to return. Combined with the `limit` parameter, only the first 1000 items can be retrieved.
343
- */
344
- offset?: number;
345
- /**
346
- * 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/).
347
- */
348
- tags?: string;
349
- };
350
-
351
- /**
352
- * Properties for the `getStatus` method.
353
- */
354
- export type GetStatusProps = {
355
- /**
356
- * Index name.
357
- */
358
- index: string;
359
- };
360
-
361
- /**
362
- * Properties for the `getTopCountries` method.
363
- */
364
- export type GetTopCountriesProps = {
365
- /**
366
- * Index name.
367
- */
368
- index: string;
369
- /**
370
- * Start date of the period to analyze, in `YYYY-MM-DD` format.
371
- */
372
- startDate?: string;
373
- /**
374
- * End date of the period to analyze, in `YYYY-MM-DD` format.
375
- */
376
- endDate?: string;
377
- /**
378
- * Number of items to return. Combined with the `offset` parameter, only the first 1000 items can be retrieved.
379
- */
380
- limit?: number;
381
- /**
382
- * Position of the first item to return. Combined with the `limit` parameter, only the first 1000 items can be retrieved.
383
- */
384
- offset?: number;
385
- /**
386
- * 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/).
387
- */
388
- tags?: string;
389
- };
390
-
391
- /**
392
- * Properties for the `getTopFilterAttributes` method.
393
- */
394
- export type GetTopFilterAttributesProps = {
395
- /**
396
- * Index name.
397
- */
398
- index: string;
399
- /**
400
- * Search query.
401
- */
402
- search?: string;
403
- /**
404
- * Start date of the period to analyze, in `YYYY-MM-DD` format.
405
- */
406
- startDate?: string;
407
- /**
408
- * End date of the period to analyze, in `YYYY-MM-DD` format.
409
- */
410
- endDate?: string;
411
- /**
412
- * Number of items to return. Combined with the `offset` parameter, only the first 1000 items can be retrieved.
413
- */
414
- limit?: number;
415
- /**
416
- * Position of the first item to return. Combined with the `limit` parameter, only the first 1000 items can be retrieved.
417
- */
418
- offset?: number;
419
- /**
420
- * 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/).
421
- */
422
- tags?: string;
423
- };
424
-
425
- /**
426
- * Properties for the `getTopFilterForAttribute` method.
427
- */
428
- export type GetTopFilterForAttributeProps = {
429
- /**
430
- * Attribute name.
431
- */
432
- attribute: string;
433
- /**
434
- * Index name.
435
- */
436
- index: string;
437
- /**
438
- * Search query.
439
- */
440
- search?: string;
441
- /**
442
- * Start date of the period to analyze, in `YYYY-MM-DD` format.
443
- */
444
- startDate?: string;
445
- /**
446
- * End date of the period to analyze, in `YYYY-MM-DD` format.
447
- */
448
- endDate?: string;
449
- /**
450
- * Number of items to return. Combined with the `offset` parameter, only the first 1000 items can be retrieved.
451
- */
452
- limit?: number;
453
- /**
454
- * Position of the first item to return. Combined with the `limit` parameter, only the first 1000 items can be retrieved.
455
- */
456
- offset?: number;
457
- /**
458
- * 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/).
459
- */
460
- tags?: string;
461
- };
462
-
463
- /**
464
- * Properties for the `getTopFiltersNoResults` method.
465
- */
466
- export type GetTopFiltersNoResultsProps = {
467
- /**
468
- * Index name.
469
- */
470
- index: string;
471
- /**
472
- * Search query.
473
- */
474
- search?: string;
475
- /**
476
- * Start date of the period to analyze, in `YYYY-MM-DD` format.
477
- */
478
- startDate?: string;
479
- /**
480
- * End date of the period to analyze, in `YYYY-MM-DD` format.
481
- */
482
- endDate?: string;
483
- /**
484
- * Number of items to return. Combined with the `offset` parameter, only the first 1000 items can be retrieved.
485
- */
486
- limit?: number;
487
- /**
488
- * Position of the first item to return. Combined with the `limit` parameter, only the first 1000 items can be retrieved.
489
- */
490
- offset?: number;
491
- /**
492
- * 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/).
493
- */
494
- tags?: string;
495
- };
496
-
497
- /**
498
- * Properties for the `getTopHits` method.
499
- */
500
- export type GetTopHitsProps = {
501
- /**
502
- * Index name.
503
- */
504
- index: string;
505
- /**
506
- * Search query.
507
- */
508
- search?: string;
509
- /**
510
- * Whether to include metrics related to click and conversion events in the response.
511
- */
512
- clickAnalytics?: boolean;
513
- /**
514
- * Whether to include revenue-related metrics in the response. If true, metrics related to click and conversion events are also included in the response.
515
- */
516
- revenueAnalytics?: boolean;
517
- /**
518
- * Start date of the period to analyze, in `YYYY-MM-DD` format.
519
- */
520
- startDate?: string;
521
- /**
522
- * End date of the period to analyze, in `YYYY-MM-DD` format.
523
- */
524
- endDate?: string;
525
- /**
526
- * Number of items to return. Combined with the `offset` parameter, only the first 1000 items can be retrieved.
527
- */
528
- limit?: number;
529
- /**
530
- * Position of the first item to return. Combined with the `limit` parameter, only the first 1000 items can be retrieved.
531
- */
532
- offset?: number;
533
- /**
534
- * 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/).
535
- */
536
- tags?: string;
537
- };
538
-
539
- /**
540
- * Properties for the `getTopSearches` method.
541
- */
542
- export type GetTopSearchesProps = {
543
- /**
544
- * Index name.
545
- */
546
- index: string;
547
- /**
548
- * Whether to include metrics related to click and conversion events in the response.
549
- */
550
- clickAnalytics?: boolean;
551
- /**
552
- * Whether to include revenue-related metrics in the response. If true, metrics related to click and conversion events are also included in the response.
553
- */
554
- revenueAnalytics?: boolean;
555
- /**
556
- * Start date of the period to analyze, in `YYYY-MM-DD` format.
557
- */
558
- startDate?: string;
559
- /**
560
- * End date of the period to analyze, in `YYYY-MM-DD` format.
561
- */
562
- endDate?: string;
563
- /**
564
- * Attribute by which to order the response items. If the `clickAnalytics` parameter is false, only `searchCount` is available.
565
- */
566
- orderBy?: OrderBy;
567
- /**
568
- * Sorting direction of the results: ascending or descending.
569
- */
570
- direction?: Direction;
571
- /**
572
- * Number of items to return. Combined with the `offset` parameter, only the first 1000 items can be retrieved.
573
- */
574
- limit?: number;
575
- /**
576
- * Position of the first item to return. Combined with the `limit` parameter, only the first 1000 items can be retrieved.
577
- */
578
- offset?: number;
579
- /**
580
- * 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/).
581
- */
582
- tags?: string;
583
- };
584
-
585
- /**
586
- * Properties for the `getUsersCount` method.
587
- */
588
- export type GetUsersCountProps = {
589
- /**
590
- * Index name.
591
- */
592
- index: string;
593
- /**
594
- * Start date of the period to analyze, in `YYYY-MM-DD` format.
595
- */
596
- startDate?: string;
597
- /**
598
- * End date of the period to analyze, in `YYYY-MM-DD` format.
599
- */
600
- endDate?: string;
601
- /**
602
- * 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/).
603
- */
604
- tags?: string;
605
- };
@@ -1,16 +0,0 @@
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
-
3
- /**
4
- * Currency code.
5
- */
6
- export type CurrencyCode = {
7
- /**
8
- * Currency code.
9
- */
10
- currency?: string;
11
-
12
- /**
13
- * Revenue associated with this search in this currency.
14
- */
15
- revenue?: number;
16
- };
@@ -1,23 +0,0 @@
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
-
3
- export type DailyAddToCartRates = {
4
- /**
5
- * Add-to-cart rate, calculated as number of tracked searches with at least one add-to-cart event divided by the number of tracked searches. If null, Algolia didn\'t receive any search requests with `clickAnalytics` set to true.
6
- */
7
- rate: number | null;
8
-
9
- /**
10
- * Number of tracked searches. Tracked searches are search requests where the `clickAnalytics` parameter is true.
11
- */
12
- trackedSearchCount: number;
13
-
14
- /**
15
- * Number of add-to-cart events from this search.
16
- */
17
- addToCartCount: number;
18
-
19
- /**
20
- * Date in the format YYYY-MM-DD.
21
- */
22
- date: string;
23
- };
@@ -1,18 +0,0 @@
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
-
3
- export type DailyAverageClicks = {
4
- /**
5
- * Average position of a clicked search result in the list of search results. If null, Algolia didn\'t receive any search requests with `clickAnalytics` set to true.
6
- */
7
- average: number | null;
8
-
9
- /**
10
- * Number of clicks associated with this search.
11
- */
12
- clickCount: number;
13
-
14
- /**
15
- * Date in the format YYYY-MM-DD.
16
- */
17
- date: string;
18
- };
@@ -1,23 +0,0 @@
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
-
3
- export type DailyClickThroughRates = {
4
- /**
5
- * Click-through rate, calculated as number of tracked searches with at least one click event divided by the number of tracked searches. If null, Algolia didn\'t receive any search requests with `clickAnalytics` set to true.
6
- */
7
- rate: number | null;
8
-
9
- /**
10
- * Number of clicks associated with this search.
11
- */
12
- clickCount: number;
13
-
14
- /**
15
- * Number of tracked searches. Tracked searches are search requests where the `clickAnalytics` parameter is true.
16
- */
17
- trackedSearchCount: number;
18
-
19
- /**
20
- * Date in the format YYYY-MM-DD.
21
- */
22
- date: string;
23
- };
@@ -1,23 +0,0 @@
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
-
3
- export type DailyConversionRates = {
4
- /**
5
- * Conversion rate, calculated as number of tracked searches with at least one conversion event divided by the number of tracked searches. If null, Algolia didn\'t receive any search requests with `clickAnalytics` set to true.
6
- */
7
- rate: number | null;
8
-
9
- /**
10
- * Number of tracked searches. Tracked searches are search requests where the `clickAnalytics` parameter is true.
11
- */
12
- trackedSearchCount: number;
13
-
14
- /**
15
- * Number of conversions from this search.
16
- */
17
- conversionCount: number;
18
-
19
- /**
20
- * Date in the format YYYY-MM-DD.
21
- */
22
- date: string;
23
- };