@algolia/client-search 5.0.0-alpha.11 → 5.0.0-alpha.110
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 +88 -5
- package/dist/builds/browser.d.ts.map +1 -1
- package/dist/builds/node.d.ts +106 -5
- package/dist/builds/node.d.ts.map +1 -1
- package/dist/{client-search.cjs.js → client-search.cjs} +2215 -1991
- package/dist/client-search.esm.browser.js +2403 -2242
- package/dist/client-search.esm.node.js +2216 -1990
- 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/apiKeyOperation.d.ts +2 -0
- package/dist/model/apiKeyOperation.d.ts.map +1 -0
- package/dist/model/aroundPrecision.d.ts +6 -0
- package/dist/model/aroundPrecision.d.ts.map +1 -0
- package/dist/model/aroundPrecisionFromValueInner.d.ts +14 -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 +4 -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 +71 -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 +114 -122
- package/dist/model/baseSearchParamsWithoutQuery.d.ts.map +1 -1
- package/dist/model/baseSearchResponse.d.ts +109 -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 +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 +765 -714
- package/dist/model/clientMethodProps.d.ts.map +1 -1
- package/dist/model/condition.d.ts +20 -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 +25 -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/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 +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 +5 -4
- package/dist/model/ignorePlurals.d.ts.map +1 -1
- package/dist/model/index.d.ts +167 -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 +159 -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 +53 -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 +5 -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 +19 -21
- package/dist/model/searchDictionaryEntriesParams.d.ts.map +1 -1
- package/dist/model/searchDictionaryEntriesResponse.d.ts +20 -0
- package/dist/model/searchDictionaryEntriesResponse.d.ts.map +1 -0
- package/dist/model/searchForFacetValuesRequest.d.ts +14 -14
- package/dist/model/searchForFacetValuesRequest.d.ts.map +1 -1
- package/dist/model/searchForFacetValuesResponse.d.ts +15 -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 +15 -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 +27 -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/securedAPIKeyRestrictions.d.ts +25 -0
- package/dist/model/securedAPIKeyRestrictions.d.ts.map +1 -0
- 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/supportedLanguage.d.ts +5 -0
- package/dist/model/supportedLanguage.d.ts.map +1 -0
- 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 +4 -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 +866 -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/apiKeyOperation.ts +3 -0
- package/model/aroundPrecision.ts +8 -0
- package/model/aroundPrecisionFromValueInner.ts +16 -0
- package/model/aroundRadius.ts +2 -2
- package/model/aroundRadiusAll.ts +4 -1
- package/model/assignUserIdParams.ts +2 -2
- package/model/attributeToUpdate.ts +1 -1
- package/model/automaticFacetFilter.ts +5 -5
- package/model/automaticFacetFilters.ts +2 -2
- package/model/baseGetApiKeyResponse.ts +3 -3
- package/model/baseIndexSettings.ts +34 -17
- package/model/baseSearchParams.ts +1 -1
- package/model/baseSearchParamsWithoutQuery.ts +36 -46
- package/model/baseSearchResponse.ts +42 -31
- 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 +3 -3
- package/model/builtInOperationType.ts +2 -2
- package/model/clientMethodProps.ts +218 -156
- package/model/condition.ts +9 -4
- package/model/consequence.ts +7 -7
- package/model/consequenceHide.ts +3 -3
- package/model/consequenceParams.ts +1 -1
- package/model/consequenceQuery.ts +2 -2
- package/model/consequenceQueryObject.ts +3 -3
- 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 +8 -10
- package/model/dictionaryEntryState.ts +2 -2
- package/model/dictionaryLanguage.ts +4 -4
- package/model/dictionarySettingsParams.ts +2 -2
- package/model/dictionaryType.ts +1 -1
- package/model/distinct.ts +2 -2
- package/model/edit.ts +2 -2
- 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 +4 -4
- package/model/facetOrdering.ts +3 -3
- package/model/facets.ts +3 -3
- 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 +5 -2
- package/model/highlightResultOption.ts +4 -4
- package/model/hit.ts +5 -5
- package/model/ignorePlurals.ts +5 -3
- package/model/index.ts +15 -2
- package/model/indexSettings.ts +2 -2
- package/model/indexSettingsAsSearchParams.ts +54 -54
- 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 +13 -13
- package/model/logQuery.ts +3 -3
- package/model/logType.ts +1 -1
- package/model/matchLevel.ts +2 -2
- 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 +11 -8
- 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 +5 -3
- 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 +8 -9
- package/model/searchDictionaryEntriesResponse.ts +25 -0
- package/model/searchForFacetValuesRequest.ts +3 -3
- package/model/searchForFacetValuesResponse.ts +14 -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 +15 -2
- 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 +8 -13
- package/model/searchRulesResponse.ts +3 -3
- package/model/searchStrategy.ts +4 -1
- package/model/searchSynonymsParams.ts +16 -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/securedAPIKeyRestrictions.ts +32 -0
- package/model/semanticSearch.ts +11 -0
- package/model/snippetResult.ts +5 -2
- package/model/snippetResultOption.ts +3 -3
- package/model/sortRemainingBy.ts +2 -2
- package/model/source.ts +4 -4
- package/model/standardEntries.ts +5 -5
- package/model/supportedLanguage.ts +74 -0
- 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 +3 -3
- package/model/typoTolerance.ts +2 -2
- package/model/typoToleranceEnum.ts +4 -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 +3 -9
- package/model/userHit.ts +3 -3
- package/model/userId.ts +4 -4
- package/model/value.ts +2 -2
- package/package.json +10 -9
- package/dist/model/synonymHitHighlightResult.d.ts +0 -12
- package/dist/model/synonymHitHighlightResult.d.ts.map +0 -1
- package/model/synonymHitHighlightResult.ts +0 -15
|
@@ -1,26 +1,25 @@
|
|
|
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
|
+
|
|
3
|
+
import type { SupportedLanguage } from './supportedLanguage';
|
|
2
4
|
|
|
3
5
|
/**
|
|
4
|
-
*
|
|
6
|
+
* Search parameter.
|
|
5
7
|
*/
|
|
6
8
|
export type SearchDictionaryEntriesParams = {
|
|
7
9
|
/**
|
|
8
|
-
*
|
|
10
|
+
* Search query.
|
|
9
11
|
*/
|
|
10
12
|
query: string;
|
|
11
13
|
|
|
12
14
|
/**
|
|
13
|
-
*
|
|
15
|
+
* Page of search results to retrieve.
|
|
14
16
|
*/
|
|
15
17
|
page?: number;
|
|
16
18
|
|
|
17
19
|
/**
|
|
18
|
-
*
|
|
20
|
+
* Number of hits per page.
|
|
19
21
|
*/
|
|
20
22
|
hitsPerPage?: number;
|
|
21
23
|
|
|
22
|
-
|
|
23
|
-
* Language ISO code supported by the dictionary (e.g., \"en\" for English).
|
|
24
|
-
*/
|
|
25
|
-
language?: string;
|
|
24
|
+
language?: SupportedLanguage;
|
|
26
25
|
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
import type { DictionaryEntry } from './dictionaryEntry';
|
|
4
|
+
|
|
5
|
+
export type SearchDictionaryEntriesResponse = {
|
|
6
|
+
/**
|
|
7
|
+
* Dictionary entries matching the search criteria.
|
|
8
|
+
*/
|
|
9
|
+
hits: DictionaryEntry[];
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Requested page of the API response.
|
|
13
|
+
*/
|
|
14
|
+
page: number;
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Number of results (hits).
|
|
18
|
+
*/
|
|
19
|
+
nbHits: number;
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Number of pages of results.
|
|
23
|
+
*/
|
|
24
|
+
nbPages: number;
|
|
25
|
+
};
|
|
@@ -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
3
|
export type SearchForFacetValuesRequest = {
|
|
4
4
|
/**
|
|
5
|
-
* Search parameters as URL-encoded query string.
|
|
5
|
+
* Search parameters as a URL-encoded query string.
|
|
6
6
|
*/
|
|
7
7
|
params?: string;
|
|
8
8
|
|
|
@@ -12,7 +12,7 @@ export type SearchForFacetValuesRequest = {
|
|
|
12
12
|
facetQuery?: string;
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
|
-
* Maximum number of facet
|
|
15
|
+
* Maximum number of facet values to return when [searching for facet values](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#search-for-facet-values).
|
|
16
16
|
*/
|
|
17
17
|
maxFacetHits?: number;
|
|
18
18
|
};
|
|
@@ -1,7 +1,20 @@
|
|
|
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 { FacetHits } from './facetHits';
|
|
4
4
|
|
|
5
5
|
export type SearchForFacetValuesResponse = {
|
|
6
|
+
/**
|
|
7
|
+
* Matching facet values.
|
|
8
|
+
*/
|
|
6
9
|
facetHits: FacetHits[];
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* See the `facetsCount` field of the `exhaustive` object in the response.
|
|
13
|
+
*/
|
|
14
|
+
exhaustiveFacetsCount: boolean;
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Time the server took to process the request, in milliseconds.
|
|
18
|
+
*/
|
|
19
|
+
processingTimeMS?: number;
|
|
7
20
|
};
|
package/model/searchForFacets.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 { SearchForFacetsOptions } from './searchForFacetsOptions';
|
|
4
4
|
import type { SearchParams } from './searchParams';
|
|
@@ -1,15 +1,15 @@
|
|
|
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 { SearchTypeFacet } from './searchTypeFacet';
|
|
4
4
|
|
|
5
5
|
export type SearchForFacetsOptions = {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Facet name.
|
|
8
8
|
*/
|
|
9
9
|
facet: string;
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Index name.
|
|
13
13
|
*/
|
|
14
14
|
indexName: string;
|
|
15
15
|
|
|
@@ -19,7 +19,7 @@ export type SearchForFacetsOptions = {
|
|
|
19
19
|
facetQuery?: string;
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Maximum number of facet
|
|
22
|
+
* Maximum number of facet values to return when [searching for facet values](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#search-for-facet-values).
|
|
23
23
|
*/
|
|
24
24
|
maxFacetHits?: number;
|
|
25
25
|
|
package/model/searchForHits.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 { SearchForHitsOptions } from './searchForHitsOptions';
|
|
4
4
|
import type { SearchParams } from './searchParams';
|
|
@@ -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
3
|
import type { SearchTypeDefault } from './searchTypeDefault';
|
|
4
4
|
|
|
5
5
|
export type SearchForHitsOptions = {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Index name.
|
|
8
8
|
*/
|
|
9
9
|
indexName: string;
|
|
10
10
|
|
package/model/searchHits.ts
CHANGED
|
@@ -1,7 +1,20 @@
|
|
|
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 { Hit } from './hit';
|
|
4
4
|
|
|
5
|
-
export type SearchHits<T = Record<string, any>> = {
|
|
5
|
+
export type SearchHits<T = Record<string, any>> = Record<string, any> & {
|
|
6
|
+
/**
|
|
7
|
+
* Search results (hits). Hits are records from your index that match the search criteria, augmented with additional attributes, such as, for highlighting.
|
|
8
|
+
*/
|
|
6
9
|
hits: Array<Hit<T>>;
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Search query.
|
|
13
|
+
*/
|
|
14
|
+
query: string;
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* URL-encoded string of all search parameters.
|
|
18
|
+
*/
|
|
19
|
+
params: string;
|
|
7
20
|
};
|
|
@@ -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 { SearchQuery } from './searchQuery';
|
|
4
4
|
import type { SearchStrategy } from './searchStrategy';
|
package/model/searchParams.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 { SearchParamsObject } from './searchParamsObject';
|
|
4
4
|
import type { SearchParamsString } from './searchParamsString';
|
|
@@ -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 { BaseSearchParams } from './baseSearchParams';
|
|
4
4
|
import type { IndexSettingsAsSearchParams } from './indexSettingsAsSearchParams';
|
|
@@ -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
3
|
export type SearchParamsQuery = {
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Search query.
|
|
6
6
|
*/
|
|
7
7
|
query?: string;
|
|
8
8
|
};
|
|
@@ -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
3
|
export type SearchParamsString = {
|
|
4
4
|
/**
|
|
5
|
-
* Search parameters as URL-encoded query string.
|
|
5
|
+
* Search parameters as a URL-encoded query string.
|
|
6
6
|
*/
|
|
7
7
|
params?: string;
|
|
8
8
|
};
|
package/model/searchQuery.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 { SearchForFacets } from './searchForFacets';
|
|
4
4
|
import type { SearchForHits } from './searchForHits';
|
package/model/searchResponse.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 { BaseSearchResponse } from './baseSearchResponse';
|
|
4
4
|
import type { SearchHits } from './searchHits';
|
package/model/searchResponses.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
|
-
import type {
|
|
3
|
+
import type { SearchResult } from './searchResult';
|
|
4
4
|
|
|
5
5
|
export type SearchResponses<T = Record<string, any>> = {
|
|
6
|
-
results: Array<
|
|
6
|
+
results: Array<SearchResult<T>>;
|
|
7
7
|
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
import type { SearchForFacetValuesResponse } from './searchForFacetValuesResponse';
|
|
4
|
+
import type { SearchResponse } from './searchResponse';
|
|
5
|
+
|
|
6
|
+
export type SearchResult<T = Record<string, any>> =
|
|
7
|
+
| SearchForFacetValuesResponse
|
|
8
|
+
| SearchResponse<T>;
|
|
@@ -1,40 +1,35 @@
|
|
|
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
|
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Rules search parameters.
|
|
7
7
|
*/
|
|
8
8
|
export type SearchRulesParams = {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Search query for rules.
|
|
11
11
|
*/
|
|
12
12
|
query?: string;
|
|
13
13
|
|
|
14
14
|
anchoring?: Anchoring;
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Only return rules that match the context (exact match).
|
|
18
18
|
*/
|
|
19
19
|
context?: string;
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Requested page
|
|
22
|
+
* Requested page of the API response.
|
|
23
23
|
*/
|
|
24
24
|
page?: number;
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
|
-
* Maximum number of hits
|
|
27
|
+
* Maximum number of hits per page.
|
|
28
28
|
*/
|
|
29
29
|
hitsPerPage?: number;
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* If `true`, return only enabled rules. If `false`, return only inactive rules. By default, _all_ rules are returned.
|
|
33
33
|
*/
|
|
34
|
-
enabled?: boolean;
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* A mapping of requestOptions to send along with the request.
|
|
38
|
-
*/
|
|
39
|
-
requestOptions?: Array<Record<string, any>>;
|
|
34
|
+
enabled?: boolean | null;
|
|
40
35
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
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 { Rule } from './rule';
|
|
4
4
|
|
|
5
5
|
export type SearchRulesResponse = {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Rules that matched the search criteria.
|
|
8
8
|
*/
|
|
9
9
|
hits: Rule[];
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
* Number of
|
|
12
|
+
* Number of rules that matched the search criteria.
|
|
13
13
|
*/
|
|
14
14
|
nbHits: number;
|
|
15
15
|
|
package/model/searchStrategy.ts
CHANGED
|
@@ -1,3 +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
|
+
/**
|
|
4
|
+
* Strategy for multiple search queries: - `none`. Run all queries. - `stopIfEnoughMatches`. Run the queries one by one, stopping as soon as a query matches at least the `hitsPerPage` number of results.
|
|
5
|
+
*/
|
|
3
6
|
export type SearchStrategy = 'none' | 'stopIfEnoughMatches';
|
|
@@ -1,8 +1,22 @@
|
|
|
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
|
+
|
|
3
|
+
import type { SynonymType } from './synonymType';
|
|
2
4
|
|
|
3
5
|
export type SearchSynonymsParams = {
|
|
4
6
|
/**
|
|
5
|
-
*
|
|
7
|
+
* Search query.
|
|
6
8
|
*/
|
|
7
9
|
query?: string;
|
|
10
|
+
|
|
11
|
+
type?: SynonymType;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Page of search results to retrieve.
|
|
15
|
+
*/
|
|
16
|
+
page?: number;
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Number of hits per page.
|
|
20
|
+
*/
|
|
21
|
+
hitsPerPage?: number;
|
|
8
22
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
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 { SynonymHit } from './synonymHit';
|
|
4
4
|
|
|
5
5
|
export type SearchSynonymsResponse = Record<string, any> & {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Matching synonyms.
|
|
8
8
|
*/
|
|
9
9
|
hits: SynonymHit[];
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
* Number of hits
|
|
12
|
+
* Number of results (hits).
|
|
13
13
|
*/
|
|
14
14
|
nbHits: number;
|
|
15
15
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* - `default`: perform a search query - `facet` [searches for facet values](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#search-for-facet-values).
|
|
5
5
|
*/
|
|
6
6
|
export type SearchTypeDefault = 'default';
|
package/model/searchTypeFacet.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
|
-
*
|
|
4
|
+
* - `default`: perform a search query - `facet` [searches for facet values](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#search-for-facet-values).
|
|
5
5
|
*/
|
|
6
6
|
export type SearchTypeFacet = 'facet';
|
|
@@ -1,26 +1,26 @@
|
|
|
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
|
* OK.
|
|
5
5
|
*/
|
|
6
6
|
export type SearchUserIdsParams = {
|
|
7
7
|
/**
|
|
8
|
-
* Query to search. The search is a prefix search with
|
|
8
|
+
* Query to search. The search is a prefix search with [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/) enabled. An empty query will retrieve all users.
|
|
9
9
|
*/
|
|
10
10
|
query: string;
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Cluster name.
|
|
14
14
|
*/
|
|
15
15
|
clusterName?: string;
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Page of search results to retrieve.
|
|
19
19
|
*/
|
|
20
20
|
page?: number;
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* Number of hits per page.
|
|
24
24
|
*/
|
|
25
25
|
hitsPerPage?: number;
|
|
26
26
|
};
|
|
@@ -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 { UserHit } from './userHit';
|
|
4
4
|
|
|
@@ -7,27 +7,27 @@ import type { UserHit } from './userHit';
|
|
|
7
7
|
*/
|
|
8
8
|
export type SearchUserIdsResponse = {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* User objects that match the query.
|
|
11
11
|
*/
|
|
12
12
|
hits: UserHit[];
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
|
-
* Number of hits
|
|
15
|
+
* Number of results (hits).
|
|
16
16
|
*/
|
|
17
17
|
nbHits: number;
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Page of search results to retrieve.
|
|
21
21
|
*/
|
|
22
22
|
page: number;
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
|
-
* Maximum number of hits
|
|
25
|
+
* Maximum number of hits per page.
|
|
26
26
|
*/
|
|
27
27
|
hitsPerPage: number;
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* Timestamp of the last update in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format.
|
|
31
31
|
*/
|
|
32
32
|
updatedAt: string;
|
|
33
33
|
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
import type { SearchParamsObject } from './searchParamsObject';
|
|
4
|
+
|
|
5
|
+
export type SecuredAPIKeyRestrictions = {
|
|
6
|
+
searchParams?: SearchParamsObject;
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Filters that apply to every search made with the secured API key. Extra filters added at search time will be combined with `AND`. For example, if you set `group:admin` as fixed filter on your generated API key, and add `groups:visitors` to the search query, the complete set of filters will be `group:admin AND groups:visitors`.
|
|
10
|
+
*/
|
|
11
|
+
filters?: string;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Timestamp in [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time) when the API key should expire.
|
|
15
|
+
*/
|
|
16
|
+
validUntil?: number;
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Index names or patterns that this API key can access. By default, an API key can access all indices in the same application. You can use leading and trailing wildcard characters (`*`): - `dev_*` matches all indices starting with \"dev_\". - `*_dev` matches all indices ending with \"_dev\". - `*_products_*` matches all indices containing \"_products_\".
|
|
20
|
+
*/
|
|
21
|
+
restrictIndices?: string[];
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* IP network that are allowed to use this key. You can only add a single source, but you can provide a range of IP addresses. Use this to protect against API key leaking and reuse.
|
|
25
|
+
*/
|
|
26
|
+
restrictSources?: string;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Pseudonymous user identifier to restrict usage of this API key to specific users. By default, rate limits are set based on IP addresses. This can be an issue if many users search from the same IP address. To avoid this, add a user token to each generated API key.
|
|
30
|
+
*/
|
|
31
|
+
userToken?: string;
|
|
32
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Settings for the semantic search part of NeuralSearch. Only used when `mode` is `neuralSearch`.
|
|
5
|
+
*/
|
|
6
|
+
export type SemanticSearch = {
|
|
7
|
+
/**
|
|
8
|
+
* Indices from which to collect click and conversion events. If null, the current index and all its replicas are used.
|
|
9
|
+
*/
|
|
10
|
+
eventSources?: string[] | null;
|
|
11
|
+
};
|
package/model/snippetResult.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 { SnippetResultOption } from './snippetResultOption';
|
|
4
4
|
|
|
5
|
-
export type SnippetResult =
|
|
5
|
+
export type SnippetResult =
|
|
6
|
+
| Record<string, SnippetResultOption>
|
|
7
|
+
| SnippetResultOption
|
|
8
|
+
| SnippetResultOption[];
|
|
@@ -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 { MatchLevel } from './matchLevel';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Snippets that show the context around a matching search query.
|
|
7
7
|
*/
|
|
8
8
|
export type SnippetResultOption = {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Highlighted attribute value, including HTML tags.
|
|
11
11
|
*/
|
|
12
12
|
value: string;
|
|
13
13
|
|
package/model/sortRemainingBy.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
|
-
*
|
|
4
|
+
* Order of facet values that aren\'t explicitly positioned with the `order` setting. <dl> <dt><code>count</code></dt> <dd> Order remaining facet values by decreasing count. The count is the number of matching records containing this facet value. </dd> <dt><code>alpha</code></dt> <dd>Sort facet values alphabetically.</dd> <dt><code>hidden</code></dt> <dd>Don\'t show facet values that aren\'t explicitly positioned.</dd> </dl>.
|
|
5
5
|
*/
|
|
6
6
|
export type SortRemainingBy = 'alpha' | 'count' | 'hidden';
|
package/model/source.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
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
|
+
* Source.
|
|
5
5
|
*/
|
|
6
6
|
export type Source = {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* IP address range of the source.
|
|
9
9
|
*/
|
|
10
10
|
source: string;
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Source description.
|
|
14
14
|
*/
|
|
15
15
|
description?: string;
|
|
16
16
|
};
|
package/model/standardEntries.ts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
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
|
+
* Key-value pairs of [supported language ISO codes](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/supported-languages/) and boolean values.
|
|
5
5
|
*/
|
|
6
6
|
export type StandardEntries = {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Key-value pair of a language ISO code and a boolean value.
|
|
9
9
|
*/
|
|
10
10
|
plurals?: Record<string, boolean> | null;
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Key-value pair of a language ISO code and a boolean value.
|
|
14
14
|
*/
|
|
15
15
|
stopwords?: Record<string, boolean> | null;
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Key-value pair of a language ISO code and a boolean value.
|
|
19
19
|
*/
|
|
20
20
|
compounds?: Record<string, boolean> | null;
|
|
21
21
|
};
|