algoliasearch 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/algoliasearch/builds/browser.d.ts +1 -1
- package/dist/algoliasearch/builds/node.d.ts +1 -1
- package/dist/algoliasearch.cjs +46 -46
- package/dist/algoliasearch.esm.browser.js +46 -46
- package/dist/algoliasearch.esm.node.js +46 -46
- package/dist/algoliasearch.umd.js +2 -2
- package/dist/client-abtesting/src/abtestingClient.d.ts +1 -1
- package/dist/client-analytics/model/clientMethodProps.d.ts +38 -38
- package/dist/client-analytics/model/getStatusResponse.d.ts +1 -1
- package/dist/client-analytics/src/analyticsClient.d.ts +39 -39
- package/dist/client-personalization/src/personalizationClient.d.ts +1 -1
- package/dist/client-search/model/addApiKeyResponse.d.ts +1 -1
- package/dist/client-search/model/baseGetApiKeyResponse.d.ts +1 -1
- package/dist/client-search/model/baseIndexSettings.d.ts +4 -4
- package/dist/client-search/model/baseSearchParamsWithoutQuery.d.ts +1 -1
- package/dist/client-search/model/clientMethodProps.d.ts +4 -4
- package/dist/client-search/model/createdAtResponse.d.ts +1 -1
- package/dist/client-search/model/deleteApiKeyResponse.d.ts +1 -1
- package/dist/client-search/model/deleteByParams.d.ts +1 -1
- package/dist/client-search/model/deleteSourceResponse.d.ts +1 -1
- package/dist/client-search/model/deletedAtResponse.d.ts +1 -1
- package/dist/client-search/model/exactOnSingleWordQuery.d.ts +1 -1
- package/dist/client-search/model/fetchedIndex.d.ts +1 -1
- package/dist/client-search/model/indexSettingsAsSearchParams.d.ts +5 -5
- package/dist/client-search/model/log.d.ts +1 -1
- package/dist/client-search/model/removeUserIdResponse.d.ts +1 -1
- package/dist/client-search/model/removeWordsIfNoResults.d.ts +1 -1
- package/dist/client-search/model/replaceSourceResponse.d.ts +1 -1
- package/dist/client-search/model/saveObjectResponse.d.ts +1 -1
- package/dist/client-search/model/saveSynonymResponse.d.ts +1 -1
- package/dist/client-search/model/searchUserIdsResponse.d.ts +1 -1
- package/dist/client-search/model/securedAPIKeyRestrictions.d.ts +1 -1
- package/dist/client-search/model/sortRemainingBy.d.ts +1 -1
- package/dist/client-search/model/updateApiKeyResponse.d.ts +1 -1
- package/dist/client-search/model/updatedAtResponse.d.ts +1 -1
- package/dist/client-search/model/updatedAtWithObjectIdResponse.d.ts +1 -1
- package/dist/client-search/model/updatedRuleResponse.d.ts +1 -1
- package/dist/client-search/model/userHit.d.ts +1 -1
- package/dist/client-search/model/userId.d.ts +1 -1
- package/dist/client-search/src/searchClient.d.ts +5 -5
- package/dist/lite/lite.cjs +1 -1
- package/dist/lite/lite.esm.browser.js +1 -1
- package/dist/lite/lite.esm.node.js +1 -1
- package/dist/lite/lite.umd.js +2 -2
- package/dist/lite/model/addApiKeyResponse.d.ts +1 -1
- package/dist/lite/model/baseGetApiKeyResponse.d.ts +1 -1
- package/dist/lite/model/baseIndexSettings.d.ts +4 -4
- package/dist/lite/model/baseSearchParamsWithoutQuery.d.ts +1 -1
- package/dist/lite/model/deleteByParams.d.ts +1 -1
- package/dist/lite/model/exactOnSingleWordQuery.d.ts +1 -1
- package/dist/lite/model/fetchedIndex.d.ts +1 -1
- package/dist/lite/model/indexSettingsAsSearchParams.d.ts +5 -5
- package/dist/lite/model/removeWordsIfNoResults.d.ts +1 -1
- package/dist/lite/model/securedAPIKeyRestrictions.d.ts +1 -1
- package/dist/lite/model/sortRemainingBy.d.ts +1 -1
- package/dist/lite/model/updatedRuleResponse.d.ts +1 -1
- package/dist/lite/model/userId.d.ts +1 -1
- package/dist/lite/src/liteClient.d.ts +1 -1
- package/lite/model/addApiKeyResponse.ts +1 -1
- package/lite/model/baseGetApiKeyResponse.ts +1 -1
- package/lite/model/baseIndexSettings.ts +4 -4
- package/lite/model/baseSearchParamsWithoutQuery.ts +1 -1
- package/lite/model/deleteByParams.ts +1 -1
- package/lite/model/exactOnSingleWordQuery.ts +1 -1
- package/lite/model/fetchedIndex.ts +1 -1
- package/lite/model/indexSettingsAsSearchParams.ts +5 -5
- package/lite/model/removeWordsIfNoResults.ts +1 -1
- package/lite/model/securedAPIKeyRestrictions.ts +1 -1
- package/lite/model/sortRemainingBy.ts +1 -1
- package/lite/model/updatedRuleResponse.ts +1 -1
- package/lite/model/userId.ts +1 -1
- package/lite/src/liteClient.ts +1 -1
- package/package.json +12 -12
|
@@ -69,11 +69,11 @@ export type GetAddToCartRateProps = {
|
|
|
69
69
|
*/
|
|
70
70
|
index: string;
|
|
71
71
|
/**
|
|
72
|
-
* Start date
|
|
72
|
+
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
73
73
|
*/
|
|
74
74
|
startDate?: string;
|
|
75
75
|
/**
|
|
76
|
-
* End date
|
|
76
|
+
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
77
77
|
*/
|
|
78
78
|
endDate?: string;
|
|
79
79
|
/**
|
|
@@ -90,11 +90,11 @@ export type GetAverageClickPositionProps = {
|
|
|
90
90
|
*/
|
|
91
91
|
index: string;
|
|
92
92
|
/**
|
|
93
|
-
* Start date
|
|
93
|
+
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
94
94
|
*/
|
|
95
95
|
startDate?: string;
|
|
96
96
|
/**
|
|
97
|
-
* End date
|
|
97
|
+
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
98
98
|
*/
|
|
99
99
|
endDate?: string;
|
|
100
100
|
/**
|
|
@@ -111,11 +111,11 @@ export type GetClickPositionsProps = {
|
|
|
111
111
|
*/
|
|
112
112
|
index: string;
|
|
113
113
|
/**
|
|
114
|
-
* Start date
|
|
114
|
+
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
115
115
|
*/
|
|
116
116
|
startDate?: string;
|
|
117
117
|
/**
|
|
118
|
-
* End date
|
|
118
|
+
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
119
119
|
*/
|
|
120
120
|
endDate?: string;
|
|
121
121
|
/**
|
|
@@ -132,11 +132,11 @@ export type GetClickThroughRateProps = {
|
|
|
132
132
|
*/
|
|
133
133
|
index: string;
|
|
134
134
|
/**
|
|
135
|
-
* Start date
|
|
135
|
+
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
136
136
|
*/
|
|
137
137
|
startDate?: string;
|
|
138
138
|
/**
|
|
139
|
-
* End date
|
|
139
|
+
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
140
140
|
*/
|
|
141
141
|
endDate?: string;
|
|
142
142
|
/**
|
|
@@ -153,11 +153,11 @@ export type GetConversionRateProps = {
|
|
|
153
153
|
*/
|
|
154
154
|
index: string;
|
|
155
155
|
/**
|
|
156
|
-
* Start date
|
|
156
|
+
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
157
157
|
*/
|
|
158
158
|
startDate?: string;
|
|
159
159
|
/**
|
|
160
|
-
* End date
|
|
160
|
+
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
161
161
|
*/
|
|
162
162
|
endDate?: string;
|
|
163
163
|
/**
|
|
@@ -174,11 +174,11 @@ export type GetNoClickRateProps = {
|
|
|
174
174
|
*/
|
|
175
175
|
index: string;
|
|
176
176
|
/**
|
|
177
|
-
* Start date
|
|
177
|
+
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
178
178
|
*/
|
|
179
179
|
startDate?: string;
|
|
180
180
|
/**
|
|
181
|
-
* End date
|
|
181
|
+
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
182
182
|
*/
|
|
183
183
|
endDate?: string;
|
|
184
184
|
/**
|
|
@@ -195,11 +195,11 @@ export type GetNoResultsRateProps = {
|
|
|
195
195
|
*/
|
|
196
196
|
index: string;
|
|
197
197
|
/**
|
|
198
|
-
* Start date
|
|
198
|
+
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
199
199
|
*/
|
|
200
200
|
startDate?: string;
|
|
201
201
|
/**
|
|
202
|
-
* End date
|
|
202
|
+
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
203
203
|
*/
|
|
204
204
|
endDate?: string;
|
|
205
205
|
/**
|
|
@@ -216,11 +216,11 @@ export type GetPurchaseRateProps = {
|
|
|
216
216
|
*/
|
|
217
217
|
index: string;
|
|
218
218
|
/**
|
|
219
|
-
* Start date
|
|
219
|
+
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
220
220
|
*/
|
|
221
221
|
startDate?: string;
|
|
222
222
|
/**
|
|
223
|
-
* End date
|
|
223
|
+
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
224
224
|
*/
|
|
225
225
|
endDate?: string;
|
|
226
226
|
/**
|
|
@@ -237,11 +237,11 @@ export type GetRevenueProps = {
|
|
|
237
237
|
*/
|
|
238
238
|
index: string;
|
|
239
239
|
/**
|
|
240
|
-
* Start date
|
|
240
|
+
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
241
241
|
*/
|
|
242
242
|
startDate?: string;
|
|
243
243
|
/**
|
|
244
|
-
* End date
|
|
244
|
+
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
245
245
|
*/
|
|
246
246
|
endDate?: string;
|
|
247
247
|
/**
|
|
@@ -258,11 +258,11 @@ export type GetSearchesCountProps = {
|
|
|
258
258
|
*/
|
|
259
259
|
index: string;
|
|
260
260
|
/**
|
|
261
|
-
* Start date
|
|
261
|
+
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
262
262
|
*/
|
|
263
263
|
startDate?: string;
|
|
264
264
|
/**
|
|
265
|
-
* End date
|
|
265
|
+
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
266
266
|
*/
|
|
267
267
|
endDate?: string;
|
|
268
268
|
/**
|
|
@@ -279,11 +279,11 @@ export type GetSearchesNoClicksProps = {
|
|
|
279
279
|
*/
|
|
280
280
|
index: string;
|
|
281
281
|
/**
|
|
282
|
-
* Start date
|
|
282
|
+
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
283
283
|
*/
|
|
284
284
|
startDate?: string;
|
|
285
285
|
/**
|
|
286
|
-
* End date
|
|
286
|
+
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
287
287
|
*/
|
|
288
288
|
endDate?: string;
|
|
289
289
|
/**
|
|
@@ -308,11 +308,11 @@ export type GetSearchesNoResultsProps = {
|
|
|
308
308
|
*/
|
|
309
309
|
index: string;
|
|
310
310
|
/**
|
|
311
|
-
* Start date
|
|
311
|
+
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
312
312
|
*/
|
|
313
313
|
startDate?: string;
|
|
314
314
|
/**
|
|
315
|
-
* End date
|
|
315
|
+
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
316
316
|
*/
|
|
317
317
|
endDate?: string;
|
|
318
318
|
/**
|
|
@@ -346,11 +346,11 @@ export type GetTopCountriesProps = {
|
|
|
346
346
|
*/
|
|
347
347
|
index: string;
|
|
348
348
|
/**
|
|
349
|
-
* Start date
|
|
349
|
+
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
350
350
|
*/
|
|
351
351
|
startDate?: string;
|
|
352
352
|
/**
|
|
353
|
-
* End date
|
|
353
|
+
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
354
354
|
*/
|
|
355
355
|
endDate?: string;
|
|
356
356
|
/**
|
|
@@ -379,11 +379,11 @@ export type GetTopFilterAttributesProps = {
|
|
|
379
379
|
*/
|
|
380
380
|
search?: string;
|
|
381
381
|
/**
|
|
382
|
-
* Start date
|
|
382
|
+
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
383
383
|
*/
|
|
384
384
|
startDate?: string;
|
|
385
385
|
/**
|
|
386
|
-
* End date
|
|
386
|
+
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
387
387
|
*/
|
|
388
388
|
endDate?: string;
|
|
389
389
|
/**
|
|
@@ -416,11 +416,11 @@ export type GetTopFilterForAttributeProps = {
|
|
|
416
416
|
*/
|
|
417
417
|
search?: string;
|
|
418
418
|
/**
|
|
419
|
-
* Start date
|
|
419
|
+
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
420
420
|
*/
|
|
421
421
|
startDate?: string;
|
|
422
422
|
/**
|
|
423
|
-
* End date
|
|
423
|
+
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
424
424
|
*/
|
|
425
425
|
endDate?: string;
|
|
426
426
|
/**
|
|
@@ -449,11 +449,11 @@ export type GetTopFiltersNoResultsProps = {
|
|
|
449
449
|
*/
|
|
450
450
|
search?: string;
|
|
451
451
|
/**
|
|
452
|
-
* Start date
|
|
452
|
+
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
453
453
|
*/
|
|
454
454
|
startDate?: string;
|
|
455
455
|
/**
|
|
456
|
-
* End date
|
|
456
|
+
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
457
457
|
*/
|
|
458
458
|
endDate?: string;
|
|
459
459
|
/**
|
|
@@ -490,11 +490,11 @@ export type GetTopHitsProps = {
|
|
|
490
490
|
*/
|
|
491
491
|
revenueAnalytics?: boolean;
|
|
492
492
|
/**
|
|
493
|
-
* Start date
|
|
493
|
+
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
494
494
|
*/
|
|
495
495
|
startDate?: string;
|
|
496
496
|
/**
|
|
497
|
-
* End date
|
|
497
|
+
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
498
498
|
*/
|
|
499
499
|
endDate?: string;
|
|
500
500
|
/**
|
|
@@ -527,11 +527,11 @@ export type GetTopSearchesProps = {
|
|
|
527
527
|
*/
|
|
528
528
|
revenueAnalytics?: boolean;
|
|
529
529
|
/**
|
|
530
|
-
* Start date
|
|
530
|
+
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
531
531
|
*/
|
|
532
532
|
startDate?: string;
|
|
533
533
|
/**
|
|
534
|
-
* End date
|
|
534
|
+
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
535
535
|
*/
|
|
536
536
|
endDate?: string;
|
|
537
537
|
/**
|
|
@@ -564,11 +564,11 @@ export type GetUsersCountProps = {
|
|
|
564
564
|
*/
|
|
565
565
|
index: string;
|
|
566
566
|
/**
|
|
567
|
-
* Start date
|
|
567
|
+
* Start date of the period to analyze, in `YYYY-MM-DD` format.
|
|
568
568
|
*/
|
|
569
569
|
startDate?: string;
|
|
570
570
|
/**
|
|
571
|
-
* End date
|
|
571
|
+
* End date of the period to analyze, in `YYYY-MM-DD` format.
|
|
572
572
|
*/
|
|
573
573
|
endDate?: string;
|
|
574
574
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export type GetStatusResponse = {
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Date and time when the object was updated, in RFC 3339 format.
|
|
4
4
|
*/
|
|
5
5
|
updatedAt: string | null;
|
|
6
6
|
};
|
|
@@ -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
|
*/
|
|
@@ -4,7 +4,7 @@ import type { DeleteUserProfileResponse } from '../model/deleteUserProfileRespon
|
|
|
4
4
|
import type { GetUserTokenResponse } from '../model/getUserTokenResponse';
|
|
5
5
|
import type { PersonalizationStrategyParams } from '../model/personalizationStrategyParams';
|
|
6
6
|
import type { SetPersonalizationStrategyResponse } from '../model/setPersonalizationStrategyResponse';
|
|
7
|
-
export declare const apiClientVersion = "5.0.0-alpha.
|
|
7
|
+
export declare const apiClientVersion = "5.0.0-alpha.111";
|
|
8
8
|
export declare const REGIONS: readonly ["eu", "us"];
|
|
9
9
|
export type Region = (typeof REGIONS)[number];
|
|
10
10
|
export declare function createPersonalizationClient({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, region: regionOption, ...options }: CreateClientOptions & {
|
|
@@ -4,7 +4,7 @@ export type BaseGetApiKeyResponse = {
|
|
|
4
4
|
*/
|
|
5
5
|
value?: string;
|
|
6
6
|
/**
|
|
7
|
-
* Timestamp
|
|
7
|
+
* Timestamp when the object was created, in milliseconds since the Unix epoch.
|
|
8
8
|
*/
|
|
9
9
|
createdAt: number;
|
|
10
10
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { SupportedLanguage } from './supportedLanguage';
|
|
2
2
|
export type BaseIndexSettings = {
|
|
3
3
|
/**
|
|
4
|
-
* Attributes used for [faceting](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/). Facets are ways to categorize search results based on attributes. Facets can be used to let user filter search results. By default, no attribute is used for faceting. **Modifiers**
|
|
4
|
+
* Attributes used for [faceting](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/). Facets are ways to categorize search results based on attributes. Facets can be used to let user filter search results. By default, no attribute is used for faceting. **Modifiers** - `filterOnly(\"ATTRIBUTE\")`. Allows using this attribute as a filter, but doesn\'t evalue the facet values. - `searchable(\"ATTRIBUTE\")`. Allows searching for facet values. - `afterDistinct(\"ATTRIBUTE\")`. Evaluates the facet count _after_ deduplication with `distinct`. This ensures accurate facet counts. You can apply this modifier to searchable facets: `afterDistinct(searchable(ATTRIBUTE))`.
|
|
5
5
|
*/
|
|
6
6
|
attributesForFaceting?: string[];
|
|
7
7
|
/**
|
|
8
|
-
* Creates [replica indices](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/replicas/). Replicas are copies of a primary index with the same records but different settings, synonyms, or rules. If you want to offer a different ranking or sorting of your search results, you\'ll use replica indices. All index operations on a primary index are automatically forwarded to its replicas. To add a replica index, you must provide the complete set of replicas to this parameter. If you omit a replica from this list, the replica turns into a regular, standalone index that will no longer by synced with the primary index. **Modifier**
|
|
8
|
+
* Creates [replica indices](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/replicas/). Replicas are copies of a primary index with the same records but different settings, synonyms, or rules. If you want to offer a different ranking or sorting of your search results, you\'ll use replica indices. All index operations on a primary index are automatically forwarded to its replicas. To add a replica index, you must provide the complete set of replicas to this parameter. If you omit a replica from this list, the replica turns into a regular, standalone index that will no longer by synced with the primary index. **Modifier** - `virtual(\"REPLICA\")`. Create a virtual replica, Virtual replicas don\'t increase the number of records and are optimized for [Relevant sorting](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/relevant-sort/).
|
|
9
9
|
*/
|
|
10
10
|
replicas?: string[];
|
|
11
11
|
/**
|
|
@@ -45,7 +45,7 @@ export type BaseIndexSettings = {
|
|
|
45
45
|
*/
|
|
46
46
|
allowCompressionOfIntegerArray?: boolean;
|
|
47
47
|
/**
|
|
48
|
-
* Numeric attributes that can be used as [numerical filters](https://www.algolia.com/doc/guides/managing-results/rules/detecting-intent/how-to/applying-a-custom-filter-for-a-specific-query/#numerical-filters). By default, all numeric attributes are available as numerical filters. For faster indexing, reduce the number of numeric attributes. If you want to turn off filtering for all numeric attributes, specifiy an attribute that doesn\'t exist in your index, such as `NO_NUMERIC_FILTERING`. **Modifier**
|
|
48
|
+
* Numeric attributes that can be used as [numerical filters](https://www.algolia.com/doc/guides/managing-results/rules/detecting-intent/how-to/applying-a-custom-filter-for-a-specific-query/#numerical-filters). By default, all numeric attributes are available as numerical filters. For faster indexing, reduce the number of numeric attributes. If you want to turn off filtering for all numeric attributes, specifiy an attribute that doesn\'t exist in your index, such as `NO_NUMERIC_FILTERING`. **Modifier** - `equalOnly(\"ATTRIBUTE\")`. Support only filtering based on equality comparisons `=` and `!=`.
|
|
49
49
|
*/
|
|
50
50
|
numericAttributesForFiltering?: string[];
|
|
51
51
|
/**
|
|
@@ -53,7 +53,7 @@ export type BaseIndexSettings = {
|
|
|
53
53
|
*/
|
|
54
54
|
separatorsToIndex?: string;
|
|
55
55
|
/**
|
|
56
|
-
* Attributes used for searching. By default, all attributes are searchable and the [Attribute](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#attribute) ranking criterion is turned off. With a non-empty list, Algolia only returns results with matches in the selected attributes. In addition, the Attribute ranking criterion is turned on: matches in attributes that are higher in the list of `searchableAttributes` rank first. To make matches in two attributes rank equally, include them in a comma-separated string, such as `\"title,alternate_title\"`. Attributes with the same priority are always unordered. For more information, see [Searchable attributes](https://www.algolia.com/doc/guides/sending-and-managing-data/prepare-your-data/how-to/setting-searchable-attributes/). **Modifier**
|
|
56
|
+
* Attributes used for searching. By default, all attributes are searchable and the [Attribute](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#attribute) ranking criterion is turned off. With a non-empty list, Algolia only returns results with matches in the selected attributes. In addition, the Attribute ranking criterion is turned on: matches in attributes that are higher in the list of `searchableAttributes` rank first. To make matches in two attributes rank equally, include them in a comma-separated string, such as `\"title,alternate_title\"`. Attributes with the same priority are always unordered. For more information, see [Searchable attributes](https://www.algolia.com/doc/guides/sending-and-managing-data/prepare-your-data/how-to/setting-searchable-attributes/). **Modifier** - `unordered(\"ATTRIBUTE\")`. Ignore the position of a match within the attribute. Without modifier, matches at the beginning of an attribute rank higer than matches at the end.
|
|
57
57
|
*/
|
|
58
58
|
searchableAttributes?: string[];
|
|
59
59
|
/**
|
|
@@ -10,7 +10,7 @@ export type BaseSearchParamsWithoutQuery = {
|
|
|
10
10
|
*/
|
|
11
11
|
similarQuery?: string;
|
|
12
12
|
/**
|
|
13
|
-
* Filter
|
|
13
|
+
* Filter expression to only include items that match the filter criteria in the response. You can use these filter expressions: - **Numeric filters.** `<facet> <op> <number>`, where `<op>` is one of `<`, `<=`, `=`, `!=`, `>`, `>=`. - **Ranges.** `<facet>:<lower> TO <upper>` where `<lower>` and `<upper>` are the lower and upper limits of the range (inclusive). - **Facet filters.** `<facet>:<value>` where `<facet>` is a facet attribute (case-sensitive) and `<value>` a facet value. - **Tag filters.** `_tags:<value>` or just `<value>` (case-sensitive). - **Boolean filters.** `<facet>: true | false`. You can combine filters with `AND`, `OR`, and `NOT` operators with the following restrictions: - You can only combine filters of the same type with `OR`. **Not supported:** `facet:value OR num > 3`. - You can\'t use `NOT` with combinations of filters. **Not supported:** `NOT(facet:value OR facet:value)` - You can\'t combine conjunctions (`AND`) with `OR`. **Not supported:** `facet:value OR (facet:value AND facet:value)` Use quotes around your filters, if the facet attribute name or facet value has spaces, keywords (`OR`, `AND`, `NOT`), or quotes. If a facet attribute is an array, the filter matches if it matches at least one element of the array. For more information, see [Filters](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/).
|
|
14
14
|
*/
|
|
15
15
|
filters?: string;
|
|
16
16
|
facetFilters?: FacetFilters;
|
|
@@ -49,7 +49,7 @@ export type AddOrUpdateObjectProps = {
|
|
|
49
49
|
*/
|
|
50
50
|
export type AssignUserIdProps = {
|
|
51
51
|
/**
|
|
52
|
-
*
|
|
52
|
+
* Unique identifier of the user who makes the search request.
|
|
53
53
|
*/
|
|
54
54
|
xAlgoliaUserID: string;
|
|
55
55
|
assignUserIdParams: AssignUserIdParams;
|
|
@@ -69,7 +69,7 @@ export type BatchProps = {
|
|
|
69
69
|
*/
|
|
70
70
|
export type BatchAssignUserIdsProps = {
|
|
71
71
|
/**
|
|
72
|
-
*
|
|
72
|
+
* Unique identifier of the user who makes the search request.
|
|
73
73
|
*/
|
|
74
74
|
xAlgoliaUserID: string;
|
|
75
75
|
batchAssignUserIdsParams: BatchAssignUserIdsParams;
|
|
@@ -373,7 +373,7 @@ export type GetTaskProps = {
|
|
|
373
373
|
*/
|
|
374
374
|
export type GetUserIdProps = {
|
|
375
375
|
/**
|
|
376
|
-
*
|
|
376
|
+
* Unique identifier of the user who makes the search request.
|
|
377
377
|
*/
|
|
378
378
|
userID: string;
|
|
379
379
|
};
|
|
@@ -448,7 +448,7 @@ export type PartialUpdateObjectProps = {
|
|
|
448
448
|
*/
|
|
449
449
|
export type RemoveUserIdProps = {
|
|
450
450
|
/**
|
|
451
|
-
*
|
|
451
|
+
* Unique identifier of the user who makes the search request.
|
|
452
452
|
*/
|
|
453
453
|
userID: string;
|
|
454
454
|
};
|