algoliasearch 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.
Files changed (297) hide show
  1. package/dist/algoliasearch/builds/browser.d.ts +2 -2
  2. package/dist/algoliasearch/builds/node.d.ts +2 -2
  3. package/dist/algoliasearch.cjs +191 -191
  4. package/dist/algoliasearch.esm.browser.js +191 -191
  5. package/dist/algoliasearch.esm.node.js +191 -191
  6. package/dist/algoliasearch.umd.js +2 -2
  7. package/dist/client-abtesting/model/aBTestResponse.d.ts +1 -1
  8. package/dist/client-abtesting/model/clientMethodProps.d.ts +2 -2
  9. package/dist/client-abtesting/src/abtestingClient.d.ts +3 -3
  10. package/dist/client-analytics/model/clientMethodProps.d.ts +65 -65
  11. package/dist/client-analytics/model/searchNoResultEvent.d.ts +1 -1
  12. package/dist/client-analytics/model/topSearch.d.ts +1 -1
  13. package/dist/client-analytics/model/topSearchWithAnalytics.d.ts +1 -1
  14. package/dist/client-analytics/src/analyticsClient.d.ts +66 -66
  15. package/dist/client-personalization/src/personalizationClient.d.ts +1 -1
  16. package/dist/client-search/model/acl.d.ts +1 -1
  17. package/dist/client-search/model/action.d.ts +1 -1
  18. package/dist/client-search/model/addApiKeyResponse.d.ts +1 -1
  19. package/dist/client-search/model/anchoring.d.ts +1 -1
  20. package/dist/client-search/model/apiKey.d.ts +8 -8
  21. package/dist/client-search/model/aroundPrecision.d.ts +1 -1
  22. package/dist/client-search/model/aroundPrecisionFromValueInner.d.ts +9 -0
  23. package/dist/client-search/model/aroundPrecisionFromValueInner.d.ts.map +1 -1
  24. package/dist/client-search/model/aroundRadius.d.ts +1 -1
  25. package/dist/client-search/model/aroundRadiusAll.d.ts +3 -0
  26. package/dist/client-search/model/aroundRadiusAll.d.ts.map +1 -1
  27. package/dist/client-search/model/automaticFacetFilter.d.ts +4 -4
  28. package/dist/client-search/model/automaticFacetFilters.d.ts +1 -1
  29. package/dist/client-search/model/baseIndexSettings.d.ts +20 -16
  30. package/dist/client-search/model/baseIndexSettings.d.ts.map +1 -1
  31. package/dist/client-search/model/baseSearchParamsWithoutQuery.d.ts +24 -28
  32. package/dist/client-search/model/baseSearchParamsWithoutQuery.d.ts.map +1 -1
  33. package/dist/client-search/model/baseSearchResponse.d.ts +6 -6
  34. package/dist/client-search/model/batchDictionaryEntriesParams.d.ts +3 -3
  35. package/dist/client-search/model/batchResponse.d.ts +2 -2
  36. package/dist/client-search/model/builtInOperation.d.ts +2 -2
  37. package/dist/client-search/model/builtInOperationType.d.ts +1 -1
  38. package/dist/client-search/model/clientMethodProps.d.ts +63 -63
  39. package/dist/client-search/model/condition.d.ts +7 -3
  40. package/dist/client-search/model/condition.d.ts.map +1 -1
  41. package/dist/client-search/model/consequence.d.ts +5 -5
  42. package/dist/client-search/model/consequenceHide.d.ts +2 -2
  43. package/dist/client-search/model/consequenceQuery.d.ts +1 -1
  44. package/dist/client-search/model/consequenceQueryObject.d.ts +2 -2
  45. package/dist/client-search/model/createdAtResponse.d.ts +1 -1
  46. package/dist/client-search/model/cursor.d.ts +1 -1
  47. package/dist/client-search/model/deleteByParams.d.ts +4 -4
  48. package/dist/client-search/model/deletedAtResponse.d.ts +1 -1
  49. package/dist/client-search/model/dictionaryEntry.d.ts +5 -5
  50. package/dist/client-search/model/dictionaryEntryState.d.ts +1 -1
  51. package/dist/client-search/model/dictionaryLanguage.d.ts +2 -2
  52. package/dist/client-search/model/dictionarySettingsParams.d.ts +1 -1
  53. package/dist/client-search/model/distinct.d.ts +1 -1
  54. package/dist/client-search/model/edit.d.ts +1 -1
  55. package/dist/client-search/model/exactOnSingleWordQuery.d.ts +1 -1
  56. package/dist/client-search/model/facetFilters.d.ts +1 -1
  57. package/dist/client-search/model/facetHits.d.ts +2 -2
  58. package/dist/client-search/model/facetOrdering.d.ts +2 -2
  59. package/dist/client-search/model/facets.d.ts +2 -2
  60. package/dist/client-search/model/getObjectsRequest.d.ts +3 -3
  61. package/dist/client-search/model/getObjectsResponse.d.ts +1 -1
  62. package/dist/client-search/model/hasPendingMappingsResponse.d.ts +1 -1
  63. package/dist/client-search/model/highlightResultOption.d.ts +3 -3
  64. package/dist/client-search/model/hit.d.ts +4 -4
  65. package/dist/client-search/model/ignorePlurals.d.ts +1 -1
  66. package/dist/client-search/model/index.d.ts +1 -0
  67. package/dist/client-search/model/index.d.ts.map +1 -1
  68. package/dist/client-search/model/indexSettings.d.ts +1 -1
  69. package/dist/client-search/model/indexSettingsAsSearchParams.d.ts +30 -34
  70. package/dist/client-search/model/indexSettingsAsSearchParams.d.ts.map +1 -1
  71. package/dist/client-search/model/log.d.ts +11 -11
  72. package/dist/client-search/model/logQuery.d.ts +1 -1
  73. package/dist/client-search/model/matchLevel.d.ts +1 -1
  74. package/dist/client-search/model/mode.d.ts +1 -1
  75. package/dist/client-search/model/multipleBatchResponse.d.ts +2 -2
  76. package/dist/client-search/model/numericFilters.d.ts +1 -1
  77. package/dist/client-search/model/operationIndexParams.d.ts +2 -2
  78. package/dist/client-search/model/operationType.d.ts +1 -1
  79. package/dist/client-search/model/optionalFilters.d.ts +1 -1
  80. package/dist/client-search/model/params.d.ts +1 -1
  81. package/dist/client-search/model/promoteObjectID.d.ts +2 -2
  82. package/dist/client-search/model/promoteObjectIDs.d.ts +2 -2
  83. package/dist/client-search/model/queryType.d.ts +1 -1
  84. package/dist/client-search/model/rankingInfo.d.ts +10 -7
  85. package/dist/client-search/model/rankingInfo.d.ts.map +1 -1
  86. package/dist/client-search/model/reRankingApplyFilter.d.ts +1 -1
  87. package/dist/client-search/model/removeStopWords.d.ts +1 -1
  88. package/dist/client-search/model/removeWordsIfNoResults.d.ts +1 -1
  89. package/dist/client-search/model/renderingContent.d.ts +1 -1
  90. package/dist/client-search/model/rule.d.ts +5 -5
  91. package/dist/client-search/model/saveObjectResponse.d.ts +3 -3
  92. package/dist/client-search/model/saveSynonymResponse.d.ts +1 -1
  93. package/dist/client-search/model/searchDictionaryEntriesParams.d.ts +4 -4
  94. package/dist/client-search/model/searchDictionaryEntriesResponse.d.ts +20 -0
  95. package/dist/client-search/model/searchDictionaryEntriesResponse.d.ts.map +1 -0
  96. package/dist/client-search/model/searchForFacetValuesRequest.d.ts +1 -1
  97. package/dist/client-search/model/searchForFacetValuesResponse.d.ts +3 -0
  98. package/dist/client-search/model/searchForFacetValuesResponse.d.ts.map +1 -1
  99. package/dist/client-search/model/searchForFacetsOptions.d.ts +2 -2
  100. package/dist/client-search/model/searchForHitsOptions.d.ts +1 -1
  101. package/dist/client-search/model/searchHits.d.ts +4 -1
  102. package/dist/client-search/model/searchHits.d.ts.map +1 -1
  103. package/dist/client-search/model/searchParamsQuery.d.ts +1 -1
  104. package/dist/client-search/model/searchRulesParams.d.ts +4 -8
  105. package/dist/client-search/model/searchRulesParams.d.ts.map +1 -1
  106. package/dist/client-search/model/searchRulesResponse.d.ts +2 -2
  107. package/dist/client-search/model/searchStrategy.d.ts +1 -1
  108. package/dist/client-search/model/searchSynonymsParams.d.ts +2 -2
  109. package/dist/client-search/model/searchSynonymsResponse.d.ts +2 -2
  110. package/dist/client-search/model/searchUserIdsParams.d.ts +1 -1
  111. package/dist/client-search/model/searchUserIdsResponse.d.ts +2 -2
  112. package/dist/client-search/model/securedAPIKeyRestrictions.d.ts +5 -5
  113. package/dist/client-search/model/semanticSearch.d.ts +2 -2
  114. package/dist/client-search/model/snippetResultOption.d.ts +2 -2
  115. package/dist/client-search/model/sortRemainingBy.d.ts +1 -1
  116. package/dist/client-search/model/tagFilters.d.ts +1 -1
  117. package/dist/client-search/model/taskStatus.d.ts +1 -1
  118. package/dist/client-search/model/timeRange.d.ts +2 -2
  119. package/dist/client-search/model/typoTolerance.d.ts +1 -1
  120. package/dist/client-search/model/typoToleranceEnum.d.ts +3 -0
  121. package/dist/client-search/model/typoToleranceEnum.d.ts.map +1 -1
  122. package/dist/client-search/model/updatedAtResponse.d.ts +1 -1
  123. package/dist/client-search/model/updatedAtWithObjectIdResponse.d.ts +2 -2
  124. package/dist/client-search/model/updatedRuleResponse.d.ts +2 -2
  125. package/dist/client-search/model/userHit.d.ts +1 -1
  126. package/dist/client-search/model/userId.d.ts +1 -1
  127. package/dist/client-search/model/value.d.ts +1 -1
  128. package/dist/client-search/src/searchClient.d.ts +124 -123
  129. package/dist/client-search/src/searchClient.d.ts.map +1 -1
  130. package/dist/lite/lite.cjs +3 -3
  131. package/dist/lite/lite.esm.browser.js +3 -3
  132. package/dist/lite/lite.esm.node.js +3 -3
  133. package/dist/lite/lite.umd.js +2 -2
  134. package/dist/lite/model/acl.d.ts +1 -1
  135. package/dist/lite/model/action.d.ts +1 -1
  136. package/dist/lite/model/addApiKeyResponse.d.ts +1 -1
  137. package/dist/lite/model/anchoring.d.ts +1 -1
  138. package/dist/lite/model/apiKey.d.ts +8 -8
  139. package/dist/lite/model/aroundPrecision.d.ts +1 -1
  140. package/dist/lite/model/aroundPrecisionFromValueInner.d.ts +9 -0
  141. package/dist/lite/model/aroundPrecisionFromValueInner.d.ts.map +1 -1
  142. package/dist/lite/model/aroundRadius.d.ts +1 -1
  143. package/dist/lite/model/aroundRadiusAll.d.ts +3 -0
  144. package/dist/lite/model/aroundRadiusAll.d.ts.map +1 -1
  145. package/dist/lite/model/automaticFacetFilter.d.ts +4 -4
  146. package/dist/lite/model/automaticFacetFilters.d.ts +1 -1
  147. package/dist/lite/model/baseIndexSettings.d.ts +20 -16
  148. package/dist/lite/model/baseIndexSettings.d.ts.map +1 -1
  149. package/dist/lite/model/baseSearchParamsWithoutQuery.d.ts +24 -28
  150. package/dist/lite/model/baseSearchParamsWithoutQuery.d.ts.map +1 -1
  151. package/dist/lite/model/baseSearchResponse.d.ts +6 -6
  152. package/dist/lite/model/builtInOperation.d.ts +2 -2
  153. package/dist/lite/model/builtInOperationType.d.ts +1 -1
  154. package/dist/lite/model/condition.d.ts +7 -3
  155. package/dist/lite/model/condition.d.ts.map +1 -1
  156. package/dist/lite/model/consequence.d.ts +5 -5
  157. package/dist/lite/model/consequenceHide.d.ts +2 -2
  158. package/dist/lite/model/consequenceQuery.d.ts +1 -1
  159. package/dist/lite/model/consequenceQueryObject.d.ts +2 -2
  160. package/dist/lite/model/cursor.d.ts +1 -1
  161. package/dist/lite/model/deleteByParams.d.ts +4 -4
  162. package/dist/lite/model/dictionaryEntry.d.ts +5 -5
  163. package/dist/lite/model/dictionaryEntryState.d.ts +1 -1
  164. package/dist/lite/model/dictionaryLanguage.d.ts +2 -2
  165. package/dist/lite/model/distinct.d.ts +1 -1
  166. package/dist/lite/model/edit.d.ts +1 -1
  167. package/dist/lite/model/exactOnSingleWordQuery.d.ts +1 -1
  168. package/dist/lite/model/facetFilters.d.ts +1 -1
  169. package/dist/lite/model/facetHits.d.ts +2 -2
  170. package/dist/lite/model/facetOrdering.d.ts +2 -2
  171. package/dist/lite/model/facets.d.ts +2 -2
  172. package/dist/lite/model/highlightResultOption.d.ts +3 -3
  173. package/dist/lite/model/hit.d.ts +4 -4
  174. package/dist/lite/model/ignorePlurals.d.ts +1 -1
  175. package/dist/lite/model/index.d.ts +1 -0
  176. package/dist/lite/model/index.d.ts.map +1 -1
  177. package/dist/lite/model/indexSettings.d.ts +1 -1
  178. package/dist/lite/model/indexSettingsAsSearchParams.d.ts +30 -34
  179. package/dist/lite/model/indexSettingsAsSearchParams.d.ts.map +1 -1
  180. package/dist/lite/model/matchLevel.d.ts +1 -1
  181. package/dist/lite/model/mode.d.ts +1 -1
  182. package/dist/lite/model/numericFilters.d.ts +1 -1
  183. package/dist/lite/model/operationType.d.ts +1 -1
  184. package/dist/lite/model/optionalFilters.d.ts +1 -1
  185. package/dist/lite/model/params.d.ts +1 -1
  186. package/dist/lite/model/promoteObjectID.d.ts +2 -2
  187. package/dist/lite/model/promoteObjectIDs.d.ts +2 -2
  188. package/dist/lite/model/queryType.d.ts +1 -1
  189. package/dist/lite/model/rankingInfo.d.ts +10 -7
  190. package/dist/lite/model/rankingInfo.d.ts.map +1 -1
  191. package/dist/lite/model/reRankingApplyFilter.d.ts +1 -1
  192. package/dist/lite/model/removeStopWords.d.ts +1 -1
  193. package/dist/lite/model/removeWordsIfNoResults.d.ts +1 -1
  194. package/dist/lite/model/renderingContent.d.ts +1 -1
  195. package/dist/lite/model/rule.d.ts +5 -5
  196. package/dist/lite/model/searchDictionaryEntriesResponse.d.ts +20 -0
  197. package/dist/lite/model/searchDictionaryEntriesResponse.d.ts.map +1 -0
  198. package/dist/lite/model/searchForFacetValuesResponse.d.ts +3 -0
  199. package/dist/lite/model/searchForFacetValuesResponse.d.ts.map +1 -1
  200. package/dist/lite/model/searchForFacetsOptions.d.ts +2 -2
  201. package/dist/lite/model/searchForHitsOptions.d.ts +1 -1
  202. package/dist/lite/model/searchHits.d.ts +4 -1
  203. package/dist/lite/model/searchHits.d.ts.map +1 -1
  204. package/dist/lite/model/searchParamsQuery.d.ts +1 -1
  205. package/dist/lite/model/searchStrategy.d.ts +1 -1
  206. package/dist/lite/model/searchSynonymsResponse.d.ts +2 -2
  207. package/dist/lite/model/securedAPIKeyRestrictions.d.ts +5 -5
  208. package/dist/lite/model/semanticSearch.d.ts +2 -2
  209. package/dist/lite/model/snippetResultOption.d.ts +2 -2
  210. package/dist/lite/model/sortRemainingBy.d.ts +1 -1
  211. package/dist/lite/model/tagFilters.d.ts +1 -1
  212. package/dist/lite/model/taskStatus.d.ts +1 -1
  213. package/dist/lite/model/timeRange.d.ts +2 -2
  214. package/dist/lite/model/typoTolerance.d.ts +1 -1
  215. package/dist/lite/model/typoToleranceEnum.d.ts +3 -0
  216. package/dist/lite/model/typoToleranceEnum.d.ts.map +1 -1
  217. package/dist/lite/model/updatedRuleResponse.d.ts +2 -2
  218. package/dist/lite/model/userId.d.ts +1 -1
  219. package/dist/lite/model/value.d.ts +1 -1
  220. package/dist/lite/src/liteClient.d.ts +3 -3
  221. package/dist/lite/src/liteClient.d.ts.map +1 -1
  222. package/lite/model/acl.ts +1 -1
  223. package/lite/model/action.ts +1 -1
  224. package/lite/model/addApiKeyResponse.ts +1 -1
  225. package/lite/model/anchoring.ts +1 -1
  226. package/lite/model/apiKey.ts +8 -8
  227. package/lite/model/aroundPrecision.ts +1 -1
  228. package/lite/model/aroundPrecisionFromValueInner.ts +9 -0
  229. package/lite/model/aroundRadius.ts +1 -1
  230. package/lite/model/aroundRadiusAll.ts +3 -0
  231. package/lite/model/automaticFacetFilter.ts +4 -4
  232. package/lite/model/automaticFacetFilters.ts +1 -1
  233. package/lite/model/baseIndexSettings.ts +21 -16
  234. package/lite/model/baseSearchParamsWithoutQuery.ts +24 -29
  235. package/lite/model/baseSearchResponse.ts +6 -6
  236. package/lite/model/builtInOperation.ts +2 -2
  237. package/lite/model/builtInOperationType.ts +1 -1
  238. package/lite/model/condition.ts +8 -3
  239. package/lite/model/consequence.ts +5 -5
  240. package/lite/model/consequenceHide.ts +2 -2
  241. package/lite/model/consequenceQuery.ts +1 -1
  242. package/lite/model/consequenceQueryObject.ts +2 -2
  243. package/lite/model/cursor.ts +1 -1
  244. package/lite/model/deleteByParams.ts +4 -4
  245. package/lite/model/dictionaryEntry.ts +5 -5
  246. package/lite/model/dictionaryEntryState.ts +1 -1
  247. package/lite/model/dictionaryLanguage.ts +2 -2
  248. package/lite/model/distinct.ts +1 -1
  249. package/lite/model/edit.ts +1 -1
  250. package/lite/model/exactOnSingleWordQuery.ts +1 -1
  251. package/lite/model/facetFilters.ts +1 -1
  252. package/lite/model/facetHits.ts +2 -2
  253. package/lite/model/facetOrdering.ts +2 -2
  254. package/lite/model/facets.ts +2 -2
  255. package/lite/model/highlightResultOption.ts +3 -3
  256. package/lite/model/hit.ts +4 -4
  257. package/lite/model/ignorePlurals.ts +1 -1
  258. package/lite/model/index.ts +1 -0
  259. package/lite/model/indexSettings.ts +1 -1
  260. package/lite/model/indexSettingsAsSearchParams.ts +30 -35
  261. package/lite/model/matchLevel.ts +1 -1
  262. package/lite/model/mode.ts +1 -1
  263. package/lite/model/numericFilters.ts +1 -1
  264. package/lite/model/operationType.ts +1 -1
  265. package/lite/model/optionalFilters.ts +1 -1
  266. package/lite/model/params.ts +1 -1
  267. package/lite/model/promoteObjectID.ts +2 -2
  268. package/lite/model/promoteObjectIDs.ts +2 -2
  269. package/lite/model/queryType.ts +1 -1
  270. package/lite/model/rankingInfo.ts +10 -7
  271. package/lite/model/reRankingApplyFilter.ts +1 -1
  272. package/lite/model/removeStopWords.ts +1 -1
  273. package/lite/model/removeWordsIfNoResults.ts +1 -1
  274. package/lite/model/renderingContent.ts +1 -1
  275. package/lite/model/rule.ts +5 -5
  276. package/lite/model/searchDictionaryEntriesResponse.ts +25 -0
  277. package/lite/model/searchForFacetValuesResponse.ts +3 -0
  278. package/lite/model/searchForFacetsOptions.ts +2 -2
  279. package/lite/model/searchForHitsOptions.ts +1 -1
  280. package/lite/model/searchHits.ts +4 -1
  281. package/lite/model/searchParamsQuery.ts +1 -1
  282. package/lite/model/searchStrategy.ts +1 -1
  283. package/lite/model/searchSynonymsResponse.ts +2 -2
  284. package/lite/model/securedAPIKeyRestrictions.ts +5 -5
  285. package/lite/model/semanticSearch.ts +2 -2
  286. package/lite/model/snippetResultOption.ts +2 -2
  287. package/lite/model/sortRemainingBy.ts +1 -1
  288. package/lite/model/tagFilters.ts +1 -1
  289. package/lite/model/taskStatus.ts +1 -1
  290. package/lite/model/timeRange.ts +2 -2
  291. package/lite/model/typoTolerance.ts +1 -1
  292. package/lite/model/typoToleranceEnum.ts +3 -0
  293. package/lite/model/updatedRuleResponse.ts +2 -2
  294. package/lite/model/userId.ts +1 -1
  295. package/lite/model/value.ts +1 -1
  296. package/lite/src/liteClient.ts +3 -3
  297. package/package.json +11 -11
