algoliasearch 5.0.0-alpha.53 → 5.0.0-alpha.54
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/models.d.ts +31 -31
- package/dist/algoliasearch/jest.config.d.ts +3 -3
- package/dist/algoliasearch.cjs.js +3487 -3485
- package/dist/algoliasearch.esm.browser.js +3620 -3618
- package/dist/algoliasearch.esm.node.js +3487 -3485
- package/dist/algoliasearch.umd.js +2 -2
- package/dist/builds/browser.d.ts +87 -87
- package/dist/builds/node.d.ts +87 -87
- package/dist/client-abtesting/model/aBTest.d.ts +39 -39
- package/dist/client-abtesting/model/aBTestResponse.d.ts +14 -14
- package/dist/client-abtesting/model/abTestsVariant.d.ts +14 -14
- package/dist/client-abtesting/model/abTestsVariantSearchParams.d.ts +3 -3
- package/dist/client-abtesting/model/addABTestsRequest.d.ts +15 -15
- package/dist/client-abtesting/model/addABTestsVariant.d.ts +3 -3
- package/dist/client-abtesting/model/clientMethodProps.d.ts +100 -100
- package/dist/client-abtesting/model/customSearchParams.d.ts +3 -3
- package/dist/client-abtesting/model/errorBase.d.ts +6 -6
- package/dist/client-abtesting/model/index.d.ts +11 -11
- package/dist/client-abtesting/model/listABTestsResponse.d.ts +15 -15
- package/dist/client-abtesting/model/variant.d.ts +50 -50
- package/dist/client-abtesting/src/abtestingClient.d.ts +124 -124
- package/dist/client-analytics/model/averageClickEvent.d.ts +14 -14
- package/dist/client-analytics/model/clickPosition.d.ts +10 -10
- package/dist/client-analytics/model/clickThroughRateEvent.d.ts +18 -18
- package/dist/client-analytics/model/clientMethodProps.d.ts +507 -507
- package/dist/client-analytics/model/conversionRateEvent.d.ts +18 -18
- package/dist/client-analytics/model/direction.d.ts +1 -1
- package/dist/client-analytics/model/errorBase.d.ts +6 -6
- package/dist/client-analytics/model/getAverageClickPositionResponse.d.ts +15 -15
- package/dist/client-analytics/model/getClickPositionsResponse.d.ts +7 -7
- package/dist/client-analytics/model/getClickThroughRateResponse.d.ts +19 -19
- package/dist/client-analytics/model/getConversationRateResponse.d.ts +19 -19
- package/dist/client-analytics/model/getNoClickRateResponse.d.ts +19 -19
- package/dist/client-analytics/model/getNoResultsRateResponse.d.ts +19 -19
- package/dist/client-analytics/model/getSearchesCountResponse.d.ts +11 -11
- package/dist/client-analytics/model/getSearchesNoClicksResponse.d.ts +7 -7
- package/dist/client-analytics/model/getSearchesNoResultsResponse.d.ts +7 -7
- package/dist/client-analytics/model/getStatusResponse.d.ts +6 -6
- package/dist/client-analytics/model/getTopCountriesResponse.d.ts +7 -7
- package/dist/client-analytics/model/getTopFilterAttribute.d.ts +10 -10
- package/dist/client-analytics/model/getTopFilterAttributesResponse.d.ts +7 -7
- package/dist/client-analytics/model/getTopFilterForAttribute.d.ts +18 -18
- package/dist/client-analytics/model/getTopFilterForAttributeResponse.d.ts +7 -7
- package/dist/client-analytics/model/getTopFiltersNoResultsResponse.d.ts +7 -7
- package/dist/client-analytics/model/getTopFiltersNoResultsValue.d.ts +14 -14
- package/dist/client-analytics/model/getTopFiltersNoResultsValues.d.ts +11 -11
- package/dist/client-analytics/model/getTopHitsResponse.d.ts +3 -3
- package/dist/client-analytics/model/getTopSearchesResponse.d.ts +3 -3
- package/dist/client-analytics/model/getUsersCountResponse.d.ts +11 -11
- package/dist/client-analytics/model/index.d.ts +44 -44
- package/dist/client-analytics/model/noClickRateEvent.d.ts +18 -18
- package/dist/client-analytics/model/noResultsRateEvent.d.ts +18 -18
- package/dist/client-analytics/model/orderBy.d.ts +1 -1
- package/dist/client-analytics/model/searchEvent.d.ts +10 -10
- package/dist/client-analytics/model/searchNoClickEvent.d.ts +14 -14
- package/dist/client-analytics/model/searchNoResultEvent.d.ts +14 -14
- package/dist/client-analytics/model/topCountry.d.ts +10 -10
- package/dist/client-analytics/model/topHit.d.ts +10 -10
- package/dist/client-analytics/model/topHitWithAnalytics.d.ts +30 -30
- package/dist/client-analytics/model/topHitsResponse.d.ts +7 -7
- package/dist/client-analytics/model/topHitsResponseWithAnalytics.d.ts +7 -7
- package/dist/client-analytics/model/topSearch.d.ts +14 -14
- package/dist/client-analytics/model/topSearchWithAnalytics.d.ts +38 -38
- package/dist/client-analytics/model/topSearchesResponse.d.ts +7 -7
- package/dist/client-analytics/model/topSearchesResponseWithAnalytics.d.ts +7 -7
- package/dist/client-analytics/model/userWithDate.d.ts +10 -10
- package/dist/client-analytics/src/analyticsClient.d.ts +318 -318
- package/dist/client-personalization/model/clientMethodProps.d.ts +78 -78
- package/dist/client-personalization/model/deleteUserProfileResponse.d.ts +10 -10
- package/dist/client-personalization/model/errorBase.d.ts +6 -6
- package/dist/client-personalization/model/eventScoring.d.ts +14 -14
- package/dist/client-personalization/model/facetScoring.d.ts +10 -10
- package/dist/client-personalization/model/getUserTokenResponse.d.ts +14 -14
- package/dist/client-personalization/model/index.d.ts +8 -8
- package/dist/client-personalization/model/personalizationStrategyParams.d.ts +16 -16
- package/dist/client-personalization/model/setPersonalizationStrategyResponse.d.ts +6 -6
- package/dist/client-personalization/src/personalizationClient.d.ts +112 -112
- package/dist/client-search/model/acl.d.ts +4 -4
- package/dist/client-search/model/action.d.ts +4 -4
- package/dist/client-search/model/addApiKeyResponse.d.ts +10 -10
- package/dist/client-search/model/advancedSyntaxFeatures.d.ts +1 -1
- package/dist/client-search/model/alternativesAsExact.d.ts +1 -1
- package/dist/client-search/model/anchoring.d.ts +4 -4
- package/dist/client-search/model/apiKey.d.ts +38 -38
- package/dist/client-search/model/aroundRadius.d.ts +5 -5
- package/dist/client-search/model/aroundRadiusAll.d.ts +1 -1
- package/dist/client-search/model/assignUserIdParams.d.ts +9 -9
- package/dist/client-search/model/attributeToUpdate.d.ts +2 -2
- package/dist/client-search/model/automaticFacetFilter.d.ts +17 -17
- package/dist/client-search/model/automaticFacetFilters.d.ts +5 -5
- package/dist/client-search/model/baseGetApiKeyResponse.d.ts +10 -10
- package/dist/client-search/model/baseIndexSettings.d.ts +62 -62
- package/dist/client-search/model/baseSearchParams.d.ts +3 -3
- package/dist/client-search/model/baseSearchParamsWithoutQuery.d.ts +122 -122
- package/dist/client-search/model/baseSearchResponse.d.ts +101 -101
- package/dist/client-search/model/batchAssignUserIdsParams.d.ts +13 -13
- package/dist/client-search/model/batchDictionaryEntriesParams.d.ts +14 -14
- package/dist/client-search/model/batchDictionaryEntriesRequest.d.ts +6 -6
- package/dist/client-search/model/batchParams.d.ts +7 -7
- package/dist/client-search/model/batchRequest.d.ts +8 -8
- package/dist/client-search/model/batchResponse.d.ts +10 -10
- package/dist/client-search/model/batchWriteParams.d.ts +7 -7
- package/dist/client-search/model/browseParams.d.ts +3 -3
- package/dist/client-search/model/browseParamsObject.d.ts +3 -3
- package/dist/client-search/model/browseResponse.d.ts +4 -4
- package/dist/client-search/model/builtInOperation.d.ts +11 -11
- package/dist/client-search/model/builtInOperationType.d.ts +4 -4
- package/dist/client-search/model/clientMethodProps.d.ts +715 -715
- package/dist/client-search/model/condition.d.ts +16 -16
- package/dist/client-search/model/consequence.d.ts +25 -25
- package/dist/client-search/model/consequenceHide.d.ts +9 -9
- package/dist/client-search/model/consequenceParams.d.ts +4 -4
- package/dist/client-search/model/consequenceQuery.d.ts +5 -5
- package/dist/client-search/model/consequenceQueryObject.d.ts +11 -11
- package/dist/client-search/model/createdAtResponse.d.ts +9 -9
- package/dist/client-search/model/cursor.d.ts +6 -6
- package/dist/client-search/model/deleteApiKeyResponse.d.ts +6 -6
- package/dist/client-search/model/deleteByParams.d.ts +26 -26
- package/dist/client-search/model/deleteSourceResponse.d.ts +6 -6
- package/dist/client-search/model/deletedAtResponse.d.ts +13 -13
- package/dist/client-search/model/dictionaryAction.d.ts +4 -4
- package/dist/client-search/model/dictionaryEntry.d.ts +27 -27
- package/dist/client-search/model/dictionaryEntryState.d.ts +4 -4
- package/dist/client-search/model/dictionaryLanguage.d.ts +9 -9
- package/dist/client-search/model/dictionarySettingsParams.d.ts +7 -7
- package/dist/client-search/model/dictionaryType.d.ts +1 -1
- package/dist/client-search/model/distinct.d.ts +4 -4
- package/dist/client-search/model/edit.d.ts +12 -12
- package/dist/client-search/model/editType.d.ts +4 -4
- package/dist/client-search/model/errorBase.d.ts +6 -6
- package/dist/client-search/model/exactOnSingleWordQuery.d.ts +4 -4
- package/dist/client-search/model/facetFilters.d.ts +5 -5
- package/dist/client-search/model/facetHits.d.ts +14 -14
- package/dist/client-search/model/facetOrdering.d.ts +12 -12
- package/dist/client-search/model/facets.d.ts +9 -9
- package/dist/client-search/model/facetsStats.d.ts +18 -18
- package/dist/client-search/model/fetchedIndex.d.ts +46 -46
- package/dist/client-search/model/getApiKeyResponse.d.ts +3 -3
- package/dist/client-search/model/getDictionarySettingsResponse.d.ts +4 -4
- package/dist/client-search/model/getLogsResponse.d.ts +4 -4
- package/dist/client-search/model/getObjectsParams.d.ts +7 -7
- package/dist/client-search/model/getObjectsRequest.d.ts +17 -17
- package/dist/client-search/model/getObjectsResponse.d.ts +6 -6
- package/dist/client-search/model/getTaskResponse.d.ts +4 -4
- package/dist/client-search/model/getTopUserIdsResponse.d.ts +10 -10
- package/dist/client-search/model/hasPendingMappingsResponse.d.ts +10 -10
- package/dist/client-search/model/highlightResult.d.ts +2 -2
- package/dist/client-search/model/highlightResultOption.d.ts +19 -19
- package/dist/client-search/model/hit.d.ts +22 -22
- package/dist/client-search/model/ignorePlurals.d.ts +4 -4
- package/dist/client-search/model/index.d.ts +154 -154
- package/dist/client-search/model/indexSettings.d.ts +6 -6
- package/dist/client-search/model/indexSettingsAsSearchParams.d.ts +156 -156
- package/dist/client-search/model/languages.d.ts +9 -9
- package/dist/client-search/model/listApiKeysResponse.d.ts +7 -7
- package/dist/client-search/model/listClustersResponse.d.ts +9 -9
- package/dist/client-search/model/listIndicesResponse.d.ts +11 -11
- package/dist/client-search/model/listUserIdsResponse.d.ts +10 -10
- package/dist/client-search/model/log.d.ts +63 -63
- package/dist/client-search/model/logQuery.d.ts +14 -14
- package/dist/client-search/model/logType.d.ts +1 -1
- package/dist/client-search/model/matchLevel.d.ts +4 -4
- package/dist/client-search/model/matchedGeoLocation.d.ts +14 -14
- package/dist/client-search/model/mixedSearchFilters.d.ts +1 -1
- package/dist/client-search/model/multipleBatchRequest.d.ts +12 -12
- package/dist/client-search/model/multipleBatchResponse.d.ts +10 -10
- package/dist/client-search/model/numericFilters.d.ts +5 -5
- package/dist/client-search/model/operationIndexParams.d.ts +13 -13
- package/dist/client-search/model/operationType.d.ts +4 -4
- package/dist/client-search/model/optionalFilters.d.ts +5 -5
- package/dist/client-search/model/params.d.ts +12 -12
- package/dist/client-search/model/personalization.d.ts +14 -14
- package/dist/client-search/model/promote.d.ts +3 -3
- package/dist/client-search/model/promoteObjectID.d.ts +13 -13
- package/dist/client-search/model/promoteObjectIDs.d.ts +13 -13
- package/dist/client-search/model/queryType.d.ts +4 -4
- package/dist/client-search/model/rankingInfo.d.ts +50 -50
- package/dist/client-search/model/reRankingApplyFilter.d.ts +5 -5
- package/dist/client-search/model/removeStopWords.d.ts +4 -4
- package/dist/client-search/model/removeUserIdResponse.d.ts +6 -6
- package/dist/client-search/model/removeWordsIfNoResults.d.ts +4 -4
- package/dist/client-search/model/renderingContent.d.ts +7 -7
- package/dist/client-search/model/replaceSourceResponse.d.ts +6 -6
- package/dist/client-search/model/rule.d.ts +29 -29
- package/dist/client-search/model/saveObjectResponse.d.ts +11 -11
- package/dist/client-search/model/saveSynonymResponse.d.ts +14 -14
- package/dist/client-search/model/scopeType.d.ts +1 -1
- package/dist/client-search/model/searchDictionaryEntriesParams.d.ts +21 -21
- package/dist/client-search/model/searchForFacetValuesRequest.d.ts +14 -14
- package/dist/client-search/model/searchForFacetValuesResponse.d.ts +4 -4
- package/dist/client-search/model/searchForFacets.d.ts +3 -3
- package/dist/client-search/model/searchForFacetsOptions.d.ts +20 -20
- package/dist/client-search/model/searchForHits.d.ts +3 -3
- package/dist/client-search/model/searchForHitsOptions.d.ts +12 -12
- package/dist/client-search/model/searchHits.d.ts +4 -4
- package/dist/client-search/model/searchMethodParams.d.ts +6 -6
- package/dist/client-search/model/searchParams.d.ts +3 -3
- package/dist/client-search/model/searchParamsObject.d.ts +3 -3
- package/dist/client-search/model/searchParamsQuery.d.ts +6 -6
- package/dist/client-search/model/searchParamsString.d.ts +6 -6
- package/dist/client-search/model/searchQuery.d.ts +3 -3
- package/dist/client-search/model/searchResponse.d.ts +3 -3
- package/dist/client-search/model/searchResponses.d.ts +4 -4
- package/dist/client-search/model/searchRulesParams.d.ts +31 -31
- package/dist/client-search/model/searchRulesResponse.d.ts +19 -19
- package/dist/client-search/model/searchStrategy.d.ts +1 -1
- package/dist/client-search/model/searchSynonymsParams.d.ts +6 -6
- package/dist/client-search/model/searchSynonymsResponse.d.ts +11 -11
- package/dist/client-search/model/searchTypeDefault.d.ts +4 -4
- package/dist/client-search/model/searchTypeFacet.d.ts +4 -4
- package/dist/client-search/model/searchUserIdsParams.d.ts +21 -21
- package/dist/client-search/model/searchUserIdsResponse.d.ts +26 -26
- package/dist/client-search/model/snippetResult.d.ts +2 -2
- package/dist/client-search/model/snippetResultOption.d.ts +11 -11
- package/dist/client-search/model/sortRemainingBy.d.ts +4 -4
- package/dist/client-search/model/source.d.ts +13 -13
- package/dist/client-search/model/standardEntries.d.ts +17 -17
- package/dist/client-search/model/synonymHit.d.ts +35 -35
- package/dist/client-search/model/synonymType.d.ts +4 -4
- package/dist/client-search/model/tagFilters.d.ts +5 -5
- package/dist/client-search/model/taskStatus.d.ts +1 -1
- package/dist/client-search/model/timeRange.d.ts +10 -10
- package/dist/client-search/model/typoTolerance.d.ts +5 -5
- package/dist/client-search/model/typoToleranceEnum.d.ts +1 -1
- package/dist/client-search/model/updateApiKeyResponse.d.ts +10 -10
- package/dist/client-search/model/updatedAtResponse.d.ts +13 -13
- package/dist/client-search/model/updatedAtWithObjectIdResponse.d.ts +17 -17
- package/dist/client-search/model/updatedRuleResponse.d.ts +14 -14
- package/dist/client-search/model/userHighlightResult.d.ts +11 -11
- package/dist/client-search/model/userHit.d.ts +24 -24
- package/dist/client-search/model/userId.d.ts +21 -21
- package/dist/client-search/model/value.d.ts +8 -8
- package/dist/client-search/src/searchClient.d.ts +723 -723
- package/dist/lite/builds/browser.d.ts +5 -5
- package/dist/lite/builds/node.d.ts +5 -5
- package/dist/lite/lite.cjs.js +183 -183
- package/dist/lite/lite.esm.browser.js +307 -307
- package/dist/lite/lite.esm.node.js +183 -183
- package/dist/lite/lite.umd.js +2 -2
- package/dist/lite/model/acl.d.ts +4 -4
- package/dist/lite/model/action.d.ts +4 -4
- package/dist/lite/model/addApiKeyResponse.d.ts +10 -10
- package/dist/lite/model/advancedSyntaxFeatures.d.ts +1 -1
- package/dist/lite/model/alternativesAsExact.d.ts +1 -1
- package/dist/lite/model/anchoring.d.ts +4 -4
- package/dist/lite/model/apiKey.d.ts +38 -38
- package/dist/lite/model/aroundRadius.d.ts +5 -5
- package/dist/lite/model/aroundRadiusAll.d.ts +1 -1
- package/dist/lite/model/attributeToUpdate.d.ts +2 -2
- package/dist/lite/model/automaticFacetFilter.d.ts +17 -17
- package/dist/lite/model/automaticFacetFilters.d.ts +5 -5
- package/dist/lite/model/baseGetApiKeyResponse.d.ts +10 -10
- package/dist/lite/model/baseIndexSettings.d.ts +62 -62
- package/dist/lite/model/baseSearchParams.d.ts +3 -3
- package/dist/lite/model/baseSearchParamsWithoutQuery.d.ts +122 -122
- package/dist/lite/model/baseSearchResponse.d.ts +101 -101
- package/dist/lite/model/browseParams.d.ts +3 -3
- package/dist/lite/model/browseParamsObject.d.ts +3 -3
- package/dist/lite/model/browseResponse.d.ts +4 -4
- package/dist/lite/model/builtInOperation.d.ts +11 -11
- package/dist/lite/model/builtInOperationType.d.ts +4 -4
- package/dist/lite/model/clientMethodProps.d.ts +48 -48
- package/dist/lite/model/condition.d.ts +16 -16
- package/dist/lite/model/consequence.d.ts +25 -25
- package/dist/lite/model/consequenceHide.d.ts +9 -9
- package/dist/lite/model/consequenceParams.d.ts +4 -4
- package/dist/lite/model/consequenceQuery.d.ts +5 -5
- package/dist/lite/model/consequenceQueryObject.d.ts +11 -11
- package/dist/lite/model/cursor.d.ts +6 -6
- package/dist/lite/model/deleteByParams.d.ts +26 -26
- package/dist/lite/model/dictionaryAction.d.ts +4 -4
- package/dist/lite/model/dictionaryEntry.d.ts +27 -27
- package/dist/lite/model/dictionaryEntryState.d.ts +4 -4
- package/dist/lite/model/dictionaryLanguage.d.ts +9 -9
- package/dist/lite/model/dictionaryType.d.ts +1 -1
- package/dist/lite/model/distinct.d.ts +4 -4
- package/dist/lite/model/edit.d.ts +12 -12
- package/dist/lite/model/editType.d.ts +4 -4
- package/dist/lite/model/errorBase.d.ts +6 -6
- package/dist/lite/model/exactOnSingleWordQuery.d.ts +4 -4
- package/dist/lite/model/facetFilters.d.ts +5 -5
- package/dist/lite/model/facetOrdering.d.ts +12 -12
- package/dist/lite/model/facets.d.ts +9 -9
- package/dist/lite/model/facetsStats.d.ts +18 -18
- package/dist/lite/model/fetchedIndex.d.ts +46 -46
- package/dist/lite/model/getApiKeyResponse.d.ts +3 -3
- package/dist/lite/model/highlightResult.d.ts +2 -2
- package/dist/lite/model/highlightResultOption.d.ts +19 -19
- package/dist/lite/model/hit.d.ts +22 -22
- package/dist/lite/model/ignorePlurals.d.ts +4 -4
- package/dist/lite/model/index.d.ts +107 -107
- package/dist/lite/model/indexSettings.d.ts +6 -6
- package/dist/lite/model/indexSettingsAsSearchParams.d.ts +156 -156
- package/dist/lite/model/languages.d.ts +9 -9
- package/dist/lite/model/listIndicesResponse.d.ts +11 -11
- package/dist/lite/model/logType.d.ts +1 -1
- package/dist/lite/model/matchLevel.d.ts +4 -4
- package/dist/lite/model/matchedGeoLocation.d.ts +14 -14
- package/dist/lite/model/mixedSearchFilters.d.ts +1 -1
- package/dist/lite/model/numericFilters.d.ts +5 -5
- package/dist/lite/model/operationType.d.ts +4 -4
- package/dist/lite/model/optionalFilters.d.ts +5 -5
- package/dist/lite/model/params.d.ts +12 -12
- package/dist/lite/model/personalization.d.ts +14 -14
- package/dist/lite/model/promote.d.ts +3 -3
- package/dist/lite/model/promoteObjectID.d.ts +13 -13
- package/dist/lite/model/promoteObjectIDs.d.ts +13 -13
- package/dist/lite/model/queryType.d.ts +4 -4
- package/dist/lite/model/rankingInfo.d.ts +50 -50
- package/dist/lite/model/reRankingApplyFilter.d.ts +5 -5
- package/dist/lite/model/removeStopWords.d.ts +4 -4
- package/dist/lite/model/removeWordsIfNoResults.d.ts +4 -4
- package/dist/lite/model/renderingContent.d.ts +7 -7
- package/dist/lite/model/rule.d.ts +29 -29
- package/dist/lite/model/scopeType.d.ts +1 -1
- package/dist/lite/model/searchForFacets.d.ts +3 -3
- package/dist/lite/model/searchForFacetsOptions.d.ts +20 -20
- package/dist/lite/model/searchForHits.d.ts +3 -3
- package/dist/lite/model/searchForHitsOptions.d.ts +12 -12
- package/dist/lite/model/searchHits.d.ts +4 -4
- package/dist/lite/model/searchMethodParams.d.ts +6 -6
- package/dist/lite/model/searchParams.d.ts +3 -3
- package/dist/lite/model/searchParamsObject.d.ts +3 -3
- package/dist/lite/model/searchParamsQuery.d.ts +6 -6
- package/dist/lite/model/searchParamsString.d.ts +6 -6
- package/dist/lite/model/searchQuery.d.ts +3 -3
- package/dist/lite/model/searchResponse.d.ts +3 -3
- package/dist/lite/model/searchResponses.d.ts +4 -4
- package/dist/lite/model/searchStrategy.d.ts +1 -1
- package/dist/lite/model/searchSynonymsResponse.d.ts +11 -11
- package/dist/lite/model/searchTypeDefault.d.ts +4 -4
- package/dist/lite/model/searchTypeFacet.d.ts +4 -4
- package/dist/lite/model/snippetResult.d.ts +2 -2
- package/dist/lite/model/snippetResultOption.d.ts +11 -11
- package/dist/lite/model/sortRemainingBy.d.ts +4 -4
- package/dist/lite/model/source.d.ts +13 -13
- package/dist/lite/model/standardEntries.d.ts +17 -17
- package/dist/lite/model/synonymHit.d.ts +35 -35
- package/dist/lite/model/synonymType.d.ts +4 -4
- package/dist/lite/model/tagFilters.d.ts +5 -5
- package/dist/lite/model/taskStatus.d.ts +1 -1
- package/dist/lite/model/timeRange.d.ts +10 -10
- package/dist/lite/model/typoTolerance.d.ts +5 -5
- package/dist/lite/model/typoToleranceEnum.d.ts +1 -1
- package/dist/lite/model/updatedRuleResponse.d.ts +14 -14
- package/dist/lite/model/userId.d.ts +21 -21
- package/dist/lite/model/value.d.ts +8 -8
- package/dist/lite/src/liteClient.d.ts +50 -50
- package/lite/src/liteClient.ts +1 -1
- package/package.json +12 -12
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { GetApiKeyResponse } from './getApiKeyResponse';
|
|
2
|
-
export type ListApiKeysResponse = {
|
|
3
|
-
/**
|
|
4
|
-
* List of api keys.
|
|
5
|
-
*/
|
|
6
|
-
keys: GetApiKeyResponse[];
|
|
7
|
-
};
|
|
1
|
+
import type { GetApiKeyResponse } from './getApiKeyResponse';
|
|
2
|
+
export type ListApiKeysResponse = {
|
|
3
|
+
/**
|
|
4
|
+
* List of api keys.
|
|
5
|
+
*/
|
|
6
|
+
keys: GetApiKeyResponse[];
|
|
7
|
+
};
|
|
8
8
|
//# sourceMappingURL=listApiKeysResponse.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Array of clusters.
|
|
3
|
-
*/
|
|
4
|
-
export type ListClustersResponse = {
|
|
5
|
-
/**
|
|
6
|
-
* Mapping of cluster names to top users.
|
|
7
|
-
*/
|
|
8
|
-
topUsers: string[];
|
|
9
|
-
};
|
|
1
|
+
/**
|
|
2
|
+
* Array of clusters.
|
|
3
|
+
*/
|
|
4
|
+
export type ListClustersResponse = {
|
|
5
|
+
/**
|
|
6
|
+
* Mapping of cluster names to top users.
|
|
7
|
+
*/
|
|
8
|
+
topUsers: string[];
|
|
9
|
+
};
|
|
10
10
|
//# sourceMappingURL=listClustersResponse.d.ts.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import type { FetchedIndex } from './fetchedIndex';
|
|
2
|
-
export type ListIndicesResponse = {
|
|
3
|
-
/**
|
|
4
|
-
* List of the fetched indices.
|
|
5
|
-
*/
|
|
6
|
-
items: FetchedIndex[];
|
|
7
|
-
/**
|
|
8
|
-
* Number of pages.
|
|
9
|
-
*/
|
|
10
|
-
nbPages?: number;
|
|
11
|
-
};
|
|
1
|
+
import type { FetchedIndex } from './fetchedIndex';
|
|
2
|
+
export type ListIndicesResponse = {
|
|
3
|
+
/**
|
|
4
|
+
* List of the fetched indices.
|
|
5
|
+
*/
|
|
6
|
+
items: FetchedIndex[];
|
|
7
|
+
/**
|
|
8
|
+
* Number of pages.
|
|
9
|
+
*/
|
|
10
|
+
nbPages?: number;
|
|
11
|
+
};
|
|
12
12
|
//# sourceMappingURL=listIndicesResponse.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type { UserId } from './userId';
|
|
2
|
-
/**
|
|
3
|
-
* UserIDs data.
|
|
4
|
-
*/
|
|
5
|
-
export type ListUserIdsResponse = {
|
|
6
|
-
/**
|
|
7
|
-
* List of userIDs.
|
|
8
|
-
*/
|
|
9
|
-
userIDs: UserId[];
|
|
10
|
-
};
|
|
1
|
+
import type { UserId } from './userId';
|
|
2
|
+
/**
|
|
3
|
+
* UserIDs data.
|
|
4
|
+
*/
|
|
5
|
+
export type ListUserIdsResponse = {
|
|
6
|
+
/**
|
|
7
|
+
* List of userIDs.
|
|
8
|
+
*/
|
|
9
|
+
userIDs: UserId[];
|
|
10
|
+
};
|
|
11
11
|
//# sourceMappingURL=listUserIdsResponse.d.ts.map
|
|
@@ -1,64 +1,64 @@
|
|
|
1
|
-
import type { LogQuery } from './logQuery';
|
|
2
|
-
export type Log = {
|
|
3
|
-
/**
|
|
4
|
-
* Timestamp in ISO-8601 format.
|
|
5
|
-
*/
|
|
6
|
-
timestamp: string;
|
|
7
|
-
/**
|
|
8
|
-
* HTTP method of the performed request.
|
|
9
|
-
*/
|
|
10
|
-
method: string;
|
|
11
|
-
/**
|
|
12
|
-
* HTTP response code.
|
|
13
|
-
*/
|
|
14
|
-
answer_code: string;
|
|
15
|
-
/**
|
|
16
|
-
* Request body. Truncated after 1000 characters.
|
|
17
|
-
*/
|
|
18
|
-
query_body: string;
|
|
19
|
-
/**
|
|
20
|
-
* Answer body. Truncated after 1000 characters.
|
|
21
|
-
*/
|
|
22
|
-
answer: string;
|
|
23
|
-
/**
|
|
24
|
-
* Request URL.
|
|
25
|
-
*/
|
|
26
|
-
url: string;
|
|
27
|
-
/**
|
|
28
|
-
* IP of the client which performed the request.
|
|
29
|
-
*/
|
|
30
|
-
ip: string;
|
|
31
|
-
/**
|
|
32
|
-
* Request Headers (API Key is obfuscated).
|
|
33
|
-
*/
|
|
34
|
-
query_headers: string;
|
|
35
|
-
/**
|
|
36
|
-
* SHA1 signature of the log entry.
|
|
37
|
-
*/
|
|
38
|
-
sha1: string;
|
|
39
|
-
/**
|
|
40
|
-
* Number of API calls.
|
|
41
|
-
*/
|
|
42
|
-
nb_api_calls: string;
|
|
43
|
-
/**
|
|
44
|
-
* Processing time for the query. It doesn\'t include network time.
|
|
45
|
-
*/
|
|
46
|
-
processing_time_ms: string;
|
|
47
|
-
/**
|
|
48
|
-
* Index targeted by the query.
|
|
49
|
-
*/
|
|
50
|
-
index?: string;
|
|
51
|
-
/**
|
|
52
|
-
* Query parameters sent with the request.
|
|
53
|
-
*/
|
|
54
|
-
query_params?: string;
|
|
55
|
-
/**
|
|
56
|
-
* Number of hits returned for the query.
|
|
57
|
-
*/
|
|
58
|
-
query_nb_hits?: string;
|
|
59
|
-
/**
|
|
60
|
-
* Array of all performed queries for the given request.
|
|
61
|
-
*/
|
|
62
|
-
inner_queries?: LogQuery[];
|
|
63
|
-
};
|
|
1
|
+
import type { LogQuery } from './logQuery';
|
|
2
|
+
export type Log = {
|
|
3
|
+
/**
|
|
4
|
+
* Timestamp in ISO-8601 format.
|
|
5
|
+
*/
|
|
6
|
+
timestamp: string;
|
|
7
|
+
/**
|
|
8
|
+
* HTTP method of the performed request.
|
|
9
|
+
*/
|
|
10
|
+
method: string;
|
|
11
|
+
/**
|
|
12
|
+
* HTTP response code.
|
|
13
|
+
*/
|
|
14
|
+
answer_code: string;
|
|
15
|
+
/**
|
|
16
|
+
* Request body. Truncated after 1000 characters.
|
|
17
|
+
*/
|
|
18
|
+
query_body: string;
|
|
19
|
+
/**
|
|
20
|
+
* Answer body. Truncated after 1000 characters.
|
|
21
|
+
*/
|
|
22
|
+
answer: string;
|
|
23
|
+
/**
|
|
24
|
+
* Request URL.
|
|
25
|
+
*/
|
|
26
|
+
url: string;
|
|
27
|
+
/**
|
|
28
|
+
* IP of the client which performed the request.
|
|
29
|
+
*/
|
|
30
|
+
ip: string;
|
|
31
|
+
/**
|
|
32
|
+
* Request Headers (API Key is obfuscated).
|
|
33
|
+
*/
|
|
34
|
+
query_headers: string;
|
|
35
|
+
/**
|
|
36
|
+
* SHA1 signature of the log entry.
|
|
37
|
+
*/
|
|
38
|
+
sha1: string;
|
|
39
|
+
/**
|
|
40
|
+
* Number of API calls.
|
|
41
|
+
*/
|
|
42
|
+
nb_api_calls: string;
|
|
43
|
+
/**
|
|
44
|
+
* Processing time for the query. It doesn\'t include network time.
|
|
45
|
+
*/
|
|
46
|
+
processing_time_ms: string;
|
|
47
|
+
/**
|
|
48
|
+
* Index targeted by the query.
|
|
49
|
+
*/
|
|
50
|
+
index?: string;
|
|
51
|
+
/**
|
|
52
|
+
* Query parameters sent with the request.
|
|
53
|
+
*/
|
|
54
|
+
query_params?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Number of hits returned for the query.
|
|
57
|
+
*/
|
|
58
|
+
query_nb_hits?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Array of all performed queries for the given request.
|
|
61
|
+
*/
|
|
62
|
+
inner_queries?: LogQuery[];
|
|
63
|
+
};
|
|
64
64
|
//# sourceMappingURL=log.d.ts.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export type LogQuery = {
|
|
2
|
-
/**
|
|
3
|
-
* Index targeted by the query.
|
|
4
|
-
*/
|
|
5
|
-
index_name?: string;
|
|
6
|
-
/**
|
|
7
|
-
* User identifier.
|
|
8
|
-
*/
|
|
9
|
-
user_token?: string;
|
|
10
|
-
/**
|
|
11
|
-
* QueryID for the given query.
|
|
12
|
-
*/
|
|
13
|
-
query_id?: string;
|
|
14
|
-
};
|
|
1
|
+
export type LogQuery = {
|
|
2
|
+
/**
|
|
3
|
+
* Index targeted by the query.
|
|
4
|
+
*/
|
|
5
|
+
index_name?: string;
|
|
6
|
+
/**
|
|
7
|
+
* User identifier.
|
|
8
|
+
*/
|
|
9
|
+
user_token?: string;
|
|
10
|
+
/**
|
|
11
|
+
* QueryID for the given query.
|
|
12
|
+
*/
|
|
13
|
+
query_id?: string;
|
|
14
|
+
};
|
|
15
15
|
//# sourceMappingURL=logQuery.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type LogType = 'all' | 'build' | 'error' | 'query';
|
|
1
|
+
export type LogType = 'all' | 'build' | 'error' | 'query';
|
|
2
2
|
//# sourceMappingURL=logType.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Indicates how well the attribute matched the search query.
|
|
3
|
-
*/
|
|
4
|
-
export type MatchLevel = 'full' | 'none' | 'partial';
|
|
1
|
+
/**
|
|
2
|
+
* Indicates how well the attribute matched the search query.
|
|
3
|
+
*/
|
|
4
|
+
export type MatchLevel = 'full' | 'none' | 'partial';
|
|
5
5
|
//# sourceMappingURL=matchLevel.d.ts.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export type MatchedGeoLocation = {
|
|
2
|
-
/**
|
|
3
|
-
* Latitude of the matched location.
|
|
4
|
-
*/
|
|
5
|
-
lat?: number;
|
|
6
|
-
/**
|
|
7
|
-
* Longitude of the matched location.
|
|
8
|
-
*/
|
|
9
|
-
lng?: number;
|
|
10
|
-
/**
|
|
11
|
-
* Distance between the matched location and the search location (in meters).
|
|
12
|
-
*/
|
|
13
|
-
distance?: number;
|
|
14
|
-
};
|
|
1
|
+
export type MatchedGeoLocation = {
|
|
2
|
+
/**
|
|
3
|
+
* Latitude of the matched location.
|
|
4
|
+
*/
|
|
5
|
+
lat?: number;
|
|
6
|
+
/**
|
|
7
|
+
* Longitude of the matched location.
|
|
8
|
+
*/
|
|
9
|
+
lng?: number;
|
|
10
|
+
/**
|
|
11
|
+
* Distance between the matched location and the search location (in meters).
|
|
12
|
+
*/
|
|
13
|
+
distance?: number;
|
|
14
|
+
};
|
|
15
15
|
//# sourceMappingURL=matchedGeoLocation.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type MixedSearchFilters = string[] | string;
|
|
1
|
+
export type MixedSearchFilters = string[] | string;
|
|
2
2
|
//# sourceMappingURL=mixedSearchFilters.d.ts.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import type { Action } from './action';
|
|
2
|
-
export type MultipleBatchRequest = {
|
|
3
|
-
action: Action;
|
|
4
|
-
/**
|
|
5
|
-
* Arguments to the operation (depends on the type of the operation).
|
|
6
|
-
*/
|
|
7
|
-
body: Record<string, any>;
|
|
8
|
-
/**
|
|
9
|
-
* Index to target for this operation.
|
|
10
|
-
*/
|
|
11
|
-
indexName: string;
|
|
12
|
-
};
|
|
1
|
+
import type { Action } from './action';
|
|
2
|
+
export type MultipleBatchRequest = {
|
|
3
|
+
action: Action;
|
|
4
|
+
/**
|
|
5
|
+
* Arguments to the operation (depends on the type of the operation).
|
|
6
|
+
*/
|
|
7
|
+
body: Record<string, any>;
|
|
8
|
+
/**
|
|
9
|
+
* Index to target for this operation.
|
|
10
|
+
*/
|
|
11
|
+
indexName: string;
|
|
12
|
+
};
|
|
13
13
|
//# sourceMappingURL=multipleBatchRequest.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export type MultipleBatchResponse = {
|
|
2
|
-
/**
|
|
3
|
-
* List of tasksIDs per index.
|
|
4
|
-
*/
|
|
5
|
-
taskID: Record<string, number>;
|
|
6
|
-
/**
|
|
7
|
-
* List of objectID.
|
|
8
|
-
*/
|
|
9
|
-
objectIDs: string[];
|
|
10
|
-
};
|
|
1
|
+
export type MultipleBatchResponse = {
|
|
2
|
+
/**
|
|
3
|
+
* List of tasksIDs per index.
|
|
4
|
+
*/
|
|
5
|
+
taskID: Record<string, number>;
|
|
6
|
+
/**
|
|
7
|
+
* List of objectID.
|
|
8
|
+
*/
|
|
9
|
+
objectIDs: string[];
|
|
10
|
+
};
|
|
11
11
|
//# sourceMappingURL=multipleBatchResponse.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { MixedSearchFilters } from './mixedSearchFilters';
|
|
2
|
-
/**
|
|
3
|
-
* Filter on numeric attributes.
|
|
4
|
-
*/
|
|
5
|
-
export type NumericFilters = MixedSearchFilters[] | string;
|
|
1
|
+
import type { MixedSearchFilters } from './mixedSearchFilters';
|
|
2
|
+
/**
|
|
3
|
+
* Filter on numeric attributes.
|
|
4
|
+
*/
|
|
5
|
+
export type NumericFilters = MixedSearchFilters[] | string;
|
|
6
6
|
//# sourceMappingURL=numericFilters.d.ts.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import type { OperationType } from './operationType';
|
|
2
|
-
import type { ScopeType } from './scopeType';
|
|
3
|
-
export type OperationIndexParams = {
|
|
4
|
-
operation: OperationType;
|
|
5
|
-
/**
|
|
6
|
-
* The Algolia index name.
|
|
7
|
-
*/
|
|
8
|
-
destination: string;
|
|
9
|
-
/**
|
|
10
|
-
* Scope of the data to copy. When absent, a full copy is performed. When present, only the selected scopes are copied.
|
|
11
|
-
*/
|
|
12
|
-
scope?: ScopeType[];
|
|
13
|
-
};
|
|
1
|
+
import type { OperationType } from './operationType';
|
|
2
|
+
import type { ScopeType } from './scopeType';
|
|
3
|
+
export type OperationIndexParams = {
|
|
4
|
+
operation: OperationType;
|
|
5
|
+
/**
|
|
6
|
+
* The Algolia index name.
|
|
7
|
+
*/
|
|
8
|
+
destination: string;
|
|
9
|
+
/**
|
|
10
|
+
* Scope of the data to copy. When absent, a full copy is performed. When present, only the selected scopes are copied.
|
|
11
|
+
*/
|
|
12
|
+
scope?: ScopeType[];
|
|
13
|
+
};
|
|
14
14
|
//# sourceMappingURL=operationIndexParams.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Type of operation to perform (move or copy).
|
|
3
|
-
*/
|
|
4
|
-
export type OperationType = 'copy' | 'move';
|
|
1
|
+
/**
|
|
2
|
+
* Type of operation to perform (move or copy).
|
|
3
|
+
*/
|
|
4
|
+
export type OperationType = 'copy' | 'move';
|
|
5
5
|
//# sourceMappingURL=operationType.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { MixedSearchFilters } from './mixedSearchFilters';
|
|
2
|
-
/**
|
|
3
|
-
* Create filters for ranking purposes, where records that match the filter are ranked higher, or lower in the case of a negative optional filter.
|
|
4
|
-
*/
|
|
5
|
-
export type OptionalFilters = MixedSearchFilters[] | string;
|
|
1
|
+
import type { MixedSearchFilters } from './mixedSearchFilters';
|
|
2
|
+
/**
|
|
3
|
+
* Create filters for ranking purposes, where records that match the filter are ranked higher, or lower in the case of a negative optional filter.
|
|
4
|
+
*/
|
|
5
|
+
export type OptionalFilters = MixedSearchFilters[] | string;
|
|
6
6
|
//# sourceMappingURL=optionalFilters.d.ts.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import type { AutomaticFacetFilters } from './automaticFacetFilters';
|
|
2
|
-
import type { ConsequenceQuery } from './consequenceQuery';
|
|
3
|
-
import type { RenderingContent } from './renderingContent';
|
|
4
|
-
/**
|
|
5
|
-
* Additional search parameters. Any valid search parameter is allowed.
|
|
6
|
-
*/
|
|
7
|
-
export type Params = {
|
|
8
|
-
query?: ConsequenceQuery;
|
|
9
|
-
automaticFacetFilters?: AutomaticFacetFilters;
|
|
10
|
-
automaticOptionalFacetFilters?: AutomaticFacetFilters;
|
|
11
|
-
renderingContent?: RenderingContent;
|
|
12
|
-
};
|
|
1
|
+
import type { AutomaticFacetFilters } from './automaticFacetFilters';
|
|
2
|
+
import type { ConsequenceQuery } from './consequenceQuery';
|
|
3
|
+
import type { RenderingContent } from './renderingContent';
|
|
4
|
+
/**
|
|
5
|
+
* Additional search parameters. Any valid search parameter is allowed.
|
|
6
|
+
*/
|
|
7
|
+
export type Params = {
|
|
8
|
+
query?: ConsequenceQuery;
|
|
9
|
+
automaticFacetFilters?: AutomaticFacetFilters;
|
|
10
|
+
automaticOptionalFacetFilters?: AutomaticFacetFilters;
|
|
11
|
+
renderingContent?: RenderingContent;
|
|
12
|
+
};
|
|
13
13
|
//# sourceMappingURL=params.d.ts.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export type Personalization = {
|
|
2
|
-
/**
|
|
3
|
-
* The score of the filters.
|
|
4
|
-
*/
|
|
5
|
-
filtersScore?: number;
|
|
6
|
-
/**
|
|
7
|
-
* The score of the ranking.
|
|
8
|
-
*/
|
|
9
|
-
rankingScore?: number;
|
|
10
|
-
/**
|
|
11
|
-
* The score of the event.
|
|
12
|
-
*/
|
|
13
|
-
score?: number;
|
|
14
|
-
};
|
|
1
|
+
export type Personalization = {
|
|
2
|
+
/**
|
|
3
|
+
* The score of the filters.
|
|
4
|
+
*/
|
|
5
|
+
filtersScore?: number;
|
|
6
|
+
/**
|
|
7
|
+
* The score of the ranking.
|
|
8
|
+
*/
|
|
9
|
+
rankingScore?: number;
|
|
10
|
+
/**
|
|
11
|
+
* The score of the event.
|
|
12
|
+
*/
|
|
13
|
+
score?: number;
|
|
14
|
+
};
|
|
15
15
|
//# sourceMappingURL=personalization.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { PromoteObjectID } from './promoteObjectID';
|
|
2
|
-
import type { PromoteObjectIDs } from './promoteObjectIDs';
|
|
3
|
-
export type Promote = PromoteObjectID | PromoteObjectIDs;
|
|
1
|
+
import type { PromoteObjectID } from './promoteObjectID';
|
|
2
|
+
import type { PromoteObjectIDs } from './promoteObjectIDs';
|
|
3
|
+
export type Promote = PromoteObjectID | PromoteObjectIDs;
|
|
4
4
|
//# sourceMappingURL=promote.d.ts.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Single objectID to promote as hits.
|
|
3
|
-
*/
|
|
4
|
-
export type PromoteObjectID = {
|
|
5
|
-
/**
|
|
6
|
-
* Unique identifier of the object to promote.
|
|
7
|
-
*/
|
|
8
|
-
objectID: string;
|
|
9
|
-
/**
|
|
10
|
-
* The position to promote the objects to (zero-based). If you pass objectIDs, the objects are placed at this position as a group. For example, if you pass four objectIDs to position 0, the objects take the first four positions.
|
|
11
|
-
*/
|
|
12
|
-
position: number;
|
|
13
|
-
};
|
|
1
|
+
/**
|
|
2
|
+
* Single objectID to promote as hits.
|
|
3
|
+
*/
|
|
4
|
+
export type PromoteObjectID = {
|
|
5
|
+
/**
|
|
6
|
+
* Unique identifier of the object to promote.
|
|
7
|
+
*/
|
|
8
|
+
objectID: string;
|
|
9
|
+
/**
|
|
10
|
+
* The position to promote the objects to (zero-based). If you pass objectIDs, the objects are placed at this position as a group. For example, if you pass four objectIDs to position 0, the objects take the first four positions.
|
|
11
|
+
*/
|
|
12
|
+
position: number;
|
|
13
|
+
};
|
|
14
14
|
//# sourceMappingURL=promoteObjectID.d.ts.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Multiple objectIDs to promote as hits.
|
|
3
|
-
*/
|
|
4
|
-
export type PromoteObjectIDs = {
|
|
5
|
-
/**
|
|
6
|
-
* Array of unique identifiers of the objects to promote.
|
|
7
|
-
*/
|
|
8
|
-
objectIDs: string[];
|
|
9
|
-
/**
|
|
10
|
-
* The position to promote the objects to (zero-based). If you pass objectIDs, the objects are placed at this position as a group. For example, if you pass four objectIDs to position 0, the objects take the first four positions.
|
|
11
|
-
*/
|
|
12
|
-
position: number;
|
|
13
|
-
};
|
|
1
|
+
/**
|
|
2
|
+
* Multiple objectIDs to promote as hits.
|
|
3
|
+
*/
|
|
4
|
+
export type PromoteObjectIDs = {
|
|
5
|
+
/**
|
|
6
|
+
* Array of unique identifiers of the objects to promote.
|
|
7
|
+
*/
|
|
8
|
+
objectIDs: string[];
|
|
9
|
+
/**
|
|
10
|
+
* The position to promote the objects to (zero-based). If you pass objectIDs, the objects are placed at this position as a group. For example, if you pass four objectIDs to position 0, the objects take the first four positions.
|
|
11
|
+
*/
|
|
12
|
+
position: number;
|
|
13
|
+
};
|
|
14
14
|
//# sourceMappingURL=promoteObjectIDs.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Controls if and how query words are interpreted as prefixes.
|
|
3
|
-
*/
|
|
4
|
-
export type QueryType = 'prefixAll' | 'prefixLast' | 'prefixNone';
|
|
1
|
+
/**
|
|
2
|
+
* Controls if and how query words are interpreted as prefixes.
|
|
3
|
+
*/
|
|
4
|
+
export type QueryType = 'prefixAll' | 'prefixLast' | 'prefixNone';
|
|
5
5
|
//# sourceMappingURL=queryType.d.ts.map
|
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
import type { MatchedGeoLocation } from './matchedGeoLocation';
|
|
2
|
-
import type { Personalization } from './personalization';
|
|
3
|
-
export type RankingInfo = {
|
|
4
|
-
/**
|
|
5
|
-
* This field is reserved for advanced usage.
|
|
6
|
-
*/
|
|
7
|
-
filters: number;
|
|
8
|
-
/**
|
|
9
|
-
* Position of the most important matched attribute in the attributes to index list.
|
|
10
|
-
*/
|
|
11
|
-
firstMatchedWord: number;
|
|
12
|
-
/**
|
|
13
|
-
* Distance between the geo location in the search query and the best matching geo location in the record, divided by the geo precision (in meters).
|
|
14
|
-
*/
|
|
15
|
-
geoDistance: number;
|
|
16
|
-
/**
|
|
17
|
-
* Precision used when computing the geo distance, in meters.
|
|
18
|
-
*/
|
|
19
|
-
geoPrecision?: number;
|
|
20
|
-
matchedGeoLocation?: MatchedGeoLocation;
|
|
21
|
-
personalization?: Personalization;
|
|
22
|
-
/**
|
|
23
|
-
* Number of exactly matched words.
|
|
24
|
-
*/
|
|
25
|
-
nbExactWords: number;
|
|
26
|
-
/**
|
|
27
|
-
* Number of typos encountered when matching the record.
|
|
28
|
-
*/
|
|
29
|
-
nbTypos: number;
|
|
30
|
-
/**
|
|
31
|
-
* Present and set to true if a Rule promoted the hit.
|
|
32
|
-
*/
|
|
33
|
-
promoted: boolean;
|
|
34
|
-
/**
|
|
35
|
-
* When the query contains more than one word, the sum of the distances between matched words (in meters).
|
|
36
|
-
*/
|
|
37
|
-
proximityDistance?: number;
|
|
38
|
-
/**
|
|
39
|
-
* Custom ranking for the object, expressed as a single integer value.
|
|
40
|
-
*/
|
|
41
|
-
userScore: number;
|
|
42
|
-
/**
|
|
43
|
-
* Number of matched words, including prefixes and typos.
|
|
44
|
-
*/
|
|
45
|
-
words: number;
|
|
46
|
-
/**
|
|
47
|
-
* Wether the record are promoted by the re-ranking strategy.
|
|
48
|
-
*/
|
|
49
|
-
promotedByReRanking?: boolean;
|
|
50
|
-
};
|
|
1
|
+
import type { MatchedGeoLocation } from './matchedGeoLocation';
|
|
2
|
+
import type { Personalization } from './personalization';
|
|
3
|
+
export type RankingInfo = {
|
|
4
|
+
/**
|
|
5
|
+
* This field is reserved for advanced usage.
|
|
6
|
+
*/
|
|
7
|
+
filters: number;
|
|
8
|
+
/**
|
|
9
|
+
* Position of the most important matched attribute in the attributes to index list.
|
|
10
|
+
*/
|
|
11
|
+
firstMatchedWord: number;
|
|
12
|
+
/**
|
|
13
|
+
* Distance between the geo location in the search query and the best matching geo location in the record, divided by the geo precision (in meters).
|
|
14
|
+
*/
|
|
15
|
+
geoDistance: number;
|
|
16
|
+
/**
|
|
17
|
+
* Precision used when computing the geo distance, in meters.
|
|
18
|
+
*/
|
|
19
|
+
geoPrecision?: number;
|
|
20
|
+
matchedGeoLocation?: MatchedGeoLocation;
|
|
21
|
+
personalization?: Personalization;
|
|
22
|
+
/**
|
|
23
|
+
* Number of exactly matched words.
|
|
24
|
+
*/
|
|
25
|
+
nbExactWords: number;
|
|
26
|
+
/**
|
|
27
|
+
* Number of typos encountered when matching the record.
|
|
28
|
+
*/
|
|
29
|
+
nbTypos: number;
|
|
30
|
+
/**
|
|
31
|
+
* Present and set to true if a Rule promoted the hit.
|
|
32
|
+
*/
|
|
33
|
+
promoted: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* When the query contains more than one word, the sum of the distances between matched words (in meters).
|
|
36
|
+
*/
|
|
37
|
+
proximityDistance?: number;
|
|
38
|
+
/**
|
|
39
|
+
* Custom ranking for the object, expressed as a single integer value.
|
|
40
|
+
*/
|
|
41
|
+
userScore: number;
|
|
42
|
+
/**
|
|
43
|
+
* Number of matched words, including prefixes and typos.
|
|
44
|
+
*/
|
|
45
|
+
words: number;
|
|
46
|
+
/**
|
|
47
|
+
* Wether the record are promoted by the re-ranking strategy.
|
|
48
|
+
*/
|
|
49
|
+
promotedByReRanking?: boolean;
|
|
50
|
+
};
|
|
51
51
|
//# sourceMappingURL=rankingInfo.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { MixedSearchFilters } from './mixedSearchFilters';
|
|
2
|
-
/**
|
|
3
|
-
* When Dynamic Re-Ranking is enabled, only records that match these filters will be impacted by Dynamic Re-Ranking.
|
|
4
|
-
*/
|
|
5
|
-
export type ReRankingApplyFilter = MixedSearchFilters[] | string;
|
|
1
|
+
import type { MixedSearchFilters } from './mixedSearchFilters';
|
|
2
|
+
/**
|
|
3
|
+
* When Dynamic Re-Ranking is enabled, only records that match these filters will be impacted by Dynamic Re-Ranking.
|
|
4
|
+
*/
|
|
5
|
+
export type ReRankingApplyFilter = MixedSearchFilters[] | string;
|
|
6
6
|
//# sourceMappingURL=reRankingApplyFilter.d.ts.map
|