@algolia/client-search 5.0.0-alpha.1 → 5.0.0-alpha.100
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 +5 -5
- package/dist/builds/browser.d.ts.map +1 -1
- package/dist/builds/node.d.ts +5 -5
- package/dist/builds/node.d.ts.map +1 -1
- package/dist/{client-search.cjs.js → client-search.cjs} +2116 -1869
- package/dist/client-search.esm.browser.js +2356 -2137
- package/dist/client-search.esm.node.js +2117 -1868
- package/dist/client-search.umd.js +2 -2
- package/dist/model/acl.d.ts +4 -1
- package/dist/model/acl.d.ts.map +1 -1
- package/dist/model/action.d.ts +4 -4
- package/dist/model/action.d.ts.map +1 -1
- package/dist/model/addApiKeyResponse.d.ts +10 -10
- package/dist/model/addApiKeyResponse.d.ts.map +1 -1
- package/dist/model/advancedSyntaxFeatures.d.ts +1 -1
- package/dist/model/advancedSyntaxFeatures.d.ts.map +1 -1
- package/dist/model/alternativesAsExact.d.ts +1 -1
- package/dist/model/alternativesAsExact.d.ts.map +1 -1
- package/dist/model/anchoring.d.ts +4 -4
- package/dist/model/anchoring.d.ts.map +1 -1
- package/dist/model/apiKey.d.ts +38 -38
- package/dist/model/apiKey.d.ts.map +1 -1
- package/dist/model/aroundPrecision.d.ts +6 -0
- package/dist/model/aroundPrecision.d.ts.map +1 -0
- package/dist/model/aroundPrecisionFromValueInner.d.ts +5 -0
- package/dist/model/aroundPrecisionFromValueInner.d.ts.map +1 -0
- package/dist/model/aroundRadius.d.ts +5 -5
- package/dist/model/aroundRadius.d.ts.map +1 -1
- package/dist/model/aroundRadiusAll.d.ts +1 -1
- package/dist/model/aroundRadiusAll.d.ts.map +1 -1
- package/dist/model/assignUserIdParams.d.ts +9 -9
- package/dist/model/assignUserIdParams.d.ts.map +1 -1
- package/dist/model/attributeToUpdate.d.ts +3 -0
- package/dist/model/attributeToUpdate.d.ts.map +1 -0
- package/dist/model/automaticFacetFilter.d.ts +17 -17
- package/dist/model/automaticFacetFilter.d.ts.map +1 -1
- package/dist/model/automaticFacetFilters.d.ts +5 -5
- package/dist/model/automaticFacetFilters.d.ts.map +1 -1
- package/dist/model/baseGetApiKeyResponse.d.ts +11 -0
- package/dist/model/baseGetApiKeyResponse.d.ts.map +1 -0
- package/dist/model/baseIndexSettings.d.ts +66 -58
- package/dist/model/baseIndexSettings.d.ts.map +1 -1
- package/dist/model/baseSearchParams.d.ts +3 -3
- package/dist/model/baseSearchParams.d.ts.map +1 -1
- package/dist/model/baseSearchParamsWithoutQuery.d.ts +118 -122
- package/dist/model/baseSearchParamsWithoutQuery.d.ts.map +1 -1
- package/dist/model/baseSearchResponse.d.ts +105 -101
- package/dist/model/baseSearchResponse.d.ts.map +1 -1
- package/dist/model/batchAssignUserIdsParams.d.ts +13 -13
- package/dist/model/batchAssignUserIdsParams.d.ts.map +1 -1
- package/dist/model/batchDictionaryEntriesParams.d.ts +14 -14
- package/dist/model/batchDictionaryEntriesParams.d.ts.map +1 -1
- package/dist/model/batchDictionaryEntriesRequest.d.ts +6 -6
- package/dist/model/batchDictionaryEntriesRequest.d.ts.map +1 -1
- package/dist/model/batchParams.d.ts +7 -7
- package/dist/model/batchParams.d.ts.map +1 -1
- package/dist/model/batchRequest.d.ts +9 -0
- package/dist/model/batchRequest.d.ts.map +1 -0
- package/dist/model/batchResponse.d.ts +10 -10
- package/dist/model/batchResponse.d.ts.map +1 -1
- package/dist/model/batchWriteParams.d.ts +7 -7
- package/dist/model/batchWriteParams.d.ts.map +1 -1
- package/dist/model/browseParams.d.ts +4 -0
- package/dist/model/browseParams.d.ts.map +1 -0
- package/dist/model/browseParamsObject.d.ts +4 -0
- package/dist/model/browseParamsObject.d.ts.map +1 -0
- package/dist/model/browseResponse.d.ts +4 -4
- package/dist/model/browseResponse.d.ts.map +1 -1
- package/dist/model/builtInOperation.d.ts +11 -11
- package/dist/model/builtInOperation.d.ts.map +1 -1
- package/dist/model/builtInOperationType.d.ts +4 -4
- package/dist/model/builtInOperationType.d.ts.map +1 -1
- package/dist/model/clientMethodProps.d.ts +706 -703
- package/dist/model/clientMethodProps.d.ts.map +1 -1
- package/dist/model/condition.d.ts +16 -16
- package/dist/model/condition.d.ts.map +1 -1
- package/dist/model/consequence.d.ts +25 -25
- package/dist/model/consequence.d.ts.map +1 -1
- package/dist/model/consequenceHide.d.ts +9 -9
- package/dist/model/consequenceHide.d.ts.map +1 -1
- package/dist/model/consequenceParams.d.ts +4 -4
- package/dist/model/consequenceParams.d.ts.map +1 -1
- package/dist/model/consequenceQuery.d.ts +5 -5
- package/dist/model/consequenceQuery.d.ts.map +1 -1
- package/dist/model/consequenceQueryObject.d.ts +11 -11
- package/dist/model/consequenceQueryObject.d.ts.map +1 -1
- package/dist/model/createdAtResponse.d.ts +9 -9
- package/dist/model/createdAtResponse.d.ts.map +1 -1
- package/dist/model/cursor.d.ts +7 -0
- package/dist/model/cursor.d.ts.map +1 -0
- package/dist/model/deleteApiKeyResponse.d.ts +6 -6
- package/dist/model/deleteApiKeyResponse.d.ts.map +1 -1
- package/dist/model/deleteByParams.d.ts +27 -0
- package/dist/model/deleteByParams.d.ts.map +1 -0
- package/dist/model/deleteSourceResponse.d.ts +6 -6
- package/dist/model/deleteSourceResponse.d.ts.map +1 -1
- package/dist/model/deletedAtResponse.d.ts +13 -13
- package/dist/model/deletedAtResponse.d.ts.map +1 -1
- package/dist/model/dictionaryAction.d.ts +4 -4
- package/dist/model/dictionaryAction.d.ts.map +1 -1
- package/dist/model/dictionaryEntry.d.ts +27 -27
- package/dist/model/dictionaryEntry.d.ts.map +1 -1
- package/dist/model/dictionaryEntryState.d.ts +4 -4
- package/dist/model/dictionaryEntryState.d.ts.map +1 -1
- package/dist/model/dictionaryLanguage.d.ts +9 -9
- package/dist/model/dictionaryLanguage.d.ts.map +1 -1
- package/dist/model/dictionarySettingsParams.d.ts +7 -7
- package/dist/model/dictionarySettingsParams.d.ts.map +1 -1
- package/dist/model/dictionaryType.d.ts +1 -1
- package/dist/model/dictionaryType.d.ts.map +1 -1
- package/dist/model/distinct.d.ts +5 -0
- package/dist/model/distinct.d.ts.map +1 -0
- package/dist/model/edit.d.ts +12 -12
- package/dist/model/edit.d.ts.map +1 -1
- package/dist/model/editType.d.ts +4 -4
- package/dist/model/editType.d.ts.map +1 -1
- package/dist/model/errorBase.d.ts +6 -6
- package/dist/model/errorBase.d.ts.map +1 -1
- package/dist/model/exactOnSingleWordQuery.d.ts +4 -4
- package/dist/model/exactOnSingleWordQuery.d.ts.map +1 -1
- package/dist/model/exhaustive.d.ts +26 -0
- package/dist/model/exhaustive.d.ts.map +1 -0
- package/dist/model/facetFilters.d.ts +5 -5
- package/dist/model/facetFilters.d.ts.map +1 -1
- package/dist/model/facetHits.d.ts +14 -14
- package/dist/model/facetHits.d.ts.map +1 -1
- package/dist/model/facetOrdering.d.ts +12 -12
- package/dist/model/facetOrdering.d.ts.map +1 -1
- package/dist/model/facets.d.ts +9 -9
- package/dist/model/facets.d.ts.map +1 -1
- package/dist/model/facetsStats.d.ts +18 -18
- package/dist/model/facetsStats.d.ts.map +1 -1
- package/dist/model/fetchedIndex.d.ts +46 -46
- package/dist/model/fetchedIndex.d.ts.map +1 -1
- package/dist/model/getApiKeyResponse.d.ts +4 -0
- package/dist/model/getApiKeyResponse.d.ts.map +1 -0
- package/dist/model/getDictionarySettingsResponse.d.ts +4 -4
- package/dist/model/getDictionarySettingsResponse.d.ts.map +1 -1
- package/dist/model/getLogsResponse.d.ts +4 -4
- package/dist/model/getLogsResponse.d.ts.map +1 -1
- package/dist/model/getObjectsParams.d.ts +7 -7
- package/dist/model/getObjectsParams.d.ts.map +1 -1
- package/dist/model/getObjectsRequest.d.ts +18 -0
- package/dist/model/getObjectsRequest.d.ts.map +1 -0
- package/dist/model/getObjectsResponse.d.ts +6 -6
- package/dist/model/getObjectsResponse.d.ts.map +1 -1
- package/dist/model/getTaskResponse.d.ts +4 -4
- package/dist/model/getTaskResponse.d.ts.map +1 -1
- package/dist/model/getTopUserIdsResponse.d.ts +10 -10
- package/dist/model/getTopUserIdsResponse.d.ts.map +1 -1
- package/dist/model/hasPendingMappingsResponse.d.ts +10 -10
- package/dist/model/hasPendingMappingsResponse.d.ts.map +1 -1
- package/dist/model/highlightResult.d.ts +2 -2
- package/dist/model/highlightResult.d.ts.map +1 -1
- package/dist/model/highlightResultOption.d.ts +19 -19
- package/dist/model/highlightResultOption.d.ts.map +1 -1
- package/dist/model/hit.d.ts +22 -22
- package/dist/model/hit.d.ts.map +1 -1
- package/dist/model/ignorePlurals.d.ts +4 -4
- package/dist/model/ignorePlurals.d.ts.map +1 -1
- package/dist/model/index.d.ts +163 -152
- package/dist/model/index.d.ts.map +1 -1
- package/dist/model/indexSettings.d.ts +6 -6
- package/dist/model/indexSettings.d.ts.map +1 -1
- package/dist/model/indexSettingsAsSearchParams.d.ts +162 -158
- package/dist/model/indexSettingsAsSearchParams.d.ts.map +1 -1
- package/dist/model/languages.d.ts +9 -9
- package/dist/model/languages.d.ts.map +1 -1
- package/dist/model/listApiKeysResponse.d.ts +7 -7
- package/dist/model/listApiKeysResponse.d.ts.map +1 -1
- package/dist/model/listClustersResponse.d.ts +9 -9
- package/dist/model/listClustersResponse.d.ts.map +1 -1
- package/dist/model/listIndicesResponse.d.ts +11 -11
- package/dist/model/listIndicesResponse.d.ts.map +1 -1
- package/dist/model/listUserIdsResponse.d.ts +10 -10
- package/dist/model/listUserIdsResponse.d.ts.map +1 -1
- package/dist/model/log.d.ts +63 -63
- package/dist/model/log.d.ts.map +1 -1
- package/dist/model/logQuery.d.ts +14 -14
- package/dist/model/logQuery.d.ts.map +1 -1
- package/dist/model/logType.d.ts +1 -1
- package/dist/model/logType.d.ts.map +1 -1
- package/dist/model/matchLevel.d.ts +4 -4
- package/dist/model/matchLevel.d.ts.map +1 -1
- package/dist/model/matchedGeoLocation.d.ts +14 -14
- package/dist/model/matchedGeoLocation.d.ts.map +1 -1
- package/dist/model/mixedSearchFilters.d.ts +1 -1
- package/dist/model/mixedSearchFilters.d.ts.map +1 -1
- package/dist/model/mode.d.ts +5 -0
- package/dist/model/mode.d.ts.map +1 -0
- package/dist/model/multipleBatchRequest.d.ts +13 -0
- package/dist/model/multipleBatchRequest.d.ts.map +1 -0
- package/dist/model/multipleBatchResponse.d.ts +10 -10
- package/dist/model/multipleBatchResponse.d.ts.map +1 -1
- package/dist/model/numericFilters.d.ts +5 -5
- package/dist/model/numericFilters.d.ts.map +1 -1
- package/dist/model/operationIndexParams.d.ts +13 -13
- package/dist/model/operationIndexParams.d.ts.map +1 -1
- package/dist/model/operationType.d.ts +4 -4
- package/dist/model/operationType.d.ts.map +1 -1
- package/dist/model/optionalFilters.d.ts +5 -5
- package/dist/model/optionalFilters.d.ts.map +1 -1
- package/dist/model/params.d.ts +12 -12
- package/dist/model/params.d.ts.map +1 -1
- package/dist/model/personalization.d.ts +14 -14
- package/dist/model/personalization.d.ts.map +1 -1
- package/dist/model/promote.d.ts +3 -3
- package/dist/model/promote.d.ts.map +1 -1
- package/dist/model/promoteObjectID.d.ts +13 -13
- package/dist/model/promoteObjectID.d.ts.map +1 -1
- package/dist/model/promoteObjectIDs.d.ts +13 -13
- package/dist/model/promoteObjectIDs.d.ts.map +1 -1
- package/dist/model/queryType.d.ts +4 -4
- package/dist/model/queryType.d.ts.map +1 -1
- package/dist/model/rankingInfo.d.ts +50 -50
- package/dist/model/rankingInfo.d.ts.map +1 -1
- package/dist/model/reRankingApplyFilter.d.ts +5 -5
- package/dist/model/reRankingApplyFilter.d.ts.map +1 -1
- package/dist/model/redirect.d.ts +8 -0
- package/dist/model/redirect.d.ts.map +1 -0
- package/dist/model/redirectRuleIndexMetadata.d.ts +21 -0
- package/dist/model/redirectRuleIndexMetadata.d.ts.map +1 -0
- package/dist/model/redirectRuleIndexMetadataData.d.ts +7 -0
- package/dist/model/redirectRuleIndexMetadataData.d.ts.map +1 -0
- package/dist/model/removeStopWords.d.ts +4 -4
- package/dist/model/removeStopWords.d.ts.map +1 -1
- package/dist/model/removeUserIdResponse.d.ts +6 -6
- package/dist/model/removeUserIdResponse.d.ts.map +1 -1
- package/dist/model/removeWordsIfNoResults.d.ts +4 -4
- package/dist/model/removeWordsIfNoResults.d.ts.map +1 -1
- package/dist/model/renderingContent.d.ts +7 -7
- package/dist/model/renderingContent.d.ts.map +1 -1
- package/dist/model/replaceSourceResponse.d.ts +6 -6
- package/dist/model/replaceSourceResponse.d.ts.map +1 -1
- package/dist/model/rule.d.ts +29 -29
- package/dist/model/rule.d.ts.map +1 -1
- package/dist/model/saveObjectResponse.d.ts +14 -11
- package/dist/model/saveObjectResponse.d.ts.map +1 -1
- package/dist/model/saveSynonymResponse.d.ts +14 -14
- package/dist/model/saveSynonymResponse.d.ts.map +1 -1
- package/dist/model/scopeType.d.ts +1 -1
- package/dist/model/scopeType.d.ts.map +1 -1
- package/dist/model/searchDictionaryEntriesParams.d.ts +21 -21
- package/dist/model/searchDictionaryEntriesParams.d.ts.map +1 -1
- package/dist/model/searchForFacetValuesRequest.d.ts +14 -14
- package/dist/model/searchForFacetValuesRequest.d.ts.map +1 -1
- package/dist/model/searchForFacetValuesResponse.d.ts +12 -4
- package/dist/model/searchForFacetValuesResponse.d.ts.map +1 -1
- package/dist/model/searchForFacets.d.ts +3 -3
- package/dist/model/searchForFacets.d.ts.map +1 -1
- package/dist/model/searchForFacetsOptions.d.ts +20 -20
- package/dist/model/searchForFacetsOptions.d.ts.map +1 -1
- package/dist/model/searchForHits.d.ts +3 -3
- package/dist/model/searchForHits.d.ts.map +1 -1
- package/dist/model/searchForHitsOptions.d.ts +12 -12
- package/dist/model/searchForHitsOptions.d.ts.map +1 -1
- package/dist/model/searchHits.d.ts +12 -4
- package/dist/model/searchHits.d.ts.map +1 -1
- package/dist/model/searchMethodParams.d.ts +6 -6
- package/dist/model/searchMethodParams.d.ts.map +1 -1
- package/dist/model/searchParams.d.ts +3 -3
- package/dist/model/searchParams.d.ts.map +1 -1
- package/dist/model/searchParamsObject.d.ts +3 -3
- package/dist/model/searchParamsObject.d.ts.map +1 -1
- package/dist/model/searchParamsQuery.d.ts +6 -6
- package/dist/model/searchParamsQuery.d.ts.map +1 -1
- package/dist/model/searchParamsString.d.ts +6 -6
- package/dist/model/searchParamsString.d.ts.map +1 -1
- package/dist/model/searchQuery.d.ts +3 -3
- package/dist/model/searchQuery.d.ts.map +1 -1
- package/dist/model/searchResponse.d.ts +3 -3
- package/dist/model/searchResponse.d.ts.map +1 -1
- package/dist/model/searchResponses.d.ts +4 -4
- package/dist/model/searchResponses.d.ts.map +1 -1
- package/dist/model/searchResult.d.ts +4 -0
- package/dist/model/searchResult.d.ts.map +1 -0
- package/dist/model/searchRulesParams.d.ts +31 -31
- package/dist/model/searchRulesParams.d.ts.map +1 -1
- package/dist/model/searchRulesResponse.d.ts +19 -19
- package/dist/model/searchRulesResponse.d.ts.map +1 -1
- package/dist/model/searchStrategy.d.ts +4 -1
- package/dist/model/searchStrategy.d.ts.map +1 -1
- package/dist/model/searchSynonymsParams.d.ts +16 -6
- package/dist/model/searchSynonymsParams.d.ts.map +1 -1
- package/dist/model/searchSynonymsResponse.d.ts +11 -11
- package/dist/model/searchSynonymsResponse.d.ts.map +1 -1
- package/dist/model/searchTypeDefault.d.ts +4 -4
- package/dist/model/searchTypeDefault.d.ts.map +1 -1
- package/dist/model/searchTypeFacet.d.ts +4 -4
- package/dist/model/searchTypeFacet.d.ts.map +1 -1
- package/dist/model/searchUserIdsParams.d.ts +21 -21
- package/dist/model/searchUserIdsParams.d.ts.map +1 -1
- package/dist/model/searchUserIdsResponse.d.ts +26 -26
- package/dist/model/searchUserIdsResponse.d.ts.map +1 -1
- package/dist/model/semanticSearch.d.ts +10 -0
- package/dist/model/semanticSearch.d.ts.map +1 -0
- package/dist/model/snippetResult.d.ts +2 -2
- package/dist/model/snippetResult.d.ts.map +1 -1
- package/dist/model/snippetResultOption.d.ts +11 -11
- package/dist/model/snippetResultOption.d.ts.map +1 -1
- package/dist/model/sortRemainingBy.d.ts +4 -4
- package/dist/model/sortRemainingBy.d.ts.map +1 -1
- package/dist/model/source.d.ts +13 -13
- package/dist/model/source.d.ts.map +1 -1
- package/dist/model/standardEntries.d.ts +17 -17
- package/dist/model/standardEntries.d.ts.map +1 -1
- package/dist/model/synonymHit.d.ts +35 -37
- package/dist/model/synonymHit.d.ts.map +1 -1
- package/dist/model/synonymType.d.ts +4 -4
- package/dist/model/synonymType.d.ts.map +1 -1
- package/dist/model/tagFilters.d.ts +5 -5
- package/dist/model/tagFilters.d.ts.map +1 -1
- package/dist/model/taskStatus.d.ts +4 -1
- package/dist/model/taskStatus.d.ts.map +1 -1
- package/dist/model/timeRange.d.ts +10 -10
- package/dist/model/timeRange.d.ts.map +1 -1
- package/dist/model/typoTolerance.d.ts +5 -5
- package/dist/model/typoTolerance.d.ts.map +1 -1
- package/dist/model/typoToleranceEnum.d.ts +1 -1
- package/dist/model/typoToleranceEnum.d.ts.map +1 -1
- package/dist/model/updateApiKeyResponse.d.ts +10 -10
- package/dist/model/updateApiKeyResponse.d.ts.map +1 -1
- package/dist/model/updatedAtResponse.d.ts +13 -13
- package/dist/model/updatedAtResponse.d.ts.map +1 -1
- package/dist/model/updatedAtWithObjectIdResponse.d.ts +17 -17
- package/dist/model/updatedAtWithObjectIdResponse.d.ts.map +1 -1
- package/dist/model/updatedRuleResponse.d.ts +14 -14
- package/dist/model/updatedRuleResponse.d.ts.map +1 -1
- package/dist/model/userHighlightResult.d.ts +5 -11
- package/dist/model/userHighlightResult.d.ts.map +1 -1
- package/dist/model/userHit.d.ts +24 -24
- package/dist/model/userHit.d.ts.map +1 -1
- package/dist/model/userId.d.ts +21 -21
- package/dist/model/userId.d.ts.map +1 -1
- package/dist/model/value.d.ts +8 -8
- package/dist/model/value.d.ts.map +1 -1
- package/dist/src/searchClient.d.ts +845 -673
- package/dist/src/searchClient.d.ts.map +1 -1
- package/index.js +1 -1
- package/model/acl.ts +5 -1
- package/model/action.ts +2 -2
- package/model/addApiKeyResponse.ts +4 -3
- package/model/advancedSyntaxFeatures.ts +1 -1
- package/model/alternativesAsExact.ts +1 -1
- package/model/anchoring.ts +2 -2
- package/model/apiKey.ts +17 -10
- package/model/aroundPrecision.ts +8 -0
- package/model/aroundPrecisionFromValueInner.ts +7 -0
- package/model/aroundRadius.ts +2 -2
- package/model/aroundRadiusAll.ts +1 -1
- package/model/assignUserIdParams.ts +2 -2
- package/model/attributeToUpdate.ts +5 -0
- package/model/automaticFacetFilter.ts +3 -1
- package/model/automaticFacetFilters.ts +1 -1
- package/model/baseGetApiKeyResponse.ts +13 -0
- package/model/baseIndexSettings.ts +38 -15
- package/model/baseSearchParams.ts +1 -1
- package/model/baseSearchParamsWithoutQuery.ts +69 -42
- package/model/baseSearchResponse.ts +61 -31
- package/model/batchAssignUserIdsParams.ts +4 -3
- package/model/batchDictionaryEntriesParams.ts +5 -4
- package/model/batchDictionaryEntriesRequest.ts +2 -1
- package/model/batchParams.ts +4 -4
- package/model/batchRequest.ts +12 -0
- package/model/batchResponse.ts +4 -3
- package/model/batchWriteParams.ts +4 -4
- package/model/browseParams.ts +6 -0
- package/model/browseParamsObject.ts +6 -0
- package/model/browseResponse.ts +4 -4
- package/model/builtInOperation.ts +3 -2
- package/model/builtInOperationType.ts +2 -2
- package/model/clientMethodProps.ts +169 -166
- package/model/condition.ts +4 -1
- package/model/consequence.ts +10 -6
- package/model/consequenceHide.ts +3 -3
- package/model/consequenceParams.ts +1 -1
- package/model/consequenceQuery.ts +1 -1
- package/model/consequenceQueryObject.ts +2 -1
- package/model/createdAtResponse.ts +3 -3
- package/model/cursor.ts +8 -0
- package/model/deleteApiKeyResponse.ts +2 -2
- package/model/deleteByParams.ts +36 -0
- package/model/deleteSourceResponse.ts +2 -2
- package/model/deletedAtResponse.ts +5 -4
- package/model/dictionaryAction.ts +1 -1
- package/model/dictionaryEntry.ts +12 -7
- package/model/dictionaryEntryState.ts +2 -2
- package/model/dictionaryLanguage.ts +3 -3
- package/model/dictionarySettingsParams.ts +2 -2
- package/model/dictionaryType.ts +1 -1
- package/model/distinct.ts +6 -0
- package/model/edit.ts +3 -1
- package/model/editType.ts +1 -1
- package/model/errorBase.ts +1 -1
- package/model/exactOnSingleWordQuery.ts +2 -2
- package/model/exhaustive.ts +31 -0
- package/model/facetFilters.ts +2 -2
- package/model/facetHits.ts +6 -4
- package/model/facetOrdering.ts +4 -3
- package/model/facets.ts +2 -2
- package/model/facetsStats.ts +8 -5
- package/model/fetchedIndex.ts +13 -3
- package/model/getApiKeyResponse.ts +6 -0
- package/model/getDictionarySettingsResponse.ts +1 -1
- package/model/getLogsResponse.ts +1 -1
- package/model/getObjectsParams.ts +4 -4
- package/model/getObjectsRequest.ts +21 -0
- package/model/getObjectsResponse.ts +4 -4
- package/model/getTaskResponse.ts +1 -1
- package/model/getTopUserIdsResponse.ts +3 -3
- package/model/hasPendingMappingsResponse.ts +4 -3
- package/model/highlightResult.ts +5 -2
- package/model/highlightResultOption.ts +5 -2
- package/model/hit.ts +7 -3
- package/model/ignorePlurals.ts +2 -2
- package/model/index.ts +21 -10
- package/model/indexSettings.ts +2 -2
- package/model/indexSettingsAsSearchParams.ts +92 -44
- package/model/languages.ts +4 -2
- package/model/listApiKeysResponse.ts +4 -4
- package/model/listClustersResponse.ts +3 -3
- package/model/listIndicesResponse.ts +4 -3
- package/model/listUserIdsResponse.ts +3 -3
- package/model/log.ts +22 -8
- package/model/logQuery.ts +4 -2
- package/model/logType.ts +1 -1
- package/model/matchLevel.ts +1 -1
- package/model/matchedGeoLocation.ts +3 -1
- package/model/mixedSearchFilters.ts +1 -1
- package/model/mode.ts +6 -0
- package/model/multipleBatchRequest.ts +17 -0
- package/model/multipleBatchResponse.ts +6 -5
- package/model/numericFilters.ts +2 -2
- package/model/operationIndexParams.ts +5 -3
- package/model/operationType.ts +2 -2
- package/model/optionalFilters.ts +2 -2
- package/model/params.ts +5 -2
- package/model/personalization.ts +3 -1
- package/model/promote.ts +1 -1
- package/model/promoteObjectID.ts +5 -4
- package/model/promoteObjectIDs.ts +5 -4
- package/model/queryType.ts +2 -2
- package/model/rankingInfo.ts +13 -1
- package/model/reRankingApplyFilter.ts +2 -2
- package/model/redirect.ts +10 -0
- package/model/redirectRuleIndexMetadata.ts +27 -0
- package/model/redirectRuleIndexMetadataData.ts +8 -0
- package/model/removeStopWords.ts +2 -2
- package/model/removeUserIdResponse.ts +2 -2
- package/model/removeWordsIfNoResults.ts +2 -2
- package/model/renderingContent.ts +2 -2
- package/model/replaceSourceResponse.ts +2 -2
- package/model/rule.ts +11 -6
- package/model/saveObjectResponse.ts +10 -5
- package/model/saveSynonymResponse.ts +6 -4
- package/model/scopeType.ts +1 -1
- package/model/searchDictionaryEntriesParams.ts +9 -6
- package/model/searchForFacetValuesRequest.ts +5 -3
- package/model/searchForFacetValuesResponse.ts +11 -1
- package/model/searchForFacets.ts +1 -1
- package/model/searchForFacetsOptions.ts +8 -4
- package/model/searchForHits.ts +1 -1
- package/model/searchForHitsOptions.ts +3 -2
- package/model/searchHits.ts +13 -3
- package/model/searchMethodParams.ts +2 -1
- package/model/searchParams.ts +1 -1
- package/model/searchParamsObject.ts +1 -1
- package/model/searchParamsQuery.ts +2 -2
- package/model/searchParamsString.ts +2 -2
- package/model/searchQuery.ts +1 -1
- package/model/searchResponse.ts +3 -2
- package/model/searchResponses.ts +4 -4
- package/model/searchResult.ts +8 -0
- package/model/searchRulesParams.ts +15 -9
- package/model/searchRulesResponse.ts +4 -1
- package/model/searchStrategy.ts +4 -1
- package/model/searchSynonymsParams.ts +16 -2
- package/model/searchSynonymsResponse.ts +4 -3
- package/model/searchTypeDefault.ts +2 -2
- package/model/searchTypeFacet.ts +2 -2
- package/model/searchUserIdsParams.ts +8 -5
- package/model/searchUserIdsResponse.ts +10 -6
- package/model/semanticSearch.ts +11 -0
- package/model/snippetResult.ts +5 -2
- package/model/snippetResultOption.ts +3 -2
- package/model/sortRemainingBy.ts +2 -2
- package/model/source.ts +5 -4
- package/model/standardEntries.ts +7 -5
- package/model/synonymHit.ts +14 -9
- package/model/synonymType.ts +2 -2
- package/model/tagFilters.ts +2 -2
- package/model/taskStatus.ts +4 -1
- package/model/timeRange.ts +2 -1
- package/model/typoTolerance.ts +2 -2
- package/model/typoToleranceEnum.ts +1 -1
- package/model/updateApiKeyResponse.ts +4 -3
- package/model/updatedAtResponse.ts +5 -4
- package/model/updatedAtWithObjectIdResponse.ts +7 -5
- package/model/updatedRuleResponse.ts +6 -4
- package/model/userHighlightResult.ts +4 -9
- package/model/userHit.ts +7 -2
- package/model/userId.ts +6 -3
- package/model/value.ts +2 -1
- package/package.json +32 -13
- package/dist/model/attributeOrBuiltInOperation.d.ts +0 -3
- package/dist/model/attributeOrBuiltInOperation.d.ts.map +0 -1
- package/dist/model/baseBrowseResponse.d.ts +0 -7
- package/dist/model/baseBrowseResponse.d.ts.map +0 -1
- package/dist/model/batchOperation.d.ts +0 -9
- package/dist/model/batchOperation.d.ts.map +0 -1
- package/dist/model/browseRequest.d.ts +0 -11
- package/dist/model/browseRequest.d.ts.map +0 -1
- package/dist/model/createdAtObject.d.ts +0 -7
- package/dist/model/createdAtObject.d.ts.map +0 -1
- package/dist/model/key.d.ts +0 -4
- package/dist/model/key.d.ts.map +0 -1
- package/dist/model/multipleBatchOperation.d.ts +0 -13
- package/dist/model/multipleBatchOperation.d.ts.map +0 -1
- package/dist/model/multipleGetObjectsParams.d.ts +0 -18
- package/dist/model/multipleGetObjectsParams.d.ts.map +0 -1
- package/dist/model/synonymHitHighlightResult.d.ts +0 -12
- package/dist/model/synonymHitHighlightResult.d.ts.map +0 -1
- package/model/attributeOrBuiltInOperation.ts +0 -5
- package/model/baseBrowseResponse.ts +0 -8
- package/model/batchOperation.ts +0 -11
- package/model/browseRequest.ts +0 -12
- package/model/createdAtObject.ts +0 -8
- package/model/key.ts +0 -6
- package/model/multipleBatchOperation.ts +0 -15
- package/model/multipleGetObjectsParams.ts +0 -19
- package/model/synonymHitHighlightResult.ts +0 -14
|
@@ -1,8 +1,8 @@
|
|
|
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
|
-
export type GetObjectsResponse = {
|
|
3
|
+
export type GetObjectsResponse<T = Record<string, any>> = {
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Retrieved results.
|
|
6
6
|
*/
|
|
7
|
-
results
|
|
7
|
+
results: T[];
|
|
8
8
|
};
|
package/model/getTaskResponse.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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
|
import type { TaskStatus } from './taskStatus';
|
|
4
4
|
|
|
@@ -1,13 +1,13 @@
|
|
|
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
|
import type { UserId } from './userId';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* User IDs and clusters.
|
|
7
7
|
*/
|
|
8
8
|
export type GetTopUserIdsResponse = {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Key-value pairs with cluster names as keys and lists of users with the highest number of records per cluster as values.
|
|
11
11
|
*/
|
|
12
12
|
topUsers: Array<Record<string, UserId[]>>;
|
|
13
13
|
};
|
|
@@ -1,12 +1,13 @@
|
|
|
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
|
export type HasPendingMappingsResponse = {
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Indicates whether there are clusters undergoing migration, creation, or deletion.
|
|
6
6
|
*/
|
|
7
7
|
pending: boolean;
|
|
8
|
+
|
|
8
9
|
/**
|
|
9
|
-
*
|
|
10
|
+
* Cluster pending mapping state: migrating, creating, deleting.
|
|
10
11
|
*/
|
|
11
12
|
clusters?: Record<string, string[]>;
|
|
12
13
|
};
|
package/model/highlightResult.ts
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
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
|
import type { HighlightResultOption } from './highlightResultOption';
|
|
4
4
|
|
|
5
|
-
export type HighlightResult =
|
|
5
|
+
export type HighlightResult =
|
|
6
|
+
| HighlightResultOption
|
|
7
|
+
| HighlightResultOption[]
|
|
8
|
+
| Record<string, HighlightResultOption>;
|
|
@@ -1,4 +1,4 @@
|
|
|
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
|
import type { MatchLevel } from './matchLevel';
|
|
4
4
|
|
|
@@ -7,14 +7,17 @@ import type { MatchLevel } from './matchLevel';
|
|
|
7
7
|
*/
|
|
8
8
|
export type HighlightResultOption = {
|
|
9
9
|
/**
|
|
10
|
-
* Markup text with
|
|
10
|
+
* Markup text with `facetQuery` matches highlighted.
|
|
11
11
|
*/
|
|
12
12
|
value: string;
|
|
13
|
+
|
|
13
14
|
matchLevel: MatchLevel;
|
|
15
|
+
|
|
14
16
|
/**
|
|
15
17
|
* List of words from the query that matched the object.
|
|
16
18
|
*/
|
|
17
19
|
matchedWords: string[];
|
|
20
|
+
|
|
18
21
|
/**
|
|
19
22
|
* Whether the entire attribute value is highlighted.
|
|
20
23
|
*/
|
package/model/hit.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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
|
import type { HighlightResult } from './highlightResult';
|
|
4
4
|
import type { RankingInfo } from './rankingInfo';
|
|
@@ -7,19 +7,23 @@ import type { SnippetResult } from './snippetResult';
|
|
|
7
7
|
/**
|
|
8
8
|
* A single hit.
|
|
9
9
|
*/
|
|
10
|
-
export type Hit<T
|
|
10
|
+
export type Hit<T = Record<string, any>> = T & {
|
|
11
11
|
/**
|
|
12
|
-
* Unique identifier
|
|
12
|
+
* Unique object identifier.
|
|
13
13
|
*/
|
|
14
14
|
objectID: string;
|
|
15
|
+
|
|
15
16
|
/**
|
|
16
17
|
* Show highlighted section and words matched on a query.
|
|
17
18
|
*/
|
|
18
19
|
_highlightResult?: Record<string, HighlightResult>;
|
|
20
|
+
|
|
19
21
|
/**
|
|
20
22
|
* Snippeted attributes show parts of the matched attributes. Only returned when attributesToSnippet is non-empty.
|
|
21
23
|
*/
|
|
22
24
|
_snippetResult?: Record<string, SnippetResult>;
|
|
25
|
+
|
|
23
26
|
_rankingInfo?: RankingInfo;
|
|
27
|
+
|
|
24
28
|
_distinctSeqID?: number;
|
|
25
29
|
};
|
package/model/ignorePlurals.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/model/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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
|
export * from './acl';
|
|
4
4
|
export * from './action';
|
|
@@ -7,13 +7,15 @@ export * from './advancedSyntaxFeatures';
|
|
|
7
7
|
export * from './alternativesAsExact';
|
|
8
8
|
export * from './anchoring';
|
|
9
9
|
export * from './apiKey';
|
|
10
|
+
export * from './aroundPrecision';
|
|
11
|
+
export * from './aroundPrecisionFromValueInner';
|
|
10
12
|
export * from './aroundRadius';
|
|
11
13
|
export * from './aroundRadiusAll';
|
|
12
14
|
export * from './assignUserIdParams';
|
|
13
|
-
export * from './
|
|
15
|
+
export * from './attributeToUpdate';
|
|
14
16
|
export * from './automaticFacetFilter';
|
|
15
17
|
export * from './automaticFacetFilters';
|
|
16
|
-
export * from './
|
|
18
|
+
export * from './baseGetApiKeyResponse';
|
|
17
19
|
export * from './baseIndexSettings';
|
|
18
20
|
export * from './baseSearchParams';
|
|
19
21
|
export * from './baseSearchParamsWithoutQuery';
|
|
@@ -21,11 +23,12 @@ export * from './baseSearchResponse';
|
|
|
21
23
|
export * from './batchAssignUserIdsParams';
|
|
22
24
|
export * from './batchDictionaryEntriesParams';
|
|
23
25
|
export * from './batchDictionaryEntriesRequest';
|
|
24
|
-
export * from './batchOperation';
|
|
25
26
|
export * from './batchParams';
|
|
27
|
+
export * from './batchRequest';
|
|
26
28
|
export * from './batchResponse';
|
|
27
29
|
export * from './batchWriteParams';
|
|
28
|
-
export * from './
|
|
30
|
+
export * from './browseParams';
|
|
31
|
+
export * from './browseParamsObject';
|
|
29
32
|
export * from './browseResponse';
|
|
30
33
|
export * from './builtInOperation';
|
|
31
34
|
export * from './builtInOperationType';
|
|
@@ -35,9 +38,10 @@ export * from './consequenceHide';
|
|
|
35
38
|
export * from './consequenceParams';
|
|
36
39
|
export * from './consequenceQuery';
|
|
37
40
|
export * from './consequenceQueryObject';
|
|
38
|
-
export * from './createdAtObject';
|
|
39
41
|
export * from './createdAtResponse';
|
|
42
|
+
export * from './cursor';
|
|
40
43
|
export * from './deleteApiKeyResponse';
|
|
44
|
+
export * from './deleteByParams';
|
|
41
45
|
export * from './deleteSourceResponse';
|
|
42
46
|
export * from './deletedAtResponse';
|
|
43
47
|
export * from './dictionaryAction';
|
|
@@ -46,19 +50,23 @@ export * from './dictionaryEntryState';
|
|
|
46
50
|
export * from './dictionaryLanguage';
|
|
47
51
|
export * from './dictionarySettingsParams';
|
|
48
52
|
export * from './dictionaryType';
|
|
53
|
+
export * from './distinct';
|
|
49
54
|
export * from './edit';
|
|
50
55
|
export * from './editType';
|
|
51
56
|
export * from './errorBase';
|
|
52
57
|
export * from './exactOnSingleWordQuery';
|
|
58
|
+
export * from './exhaustive';
|
|
53
59
|
export * from './facetFilters';
|
|
54
60
|
export * from './facetHits';
|
|
55
61
|
export * from './facetOrdering';
|
|
56
62
|
export * from './facets';
|
|
57
63
|
export * from './facetsStats';
|
|
58
64
|
export * from './fetchedIndex';
|
|
65
|
+
export * from './getApiKeyResponse';
|
|
59
66
|
export * from './getDictionarySettingsResponse';
|
|
60
67
|
export * from './getLogsResponse';
|
|
61
68
|
export * from './getObjectsParams';
|
|
69
|
+
export * from './getObjectsRequest';
|
|
62
70
|
export * from './getObjectsResponse';
|
|
63
71
|
export * from './getTaskResponse';
|
|
64
72
|
export * from './getTopUserIdsResponse';
|
|
@@ -69,7 +77,6 @@ export * from './hit';
|
|
|
69
77
|
export * from './ignorePlurals';
|
|
70
78
|
export * from './indexSettings';
|
|
71
79
|
export * from './indexSettingsAsSearchParams';
|
|
72
|
-
export * from './key';
|
|
73
80
|
export * from './languages';
|
|
74
81
|
export * from './listApiKeysResponse';
|
|
75
82
|
export * from './listClustersResponse';
|
|
@@ -81,9 +88,9 @@ export * from './logType';
|
|
|
81
88
|
export * from './matchLevel';
|
|
82
89
|
export * from './matchedGeoLocation';
|
|
83
90
|
export * from './mixedSearchFilters';
|
|
84
|
-
export * from './
|
|
91
|
+
export * from './mode';
|
|
92
|
+
export * from './multipleBatchRequest';
|
|
85
93
|
export * from './multipleBatchResponse';
|
|
86
|
-
export * from './multipleGetObjectsParams';
|
|
87
94
|
export * from './numericFilters';
|
|
88
95
|
export * from './operationIndexParams';
|
|
89
96
|
export * from './operationType';
|
|
@@ -96,6 +103,9 @@ export * from './promoteObjectIDs';
|
|
|
96
103
|
export * from './queryType';
|
|
97
104
|
export * from './rankingInfo';
|
|
98
105
|
export * from './reRankingApplyFilter';
|
|
106
|
+
export * from './redirect';
|
|
107
|
+
export * from './redirectRuleIndexMetadata';
|
|
108
|
+
export * from './redirectRuleIndexMetadataData';
|
|
99
109
|
export * from './removeStopWords';
|
|
100
110
|
export * from './removeUserIdResponse';
|
|
101
111
|
export * from './removeWordsIfNoResults';
|
|
@@ -121,6 +131,7 @@ export * from './searchParamsString';
|
|
|
121
131
|
export * from './searchQuery';
|
|
122
132
|
export * from './searchResponse';
|
|
123
133
|
export * from './searchResponses';
|
|
134
|
+
export * from './searchResult';
|
|
124
135
|
export * from './searchRulesParams';
|
|
125
136
|
export * from './searchRulesResponse';
|
|
126
137
|
export * from './searchStrategy';
|
|
@@ -130,13 +141,13 @@ export * from './searchTypeDefault';
|
|
|
130
141
|
export * from './searchTypeFacet';
|
|
131
142
|
export * from './searchUserIdsParams';
|
|
132
143
|
export * from './searchUserIdsResponse';
|
|
144
|
+
export * from './semanticSearch';
|
|
133
145
|
export * from './snippetResult';
|
|
134
146
|
export * from './snippetResultOption';
|
|
135
147
|
export * from './sortRemainingBy';
|
|
136
148
|
export * from './source';
|
|
137
149
|
export * from './standardEntries';
|
|
138
150
|
export * from './synonymHit';
|
|
139
|
-
export * from './synonymHitHighlightResult';
|
|
140
151
|
export * from './synonymType';
|
|
141
152
|
export * from './tagFilters';
|
|
142
153
|
export * from './taskStatus';
|
package/model/indexSettings.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
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
|
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;
|
|
@@ -1,161 +1,209 @@
|
|
|
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
|
import type { AdvancedSyntaxFeatures } from './advancedSyntaxFeatures';
|
|
4
4
|
import type { AlternativesAsExact } from './alternativesAsExact';
|
|
5
|
+
import type { Distinct } from './distinct';
|
|
5
6
|
import type { ExactOnSingleWordQuery } from './exactOnSingleWordQuery';
|
|
6
7
|
import type { IgnorePlurals } from './ignorePlurals';
|
|
8
|
+
import type { Mode } from './mode';
|
|
7
9
|
import type { QueryType } from './queryType';
|
|
10
|
+
import type { ReRankingApplyFilter } from './reRankingApplyFilter';
|
|
8
11
|
import type { RemoveStopWords } from './removeStopWords';
|
|
9
12
|
import type { RemoveWordsIfNoResults } from './removeWordsIfNoResults';
|
|
10
13
|
import type { RenderingContent } from './renderingContent';
|
|
14
|
+
import type { SemanticSearch } from './semanticSearch';
|
|
11
15
|
import type { TypoTolerance } from './typoTolerance';
|
|
12
16
|
|
|
13
17
|
export type IndexSettingsAsSearchParams = {
|
|
14
18
|
/**
|
|
15
|
-
*
|
|
19
|
+
* Attributes used for [faceting](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/) and the [modifiers](https://www.algolia.com/doc/api-reference/api-parameters/attributesForFaceting/#modifiers) that can be applied: `filterOnly`, `searchable`, and `afterDistinct`.
|
|
16
20
|
*/
|
|
17
21
|
attributesForFaceting?: string[];
|
|
22
|
+
|
|
18
23
|
/**
|
|
19
|
-
*
|
|
20
|
-
*/
|
|
21
|
-
unretrievableAttributes?: string[];
|
|
22
|
-
/**
|
|
23
|
-
* This parameter controls which attributes to retrieve and which not to retrieve.
|
|
24
|
+
* Attributes to include in the API response. To reduce the size of your response, you can retrieve only some of the attributes. By default, the response includes all attributes.
|
|
24
25
|
*/
|
|
25
26
|
attributesToRetrieve?: string[];
|
|
27
|
+
|
|
26
28
|
/**
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
|
-
restrictSearchableAttributes?: string[];
|
|
30
|
-
/**
|
|
31
|
-
* Controls how Algolia should sort your results.
|
|
29
|
+
* Determines the order in which Algolia [returns your results](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/).
|
|
32
30
|
*/
|
|
33
31
|
ranking?: string[];
|
|
32
|
+
|
|
34
33
|
/**
|
|
35
|
-
* Specifies the
|
|
34
|
+
* Specifies the [Custom ranking criterion](https://www.algolia.com/doc/guides/managing-results/must-do/custom-ranking/). Use the `asc` and `desc` modifiers to specify the ranking order: ascending or descending.
|
|
36
35
|
*/
|
|
37
36
|
customRanking?: string[];
|
|
37
|
+
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
39
|
+
* Relevancy threshold below which less relevant results aren\'t included in the results.
|
|
40
40
|
*/
|
|
41
41
|
relevancyStrictness?: number;
|
|
42
|
+
|
|
42
43
|
/**
|
|
43
|
-
*
|
|
44
|
+
* Attributes to highlight. Strings that match the search query in the attributes are highlighted by surrounding them with HTML tags (`highlightPreTag` and `highlightPostTag`).
|
|
44
45
|
*/
|
|
45
46
|
attributesToHighlight?: string[];
|
|
47
|
+
|
|
46
48
|
/**
|
|
47
|
-
*
|
|
49
|
+
* Attributes to _snippet_. \'Snippeting\' is shortening the attribute to a certain number of words. If not specified, the attribute is shortened to the 10 words around the matching string but you can specify the number. For example: `body:20`.
|
|
48
50
|
*/
|
|
49
51
|
attributesToSnippet?: string[];
|
|
52
|
+
|
|
50
53
|
/**
|
|
51
|
-
*
|
|
54
|
+
* HTML string to insert before the highlighted parts in all highlight and snippet results.
|
|
52
55
|
*/
|
|
53
56
|
highlightPreTag?: string;
|
|
57
|
+
|
|
54
58
|
/**
|
|
55
|
-
*
|
|
59
|
+
* HTML string to insert after the highlighted parts in all highlight and snippet results.
|
|
56
60
|
*/
|
|
57
61
|
highlightPostTag?: string;
|
|
62
|
+
|
|
58
63
|
/**
|
|
59
64
|
* String used as an ellipsis indicator when a snippet is truncated.
|
|
60
65
|
*/
|
|
61
66
|
snippetEllipsisText?: string;
|
|
67
|
+
|
|
62
68
|
/**
|
|
63
69
|
* Restrict highlighting and snippeting to items that matched the query.
|
|
64
70
|
*/
|
|
65
71
|
restrictHighlightAndSnippetArrays?: boolean;
|
|
72
|
+
|
|
66
73
|
/**
|
|
67
|
-
*
|
|
74
|
+
* Number of hits per page.
|
|
68
75
|
*/
|
|
69
76
|
hitsPerPage?: number;
|
|
77
|
+
|
|
70
78
|
/**
|
|
71
|
-
* Minimum number of characters a word in the query string must contain to accept matches with
|
|
79
|
+
* Minimum number of characters a word in the query string must contain to accept matches with [one typo](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/in-depth/configuring-typo-tolerance/#configuring-word-length-for-typos).
|
|
72
80
|
*/
|
|
73
81
|
minWordSizefor1Typo?: number;
|
|
82
|
+
|
|
74
83
|
/**
|
|
75
|
-
* Minimum number of characters a word in the query string must contain to accept matches with
|
|
84
|
+
* Minimum number of characters a word in the query string must contain to accept matches with [two typos](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/in-depth/configuring-typo-tolerance/#configuring-word-length-for-typos).
|
|
76
85
|
*/
|
|
77
86
|
minWordSizefor2Typos?: number;
|
|
87
|
+
|
|
78
88
|
typoTolerance?: TypoTolerance;
|
|
89
|
+
|
|
79
90
|
/**
|
|
80
91
|
* Whether to allow typos on numbers (\"numeric tokens\") in the query string.
|
|
81
92
|
*/
|
|
82
93
|
allowTyposOnNumericTokens?: boolean;
|
|
94
|
+
|
|
83
95
|
/**
|
|
84
|
-
*
|
|
96
|
+
* Attributes for which you want to turn off [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/).
|
|
85
97
|
*/
|
|
86
98
|
disableTypoToleranceOnAttributes?: string[];
|
|
99
|
+
|
|
87
100
|
ignorePlurals?: IgnorePlurals;
|
|
101
|
+
|
|
88
102
|
removeStopWords?: RemoveStopWords;
|
|
103
|
+
|
|
89
104
|
/**
|
|
90
|
-
*
|
|
105
|
+
* Characters that the engine shouldn\'t automatically [normalize](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/normalization/).
|
|
91
106
|
*/
|
|
92
107
|
keepDiacriticsOnCharacters?: string;
|
|
108
|
+
|
|
93
109
|
/**
|
|
94
|
-
* Sets
|
|
110
|
+
* Sets your user\'s search language. This adjusts language-specific settings and features such as `ignorePlurals`, `removeStopWords`, and [CJK](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/normalization/#normalization-for-logogram-based-languages-cjk) word detection.
|
|
95
111
|
*/
|
|
96
112
|
queryLanguages?: string[];
|
|
113
|
+
|
|
97
114
|
/**
|
|
98
|
-
* Splits compound words into their
|
|
115
|
+
* [Splits compound words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/language-specific-configurations/#splitting-compound-words) into their component word parts in the query.
|
|
99
116
|
*/
|
|
100
117
|
decompoundQuery?: boolean;
|
|
118
|
+
|
|
101
119
|
/**
|
|
102
|
-
*
|
|
120
|
+
* Incidates whether [Rules](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/) are enabled.
|
|
103
121
|
*/
|
|
104
122
|
enableRules?: boolean;
|
|
123
|
+
|
|
105
124
|
/**
|
|
106
|
-
*
|
|
125
|
+
* Incidates whether [Personalization](https://www.algolia.com/doc/guides/personalization/what-is-personalization/) is enabled.
|
|
107
126
|
*/
|
|
108
127
|
enablePersonalization?: boolean;
|
|
128
|
+
|
|
109
129
|
queryType?: QueryType;
|
|
130
|
+
|
|
110
131
|
removeWordsIfNoResults?: RemoveWordsIfNoResults;
|
|
132
|
+
|
|
133
|
+
mode?: Mode;
|
|
134
|
+
|
|
135
|
+
semanticSearch?: SemanticSearch;
|
|
136
|
+
|
|
111
137
|
/**
|
|
112
|
-
* Enables the advanced query syntax.
|
|
138
|
+
* Enables the [advanced query syntax](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/#advanced-syntax).
|
|
113
139
|
*/
|
|
114
140
|
advancedSyntax?: boolean;
|
|
141
|
+
|
|
115
142
|
/**
|
|
116
|
-
*
|
|
143
|
+
* Words which should be considered [optional](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#creating-a-list-of-optional-words) when found in a query.
|
|
117
144
|
*/
|
|
118
145
|
optionalWords?: string[];
|
|
146
|
+
|
|
119
147
|
/**
|
|
120
|
-
*
|
|
148
|
+
* Attributes for which you want to [turn off 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).
|
|
121
149
|
*/
|
|
122
150
|
disableExactOnAttributes?: string[];
|
|
151
|
+
|
|
123
152
|
exactOnSingleWordQuery?: ExactOnSingleWordQuery;
|
|
153
|
+
|
|
124
154
|
/**
|
|
125
|
-
*
|
|
155
|
+
* Alternatives that should be considered an exact match by [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).
|
|
126
156
|
*/
|
|
127
157
|
alternativesAsExact?: AlternativesAsExact[];
|
|
158
|
+
|
|
128
159
|
/**
|
|
129
|
-
* Allows you to specify which advanced syntax features are active when
|
|
160
|
+
* Allows you to specify which advanced syntax features are active when `advancedSyntax` is enabled.
|
|
130
161
|
*/
|
|
131
162
|
advancedSyntaxFeatures?: AdvancedSyntaxFeatures[];
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
distinct?: number;
|
|
136
|
-
/**
|
|
137
|
-
* Whether to take into account an index\'s synonyms for a particular search.
|
|
138
|
-
*/
|
|
139
|
-
synonyms?: boolean;
|
|
163
|
+
|
|
164
|
+
distinct?: Distinct;
|
|
165
|
+
|
|
140
166
|
/**
|
|
141
167
|
* Whether to highlight and snippet the original word that matches the synonym or the synonym itself.
|
|
142
168
|
*/
|
|
143
169
|
replaceSynonymsInHighlight?: boolean;
|
|
170
|
+
|
|
144
171
|
/**
|
|
145
|
-
* Precision of the proximity ranking criterion.
|
|
172
|
+
* Precision of the [proximity ranking criterion](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#proximity).
|
|
146
173
|
*/
|
|
147
174
|
minProximity?: number;
|
|
175
|
+
|
|
148
176
|
/**
|
|
149
|
-
*
|
|
177
|
+
* Attributes to include in the API response for search and browse queries.
|
|
150
178
|
*/
|
|
151
179
|
responseFields?: string[];
|
|
180
|
+
|
|
152
181
|
/**
|
|
153
|
-
* Maximum number of facet hits to return
|
|
182
|
+
* Maximum number of facet hits to return when [searching for facet values](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#search-for-facet-values).
|
|
154
183
|
*/
|
|
155
184
|
maxFacetHits?: number;
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* Maximum number of facet values to return for each facet.
|
|
188
|
+
*/
|
|
189
|
+
maxValuesPerFacet?: number;
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* Controls how facet values are fetched.
|
|
193
|
+
*/
|
|
194
|
+
sortFacetValuesBy?: string;
|
|
195
|
+
|
|
156
196
|
/**
|
|
157
|
-
* When
|
|
197
|
+
* When the [Attribute criterion is ranked above Proximity](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#attribute-and-proximity-combinations) in your ranking formula, Proximity is used to select which searchable attribute is matched in the Attribute ranking stage.
|
|
158
198
|
*/
|
|
159
199
|
attributeCriteriaComputedByMinProximity?: boolean;
|
|
200
|
+
|
|
160
201
|
renderingContent?: RenderingContent;
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* Indicates whether this search will use [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking/).
|
|
205
|
+
*/
|
|
206
|
+
enableReRanking?: boolean;
|
|
207
|
+
|
|
208
|
+
reRankingApplyFilter?: ReRankingApplyFilter | null;
|
|
161
209
|
};
|
package/model/languages.ts
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
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
|
import type { DictionaryLanguage } from './dictionaryLanguage';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Dictionary language.
|
|
7
7
|
*/
|
|
8
8
|
export type Languages = {
|
|
9
9
|
plurals: DictionaryLanguage | null;
|
|
10
|
+
|
|
10
11
|
stopwords: DictionaryLanguage | null;
|
|
12
|
+
|
|
11
13
|
compounds: DictionaryLanguage | null;
|
|
12
14
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
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
|
-
import type {
|
|
3
|
+
import type { GetApiKeyResponse } from './getApiKeyResponse';
|
|
4
4
|
|
|
5
5
|
export type ListApiKeysResponse = {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* API keys.
|
|
8
8
|
*/
|
|
9
|
-
keys:
|
|
9
|
+
keys: GetApiKeyResponse[];
|
|
10
10
|
};
|
|
@@ -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
|
-
*
|
|
4
|
+
* Clusters.
|
|
5
5
|
*/
|
|
6
6
|
export type ListClustersResponse = {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Key-value pairs with cluster names as keys and lists of users with the highest number of records per cluster as values.
|
|
9
9
|
*/
|
|
10
10
|
topUsers: string[];
|
|
11
11
|
};
|
|
@@ -1,12 +1,13 @@
|
|
|
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
|
import type { FetchedIndex } from './fetchedIndex';
|
|
4
4
|
|
|
5
5
|
export type ListIndicesResponse = {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* All indices in your Algolia application.
|
|
8
8
|
*/
|
|
9
|
-
items
|
|
9
|
+
items: FetchedIndex[];
|
|
10
|
+
|
|
10
11
|
/**
|
|
11
12
|
* Number of pages.
|
|
12
13
|
*/
|
|
@@ -1,13 +1,13 @@
|
|
|
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
|
import type { UserId } from './userId';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* User ID data.
|
|
7
7
|
*/
|
|
8
8
|
export type ListUserIdsResponse = {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* User IDs.
|
|
11
11
|
*/
|
|
12
12
|
userIDs: UserId[];
|
|
13
13
|
};
|