@algolia/client-search 5.0.0-alpha.8 → 5.0.0-alpha.81
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/node.d.ts +5 -5
- package/dist/{client-search.cjs.js → client-search.cjs} +2001 -1991
- package/dist/client-search.esm.browser.js +2193 -2235
- package/dist/client-search.esm.node.js +2001 -1989
- package/dist/client-search.umd.js +2 -2
- package/dist/model/acl.d.ts +4 -4
- 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 +2 -2
- package/dist/model/attributeToUpdate.d.ts.map +1 -1
- 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 +10 -10
- package/dist/model/baseGetApiKeyResponse.d.ts.map +1 -1
- package/dist/model/baseIndexSettings.d.ts +62 -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 +95 -101
- package/dist/model/baseSearchResponse.d.ts.map +1 -1
- package/dist/model/baseSearchResponseRedirect.d.ts +8 -0
- package/dist/model/baseSearchResponseRedirect.d.ts.map +1 -0
- 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 +8 -8
- package/dist/model/batchRequest.d.ts.map +1 -1
- 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 +3 -3
- package/dist/model/browseParams.d.ts.map +1 -1
- package/dist/model/browseParamsObject.d.ts +3 -3
- package/dist/model/browseParamsObject.d.ts.map +1 -1
- 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 +719 -714
- 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 +6 -6
- package/dist/model/cursor.d.ts.map +1 -1
- 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 +4 -4
- package/dist/model/distinct.d.ts.map +1 -1
- 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/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 +3 -3
- package/dist/model/getApiKeyResponse.d.ts.map +1 -1
- 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 +17 -17
- package/dist/model/getObjectsRequest.d.ts.map +1 -1
- 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 +162 -154
- 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 +166 -160
- 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 +12 -12
- package/dist/model/multipleBatchRequest.d.ts.map +1 -1
- 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/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 +4 -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 +6 -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 +11 -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 +724 -723
- package/dist/src/searchClient.d.ts.map +1 -1
- package/index.js +1 -1
- package/model/acl.ts +3 -2
- package/model/action.ts +2 -2
- package/model/addApiKeyResponse.ts +3 -3
- package/model/advancedSyntaxFeatures.ts +1 -1
- package/model/alternativesAsExact.ts +1 -1
- package/model/anchoring.ts +2 -2
- package/model/apiKey.ts +10 -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 +1 -1
- package/model/automaticFacetFilter.ts +1 -1
- package/model/automaticFacetFilters.ts +1 -1
- package/model/baseGetApiKeyResponse.ts +3 -3
- package/model/baseIndexSettings.ts +19 -14
- package/model/baseSearchParams.ts +1 -1
- package/model/baseSearchParamsWithoutQuery.ts +38 -43
- package/model/baseSearchResponse.ts +21 -28
- package/model/baseSearchResponseRedirect.ts +10 -0
- package/model/batchAssignUserIdsParams.ts +3 -3
- package/model/batchDictionaryEntriesParams.ts +4 -4
- package/model/batchDictionaryEntriesRequest.ts +1 -1
- package/model/batchParams.ts +2 -2
- package/model/batchRequest.ts +2 -2
- package/model/batchResponse.ts +3 -3
- package/model/batchWriteParams.ts +2 -2
- package/model/browseParams.ts +1 -1
- package/model/browseParamsObject.ts +1 -1
- package/model/browseResponse.ts +1 -1
- package/model/builtInOperation.ts +2 -2
- package/model/builtInOperationType.ts +2 -2
- package/model/clientMethodProps.ts +91 -86
- package/model/condition.ts +1 -1
- package/model/consequence.ts +5 -5
- package/model/consequenceHide.ts +3 -3
- package/model/consequenceParams.ts +1 -1
- package/model/consequenceQuery.ts +1 -1
- package/model/consequenceQueryObject.ts +1 -1
- package/model/createdAtResponse.ts +3 -3
- package/model/cursor.ts +2 -2
- package/model/deleteApiKeyResponse.ts +2 -2
- package/model/deleteByParams.ts +36 -0
- package/model/deleteSourceResponse.ts +2 -2
- package/model/deletedAtResponse.ts +4 -4
- package/model/dictionaryAction.ts +1 -1
- package/model/dictionaryEntry.ts +7 -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 +2 -2
- package/model/edit.ts +1 -1
- package/model/editType.ts +1 -1
- package/model/errorBase.ts +1 -1
- package/model/exactOnSingleWordQuery.ts +2 -2
- package/model/facetFilters.ts +2 -2
- package/model/facetHits.ts +4 -4
- package/model/facetOrdering.ts +3 -3
- package/model/facets.ts +2 -2
- package/model/facetsStats.ts +5 -5
- package/model/fetchedIndex.ts +3 -3
- package/model/getApiKeyResponse.ts +1 -1
- package/model/getDictionarySettingsResponse.ts +1 -1
- package/model/getLogsResponse.ts +1 -1
- package/model/getObjectsParams.ts +2 -2
- package/model/getObjectsRequest.ts +5 -5
- package/model/getObjectsResponse.ts +2 -2
- package/model/getTaskResponse.ts +1 -1
- package/model/getTopUserIdsResponse.ts +3 -3
- package/model/hasPendingMappingsResponse.ts +3 -3
- package/model/highlightResult.ts +1 -1
- package/model/highlightResultOption.ts +2 -2
- package/model/hit.ts +2 -2
- package/model/ignorePlurals.ts +2 -2
- package/model/index.ts +10 -2
- package/model/indexSettings.ts +2 -2
- package/model/indexSettingsAsSearchParams.ts +53 -44
- package/model/languages.ts +2 -2
- package/model/listApiKeysResponse.ts +2 -2
- package/model/listClustersResponse.ts +3 -3
- package/model/listIndicesResponse.ts +2 -2
- package/model/listUserIdsResponse.ts +3 -3
- package/model/log.ts +8 -8
- package/model/logQuery.ts +2 -2
- package/model/logType.ts +1 -1
- package/model/matchLevel.ts +1 -1
- package/model/matchedGeoLocation.ts +1 -1
- package/model/mixedSearchFilters.ts +1 -1
- package/model/mode.ts +6 -0
- package/model/multipleBatchRequest.ts +2 -2
- package/model/multipleBatchResponse.ts +3 -3
- package/model/numericFilters.ts +2 -2
- package/model/operationIndexParams.ts +3 -3
- package/model/operationType.ts +2 -2
- package/model/optionalFilters.ts +2 -2
- package/model/params.ts +2 -2
- package/model/personalization.ts +1 -1
- package/model/promote.ts +1 -1
- package/model/promoteObjectID.ts +4 -4
- package/model/promoteObjectIDs.ts +4 -4
- package/model/queryType.ts +2 -2
- package/model/rankingInfo.ts +1 -1
- package/model/reRankingApplyFilter.ts +2 -2
- 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 +6 -6
- package/model/saveObjectResponse.ts +6 -3
- package/model/saveSynonymResponse.ts +4 -4
- package/model/scopeType.ts +1 -1
- package/model/searchDictionaryEntriesParams.ts +6 -6
- package/model/searchForFacetValuesRequest.ts +3 -3
- package/model/searchForFacetValuesResponse.ts +1 -1
- package/model/searchForFacets.ts +1 -1
- package/model/searchForFacetsOptions.ts +4 -4
- package/model/searchForHits.ts +1 -1
- package/model/searchForHitsOptions.ts +2 -2
- package/model/searchHits.ts +11 -1
- package/model/searchMethodParams.ts +1 -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 +1 -1
- package/model/searchResponses.ts +3 -3
- package/model/searchResult.ts +8 -0
- package/model/searchRulesParams.ts +9 -9
- package/model/searchRulesResponse.ts +1 -1
- package/model/searchStrategy.ts +4 -1
- package/model/searchSynonymsParams.ts +2 -2
- package/model/searchSynonymsResponse.ts +3 -3
- package/model/searchTypeDefault.ts +2 -2
- package/model/searchTypeFacet.ts +2 -2
- package/model/searchUserIdsParams.ts +5 -5
- package/model/searchUserIdsResponse.ts +6 -6
- package/model/semanticSearch.ts +11 -0
- package/model/snippetResult.ts +1 -1
- package/model/snippetResultOption.ts +2 -2
- package/model/sortRemainingBy.ts +2 -2
- package/model/source.ts +4 -4
- package/model/standardEntries.ts +5 -5
- package/model/synonymHit.ts +7 -10
- package/model/synonymType.ts +2 -2
- package/model/tagFilters.ts +2 -2
- package/model/taskStatus.ts +4 -1
- package/model/timeRange.ts +1 -1
- package/model/typoTolerance.ts +2 -2
- package/model/typoToleranceEnum.ts +1 -1
- package/model/updateApiKeyResponse.ts +3 -3
- package/model/updatedAtResponse.ts +4 -4
- package/model/updatedAtWithObjectIdResponse.ts +5 -5
- package/model/updatedRuleResponse.ts +4 -4
- package/model/userHighlightResult.ts +1 -1
- package/model/userHit.ts +2 -2
- package/model/userId.ts +3 -3
- package/model/value.ts +1 -1
- package/package.json +30 -13
- package/dist/model/synonymHitHighlightResult.d.ts +0 -12
- package/dist/model/synonymHitHighlightResult.d.ts.map +0 -1
- package/model/synonymHitHighlightResult.ts +0 -15
|
@@ -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 { CreateIterablePromise } from '@algolia/client-common';
|
|
4
4
|
|
|
@@ -9,6 +9,7 @@ import type { BatchAssignUserIdsParams } from './batchAssignUserIdsParams';
|
|
|
9
9
|
import type { BatchDictionaryEntriesParams } from './batchDictionaryEntriesParams';
|
|
10
10
|
import type { BatchWriteParams } from './batchWriteParams';
|
|
11
11
|
import type { BrowseParams } from './browseParams';
|
|
12
|
+
import type { DeleteByParams } from './deleteByParams';
|
|
12
13
|
import type { DictionaryType } from './dictionaryType';
|
|
13
14
|
import type { IndexSettings } from './indexSettings';
|
|
14
15
|
import type { LogType } from './logType';
|
|
@@ -31,15 +32,15 @@ import type { SynonymType } from './synonymType';
|
|
|
31
32
|
*/
|
|
32
33
|
export type AddOrUpdateObjectProps = {
|
|
33
34
|
/**
|
|
34
|
-
*
|
|
35
|
+
* Index on which to perform the request.
|
|
35
36
|
*/
|
|
36
37
|
indexName: string;
|
|
37
38
|
/**
|
|
38
|
-
* Unique
|
|
39
|
+
* Unique record (object) identifier.
|
|
39
40
|
*/
|
|
40
41
|
objectID: string;
|
|
41
42
|
/**
|
|
42
|
-
*
|
|
43
|
+
* Algolia record.
|
|
43
44
|
*/
|
|
44
45
|
body: Record<string, any>;
|
|
45
46
|
};
|
|
@@ -60,7 +61,7 @@ export type AssignUserIdProps = {
|
|
|
60
61
|
*/
|
|
61
62
|
export type BatchProps = {
|
|
62
63
|
/**
|
|
63
|
-
*
|
|
64
|
+
* Index on which to perform the request.
|
|
64
65
|
*/
|
|
65
66
|
indexName: string;
|
|
66
67
|
batchWriteParams: BatchWriteParams;
|
|
@@ -82,7 +83,7 @@ export type BatchAssignUserIdsProps = {
|
|
|
82
83
|
*/
|
|
83
84
|
export type BatchDictionaryEntriesProps = {
|
|
84
85
|
/**
|
|
85
|
-
*
|
|
86
|
+
* Dictionary to search in.
|
|
86
87
|
*/
|
|
87
88
|
dictionaryName: DictionaryType;
|
|
88
89
|
batchDictionaryEntriesParams: BatchDictionaryEntriesParams;
|
|
@@ -93,7 +94,7 @@ export type BatchDictionaryEntriesProps = {
|
|
|
93
94
|
*/
|
|
94
95
|
export type BrowseProps = {
|
|
95
96
|
/**
|
|
96
|
-
*
|
|
97
|
+
* Index on which to perform the request.
|
|
97
98
|
*/
|
|
98
99
|
indexName: string;
|
|
99
100
|
browseParams?: BrowseParams;
|
|
@@ -104,11 +105,11 @@ export type BrowseProps = {
|
|
|
104
105
|
*/
|
|
105
106
|
export type ClearAllSynonymsProps = {
|
|
106
107
|
/**
|
|
107
|
-
*
|
|
108
|
+
* Index on which to perform the request.
|
|
108
109
|
*/
|
|
109
110
|
indexName: string;
|
|
110
111
|
/**
|
|
111
|
-
*
|
|
112
|
+
* Indicates whether changed index settings are forwarded to the replica indices.
|
|
112
113
|
*/
|
|
113
114
|
forwardToReplicas?: boolean;
|
|
114
115
|
};
|
|
@@ -118,7 +119,7 @@ export type ClearAllSynonymsProps = {
|
|
|
118
119
|
*/
|
|
119
120
|
export type ClearObjectsProps = {
|
|
120
121
|
/**
|
|
121
|
-
*
|
|
122
|
+
* Index on which to perform the request.
|
|
122
123
|
*/
|
|
123
124
|
indexName: string;
|
|
124
125
|
};
|
|
@@ -128,11 +129,11 @@ export type ClearObjectsProps = {
|
|
|
128
129
|
*/
|
|
129
130
|
export type ClearRulesProps = {
|
|
130
131
|
/**
|
|
131
|
-
*
|
|
132
|
+
* Index on which to perform the request.
|
|
132
133
|
*/
|
|
133
134
|
indexName: string;
|
|
134
135
|
/**
|
|
135
|
-
*
|
|
136
|
+
* Indicates whether changed index settings are forwarded to the replica indices.
|
|
136
137
|
*/
|
|
137
138
|
forwardToReplicas?: boolean;
|
|
138
139
|
};
|
|
@@ -142,11 +143,11 @@ export type ClearRulesProps = {
|
|
|
142
143
|
*/
|
|
143
144
|
export type DelProps = {
|
|
144
145
|
/**
|
|
145
|
-
*
|
|
146
|
+
* Path of the endpoint, anything after \"/1\" must be specified.
|
|
146
147
|
*/
|
|
147
148
|
path: string;
|
|
148
149
|
/**
|
|
149
|
-
* Query parameters to
|
|
150
|
+
* Query parameters to apply to the current query.
|
|
150
151
|
*/
|
|
151
152
|
parameters?: Record<string, any>;
|
|
152
153
|
};
|
|
@@ -156,7 +157,7 @@ export type DelProps = {
|
|
|
156
157
|
*/
|
|
157
158
|
export type DeleteApiKeyProps = {
|
|
158
159
|
/**
|
|
159
|
-
* API
|
|
160
|
+
* API key.
|
|
160
161
|
*/
|
|
161
162
|
key: string;
|
|
162
163
|
};
|
|
@@ -166,10 +167,10 @@ export type DeleteApiKeyProps = {
|
|
|
166
167
|
*/
|
|
167
168
|
export type DeleteByProps = {
|
|
168
169
|
/**
|
|
169
|
-
*
|
|
170
|
+
* Index on which to perform the request.
|
|
170
171
|
*/
|
|
171
172
|
indexName: string;
|
|
172
|
-
|
|
173
|
+
deleteByParams: DeleteByParams;
|
|
173
174
|
};
|
|
174
175
|
|
|
175
176
|
/**
|
|
@@ -177,7 +178,7 @@ export type DeleteByProps = {
|
|
|
177
178
|
*/
|
|
178
179
|
export type DeleteIndexProps = {
|
|
179
180
|
/**
|
|
180
|
-
*
|
|
181
|
+
* Index on which to perform the request.
|
|
181
182
|
*/
|
|
182
183
|
indexName: string;
|
|
183
184
|
};
|
|
@@ -187,11 +188,11 @@ export type DeleteIndexProps = {
|
|
|
187
188
|
*/
|
|
188
189
|
export type DeleteObjectProps = {
|
|
189
190
|
/**
|
|
190
|
-
*
|
|
191
|
+
* Index on which to perform the request.
|
|
191
192
|
*/
|
|
192
193
|
indexName: string;
|
|
193
194
|
/**
|
|
194
|
-
* Unique
|
|
195
|
+
* Unique record (object) identifier.
|
|
195
196
|
*/
|
|
196
197
|
objectID: string;
|
|
197
198
|
};
|
|
@@ -201,15 +202,15 @@ export type DeleteObjectProps = {
|
|
|
201
202
|
*/
|
|
202
203
|
export type DeleteRuleProps = {
|
|
203
204
|
/**
|
|
204
|
-
*
|
|
205
|
+
* Index on which to perform the request.
|
|
205
206
|
*/
|
|
206
207
|
indexName: string;
|
|
207
208
|
/**
|
|
208
|
-
* Unique identifier of
|
|
209
|
+
* Unique identifier of a rule object.
|
|
209
210
|
*/
|
|
210
211
|
objectID: string;
|
|
211
212
|
/**
|
|
212
|
-
*
|
|
213
|
+
* Indicates whether changed index settings are forwarded to the replica indices.
|
|
213
214
|
*/
|
|
214
215
|
forwardToReplicas?: boolean;
|
|
215
216
|
};
|
|
@@ -219,7 +220,7 @@ export type DeleteRuleProps = {
|
|
|
219
220
|
*/
|
|
220
221
|
export type DeleteSourceProps = {
|
|
221
222
|
/**
|
|
222
|
-
*
|
|
223
|
+
* IP address range of the source.
|
|
223
224
|
*/
|
|
224
225
|
source: string;
|
|
225
226
|
};
|
|
@@ -229,15 +230,15 @@ export type DeleteSourceProps = {
|
|
|
229
230
|
*/
|
|
230
231
|
export type DeleteSynonymProps = {
|
|
231
232
|
/**
|
|
232
|
-
*
|
|
233
|
+
* Index on which to perform the request.
|
|
233
234
|
*/
|
|
234
235
|
indexName: string;
|
|
235
236
|
/**
|
|
236
|
-
* Unique identifier of
|
|
237
|
+
* Unique identifier of a synonym object.
|
|
237
238
|
*/
|
|
238
239
|
objectID: string;
|
|
239
240
|
/**
|
|
240
|
-
*
|
|
241
|
+
* Indicates whether changed index settings are forwarded to the replica indices.
|
|
241
242
|
*/
|
|
242
243
|
forwardToReplicas?: boolean;
|
|
243
244
|
};
|
|
@@ -247,11 +248,11 @@ export type DeleteSynonymProps = {
|
|
|
247
248
|
*/
|
|
248
249
|
export type GetProps = {
|
|
249
250
|
/**
|
|
250
|
-
*
|
|
251
|
+
* Path of the endpoint, anything after \"/1\" must be specified.
|
|
251
252
|
*/
|
|
252
253
|
path: string;
|
|
253
254
|
/**
|
|
254
|
-
* Query parameters to
|
|
255
|
+
* Query parameters to apply to the current query.
|
|
255
256
|
*/
|
|
256
257
|
parameters?: Record<string, any>;
|
|
257
258
|
};
|
|
@@ -261,7 +262,7 @@ export type GetProps = {
|
|
|
261
262
|
*/
|
|
262
263
|
export type GetApiKeyProps = {
|
|
263
264
|
/**
|
|
264
|
-
* API
|
|
265
|
+
* API key.
|
|
265
266
|
*/
|
|
266
267
|
key: string;
|
|
267
268
|
};
|
|
@@ -271,15 +272,15 @@ export type GetApiKeyProps = {
|
|
|
271
272
|
*/
|
|
272
273
|
export type GetLogsProps = {
|
|
273
274
|
/**
|
|
274
|
-
* First entry to retrieve
|
|
275
|
+
* First log entry to retrieve. Sorted by decreasing date with 0 being the most recent.
|
|
275
276
|
*/
|
|
276
277
|
offset?: number;
|
|
277
278
|
/**
|
|
278
|
-
* Maximum number of entries to retrieve.
|
|
279
|
+
* Maximum number of entries to retrieve.
|
|
279
280
|
*/
|
|
280
281
|
length?: number;
|
|
281
282
|
/**
|
|
282
|
-
* Index for which log entries should be retrieved. When omitted, log entries are retrieved
|
|
283
|
+
* Index for which log entries should be retrieved. When omitted, log entries are retrieved for all indices.
|
|
283
284
|
*/
|
|
284
285
|
indexName?: string;
|
|
285
286
|
/**
|
|
@@ -293,15 +294,15 @@ export type GetLogsProps = {
|
|
|
293
294
|
*/
|
|
294
295
|
export type GetObjectProps = {
|
|
295
296
|
/**
|
|
296
|
-
*
|
|
297
|
+
* Index on which to perform the request.
|
|
297
298
|
*/
|
|
298
299
|
indexName: string;
|
|
299
300
|
/**
|
|
300
|
-
* Unique
|
|
301
|
+
* Unique record (object) identifier.
|
|
301
302
|
*/
|
|
302
303
|
objectID: string;
|
|
303
304
|
/**
|
|
304
|
-
*
|
|
305
|
+
* Attributes to include with the records in the response. This is useful to reduce the size of the API response. By default, all retrievable attributes are returned. `objectID` is always retrieved, even when not specified. [`unretrievableAttributes`](https://www.algolia.com/doc/api-reference/api-parameters/unretrievableAttributes/) won\'t be retrieved unless the request is authenticated with the admin API key.
|
|
305
306
|
*/
|
|
306
307
|
attributesToRetrieve?: string[];
|
|
307
308
|
};
|
|
@@ -311,11 +312,11 @@ export type GetObjectProps = {
|
|
|
311
312
|
*/
|
|
312
313
|
export type GetRuleProps = {
|
|
313
314
|
/**
|
|
314
|
-
*
|
|
315
|
+
* Index on which to perform the request.
|
|
315
316
|
*/
|
|
316
317
|
indexName: string;
|
|
317
318
|
/**
|
|
318
|
-
* Unique identifier of
|
|
319
|
+
* Unique identifier of a rule object.
|
|
319
320
|
*/
|
|
320
321
|
objectID: string;
|
|
321
322
|
};
|
|
@@ -325,7 +326,7 @@ export type GetRuleProps = {
|
|
|
325
326
|
*/
|
|
326
327
|
export type GetSettingsProps = {
|
|
327
328
|
/**
|
|
328
|
-
*
|
|
329
|
+
* Index on which to perform the request.
|
|
329
330
|
*/
|
|
330
331
|
indexName: string;
|
|
331
332
|
};
|
|
@@ -335,11 +336,11 @@ export type GetSettingsProps = {
|
|
|
335
336
|
*/
|
|
336
337
|
export type GetSynonymProps = {
|
|
337
338
|
/**
|
|
338
|
-
*
|
|
339
|
+
* Index on which to perform the request.
|
|
339
340
|
*/
|
|
340
341
|
indexName: string;
|
|
341
342
|
/**
|
|
342
|
-
* Unique identifier of
|
|
343
|
+
* Unique identifier of a synonym object.
|
|
343
344
|
*/
|
|
344
345
|
objectID: string;
|
|
345
346
|
};
|
|
@@ -349,11 +350,11 @@ export type GetSynonymProps = {
|
|
|
349
350
|
*/
|
|
350
351
|
export type GetTaskProps = {
|
|
351
352
|
/**
|
|
352
|
-
*
|
|
353
|
+
* Index on which to perform the request.
|
|
353
354
|
*/
|
|
354
355
|
indexName: string;
|
|
355
356
|
/**
|
|
356
|
-
* Unique
|
|
357
|
+
* Unique task identifier.
|
|
357
358
|
*/
|
|
358
359
|
taskID: number;
|
|
359
360
|
};
|
|
@@ -373,7 +374,7 @@ export type GetUserIdProps = {
|
|
|
373
374
|
*/
|
|
374
375
|
export type HasPendingMappingsProps = {
|
|
375
376
|
/**
|
|
376
|
-
*
|
|
377
|
+
* Indicates whether to include the cluster\'s pending mapping state in the response.
|
|
377
378
|
*/
|
|
378
379
|
getClusters?: boolean;
|
|
379
380
|
};
|
|
@@ -383,9 +384,13 @@ export type HasPendingMappingsProps = {
|
|
|
383
384
|
*/
|
|
384
385
|
export type ListIndicesProps = {
|
|
385
386
|
/**
|
|
386
|
-
*
|
|
387
|
+
* Returns the requested page number. The page size is determined by the `hitsPerPage` parameter. You can see the number of available pages in the `nbPages` response attribute. When `page` is null, the API response is not paginated.
|
|
387
388
|
*/
|
|
388
389
|
page?: number;
|
|
390
|
+
/**
|
|
391
|
+
* Maximum number of hits per page.
|
|
392
|
+
*/
|
|
393
|
+
hitsPerPage?: number;
|
|
389
394
|
};
|
|
390
395
|
|
|
391
396
|
/**
|
|
@@ -393,11 +398,11 @@ export type ListIndicesProps = {
|
|
|
393
398
|
*/
|
|
394
399
|
export type ListUserIdsProps = {
|
|
395
400
|
/**
|
|
396
|
-
*
|
|
401
|
+
* Returns the requested page number. The page size is determined by the `hitsPerPage` parameter. You can see the number of available pages in the `nbPages` response attribute. When `page` is null, the API response is not paginated.
|
|
397
402
|
*/
|
|
398
403
|
page?: number;
|
|
399
404
|
/**
|
|
400
|
-
* Maximum number of
|
|
405
|
+
* Maximum number of hits per page.
|
|
401
406
|
*/
|
|
402
407
|
hitsPerPage?: number;
|
|
403
408
|
};
|
|
@@ -407,7 +412,7 @@ export type ListUserIdsProps = {
|
|
|
407
412
|
*/
|
|
408
413
|
export type OperationIndexProps = {
|
|
409
414
|
/**
|
|
410
|
-
*
|
|
415
|
+
* Index on which to perform the request.
|
|
411
416
|
*/
|
|
412
417
|
indexName: string;
|
|
413
418
|
operationIndexParams: OperationIndexParams;
|
|
@@ -418,19 +423,19 @@ export type OperationIndexProps = {
|
|
|
418
423
|
*/
|
|
419
424
|
export type PartialUpdateObjectProps = {
|
|
420
425
|
/**
|
|
421
|
-
*
|
|
426
|
+
* Index on which to perform the request.
|
|
422
427
|
*/
|
|
423
428
|
indexName: string;
|
|
424
429
|
/**
|
|
425
|
-
* Unique
|
|
430
|
+
* Unique record (object) identifier.
|
|
426
431
|
*/
|
|
427
432
|
objectID: string;
|
|
428
433
|
/**
|
|
429
|
-
*
|
|
434
|
+
* Object with attributes to update.
|
|
430
435
|
*/
|
|
431
436
|
attributesToUpdate: Record<string, AttributeToUpdate>;
|
|
432
437
|
/**
|
|
433
|
-
*
|
|
438
|
+
* Indicates whether to create a new record if it doesn\'t exist yet.
|
|
434
439
|
*/
|
|
435
440
|
createIfNotExists?: boolean;
|
|
436
441
|
};
|
|
@@ -440,15 +445,15 @@ export type PartialUpdateObjectProps = {
|
|
|
440
445
|
*/
|
|
441
446
|
export type PostProps = {
|
|
442
447
|
/**
|
|
443
|
-
*
|
|
448
|
+
* Path of the endpoint, anything after \"/1\" must be specified.
|
|
444
449
|
*/
|
|
445
450
|
path: string;
|
|
446
451
|
/**
|
|
447
|
-
* Query parameters to
|
|
452
|
+
* Query parameters to apply to the current query.
|
|
448
453
|
*/
|
|
449
454
|
parameters?: Record<string, any>;
|
|
450
455
|
/**
|
|
451
|
-
*
|
|
456
|
+
* Parameters to send with the custom request.
|
|
452
457
|
*/
|
|
453
458
|
body?: Record<string, any>;
|
|
454
459
|
};
|
|
@@ -458,15 +463,15 @@ export type PostProps = {
|
|
|
458
463
|
*/
|
|
459
464
|
export type PutProps = {
|
|
460
465
|
/**
|
|
461
|
-
*
|
|
466
|
+
* Path of the endpoint, anything after \"/1\" must be specified.
|
|
462
467
|
*/
|
|
463
468
|
path: string;
|
|
464
469
|
/**
|
|
465
|
-
* Query parameters to
|
|
470
|
+
* Query parameters to apply to the current query.
|
|
466
471
|
*/
|
|
467
472
|
parameters?: Record<string, any>;
|
|
468
473
|
/**
|
|
469
|
-
*
|
|
474
|
+
* Parameters to send with the custom request.
|
|
470
475
|
*/
|
|
471
476
|
body?: Record<string, any>;
|
|
472
477
|
};
|
|
@@ -486,7 +491,7 @@ export type RemoveUserIdProps = {
|
|
|
486
491
|
*/
|
|
487
492
|
export type ReplaceSourcesProps = {
|
|
488
493
|
/**
|
|
489
|
-
*
|
|
494
|
+
* Allowed sources.
|
|
490
495
|
*/
|
|
491
496
|
source: Source[];
|
|
492
497
|
};
|
|
@@ -496,7 +501,7 @@ export type ReplaceSourcesProps = {
|
|
|
496
501
|
*/
|
|
497
502
|
export type RestoreApiKeyProps = {
|
|
498
503
|
/**
|
|
499
|
-
* API
|
|
504
|
+
* API key.
|
|
500
505
|
*/
|
|
501
506
|
key: string;
|
|
502
507
|
};
|
|
@@ -506,7 +511,7 @@ export type RestoreApiKeyProps = {
|
|
|
506
511
|
*/
|
|
507
512
|
export type SaveObjectProps = {
|
|
508
513
|
/**
|
|
509
|
-
*
|
|
514
|
+
* Index on which to perform the request.
|
|
510
515
|
*/
|
|
511
516
|
indexName: string;
|
|
512
517
|
/**
|
|
@@ -520,16 +525,16 @@ export type SaveObjectProps = {
|
|
|
520
525
|
*/
|
|
521
526
|
export type SaveRuleProps = {
|
|
522
527
|
/**
|
|
523
|
-
*
|
|
528
|
+
* Index on which to perform the request.
|
|
524
529
|
*/
|
|
525
530
|
indexName: string;
|
|
526
531
|
/**
|
|
527
|
-
* Unique identifier of
|
|
532
|
+
* Unique identifier of a rule object.
|
|
528
533
|
*/
|
|
529
534
|
objectID: string;
|
|
530
535
|
rule: Rule;
|
|
531
536
|
/**
|
|
532
|
-
*
|
|
537
|
+
* Indicates whether changed index settings are forwarded to the replica indices.
|
|
533
538
|
*/
|
|
534
539
|
forwardToReplicas?: boolean;
|
|
535
540
|
};
|
|
@@ -539,16 +544,16 @@ export type SaveRuleProps = {
|
|
|
539
544
|
*/
|
|
540
545
|
export type SaveRulesProps = {
|
|
541
546
|
/**
|
|
542
|
-
*
|
|
547
|
+
* Index on which to perform the request.
|
|
543
548
|
*/
|
|
544
549
|
indexName: string;
|
|
545
550
|
rules: Rule[];
|
|
546
551
|
/**
|
|
547
|
-
*
|
|
552
|
+
* Indicates whether changed index settings are forwarded to the replica indices.
|
|
548
553
|
*/
|
|
549
554
|
forwardToReplicas?: boolean;
|
|
550
555
|
/**
|
|
551
|
-
*
|
|
556
|
+
* Indicates whether existing rules should be deleted before adding this batch.
|
|
552
557
|
*/
|
|
553
558
|
clearExistingRules?: boolean;
|
|
554
559
|
};
|
|
@@ -558,16 +563,16 @@ export type SaveRulesProps = {
|
|
|
558
563
|
*/
|
|
559
564
|
export type SaveSynonymProps = {
|
|
560
565
|
/**
|
|
561
|
-
*
|
|
566
|
+
* Index on which to perform the request.
|
|
562
567
|
*/
|
|
563
568
|
indexName: string;
|
|
564
569
|
/**
|
|
565
|
-
* Unique identifier of
|
|
570
|
+
* Unique identifier of a synonym object.
|
|
566
571
|
*/
|
|
567
572
|
objectID: string;
|
|
568
573
|
synonymHit: SynonymHit;
|
|
569
574
|
/**
|
|
570
|
-
*
|
|
575
|
+
* Indicates whether changed index settings are forwarded to the replica indices.
|
|
571
576
|
*/
|
|
572
577
|
forwardToReplicas?: boolean;
|
|
573
578
|
};
|
|
@@ -577,16 +582,16 @@ export type SaveSynonymProps = {
|
|
|
577
582
|
*/
|
|
578
583
|
export type SaveSynonymsProps = {
|
|
579
584
|
/**
|
|
580
|
-
*
|
|
585
|
+
* Index on which to perform the request.
|
|
581
586
|
*/
|
|
582
587
|
indexName: string;
|
|
583
588
|
synonymHit: SynonymHit[];
|
|
584
589
|
/**
|
|
585
|
-
*
|
|
590
|
+
* Indicates whether changed index settings are forwarded to the replica indices.
|
|
586
591
|
*/
|
|
587
592
|
forwardToReplicas?: boolean;
|
|
588
593
|
/**
|
|
589
|
-
*
|
|
594
|
+
* Indicates whether to replace all synonyms in the index with the ones sent with this request.
|
|
590
595
|
*/
|
|
591
596
|
replaceExistingSynonyms?: boolean;
|
|
592
597
|
};
|
|
@@ -628,7 +633,7 @@ export type LegacySearchMethodProps = LegacySearchQuery[];
|
|
|
628
633
|
*/
|
|
629
634
|
export type SearchDictionaryEntriesProps = {
|
|
630
635
|
/**
|
|
631
|
-
*
|
|
636
|
+
* Dictionary to search in.
|
|
632
637
|
*/
|
|
633
638
|
dictionaryName: DictionaryType;
|
|
634
639
|
searchDictionaryEntriesParams: SearchDictionaryEntriesParams;
|
|
@@ -639,11 +644,11 @@ export type SearchDictionaryEntriesProps = {
|
|
|
639
644
|
*/
|
|
640
645
|
export type SearchForFacetValuesProps = {
|
|
641
646
|
/**
|
|
642
|
-
*
|
|
647
|
+
* Index on which to perform the request.
|
|
643
648
|
*/
|
|
644
649
|
indexName: string;
|
|
645
650
|
/**
|
|
646
|
-
*
|
|
651
|
+
* Facet name.
|
|
647
652
|
*/
|
|
648
653
|
facetName: string;
|
|
649
654
|
searchForFacetValuesRequest?: SearchForFacetValuesRequest;
|
|
@@ -654,7 +659,7 @@ export type SearchForFacetValuesProps = {
|
|
|
654
659
|
*/
|
|
655
660
|
export type SearchRulesProps = {
|
|
656
661
|
/**
|
|
657
|
-
*
|
|
662
|
+
* Index on which to perform the request.
|
|
658
663
|
*/
|
|
659
664
|
indexName: string;
|
|
660
665
|
searchRulesParams?: SearchRulesParams;
|
|
@@ -665,7 +670,7 @@ export type SearchRulesProps = {
|
|
|
665
670
|
*/
|
|
666
671
|
export type SearchSingleIndexProps = {
|
|
667
672
|
/**
|
|
668
|
-
*
|
|
673
|
+
* Index on which to perform the request.
|
|
669
674
|
*/
|
|
670
675
|
indexName: string;
|
|
671
676
|
searchParams?: SearchParams;
|
|
@@ -676,23 +681,23 @@ export type SearchSingleIndexProps = {
|
|
|
676
681
|
*/
|
|
677
682
|
export type SearchSynonymsProps = {
|
|
678
683
|
/**
|
|
679
|
-
*
|
|
684
|
+
* Index on which to perform the request.
|
|
680
685
|
*/
|
|
681
686
|
indexName: string;
|
|
682
687
|
/**
|
|
683
|
-
*
|
|
688
|
+
* Search for specific [types of synonyms](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/#the-different-types-of-synonyms).
|
|
684
689
|
*/
|
|
685
690
|
type?: SynonymType;
|
|
686
691
|
/**
|
|
687
|
-
*
|
|
692
|
+
* Returns the requested page number (the first page is 0). Page size is set by `hitsPerPage`. When null, there\'s no pagination.
|
|
688
693
|
*/
|
|
689
694
|
page?: number;
|
|
690
695
|
/**
|
|
691
|
-
* Maximum number of
|
|
696
|
+
* Maximum number of hits per page.
|
|
692
697
|
*/
|
|
693
698
|
hitsPerPage?: number;
|
|
694
699
|
/**
|
|
695
|
-
*
|
|
700
|
+
* Body of the `searchSynonyms` operation.
|
|
696
701
|
*/
|
|
697
702
|
searchSynonymsParams?: SearchSynonymsParams;
|
|
698
703
|
};
|
|
@@ -702,12 +707,12 @@ export type SearchSynonymsProps = {
|
|
|
702
707
|
*/
|
|
703
708
|
export type SetSettingsProps = {
|
|
704
709
|
/**
|
|
705
|
-
*
|
|
710
|
+
* Index on which to perform the request.
|
|
706
711
|
*/
|
|
707
712
|
indexName: string;
|
|
708
713
|
indexSettings: IndexSettings;
|
|
709
714
|
/**
|
|
710
|
-
*
|
|
715
|
+
* Indicates whether changed index settings are forwarded to the replica indices.
|
|
711
716
|
*/
|
|
712
717
|
forwardToReplicas?: boolean;
|
|
713
718
|
};
|
|
@@ -717,7 +722,7 @@ export type SetSettingsProps = {
|
|
|
717
722
|
*/
|
|
718
723
|
export type UpdateApiKeyProps = {
|
|
719
724
|
/**
|
|
720
|
-
* API
|
|
725
|
+
* API key.
|
|
721
726
|
*/
|
|
722
727
|
key: string;
|
|
723
728
|
apiKey: ApiKey;
|
package/model/condition.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 { Anchoring } from './anchoring';
|
|
4
4
|
|
package/model/consequence.ts
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
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 { ConsequenceHide } from './consequenceHide';
|
|
4
4
|
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
|
|
package/model/consequenceHide.ts
CHANGED
|
@@ -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
|
};
|
|
@@ -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 { BaseSearchParamsWithoutQuery } from './baseSearchParamsWithoutQuery';
|
|
4
4
|
import type { IndexSettingsAsSearchParams } from './indexSettingsAsSearchParams';
|