@algolia/client-search 4.14.1 → 5.0.0-alpha.2
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/builds/browser.d.ts +6 -0
- package/dist/builds/browser.d.ts.map +1 -0
- package/dist/builds/node.d.ts +6 -0
- package/dist/builds/node.d.ts.map +1 -0
- package/dist/client-search.cjs.js +1848 -1340
- package/dist/client-search.esm.browser.js +2643 -0
- package/dist/client-search.esm.node.js +1872 -0
- package/dist/client-search.umd.js +2 -0
- package/dist/model/acl.d.ts +2 -0
- package/dist/model/acl.d.ts.map +1 -0
- package/dist/model/action.d.ts +5 -0
- package/dist/model/action.d.ts.map +1 -0
- package/dist/model/addApiKeyResponse.d.ts +11 -0
- package/dist/model/addApiKeyResponse.d.ts.map +1 -0
- package/dist/model/advancedSyntaxFeatures.d.ts +2 -0
- package/dist/model/advancedSyntaxFeatures.d.ts.map +1 -0
- package/dist/model/alternativesAsExact.d.ts +2 -0
- package/dist/model/alternativesAsExact.d.ts.map +1 -0
- package/dist/model/anchoring.d.ts +5 -0
- package/dist/model/anchoring.d.ts.map +1 -0
- package/dist/model/apiKey.d.ts +39 -0
- package/dist/model/apiKey.d.ts.map +1 -0
- package/dist/model/aroundRadius.d.ts +6 -0
- package/dist/model/aroundRadius.d.ts.map +1 -0
- package/dist/model/aroundRadiusAll.d.ts +2 -0
- package/dist/model/aroundRadiusAll.d.ts.map +1 -0
- package/dist/model/assignUserIdParams.d.ts +10 -0
- package/dist/model/assignUserIdParams.d.ts.map +1 -0
- package/dist/model/attributeOrBuiltInOperation.d.ts +3 -0
- package/dist/model/attributeOrBuiltInOperation.d.ts.map +1 -0
- package/dist/model/automaticFacetFilter.d.ts +18 -0
- package/dist/model/automaticFacetFilter.d.ts.map +1 -0
- package/dist/model/automaticFacetFilters.d.ts +6 -0
- package/dist/model/automaticFacetFilters.d.ts.map +1 -0
- package/dist/model/baseBrowseResponse.d.ts +7 -0
- package/dist/model/baseBrowseResponse.d.ts.map +1 -0
- package/dist/model/baseIndexSettings.d.ts +59 -0
- package/dist/model/baseIndexSettings.d.ts.map +1 -0
- package/dist/model/baseSearchParams.d.ts +4 -0
- package/dist/model/baseSearchParams.d.ts.map +1 -0
- package/dist/model/baseSearchParamsWithoutQuery.d.ts +123 -0
- package/dist/model/baseSearchParamsWithoutQuery.d.ts.map +1 -0
- package/dist/model/baseSearchResponse.d.ts +102 -0
- package/dist/model/baseSearchResponse.d.ts.map +1 -0
- package/dist/model/batchAssignUserIdsParams.d.ts +14 -0
- package/dist/model/batchAssignUserIdsParams.d.ts.map +1 -0
- package/dist/model/batchDictionaryEntriesParams.d.ts +15 -0
- package/dist/model/batchDictionaryEntriesParams.d.ts.map +1 -0
- package/dist/model/batchDictionaryEntriesRequest.d.ts +7 -0
- package/dist/model/batchDictionaryEntriesRequest.d.ts.map +1 -0
- package/dist/model/batchOperation.d.ts +9 -0
- package/dist/model/batchOperation.d.ts.map +1 -0
- package/dist/model/batchParams.d.ts +8 -0
- package/dist/model/batchParams.d.ts.map +1 -0
- package/dist/model/batchResponse.d.ts +11 -0
- package/dist/model/batchResponse.d.ts.map +1 -0
- package/dist/model/batchWriteParams.d.ts +8 -0
- package/dist/model/batchWriteParams.d.ts.map +1 -0
- package/dist/model/browseRequest.d.ts +11 -0
- package/dist/model/browseRequest.d.ts.map +1 -0
- package/dist/model/browseResponse.d.ts +5 -0
- package/dist/model/browseResponse.d.ts.map +1 -0
- package/dist/model/builtInOperation.d.ts +12 -0
- package/dist/model/builtInOperation.d.ts.map +1 -0
- package/dist/model/builtInOperationType.d.ts +5 -0
- package/dist/model/builtInOperationType.d.ts.map +1 -0
- package/dist/model/clientMethodProps.d.ts +704 -0
- package/dist/model/clientMethodProps.d.ts.map +1 -0
- package/dist/model/condition.d.ts +17 -0
- package/dist/model/condition.d.ts.map +1 -0
- package/dist/model/consequence.d.ts +26 -0
- package/dist/model/consequence.d.ts.map +1 -0
- package/dist/model/consequenceHide.d.ts +10 -0
- package/dist/model/consequenceHide.d.ts.map +1 -0
- package/dist/model/consequenceParams.d.ts +5 -0
- package/dist/model/consequenceParams.d.ts.map +1 -0
- package/dist/model/consequenceQuery.d.ts +6 -0
- package/dist/model/consequenceQuery.d.ts.map +1 -0
- package/dist/model/consequenceQueryObject.d.ts +12 -0
- package/dist/model/consequenceQueryObject.d.ts.map +1 -0
- package/dist/model/createdAtObject.d.ts +7 -0
- package/dist/model/createdAtObject.d.ts.map +1 -0
- package/dist/model/createdAtResponse.d.ts +10 -0
- package/dist/model/createdAtResponse.d.ts.map +1 -0
- package/dist/model/deleteApiKeyResponse.d.ts +7 -0
- package/dist/model/deleteApiKeyResponse.d.ts.map +1 -0
- package/dist/model/deleteSourceResponse.d.ts +7 -0
- package/dist/model/deleteSourceResponse.d.ts.map +1 -0
- package/dist/model/deletedAtResponse.d.ts +14 -0
- package/dist/model/deletedAtResponse.d.ts.map +1 -0
- package/dist/model/dictionaryAction.d.ts +5 -0
- package/dist/model/dictionaryAction.d.ts.map +1 -0
- package/dist/model/dictionaryEntry.d.ts +28 -0
- package/dist/model/dictionaryEntry.d.ts.map +1 -0
- package/dist/model/dictionaryEntryState.d.ts +5 -0
- package/dist/model/dictionaryEntryState.d.ts.map +1 -0
- package/dist/model/dictionaryLanguage.d.ts +10 -0
- package/dist/model/dictionaryLanguage.d.ts.map +1 -0
- package/dist/model/dictionarySettingsParams.d.ts +8 -0
- package/dist/model/dictionarySettingsParams.d.ts.map +1 -0
- package/dist/model/dictionaryType.d.ts +2 -0
- package/dist/model/dictionaryType.d.ts.map +1 -0
- package/dist/model/edit.d.ts +13 -0
- package/dist/model/edit.d.ts.map +1 -0
- package/dist/model/editType.d.ts +5 -0
- package/dist/model/editType.d.ts.map +1 -0
- package/dist/model/errorBase.d.ts +7 -0
- package/dist/model/errorBase.d.ts.map +1 -0
- package/dist/model/exactOnSingleWordQuery.d.ts +5 -0
- package/dist/model/exactOnSingleWordQuery.d.ts.map +1 -0
- package/dist/model/facetFilters.d.ts +6 -0
- package/dist/model/facetFilters.d.ts.map +1 -0
- package/dist/model/facetHits.d.ts +15 -0
- package/dist/model/facetHits.d.ts.map +1 -0
- package/dist/model/facetOrdering.d.ts +13 -0
- package/dist/model/facetOrdering.d.ts.map +1 -0
- package/dist/model/facets.d.ts +10 -0
- package/dist/model/facets.d.ts.map +1 -0
- package/dist/model/facetsStats.d.ts +19 -0
- package/dist/model/facetsStats.d.ts.map +1 -0
- package/dist/model/fetchedIndex.d.ts +47 -0
- package/dist/model/fetchedIndex.d.ts.map +1 -0
- package/dist/model/getDictionarySettingsResponse.d.ts +5 -0
- package/dist/model/getDictionarySettingsResponse.d.ts.map +1 -0
- package/dist/model/getLogsResponse.d.ts +5 -0
- package/dist/model/getLogsResponse.d.ts.map +1 -0
- package/dist/model/getObjectsParams.d.ts +8 -0
- package/dist/model/getObjectsParams.d.ts.map +1 -0
- package/dist/model/getObjectsResponse.d.ts +7 -0
- package/dist/model/getObjectsResponse.d.ts.map +1 -0
- package/dist/model/getTaskResponse.d.ts +5 -0
- package/dist/model/getTaskResponse.d.ts.map +1 -0
- package/dist/model/getTopUserIdsResponse.d.ts +11 -0
- package/dist/model/getTopUserIdsResponse.d.ts.map +1 -0
- package/dist/model/hasPendingMappingsResponse.d.ts +11 -0
- package/dist/model/hasPendingMappingsResponse.d.ts.map +1 -0
- package/dist/model/highlightResult.d.ts +3 -0
- package/dist/model/highlightResult.d.ts.map +1 -0
- package/dist/model/highlightResultOption.d.ts +20 -0
- package/dist/model/highlightResultOption.d.ts.map +1 -0
- package/dist/model/hit.d.ts +23 -0
- package/dist/model/hit.d.ts.map +1 -0
- package/dist/model/ignorePlurals.d.ts +5 -0
- package/dist/model/ignorePlurals.d.ts.map +1 -0
- package/dist/model/index.d.ts +153 -0
- package/dist/model/index.d.ts.map +1 -0
- package/dist/model/indexSettings.d.ts +7 -0
- package/dist/model/indexSettings.d.ts.map +1 -0
- package/dist/model/indexSettingsAsSearchParams.d.ts +159 -0
- package/dist/model/indexSettingsAsSearchParams.d.ts.map +1 -0
- package/dist/model/key.d.ts +4 -0
- package/dist/model/key.d.ts.map +1 -0
- package/dist/model/languages.d.ts +10 -0
- package/dist/model/languages.d.ts.map +1 -0
- package/dist/model/listApiKeysResponse.d.ts +8 -0
- package/dist/model/listApiKeysResponse.d.ts.map +1 -0
- package/dist/model/listClustersResponse.d.ts +10 -0
- package/dist/model/listClustersResponse.d.ts.map +1 -0
- package/dist/model/listIndicesResponse.d.ts +12 -0
- package/dist/model/listIndicesResponse.d.ts.map +1 -0
- package/dist/model/listUserIdsResponse.d.ts +11 -0
- package/dist/model/listUserIdsResponse.d.ts.map +1 -0
- package/dist/model/log.d.ts +64 -0
- package/dist/model/log.d.ts.map +1 -0
- package/dist/model/logQuery.d.ts +15 -0
- package/dist/model/logQuery.d.ts.map +1 -0
- package/dist/model/logType.d.ts +2 -0
- package/dist/model/logType.d.ts.map +1 -0
- package/dist/model/matchLevel.d.ts +5 -0
- package/dist/model/matchLevel.d.ts.map +1 -0
- package/dist/model/matchedGeoLocation.d.ts +15 -0
- package/dist/model/matchedGeoLocation.d.ts.map +1 -0
- package/dist/model/mixedSearchFilters.d.ts +2 -0
- package/dist/model/mixedSearchFilters.d.ts.map +1 -0
- package/dist/model/multipleBatchOperation.d.ts +13 -0
- package/dist/model/multipleBatchOperation.d.ts.map +1 -0
- package/dist/model/multipleBatchResponse.d.ts +11 -0
- package/dist/model/multipleBatchResponse.d.ts.map +1 -0
- package/dist/model/multipleGetObjectsParams.d.ts +18 -0
- package/dist/model/multipleGetObjectsParams.d.ts.map +1 -0
- package/dist/model/numericFilters.d.ts +6 -0
- package/dist/model/numericFilters.d.ts.map +1 -0
- package/dist/model/operationIndexParams.d.ts +14 -0
- package/dist/model/operationIndexParams.d.ts.map +1 -0
- package/dist/model/operationType.d.ts +5 -0
- package/dist/model/operationType.d.ts.map +1 -0
- package/dist/model/optionalFilters.d.ts +6 -0
- package/dist/model/optionalFilters.d.ts.map +1 -0
- package/dist/model/params.d.ts +13 -0
- package/dist/model/params.d.ts.map +1 -0
- package/dist/model/personalization.d.ts +15 -0
- package/dist/model/personalization.d.ts.map +1 -0
- package/dist/model/promote.d.ts +4 -0
- package/dist/model/promote.d.ts.map +1 -0
- package/dist/model/promoteObjectID.d.ts +14 -0
- package/dist/model/promoteObjectID.d.ts.map +1 -0
- package/dist/model/promoteObjectIDs.d.ts +14 -0
- package/dist/model/promoteObjectIDs.d.ts.map +1 -0
- package/dist/model/queryType.d.ts +5 -0
- package/dist/model/queryType.d.ts.map +1 -0
- package/dist/model/rankingInfo.d.ts +51 -0
- package/dist/model/rankingInfo.d.ts.map +1 -0
- package/dist/model/reRankingApplyFilter.d.ts +6 -0
- package/dist/model/reRankingApplyFilter.d.ts.map +1 -0
- package/dist/model/removeStopWords.d.ts +5 -0
- package/dist/model/removeStopWords.d.ts.map +1 -0
- package/dist/model/removeUserIdResponse.d.ts +7 -0
- package/dist/model/removeUserIdResponse.d.ts.map +1 -0
- package/dist/model/removeWordsIfNoResults.d.ts +5 -0
- package/dist/model/removeWordsIfNoResults.d.ts.map +1 -0
- package/dist/model/renderingContent.d.ts +8 -0
- package/dist/model/renderingContent.d.ts.map +1 -0
- package/dist/model/replaceSourceResponse.d.ts +7 -0
- package/dist/model/replaceSourceResponse.d.ts.map +1 -0
- package/dist/model/rule.d.ts +30 -0
- package/dist/model/rule.d.ts.map +1 -0
- package/dist/model/saveObjectResponse.d.ts +12 -0
- package/dist/model/saveObjectResponse.d.ts.map +1 -0
- package/dist/model/saveSynonymResponse.d.ts +15 -0
- package/dist/model/saveSynonymResponse.d.ts.map +1 -0
- package/dist/model/scopeType.d.ts +2 -0
- package/dist/model/scopeType.d.ts.map +1 -0
- package/dist/model/searchDictionaryEntriesParams.d.ts +22 -0
- package/dist/model/searchDictionaryEntriesParams.d.ts.map +1 -0
- package/dist/model/searchForFacetValuesRequest.d.ts +15 -0
- package/dist/model/searchForFacetValuesRequest.d.ts.map +1 -0
- package/dist/model/searchForFacetValuesResponse.d.ts +5 -0
- package/dist/model/searchForFacetValuesResponse.d.ts.map +1 -0
- package/dist/model/searchForFacets.d.ts +4 -0
- package/dist/model/searchForFacets.d.ts.map +1 -0
- package/dist/model/searchForFacetsOptions.d.ts +21 -0
- package/dist/model/searchForFacetsOptions.d.ts.map +1 -0
- package/dist/model/searchForHits.d.ts +4 -0
- package/dist/model/searchForHits.d.ts.map +1 -0
- package/dist/model/searchForHitsOptions.d.ts +13 -0
- package/dist/model/searchForHitsOptions.d.ts.map +1 -0
- package/dist/model/searchHits.d.ts +5 -0
- package/dist/model/searchHits.d.ts.map +1 -0
- package/dist/model/searchMethodParams.d.ts +7 -0
- package/dist/model/searchMethodParams.d.ts.map +1 -0
- package/dist/model/searchParams.d.ts +4 -0
- package/dist/model/searchParams.d.ts.map +1 -0
- package/dist/model/searchParamsObject.d.ts +4 -0
- package/dist/model/searchParamsObject.d.ts.map +1 -0
- package/dist/model/searchParamsQuery.d.ts +7 -0
- package/dist/model/searchParamsQuery.d.ts.map +1 -0
- package/dist/model/searchParamsString.d.ts +7 -0
- package/dist/model/searchParamsString.d.ts.map +1 -0
- package/dist/model/searchQuery.d.ts +4 -0
- package/dist/model/searchQuery.d.ts.map +1 -0
- package/dist/model/searchResponse.d.ts +4 -0
- package/dist/model/searchResponse.d.ts.map +1 -0
- package/dist/model/searchResponses.d.ts +5 -0
- package/dist/model/searchResponses.d.ts.map +1 -0
- package/dist/model/searchRulesParams.d.ts +32 -0
- package/dist/model/searchRulesParams.d.ts.map +1 -0
- package/dist/model/searchRulesResponse.d.ts +20 -0
- package/dist/model/searchRulesResponse.d.ts.map +1 -0
- package/dist/model/searchStrategy.d.ts +2 -0
- package/dist/model/searchStrategy.d.ts.map +1 -0
- package/dist/model/searchSynonymsParams.d.ts +7 -0
- package/dist/model/searchSynonymsParams.d.ts.map +1 -0
- package/dist/model/searchSynonymsResponse.d.ts +12 -0
- package/dist/model/searchSynonymsResponse.d.ts.map +1 -0
- package/dist/model/searchTypeDefault.d.ts +5 -0
- package/dist/model/searchTypeDefault.d.ts.map +1 -0
- package/dist/model/searchTypeFacet.d.ts +5 -0
- package/dist/model/searchTypeFacet.d.ts.map +1 -0
- package/dist/model/searchUserIdsParams.d.ts +22 -0
- package/dist/model/searchUserIdsParams.d.ts.map +1 -0
- package/dist/model/searchUserIdsResponse.d.ts +27 -0
- package/dist/model/searchUserIdsResponse.d.ts.map +1 -0
- package/dist/model/snippetResult.d.ts +3 -0
- package/dist/model/snippetResult.d.ts.map +1 -0
- package/dist/model/snippetResultOption.d.ts +12 -0
- package/dist/model/snippetResultOption.d.ts.map +1 -0
- package/dist/model/sortRemainingBy.d.ts +5 -0
- package/dist/model/sortRemainingBy.d.ts.map +1 -0
- package/dist/model/source.d.ts +14 -0
- package/dist/model/source.d.ts.map +1 -0
- package/dist/model/standardEntries.d.ts +18 -0
- package/dist/model/standardEntries.d.ts.map +1 -0
- package/dist/model/synonymHit.d.ts +38 -0
- package/dist/model/synonymHit.d.ts.map +1 -0
- package/dist/model/synonymHitHighlightResult.d.ts +12 -0
- package/dist/model/synonymHitHighlightResult.d.ts.map +1 -0
- package/dist/model/synonymType.d.ts +5 -0
- package/dist/model/synonymType.d.ts.map +1 -0
- package/dist/model/tagFilters.d.ts +6 -0
- package/dist/model/tagFilters.d.ts.map +1 -0
- package/dist/model/taskStatus.d.ts +2 -0
- package/dist/model/taskStatus.d.ts.map +1 -0
- package/dist/model/timeRange.d.ts +11 -0
- package/dist/model/timeRange.d.ts.map +1 -0
- package/dist/model/typoTolerance.d.ts +6 -0
- package/dist/model/typoTolerance.d.ts.map +1 -0
- package/dist/model/typoToleranceEnum.d.ts +2 -0
- package/dist/model/typoToleranceEnum.d.ts.map +1 -0
- package/dist/model/updateApiKeyResponse.d.ts +11 -0
- package/dist/model/updateApiKeyResponse.d.ts.map +1 -0
- package/dist/model/updatedAtResponse.d.ts +14 -0
- package/dist/model/updatedAtResponse.d.ts.map +1 -0
- package/dist/model/updatedAtWithObjectIdResponse.d.ts +18 -0
- package/dist/model/updatedAtWithObjectIdResponse.d.ts.map +1 -0
- package/dist/model/updatedRuleResponse.d.ts +15 -0
- package/dist/model/updatedRuleResponse.d.ts.map +1 -0
- package/dist/model/userHighlightResult.d.ts +12 -0
- package/dist/model/userHighlightResult.d.ts.map +1 -0
- package/dist/model/userHit.d.ts +25 -0
- package/dist/model/userHit.d.ts.map +1 -0
- package/dist/model/userId.d.ts +22 -0
- package/dist/model/userId.d.ts.map +1 -0
- package/dist/model/value.d.ts +9 -0
- package/dist/model/value.d.ts.map +1 -0
- package/dist/src/searchClient.d.ts +677 -0
- package/dist/src/searchClient.d.ts.map +1 -0
- package/index.d.ts +2 -0
- package/index.js +1 -1
- package/model/acl.ts +17 -0
- package/model/action.ts +13 -0
- package/model/addApiKeyResponse.ts +12 -0
- package/model/advancedSyntaxFeatures.ts +3 -0
- package/model/alternativesAsExact.ts +6 -0
- package/model/anchoring.ts +6 -0
- package/model/apiKey.ts +41 -0
- package/model/aroundRadius.ts +8 -0
- package/model/aroundRadiusAll.ts +3 -0
- package/model/assignUserIdParams.ts +11 -0
- package/model/attributeOrBuiltInOperation.ts +5 -0
- package/model/automaticFacetFilter.ts +19 -0
- package/model/automaticFacetFilters.ts +8 -0
- package/model/baseBrowseResponse.ts +8 -0
- package/model/baseIndexSettings.ts +60 -0
- package/model/baseSearchParams.ts +6 -0
- package/model/baseSearchParamsWithoutQuery.ts +125 -0
- package/model/baseSearchResponse.ts +104 -0
- package/model/batchAssignUserIdsParams.ts +15 -0
- package/model/batchDictionaryEntriesParams.ts +17 -0
- package/model/batchDictionaryEntriesRequest.ts +9 -0
- package/model/batchOperation.ts +11 -0
- package/model/batchParams.ts +10 -0
- package/model/batchResponse.ts +12 -0
- package/model/batchWriteParams.ts +10 -0
- package/model/browseRequest.ts +12 -0
- package/model/browseResponse.ts +9 -0
- package/model/builtInOperation.ts +14 -0
- package/model/builtInOperationType.ts +13 -0
- package/model/clientMethodProps.ts +769 -0
- package/model/condition.ts +19 -0
- package/model/consequence.ts +28 -0
- package/model/consequenceHide.ts +11 -0
- package/model/consequenceParams.ts +9 -0
- package/model/consequenceQuery.ts +8 -0
- package/model/consequenceQueryObject.ts +14 -0
- package/model/createdAtObject.ts +8 -0
- package/model/createdAtResponse.ts +11 -0
- package/model/deleteApiKeyResponse.ts +8 -0
- package/model/deleteSourceResponse.ts +8 -0
- package/model/deletedAtResponse.ts +15 -0
- package/model/dictionaryAction.ts +6 -0
- package/model/dictionaryEntry.ts +30 -0
- package/model/dictionaryEntryState.ts +6 -0
- package/model/dictionaryLanguage.ts +11 -0
- package/model/dictionarySettingsParams.ts +10 -0
- package/model/dictionaryType.ts +3 -0
- package/model/edit.ts +15 -0
- package/model/editType.ts +6 -0
- package/model/errorBase.ts +8 -0
- package/model/exactOnSingleWordQuery.ts +6 -0
- package/model/facetFilters.ts +8 -0
- package/model/facetHits.ts +16 -0
- package/model/facetOrdering.ts +15 -0
- package/model/facets.ts +11 -0
- package/model/facetsStats.ts +20 -0
- package/model/fetchedIndex.ts +48 -0
- package/model/getDictionarySettingsResponse.ts +7 -0
- package/model/getLogsResponse.ts +7 -0
- package/model/getObjectsParams.ts +10 -0
- package/model/getObjectsResponse.ts +8 -0
- package/model/getTaskResponse.ts +7 -0
- package/model/getTopUserIdsResponse.ts +13 -0
- package/model/hasPendingMappingsResponse.ts +12 -0
- package/model/highlightResult.ts +5 -0
- package/model/highlightResultOption.ts +22 -0
- package/model/hit.ts +25 -0
- package/model/ignorePlurals.ts +6 -0
- package/model/index.ts +154 -0
- package/model/indexSettings.ts +9 -0
- package/model/indexSettingsAsSearchParams.ts +161 -0
- package/model/key.ts +6 -0
- package/model/languages.ts +12 -0
- package/model/listApiKeysResponse.ts +10 -0
- package/model/listClustersResponse.ts +11 -0
- package/model/listIndicesResponse.ts +14 -0
- package/model/listUserIdsResponse.ts +13 -0
- package/model/log.ts +66 -0
- package/model/logQuery.ts +16 -0
- package/model/logType.ts +3 -0
- package/model/matchLevel.ts +6 -0
- package/model/matchedGeoLocation.ts +16 -0
- package/model/mixedSearchFilters.ts +3 -0
- package/model/multipleBatchOperation.ts +15 -0
- package/model/multipleBatchResponse.ts +12 -0
- package/model/multipleGetObjectsParams.ts +19 -0
- package/model/numericFilters.ts +8 -0
- package/model/operationIndexParams.ts +16 -0
- package/model/operationType.ts +6 -0
- package/model/optionalFilters.ts +8 -0
- package/model/params.ts +15 -0
- package/model/personalization.ts +16 -0
- package/model/promote.ts +6 -0
- package/model/promoteObjectID.ts +15 -0
- package/model/promoteObjectIDs.ts +15 -0
- package/model/queryType.ts +6 -0
- package/model/rankingInfo.ts +53 -0
- package/model/reRankingApplyFilter.ts +8 -0
- package/model/removeStopWords.ts +6 -0
- package/model/removeUserIdResponse.ts +8 -0
- package/model/removeWordsIfNoResults.ts +10 -0
- package/model/renderingContent.ts +10 -0
- package/model/replaceSourceResponse.ts +8 -0
- package/model/rule.ts +32 -0
- package/model/saveObjectResponse.ts +13 -0
- package/model/saveSynonymResponse.ts +16 -0
- package/model/scopeType.ts +3 -0
- package/model/searchDictionaryEntriesParams.ts +23 -0
- package/model/searchForFacetValuesRequest.ts +16 -0
- package/model/searchForFacetValuesResponse.ts +7 -0
- package/model/searchForFacets.ts +6 -0
- package/model/searchForFacetsOptions.ts +23 -0
- package/model/searchForHits.ts +6 -0
- package/model/searchForHitsOptions.ts +11 -0
- package/model/searchHits.ts +7 -0
- package/model/searchMethodParams.ts +9 -0
- package/model/searchParams.ts +6 -0
- package/model/searchParamsObject.ts +6 -0
- package/model/searchParamsQuery.ts +8 -0
- package/model/searchParamsString.ts +8 -0
- package/model/searchQuery.ts +6 -0
- package/model/searchResponse.ts +6 -0
- package/model/searchResponses.ts +7 -0
- package/model/searchRulesParams.ts +34 -0
- package/model/searchRulesResponse.ts +22 -0
- package/model/searchStrategy.ts +3 -0
- package/model/searchSynonymsParams.ts +8 -0
- package/model/searchSynonymsResponse.ts +14 -0
- package/model/searchTypeDefault.ts +6 -0
- package/model/searchTypeFacet.ts +6 -0
- package/model/searchUserIdsParams.ts +23 -0
- package/model/searchUserIdsResponse.ts +29 -0
- package/model/snippetResult.ts +5 -0
- package/model/snippetResultOption.ts +14 -0
- package/model/sortRemainingBy.ts +6 -0
- package/model/source.ts +15 -0
- package/model/standardEntries.ts +19 -0
- package/model/synonymHit.ts +40 -0
- package/model/synonymHitHighlightResult.ts +14 -0
- package/model/synonymType.ts +11 -0
- package/model/tagFilters.ts +8 -0
- package/model/taskStatus.ts +3 -0
- package/model/timeRange.ts +12 -0
- package/model/typoTolerance.ts +8 -0
- package/model/typoToleranceEnum.ts +3 -0
- package/model/updateApiKeyResponse.ts +12 -0
- package/model/updatedAtResponse.ts +15 -0
- package/model/updatedAtWithObjectIdResponse.ts +19 -0
- package/model/updatedRuleResponse.ts +16 -0
- package/model/userHighlightResult.ts +14 -0
- package/model/userHit.ts +27 -0
- package/model/userId.ts +23 -0
- package/model/value.ts +11 -0
- package/package.json +25 -13
- package/dist/client-search.d.ts +0 -2490
- package/dist/client-search.esm.js +0 -1276
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
|
|
2
|
+
|
|
3
|
+
import type { SynonymHitHighlightResult } from './synonymHitHighlightResult';
|
|
4
|
+
import type { SynonymType } from './synonymType';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Synonym object.
|
|
8
|
+
*/
|
|
9
|
+
export type SynonymHit = {
|
|
10
|
+
/**
|
|
11
|
+
* Unique identifier of the synonym object to be created or updated.
|
|
12
|
+
*/
|
|
13
|
+
objectID: string;
|
|
14
|
+
type: SynonymType;
|
|
15
|
+
/**
|
|
16
|
+
* Words or phrases to be considered equivalent.
|
|
17
|
+
*/
|
|
18
|
+
synonyms?: string[];
|
|
19
|
+
/**
|
|
20
|
+
* Word or phrase to appear in query strings (for onewaysynonym).
|
|
21
|
+
*/
|
|
22
|
+
input?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Word or phrase to appear in query strings (for altcorrection1 and altcorrection2).
|
|
25
|
+
*/
|
|
26
|
+
word?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Words to be matched in records.
|
|
29
|
+
*/
|
|
30
|
+
corrections?: string[];
|
|
31
|
+
/**
|
|
32
|
+
* Token to be put inside records.
|
|
33
|
+
*/
|
|
34
|
+
placeholder?: string;
|
|
35
|
+
/**
|
|
36
|
+
* List of query words that will match the token.
|
|
37
|
+
*/
|
|
38
|
+
replacements?: string[];
|
|
39
|
+
_highlightResult?: SynonymHitHighlightResult;
|
|
40
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
|
|
2
|
+
|
|
3
|
+
import type { HighlightResult } from './highlightResult';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Highlighted results.
|
|
7
|
+
*/
|
|
8
|
+
export type SynonymHitHighlightResult = {
|
|
9
|
+
/**
|
|
10
|
+
* Show highlighted section and words matched on a query.
|
|
11
|
+
*/
|
|
12
|
+
type?: Record<string, HighlightResult>;
|
|
13
|
+
synonyms?: Array<Record<string, HighlightResult>>;
|
|
14
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Type of the synonym object.
|
|
5
|
+
*/
|
|
6
|
+
export type SynonymType =
|
|
7
|
+
| 'altcorrection1'
|
|
8
|
+
| 'altcorrection2'
|
|
9
|
+
| 'onewaysynonym'
|
|
10
|
+
| 'placeholder'
|
|
11
|
+
| 'synonym';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
|
|
2
|
+
|
|
3
|
+
import type { MixedSearchFilters } from './mixedSearchFilters';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Filter hits by tags.
|
|
7
|
+
*/
|
|
8
|
+
export type TagFilters = MixedSearchFilters[] | string;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
|
|
2
|
+
|
|
3
|
+
export type TimeRange = {
|
|
4
|
+
/**
|
|
5
|
+
* Lower bound of the time range (Unix timestamp).
|
|
6
|
+
*/
|
|
7
|
+
from: number;
|
|
8
|
+
/**
|
|
9
|
+
* Upper bound of the time range (Unix timestamp).
|
|
10
|
+
*/
|
|
11
|
+
until: number;
|
|
12
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
|
|
2
|
+
|
|
3
|
+
import type { TypoToleranceEnum } from './typoToleranceEnum';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Controls whether typo tolerance is enabled and how it is applied.
|
|
7
|
+
*/
|
|
8
|
+
export type TypoTolerance = TypoToleranceEnum | boolean;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
|
|
2
|
+
|
|
3
|
+
export type UpdateApiKeyResponse = {
|
|
4
|
+
/**
|
|
5
|
+
* Key string.
|
|
6
|
+
*/
|
|
7
|
+
key: string;
|
|
8
|
+
/**
|
|
9
|
+
* Date of last update (ISO-8601 format).
|
|
10
|
+
*/
|
|
11
|
+
updatedAt: string;
|
|
12
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* The response with a taskID and an updatedAt timestamp.
|
|
5
|
+
*/
|
|
6
|
+
export type UpdatedAtResponse = {
|
|
7
|
+
/**
|
|
8
|
+
* TaskID of the task to wait for.
|
|
9
|
+
*/
|
|
10
|
+
taskID: number;
|
|
11
|
+
/**
|
|
12
|
+
* Date of last update (ISO-8601 format).
|
|
13
|
+
*/
|
|
14
|
+
updatedAt: string;
|
|
15
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* The response with a taskID, an objectID and an updatedAt timestamp.
|
|
5
|
+
*/
|
|
6
|
+
export type UpdatedAtWithObjectIdResponse = {
|
|
7
|
+
/**
|
|
8
|
+
* TaskID of the task to wait for.
|
|
9
|
+
*/
|
|
10
|
+
taskID?: number;
|
|
11
|
+
/**
|
|
12
|
+
* Date of last update (ISO-8601 format).
|
|
13
|
+
*/
|
|
14
|
+
updatedAt?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Unique identifier of the object.
|
|
17
|
+
*/
|
|
18
|
+
objectID?: string;
|
|
19
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
|
|
2
|
+
|
|
3
|
+
export type UpdatedRuleResponse = {
|
|
4
|
+
/**
|
|
5
|
+
* Unique identifier of the object.
|
|
6
|
+
*/
|
|
7
|
+
objectID: string;
|
|
8
|
+
/**
|
|
9
|
+
* Date of last update (ISO-8601 format).
|
|
10
|
+
*/
|
|
11
|
+
updatedAt: string;
|
|
12
|
+
/**
|
|
13
|
+
* TaskID of the task to wait for.
|
|
14
|
+
*/
|
|
15
|
+
taskID: number;
|
|
16
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
|
|
2
|
+
|
|
3
|
+
import type { HighlightResult } from './highlightResult';
|
|
4
|
+
|
|
5
|
+
export type UserHighlightResult = {
|
|
6
|
+
/**
|
|
7
|
+
* Show highlighted section and words matched on a query.
|
|
8
|
+
*/
|
|
9
|
+
userID: Record<string, HighlightResult>;
|
|
10
|
+
/**
|
|
11
|
+
* Show highlighted section and words matched on a query.
|
|
12
|
+
*/
|
|
13
|
+
clusterName: Record<string, HighlightResult>;
|
|
14
|
+
};
|
package/model/userHit.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
|
|
2
|
+
|
|
3
|
+
import type { UserHighlightResult } from './userHighlightResult';
|
|
4
|
+
|
|
5
|
+
export type UserHit = {
|
|
6
|
+
/**
|
|
7
|
+
* UserID of the user.
|
|
8
|
+
*/
|
|
9
|
+
userID: string;
|
|
10
|
+
/**
|
|
11
|
+
* Name of the cluster.
|
|
12
|
+
*/
|
|
13
|
+
clusterName: string;
|
|
14
|
+
/**
|
|
15
|
+
* Number of records in the cluster.
|
|
16
|
+
*/
|
|
17
|
+
nbRecords: number;
|
|
18
|
+
/**
|
|
19
|
+
* Data size taken by all the users assigned to the cluster.
|
|
20
|
+
*/
|
|
21
|
+
dataSize: number;
|
|
22
|
+
/**
|
|
23
|
+
* UserID of the requested user. Same as userID.
|
|
24
|
+
*/
|
|
25
|
+
objectID: string;
|
|
26
|
+
_highlightResult: UserHighlightResult;
|
|
27
|
+
};
|
package/model/userId.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* A userID.
|
|
5
|
+
*/
|
|
6
|
+
export type UserId = {
|
|
7
|
+
/**
|
|
8
|
+
* UserID of the user.
|
|
9
|
+
*/
|
|
10
|
+
userID: string;
|
|
11
|
+
/**
|
|
12
|
+
* Cluster on which the user is assigned.
|
|
13
|
+
*/
|
|
14
|
+
clusterName: string;
|
|
15
|
+
/**
|
|
16
|
+
* Number of records belonging to the user.
|
|
17
|
+
*/
|
|
18
|
+
nbRecords: number;
|
|
19
|
+
/**
|
|
20
|
+
* Data size used by the user.
|
|
21
|
+
*/
|
|
22
|
+
dataSize: number;
|
|
23
|
+
};
|
package/model/value.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
|
|
2
|
+
|
|
3
|
+
import type { SortRemainingBy } from './sortRemainingBy';
|
|
4
|
+
|
|
5
|
+
export type Value = {
|
|
6
|
+
/**
|
|
7
|
+
* Pinned order of facet lists.
|
|
8
|
+
*/
|
|
9
|
+
order?: string[];
|
|
10
|
+
sortRemainingBy?: SortRemainingBy;
|
|
11
|
+
};
|
package/package.json
CHANGED
|
@@ -1,23 +1,35 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@algolia/client-search",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"repository":
|
|
6
|
-
"type": "git",
|
|
7
|
-
"url": "git://github.com/algolia/algoliasearch-client-javascript.git"
|
|
8
|
-
},
|
|
3
|
+
"version": "5.0.0-alpha.2",
|
|
4
|
+
"description": "JavaScript client for client-search",
|
|
5
|
+
"repository": "algolia/algoliasearch-client-javascript",
|
|
9
6
|
"license": "MIT",
|
|
10
|
-
"
|
|
7
|
+
"author": "Algolia",
|
|
11
8
|
"main": "index.js",
|
|
12
|
-
"
|
|
13
|
-
"
|
|
9
|
+
"jsdelivr": "dist/client-search.umd.js",
|
|
10
|
+
"unpkg": "dist/client-search.umd.js",
|
|
11
|
+
"module": "dist/client-search.esm.node.js",
|
|
12
|
+
"browser": "dist/client-search.umd.js",
|
|
13
|
+
"types": "index.d.ts",
|
|
14
14
|
"files": [
|
|
15
|
+
"dist",
|
|
16
|
+
"model",
|
|
15
17
|
"index.js",
|
|
16
|
-
"
|
|
18
|
+
"index.d.ts"
|
|
17
19
|
],
|
|
20
|
+
"scripts": {
|
|
21
|
+
"clean": "rm -rf ./dist"
|
|
22
|
+
},
|
|
18
23
|
"dependencies": {
|
|
19
|
-
"@algolia/client-common": "
|
|
20
|
-
"@algolia/requester-
|
|
21
|
-
"@algolia/
|
|
24
|
+
"@algolia/client-common": "5.0.0-alpha.2",
|
|
25
|
+
"@algolia/requester-browser-xhr": "5.0.0-alpha.2",
|
|
26
|
+
"@algolia/requester-node-http": "5.0.0-alpha.2"
|
|
27
|
+
},
|
|
28
|
+
"devDependencies": {
|
|
29
|
+
"@types/node": "16.11.45",
|
|
30
|
+
"typescript": "4.7.4"
|
|
31
|
+
},
|
|
32
|
+
"engines": {
|
|
33
|
+
"node": ">= 14.0.0"
|
|
22
34
|
}
|
|
23
35
|
}
|