algoliasearch 5.0.0-alpha.53 → 5.0.0-alpha.54
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/algoliasearch/builds/models.d.ts +31 -31
- package/dist/algoliasearch/jest.config.d.ts +3 -3
- package/dist/algoliasearch.cjs.js +3487 -3485
- package/dist/algoliasearch.esm.browser.js +3620 -3618
- package/dist/algoliasearch.esm.node.js +3487 -3485
- package/dist/algoliasearch.umd.js +2 -2
- package/dist/builds/browser.d.ts +87 -87
- package/dist/builds/node.d.ts +87 -87
- package/dist/client-abtesting/model/aBTest.d.ts +39 -39
- package/dist/client-abtesting/model/aBTestResponse.d.ts +14 -14
- package/dist/client-abtesting/model/abTestsVariant.d.ts +14 -14
- package/dist/client-abtesting/model/abTestsVariantSearchParams.d.ts +3 -3
- package/dist/client-abtesting/model/addABTestsRequest.d.ts +15 -15
- package/dist/client-abtesting/model/addABTestsVariant.d.ts +3 -3
- package/dist/client-abtesting/model/clientMethodProps.d.ts +100 -100
- package/dist/client-abtesting/model/customSearchParams.d.ts +3 -3
- package/dist/client-abtesting/model/errorBase.d.ts +6 -6
- package/dist/client-abtesting/model/index.d.ts +11 -11
- package/dist/client-abtesting/model/listABTestsResponse.d.ts +15 -15
- package/dist/client-abtesting/model/variant.d.ts +50 -50
- package/dist/client-abtesting/src/abtestingClient.d.ts +124 -124
- package/dist/client-analytics/model/averageClickEvent.d.ts +14 -14
- package/dist/client-analytics/model/clickPosition.d.ts +10 -10
- package/dist/client-analytics/model/clickThroughRateEvent.d.ts +18 -18
- package/dist/client-analytics/model/clientMethodProps.d.ts +507 -507
- package/dist/client-analytics/model/conversionRateEvent.d.ts +18 -18
- package/dist/client-analytics/model/direction.d.ts +1 -1
- package/dist/client-analytics/model/errorBase.d.ts +6 -6
- package/dist/client-analytics/model/getAverageClickPositionResponse.d.ts +15 -15
- package/dist/client-analytics/model/getClickPositionsResponse.d.ts +7 -7
- package/dist/client-analytics/model/getClickThroughRateResponse.d.ts +19 -19
- package/dist/client-analytics/model/getConversationRateResponse.d.ts +19 -19
- package/dist/client-analytics/model/getNoClickRateResponse.d.ts +19 -19
- package/dist/client-analytics/model/getNoResultsRateResponse.d.ts +19 -19
- package/dist/client-analytics/model/getSearchesCountResponse.d.ts +11 -11
- package/dist/client-analytics/model/getSearchesNoClicksResponse.d.ts +7 -7
- package/dist/client-analytics/model/getSearchesNoResultsResponse.d.ts +7 -7
- package/dist/client-analytics/model/getStatusResponse.d.ts +6 -6
- package/dist/client-analytics/model/getTopCountriesResponse.d.ts +7 -7
- package/dist/client-analytics/model/getTopFilterAttribute.d.ts +10 -10
- package/dist/client-analytics/model/getTopFilterAttributesResponse.d.ts +7 -7
- package/dist/client-analytics/model/getTopFilterForAttribute.d.ts +18 -18
- package/dist/client-analytics/model/getTopFilterForAttributeResponse.d.ts +7 -7
- package/dist/client-analytics/model/getTopFiltersNoResultsResponse.d.ts +7 -7
- package/dist/client-analytics/model/getTopFiltersNoResultsValue.d.ts +14 -14
- package/dist/client-analytics/model/getTopFiltersNoResultsValues.d.ts +11 -11
- package/dist/client-analytics/model/getTopHitsResponse.d.ts +3 -3
- package/dist/client-analytics/model/getTopSearchesResponse.d.ts +3 -3
- package/dist/client-analytics/model/getUsersCountResponse.d.ts +11 -11
- package/dist/client-analytics/model/index.d.ts +44 -44
- package/dist/client-analytics/model/noClickRateEvent.d.ts +18 -18
- package/dist/client-analytics/model/noResultsRateEvent.d.ts +18 -18
- package/dist/client-analytics/model/orderBy.d.ts +1 -1
- package/dist/client-analytics/model/searchEvent.d.ts +10 -10
- package/dist/client-analytics/model/searchNoClickEvent.d.ts +14 -14
- package/dist/client-analytics/model/searchNoResultEvent.d.ts +14 -14
- package/dist/client-analytics/model/topCountry.d.ts +10 -10
- package/dist/client-analytics/model/topHit.d.ts +10 -10
- package/dist/client-analytics/model/topHitWithAnalytics.d.ts +30 -30
- package/dist/client-analytics/model/topHitsResponse.d.ts +7 -7
- package/dist/client-analytics/model/topHitsResponseWithAnalytics.d.ts +7 -7
- package/dist/client-analytics/model/topSearch.d.ts +14 -14
- package/dist/client-analytics/model/topSearchWithAnalytics.d.ts +38 -38
- package/dist/client-analytics/model/topSearchesResponse.d.ts +7 -7
- package/dist/client-analytics/model/topSearchesResponseWithAnalytics.d.ts +7 -7
- package/dist/client-analytics/model/userWithDate.d.ts +10 -10
- package/dist/client-analytics/src/analyticsClient.d.ts +318 -318
- package/dist/client-personalization/model/clientMethodProps.d.ts +78 -78
- package/dist/client-personalization/model/deleteUserProfileResponse.d.ts +10 -10
- package/dist/client-personalization/model/errorBase.d.ts +6 -6
- package/dist/client-personalization/model/eventScoring.d.ts +14 -14
- package/dist/client-personalization/model/facetScoring.d.ts +10 -10
- package/dist/client-personalization/model/getUserTokenResponse.d.ts +14 -14
- package/dist/client-personalization/model/index.d.ts +8 -8
- package/dist/client-personalization/model/personalizationStrategyParams.d.ts +16 -16
- package/dist/client-personalization/model/setPersonalizationStrategyResponse.d.ts +6 -6
- package/dist/client-personalization/src/personalizationClient.d.ts +112 -112
- package/dist/client-search/model/acl.d.ts +4 -4
- package/dist/client-search/model/action.d.ts +4 -4
- package/dist/client-search/model/addApiKeyResponse.d.ts +10 -10
- package/dist/client-search/model/advancedSyntaxFeatures.d.ts +1 -1
- package/dist/client-search/model/alternativesAsExact.d.ts +1 -1
- package/dist/client-search/model/anchoring.d.ts +4 -4
- package/dist/client-search/model/apiKey.d.ts +38 -38
- package/dist/client-search/model/aroundRadius.d.ts +5 -5
- package/dist/client-search/model/aroundRadiusAll.d.ts +1 -1
- package/dist/client-search/model/assignUserIdParams.d.ts +9 -9
- package/dist/client-search/model/attributeToUpdate.d.ts +2 -2
- package/dist/client-search/model/automaticFacetFilter.d.ts +17 -17
- package/dist/client-search/model/automaticFacetFilters.d.ts +5 -5
- package/dist/client-search/model/baseGetApiKeyResponse.d.ts +10 -10
- package/dist/client-search/model/baseIndexSettings.d.ts +62 -62
- package/dist/client-search/model/baseSearchParams.d.ts +3 -3
- package/dist/client-search/model/baseSearchParamsWithoutQuery.d.ts +122 -122
- package/dist/client-search/model/baseSearchResponse.d.ts +101 -101
- package/dist/client-search/model/batchAssignUserIdsParams.d.ts +13 -13
- package/dist/client-search/model/batchDictionaryEntriesParams.d.ts +14 -14
- package/dist/client-search/model/batchDictionaryEntriesRequest.d.ts +6 -6
- package/dist/client-search/model/batchParams.d.ts +7 -7
- package/dist/client-search/model/batchRequest.d.ts +8 -8
- package/dist/client-search/model/batchResponse.d.ts +10 -10
- package/dist/client-search/model/batchWriteParams.d.ts +7 -7
- package/dist/client-search/model/browseParams.d.ts +3 -3
- package/dist/client-search/model/browseParamsObject.d.ts +3 -3
- package/dist/client-search/model/browseResponse.d.ts +4 -4
- package/dist/client-search/model/builtInOperation.d.ts +11 -11
- package/dist/client-search/model/builtInOperationType.d.ts +4 -4
- package/dist/client-search/model/clientMethodProps.d.ts +715 -715
- package/dist/client-search/model/condition.d.ts +16 -16
- package/dist/client-search/model/consequence.d.ts +25 -25
- package/dist/client-search/model/consequenceHide.d.ts +9 -9
- package/dist/client-search/model/consequenceParams.d.ts +4 -4
- package/dist/client-search/model/consequenceQuery.d.ts +5 -5
- package/dist/client-search/model/consequenceQueryObject.d.ts +11 -11
- package/dist/client-search/model/createdAtResponse.d.ts +9 -9
- package/dist/client-search/model/cursor.d.ts +6 -6
- package/dist/client-search/model/deleteApiKeyResponse.d.ts +6 -6
- package/dist/client-search/model/deleteByParams.d.ts +26 -26
- package/dist/client-search/model/deleteSourceResponse.d.ts +6 -6
- package/dist/client-search/model/deletedAtResponse.d.ts +13 -13
- package/dist/client-search/model/dictionaryAction.d.ts +4 -4
- package/dist/client-search/model/dictionaryEntry.d.ts +27 -27
- package/dist/client-search/model/dictionaryEntryState.d.ts +4 -4
- package/dist/client-search/model/dictionaryLanguage.d.ts +9 -9
- package/dist/client-search/model/dictionarySettingsParams.d.ts +7 -7
- package/dist/client-search/model/dictionaryType.d.ts +1 -1
- package/dist/client-search/model/distinct.d.ts +4 -4
- package/dist/client-search/model/edit.d.ts +12 -12
- package/dist/client-search/model/editType.d.ts +4 -4
- package/dist/client-search/model/errorBase.d.ts +6 -6
- package/dist/client-search/model/exactOnSingleWordQuery.d.ts +4 -4
- package/dist/client-search/model/facetFilters.d.ts +5 -5
- package/dist/client-search/model/facetHits.d.ts +14 -14
- package/dist/client-search/model/facetOrdering.d.ts +12 -12
- package/dist/client-search/model/facets.d.ts +9 -9
- package/dist/client-search/model/facetsStats.d.ts +18 -18
- package/dist/client-search/model/fetchedIndex.d.ts +46 -46
- package/dist/client-search/model/getApiKeyResponse.d.ts +3 -3
- package/dist/client-search/model/getDictionarySettingsResponse.d.ts +4 -4
- package/dist/client-search/model/getLogsResponse.d.ts +4 -4
- package/dist/client-search/model/getObjectsParams.d.ts +7 -7
- package/dist/client-search/model/getObjectsRequest.d.ts +17 -17
- package/dist/client-search/model/getObjectsResponse.d.ts +6 -6
- package/dist/client-search/model/getTaskResponse.d.ts +4 -4
- package/dist/client-search/model/getTopUserIdsResponse.d.ts +10 -10
- package/dist/client-search/model/hasPendingMappingsResponse.d.ts +10 -10
- package/dist/client-search/model/highlightResult.d.ts +2 -2
- package/dist/client-search/model/highlightResultOption.d.ts +19 -19
- package/dist/client-search/model/hit.d.ts +22 -22
- package/dist/client-search/model/ignorePlurals.d.ts +4 -4
- package/dist/client-search/model/index.d.ts +154 -154
- package/dist/client-search/model/indexSettings.d.ts +6 -6
- package/dist/client-search/model/indexSettingsAsSearchParams.d.ts +156 -156
- package/dist/client-search/model/languages.d.ts +9 -9
- package/dist/client-search/model/listApiKeysResponse.d.ts +7 -7
- package/dist/client-search/model/listClustersResponse.d.ts +9 -9
- package/dist/client-search/model/listIndicesResponse.d.ts +11 -11
- package/dist/client-search/model/listUserIdsResponse.d.ts +10 -10
- package/dist/client-search/model/log.d.ts +63 -63
- package/dist/client-search/model/logQuery.d.ts +14 -14
- package/dist/client-search/model/logType.d.ts +1 -1
- package/dist/client-search/model/matchLevel.d.ts +4 -4
- package/dist/client-search/model/matchedGeoLocation.d.ts +14 -14
- package/dist/client-search/model/mixedSearchFilters.d.ts +1 -1
- package/dist/client-search/model/multipleBatchRequest.d.ts +12 -12
- package/dist/client-search/model/multipleBatchResponse.d.ts +10 -10
- package/dist/client-search/model/numericFilters.d.ts +5 -5
- package/dist/client-search/model/operationIndexParams.d.ts +13 -13
- package/dist/client-search/model/operationType.d.ts +4 -4
- package/dist/client-search/model/optionalFilters.d.ts +5 -5
- package/dist/client-search/model/params.d.ts +12 -12
- package/dist/client-search/model/personalization.d.ts +14 -14
- package/dist/client-search/model/promote.d.ts +3 -3
- package/dist/client-search/model/promoteObjectID.d.ts +13 -13
- package/dist/client-search/model/promoteObjectIDs.d.ts +13 -13
- package/dist/client-search/model/queryType.d.ts +4 -4
- package/dist/client-search/model/rankingInfo.d.ts +50 -50
- package/dist/client-search/model/reRankingApplyFilter.d.ts +5 -5
- package/dist/client-search/model/removeStopWords.d.ts +4 -4
- package/dist/client-search/model/removeUserIdResponse.d.ts +6 -6
- package/dist/client-search/model/removeWordsIfNoResults.d.ts +4 -4
- package/dist/client-search/model/renderingContent.d.ts +7 -7
- package/dist/client-search/model/replaceSourceResponse.d.ts +6 -6
- package/dist/client-search/model/rule.d.ts +29 -29
- package/dist/client-search/model/saveObjectResponse.d.ts +11 -11
- package/dist/client-search/model/saveSynonymResponse.d.ts +14 -14
- package/dist/client-search/model/scopeType.d.ts +1 -1
- package/dist/client-search/model/searchDictionaryEntriesParams.d.ts +21 -21
- package/dist/client-search/model/searchForFacetValuesRequest.d.ts +14 -14
- package/dist/client-search/model/searchForFacetValuesResponse.d.ts +4 -4
- package/dist/client-search/model/searchForFacets.d.ts +3 -3
- package/dist/client-search/model/searchForFacetsOptions.d.ts +20 -20
- package/dist/client-search/model/searchForHits.d.ts +3 -3
- package/dist/client-search/model/searchForHitsOptions.d.ts +12 -12
- package/dist/client-search/model/searchHits.d.ts +4 -4
- package/dist/client-search/model/searchMethodParams.d.ts +6 -6
- package/dist/client-search/model/searchParams.d.ts +3 -3
- package/dist/client-search/model/searchParamsObject.d.ts +3 -3
- package/dist/client-search/model/searchParamsQuery.d.ts +6 -6
- package/dist/client-search/model/searchParamsString.d.ts +6 -6
- package/dist/client-search/model/searchQuery.d.ts +3 -3
- package/dist/client-search/model/searchResponse.d.ts +3 -3
- package/dist/client-search/model/searchResponses.d.ts +4 -4
- package/dist/client-search/model/searchRulesParams.d.ts +31 -31
- package/dist/client-search/model/searchRulesResponse.d.ts +19 -19
- package/dist/client-search/model/searchStrategy.d.ts +1 -1
- package/dist/client-search/model/searchSynonymsParams.d.ts +6 -6
- package/dist/client-search/model/searchSynonymsResponse.d.ts +11 -11
- package/dist/client-search/model/searchTypeDefault.d.ts +4 -4
- package/dist/client-search/model/searchTypeFacet.d.ts +4 -4
- package/dist/client-search/model/searchUserIdsParams.d.ts +21 -21
- package/dist/client-search/model/searchUserIdsResponse.d.ts +26 -26
- package/dist/client-search/model/snippetResult.d.ts +2 -2
- package/dist/client-search/model/snippetResultOption.d.ts +11 -11
- package/dist/client-search/model/sortRemainingBy.d.ts +4 -4
- package/dist/client-search/model/source.d.ts +13 -13
- package/dist/client-search/model/standardEntries.d.ts +17 -17
- package/dist/client-search/model/synonymHit.d.ts +35 -35
- package/dist/client-search/model/synonymType.d.ts +4 -4
- package/dist/client-search/model/tagFilters.d.ts +5 -5
- package/dist/client-search/model/taskStatus.d.ts +1 -1
- package/dist/client-search/model/timeRange.d.ts +10 -10
- package/dist/client-search/model/typoTolerance.d.ts +5 -5
- package/dist/client-search/model/typoToleranceEnum.d.ts +1 -1
- package/dist/client-search/model/updateApiKeyResponse.d.ts +10 -10
- package/dist/client-search/model/updatedAtResponse.d.ts +13 -13
- package/dist/client-search/model/updatedAtWithObjectIdResponse.d.ts +17 -17
- package/dist/client-search/model/updatedRuleResponse.d.ts +14 -14
- package/dist/client-search/model/userHighlightResult.d.ts +11 -11
- package/dist/client-search/model/userHit.d.ts +24 -24
- package/dist/client-search/model/userId.d.ts +21 -21
- package/dist/client-search/model/value.d.ts +8 -8
- package/dist/client-search/src/searchClient.d.ts +723 -723
- package/dist/lite/builds/browser.d.ts +5 -5
- package/dist/lite/builds/node.d.ts +5 -5
- package/dist/lite/lite.cjs.js +183 -183
- package/dist/lite/lite.esm.browser.js +307 -307
- package/dist/lite/lite.esm.node.js +183 -183
- package/dist/lite/lite.umd.js +2 -2
- package/dist/lite/model/acl.d.ts +4 -4
- package/dist/lite/model/action.d.ts +4 -4
- package/dist/lite/model/addApiKeyResponse.d.ts +10 -10
- package/dist/lite/model/advancedSyntaxFeatures.d.ts +1 -1
- package/dist/lite/model/alternativesAsExact.d.ts +1 -1
- package/dist/lite/model/anchoring.d.ts +4 -4
- package/dist/lite/model/apiKey.d.ts +38 -38
- package/dist/lite/model/aroundRadius.d.ts +5 -5
- package/dist/lite/model/aroundRadiusAll.d.ts +1 -1
- package/dist/lite/model/attributeToUpdate.d.ts +2 -2
- package/dist/lite/model/automaticFacetFilter.d.ts +17 -17
- package/dist/lite/model/automaticFacetFilters.d.ts +5 -5
- package/dist/lite/model/baseGetApiKeyResponse.d.ts +10 -10
- package/dist/lite/model/baseIndexSettings.d.ts +62 -62
- package/dist/lite/model/baseSearchParams.d.ts +3 -3
- package/dist/lite/model/baseSearchParamsWithoutQuery.d.ts +122 -122
- package/dist/lite/model/baseSearchResponse.d.ts +101 -101
- package/dist/lite/model/browseParams.d.ts +3 -3
- package/dist/lite/model/browseParamsObject.d.ts +3 -3
- package/dist/lite/model/browseResponse.d.ts +4 -4
- package/dist/lite/model/builtInOperation.d.ts +11 -11
- package/dist/lite/model/builtInOperationType.d.ts +4 -4
- package/dist/lite/model/clientMethodProps.d.ts +48 -48
- package/dist/lite/model/condition.d.ts +16 -16
- package/dist/lite/model/consequence.d.ts +25 -25
- package/dist/lite/model/consequenceHide.d.ts +9 -9
- package/dist/lite/model/consequenceParams.d.ts +4 -4
- package/dist/lite/model/consequenceQuery.d.ts +5 -5
- package/dist/lite/model/consequenceQueryObject.d.ts +11 -11
- package/dist/lite/model/cursor.d.ts +6 -6
- package/dist/lite/model/deleteByParams.d.ts +26 -26
- package/dist/lite/model/dictionaryAction.d.ts +4 -4
- package/dist/lite/model/dictionaryEntry.d.ts +27 -27
- package/dist/lite/model/dictionaryEntryState.d.ts +4 -4
- package/dist/lite/model/dictionaryLanguage.d.ts +9 -9
- package/dist/lite/model/dictionaryType.d.ts +1 -1
- package/dist/lite/model/distinct.d.ts +4 -4
- package/dist/lite/model/edit.d.ts +12 -12
- package/dist/lite/model/editType.d.ts +4 -4
- package/dist/lite/model/errorBase.d.ts +6 -6
- package/dist/lite/model/exactOnSingleWordQuery.d.ts +4 -4
- package/dist/lite/model/facetFilters.d.ts +5 -5
- package/dist/lite/model/facetOrdering.d.ts +12 -12
- package/dist/lite/model/facets.d.ts +9 -9
- package/dist/lite/model/facetsStats.d.ts +18 -18
- package/dist/lite/model/fetchedIndex.d.ts +46 -46
- package/dist/lite/model/getApiKeyResponse.d.ts +3 -3
- package/dist/lite/model/highlightResult.d.ts +2 -2
- package/dist/lite/model/highlightResultOption.d.ts +19 -19
- package/dist/lite/model/hit.d.ts +22 -22
- package/dist/lite/model/ignorePlurals.d.ts +4 -4
- package/dist/lite/model/index.d.ts +107 -107
- package/dist/lite/model/indexSettings.d.ts +6 -6
- package/dist/lite/model/indexSettingsAsSearchParams.d.ts +156 -156
- package/dist/lite/model/languages.d.ts +9 -9
- package/dist/lite/model/listIndicesResponse.d.ts +11 -11
- package/dist/lite/model/logType.d.ts +1 -1
- package/dist/lite/model/matchLevel.d.ts +4 -4
- package/dist/lite/model/matchedGeoLocation.d.ts +14 -14
- package/dist/lite/model/mixedSearchFilters.d.ts +1 -1
- package/dist/lite/model/numericFilters.d.ts +5 -5
- package/dist/lite/model/operationType.d.ts +4 -4
- package/dist/lite/model/optionalFilters.d.ts +5 -5
- package/dist/lite/model/params.d.ts +12 -12
- package/dist/lite/model/personalization.d.ts +14 -14
- package/dist/lite/model/promote.d.ts +3 -3
- package/dist/lite/model/promoteObjectID.d.ts +13 -13
- package/dist/lite/model/promoteObjectIDs.d.ts +13 -13
- package/dist/lite/model/queryType.d.ts +4 -4
- package/dist/lite/model/rankingInfo.d.ts +50 -50
- package/dist/lite/model/reRankingApplyFilter.d.ts +5 -5
- package/dist/lite/model/removeStopWords.d.ts +4 -4
- package/dist/lite/model/removeWordsIfNoResults.d.ts +4 -4
- package/dist/lite/model/renderingContent.d.ts +7 -7
- package/dist/lite/model/rule.d.ts +29 -29
- package/dist/lite/model/scopeType.d.ts +1 -1
- package/dist/lite/model/searchForFacets.d.ts +3 -3
- package/dist/lite/model/searchForFacetsOptions.d.ts +20 -20
- package/dist/lite/model/searchForHits.d.ts +3 -3
- package/dist/lite/model/searchForHitsOptions.d.ts +12 -12
- package/dist/lite/model/searchHits.d.ts +4 -4
- package/dist/lite/model/searchMethodParams.d.ts +6 -6
- package/dist/lite/model/searchParams.d.ts +3 -3
- package/dist/lite/model/searchParamsObject.d.ts +3 -3
- package/dist/lite/model/searchParamsQuery.d.ts +6 -6
- package/dist/lite/model/searchParamsString.d.ts +6 -6
- package/dist/lite/model/searchQuery.d.ts +3 -3
- package/dist/lite/model/searchResponse.d.ts +3 -3
- package/dist/lite/model/searchResponses.d.ts +4 -4
- package/dist/lite/model/searchStrategy.d.ts +1 -1
- package/dist/lite/model/searchSynonymsResponse.d.ts +11 -11
- package/dist/lite/model/searchTypeDefault.d.ts +4 -4
- package/dist/lite/model/searchTypeFacet.d.ts +4 -4
- package/dist/lite/model/snippetResult.d.ts +2 -2
- package/dist/lite/model/snippetResultOption.d.ts +11 -11
- package/dist/lite/model/sortRemainingBy.d.ts +4 -4
- package/dist/lite/model/source.d.ts +13 -13
- package/dist/lite/model/standardEntries.d.ts +17 -17
- package/dist/lite/model/synonymHit.d.ts +35 -35
- package/dist/lite/model/synonymType.d.ts +4 -4
- package/dist/lite/model/tagFilters.d.ts +5 -5
- package/dist/lite/model/taskStatus.d.ts +1 -1
- package/dist/lite/model/timeRange.d.ts +10 -10
- package/dist/lite/model/typoTolerance.d.ts +5 -5
- package/dist/lite/model/typoToleranceEnum.d.ts +1 -1
- package/dist/lite/model/updatedRuleResponse.d.ts +14 -14
- package/dist/lite/model/userId.d.ts +21 -21
- package/dist/lite/model/value.d.ts +8 -8
- package/dist/lite/src/liteClient.d.ts +50 -50
- package/lite/src/liteClient.ts +1 -1
- package/package.json +12 -12
|
@@ -1,102 +1,102 @@
|
|
|
1
|
-
import type { FacetsStats } from './facetsStats';
|
|
2
|
-
import type { RenderingContent } from './renderingContent';
|
|
3
|
-
export type BaseSearchResponse = {
|
|
4
|
-
/**
|
|
5
|
-
* If a search encounters an index that is being A/B tested, abTestID reports the ongoing A/B test ID.
|
|
6
|
-
*/
|
|
7
|
-
abTestID?: number;
|
|
8
|
-
/**
|
|
9
|
-
* If a search encounters an index that is being A/B tested, abTestVariantID reports the variant ID of the index used (starting at 1).
|
|
10
|
-
*/
|
|
11
|
-
abTestVariantID?: number;
|
|
12
|
-
/**
|
|
13
|
-
* The computed geo location.
|
|
14
|
-
*/
|
|
15
|
-
aroundLatLng?: string;
|
|
16
|
-
/**
|
|
17
|
-
* The automatically computed radius. For legacy reasons, this parameter is a string and not an integer.
|
|
18
|
-
*/
|
|
19
|
-
automaticRadius?: string;
|
|
20
|
-
/**
|
|
21
|
-
* Whether the facet count is exhaustive or approximate.
|
|
22
|
-
*/
|
|
23
|
-
exhaustiveFacetsCount?: boolean;
|
|
24
|
-
/**
|
|
25
|
-
* Indicate if the nbHits count was exhaustive or approximate.
|
|
26
|
-
*/
|
|
27
|
-
exhaustiveNbHits: boolean;
|
|
28
|
-
/**
|
|
29
|
-
* Indicate if the typo-tolerance search was exhaustive or approximate (only included when typo-tolerance is enabled).
|
|
30
|
-
*/
|
|
31
|
-
exhaustiveTypo?: boolean;
|
|
32
|
-
/**
|
|
33
|
-
* A mapping of each facet name to the corresponding facet counts.
|
|
34
|
-
*/
|
|
35
|
-
facets?: Record<string, Record<string, number>>;
|
|
36
|
-
/**
|
|
37
|
-
* Statistics for numerical facets.
|
|
38
|
-
*/
|
|
39
|
-
facets_stats?: Record<string, FacetsStats>;
|
|
40
|
-
/**
|
|
41
|
-
* Set the number of hits per page.
|
|
42
|
-
*/
|
|
43
|
-
hitsPerPage: number;
|
|
44
|
-
/**
|
|
45
|
-
* Index name used for the query.
|
|
46
|
-
*/
|
|
47
|
-
index?: string;
|
|
48
|
-
/**
|
|
49
|
-
* Index name used for the query. In the case of an A/B test, the targeted index isn\'t always the index used by the query.
|
|
50
|
-
*/
|
|
51
|
-
indexUsed?: string;
|
|
52
|
-
/**
|
|
53
|
-
* Used to return warnings about the query.
|
|
54
|
-
*/
|
|
55
|
-
message?: string;
|
|
56
|
-
/**
|
|
57
|
-
* Number of hits that the search query matched.
|
|
58
|
-
*/
|
|
59
|
-
nbHits: number;
|
|
60
|
-
/**
|
|
61
|
-
* Number of pages available for the current query.
|
|
62
|
-
*/
|
|
63
|
-
nbPages: number;
|
|
64
|
-
/**
|
|
65
|
-
* The number of hits selected and sorted by the relevant sort algorithm.
|
|
66
|
-
*/
|
|
67
|
-
nbSortedHits?: number;
|
|
68
|
-
/**
|
|
69
|
-
* Specify the page to retrieve.
|
|
70
|
-
*/
|
|
71
|
-
page: number;
|
|
72
|
-
/**
|
|
73
|
-
* A url-encoded string of all search parameters.
|
|
74
|
-
*/
|
|
75
|
-
params: string;
|
|
76
|
-
/**
|
|
77
|
-
* The query string that will be searched, after normalization.
|
|
78
|
-
*/
|
|
79
|
-
parsedQuery?: string;
|
|
80
|
-
/**
|
|
81
|
-
* Time the server took to process the request, in milliseconds.
|
|
82
|
-
*/
|
|
83
|
-
processingTimeMS: number;
|
|
84
|
-
/**
|
|
85
|
-
* The text to search in the index.
|
|
86
|
-
*/
|
|
87
|
-
query: string;
|
|
88
|
-
/**
|
|
89
|
-
* A markup text indicating which parts of the original query have been removed in order to retrieve a non-empty result set.
|
|
90
|
-
*/
|
|
91
|
-
queryAfterRemoval?: string;
|
|
92
|
-
/**
|
|
93
|
-
* Actual host name of the server that processed the request.
|
|
94
|
-
*/
|
|
95
|
-
serverUsed?: string;
|
|
96
|
-
/**
|
|
97
|
-
* Lets you store custom data in your indices.
|
|
98
|
-
*/
|
|
99
|
-
userData?: Record<string, any>;
|
|
100
|
-
renderingContent?: RenderingContent;
|
|
101
|
-
};
|
|
1
|
+
import type { FacetsStats } from './facetsStats';
|
|
2
|
+
import type { RenderingContent } from './renderingContent';
|
|
3
|
+
export type BaseSearchResponse = {
|
|
4
|
+
/**
|
|
5
|
+
* If a search encounters an index that is being A/B tested, abTestID reports the ongoing A/B test ID.
|
|
6
|
+
*/
|
|
7
|
+
abTestID?: number;
|
|
8
|
+
/**
|
|
9
|
+
* If a search encounters an index that is being A/B tested, abTestVariantID reports the variant ID of the index used (starting at 1).
|
|
10
|
+
*/
|
|
11
|
+
abTestVariantID?: number;
|
|
12
|
+
/**
|
|
13
|
+
* The computed geo location.
|
|
14
|
+
*/
|
|
15
|
+
aroundLatLng?: string;
|
|
16
|
+
/**
|
|
17
|
+
* The automatically computed radius. For legacy reasons, this parameter is a string and not an integer.
|
|
18
|
+
*/
|
|
19
|
+
automaticRadius?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Whether the facet count is exhaustive or approximate.
|
|
22
|
+
*/
|
|
23
|
+
exhaustiveFacetsCount?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Indicate if the nbHits count was exhaustive or approximate.
|
|
26
|
+
*/
|
|
27
|
+
exhaustiveNbHits: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Indicate if the typo-tolerance search was exhaustive or approximate (only included when typo-tolerance is enabled).
|
|
30
|
+
*/
|
|
31
|
+
exhaustiveTypo?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* A mapping of each facet name to the corresponding facet counts.
|
|
34
|
+
*/
|
|
35
|
+
facets?: Record<string, Record<string, number>>;
|
|
36
|
+
/**
|
|
37
|
+
* Statistics for numerical facets.
|
|
38
|
+
*/
|
|
39
|
+
facets_stats?: Record<string, FacetsStats>;
|
|
40
|
+
/**
|
|
41
|
+
* Set the number of hits per page.
|
|
42
|
+
*/
|
|
43
|
+
hitsPerPage: number;
|
|
44
|
+
/**
|
|
45
|
+
* Index name used for the query.
|
|
46
|
+
*/
|
|
47
|
+
index?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Index name used for the query. In the case of an A/B test, the targeted index isn\'t always the index used by the query.
|
|
50
|
+
*/
|
|
51
|
+
indexUsed?: string;
|
|
52
|
+
/**
|
|
53
|
+
* Used to return warnings about the query.
|
|
54
|
+
*/
|
|
55
|
+
message?: string;
|
|
56
|
+
/**
|
|
57
|
+
* Number of hits that the search query matched.
|
|
58
|
+
*/
|
|
59
|
+
nbHits: number;
|
|
60
|
+
/**
|
|
61
|
+
* Number of pages available for the current query.
|
|
62
|
+
*/
|
|
63
|
+
nbPages: number;
|
|
64
|
+
/**
|
|
65
|
+
* The number of hits selected and sorted by the relevant sort algorithm.
|
|
66
|
+
*/
|
|
67
|
+
nbSortedHits?: number;
|
|
68
|
+
/**
|
|
69
|
+
* Specify the page to retrieve.
|
|
70
|
+
*/
|
|
71
|
+
page: number;
|
|
72
|
+
/**
|
|
73
|
+
* A url-encoded string of all search parameters.
|
|
74
|
+
*/
|
|
75
|
+
params: string;
|
|
76
|
+
/**
|
|
77
|
+
* The query string that will be searched, after normalization.
|
|
78
|
+
*/
|
|
79
|
+
parsedQuery?: string;
|
|
80
|
+
/**
|
|
81
|
+
* Time the server took to process the request, in milliseconds.
|
|
82
|
+
*/
|
|
83
|
+
processingTimeMS: number;
|
|
84
|
+
/**
|
|
85
|
+
* The text to search in the index.
|
|
86
|
+
*/
|
|
87
|
+
query: string;
|
|
88
|
+
/**
|
|
89
|
+
* A markup text indicating which parts of the original query have been removed in order to retrieve a non-empty result set.
|
|
90
|
+
*/
|
|
91
|
+
queryAfterRemoval?: string;
|
|
92
|
+
/**
|
|
93
|
+
* Actual host name of the server that processed the request.
|
|
94
|
+
*/
|
|
95
|
+
serverUsed?: string;
|
|
96
|
+
/**
|
|
97
|
+
* Lets you store custom data in your indices.
|
|
98
|
+
*/
|
|
99
|
+
userData?: Record<string, any>;
|
|
100
|
+
renderingContent?: RenderingContent;
|
|
101
|
+
};
|
|
102
102
|
//# sourceMappingURL=baseSearchResponse.d.ts.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Assign userID parameters.
|
|
3
|
-
*/
|
|
4
|
-
export type BatchAssignUserIdsParams = {
|
|
5
|
-
/**
|
|
6
|
-
* Name of the cluster.
|
|
7
|
-
*/
|
|
8
|
-
cluster: string;
|
|
9
|
-
/**
|
|
10
|
-
* UserIDs to assign. Note you cannot move users with this method.
|
|
11
|
-
*/
|
|
12
|
-
users: string[];
|
|
13
|
-
};
|
|
1
|
+
/**
|
|
2
|
+
* Assign userID parameters.
|
|
3
|
+
*/
|
|
4
|
+
export type BatchAssignUserIdsParams = {
|
|
5
|
+
/**
|
|
6
|
+
* Name of the cluster.
|
|
7
|
+
*/
|
|
8
|
+
cluster: string;
|
|
9
|
+
/**
|
|
10
|
+
* UserIDs to assign. Note you cannot move users with this method.
|
|
11
|
+
*/
|
|
12
|
+
users: string[];
|
|
13
|
+
};
|
|
14
14
|
//# sourceMappingURL=batchAssignUserIdsParams.d.ts.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import type { BatchDictionaryEntriesRequest } from './batchDictionaryEntriesRequest';
|
|
2
|
-
/**
|
|
3
|
-
* The `batchDictionaryEntries` parameters.
|
|
4
|
-
*/
|
|
5
|
-
export type BatchDictionaryEntriesParams = {
|
|
6
|
-
/**
|
|
7
|
-
* When `true`, start the batch by removing all the custom entries from the dictionary.
|
|
8
|
-
*/
|
|
9
|
-
clearExistingDictionaryEntries?: boolean;
|
|
10
|
-
/**
|
|
11
|
-
* List of operations to batch. Each operation is described by an `action` and a `body`.
|
|
12
|
-
*/
|
|
13
|
-
requests: BatchDictionaryEntriesRequest[];
|
|
14
|
-
};
|
|
1
|
+
import type { BatchDictionaryEntriesRequest } from './batchDictionaryEntriesRequest';
|
|
2
|
+
/**
|
|
3
|
+
* The `batchDictionaryEntries` parameters.
|
|
4
|
+
*/
|
|
5
|
+
export type BatchDictionaryEntriesParams = {
|
|
6
|
+
/**
|
|
7
|
+
* When `true`, start the batch by removing all the custom entries from the dictionary.
|
|
8
|
+
*/
|
|
9
|
+
clearExistingDictionaryEntries?: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* List of operations to batch. Each operation is described by an `action` and a `body`.
|
|
12
|
+
*/
|
|
13
|
+
requests: BatchDictionaryEntriesRequest[];
|
|
14
|
+
};
|
|
15
15
|
//# sourceMappingURL=batchDictionaryEntriesParams.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { DictionaryAction } from './dictionaryAction';
|
|
2
|
-
import type { DictionaryEntry } from './dictionaryEntry';
|
|
3
|
-
export type BatchDictionaryEntriesRequest = {
|
|
4
|
-
action: DictionaryAction;
|
|
5
|
-
body: DictionaryEntry;
|
|
6
|
-
};
|
|
1
|
+
import type { DictionaryAction } from './dictionaryAction';
|
|
2
|
+
import type { DictionaryEntry } from './dictionaryEntry';
|
|
3
|
+
export type BatchDictionaryEntriesRequest = {
|
|
4
|
+
action: DictionaryAction;
|
|
5
|
+
body: DictionaryEntry;
|
|
6
|
+
};
|
|
7
7
|
//# sourceMappingURL=batchDictionaryEntriesRequest.d.ts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { MultipleBatchRequest } from './multipleBatchRequest';
|
|
2
|
-
/**
|
|
3
|
-
* The `multipleBatch` parameters.
|
|
4
|
-
*/
|
|
5
|
-
export type BatchParams = {
|
|
6
|
-
requests: MultipleBatchRequest[];
|
|
7
|
-
};
|
|
1
|
+
import type { MultipleBatchRequest } from './multipleBatchRequest';
|
|
2
|
+
/**
|
|
3
|
+
* The `multipleBatch` parameters.
|
|
4
|
+
*/
|
|
5
|
+
export type BatchParams = {
|
|
6
|
+
requests: MultipleBatchRequest[];
|
|
7
|
+
};
|
|
8
8
|
//# sourceMappingURL=batchParams.d.ts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type { Action } from './action';
|
|
2
|
-
export type BatchRequest = {
|
|
3
|
-
action: Action;
|
|
4
|
-
/**
|
|
5
|
-
* Arguments to the operation (depends on the type of the operation).
|
|
6
|
-
*/
|
|
7
|
-
body: Record<string, any>;
|
|
8
|
-
};
|
|
1
|
+
import type { Action } from './action';
|
|
2
|
+
export type BatchRequest = {
|
|
3
|
+
action: Action;
|
|
4
|
+
/**
|
|
5
|
+
* Arguments to the operation (depends on the type of the operation).
|
|
6
|
+
*/
|
|
7
|
+
body: Record<string, any>;
|
|
8
|
+
};
|
|
9
9
|
//# sourceMappingURL=batchRequest.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export type BatchResponse = {
|
|
2
|
-
/**
|
|
3
|
-
* TaskID of the task to wait for.
|
|
4
|
-
*/
|
|
5
|
-
taskID: number;
|
|
6
|
-
/**
|
|
7
|
-
* List of objectID.
|
|
8
|
-
*/
|
|
9
|
-
objectIDs: string[];
|
|
10
|
-
};
|
|
1
|
+
export type BatchResponse = {
|
|
2
|
+
/**
|
|
3
|
+
* TaskID of the task to wait for.
|
|
4
|
+
*/
|
|
5
|
+
taskID: number;
|
|
6
|
+
/**
|
|
7
|
+
* List of objectID.
|
|
8
|
+
*/
|
|
9
|
+
objectIDs: string[];
|
|
10
|
+
};
|
|
11
11
|
//# sourceMappingURL=batchResponse.d.ts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { BatchRequest } from './batchRequest';
|
|
2
|
-
/**
|
|
3
|
-
* The `batch` parameters.
|
|
4
|
-
*/
|
|
5
|
-
export type BatchWriteParams = {
|
|
6
|
-
requests: BatchRequest[];
|
|
7
|
-
};
|
|
1
|
+
import type { BatchRequest } from './batchRequest';
|
|
2
|
+
/**
|
|
3
|
+
* The `batch` parameters.
|
|
4
|
+
*/
|
|
5
|
+
export type BatchWriteParams = {
|
|
6
|
+
requests: BatchRequest[];
|
|
7
|
+
};
|
|
8
8
|
//# sourceMappingURL=batchWriteParams.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BrowseParamsObject } from './browseParamsObject';
|
|
2
|
-
import type { SearchParamsString } from './searchParamsString';
|
|
3
|
-
export type BrowseParams = BrowseParamsObject | SearchParamsString;
|
|
1
|
+
import type { BrowseParamsObject } from './browseParamsObject';
|
|
2
|
+
import type { SearchParamsString } from './searchParamsString';
|
|
3
|
+
export type BrowseParams = BrowseParamsObject | SearchParamsString;
|
|
4
4
|
//# sourceMappingURL=browseParams.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Cursor } from './cursor';
|
|
2
|
-
import type { SearchParamsObject } from './searchParamsObject';
|
|
3
|
-
export type BrowseParamsObject = Cursor & SearchParamsObject;
|
|
1
|
+
import type { Cursor } from './cursor';
|
|
2
|
+
import type { SearchParamsObject } from './searchParamsObject';
|
|
3
|
+
export type BrowseParamsObject = Cursor & SearchParamsObject;
|
|
4
4
|
//# sourceMappingURL=browseParamsObject.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { BaseSearchResponse } from './baseSearchResponse';
|
|
2
|
-
import type { Cursor } from './cursor';
|
|
3
|
-
import type { SearchHits } from './searchHits';
|
|
4
|
-
export type BrowseResponse<T = Record<string, any>> = BaseSearchResponse & Cursor & SearchHits<T>;
|
|
1
|
+
import type { BaseSearchResponse } from './baseSearchResponse';
|
|
2
|
+
import type { Cursor } from './cursor';
|
|
3
|
+
import type { SearchHits } from './searchHits';
|
|
4
|
+
export type BrowseResponse<T = Record<string, any>> = BaseSearchResponse & Cursor & SearchHits<T>;
|
|
5
5
|
//# sourceMappingURL=browseResponse.d.ts.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import type { BuiltInOperationType } from './builtInOperationType';
|
|
2
|
-
/**
|
|
3
|
-
* To update an attribute without pushing the entire record, you can use these built-in operations.
|
|
4
|
-
*/
|
|
5
|
-
export type BuiltInOperation = {
|
|
6
|
-
_operation: BuiltInOperationType;
|
|
7
|
-
/**
|
|
8
|
-
* The right-hand side argument to the operation, for example, increment or decrement step, value to add or remove.
|
|
9
|
-
*/
|
|
10
|
-
value: string;
|
|
11
|
-
};
|
|
1
|
+
import type { BuiltInOperationType } from './builtInOperationType';
|
|
2
|
+
/**
|
|
3
|
+
* To update an attribute without pushing the entire record, you can use these built-in operations.
|
|
4
|
+
*/
|
|
5
|
+
export type BuiltInOperation = {
|
|
6
|
+
_operation: BuiltInOperationType;
|
|
7
|
+
/**
|
|
8
|
+
* The right-hand side argument to the operation, for example, increment or decrement step, value to add or remove.
|
|
9
|
+
*/
|
|
10
|
+
value: string;
|
|
11
|
+
};
|
|
12
12
|
//# sourceMappingURL=builtInOperation.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The operation to apply on the attribute.
|
|
3
|
-
*/
|
|
4
|
-
export type BuiltInOperationType = 'Add' | 'AddUnique' | 'Decrement' | 'Increment' | 'IncrementFrom' | 'IncrementSet' | 'Remove';
|
|
1
|
+
/**
|
|
2
|
+
* The operation to apply on the attribute.
|
|
3
|
+
*/
|
|
4
|
+
export type BuiltInOperationType = 'Add' | 'AddUnique' | 'Decrement' | 'Increment' | 'IncrementFrom' | 'IncrementSet' | 'Remove';
|
|
5
5
|
//# sourceMappingURL=builtInOperationType.d.ts.map
|