@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
package/dist/model/editType.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Type of edit.
|
|
3
|
-
*/
|
|
4
|
-
export
|
|
1
|
+
/**
|
|
2
|
+
* Type of edit.
|
|
3
|
+
*/
|
|
4
|
+
export type EditType = 'remove' | 'replace';
|
|
5
5
|
//# sourceMappingURL=editType.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editType.d.ts","sourceRoot":"","sources":["../../model/editType.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,
|
|
1
|
+
{"version":3,"file":"editType.d.ts","sourceRoot":"","sources":["../../model/editType.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Error.
|
|
3
|
-
*/
|
|
4
|
-
export
|
|
5
|
-
message?: string;
|
|
6
|
-
};
|
|
1
|
+
/**
|
|
2
|
+
* Error.
|
|
3
|
+
*/
|
|
4
|
+
export type ErrorBase = Record<string, any> & {
|
|
5
|
+
message?: string;
|
|
6
|
+
};
|
|
7
7
|
//# sourceMappingURL=errorBase.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errorBase.d.ts","sourceRoot":"","sources":["../../model/errorBase.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,
|
|
1
|
+
{"version":3,"file":"errorBase.d.ts","sourceRoot":"","sources":["../../model/errorBase.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG;IAC5C,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
*/
|
|
4
|
-
export
|
|
1
|
+
/**
|
|
2
|
+
* Determines how the [Exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes) is computed when the search query has only one word. <dl> <dt><code>attribute</code></dt> <dd> The Exact ranking criterion is 1 if the query word and attribute value are the same. For example, a search for \"road\" will match the value \"road\", but not \"road trip\". </dd> <dt><code>none</code></dt> <dd> The Exact ranking criterion is ignored on single-word searches. </dd> <dt><code>word</code></dt> <dd> The Exact ranking criterion is 1 if the query word is found in the attribute value. The query word must have at least 3 characters and must not be a stop word. </dd> </dl> If `exactOnSingleWordQuery` is `word`, only exact matches will be highlighted, partial and prefix matches won\'t.
|
|
3
|
+
*/
|
|
4
|
+
export type ExactOnSingleWordQuery = 'attribute' | 'none' | 'word';
|
|
5
5
|
//# sourceMappingURL=exactOnSingleWordQuery.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exactOnSingleWordQuery.d.ts","sourceRoot":"","sources":["../../model/exactOnSingleWordQuery.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,
|
|
1
|
+
{"version":3,"file":"exactOnSingleWordQuery.d.ts","sourceRoot":"","sources":["../../model/exactOnSingleWordQuery.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,WAAW,GAAG,MAAM,GAAG,MAAM,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Whether certain properties of the search response are calculated exhaustive (exact) or approximated.
|
|
3
|
+
*/
|
|
4
|
+
export type Exhaustive = {
|
|
5
|
+
/**
|
|
6
|
+
* Whether the facet count is exhaustive (`true`) or approximate (`false`). See the [related discussion](https://support.algolia.com/hc/en-us/articles/4406975248145-Why-are-my-facet-and-hit-counts-not-accurate-).
|
|
7
|
+
*/
|
|
8
|
+
facetsCount?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* The value is `false` if not all facet values are retrieved.
|
|
11
|
+
*/
|
|
12
|
+
facetValues?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Whether the `nbHits` is exhaustive (`true`) or approximate (`false`). When the query takes more than 50ms to be processed, the engine makes an approximation. This can happen when using complex filters on millions of records, when typo-tolerance was not exhaustive, or when enough hits have been retrieved (for example, after the engine finds 10,000 exact matches). `nbHits` is reported as non-exhaustive whenever an approximation is made, even if the approximation didn’t, in the end, impact the exhaustivity of the query.
|
|
15
|
+
*/
|
|
16
|
+
nbHits?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Rules matching exhaustivity. The value is `false` if rules were enable for this query, and could not be fully processed due a timeout. This is generally caused by the number of alternatives (such as typos) which is too large.
|
|
19
|
+
*/
|
|
20
|
+
rulesMatch?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Whether the typo search was exhaustive (`true`) or approximate (`false`). An approximation is done when the typo search query part takes more than 10% of the query budget (ie. 5ms by default) to be processed (this can happen when a lot of typo alternatives exist for the query). This field will not be included when typo-tolerance is entirely disabled.
|
|
23
|
+
*/
|
|
24
|
+
typo?: boolean;
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=exhaustive.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exhaustive.d.ts","sourceRoot":"","sources":["../../model/exhaustive.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG;IACvB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { MixedSearchFilters } from './mixedSearchFilters';
|
|
2
|
-
/**
|
|
3
|
-
* Filter
|
|
4
|
-
*/
|
|
5
|
-
export
|
|
1
|
+
import type { MixedSearchFilters } from './mixedSearchFilters';
|
|
2
|
+
/**
|
|
3
|
+
* Filter the search by facet values, so that only records with the same facet values are retrieved. **Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.** - `[filter1, filter2]` is interpreted as `filter1 AND filter2`. - `[[filter1, filter2], filter3]` is interpreted as `filter1 OR filter2 AND filter3`. - `facet:-value` is interpreted as `NOT facet:value`. While it\'s best to avoid attributes that start with a `-`, you can still filter them by escaping with a backslash: `facet:\\-value`.
|
|
4
|
+
*/
|
|
5
|
+
export type FacetFilters = MixedSearchFilters[] | string;
|
|
6
6
|
//# sourceMappingURL=facetFilters.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"facetFilters.d.ts","sourceRoot":"","sources":["../../model/facetFilters.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D;;GAEG;AACH,
|
|
1
|
+
{"version":3,"file":"facetFilters.d.ts","sourceRoot":"","sources":["../../model/facetFilters.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,kBAAkB,EAAE,GAAG,MAAM,CAAC"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
*/
|
|
5
|
-
value: string;
|
|
6
|
-
/**
|
|
7
|
-
*
|
|
8
|
-
*/
|
|
9
|
-
highlighted: string;
|
|
10
|
-
/**
|
|
11
|
-
*
|
|
12
|
-
*/
|
|
13
|
-
count: number;
|
|
14
|
-
};
|
|
1
|
+
export type FacetHits = {
|
|
2
|
+
/**
|
|
3
|
+
* Facet value.
|
|
4
|
+
*/
|
|
5
|
+
value: string;
|
|
6
|
+
/**
|
|
7
|
+
* Highlighted attribute value, including HTML tags.
|
|
8
|
+
*/
|
|
9
|
+
highlighted: string;
|
|
10
|
+
/**
|
|
11
|
+
* Number of records with this facet value. [The count may be approximated](https://support.algolia.com/hc/en-us/articles/4406975248145-Why-are-my-facet-and-hit-counts-not-accurate-).
|
|
12
|
+
*/
|
|
13
|
+
count: number;
|
|
14
|
+
};
|
|
15
15
|
//# sourceMappingURL=facetHits.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"facetHits.d.ts","sourceRoot":"","sources":["../../model/facetHits.ts"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"facetHits.d.ts","sourceRoot":"","sources":["../../model/facetHits.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,SAAS,GAAG;IACtB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import type { Facets } from './facets';
|
|
2
|
-
import type { Value } from './value';
|
|
3
|
-
/**
|
|
4
|
-
*
|
|
5
|
-
*/
|
|
6
|
-
export
|
|
7
|
-
facets?: Facets;
|
|
8
|
-
/**
|
|
9
|
-
*
|
|
10
|
-
*/
|
|
11
|
-
values?: Record<string, Value>;
|
|
12
|
-
};
|
|
1
|
+
import type { Facets } from './facets';
|
|
2
|
+
import type { Value } from './value';
|
|
3
|
+
/**
|
|
4
|
+
* Order of facet names and facet values in your UI.
|
|
5
|
+
*/
|
|
6
|
+
export type FacetOrdering = {
|
|
7
|
+
facets?: Facets;
|
|
8
|
+
/**
|
|
9
|
+
* Order of facet values. One object for each facet.
|
|
10
|
+
*/
|
|
11
|
+
values?: Record<string, Value>;
|
|
12
|
+
};
|
|
13
13
|
//# sourceMappingURL=facetOrdering.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"facetOrdering.d.ts","sourceRoot":"","sources":["../../model/facetOrdering.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC;;GAEG;AACH,
|
|
1
|
+
{"version":3,"file":"facetOrdering.d.ts","sourceRoot":"","sources":["../../model/facetOrdering.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;CAChC,CAAC"}
|
package/dist/model/facets.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
*/
|
|
4
|
-
export
|
|
5
|
-
/**
|
|
6
|
-
*
|
|
7
|
-
*/
|
|
8
|
-
order?: string[];
|
|
9
|
-
};
|
|
1
|
+
/**
|
|
2
|
+
* Order of facet names.
|
|
3
|
+
*/
|
|
4
|
+
export type Facets = {
|
|
5
|
+
/**
|
|
6
|
+
* Explicit order of facets or facet values. This setting lets you always show specific facets or facet values at the top of the list.
|
|
7
|
+
*/
|
|
8
|
+
order?: string[];
|
|
9
|
+
};
|
|
10
10
|
//# sourceMappingURL=facets.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"facets.d.ts","sourceRoot":"","sources":["../../model/facets.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,
|
|
1
|
+
{"version":3,"file":"facets.d.ts","sourceRoot":"","sources":["../../model/facets.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,MAAM,GAAG;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;CAClB,CAAC"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
*/
|
|
5
|
-
min?: number;
|
|
6
|
-
/**
|
|
7
|
-
*
|
|
8
|
-
*/
|
|
9
|
-
max?: number;
|
|
10
|
-
/**
|
|
11
|
-
*
|
|
12
|
-
*/
|
|
13
|
-
avg?: number;
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
*/
|
|
17
|
-
sum?: number;
|
|
18
|
-
};
|
|
1
|
+
export type FacetsStats = {
|
|
2
|
+
/**
|
|
3
|
+
* Minimum value in the results.
|
|
4
|
+
*/
|
|
5
|
+
min?: number;
|
|
6
|
+
/**
|
|
7
|
+
* Maximum value in the results.
|
|
8
|
+
*/
|
|
9
|
+
max?: number;
|
|
10
|
+
/**
|
|
11
|
+
* Average facet value in the results.
|
|
12
|
+
*/
|
|
13
|
+
avg?: number;
|
|
14
|
+
/**
|
|
15
|
+
* Sum of all values in the results.
|
|
16
|
+
*/
|
|
17
|
+
sum?: number;
|
|
18
|
+
};
|
|
19
19
|
//# sourceMappingURL=facetsStats.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"facetsStats.d.ts","sourceRoot":"","sources":["../../model/facetsStats.ts"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"facetsStats.d.ts","sourceRoot":"","sources":["../../model/facetsStats.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,WAAW,GAAG;IACxB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CACd,CAAC"}
|
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
export
|
|
2
|
-
/**
|
|
3
|
-
* Index name.
|
|
4
|
-
*/
|
|
5
|
-
name: string;
|
|
6
|
-
/**
|
|
7
|
-
* Index creation date. An empty string means that the index has no records.
|
|
8
|
-
*/
|
|
9
|
-
createdAt: string;
|
|
10
|
-
/**
|
|
11
|
-
*
|
|
12
|
-
*/
|
|
13
|
-
updatedAt: string;
|
|
14
|
-
/**
|
|
15
|
-
* Number of records contained in the index.
|
|
16
|
-
*/
|
|
17
|
-
entries: number;
|
|
18
|
-
/**
|
|
19
|
-
* Number of bytes of the index in minified format.
|
|
20
|
-
*/
|
|
21
|
-
dataSize: number;
|
|
22
|
-
/**
|
|
23
|
-
* Number of bytes of the index binary file.
|
|
24
|
-
*/
|
|
25
|
-
fileSize: number;
|
|
26
|
-
/**
|
|
27
|
-
* Last build time.
|
|
28
|
-
*/
|
|
29
|
-
lastBuildTimeS: number;
|
|
30
|
-
/**
|
|
31
|
-
* Number of pending indexing operations. This value is deprecated and should not be used.
|
|
32
|
-
*/
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* A boolean which says whether the index has pending tasks. This value is deprecated and should not be used.
|
|
36
|
-
*/
|
|
37
|
-
pendingTask: boolean;
|
|
38
|
-
/**
|
|
39
|
-
* Only present if the index is a replica. Contains the name of the related primary index.
|
|
40
|
-
*/
|
|
41
|
-
primary?: string;
|
|
42
|
-
/**
|
|
43
|
-
* Only present if the index is a primary index with replicas. Contains the names of all linked replicas.
|
|
44
|
-
*/
|
|
45
|
-
replicas?: string[];
|
|
46
|
-
};
|
|
1
|
+
export type FetchedIndex = {
|
|
2
|
+
/**
|
|
3
|
+
* Index name.
|
|
4
|
+
*/
|
|
5
|
+
name: string;
|
|
6
|
+
/**
|
|
7
|
+
* Index creation date. An empty string means that the index has no records.
|
|
8
|
+
*/
|
|
9
|
+
createdAt: string;
|
|
10
|
+
/**
|
|
11
|
+
* Timestamp of the last update in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format.
|
|
12
|
+
*/
|
|
13
|
+
updatedAt: string;
|
|
14
|
+
/**
|
|
15
|
+
* Number of records contained in the index.
|
|
16
|
+
*/
|
|
17
|
+
entries: number;
|
|
18
|
+
/**
|
|
19
|
+
* Number of bytes of the index in minified format.
|
|
20
|
+
*/
|
|
21
|
+
dataSize: number;
|
|
22
|
+
/**
|
|
23
|
+
* Number of bytes of the index binary file.
|
|
24
|
+
*/
|
|
25
|
+
fileSize: number;
|
|
26
|
+
/**
|
|
27
|
+
* Last build time.
|
|
28
|
+
*/
|
|
29
|
+
lastBuildTimeS: number;
|
|
30
|
+
/**
|
|
31
|
+
* Number of pending indexing operations. This value is deprecated and should not be used.
|
|
32
|
+
*/
|
|
33
|
+
numberOfPendingTasks: number;
|
|
34
|
+
/**
|
|
35
|
+
* A boolean which says whether the index has pending tasks. This value is deprecated and should not be used.
|
|
36
|
+
*/
|
|
37
|
+
pendingTask: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Only present if the index is a replica. Contains the name of the related primary index.
|
|
40
|
+
*/
|
|
41
|
+
primary?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Only present if the index is a primary index with replicas. Contains the names of all linked replicas.
|
|
44
|
+
*/
|
|
45
|
+
replicas?: string[];
|
|
46
|
+
};
|
|
47
47
|
//# sourceMappingURL=fetchedIndex.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetchedIndex.d.ts","sourceRoot":"","sources":["../../model/fetchedIndex.ts"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"fetchedIndex.d.ts","sourceRoot":"","sources":["../../model/fetchedIndex.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,YAAY,GAAG;IACzB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAE7B;;OAEG;IACH,WAAW,EAAE,OAAO,CAAC;IAErB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ApiKey } from './apiKey';
|
|
2
|
-
import type { BaseGetApiKeyResponse } from './baseGetApiKeyResponse';
|
|
3
|
-
export
|
|
1
|
+
import type { ApiKey } from './apiKey';
|
|
2
|
+
import type { BaseGetApiKeyResponse } from './baseGetApiKeyResponse';
|
|
3
|
+
export type GetApiKeyResponse = ApiKey & BaseGetApiKeyResponse;
|
|
4
4
|
//# sourceMappingURL=getApiKeyResponse.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getApiKeyResponse.d.ts","sourceRoot":"","sources":["../../model/getApiKeyResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAErE,
|
|
1
|
+
{"version":3,"file":"getApiKeyResponse.d.ts","sourceRoot":"","sources":["../../model/getApiKeyResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAErE,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,qBAAqB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { StandardEntries } from './standardEntries';
|
|
2
|
-
export
|
|
3
|
-
disableStandardEntries: StandardEntries;
|
|
4
|
-
};
|
|
1
|
+
import type { StandardEntries } from './standardEntries';
|
|
2
|
+
export type GetDictionarySettingsResponse = {
|
|
3
|
+
disableStandardEntries: StandardEntries;
|
|
4
|
+
};
|
|
5
5
|
//# sourceMappingURL=getDictionarySettingsResponse.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDictionarySettingsResponse.d.ts","sourceRoot":"","sources":["../../model/getDictionarySettingsResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD,
|
|
1
|
+
{"version":3,"file":"getDictionarySettingsResponse.d.ts","sourceRoot":"","sources":["../../model/getDictionarySettingsResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD,MAAM,MAAM,6BAA6B,GAAG;IAC1C,sBAAsB,EAAE,eAAe,CAAC;CACzC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Log } from './log';
|
|
2
|
-
export
|
|
3
|
-
logs: Log[];
|
|
4
|
-
};
|
|
1
|
+
import type { Log } from './log';
|
|
2
|
+
export type GetLogsResponse = {
|
|
3
|
+
logs: Log[];
|
|
4
|
+
};
|
|
5
5
|
//# sourceMappingURL=getLogsResponse.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getLogsResponse.d.ts","sourceRoot":"","sources":["../../model/getLogsResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAEjC,
|
|
1
|
+
{"version":3,"file":"getLogsResponse.d.ts","sourceRoot":"","sources":["../../model/getLogsResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAEjC,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,EAAE,GAAG,EAAE,CAAC;CACb,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { GetObjectsRequest } from './getObjectsRequest';
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
*/
|
|
5
|
-
export
|
|
6
|
-
requests: GetObjectsRequest[];
|
|
7
|
-
};
|
|
1
|
+
import type { GetObjectsRequest } from './getObjectsRequest';
|
|
2
|
+
/**
|
|
3
|
+
* Request parameters.
|
|
4
|
+
*/
|
|
5
|
+
export type GetObjectsParams = {
|
|
6
|
+
requests: GetObjectsRequest[];
|
|
7
|
+
};
|
|
8
8
|
//# sourceMappingURL=getObjectsParams.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getObjectsParams.d.ts","sourceRoot":"","sources":["../../model/getObjectsParams.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D;;GAEG;AACH,
|
|
1
|
+
{"version":3,"file":"getObjectsParams.d.ts","sourceRoot":"","sources":["../../model/getObjectsParams.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,EAAE,iBAAiB,EAAE,CAAC;CAC/B,CAAC"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
*/
|
|
4
|
-
export
|
|
5
|
-
/**
|
|
6
|
-
*
|
|
7
|
-
*/
|
|
8
|
-
attributesToRetrieve?: string[];
|
|
9
|
-
/**
|
|
10
|
-
* ID
|
|
11
|
-
*/
|
|
12
|
-
objectID: string;
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
*/
|
|
16
|
-
indexName: string;
|
|
17
|
-
};
|
|
1
|
+
/**
|
|
2
|
+
* Request body for retrieving records.
|
|
3
|
+
*/
|
|
4
|
+
export type GetObjectsRequest = {
|
|
5
|
+
/**
|
|
6
|
+
* Attributes to retrieve. If not specified, all retrievable attributes are returned.
|
|
7
|
+
*/
|
|
8
|
+
attributesToRetrieve?: string[];
|
|
9
|
+
/**
|
|
10
|
+
* Object ID for the record to retrieve.
|
|
11
|
+
*/
|
|
12
|
+
objectID: string;
|
|
13
|
+
/**
|
|
14
|
+
* Index from which to retrieve the records.
|
|
15
|
+
*/
|
|
16
|
+
indexName: string;
|
|
17
|
+
};
|
|
18
18
|
//# sourceMappingURL=getObjectsRequest.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getObjectsRequest.d.ts","sourceRoot":"","sources":["../../model/getObjectsRequest.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,
|
|
1
|
+
{"version":3,"file":"getObjectsRequest.d.ts","sourceRoot":"","sources":["../../model/getObjectsRequest.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,oBAAoB,CAAC,EAAE,MAAM,EAAE,CAAC;IAEhC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
*/
|
|
5
|
-
results: T[];
|
|
6
|
-
};
|
|
1
|
+
export type GetObjectsResponse<T = Record<string, any>> = {
|
|
2
|
+
/**
|
|
3
|
+
* Retrieved records.
|
|
4
|
+
*/
|
|
5
|
+
results: T[];
|
|
6
|
+
};
|
|
7
7
|
//# sourceMappingURL=getObjectsResponse.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getObjectsResponse.d.ts","sourceRoot":"","sources":["../../model/getObjectsResponse.ts"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"getObjectsResponse.d.ts","sourceRoot":"","sources":["../../model/getObjectsResponse.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,kBAAkB,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,IAAI;IACxD;;OAEG;IACH,OAAO,EAAE,CAAC,EAAE,CAAC;CACd,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { TaskStatus } from './taskStatus';
|
|
2
|
-
export
|
|
3
|
-
status: TaskStatus;
|
|
4
|
-
};
|
|
1
|
+
import type { TaskStatus } from './taskStatus';
|
|
2
|
+
export type GetTaskResponse = {
|
|
3
|
+
status: TaskStatus;
|
|
4
|
+
};
|
|
5
5
|
//# sourceMappingURL=getTaskResponse.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getTaskResponse.d.ts","sourceRoot":"","sources":["../../model/getTaskResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,
|
|
1
|
+
{"version":3,"file":"getTaskResponse.d.ts","sourceRoot":"","sources":["../../model/getTaskResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,MAAM,eAAe,GAAG;IAC5B,MAAM,EAAE,UAAU,CAAC;CACpB,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type { UserId } from './userId';
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
*/
|
|
5
|
-
export
|
|
6
|
-
/**
|
|
7
|
-
*
|
|
8
|
-
*/
|
|
9
|
-
topUsers: Array<Record<string, UserId[]>>;
|
|
10
|
-
};
|
|
1
|
+
import type { UserId } from './userId';
|
|
2
|
+
/**
|
|
3
|
+
* User IDs and clusters.
|
|
4
|
+
*/
|
|
5
|
+
export type GetTopUserIdsResponse = {
|
|
6
|
+
/**
|
|
7
|
+
* Key-value pairs with cluster names as keys and lists of users with the highest number of records per cluster as values.
|
|
8
|
+
*/
|
|
9
|
+
topUsers: Array<Record<string, UserId[]>>;
|
|
10
|
+
};
|
|
11
11
|
//# sourceMappingURL=getTopUserIdsResponse.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getTopUserIdsResponse.d.ts","sourceRoot":"","sources":["../../model/getTopUserIdsResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC;;GAEG;AACH,
|
|
1
|
+
{"version":3,"file":"getTopUserIdsResponse.d.ts","sourceRoot":"","sources":["../../model/getTopUserIdsResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC;CAC3C,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
*/
|
|
5
|
-
pending: boolean;
|
|
6
|
-
/**
|
|
7
|
-
*
|
|
8
|
-
*/
|
|
9
|
-
clusters?: Record<string, string[]>;
|
|
10
|
-
};
|
|
1
|
+
export type HasPendingMappingsResponse = {
|
|
2
|
+
/**
|
|
3
|
+
* Whether there are clusters undergoing migration, creation, or deletion.
|
|
4
|
+
*/
|
|
5
|
+
pending: boolean;
|
|
6
|
+
/**
|
|
7
|
+
* Cluster pending mapping state: migrating, creating, deleting.
|
|
8
|
+
*/
|
|
9
|
+
clusters?: Record<string, string[]>;
|
|
10
|
+
};
|
|
11
11
|
//# sourceMappingURL=hasPendingMappingsResponse.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hasPendingMappingsResponse.d.ts","sourceRoot":"","sources":["../../model/hasPendingMappingsResponse.ts"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"hasPendingMappingsResponse.d.ts","sourceRoot":"","sources":["../../model/hasPendingMappingsResponse.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,0BAA0B,GAAG;IACvC;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;CACrC,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { HighlightResultOption } from './highlightResultOption';
|
|
2
|
-
export
|
|
1
|
+
import type { HighlightResultOption } from './highlightResultOption';
|
|
2
|
+
export type HighlightResult = HighlightResultOption | HighlightResultOption[] | Record<string, HighlightResultOption>;
|
|
3
3
|
//# sourceMappingURL=highlightResult.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"highlightResult.d.ts","sourceRoot":"","sources":["../../model/highlightResult.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAErE,
|
|
1
|
+
{"version":3,"file":"highlightResult.d.ts","sourceRoot":"","sources":["../../model/highlightResult.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAErE,MAAM,MAAM,eAAe,GACvB,qBAAqB,GACrB,qBAAqB,EAAE,GACvB,MAAM,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAAC"}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import type { MatchLevel } from './matchLevel';
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
*/
|
|
5
|
-
export
|
|
6
|
-
/**
|
|
7
|
-
*
|
|
8
|
-
*/
|
|
9
|
-
value: string;
|
|
10
|
-
matchLevel: MatchLevel;
|
|
11
|
-
/**
|
|
12
|
-
* List of words from the query
|
|
13
|
-
*/
|
|
14
|
-
matchedWords: string[];
|
|
15
|
-
/**
|
|
16
|
-
* Whether the entire attribute value is highlighted.
|
|
17
|
-
*/
|
|
18
|
-
fullyHighlighted?: boolean;
|
|
19
|
-
};
|
|
1
|
+
import type { MatchLevel } from './matchLevel';
|
|
2
|
+
/**
|
|
3
|
+
* Surround words that match the query with HTML tags for highlighting.
|
|
4
|
+
*/
|
|
5
|
+
export type HighlightResultOption = {
|
|
6
|
+
/**
|
|
7
|
+
* Highlighted attribute value, including HTML tags.
|
|
8
|
+
*/
|
|
9
|
+
value: string;
|
|
10
|
+
matchLevel: MatchLevel;
|
|
11
|
+
/**
|
|
12
|
+
* List of matched words from the search query.
|
|
13
|
+
*/
|
|
14
|
+
matchedWords: string[];
|
|
15
|
+
/**
|
|
16
|
+
* Whether the entire attribute value is highlighted.
|
|
17
|
+
*/
|
|
18
|
+
fullyHighlighted?: boolean;
|
|
19
|
+
};
|
|
20
20
|
//# sourceMappingURL=highlightResultOption.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"highlightResultOption.d.ts","sourceRoot":"","sources":["../../model/highlightResultOption.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C;;GAEG;AACH,
|
|
1
|
+
{"version":3,"file":"highlightResultOption.d.ts","sourceRoot":"","sources":["../../model/highlightResultOption.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd,UAAU,EAAE,UAAU,CAAC;IAEvB;;OAEG;IACH,YAAY,EAAE,MAAM,EAAE,CAAC;IAEvB;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC"}
|