algoliasearch 5.0.0-alpha.73 → 5.0.0-alpha.76
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.cjs.js +342 -340
- package/dist/algoliasearch.esm.browser.js +342 -338
- package/dist/algoliasearch.esm.node.js +342 -338
- package/dist/algoliasearch.umd.js +2 -2
- package/dist/builds/browser.d.ts +2 -2
- package/dist/builds/node.d.ts +2 -2
- package/dist/client-abtesting/model/aBTest.d.ts +8 -12
- package/dist/client-abtesting/model/aBTest.d.ts.map +1 -1
- package/dist/client-abtesting/model/aBTestResponse.d.ts +3 -3
- package/dist/client-abtesting/model/abTestsVariant.d.ts +3 -3
- package/dist/client-abtesting/model/addABTestsRequest.d.ts +3 -3
- package/dist/client-abtesting/model/addABTestsRequest.d.ts.map +1 -1
- package/dist/client-abtesting/model/clientMethodProps.d.ts +16 -16
- package/dist/client-abtesting/model/customSearchParams.d.ts +3 -0
- package/dist/client-abtesting/model/customSearchParams.d.ts.map +1 -1
- package/dist/client-abtesting/model/listABTestsResponse.d.ts +3 -3
- package/dist/client-abtesting/model/variant.d.ts +14 -14
- package/dist/client-abtesting/src/abtestingClient.d.ts +27 -27
- package/dist/client-analytics/model/averageClickEvent.d.ts +3 -3
- package/dist/client-analytics/model/clickPosition.d.ts +2 -2
- package/dist/client-analytics/model/clickThroughRateEvent.d.ts +4 -4
- package/dist/client-analytics/model/clientMethodProps.d.ts +91 -91
- package/dist/client-analytics/model/conversionRateEvent.d.ts +4 -4
- package/dist/client-analytics/model/getAverageClickPositionResponse.d.ts +3 -3
- package/dist/client-analytics/model/getClickPositionsResponse.d.ts +1 -1
- package/dist/client-analytics/model/getClickThroughRateResponse.d.ts +4 -4
- package/dist/client-analytics/model/getConversationRateResponse.d.ts +4 -4
- package/dist/client-analytics/model/getNoClickRateResponse.d.ts +4 -4
- package/dist/client-analytics/model/getNoResultsRateResponse.d.ts +4 -4
- package/dist/client-analytics/model/getSearchesCountResponse.d.ts +2 -2
- package/dist/client-analytics/model/getSearchesNoClicksResponse.d.ts +1 -1
- package/dist/client-analytics/model/getSearchesNoResultsResponse.d.ts +1 -1
- package/dist/client-analytics/model/getStatusResponse.d.ts +1 -1
- package/dist/client-analytics/model/getTopCountriesResponse.d.ts +1 -1
- package/dist/client-analytics/model/getTopFilterAttribute.d.ts +2 -2
- package/dist/client-analytics/model/getTopFilterAttributesResponse.d.ts +1 -1
- package/dist/client-analytics/model/getTopFilterForAttribute.d.ts +4 -4
- package/dist/client-analytics/model/getTopFilterForAttributeResponse.d.ts +1 -1
- package/dist/client-analytics/model/getTopFiltersNoResultsResponse.d.ts +1 -1
- package/dist/client-analytics/model/getTopFiltersNoResultsValue.d.ts +3 -3
- package/dist/client-analytics/model/getTopFiltersNoResultsValues.d.ts +2 -2
- package/dist/client-analytics/model/getUsersCountResponse.d.ts +2 -2
- package/dist/client-analytics/model/noClickRateEvent.d.ts +4 -4
- package/dist/client-analytics/model/noResultsRateEvent.d.ts +4 -4
- package/dist/client-analytics/model/orderBy.d.ts +3 -0
- package/dist/client-analytics/model/orderBy.d.ts.map +1 -1
- package/dist/client-analytics/model/searchEvent.d.ts +2 -2
- package/dist/client-analytics/model/searchNoClickEvent.d.ts +3 -3
- package/dist/client-analytics/model/searchNoResultEvent.d.ts +3 -3
- package/dist/client-analytics/model/topCountry.d.ts +2 -2
- package/dist/client-analytics/model/topHit.d.ts +2 -2
- package/dist/client-analytics/model/topHitWithAnalytics.d.ts +7 -7
- package/dist/client-analytics/model/topHitsResponse.d.ts +1 -1
- package/dist/client-analytics/model/topHitsResponseWithAnalytics.d.ts +1 -1
- package/dist/client-analytics/model/topSearch.d.ts +3 -3
- package/dist/client-analytics/model/topSearchWithAnalytics.d.ts +9 -9
- package/dist/client-analytics/model/topSearchesResponse.d.ts +1 -1
- package/dist/client-analytics/model/topSearchesResponseWithAnalytics.d.ts +1 -1
- package/dist/client-analytics/model/userWithDate.d.ts +2 -2
- package/dist/client-analytics/src/analyticsClient.d.ts +114 -114
- package/dist/client-personalization/model/clientMethodProps.d.ts +10 -10
- package/dist/client-personalization/src/personalizationClient.d.ts +11 -11
- package/dist/client-search/model/acl.d.ts +1 -1
- package/dist/client-search/model/action.d.ts +1 -1
- package/dist/client-search/model/addApiKeyResponse.d.ts +2 -2
- package/dist/client-search/model/anchoring.d.ts +1 -1
- package/dist/client-search/model/apiKey.d.ts +9 -9
- package/dist/client-search/model/aroundRadius.d.ts +1 -1
- package/dist/client-search/model/assignUserIdParams.d.ts +1 -1
- package/dist/client-search/model/baseGetApiKeyResponse.d.ts +2 -2
- package/dist/client-search/model/baseIndexSettings.d.ts +14 -14
- package/dist/client-search/model/baseSearchParamsWithoutQuery.d.ts +25 -25
- package/dist/client-search/model/baseSearchResponse.d.ts +20 -20
- package/dist/client-search/model/baseSearchResponseRedirect.d.ts +1 -1
- package/dist/client-search/model/batchAssignUserIdsParams.d.ts +2 -2
- package/dist/client-search/model/batchDictionaryEntriesParams.d.ts +3 -3
- package/dist/client-search/model/batchParams.d.ts +1 -1
- package/dist/client-search/model/batchRequest.d.ts +1 -1
- package/dist/client-search/model/batchResponse.d.ts +2 -2
- package/dist/client-search/model/batchWriteParams.d.ts +1 -1
- package/dist/client-search/model/builtInOperation.d.ts +1 -1
- package/dist/client-search/model/builtInOperationType.d.ts +1 -1
- package/dist/client-search/model/clientMethodProps.d.ts +88 -84
- package/dist/client-search/model/clientMethodProps.d.ts.map +1 -1
- package/dist/client-search/model/consequence.d.ts +4 -4
- package/dist/client-search/model/consequenceHide.d.ts +2 -2
- package/dist/client-search/model/createdAtResponse.d.ts +2 -2
- package/dist/client-search/model/cursor.d.ts +1 -1
- package/dist/client-search/model/deleteApiKeyResponse.d.ts +1 -1
- package/dist/client-search/model/deleteByParams.d.ts +4 -4
- package/dist/client-search/model/deleteSourceResponse.d.ts +1 -1
- package/dist/client-search/model/deletedAtResponse.d.ts +3 -3
- package/dist/client-search/model/dictionaryEntry.d.ts +6 -6
- package/dist/client-search/model/dictionaryEntryState.d.ts +1 -1
- package/dist/client-search/model/dictionaryLanguage.d.ts +2 -2
- package/dist/client-search/model/dictionarySettingsParams.d.ts +1 -1
- package/dist/client-search/model/distinct.d.ts +1 -1
- package/dist/client-search/model/exactOnSingleWordQuery.d.ts +1 -1
- package/dist/client-search/model/facetFilters.d.ts +1 -1
- package/dist/client-search/model/facetHits.d.ts +3 -3
- package/dist/client-search/model/facetOrdering.d.ts +2 -2
- package/dist/client-search/model/facets.d.ts +1 -1
- package/dist/client-search/model/facetsStats.d.ts +4 -4
- package/dist/client-search/model/fetchedIndex.d.ts +1 -1
- package/dist/client-search/model/getObjectsParams.d.ts +1 -1
- package/dist/client-search/model/getObjectsRequest.d.ts +4 -4
- package/dist/client-search/model/getObjectsResponse.d.ts +1 -1
- package/dist/client-search/model/getTopUserIdsResponse.d.ts +2 -2
- package/dist/client-search/model/hasPendingMappingsResponse.d.ts +2 -2
- package/dist/client-search/model/highlightResultOption.d.ts +1 -1
- package/dist/client-search/model/hit.d.ts +1 -1
- package/dist/client-search/model/ignorePlurals.d.ts +1 -1
- package/dist/client-search/model/index.d.ts +1 -0
- package/dist/client-search/model/index.d.ts.map +1 -1
- package/dist/client-search/model/indexSettings.d.ts +1 -1
- package/dist/client-search/model/indexSettingsAsSearchParams.d.ts +30 -30
- package/dist/client-search/model/indexSettingsAsSearchParamsSemanticSearch.d.ts +2 -2
- package/dist/client-search/model/languages.d.ts +1 -1
- package/dist/client-search/model/listApiKeysResponse.d.ts +1 -1
- package/dist/client-search/model/listClustersResponse.d.ts +2 -2
- package/dist/client-search/model/listIndicesResponse.d.ts +1 -1
- package/dist/client-search/model/listUserIdsResponse.d.ts +2 -2
- package/dist/client-search/model/log.d.ts +7 -7
- package/dist/client-search/model/logQuery.d.ts +1 -1
- package/dist/client-search/model/mode.d.ts +1 -1
- package/dist/client-search/model/multipleBatchRequest.d.ts +1 -1
- package/dist/client-search/model/multipleBatchResponse.d.ts +2 -2
- package/dist/client-search/model/numericFilters.d.ts +1 -1
- package/dist/client-search/model/operationIndexParams.d.ts +2 -2
- package/dist/client-search/model/operationType.d.ts +1 -1
- package/dist/client-search/model/optionalFilters.d.ts +1 -1
- package/dist/client-search/model/params.d.ts +1 -1
- package/dist/client-search/model/promoteObjectID.d.ts +3 -3
- package/dist/client-search/model/promoteObjectIDs.d.ts +3 -3
- package/dist/client-search/model/queryType.d.ts +1 -1
- package/dist/client-search/model/reRankingApplyFilter.d.ts +1 -1
- package/dist/client-search/model/redirectRuleIndexMetadata.d.ts +1 -1
- package/dist/client-search/model/redirectRuleIndexMetadataData.d.ts +1 -1
- package/dist/client-search/model/removeStopWords.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/renderingContent.d.ts +1 -1
- package/dist/client-search/model/replaceSourceResponse.d.ts +1 -1
- package/dist/client-search/model/rule.d.ts +5 -5
- package/dist/client-search/model/saveObjectResponse.d.ts +5 -2
- package/dist/client-search/model/saveObjectResponse.d.ts.map +1 -1
- package/dist/client-search/model/saveSynonymResponse.d.ts +3 -3
- package/dist/client-search/model/searchDictionaryEntriesParams.d.ts +5 -5
- package/dist/client-search/model/searchForFacetValuesRequest.d.ts +2 -2
- package/dist/client-search/model/searchForFacetsOptions.d.ts +3 -3
- package/dist/client-search/model/searchForHitsOptions.d.ts +1 -1
- package/dist/client-search/model/searchParamsQuery.d.ts +1 -1
- package/dist/client-search/model/searchParamsString.d.ts +1 -1
- package/dist/client-search/model/searchResponses.d.ts +2 -2
- package/dist/client-search/model/searchResponses.d.ts.map +1 -1
- package/dist/client-search/model/searchResult.d.ts +4 -0
- package/dist/client-search/model/searchResult.d.ts.map +1 -0
- package/dist/client-search/model/searchRulesParams.d.ts +7 -7
- package/dist/client-search/model/searchStrategy.d.ts +3 -0
- package/dist/client-search/model/searchStrategy.d.ts.map +1 -1
- package/dist/client-search/model/searchSynonymsParams.d.ts +1 -1
- package/dist/client-search/model/searchSynonymsResponse.d.ts +2 -2
- package/dist/client-search/model/searchTypeDefault.d.ts +1 -1
- package/dist/client-search/model/searchTypeFacet.d.ts +1 -1
- package/dist/client-search/model/searchUserIdsParams.d.ts +4 -4
- package/dist/client-search/model/searchUserIdsResponse.d.ts +5 -5
- package/dist/client-search/model/snippetResultOption.d.ts +1 -1
- package/dist/client-search/model/sortRemainingBy.d.ts +1 -1
- package/dist/client-search/model/source.d.ts +3 -3
- package/dist/client-search/model/standardEntries.d.ts +4 -4
- package/dist/client-search/model/synonymHit.d.ts +6 -6
- package/dist/client-search/model/synonymType.d.ts +1 -1
- package/dist/client-search/model/tagFilters.d.ts +1 -1
- package/dist/client-search/model/taskStatus.d.ts +3 -0
- package/dist/client-search/model/taskStatus.d.ts.map +1 -1
- package/dist/client-search/model/typoTolerance.d.ts +1 -1
- package/dist/client-search/model/updateApiKeyResponse.d.ts +2 -2
- package/dist/client-search/model/updatedAtResponse.d.ts +3 -3
- package/dist/client-search/model/updatedAtWithObjectIdResponse.d.ts +4 -4
- package/dist/client-search/model/updatedRuleResponse.d.ts +3 -3
- package/dist/client-search/model/userHit.d.ts +1 -1
- package/dist/client-search/model/userId.d.ts +2 -2
- package/dist/client-search/src/searchClient.d.ts +185 -184
- package/dist/client-search/src/searchClient.d.ts.map +1 -1
- package/dist/lite/lite.cjs.js +6 -8
- package/dist/lite/lite.esm.browser.js +6 -6
- package/dist/lite/lite.esm.node.js +6 -6
- package/dist/lite/lite.umd.js +2 -2
- package/dist/lite/model/acl.d.ts +1 -1
- package/dist/lite/model/action.d.ts +1 -1
- package/dist/lite/model/addApiKeyResponse.d.ts +2 -2
- package/dist/lite/model/anchoring.d.ts +1 -1
- package/dist/lite/model/apiKey.d.ts +9 -9
- package/dist/lite/model/aroundRadius.d.ts +1 -1
- package/dist/lite/model/baseGetApiKeyResponse.d.ts +2 -2
- package/dist/lite/model/baseIndexSettings.d.ts +14 -14
- package/dist/lite/model/baseSearchParamsWithoutQuery.d.ts +25 -25
- package/dist/lite/model/baseSearchResponse.d.ts +20 -20
- package/dist/lite/model/baseSearchResponseRedirect.d.ts +1 -1
- package/dist/lite/model/builtInOperation.d.ts +1 -1
- package/dist/lite/model/builtInOperationType.d.ts +1 -1
- package/dist/lite/model/clientMethodProps.d.ts +3 -3
- package/dist/lite/model/consequence.d.ts +4 -4
- package/dist/lite/model/consequenceHide.d.ts +2 -2
- package/dist/lite/model/cursor.d.ts +1 -1
- package/dist/lite/model/deleteByParams.d.ts +4 -4
- package/dist/lite/model/dictionaryEntry.d.ts +6 -6
- package/dist/lite/model/dictionaryEntryState.d.ts +1 -1
- package/dist/lite/model/dictionaryLanguage.d.ts +2 -2
- package/dist/lite/model/distinct.d.ts +1 -1
- package/dist/lite/model/exactOnSingleWordQuery.d.ts +1 -1
- package/dist/lite/model/facetFilters.d.ts +1 -1
- package/dist/lite/model/facetHits.d.ts +15 -0
- package/dist/lite/model/facetHits.d.ts.map +1 -0
- package/dist/lite/model/facetOrdering.d.ts +2 -2
- package/dist/lite/model/facets.d.ts +1 -1
- package/dist/lite/model/facetsStats.d.ts +4 -4
- package/dist/lite/model/fetchedIndex.d.ts +1 -1
- package/dist/lite/model/highlightResultOption.d.ts +1 -1
- package/dist/lite/model/hit.d.ts +1 -1
- package/dist/lite/model/ignorePlurals.d.ts +1 -1
- package/dist/lite/model/index.d.ts +3 -0
- package/dist/lite/model/index.d.ts.map +1 -1
- package/dist/lite/model/indexSettings.d.ts +1 -1
- package/dist/lite/model/indexSettingsAsSearchParams.d.ts +30 -30
- package/dist/lite/model/indexSettingsAsSearchParamsSemanticSearch.d.ts +2 -2
- package/dist/lite/model/languages.d.ts +1 -1
- package/dist/lite/model/listIndicesResponse.d.ts +1 -1
- package/dist/lite/model/mode.d.ts +1 -1
- package/dist/lite/model/numericFilters.d.ts +1 -1
- package/dist/lite/model/operationType.d.ts +1 -1
- package/dist/lite/model/optionalFilters.d.ts +1 -1
- package/dist/lite/model/params.d.ts +1 -1
- package/dist/lite/model/promoteObjectID.d.ts +3 -3
- package/dist/lite/model/promoteObjectIDs.d.ts +3 -3
- package/dist/lite/model/queryType.d.ts +1 -1
- package/dist/lite/model/reRankingApplyFilter.d.ts +1 -1
- package/dist/lite/model/redirectRuleIndexMetadata.d.ts +1 -1
- package/dist/lite/model/redirectRuleIndexMetadataData.d.ts +1 -1
- package/dist/lite/model/removeStopWords.d.ts +1 -1
- package/dist/lite/model/removeWordsIfNoResults.d.ts +1 -1
- package/dist/lite/model/renderingContent.d.ts +1 -1
- package/dist/lite/model/rule.d.ts +5 -5
- package/dist/lite/model/searchForFacetValuesResponse.d.ts +5 -0
- package/dist/lite/model/searchForFacetValuesResponse.d.ts.map +1 -0
- package/dist/lite/model/searchForFacetsOptions.d.ts +3 -3
- package/dist/lite/model/searchForHitsOptions.d.ts +1 -1
- package/dist/lite/model/searchParamsQuery.d.ts +1 -1
- package/dist/lite/model/searchParamsString.d.ts +1 -1
- package/dist/lite/model/searchResponses.d.ts +2 -2
- package/dist/lite/model/searchResponses.d.ts.map +1 -1
- package/dist/lite/model/searchResult.d.ts +4 -0
- package/dist/lite/model/searchResult.d.ts.map +1 -0
- package/dist/lite/model/searchStrategy.d.ts +3 -0
- package/dist/lite/model/searchStrategy.d.ts.map +1 -1
- package/dist/lite/model/searchSynonymsResponse.d.ts +2 -2
- package/dist/lite/model/searchTypeDefault.d.ts +1 -1
- package/dist/lite/model/searchTypeFacet.d.ts +1 -1
- package/dist/lite/model/snippetResultOption.d.ts +1 -1
- package/dist/lite/model/sortRemainingBy.d.ts +1 -1
- package/dist/lite/model/source.d.ts +3 -3
- package/dist/lite/model/standardEntries.d.ts +4 -4
- package/dist/lite/model/synonymHit.d.ts +6 -6
- package/dist/lite/model/synonymType.d.ts +1 -1
- package/dist/lite/model/tagFilters.d.ts +1 -1
- package/dist/lite/model/taskStatus.d.ts +3 -0
- package/dist/lite/model/taskStatus.d.ts.map +1 -1
- package/dist/lite/model/typoTolerance.d.ts +1 -1
- package/dist/lite/model/updatedRuleResponse.d.ts +3 -3
- package/dist/lite/model/userId.d.ts +2 -2
- package/dist/lite/src/liteClient.d.ts +6 -6
- package/lite/model/acl.ts +1 -1
- package/lite/model/action.ts +1 -1
- package/lite/model/addApiKeyResponse.ts +2 -2
- package/lite/model/anchoring.ts +1 -1
- package/lite/model/apiKey.ts +9 -9
- package/lite/model/aroundRadius.ts +1 -1
- package/lite/model/baseGetApiKeyResponse.ts +2 -2
- package/lite/model/baseIndexSettings.ts +14 -14
- package/lite/model/baseSearchParamsWithoutQuery.ts +25 -25
- package/lite/model/baseSearchResponse.ts +20 -20
- package/lite/model/baseSearchResponseRedirect.ts +1 -1
- package/lite/model/builtInOperation.ts +1 -1
- package/lite/model/builtInOperationType.ts +1 -1
- package/lite/model/clientMethodProps.ts +3 -3
- package/lite/model/consequence.ts +4 -4
- package/lite/model/consequenceHide.ts +2 -2
- package/lite/model/cursor.ts +1 -1
- package/lite/model/deleteByParams.ts +4 -4
- package/lite/model/dictionaryEntry.ts +6 -6
- package/lite/model/dictionaryEntryState.ts +1 -1
- package/lite/model/dictionaryLanguage.ts +2 -2
- package/lite/model/distinct.ts +1 -1
- package/lite/model/exactOnSingleWordQuery.ts +1 -1
- package/lite/model/facetFilters.ts +1 -1
- package/lite/model/facetHits.ts +18 -0
- package/lite/model/facetOrdering.ts +2 -2
- package/lite/model/facets.ts +1 -1
- package/lite/model/facetsStats.ts +4 -4
- package/lite/model/fetchedIndex.ts +1 -1
- package/lite/model/highlightResultOption.ts +1 -1
- package/lite/model/hit.ts +1 -1
- package/lite/model/ignorePlurals.ts +1 -1
- package/lite/model/index.ts +3 -0
- package/lite/model/indexSettings.ts +1 -1
- package/lite/model/indexSettingsAsSearchParams.ts +30 -30
- package/lite/model/indexSettingsAsSearchParamsSemanticSearch.ts +2 -2
- package/lite/model/languages.ts +1 -1
- package/lite/model/listIndicesResponse.ts +1 -1
- package/lite/model/mode.ts +1 -1
- package/lite/model/numericFilters.ts +1 -1
- package/lite/model/operationType.ts +1 -1
- package/lite/model/optionalFilters.ts +1 -1
- package/lite/model/params.ts +1 -1
- package/lite/model/promoteObjectID.ts +3 -3
- package/lite/model/promoteObjectIDs.ts +3 -3
- package/lite/model/queryType.ts +1 -1
- package/lite/model/reRankingApplyFilter.ts +1 -1
- package/lite/model/redirectRuleIndexMetadata.ts +1 -1
- package/lite/model/redirectRuleIndexMetadataData.ts +1 -1
- package/lite/model/removeStopWords.ts +1 -1
- package/lite/model/removeWordsIfNoResults.ts +1 -1
- package/lite/model/renderingContent.ts +1 -1
- package/lite/model/rule.ts +5 -5
- package/lite/model/searchForFacetValuesResponse.ts +7 -0
- package/lite/model/searchForFacetsOptions.ts +3 -3
- package/lite/model/searchForHitsOptions.ts +1 -1
- package/lite/model/searchParamsQuery.ts +1 -1
- package/lite/model/searchParamsString.ts +1 -1
- package/lite/model/searchResponses.ts +2 -2
- package/lite/model/searchResult.ts +8 -0
- package/lite/model/searchStrategy.ts +3 -0
- package/lite/model/searchSynonymsResponse.ts +2 -2
- package/lite/model/searchTypeDefault.ts +1 -1
- package/lite/model/searchTypeFacet.ts +1 -1
- package/lite/model/snippetResultOption.ts +1 -1
- package/lite/model/sortRemainingBy.ts +1 -1
- package/lite/model/source.ts +3 -3
- package/lite/model/standardEntries.ts +4 -4
- package/lite/model/synonymHit.ts +6 -6
- package/lite/model/synonymType.ts +1 -1
- package/lite/model/tagFilters.ts +1 -1
- package/lite/model/taskStatus.ts +3 -0
- package/lite/model/typoTolerance.ts +1 -1
- package/lite/model/updatedRuleResponse.ts +3 -3
- package/lite/model/userId.ts +2 -2
- package/lite/src/liteClient.ts +6 -6
- package/package.json +15 -14
|
@@ -6,42 +6,42 @@ import type { RenderingContent } from './renderingContent';
|
|
|
6
6
|
|
|
7
7
|
export type BaseSearchResponse = {
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* A/B test ID. This is only included in the response for indices that are part of an A/B test.
|
|
10
10
|
*/
|
|
11
11
|
abTestID?: number;
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Variant ID. This is only included in the response for indices that are part of an A/B test.
|
|
15
15
|
*/
|
|
16
16
|
abTestVariantID?: number;
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Computed geographical location.
|
|
20
20
|
*/
|
|
21
21
|
aroundLatLng?: string;
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
* Automatically-computed radius.
|
|
25
25
|
*/
|
|
26
26
|
automaticRadius?: string;
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* Indicates whether the facet count is exhaustive (exact) or approximate.
|
|
30
30
|
*/
|
|
31
31
|
exhaustiveFacetsCount?: boolean;
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
34
|
+
* Indicates whether the number of hits `nbHits` is exhaustive (exact) or approximate.
|
|
35
35
|
*/
|
|
36
36
|
exhaustiveNbHits: boolean;
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
39
|
+
* Indicates whether the search for typos was exhaustive (exact) or approximate.
|
|
40
40
|
*/
|
|
41
41
|
exhaustiveTypo?: boolean;
|
|
42
42
|
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* Mapping of each facet name to the corresponding facet counts.
|
|
45
45
|
*/
|
|
46
46
|
facets?: Record<string, Record<string, number>>;
|
|
47
47
|
|
|
@@ -51,7 +51,7 @@ export type BaseSearchResponse = {
|
|
|
51
51
|
facets_stats?: Record<string, FacetsStats>;
|
|
52
52
|
|
|
53
53
|
/**
|
|
54
|
-
*
|
|
54
|
+
* Number of hits per page.
|
|
55
55
|
*/
|
|
56
56
|
hitsPerPage: number;
|
|
57
57
|
|
|
@@ -61,44 +61,44 @@ export type BaseSearchResponse = {
|
|
|
61
61
|
index?: string;
|
|
62
62
|
|
|
63
63
|
/**
|
|
64
|
-
* Index name used for the query.
|
|
64
|
+
* Index name used for the query. During A/B testing, the targeted index isn\'t always the index used by the query.
|
|
65
65
|
*/
|
|
66
66
|
indexUsed?: string;
|
|
67
67
|
|
|
68
68
|
/**
|
|
69
|
-
*
|
|
69
|
+
* Warnings about the query.
|
|
70
70
|
*/
|
|
71
71
|
message?: string;
|
|
72
72
|
|
|
73
73
|
/**
|
|
74
|
-
* Number of hits
|
|
74
|
+
* Number of hits the search query matched.
|
|
75
75
|
*/
|
|
76
76
|
nbHits: number;
|
|
77
77
|
|
|
78
78
|
/**
|
|
79
|
-
* Number of pages
|
|
79
|
+
* Number of pages of results for the current query.
|
|
80
80
|
*/
|
|
81
81
|
nbPages: number;
|
|
82
82
|
|
|
83
83
|
/**
|
|
84
|
-
*
|
|
84
|
+
* Number of hits selected and sorted by the relevant sort algorithm.
|
|
85
85
|
*/
|
|
86
86
|
nbSortedHits?: number;
|
|
87
87
|
|
|
88
88
|
/**
|
|
89
|
-
*
|
|
89
|
+
* Page to retrieve (the first page is `0`, not `1`).
|
|
90
90
|
*/
|
|
91
91
|
page: number;
|
|
92
92
|
|
|
93
93
|
/**
|
|
94
|
-
*
|
|
94
|
+
* URL-encoded string of all search parameters.
|
|
95
95
|
*/
|
|
96
96
|
params: string;
|
|
97
97
|
|
|
98
98
|
redirect?: BaseSearchResponseRedirect;
|
|
99
99
|
|
|
100
100
|
/**
|
|
101
|
-
*
|
|
101
|
+
* Post-[normalization](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/#what-does-normalization-mean) query string that will be searched.
|
|
102
102
|
*/
|
|
103
103
|
parsedQuery?: string;
|
|
104
104
|
|
|
@@ -108,17 +108,17 @@ export type BaseSearchResponse = {
|
|
|
108
108
|
processingTimeMS: number;
|
|
109
109
|
|
|
110
110
|
/**
|
|
111
|
-
*
|
|
111
|
+
* Text to search for in an index.
|
|
112
112
|
*/
|
|
113
113
|
query: string;
|
|
114
114
|
|
|
115
115
|
/**
|
|
116
|
-
*
|
|
116
|
+
* Markup text indicating which parts of the original query have been removed to retrieve a non-empty result set.
|
|
117
117
|
*/
|
|
118
118
|
queryAfterRemoval?: string;
|
|
119
119
|
|
|
120
120
|
/**
|
|
121
|
-
*
|
|
121
|
+
* Host name of the server that processed the request.
|
|
122
122
|
*/
|
|
123
123
|
serverUsed?: string;
|
|
124
124
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import type { RedirectRuleIndexMetadata } from './redirectRuleIndexMetadata';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* [Redirect results to a URL](https://www.algolia.com/doc/guides/managing-results/rules/merchandising-and-promoting/how-to/redirects/).
|
|
7
7
|
*/
|
|
8
8
|
export type BaseSearchResponseRedirect = {
|
|
9
9
|
index?: RedirectRuleIndexMetadata[];
|
|
@@ -9,7 +9,7 @@ export type BuiltInOperation = {
|
|
|
9
9
|
_operation: BuiltInOperationType;
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Value that corresponds to the operation, for example an `Increment` or `Decrement` step, `Add` or `Remove` value.
|
|
13
13
|
*/
|
|
14
14
|
value: string;
|
|
15
15
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Operation to apply to the attribute.
|
|
5
5
|
*/
|
|
6
6
|
export type BuiltInOperationType =
|
|
7
7
|
| 'Add'
|
|
@@ -9,15 +9,15 @@ import type { SearchParamsObject } from './searchParamsObject';
|
|
|
9
9
|
*/
|
|
10
10
|
export type PostProps = {
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Path of the endpoint, anything after \"/1\" must be specified.
|
|
13
13
|
*/
|
|
14
14
|
path: string;
|
|
15
15
|
/**
|
|
16
|
-
* Query parameters to
|
|
16
|
+
* Query parameters to apply to the current query.
|
|
17
17
|
*/
|
|
18
18
|
parameters?: Record<string, any>;
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Parameters to send with the custom request.
|
|
21
21
|
*/
|
|
22
22
|
body?: Record<string, any>;
|
|
23
23
|
};
|
|
@@ -5,23 +5,23 @@ import type { ConsequenceParams } from './consequenceParams';
|
|
|
5
5
|
import type { Promote } from './promote';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* [Consequences](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/#consequences) of a rule.
|
|
9
9
|
*/
|
|
10
10
|
export type Consequence = {
|
|
11
11
|
params?: ConsequenceParams;
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Records to promote.
|
|
15
15
|
*/
|
|
16
16
|
promote?: Promote[];
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
|
-
* Only use in combination with the promote consequence. When true
|
|
19
|
+
* 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.
|
|
20
20
|
*/
|
|
21
21
|
filterPromotes?: boolean;
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
* Records to hide. By default, you can hide up to 50 records per rule.
|
|
25
25
|
*/
|
|
26
26
|
hide?: ConsequenceHide[];
|
|
27
27
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* Unique identifier of the
|
|
4
|
+
* Unique identifier of the record to hide.
|
|
5
5
|
*/
|
|
6
6
|
export type ConsequenceHide = {
|
|
7
7
|
/**
|
|
8
|
-
* Unique identifier
|
|
8
|
+
* Unique object identifier.
|
|
9
9
|
*/
|
|
10
10
|
objectID: string;
|
|
11
11
|
};
|
package/lite/model/cursor.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
export type Cursor = {
|
|
4
4
|
/**
|
|
5
|
-
* Cursor indicating the location to resume browsing from. Must match the value returned by the previous call.
|
|
5
|
+
* 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.
|
|
6
6
|
*/
|
|
7
7
|
cursor?: string;
|
|
8
8
|
};
|
|
@@ -9,7 +9,7 @@ export type DeleteByParams = {
|
|
|
9
9
|
facetFilters?: FacetFilters;
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
* Filter the query with numeric, facet
|
|
12
|
+
* [Filter](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/) the query with numeric, facet, or tag filters.
|
|
13
13
|
*/
|
|
14
14
|
filters?: string;
|
|
15
15
|
|
|
@@ -18,19 +18,19 @@ export type DeleteByParams = {
|
|
|
18
18
|
tagFilters?: TagFilters;
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
|
-
* Search for entries around a central geolocation, enabling a
|
|
21
|
+
* 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.
|
|
22
22
|
*/
|
|
23
23
|
aroundLatLng?: string;
|
|
24
24
|
|
|
25
25
|
aroundRadius?: AroundRadius;
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
|
-
* Search inside a rectangular area (in
|
|
28
|
+
* 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).
|
|
29
29
|
*/
|
|
30
30
|
insideBoundingBox?: number[];
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
|
-
* Search inside a polygon (in
|
|
33
|
+
* Search inside a [polygon](https://www.algolia.com/doc/guides/managing-results/refine-results/geolocation/#filtering-inside-rectangular-or-polygonal-areas) (in geographical coordinates).
|
|
34
34
|
*/
|
|
35
35
|
insidePolygon?: number[];
|
|
36
36
|
};
|
|
@@ -3,31 +3,31 @@
|
|
|
3
3
|
import type { DictionaryEntryState } from './dictionaryEntryState';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Dictionary entry.
|
|
7
7
|
*/
|
|
8
8
|
export type DictionaryEntry = Record<string, any> & {
|
|
9
9
|
/**
|
|
10
|
-
* Unique identifier
|
|
10
|
+
* Unique identifier for a dictionary object.
|
|
11
11
|
*/
|
|
12
12
|
objectID: string;
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* [Supported language ISO code](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/supported-languages/).
|
|
16
16
|
*/
|
|
17
17
|
language: string;
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Dictionary entry word. Usage depends on the type of dictionary entry. **`stopwordEntry`** The stop word you want to add or update. If the entry already exists in Algolia\'s standard dictionary, you can override its behavior by adding it to the custom dictionary and setting its `state` to `disabled`. **`compoundEntry`** When `decomposition` is empty: adds `word` as a compound atom. For example, atom “kino” decomposes the query “kopfkino” into \"kopf\" and \"kino\". When `decomposition` isn\'t empty: creates a decomposition exception. For example, when decomposition is set to the [\"hund\", \"hutte\"] exception, \"hundehutte\" decomposes into “hund” and “hutte”, discarding the linking \"e\".
|
|
21
21
|
*/
|
|
22
22
|
word?: string;
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Compound dictionary [word declensions](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/how-to/customize-plurals-and-other-declensions/). If the entry already exists in Algolia\'s standard dictionary, you can override its behavior by adding it to the custom dictionary and setting its `state` to `disabled`.
|
|
26
26
|
*/
|
|
27
27
|
words?: string[];
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* For compound entries, governs the behavior of the `word` parameter.
|
|
31
31
|
*/
|
|
32
32
|
decomposition?: string[];
|
|
33
33
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Indicates whether a dictionary entry is active (`enabled`) or inactive (`disabled`).
|
|
5
5
|
*/
|
|
6
6
|
export type DictionaryEntryState = 'disabled' | 'enabled';
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
export type DictionaryLanguage = {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* If `0`, the dictionary hasn\'t been customized and only contains standard entries provided by Algolia. If `null`, that feature isn\'t available or isn\'t supported for that language.
|
|
9
9
|
*/
|
|
10
|
-
|
|
10
|
+
nbCustomEntries?: number;
|
|
11
11
|
};
|
package/lite/model/distinct.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* Enables
|
|
4
|
+
* Enables [deduplication or grouping of results (Algolia\'s _distinct_ feature](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/#introducing-algolias-distinct-feature)).
|
|
5
5
|
*/
|
|
6
6
|
export type Distinct = boolean | number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Determines how the [Exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes) is computed when the query contains only one word.
|
|
5
5
|
*/
|
|
6
6
|
export type ExactOnSingleWordQuery = 'attribute' | 'none' | 'word';
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
import type { MixedSearchFilters } from './mixedSearchFilters';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
* Filter hits by facet value.
|
|
6
|
+
* [Filter hits by facet value](https://www.algolia.com/doc/api-reference/api-parameters/facetFilters/).
|
|
7
7
|
*/
|
|
8
8
|
export type FacetFilters = MixedSearchFilters[] | string;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
export type FacetHits = {
|
|
4
|
+
/**
|
|
5
|
+
* Facet value.
|
|
6
|
+
*/
|
|
7
|
+
value: string;
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Markup text with `facetQuery` matches highlighted.
|
|
11
|
+
*/
|
|
12
|
+
highlighted: string;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Number of records containing this facet value. This takes into account the extra search parameters specified in the query. Like for a regular search query, the [counts may not be exhaustive](https://support.algolia.com/hc/en-us/articles/4406975248145-Why-are-my-facet-and-hit-counts-not-accurate-).
|
|
16
|
+
*/
|
|
17
|
+
count: number;
|
|
18
|
+
};
|
|
@@ -4,13 +4,13 @@ import type { Facets } from './facets';
|
|
|
4
4
|
import type { Value } from './value';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Defines the ordering of facets (widgets).
|
|
8
8
|
*/
|
|
9
9
|
export type FacetOrdering = {
|
|
10
10
|
facets?: Facets;
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Ordering of facet values within an individual facet.
|
|
14
14
|
*/
|
|
15
15
|
values?: Record<string, Value>;
|
|
16
16
|
};
|
package/lite/model/facets.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Ordering of facets (widgets).
|
|
5
5
|
*/
|
|
6
6
|
export type Facets = {
|
|
7
7
|
/**
|
|
@@ -2,22 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
export type FacetsStats = {
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Minimum value in the results.
|
|
6
6
|
*/
|
|
7
7
|
min?: number;
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Maximum value in the results.
|
|
11
11
|
*/
|
|
12
12
|
max?: number;
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Average facet value in the results.
|
|
16
16
|
*/
|
|
17
17
|
avg?: number;
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Sum of all values in the results.
|
|
21
21
|
*/
|
|
22
22
|
sum?: number;
|
|
23
23
|
};
|
package/lite/model/hit.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* Treats singular, plurals, and other forms of declensions as matching terms.
|
|
4
|
+
* Treats singular, plurals, and other forms of declensions as matching terms. `ignorePlurals` is used in conjunction with the `queryLanguages` setting. _list_: language ISO codes for which ignoring plurals should be enabled. This list will override any values that you may have set in `queryLanguages`. _true_: enables the ignore plurals feature, where singulars and plurals are considered equivalent (\"foot\" = \"feet\"). The languages supported here are either [every language](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/supported-languages/) (this is the default) or those set by `queryLanguages`. _false_: turns off the ignore plurals feature, so that singulars and plurals aren\'t considered to be the same (\"foot\" will not find \"feet\").
|
|
5
5
|
*/
|
|
6
6
|
export type IgnorePlurals = string[] | boolean;
|
package/lite/model/index.ts
CHANGED
|
@@ -42,6 +42,7 @@ export * from './editType';
|
|
|
42
42
|
export * from './errorBase';
|
|
43
43
|
export * from './exactOnSingleWordQuery';
|
|
44
44
|
export * from './facetFilters';
|
|
45
|
+
export * from './facetHits';
|
|
45
46
|
export * from './facetOrdering';
|
|
46
47
|
export * from './facets';
|
|
47
48
|
export * from './facetsStats';
|
|
@@ -79,6 +80,7 @@ export * from './removeWordsIfNoResults';
|
|
|
79
80
|
export * from './renderingContent';
|
|
80
81
|
export * from './rule';
|
|
81
82
|
export * from './scopeType';
|
|
83
|
+
export * from './searchForFacetValuesResponse';
|
|
82
84
|
export * from './searchForFacets';
|
|
83
85
|
export * from './searchForFacetsOptions';
|
|
84
86
|
export * from './searchForHits';
|
|
@@ -92,6 +94,7 @@ export * from './searchParamsString';
|
|
|
92
94
|
export * from './searchQuery';
|
|
93
95
|
export * from './searchResponse';
|
|
94
96
|
export * from './searchResponses';
|
|
97
|
+
export * from './searchResult';
|
|
95
98
|
export * from './searchStrategy';
|
|
96
99
|
export * from './searchSynonymsResponse';
|
|
97
100
|
export * from './searchTypeDefault';
|
|
@@ -4,6 +4,6 @@ import type { BaseIndexSettings } from './baseIndexSettings';
|
|
|
4
4
|
import type { IndexSettingsAsSearchParams } from './indexSettingsAsSearchParams';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Algolia index settings.
|
|
8
8
|
*/
|
|
9
9
|
export type IndexSettings = BaseIndexSettings & IndexSettingsAsSearchParams;
|