@@ -32,15 +32,15 @@ import type { UpdatedAtResponse } from './updatedAtResponse';
32
32
  */
33
33
  export type AddOrUpdateObjectProps = {
34
34
  /**
35
- * Index on which to perform the request.
35
+ * Name of the index on which to perform the operation.
36
36
  */
37
37
  indexName: string;
38
38
  /**
39
- * Unique record (object) identifier.
39
+ * Unique record identifier.
40
40
  */
41
41
  objectID: string;
42
42
  /**
43
- * Algolia record.
43
+ * The record, a schemaless object with attributes that are useful in the context of search and discovery.
44
44
  */
45
45
  body: Record<string, any>;
46
46
  };
@@ -49,7 +49,7 @@ export type AddOrUpdateObjectProps = {
49
49
  */
50
50
  export type AssignUserIdProps = {
51
51
  /**
52
- * UserID to assign.
52
+ * User ID to assign.
53
53
  */
54
54
  xAlgoliaUserID: string;
55
55
  assignUserIdParams: AssignUserIdParams;
@@ -59,7 +59,7 @@ export type AssignUserIdProps = {
59
59
  */
60
60
  export type BatchProps = {
61
61
  /**
62
- * Index on which to perform the request.
62
+ * Name of the index on which to perform the operation.
63
63
  */
64
64
  indexName: string;
65
65
  batchWriteParams: BatchWriteParams;
@@ -69,7 +69,7 @@ export type BatchProps = {
69
69
  */
70
70
  export type BatchAssignUserIdsProps = {
71
71
  /**
72
- * UserID to assign.
72
+ * User ID to assign.
73
73
  */
74
74
  xAlgoliaUserID: string;
75
75
  batchAssignUserIdsParams: BatchAssignUserIdsParams;
@@ -79,7 +79,7 @@ export type BatchAssignUserIdsProps = {
79
79
  */
80
80
  export type BatchDictionaryEntriesProps = {
81
81
  /**
82
- * Dictionary to search in.
82
+ * Dictionary type in which to search.
83
83
  */
84
84
  dictionaryName: DictionaryType;
85
85
  batchDictionaryEntriesParams: BatchDictionaryEntriesParams;
@@ -89,7 +89,7 @@ export type BatchDictionaryEntriesProps = {
89
89
  */
90
90
  export type BrowseProps = {
91
91
  /**
92
- * Index on which to perform the request.
92
+ * Name of the index on which to perform the operation.
93
93
  */
94
94
  indexName: string;
95
95
  browseParams?: BrowseParams;
@@ -99,7 +99,7 @@ export type BrowseProps = {
99
99
  */
100
100
  export type ClearObjectsProps = {
101
101
  /**
102
- * Index on which to perform the request.
102
+ * Name of the index on which to perform the operation.
103
103
  */
104
104
  indexName: string;
105
105
  };
@@ -108,11 +108,11 @@ export type ClearObjectsProps = {
108
108
  */
109
109
  export type ClearRulesProps = {
110
110
  /**
111
- * Index on which to perform the request.
111
+ * Name of the index on which to perform the operation.
112
112
  */
113
113
  indexName: string;
114
114
  /**
115
- * Indicates whether changed index settings are forwarded to the replica indices.
115
+ * Whether changes are applied to replica indices.
116
116
  */
117
117
  forwardToReplicas?: boolean;
118
118
  };
@@ -121,11 +121,11 @@ export type ClearRulesProps = {
121
121
  */
122
122
  export type ClearSynonymsProps = {
123
123
  /**
124
- * Index on which to perform the request.
124
+ * Name of the index on which to perform the operation.
125
125
  */
126
126
  indexName: string;
127
127
  /**
128
- * Indicates whether changed index settings are forwarded to the replica indices.
128
+ * Whether changes are applied to replica indices.
129
129
  */
130
130
  forwardToReplicas?: boolean;
131
131
  };
@@ -203,7 +203,7 @@ export type DeleteApiKeyProps = {
203
203
  */
204
204
  export type DeleteByProps = {
205
205
  /**
206
- * Index on which to perform the request.
206
+ * Name of the index on which to perform the operation.
207
207
  */
208
208
  indexName: string;
209
209
  deleteByParams: DeleteByParams;
@@ -213,7 +213,7 @@ export type DeleteByProps = {
213
213
  */
214
214
  export type DeleteIndexProps = {
215
215
  /**
216
- * Index on which to perform the request.
216
+ * Name of the index on which to perform the operation.
217
217
  */
218
218
  indexName: string;
219
219
  };
@@ -222,11 +222,11 @@ export type DeleteIndexProps = {
222
222
  */
223
223
  export type DeleteObjectProps = {
224
224
  /**
225
- * Index on which to perform the request.
225
+ * Name of the index on which to perform the operation.
226
226
  */
227
227
  indexName: string;
228
228
  /**
229
- * Unique record (object) identifier.
229
+ * Unique record identifier.
230
230
  */
231
231
  objectID: string;
232
232
  };
@@ -235,7 +235,7 @@ export type DeleteObjectProps = {
235
235
  */
236
236
  export type DeleteRuleProps = {
237
237
  /**
238
- * Index on which to perform the request.
238
+ * Name of the index on which to perform the operation.
239
239
  */
240
240
  indexName: string;
241
241
  /**
@@ -243,7 +243,7 @@ export type DeleteRuleProps = {
243
243
  */
244
244
  objectID: string;
245
245
  /**
246
- * Indicates whether changed index settings are forwarded to the replica indices.
246
+ * Whether changes are applied to replica indices.
247
247
  */
248
248
  forwardToReplicas?: boolean;
249
249
  };
@@ -261,7 +261,7 @@ export type DeleteSourceProps = {
261
261
  */
262
262
  export type DeleteSynonymProps = {
263
263
  /**
264
- * Index on which to perform the request.
264
+ * Name of the index on which to perform the operation.
265
265
  */
266
266
  indexName: string;
267
267
  /**
@@ -269,7 +269,7 @@ export type DeleteSynonymProps = {
269
269
  */
270
270
  objectID: string;
271
271
  /**
272
- * Indicates whether changed index settings are forwarded to the replica indices.
272
+ * Whether changes are applied to replica indices.
273
273
  */
274
274
  forwardToReplicas?: boolean;
275
275
  };
@@ -287,7 +287,7 @@ export type GetApiKeyProps = {
287
287
  */
288
288
  export type GetLogsProps = {
289
289
  /**
290
- * First log entry to retrieve. Sorted by decreasing date with 0 being the most recent.
290
+ * First log entry to retrieve. The most recent entries are listed first.
291
291
  */
292
292
  offset?: number;
293
293
  /**
@@ -295,11 +295,11 @@ export type GetLogsProps = {
295
295
  */
296
296
  length?: number;
297
297
  /**
298
- * Index for which log entries should be retrieved. When omitted, log entries are retrieved for all indices.
298
+ * Index for which to retrieve log entries. By default, log entries are retrieved for all indices.
299
299
  */
300
300
  indexName?: string;
301
301
  /**
302
- * Type of log entries to retrieve. When omitted, all log entries are retrieved.
302
+ * Type of log entries to retrieve. By default, all log entries are retrieved.
303
303
  */
304
304
  type?: LogType;
305
305
  };
@@ -308,15 +308,15 @@ export type GetLogsProps = {
308
308
  */
309
309
  export type GetObjectProps = {
310
310
  /**
311
- * Index on which to perform the request.
311
+ * Name of the index on which to perform the operation.
312
312
  */
313
313
  indexName: string;
314
314
  /**
315
- * Unique record (object) identifier.
315
+ * Unique record identifier.
316
316
  */
317
317
  objectID: string;
318
318
  /**
319
- * Attributes to include with the records in the response. This is useful to reduce the size of the API response. By default, all retrievable attributes are returned. `objectID` is always retrieved, even when not specified. [`unretrievableAttributes`](https://www.algolia.com/doc/api-reference/api-parameters/unretrievableAttributes/) won\'t be retrieved unless the request is authenticated with the admin API key.
319
+ * Attributes to include with the records in the response. This is useful to reduce the size of the API response. By default, all retrievable attributes are returned. `objectID` is always retrieved. Attributes included in `unretrievableAttributes` won\'t be retrieved unless the request is authenticated with the admin API key.
320
320
  */
321
321
  attributesToRetrieve?: string[];
322
322
  };
@@ -325,7 +325,7 @@ export type GetObjectProps = {
325
325
  */
326
326
  export type GetRuleProps = {
327
327
  /**
328
- * Index on which to perform the request.
328
+ * Name of the index on which to perform the operation.
329
329
  */
330
330
  indexName: string;
331
331
  /**
@@ -338,7 +338,7 @@ export type GetRuleProps = {
338
338
  */
339
339
  export type GetSettingsProps = {
340
340
  /**
341
- * Index on which to perform the request.
341
+ * Name of the index on which to perform the operation.
342
342
  */
343
343
  indexName: string;
344
344
  };
@@ -347,7 +347,7 @@ export type GetSettingsProps = {
347
347
  */
348
348
  export type GetSynonymProps = {
349
349
  /**
350
- * Index on which to perform the request.
350
+ * Name of the index on which to perform the operation.
351
351
  */
352
352
  indexName: string;
353
353
  /**
@@ -360,7 +360,7 @@ export type GetSynonymProps = {
360
360
  */
361
361
  export type GetTaskProps = {
362
362
  /**
363
- * Index on which to perform the request.
363
+ * Name of the index on which to perform the operation.
364
364
  */
365
365
  indexName: string;
366
366
  /**
@@ -373,7 +373,7 @@ export type GetTaskProps = {
373
373
  */
374
374
  export type GetUserIdProps = {
375
375
  /**
376
- * UserID to assign.
376
+ * User ID to assign.
377
377
  */
378
378
  userID: string;
379
379
  };
@@ -382,7 +382,7 @@ export type GetUserIdProps = {
382
382
  */
383
383
  export type HasPendingMappingsProps = {
384
384
  /**
385
- * Indicates whether to include the cluster\'s pending mapping state in the response.
385
+ * Whether to include the cluster\'s pending mapping state in the response.
386
386
  */
387
387
  getClusters?: boolean;
388
388
  };
@@ -391,11 +391,11 @@ export type HasPendingMappingsProps = {
391
391
  */
392
392
  export type ListIndicesProps = {
393
393
  /**
394
- * Returns the requested page number. The page size is determined by the `hitsPerPage` parameter. You can see the number of available pages in the `nbPages` response attribute. When `page` is null, the API response is not paginated.
394
+ * Requested page of the API response. If `null`, the API response is not paginated.
395
395
  */
396
396
  page?: number;
397
397
  /**
398
- * Maximum number of hits per page.
398
+ * Number of hits per page.
399
399
  */
400
400
  hitsPerPage?: number;
401
401
  };
@@ -404,11 +404,11 @@ export type ListIndicesProps = {
404
404
  */
405
405
  export type ListUserIdsProps = {
406
406
  /**
407
- * Returns the requested page number. The page size is determined by the `hitsPerPage` parameter. You can see the number of available pages in the `nbPages` response attribute. When `page` is null, the API response is not paginated.
407
+ * Requested page of the API response. If `null`, the API response is not paginated.
408
408
  */
409
409
  page?: number;
410
410
  /**
411
- * Maximum number of hits per page.
411
+ * Number of hits per page.
412
412
  */
413
413
  hitsPerPage?: number;
414
414
  };
@@ -417,7 +417,7 @@ export type ListUserIdsProps = {
417
417
  */
418
418
  export type OperationIndexProps = {
419
419
  /**
420
- * Index on which to perform the request.
420
+ * Name of the index on which to perform the operation.
421
421
  */
422
422
  indexName: string;
423
423
  operationIndexParams: OperationIndexParams;
@@ -427,19 +427,19 @@ export type OperationIndexProps = {
427
427
  */
428
428
  export type PartialUpdateObjectProps = {
429
429
  /**
430
- * Index on which to perform the request.
430
+ * Name of the index on which to perform the operation.
431
431
  */
432
432
  indexName: string;
433
433
  /**
434
- * Unique record (object) identifier.
434
+ * Unique record identifier.
435
435
  */
436
436
  objectID: string;
437
437
  /**
438
- * Object with attributes to update.
438
+ * Attributes with their values.
439
439
  */
440
440
  attributesToUpdate: Record<string, AttributeToUpdate>;
441
441
  /**
442
- * Indicates whether to create a new record if it doesn\'t exist yet.
442
+ * Whether to create a new record if it doesn\'t exist.
443
443
  */
444
444
  createIfNotExists?: boolean;
445
445
  };
@@ -448,7 +448,7 @@ export type PartialUpdateObjectProps = {
448
448
  */
449
449
  export type RemoveUserIdProps = {
450
450
  /**
451
- * UserID to assign.
451
+ * User ID to assign.
452
452
  */
453
453
  userID: string;
454
454
  };
@@ -475,11 +475,11 @@ export type RestoreApiKeyProps = {
475
475
  */
476
476
  export type SaveObjectProps = {
477
477
  /**
478
- * Index on which to perform the request.
478
+ * Name of the index on which to perform the operation.
479
479
  */
480
480
  indexName: string;
481
481
  /**
482
- * The Algolia record.
482
+ * The record, a schemaless object with attributes that are useful in the context of search and discovery.
483
483
  */
484
484
  body: Record<string, any>;
485
485
  };
@@ -488,7 +488,7 @@ export type SaveObjectProps = {
488
488
  */
489
489
  export type SaveRuleProps = {
490
490
  /**
491
- * Index on which to perform the request.
491
+ * Name of the index on which to perform the operation.
492
492
  */
493
493
  indexName: string;
494
494
  /**
@@ -497,7 +497,7 @@ export type SaveRuleProps = {
497
497
  objectID: string;
498
498
  rule: Rule;
499
499
  /**
500
- * Indicates whether changed index settings are forwarded to the replica indices.
500
+ * Whether changes are applied to replica indices.
501
501
  */
502
502
  forwardToReplicas?: boolean;
503
503
  };
@@ -506,16 +506,16 @@ export type SaveRuleProps = {
506
506
  */
507
507
  export type SaveRulesProps = {
508
508
  /**
509
- * Index on which to perform the request.
509
+ * Name of the index on which to perform the operation.
510
510
  */
511
511
  indexName: string;
512
512
  rules: Rule[];
513
513
  /**
514
- * Indicates whether changed index settings are forwarded to the replica indices.
514
+ * Whether changes are applied to replica indices.
515
515
  */
516
516
  forwardToReplicas?: boolean;
517
517
  /**
518
- * Indicates whether existing rules should be deleted before adding this batch.
518
+ * Whether existing rules should be deleted before adding this batch.
519
519
  */
520
520
  clearExistingRules?: boolean;
521
521
  };
@@ -524,7 +524,7 @@ export type SaveRulesProps = {
524
524
  */
525
525
  export type SaveSynonymProps = {
526
526
  /**
527
- * Index on which to perform the request.
527
+ * Name of the index on which to perform the operation.
528
528
  */
529
529
  indexName: string;
530
530
  /**
@@ -533,7 +533,7 @@ export type SaveSynonymProps = {
533
533
  objectID: string;
534
534
  synonymHit: SynonymHit;
535
535
  /**
536
- * Indicates whether changed index settings are forwarded to the replica indices.
536
+ * Whether changes are applied to replica indices.
537
537
  */
538
538
  forwardToReplicas?: boolean;
539
539
  };
@@ -542,16 +542,16 @@ export type SaveSynonymProps = {
542
542
  */
543
543
  export type SaveSynonymsProps = {
544
544
  /**
545
- * Index on which to perform the request.
545
+ * Name of the index on which to perform the operation.
546
546
  */
547
547
  indexName: string;
548
548
  synonymHit: SynonymHit[];
549
549
  /**
550
- * Indicates whether changed index settings are forwarded to the replica indices.
550
+ * Whether changes are applied to replica indices.
551
551
  */
552
552
  forwardToReplicas?: boolean;
553
553
  /**
554
- * Indicates whether to replace all synonyms in the index with the ones sent with this request.
554
+ * Whether to replace all synonyms in the index with the ones sent with this request.
555
555
  */
556
556
  replaceExistingSynonyms?: boolean;
557
557
  };
@@ -587,7 +587,7 @@ export type LegacySearchMethodProps = LegacySearchQuery[];
587
587
  */
588
588
  export type SearchDictionaryEntriesProps = {
589
589
  /**
590
- * Dictionary to search in.
590
+ * Dictionary type in which to search.
591
591
  */
592
592
  dictionaryName: DictionaryType;
593
593
  searchDictionaryEntriesParams: SearchDictionaryEntriesParams;
@@ -597,11 +597,11 @@ export type SearchDictionaryEntriesProps = {
597
597
  */
598
598
  export type SearchForFacetValuesProps = {
599
599
  /**
600
- * Index on which to perform the request.
600
+ * Name of the index on which to perform the operation.
601
601
  */
602
602
  indexName: string;
603
603
  /**
604
- * Facet name.
604
+ * Facet attribute in which to search for values. This attribute must be included in the `attributesForFaceting` index setting with the `searchable()` modifier.
605
605
  */
606
606
  facetName: string;
607
607
  searchForFacetValuesRequest?: SearchForFacetValuesRequest;
@@ -611,7 +611,7 @@ export type SearchForFacetValuesProps = {
611
611
  */
612
612
  export type SearchRulesProps = {
613
613
  /**
614
- * Index on which to perform the request.
614
+ * Name of the index on which to perform the operation.
615
615
  */
616
616
  indexName: string;
617
617
  searchRulesParams?: SearchRulesParams;
@@ -621,7 +621,7 @@ export type SearchRulesProps = {
621
621
  */
622
622
  export type SearchSingleIndexProps = {
623
623
  /**
624
- * Index on which to perform the request.
624
+ * Name of the index on which to perform the operation.
625
625
  */
626
626
  indexName: string;
627
627
  searchParams?: SearchParams;
@@ -631,7 +631,7 @@ export type SearchSingleIndexProps = {
631
631
  */
632
632
  export type SearchSynonymsProps = {
633
633
  /**
634
- * Index on which to perform the request.
634
+ * Name of the index on which to perform the operation.
635
635
  */
636
636
  indexName: string;
637
637
  /**
@@ -644,12 +644,12 @@ export type SearchSynonymsProps = {
644
644
  */
645
645
  export type SetSettingsProps = {
646
646
  /**
647
- * Index on which to perform the request.
647
+ * Name of the index on which to perform the operation.
648
648
  */
649
649
  indexName: string;
650
650
  indexSettings: IndexSettings;
651
651
  /**
652
- * Indicates whether changed index settings are forwarded to the replica indices.
652
+ * Whether changes are applied to replica indices.
653
653
  */
654
654
  forwardToReplicas?: boolean;
655
655
  };
@@ -1,17 +1,21 @@
1
1
  import type { Anchoring } from './anchoring';
2
2
  export type Condition = {
3
3
  /**
4
- * Query pattern syntax.
4
+ * Query pattern that triggers the rule. You can use either a literal string, or a special pattern `{facet:ATTRIBUTE}`, where `ATTRIBUTE` is a facet name. The rule is triggered if the query matches the literal string or a value of the specified facet. For example, with `pattern: {facet:genre}`, the rule is triggered when users search for a genre, such as \"comedy\".
5
5
  */
6
6
  pattern?: string;
7
7
  anchoring?: Anchoring;
8
8
  /**
9
- * Whether the pattern matches on plurals, synonyms, and typos.
9
+ * Whether the pattern should match plurals, synonyms, and typos.
10
10
  */
11
11
  alternatives?: boolean;
12
12
  /**
13
- * Rule context format: [A-Za-z0-9_-]+).
13
+ * An additional restriction that only triggers the rule, when the search has the same value as `ruleContexts` parameter. For example, if `context: mobile`, the rule is only triggered when the search request has a matching `ruleContexts: mobile`. A rule context must only contain alphanumeric characters.
14
14
  */
15
15
  context?: string;
16
+ /**
17
+ * Filters that trigger the rule. You can add add filters using the syntax `facet:value` so that the rule is triggered, when the specific filter is selected. You can use `filters` on its own or combine it with the `pattern` parameter.
18
+ */
19
+ filters?: string;
16
20
  };
17
21
  //# sourceMappingURL=condition.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"condition.d.ts","sourceRoot":"","sources":["../../../../client-search/model/condition.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C,MAAM,MAAM,SAAS,GAAG;IACtB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,SAAS,CAAC,EAAE,SAAS,CAAC;IAEtB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC"}
1
+ {"version":3,"file":"condition.d.ts","sourceRoot":"","sources":["../../../../client-search/model/condition.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C,MAAM,MAAM,SAAS,GAAG;IACtB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,SAAS,CAAC,EAAE,SAAS,CAAC;IAEtB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC"}
@@ -2,24 +2,24 @@ import type { ConsequenceHide } from './consequenceHide';
2
2
  import type { ConsequenceParams } from './consequenceParams';
3
3
  import type { Promote } from './promote';
4
4
  /**
5
- * [Consequences](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/#consequences) of a rule.
5
+ * Effect of the rule. For more information, see [Consequences](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/#consequences).
6
6
  */
7
7
  export type Consequence = {
8
8
  params?: ConsequenceParams;
9
9
  /**
10
- * Records to promote.
10
+ * Records you want to pin to a specific position in the search results. You can promote up to 300 records, either individually, or as groups of up to 100 records each.
11
11
  */
12
12
  promote?: Promote[];
13
13
  /**
14
- * Only use in combination with the `promote` consequence. When `true`, promoted results will be restricted to match the filters of the current search. When `false`, the promoted results will show up regardless of the filters.
14
+ * Whether promoted records must match an active filter for the consequence to be applied. This ensures that user actions (filtering the search) are given a higher precendence. For example, if you promote a record with the `color: red` attribute, and the user filters the search for `color: blue`, the \"red\" record won\'t be shown.
15
15
  */
16
16
  filterPromotes?: boolean;
17
17
  /**
18
- * Records to hide. By default, you can hide up to 50 records per rule.
18
+ * Records you want to hide from the search results.
19
19
  */
20
20
  hide?: ConsequenceHide[];
21
21
  /**
22
- * Custom JSON object that will be appended to the userData array in the response. This object isn\'t interpreted by the API. It\'s limited to 1kB of minified JSON.
22
+ * A JSON object with custom data that will be appended to the `userData` array in the response. This object isn\'t interpreted by the API and is limited to 1&nbsp;kB of minified JSON.
23
23
  */
24
24
  userData?: any | null;
25
25
  };
@@ -1,9 +1,9 @@
1
1
  /**
2
- * Unique identifier of the record to hide.
2
+ * Object ID of the record to hide.
3
3
  */
4
4
  export type ConsequenceHide = {
5
5
  /**
6
- * Unique object identifier.
6
+ * Unique record identifier.
7
7
  */
8
8
  objectID: string;
9
9
  };
@@ -1,6 +1,6 @@
1
1
  import type { ConsequenceQueryObject } from './consequenceQueryObject';
2
2
  /**
3
- * When providing a string, it replaces the entire query string. When providing an object, it describes incremental edits to be made to the query string (but you can\'t do both).
3
+ * Replace or edit the search query. If `consequenceQuery` is a string, the entire search query is replaced with that string. If `consequenceQuery` is an object, it describes incremental edits made to the query.
4
4
  */
5
5
  export type ConsequenceQuery = ConsequenceQueryObject | string;
6
6
  //# sourceMappingURL=consequenceQuery.d.ts.map
@@ -1,11 +1,11 @@
1
1
  import type { Edit } from './edit';
2
2
  export type ConsequenceQueryObject = {
3
3
  /**
4
- * Words to remove.
4
+ * Words to remove from the search query.
5
5
  */
6
6
  remove?: string[];
7
7
  /**
8
- * Edits to apply.
8
+ * Changes to make to the search query.
9
9
  */
10
10
  edits?: Edit[];
11
11
  };
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export type CreatedAtResponse = {
5
5
  /**
6
- * Timestamp of creation in [ISO-8601](https://wikipedia.org/wiki/ISO_8601) format.
6
+ * Timestamp of creation in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format.
7
7
  */
8
8
  createdAt: string;
9
9
  };
@@ -1,6 +1,6 @@
1
1
  export type Cursor = {
2
2
  /**
3
- * Cursor indicating the location to resume browsing from. Must match the value returned by the previous call. Pass this value to the subsequent browse call to get the next page of results. When the end of the index has been reached, `cursor` is absent from the response.
3
+ * Cursor to get the next page of the response. The parameter must match the value returned in the response of a previous request. The last page of the response does not return a `cursor` attribute.
4
4
  */
5
5
  cursor?: string;
6
6
  };
@@ -5,22 +5,22 @@ import type { TagFilters } from './tagFilters';
5
5
  export type DeleteByParams = {
6
6
  facetFilters?: FacetFilters;
7
7
  /**
8
- * [Filter](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/) the query with numeric, facet, or tag filters.
8
+ * Filter the search so that only records with matching values are included in the results. These filters are supported: - **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/).
9
9
  */
10
10
  filters?: string;
11
11
  numericFilters?: NumericFilters;
12
12
  tagFilters?: TagFilters;
13
13
  /**
14
- * Search for entries [around a central location](https://www.algolia.com/doc/guides/managing-results/refine-results/geolocation/#filter-around-a-central-point), enabling a geographical search within a circular area.
14
+ * Coordinates for the center of a circle, expressed as a comma-separated string of latitude and longitude. Only records included within circle around this central location are included in the results. The radius of the circle is determined by the `aroundRadius` and `minimumAroundRadius` settings. This parameter is ignored if you also specify `insidePolygon` or `insideBoundingBox`.
15
15
  */
16
16
  aroundLatLng?: string;
17
17
  aroundRadius?: AroundRadius;
18
18
  /**
19
- * Search inside a [rectangular area](https://www.algolia.com/doc/guides/managing-results/refine-results/geolocation/#filtering-inside-rectangular-or-polygonal-areas) (in geographical coordinates).
19
+ * Coordinates for a rectangular area in which to search. Each bounding box is defined by the two opposite points of its diagonal, and expressed as latitude and longitude pair: `[p1 lat, p1 long, p2 lat, p2 long]`. Provide multiple bounding boxes as nested arrays. For more information, see [rectangular area](https://www.algolia.com/doc/guides/managing-results/refine-results/geolocation/#filtering-inside-rectangular-or-polygonal-areas).
20
20
  */
21
21
  insideBoundingBox?: number[][];
22
22
  /**
23
- * Search inside a [polygon](https://www.algolia.com/doc/guides/managing-results/refine-results/geolocation/#filtering-inside-rectangular-or-polygonal-areas) (in geographical coordinates).
23
+ * Coordinates of a polygon in which to search. Polygons are defined by 3 to 10,000 points. Each point is represented by its latitude and longitude. Provide multiple polygons as nested arrays. For more information, see [filtering inside polygons](https://www.algolia.com/doc/guides/managing-results/refine-results/geolocation/#filtering-inside-rectangular-or-polygonal-areas). This parameter is ignored, if you also specify `insideBoundingBox`.
24
24
  */
25
25
  insidePolygon?: number[][];
26
26
  };
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export type DeletedAtResponse = {
5
5
  /**
6
- * Unique identifier of a task. A successful API response means that a task was added to a queue. It might not run immediately. You can check the task\'s progress with the `task` operation and this `taskID`.
6
+ * Unique identifier of a task. A successful API response means that a task was added to a queue. It might not run immediately. You can check the task\'s progress with the [`task` operation](#tag/Indices/operation/getTask) and this `taskID`.
7
7
  */
8
8
  taskID: number;
9
9
  /**