algoliasearch 4.14.2 → 5.0.0-alpha.11
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/builds/browser.ts +172 -0
- package/builds/models.ts +44 -0
- package/builds/node.ts +165 -0
- package/dist/algoliasearch/jest.config.d.ts +4 -0
- package/dist/algoliasearch/jest.config.d.ts.map +1 -0
- package/dist/algoliasearch.cjs.js +3484 -142
- package/dist/algoliasearch.esm.browser.js +4149 -2104
- package/dist/algoliasearch.esm.node.js +3493 -0
- package/dist/algoliasearch.umd.js +2 -2
- package/dist/builds/browser.d.ts +88 -0
- package/dist/builds/browser.d.ts.map +1 -0
- package/dist/builds/models.d.ts +32 -0
- package/dist/builds/models.d.ts.map +1 -0
- package/dist/builds/node.d.ts +88 -0
- package/dist/builds/node.d.ts.map +1 -0
- package/dist/client-abtesting/model/aBTest.d.ts +40 -0
- package/dist/client-abtesting/model/aBTest.d.ts.map +1 -0
- package/dist/client-abtesting/model/aBTestResponse.d.ts +15 -0
- package/dist/client-abtesting/model/aBTestResponse.d.ts.map +1 -0
- package/dist/client-abtesting/model/abTestsVariant.d.ts +15 -0
- package/dist/client-abtesting/model/abTestsVariant.d.ts.map +1 -0
- package/dist/client-abtesting/model/abTestsVariantSearchParams.d.ts +4 -0
- package/dist/client-abtesting/model/abTestsVariantSearchParams.d.ts.map +1 -0
- package/dist/client-abtesting/model/addABTestsRequest.d.ts +16 -0
- package/dist/client-abtesting/model/addABTestsRequest.d.ts.map +1 -0
- package/dist/client-abtesting/model/addABTestsVariant.d.ts +4 -0
- package/dist/client-abtesting/model/addABTestsVariant.d.ts.map +1 -0
- package/dist/client-abtesting/model/clientMethodProps.d.ts +101 -0
- package/dist/client-abtesting/model/clientMethodProps.d.ts.map +1 -0
- package/dist/client-abtesting/model/customSearchParams.d.ts +4 -0
- package/dist/client-abtesting/model/customSearchParams.d.ts.map +1 -0
- package/dist/client-abtesting/model/errorBase.d.ts +7 -0
- package/dist/client-abtesting/model/errorBase.d.ts.map +1 -0
- package/dist/client-abtesting/model/index.d.ts +12 -0
- package/dist/client-abtesting/model/index.d.ts.map +1 -0
- package/dist/client-abtesting/model/listABTestsResponse.d.ts +16 -0
- package/dist/client-abtesting/model/listABTestsResponse.d.ts.map +1 -0
- package/dist/client-abtesting/model/variant.d.ts +51 -0
- package/dist/client-abtesting/model/variant.d.ts.map +1 -0
- package/dist/client-abtesting/src/abtestingClient.d.ts +125 -0
- package/dist/client-abtesting/src/abtestingClient.d.ts.map +1 -0
- package/dist/client-analytics/model/averageClickEvent.d.ts +15 -0
- package/dist/client-analytics/model/averageClickEvent.d.ts.map +1 -0
- package/dist/client-analytics/model/clickPosition.d.ts +11 -0
- package/dist/client-analytics/model/clickPosition.d.ts.map +1 -0
- package/dist/client-analytics/model/clickThroughRateEvent.d.ts +19 -0
- package/dist/client-analytics/model/clickThroughRateEvent.d.ts.map +1 -0
- package/dist/client-analytics/model/clientMethodProps.d.ts +508 -0
- package/dist/client-analytics/model/clientMethodProps.d.ts.map +1 -0
- package/dist/client-analytics/model/conversionRateEvent.d.ts +19 -0
- package/dist/client-analytics/model/conversionRateEvent.d.ts.map +1 -0
- package/dist/client-analytics/model/direction.d.ts +2 -0
- package/dist/client-analytics/model/direction.d.ts.map +1 -0
- package/dist/client-analytics/model/errorBase.d.ts +7 -0
- package/dist/client-analytics/model/errorBase.d.ts.map +1 -0
- package/dist/client-analytics/model/getAverageClickPositionResponse.d.ts +16 -0
- package/dist/client-analytics/model/getAverageClickPositionResponse.d.ts.map +1 -0
- package/dist/client-analytics/model/getClickPositionsResponse.d.ts +8 -0
- package/dist/client-analytics/model/getClickPositionsResponse.d.ts.map +1 -0
- package/dist/client-analytics/model/getClickThroughRateResponse.d.ts +20 -0
- package/dist/client-analytics/model/getClickThroughRateResponse.d.ts.map +1 -0
- package/dist/client-analytics/model/getConversationRateResponse.d.ts +20 -0
- package/dist/client-analytics/model/getConversationRateResponse.d.ts.map +1 -0
- package/dist/client-analytics/model/getNoClickRateResponse.d.ts +20 -0
- package/dist/client-analytics/model/getNoClickRateResponse.d.ts.map +1 -0
- package/dist/client-analytics/model/getNoResultsRateResponse.d.ts +20 -0
- package/dist/client-analytics/model/getNoResultsRateResponse.d.ts.map +1 -0
- package/dist/client-analytics/model/getSearchesCountResponse.d.ts +12 -0
- package/dist/client-analytics/model/getSearchesCountResponse.d.ts.map +1 -0
- package/dist/client-analytics/model/getSearchesNoClicksResponse.d.ts +8 -0
- package/dist/client-analytics/model/getSearchesNoClicksResponse.d.ts.map +1 -0
- package/dist/client-analytics/model/getSearchesNoResultsResponse.d.ts +8 -0
- package/dist/client-analytics/model/getSearchesNoResultsResponse.d.ts.map +1 -0
- package/dist/client-analytics/model/getStatusResponse.d.ts +7 -0
- package/dist/client-analytics/model/getStatusResponse.d.ts.map +1 -0
- package/dist/client-analytics/model/getTopCountriesResponse.d.ts +8 -0
- package/dist/client-analytics/model/getTopCountriesResponse.d.ts.map +1 -0
- package/dist/client-analytics/model/getTopFilterAttribute.d.ts +11 -0
- package/dist/client-analytics/model/getTopFilterAttribute.d.ts.map +1 -0
- package/dist/client-analytics/model/getTopFilterAttributesResponse.d.ts +8 -0
- package/dist/client-analytics/model/getTopFilterAttributesResponse.d.ts.map +1 -0
- package/dist/client-analytics/model/getTopFilterForAttribute.d.ts +19 -0
- package/dist/client-analytics/model/getTopFilterForAttribute.d.ts.map +1 -0
- package/dist/client-analytics/model/getTopFilterForAttributeResponse.d.ts +8 -0
- package/dist/client-analytics/model/getTopFilterForAttributeResponse.d.ts.map +1 -0
- package/dist/client-analytics/model/getTopFiltersNoResultsResponse.d.ts +8 -0
- package/dist/client-analytics/model/getTopFiltersNoResultsResponse.d.ts.map +1 -0
- package/dist/client-analytics/model/getTopFiltersNoResultsValue.d.ts +15 -0
- package/dist/client-analytics/model/getTopFiltersNoResultsValue.d.ts.map +1 -0
- package/dist/client-analytics/model/getTopFiltersNoResultsValues.d.ts +12 -0
- package/dist/client-analytics/model/getTopFiltersNoResultsValues.d.ts.map +1 -0
- package/dist/client-analytics/model/getTopHitsResponse.d.ts +4 -0
- package/dist/client-analytics/model/getTopHitsResponse.d.ts.map +1 -0
- package/dist/client-analytics/model/getTopSearchesResponse.d.ts +4 -0
- package/dist/client-analytics/model/getTopSearchesResponse.d.ts.map +1 -0
- package/dist/client-analytics/model/getUsersCountResponse.d.ts +12 -0
- package/dist/client-analytics/model/getUsersCountResponse.d.ts.map +1 -0
- package/dist/client-analytics/model/index.d.ts +45 -0
- package/dist/client-analytics/model/index.d.ts.map +1 -0
- package/dist/client-analytics/model/noClickRateEvent.d.ts +19 -0
- package/dist/client-analytics/model/noClickRateEvent.d.ts.map +1 -0
- package/dist/client-analytics/model/noResultsRateEvent.d.ts +19 -0
- package/dist/client-analytics/model/noResultsRateEvent.d.ts.map +1 -0
- package/dist/client-analytics/model/orderBy.d.ts +2 -0
- package/dist/client-analytics/model/orderBy.d.ts.map +1 -0
- package/dist/client-analytics/model/searchEvent.d.ts +11 -0
- package/dist/client-analytics/model/searchEvent.d.ts.map +1 -0
- package/dist/client-analytics/model/searchNoClickEvent.d.ts +15 -0
- package/dist/client-analytics/model/searchNoClickEvent.d.ts.map +1 -0
- package/dist/client-analytics/model/searchNoResultEvent.d.ts +15 -0
- package/dist/client-analytics/model/searchNoResultEvent.d.ts.map +1 -0
- package/dist/client-analytics/model/topCountry.d.ts +11 -0
- package/dist/client-analytics/model/topCountry.d.ts.map +1 -0
- package/dist/client-analytics/model/topHit.d.ts +11 -0
- package/dist/client-analytics/model/topHit.d.ts.map +1 -0
- package/dist/client-analytics/model/topHitWithAnalytics.d.ts +31 -0
- package/dist/client-analytics/model/topHitWithAnalytics.d.ts.map +1 -0
- package/dist/client-analytics/model/topHitsResponse.d.ts +8 -0
- package/dist/client-analytics/model/topHitsResponse.d.ts.map +1 -0
- package/dist/client-analytics/model/topHitsResponseWithAnalytics.d.ts +8 -0
- package/dist/client-analytics/model/topHitsResponseWithAnalytics.d.ts.map +1 -0
- package/dist/client-analytics/model/topSearch.d.ts +15 -0
- package/dist/client-analytics/model/topSearch.d.ts.map +1 -0
- package/dist/client-analytics/model/topSearchWithAnalytics.d.ts +39 -0
- package/dist/client-analytics/model/topSearchWithAnalytics.d.ts.map +1 -0
- package/dist/client-analytics/model/topSearchesResponse.d.ts +8 -0
- package/dist/client-analytics/model/topSearchesResponse.d.ts.map +1 -0
- package/dist/client-analytics/model/topSearchesResponseWithAnalytics.d.ts +8 -0
- package/dist/client-analytics/model/topSearchesResponseWithAnalytics.d.ts.map +1 -0
- package/dist/client-analytics/model/userWithDate.d.ts +11 -0
- package/dist/client-analytics/model/userWithDate.d.ts.map +1 -0
- package/dist/client-analytics/src/analyticsClient.d.ts +319 -0
- package/dist/client-analytics/src/analyticsClient.d.ts.map +1 -0
- package/dist/client-personalization/model/clientMethodProps.d.ts +79 -0
- package/dist/client-personalization/model/clientMethodProps.d.ts.map +1 -0
- package/dist/client-personalization/model/deleteUserProfileResponse.d.ts +11 -0
- package/dist/client-personalization/model/deleteUserProfileResponse.d.ts.map +1 -0
- package/dist/client-personalization/model/errorBase.d.ts +7 -0
- package/dist/client-personalization/model/errorBase.d.ts.map +1 -0
- package/dist/client-personalization/model/eventScoring.d.ts +15 -0
- package/dist/client-personalization/model/eventScoring.d.ts.map +1 -0
- package/dist/client-personalization/model/facetScoring.d.ts +11 -0
- package/dist/client-personalization/model/facetScoring.d.ts.map +1 -0
- package/dist/client-personalization/model/getUserTokenResponse.d.ts +15 -0
- package/dist/client-personalization/model/getUserTokenResponse.d.ts.map +1 -0
- package/dist/client-personalization/model/index.d.ts +9 -0
- package/dist/client-personalization/model/index.d.ts.map +1 -0
- package/dist/client-personalization/model/personalizationStrategyParams.d.ts +17 -0
- package/dist/client-personalization/model/personalizationStrategyParams.d.ts.map +1 -0
- package/dist/client-personalization/model/setPersonalizationStrategyResponse.d.ts +7 -0
- package/dist/client-personalization/model/setPersonalizationStrategyResponse.d.ts.map +1 -0
- package/dist/client-personalization/src/personalizationClient.d.ts +113 -0
- package/dist/client-personalization/src/personalizationClient.d.ts.map +1 -0
- package/dist/client-search/model/acl.d.ts +5 -0
- package/dist/client-search/model/acl.d.ts.map +1 -0
- package/dist/client-search/model/action.d.ts +5 -0
- package/dist/client-search/model/action.d.ts.map +1 -0
- package/dist/client-search/model/addApiKeyResponse.d.ts +11 -0
- package/dist/client-search/model/addApiKeyResponse.d.ts.map +1 -0
- package/dist/client-search/model/advancedSyntaxFeatures.d.ts +2 -0
- package/dist/client-search/model/advancedSyntaxFeatures.d.ts.map +1 -0
- package/dist/client-search/model/alternativesAsExact.d.ts +2 -0
- package/dist/client-search/model/alternativesAsExact.d.ts.map +1 -0
- package/dist/client-search/model/anchoring.d.ts +5 -0
- package/dist/client-search/model/anchoring.d.ts.map +1 -0
- package/dist/client-search/model/apiKey.d.ts +39 -0
- package/dist/client-search/model/apiKey.d.ts.map +1 -0
- package/dist/client-search/model/aroundRadius.d.ts +6 -0
- package/dist/client-search/model/aroundRadius.d.ts.map +1 -0
- package/dist/client-search/model/aroundRadiusAll.d.ts +2 -0
- package/dist/client-search/model/aroundRadiusAll.d.ts.map +1 -0
- package/dist/client-search/model/assignUserIdParams.d.ts +10 -0
- package/dist/client-search/model/assignUserIdParams.d.ts.map +1 -0
- package/dist/client-search/model/attributeToUpdate.d.ts +3 -0
- package/dist/client-search/model/attributeToUpdate.d.ts.map +1 -0
- package/dist/client-search/model/automaticFacetFilter.d.ts +18 -0
- package/dist/client-search/model/automaticFacetFilter.d.ts.map +1 -0
- package/dist/client-search/model/automaticFacetFilters.d.ts +6 -0
- package/dist/client-search/model/automaticFacetFilters.d.ts.map +1 -0
- package/dist/client-search/model/baseGetApiKeyResponse.d.ts +11 -0
- package/dist/client-search/model/baseGetApiKeyResponse.d.ts.map +1 -0
- package/dist/client-search/model/baseIndexSettings.d.ts +59 -0
- package/dist/client-search/model/baseIndexSettings.d.ts.map +1 -0
- package/dist/client-search/model/baseSearchParams.d.ts +4 -0
- package/dist/client-search/model/baseSearchParams.d.ts.map +1 -0
- package/dist/client-search/model/baseSearchParamsWithoutQuery.d.ts +123 -0
- package/dist/client-search/model/baseSearchParamsWithoutQuery.d.ts.map +1 -0
- package/dist/client-search/model/baseSearchResponse.d.ts +102 -0
- package/dist/client-search/model/baseSearchResponse.d.ts.map +1 -0
- package/dist/client-search/model/batchAssignUserIdsParams.d.ts +14 -0
- package/dist/client-search/model/batchAssignUserIdsParams.d.ts.map +1 -0
- package/dist/client-search/model/batchDictionaryEntriesParams.d.ts +15 -0
- package/dist/client-search/model/batchDictionaryEntriesParams.d.ts.map +1 -0
- package/dist/client-search/model/batchDictionaryEntriesRequest.d.ts +7 -0
- package/dist/client-search/model/batchDictionaryEntriesRequest.d.ts.map +1 -0
- package/dist/client-search/model/batchParams.d.ts +8 -0
- package/dist/client-search/model/batchParams.d.ts.map +1 -0
- package/dist/client-search/model/batchRequest.d.ts +9 -0
- package/dist/client-search/model/batchRequest.d.ts.map +1 -0
- package/dist/client-search/model/batchResponse.d.ts +11 -0
- package/dist/client-search/model/batchResponse.d.ts.map +1 -0
- package/dist/client-search/model/batchWriteParams.d.ts +8 -0
- package/dist/client-search/model/batchWriteParams.d.ts.map +1 -0
- package/dist/client-search/model/browseParams.d.ts +4 -0
- package/dist/client-search/model/browseParams.d.ts.map +1 -0
- package/dist/client-search/model/browseParamsObject.d.ts +4 -0
- package/dist/client-search/model/browseParamsObject.d.ts.map +1 -0
- package/dist/client-search/model/browseResponse.d.ts +5 -0
- package/dist/client-search/model/browseResponse.d.ts.map +1 -0
- package/dist/client-search/model/builtInOperation.d.ts +12 -0
- package/dist/client-search/model/builtInOperation.d.ts.map +1 -0
- package/dist/client-search/model/builtInOperationType.d.ts +5 -0
- package/dist/client-search/model/builtInOperationType.d.ts.map +1 -0
- package/dist/client-search/model/clientMethodProps.d.ts +715 -0
- package/dist/client-search/model/clientMethodProps.d.ts.map +1 -0
- package/dist/client-search/model/condition.d.ts +17 -0
- package/dist/client-search/model/condition.d.ts.map +1 -0
- package/dist/client-search/model/consequence.d.ts +26 -0
- package/dist/client-search/model/consequence.d.ts.map +1 -0
- package/dist/client-search/model/consequenceHide.d.ts +10 -0
- package/dist/client-search/model/consequenceHide.d.ts.map +1 -0
- package/dist/client-search/model/consequenceParams.d.ts +5 -0
- package/dist/client-search/model/consequenceParams.d.ts.map +1 -0
- package/dist/client-search/model/consequenceQuery.d.ts +6 -0
- package/dist/client-search/model/consequenceQuery.d.ts.map +1 -0
- package/dist/client-search/model/consequenceQueryObject.d.ts +12 -0
- package/dist/client-search/model/consequenceQueryObject.d.ts.map +1 -0
- package/dist/client-search/model/createdAtResponse.d.ts +10 -0
- package/dist/client-search/model/createdAtResponse.d.ts.map +1 -0
- package/dist/client-search/model/cursor.d.ts +7 -0
- package/dist/client-search/model/cursor.d.ts.map +1 -0
- package/dist/client-search/model/deleteApiKeyResponse.d.ts +7 -0
- package/dist/client-search/model/deleteApiKeyResponse.d.ts.map +1 -0
- package/dist/client-search/model/deleteSourceResponse.d.ts +7 -0
- package/dist/client-search/model/deleteSourceResponse.d.ts.map +1 -0
- package/dist/client-search/model/deletedAtResponse.d.ts +14 -0
- package/dist/client-search/model/deletedAtResponse.d.ts.map +1 -0
- package/dist/client-search/model/dictionaryAction.d.ts +5 -0
- package/dist/client-search/model/dictionaryAction.d.ts.map +1 -0
- package/dist/client-search/model/dictionaryEntry.d.ts +28 -0
- package/dist/client-search/model/dictionaryEntry.d.ts.map +1 -0
- package/dist/client-search/model/dictionaryEntryState.d.ts +5 -0
- package/dist/client-search/model/dictionaryEntryState.d.ts.map +1 -0
- package/dist/client-search/model/dictionaryLanguage.d.ts +10 -0
- package/dist/client-search/model/dictionaryLanguage.d.ts.map +1 -0
- package/dist/client-search/model/dictionarySettingsParams.d.ts +8 -0
- package/dist/client-search/model/dictionarySettingsParams.d.ts.map +1 -0
- package/dist/client-search/model/dictionaryType.d.ts +2 -0
- package/dist/client-search/model/dictionaryType.d.ts.map +1 -0
- package/dist/client-search/model/distinct.d.ts +5 -0
- package/dist/client-search/model/distinct.d.ts.map +1 -0
- package/dist/client-search/model/edit.d.ts +13 -0
- package/dist/client-search/model/edit.d.ts.map +1 -0
- package/dist/client-search/model/editType.d.ts +5 -0
- package/dist/client-search/model/editType.d.ts.map +1 -0
- package/dist/client-search/model/errorBase.d.ts +7 -0
- package/dist/client-search/model/errorBase.d.ts.map +1 -0
- package/dist/client-search/model/exactOnSingleWordQuery.d.ts +5 -0
- package/dist/client-search/model/exactOnSingleWordQuery.d.ts.map +1 -0
- package/dist/client-search/model/facetFilters.d.ts +6 -0
- package/dist/client-search/model/facetFilters.d.ts.map +1 -0
- package/dist/client-search/model/facetHits.d.ts +15 -0
- package/dist/client-search/model/facetHits.d.ts.map +1 -0
- package/dist/client-search/model/facetOrdering.d.ts +13 -0
- package/dist/client-search/model/facetOrdering.d.ts.map +1 -0
- package/dist/client-search/model/facets.d.ts +10 -0
- package/dist/client-search/model/facets.d.ts.map +1 -0
- package/dist/client-search/model/facetsStats.d.ts +19 -0
- package/dist/client-search/model/facetsStats.d.ts.map +1 -0
- package/dist/client-search/model/fetchedIndex.d.ts +47 -0
- package/dist/client-search/model/fetchedIndex.d.ts.map +1 -0
- package/dist/client-search/model/getApiKeyResponse.d.ts +4 -0
- package/dist/client-search/model/getApiKeyResponse.d.ts.map +1 -0
- package/dist/client-search/model/getDictionarySettingsResponse.d.ts +5 -0
- package/dist/client-search/model/getDictionarySettingsResponse.d.ts.map +1 -0
- package/dist/client-search/model/getLogsResponse.d.ts +5 -0
- package/dist/client-search/model/getLogsResponse.d.ts.map +1 -0
- package/dist/client-search/model/getObjectsParams.d.ts +8 -0
- package/dist/client-search/model/getObjectsParams.d.ts.map +1 -0
- package/dist/client-search/model/getObjectsRequest.d.ts +18 -0
- package/dist/client-search/model/getObjectsRequest.d.ts.map +1 -0
- package/dist/client-search/model/getObjectsResponse.d.ts +7 -0
- package/dist/client-search/model/getObjectsResponse.d.ts.map +1 -0
- package/dist/client-search/model/getTaskResponse.d.ts +5 -0
- package/dist/client-search/model/getTaskResponse.d.ts.map +1 -0
- package/dist/client-search/model/getTopUserIdsResponse.d.ts +11 -0
- package/dist/client-search/model/getTopUserIdsResponse.d.ts.map +1 -0
- package/dist/client-search/model/hasPendingMappingsResponse.d.ts +11 -0
- package/dist/client-search/model/hasPendingMappingsResponse.d.ts.map +1 -0
- package/dist/client-search/model/highlightResult.d.ts +3 -0
- package/dist/client-search/model/highlightResult.d.ts.map +1 -0
- package/dist/client-search/model/highlightResultOption.d.ts +20 -0
- package/dist/client-search/model/highlightResultOption.d.ts.map +1 -0
- package/dist/client-search/model/hit.d.ts +23 -0
- package/dist/client-search/model/hit.d.ts.map +1 -0
- package/dist/client-search/model/ignorePlurals.d.ts +5 -0
- package/dist/client-search/model/ignorePlurals.d.ts.map +1 -0
- package/dist/client-search/model/index.d.ts +155 -0
- package/dist/client-search/model/index.d.ts.map +1 -0
- package/dist/client-search/model/indexSettings.d.ts +7 -0
- package/dist/client-search/model/indexSettings.d.ts.map +1 -0
- package/dist/client-search/model/indexSettingsAsSearchParams.d.ts +161 -0
- package/dist/client-search/model/indexSettingsAsSearchParams.d.ts.map +1 -0
- package/dist/client-search/model/languages.d.ts +10 -0
- package/dist/client-search/model/languages.d.ts.map +1 -0
- package/dist/client-search/model/listApiKeysResponse.d.ts +8 -0
- package/dist/client-search/model/listApiKeysResponse.d.ts.map +1 -0
- package/dist/client-search/model/listClustersResponse.d.ts +10 -0
- package/dist/client-search/model/listClustersResponse.d.ts.map +1 -0
- package/dist/client-search/model/listIndicesResponse.d.ts +12 -0
- package/dist/client-search/model/listIndicesResponse.d.ts.map +1 -0
- package/dist/client-search/model/listUserIdsResponse.d.ts +11 -0
- package/dist/client-search/model/listUserIdsResponse.d.ts.map +1 -0
- package/dist/client-search/model/log.d.ts +64 -0
- package/dist/client-search/model/log.d.ts.map +1 -0
- package/dist/client-search/model/logQuery.d.ts +15 -0
- package/dist/client-search/model/logQuery.d.ts.map +1 -0
- package/dist/client-search/model/logType.d.ts +2 -0
- package/dist/client-search/model/logType.d.ts.map +1 -0
- package/dist/client-search/model/matchLevel.d.ts +5 -0
- package/dist/client-search/model/matchLevel.d.ts.map +1 -0
- package/dist/client-search/model/matchedGeoLocation.d.ts +15 -0
- package/dist/client-search/model/matchedGeoLocation.d.ts.map +1 -0
- package/dist/client-search/model/mixedSearchFilters.d.ts +2 -0
- package/dist/client-search/model/mixedSearchFilters.d.ts.map +1 -0
- package/dist/client-search/model/multipleBatchRequest.d.ts +13 -0
- package/dist/client-search/model/multipleBatchRequest.d.ts.map +1 -0
- package/dist/client-search/model/multipleBatchResponse.d.ts +11 -0
- package/dist/client-search/model/multipleBatchResponse.d.ts.map +1 -0
- package/dist/client-search/model/numericFilters.d.ts +6 -0
- package/dist/client-search/model/numericFilters.d.ts.map +1 -0
- package/dist/client-search/model/operationIndexParams.d.ts +14 -0
- package/dist/client-search/model/operationIndexParams.d.ts.map +1 -0
- package/dist/client-search/model/operationType.d.ts +5 -0
- package/dist/client-search/model/operationType.d.ts.map +1 -0
- package/dist/client-search/model/optionalFilters.d.ts +6 -0
- package/dist/client-search/model/optionalFilters.d.ts.map +1 -0
- package/dist/client-search/model/params.d.ts +13 -0
- package/dist/client-search/model/params.d.ts.map +1 -0
- package/dist/client-search/model/personalization.d.ts +15 -0
- package/dist/client-search/model/personalization.d.ts.map +1 -0
- package/dist/client-search/model/promote.d.ts +4 -0
- package/dist/client-search/model/promote.d.ts.map +1 -0
- package/dist/client-search/model/promoteObjectID.d.ts +14 -0
- package/dist/client-search/model/promoteObjectID.d.ts.map +1 -0
- package/dist/client-search/model/promoteObjectIDs.d.ts +14 -0
- package/dist/client-search/model/promoteObjectIDs.d.ts.map +1 -0
- package/dist/client-search/model/queryType.d.ts +5 -0
- package/dist/client-search/model/queryType.d.ts.map +1 -0
- package/dist/client-search/model/rankingInfo.d.ts +51 -0
- package/dist/client-search/model/rankingInfo.d.ts.map +1 -0
- package/dist/client-search/model/reRankingApplyFilter.d.ts +6 -0
- package/dist/client-search/model/reRankingApplyFilter.d.ts.map +1 -0
- package/dist/client-search/model/removeStopWords.d.ts +5 -0
- package/dist/client-search/model/removeStopWords.d.ts.map +1 -0
- package/dist/client-search/model/removeUserIdResponse.d.ts +7 -0
- package/dist/client-search/model/removeUserIdResponse.d.ts.map +1 -0
- package/dist/client-search/model/removeWordsIfNoResults.d.ts +5 -0
- package/dist/client-search/model/removeWordsIfNoResults.d.ts.map +1 -0
- package/dist/client-search/model/renderingContent.d.ts +8 -0
- package/dist/client-search/model/renderingContent.d.ts.map +1 -0
- package/dist/client-search/model/replaceSourceResponse.d.ts +7 -0
- package/dist/client-search/model/replaceSourceResponse.d.ts.map +1 -0
- package/dist/client-search/model/rule.d.ts +30 -0
- package/dist/client-search/model/rule.d.ts.map +1 -0
- package/dist/client-search/model/saveObjectResponse.d.ts +12 -0
- package/dist/client-search/model/saveObjectResponse.d.ts.map +1 -0
- package/dist/client-search/model/saveSynonymResponse.d.ts +15 -0
- package/dist/client-search/model/saveSynonymResponse.d.ts.map +1 -0
- package/dist/client-search/model/scopeType.d.ts +2 -0
- package/dist/client-search/model/scopeType.d.ts.map +1 -0
- package/dist/client-search/model/searchDictionaryEntriesParams.d.ts +22 -0
- package/dist/client-search/model/searchDictionaryEntriesParams.d.ts.map +1 -0
- package/dist/client-search/model/searchForFacetValuesRequest.d.ts +15 -0
- package/dist/client-search/model/searchForFacetValuesRequest.d.ts.map +1 -0
- package/dist/client-search/model/searchForFacetValuesResponse.d.ts +5 -0
- package/dist/client-search/model/searchForFacetValuesResponse.d.ts.map +1 -0
- package/dist/client-search/model/searchForFacets.d.ts +4 -0
- package/dist/client-search/model/searchForFacets.d.ts.map +1 -0
- package/dist/client-search/model/searchForFacetsOptions.d.ts +21 -0
- package/dist/client-search/model/searchForFacetsOptions.d.ts.map +1 -0
- package/dist/client-search/model/searchForHits.d.ts +4 -0
- package/dist/client-search/model/searchForHits.d.ts.map +1 -0
- package/dist/client-search/model/searchForHitsOptions.d.ts +13 -0
- package/dist/client-search/model/searchForHitsOptions.d.ts.map +1 -0
- package/dist/client-search/model/searchHits.d.ts +5 -0
- package/dist/client-search/model/searchHits.d.ts.map +1 -0
- package/dist/client-search/model/searchMethodParams.d.ts +7 -0
- package/dist/client-search/model/searchMethodParams.d.ts.map +1 -0
- package/dist/client-search/model/searchParams.d.ts +4 -0
- package/dist/client-search/model/searchParams.d.ts.map +1 -0
- package/dist/client-search/model/searchParamsObject.d.ts +4 -0
- package/dist/client-search/model/searchParamsObject.d.ts.map +1 -0
- package/dist/client-search/model/searchParamsQuery.d.ts +7 -0
- package/dist/client-search/model/searchParamsQuery.d.ts.map +1 -0
- package/dist/client-search/model/searchParamsString.d.ts +7 -0
- package/dist/client-search/model/searchParamsString.d.ts.map +1 -0
- package/dist/client-search/model/searchQuery.d.ts +4 -0
- package/dist/client-search/model/searchQuery.d.ts.map +1 -0
- package/dist/client-search/model/searchResponse.d.ts +4 -0
- package/dist/client-search/model/searchResponse.d.ts.map +1 -0
- package/dist/client-search/model/searchResponses.d.ts +5 -0
- package/dist/client-search/model/searchResponses.d.ts.map +1 -0
- package/dist/client-search/model/searchRulesParams.d.ts +32 -0
- package/dist/client-search/model/searchRulesParams.d.ts.map +1 -0
- package/dist/client-search/model/searchRulesResponse.d.ts +20 -0
- package/dist/client-search/model/searchRulesResponse.d.ts.map +1 -0
- package/dist/client-search/model/searchStrategy.d.ts +2 -0
- package/dist/client-search/model/searchStrategy.d.ts.map +1 -0
- package/dist/client-search/model/searchSynonymsParams.d.ts +7 -0
- package/dist/client-search/model/searchSynonymsParams.d.ts.map +1 -0
- package/dist/client-search/model/searchSynonymsResponse.d.ts +12 -0
- package/dist/client-search/model/searchSynonymsResponse.d.ts.map +1 -0
- package/dist/client-search/model/searchTypeDefault.d.ts +5 -0
- package/dist/client-search/model/searchTypeDefault.d.ts.map +1 -0
- package/dist/client-search/model/searchTypeFacet.d.ts +5 -0
- package/dist/client-search/model/searchTypeFacet.d.ts.map +1 -0
- package/dist/client-search/model/searchUserIdsParams.d.ts +22 -0
- package/dist/client-search/model/searchUserIdsParams.d.ts.map +1 -0
- package/dist/client-search/model/searchUserIdsResponse.d.ts +27 -0
- package/dist/client-search/model/searchUserIdsResponse.d.ts.map +1 -0
- package/dist/client-search/model/snippetResult.d.ts +3 -0
- package/dist/client-search/model/snippetResult.d.ts.map +1 -0
- package/dist/client-search/model/snippetResultOption.d.ts +12 -0
- package/dist/client-search/model/snippetResultOption.d.ts.map +1 -0
- package/dist/client-search/model/sortRemainingBy.d.ts +5 -0
- package/dist/client-search/model/sortRemainingBy.d.ts.map +1 -0
- package/dist/client-search/model/source.d.ts +14 -0
- package/dist/client-search/model/source.d.ts.map +1 -0
- package/dist/client-search/model/standardEntries.d.ts +18 -0
- package/dist/client-search/model/standardEntries.d.ts.map +1 -0
- package/dist/client-search/model/synonymHit.d.ts +38 -0
- package/dist/client-search/model/synonymHit.d.ts.map +1 -0
- package/dist/client-search/model/synonymHitHighlightResult.d.ts +12 -0
- package/dist/client-search/model/synonymHitHighlightResult.d.ts.map +1 -0
- package/dist/client-search/model/synonymType.d.ts +5 -0
- package/dist/client-search/model/synonymType.d.ts.map +1 -0
- package/dist/client-search/model/tagFilters.d.ts +6 -0
- package/dist/client-search/model/tagFilters.d.ts.map +1 -0
- package/dist/client-search/model/taskStatus.d.ts +2 -0
- package/dist/client-search/model/taskStatus.d.ts.map +1 -0
- package/dist/client-search/model/timeRange.d.ts +11 -0
- package/dist/client-search/model/timeRange.d.ts.map +1 -0
- package/dist/client-search/model/typoTolerance.d.ts +6 -0
- package/dist/client-search/model/typoTolerance.d.ts.map +1 -0
- package/dist/client-search/model/typoToleranceEnum.d.ts +2 -0
- package/dist/client-search/model/typoToleranceEnum.d.ts.map +1 -0
- package/dist/client-search/model/updateApiKeyResponse.d.ts +11 -0
- package/dist/client-search/model/updateApiKeyResponse.d.ts.map +1 -0
- package/dist/client-search/model/updatedAtResponse.d.ts +14 -0
- package/dist/client-search/model/updatedAtResponse.d.ts.map +1 -0
- package/dist/client-search/model/updatedAtWithObjectIdResponse.d.ts +18 -0
- package/dist/client-search/model/updatedAtWithObjectIdResponse.d.ts.map +1 -0
- package/dist/client-search/model/updatedRuleResponse.d.ts +15 -0
- package/dist/client-search/model/updatedRuleResponse.d.ts.map +1 -0
- package/dist/client-search/model/userHighlightResult.d.ts +12 -0
- package/dist/client-search/model/userHighlightResult.d.ts.map +1 -0
- package/dist/client-search/model/userHit.d.ts +25 -0
- package/dist/client-search/model/userHit.d.ts.map +1 -0
- package/dist/client-search/model/userId.d.ts +22 -0
- package/dist/client-search/model/userId.d.ts.map +1 -0
- package/dist/client-search/model/value.d.ts +9 -0
- package/dist/client-search/model/value.d.ts.map +1 -0
- package/dist/client-search/src/searchClient.d.ts +724 -0
- package/dist/client-search/src/searchClient.d.ts.map +1 -0
- package/dist/lite/builds/browser.d.ts +6 -0
- package/dist/lite/builds/browser.d.ts.map +1 -0
- package/dist/lite/builds/node.d.ts +6 -0
- package/dist/lite/builds/node.d.ts.map +1 -0
- package/dist/lite/lite.cjs.js +196 -0
- package/dist/lite/lite.esm.browser.js +920 -0
- package/dist/lite/lite.esm.node.js +191 -0
- package/dist/lite/lite.umd.js +2 -0
- package/dist/lite/model/acl.d.ts +5 -0
- package/dist/lite/model/acl.d.ts.map +1 -0
- package/dist/lite/model/action.d.ts +5 -0
- package/dist/lite/model/action.d.ts.map +1 -0
- package/dist/lite/model/addApiKeyResponse.d.ts +11 -0
- package/dist/lite/model/addApiKeyResponse.d.ts.map +1 -0
- package/dist/lite/model/advancedSyntaxFeatures.d.ts +2 -0
- package/dist/lite/model/advancedSyntaxFeatures.d.ts.map +1 -0
- package/dist/lite/model/alternativesAsExact.d.ts +2 -0
- package/dist/lite/model/alternativesAsExact.d.ts.map +1 -0
- package/dist/lite/model/anchoring.d.ts +5 -0
- package/dist/lite/model/anchoring.d.ts.map +1 -0
- package/dist/lite/model/apiKey.d.ts +39 -0
- package/dist/lite/model/apiKey.d.ts.map +1 -0
- package/dist/lite/model/aroundRadius.d.ts +6 -0
- package/dist/lite/model/aroundRadius.d.ts.map +1 -0
- package/dist/lite/model/aroundRadiusAll.d.ts +2 -0
- package/dist/lite/model/aroundRadiusAll.d.ts.map +1 -0
- package/dist/lite/model/attributeToUpdate.d.ts +3 -0
- package/dist/lite/model/attributeToUpdate.d.ts.map +1 -0
- package/dist/lite/model/automaticFacetFilter.d.ts +18 -0
- package/dist/lite/model/automaticFacetFilter.d.ts.map +1 -0
- package/dist/lite/model/automaticFacetFilters.d.ts +6 -0
- package/dist/lite/model/automaticFacetFilters.d.ts.map +1 -0
- package/dist/lite/model/baseGetApiKeyResponse.d.ts +11 -0
- package/dist/lite/model/baseGetApiKeyResponse.d.ts.map +1 -0
- package/dist/lite/model/baseIndexSettings.d.ts +59 -0
- package/dist/lite/model/baseIndexSettings.d.ts.map +1 -0
- package/dist/lite/model/baseSearchParams.d.ts +4 -0
- package/dist/lite/model/baseSearchParams.d.ts.map +1 -0
- package/dist/lite/model/baseSearchParamsWithoutQuery.d.ts +123 -0
- package/dist/lite/model/baseSearchParamsWithoutQuery.d.ts.map +1 -0
- package/dist/lite/model/baseSearchResponse.d.ts +102 -0
- package/dist/lite/model/baseSearchResponse.d.ts.map +1 -0
- package/dist/lite/model/browseParams.d.ts +4 -0
- package/dist/lite/model/browseParams.d.ts.map +1 -0
- package/dist/lite/model/browseParamsObject.d.ts +4 -0
- package/dist/lite/model/browseParamsObject.d.ts.map +1 -0
- package/dist/lite/model/browseResponse.d.ts +5 -0
- package/dist/lite/model/browseResponse.d.ts.map +1 -0
- package/dist/lite/model/builtInOperation.d.ts +12 -0
- package/dist/lite/model/builtInOperation.d.ts.map +1 -0
- package/dist/lite/model/builtInOperationType.d.ts +5 -0
- package/dist/lite/model/builtInOperationType.d.ts.map +1 -0
- package/dist/lite/model/clientMethodProps.d.ts +49 -0
- package/dist/lite/model/clientMethodProps.d.ts.map +1 -0
- package/dist/lite/model/condition.d.ts +17 -0
- package/dist/lite/model/condition.d.ts.map +1 -0
- package/dist/lite/model/consequence.d.ts +26 -0
- package/dist/lite/model/consequence.d.ts.map +1 -0
- package/dist/lite/model/consequenceHide.d.ts +10 -0
- package/dist/lite/model/consequenceHide.d.ts.map +1 -0
- package/dist/lite/model/consequenceParams.d.ts +5 -0
- package/dist/lite/model/consequenceParams.d.ts.map +1 -0
- package/dist/lite/model/consequenceQuery.d.ts +6 -0
- package/dist/lite/model/consequenceQuery.d.ts.map +1 -0
- package/dist/lite/model/consequenceQueryObject.d.ts +12 -0
- package/dist/lite/model/consequenceQueryObject.d.ts.map +1 -0
- package/dist/lite/model/cursor.d.ts +7 -0
- package/dist/lite/model/cursor.d.ts.map +1 -0
- package/dist/lite/model/dictionaryAction.d.ts +5 -0
- package/dist/lite/model/dictionaryAction.d.ts.map +1 -0
- package/dist/lite/model/dictionaryEntry.d.ts +28 -0
- package/dist/lite/model/dictionaryEntry.d.ts.map +1 -0
- package/dist/lite/model/dictionaryEntryState.d.ts +5 -0
- package/dist/lite/model/dictionaryEntryState.d.ts.map +1 -0
- package/dist/lite/model/dictionaryLanguage.d.ts +10 -0
- package/dist/lite/model/dictionaryLanguage.d.ts.map +1 -0
- package/dist/lite/model/dictionaryType.d.ts +2 -0
- package/dist/lite/model/dictionaryType.d.ts.map +1 -0
- package/dist/lite/model/distinct.d.ts +5 -0
- package/dist/lite/model/distinct.d.ts.map +1 -0
- package/dist/lite/model/edit.d.ts +13 -0
- package/dist/lite/model/edit.d.ts.map +1 -0
- package/dist/lite/model/editType.d.ts +5 -0
- package/dist/lite/model/editType.d.ts.map +1 -0
- package/dist/lite/model/errorBase.d.ts +7 -0
- package/dist/lite/model/errorBase.d.ts.map +1 -0
- package/dist/lite/model/exactOnSingleWordQuery.d.ts +5 -0
- package/dist/lite/model/exactOnSingleWordQuery.d.ts.map +1 -0
- package/dist/lite/model/facetFilters.d.ts +6 -0
- package/dist/lite/model/facetFilters.d.ts.map +1 -0
- package/dist/lite/model/facetOrdering.d.ts +13 -0
- package/dist/lite/model/facetOrdering.d.ts.map +1 -0
- package/dist/lite/model/facets.d.ts +10 -0
- package/dist/lite/model/facets.d.ts.map +1 -0
- package/dist/lite/model/facetsStats.d.ts +19 -0
- package/dist/lite/model/facetsStats.d.ts.map +1 -0
- package/dist/lite/model/fetchedIndex.d.ts +47 -0
- package/dist/lite/model/fetchedIndex.d.ts.map +1 -0
- package/dist/lite/model/getApiKeyResponse.d.ts +4 -0
- package/dist/lite/model/getApiKeyResponse.d.ts.map +1 -0
- package/dist/lite/model/highlightResult.d.ts +3 -0
- package/dist/lite/model/highlightResult.d.ts.map +1 -0
- package/dist/lite/model/highlightResultOption.d.ts +20 -0
- package/dist/lite/model/highlightResultOption.d.ts.map +1 -0
- package/dist/lite/model/hit.d.ts +23 -0
- package/dist/lite/model/hit.d.ts.map +1 -0
- package/dist/lite/model/ignorePlurals.d.ts +5 -0
- package/dist/lite/model/ignorePlurals.d.ts.map +1 -0
- package/dist/lite/model/index.d.ts +108 -0
- package/dist/lite/model/index.d.ts.map +1 -0
- package/dist/lite/model/indexSettings.d.ts +7 -0
- package/dist/lite/model/indexSettings.d.ts.map +1 -0
- package/dist/lite/model/indexSettingsAsSearchParams.d.ts +161 -0
- package/dist/lite/model/indexSettingsAsSearchParams.d.ts.map +1 -0
- package/dist/lite/model/languages.d.ts +10 -0
- package/dist/lite/model/languages.d.ts.map +1 -0
- package/dist/lite/model/listIndicesResponse.d.ts +12 -0
- package/dist/lite/model/listIndicesResponse.d.ts.map +1 -0
- package/dist/lite/model/logType.d.ts +2 -0
- package/dist/lite/model/logType.d.ts.map +1 -0
- package/dist/lite/model/matchLevel.d.ts +5 -0
- package/dist/lite/model/matchLevel.d.ts.map +1 -0
- package/dist/lite/model/matchedGeoLocation.d.ts +15 -0
- package/dist/lite/model/matchedGeoLocation.d.ts.map +1 -0
- package/dist/lite/model/mixedSearchFilters.d.ts +2 -0
- package/dist/lite/model/mixedSearchFilters.d.ts.map +1 -0
- package/dist/lite/model/numericFilters.d.ts +6 -0
- package/dist/lite/model/numericFilters.d.ts.map +1 -0
- package/dist/lite/model/operationType.d.ts +5 -0
- package/dist/lite/model/operationType.d.ts.map +1 -0
- package/dist/lite/model/optionalFilters.d.ts +6 -0
- package/dist/lite/model/optionalFilters.d.ts.map +1 -0
- package/dist/lite/model/params.d.ts +13 -0
- package/dist/lite/model/params.d.ts.map +1 -0
- package/dist/lite/model/personalization.d.ts +15 -0
- package/dist/lite/model/personalization.d.ts.map +1 -0
- package/dist/lite/model/promote.d.ts +4 -0
- package/dist/lite/model/promote.d.ts.map +1 -0
- package/dist/lite/model/promoteObjectID.d.ts +14 -0
- package/dist/lite/model/promoteObjectID.d.ts.map +1 -0
- package/dist/lite/model/promoteObjectIDs.d.ts +14 -0
- package/dist/lite/model/promoteObjectIDs.d.ts.map +1 -0
- package/dist/lite/model/queryType.d.ts +5 -0
- package/dist/lite/model/queryType.d.ts.map +1 -0
- package/dist/lite/model/rankingInfo.d.ts +51 -0
- package/dist/lite/model/rankingInfo.d.ts.map +1 -0
- package/dist/lite/model/reRankingApplyFilter.d.ts +6 -0
- package/dist/lite/model/reRankingApplyFilter.d.ts.map +1 -0
- package/dist/lite/model/removeStopWords.d.ts +5 -0
- package/dist/lite/model/removeStopWords.d.ts.map +1 -0
- package/dist/lite/model/removeWordsIfNoResults.d.ts +5 -0
- package/dist/lite/model/removeWordsIfNoResults.d.ts.map +1 -0
- package/dist/lite/model/renderingContent.d.ts +8 -0
- package/dist/lite/model/renderingContent.d.ts.map +1 -0
- package/dist/lite/model/rule.d.ts +30 -0
- package/dist/lite/model/rule.d.ts.map +1 -0
- package/dist/lite/model/scopeType.d.ts +2 -0
- package/dist/lite/model/scopeType.d.ts.map +1 -0
- package/dist/lite/model/searchForFacets.d.ts +4 -0
- package/dist/lite/model/searchForFacets.d.ts.map +1 -0
- package/dist/lite/model/searchForFacetsOptions.d.ts +21 -0
- package/dist/lite/model/searchForFacetsOptions.d.ts.map +1 -0
- package/dist/lite/model/searchForHits.d.ts +4 -0
- package/dist/lite/model/searchForHits.d.ts.map +1 -0
- package/dist/lite/model/searchForHitsOptions.d.ts +13 -0
- package/dist/lite/model/searchForHitsOptions.d.ts.map +1 -0
- package/dist/lite/model/searchHits.d.ts +5 -0
- package/dist/lite/model/searchHits.d.ts.map +1 -0
- package/dist/lite/model/searchMethodParams.d.ts +7 -0
- package/dist/lite/model/searchMethodParams.d.ts.map +1 -0
- package/dist/lite/model/searchParams.d.ts +4 -0
- package/dist/lite/model/searchParams.d.ts.map +1 -0
- package/dist/lite/model/searchParamsObject.d.ts +4 -0
- package/dist/lite/model/searchParamsObject.d.ts.map +1 -0
- package/dist/lite/model/searchParamsQuery.d.ts +7 -0
- package/dist/lite/model/searchParamsQuery.d.ts.map +1 -0
- package/dist/lite/model/searchParamsString.d.ts +7 -0
- package/dist/lite/model/searchParamsString.d.ts.map +1 -0
- package/dist/lite/model/searchQuery.d.ts +4 -0
- package/dist/lite/model/searchQuery.d.ts.map +1 -0
- package/dist/lite/model/searchResponse.d.ts +4 -0
- package/dist/lite/model/searchResponse.d.ts.map +1 -0
- package/dist/lite/model/searchResponses.d.ts +5 -0
- package/dist/lite/model/searchResponses.d.ts.map +1 -0
- package/dist/lite/model/searchStrategy.d.ts +2 -0
- package/dist/lite/model/searchStrategy.d.ts.map +1 -0
- package/dist/lite/model/searchSynonymsResponse.d.ts +12 -0
- package/dist/lite/model/searchSynonymsResponse.d.ts.map +1 -0
- package/dist/lite/model/searchTypeDefault.d.ts +5 -0
- package/dist/lite/model/searchTypeDefault.d.ts.map +1 -0
- package/dist/lite/model/searchTypeFacet.d.ts +5 -0
- package/dist/lite/model/searchTypeFacet.d.ts.map +1 -0
- package/dist/lite/model/snippetResult.d.ts +3 -0
- package/dist/lite/model/snippetResult.d.ts.map +1 -0
- package/dist/lite/model/snippetResultOption.d.ts +12 -0
- package/dist/lite/model/snippetResultOption.d.ts.map +1 -0
- package/dist/lite/model/sortRemainingBy.d.ts +5 -0
- package/dist/lite/model/sortRemainingBy.d.ts.map +1 -0
- package/dist/lite/model/source.d.ts +14 -0
- package/dist/lite/model/source.d.ts.map +1 -0
- package/dist/lite/model/standardEntries.d.ts +18 -0
- package/dist/lite/model/standardEntries.d.ts.map +1 -0
- package/dist/lite/model/synonymHit.d.ts +38 -0
- package/dist/lite/model/synonymHit.d.ts.map +1 -0
- package/dist/lite/model/synonymHitHighlightResult.d.ts +12 -0
- package/dist/lite/model/synonymHitHighlightResult.d.ts.map +1 -0
- package/dist/lite/model/synonymType.d.ts +5 -0
- package/dist/lite/model/synonymType.d.ts.map +1 -0
- package/dist/lite/model/tagFilters.d.ts +6 -0
- package/dist/lite/model/tagFilters.d.ts.map +1 -0
- package/dist/lite/model/taskStatus.d.ts +2 -0
- package/dist/lite/model/taskStatus.d.ts.map +1 -0
- package/dist/lite/model/timeRange.d.ts +11 -0
- package/dist/lite/model/timeRange.d.ts.map +1 -0
- package/dist/lite/model/typoTolerance.d.ts +6 -0
- package/dist/lite/model/typoTolerance.d.ts.map +1 -0
- package/dist/lite/model/typoToleranceEnum.d.ts +2 -0
- package/dist/lite/model/typoToleranceEnum.d.ts.map +1 -0
- package/dist/lite/model/updatedRuleResponse.d.ts +15 -0
- package/dist/lite/model/updatedRuleResponse.d.ts.map +1 -0
- package/dist/lite/model/userId.d.ts +22 -0
- package/dist/lite/model/userId.d.ts.map +1 -0
- package/dist/lite/model/value.d.ts +9 -0
- package/dist/lite/model/value.d.ts.map +1 -0
- package/dist/lite/src/liteClient.d.ts +51 -0
- package/dist/lite/src/liteClient.d.ts.map +1 -0
- package/index.d.ts +2 -3
- package/index.js +2 -15
- package/lite/builds/browser.ts +54 -0
- package/lite/builds/node.ts +47 -0
- package/lite/model/acl.ts +20 -0
- package/lite/model/action.ts +13 -0
- package/lite/model/addApiKeyResponse.ts +13 -0
- package/lite/model/advancedSyntaxFeatures.ts +3 -0
- package/lite/model/alternativesAsExact.ts +6 -0
- package/lite/model/anchoring.ts +6 -0
- package/lite/model/apiKey.ts +48 -0
- package/lite/model/aroundRadius.ts +8 -0
- package/lite/model/aroundRadiusAll.ts +3 -0
- package/lite/model/attributeToUpdate.ts +5 -0
- package/lite/model/automaticFacetFilter.ts +21 -0
- package/lite/model/automaticFacetFilters.ts +8 -0
- package/lite/model/baseGetApiKeyResponse.ts +13 -0
- package/lite/model/baseIndexSettings.ts +73 -0
- package/lite/model/baseSearchParams.ts +6 -0
- package/lite/model/baseSearchParamsWithoutQuery.ts +157 -0
- package/lite/model/baseSearchResponse.ts +128 -0
- package/lite/model/browseParams.ts +6 -0
- package/lite/model/browseParamsObject.ts +6 -0
- package/lite/model/browseResponse.ts +9 -0
- package/lite/model/builtInOperation.ts +15 -0
- package/lite/model/builtInOperationType.ts +13 -0
- package/lite/model/clientMethodProps.ts +55 -0
- package/lite/model/condition.ts +22 -0
- package/lite/model/consequence.ts +32 -0
- package/lite/model/consequenceHide.ts +11 -0
- package/lite/model/consequenceParams.ts +9 -0
- package/lite/model/consequenceQuery.ts +8 -0
- package/lite/model/consequenceQueryObject.ts +15 -0
- package/lite/model/cursor.ts +8 -0
- package/lite/model/dictionaryAction.ts +6 -0
- package/lite/model/dictionaryEntry.ts +35 -0
- package/lite/model/dictionaryEntryState.ts +6 -0
- package/lite/model/dictionaryLanguage.ts +11 -0
- package/lite/model/dictionaryType.ts +3 -0
- package/lite/model/distinct.ts +6 -0
- package/lite/model/edit.ts +17 -0
- package/lite/model/editType.ts +6 -0
- package/lite/model/errorBase.ts +8 -0
- package/lite/model/exactOnSingleWordQuery.ts +6 -0
- package/lite/model/facetFilters.ts +8 -0
- package/lite/model/facetOrdering.ts +16 -0
- package/lite/model/facets.ts +11 -0
- package/lite/model/facetsStats.ts +23 -0
- package/lite/model/fetchedIndex.ts +58 -0
- package/lite/model/getApiKeyResponse.ts +6 -0
- package/lite/model/highlightResult.ts +5 -0
- package/lite/model/highlightResultOption.ts +25 -0
- package/lite/model/hit.ts +29 -0
- package/lite/model/ignorePlurals.ts +6 -0
- package/lite/model/index.ts +109 -0
- package/lite/model/indexSettings.ts +9 -0
- package/lite/model/indexSettingsAsSearchParams.ts +205 -0
- package/lite/model/languages.ts +14 -0
- package/lite/model/listIndicesResponse.ts +15 -0
- package/lite/model/logType.ts +3 -0
- package/lite/model/matchLevel.ts +6 -0
- package/lite/model/matchedGeoLocation.ts +18 -0
- package/lite/model/mixedSearchFilters.ts +3 -0
- package/lite/model/numericFilters.ts +8 -0
- package/lite/model/operationType.ts +6 -0
- package/lite/model/optionalFilters.ts +8 -0
- package/lite/model/params.ts +18 -0
- package/lite/model/personalization.ts +18 -0
- package/lite/model/promote.ts +6 -0
- package/lite/model/promoteObjectID.ts +16 -0
- package/lite/model/promoteObjectIDs.ts +16 -0
- package/lite/model/queryType.ts +6 -0
- package/lite/model/rankingInfo.ts +65 -0
- package/lite/model/reRankingApplyFilter.ts +8 -0
- package/lite/model/removeStopWords.ts +6 -0
- package/lite/model/removeWordsIfNoResults.ts +10 -0
- package/lite/model/renderingContent.ts +10 -0
- package/lite/model/rule.ts +37 -0
- package/lite/model/scopeType.ts +3 -0
- package/lite/model/searchForFacets.ts +6 -0
- package/lite/model/searchForFacetsOptions.ts +27 -0
- package/lite/model/searchForHits.ts +6 -0
- package/lite/model/searchForHitsOptions.ts +12 -0
- package/lite/model/searchHits.ts +7 -0
- package/lite/model/searchMethodParams.ts +10 -0
- package/lite/model/searchParams.ts +6 -0
- package/lite/model/searchParamsObject.ts +6 -0
- package/lite/model/searchParamsQuery.ts +8 -0
- package/lite/model/searchParamsString.ts +8 -0
- package/lite/model/searchQuery.ts +6 -0
- package/lite/model/searchResponse.ts +7 -0
- package/lite/model/searchResponses.ts +7 -0
- package/lite/model/searchStrategy.ts +3 -0
- package/lite/model/searchSynonymsResponse.ts +15 -0
- package/lite/model/searchTypeDefault.ts +6 -0
- package/lite/model/searchTypeFacet.ts +6 -0
- package/lite/model/snippetResult.ts +5 -0
- package/lite/model/snippetResultOption.ts +15 -0
- package/lite/model/sortRemainingBy.ts +6 -0
- package/lite/model/source.ts +16 -0
- package/lite/model/standardEntries.ts +21 -0
- package/lite/model/synonymHit.ts +48 -0
- package/lite/model/synonymHitHighlightResult.ts +15 -0
- package/lite/model/synonymType.ts +11 -0
- package/lite/model/tagFilters.ts +8 -0
- package/lite/model/taskStatus.ts +3 -0
- package/lite/model/timeRange.ts +13 -0
- package/lite/model/typoTolerance.ts +8 -0
- package/lite/model/typoToleranceEnum.ts +3 -0
- package/lite/model/updatedRuleResponse.ts +18 -0
- package/lite/model/userId.ts +26 -0
- package/lite/model/value.ts +12 -0
- package/lite/src/liteClient.ts +228 -0
- package/lite/tsconfig.json +9 -0
- package/lite.d.ts +2 -3
- package/lite.js +2 -2
- package/package.json +62 -24
- package/README.md +0 -82
- package/dist/algoliasearch-lite.d.ts +0 -49
- package/dist/algoliasearch-lite.esm.browser.js +0 -915
- package/dist/algoliasearch-lite.umd.js +0 -2
- package/dist/algoliasearch.d.ts +0 -247
|
@@ -0,0 +1,715 @@
|
|
|
1
|
+
import type { CreateIterablePromise } from '@algolia/client-common';
|
|
2
|
+
import type { ApiKey } from './apiKey';
|
|
3
|
+
import type { AssignUserIdParams } from './assignUserIdParams';
|
|
4
|
+
import type { AttributeToUpdate } from './attributeToUpdate';
|
|
5
|
+
import type { BatchAssignUserIdsParams } from './batchAssignUserIdsParams';
|
|
6
|
+
import type { BatchDictionaryEntriesParams } from './batchDictionaryEntriesParams';
|
|
7
|
+
import type { BatchWriteParams } from './batchWriteParams';
|
|
8
|
+
import type { BrowseParams } from './browseParams';
|
|
9
|
+
import type { DictionaryType } from './dictionaryType';
|
|
10
|
+
import type { IndexSettings } from './indexSettings';
|
|
11
|
+
import type { LogType } from './logType';
|
|
12
|
+
import type { OperationIndexParams } from './operationIndexParams';
|
|
13
|
+
import type { Rule } from './rule';
|
|
14
|
+
import type { SearchDictionaryEntriesParams } from './searchDictionaryEntriesParams';
|
|
15
|
+
import type { SearchForFacetValuesRequest } from './searchForFacetValuesRequest';
|
|
16
|
+
import type { SearchForFacetsOptions } from './searchForFacetsOptions';
|
|
17
|
+
import type { SearchForHitsOptions } from './searchForHitsOptions';
|
|
18
|
+
import type { SearchParams } from './searchParams';
|
|
19
|
+
import type { SearchParamsObject } from './searchParamsObject';
|
|
20
|
+
import type { SearchRulesParams } from './searchRulesParams';
|
|
21
|
+
import type { SearchSynonymsParams } from './searchSynonymsParams';
|
|
22
|
+
import type { Source } from './source';
|
|
23
|
+
import type { SynonymHit } from './synonymHit';
|
|
24
|
+
import type { SynonymType } from './synonymType';
|
|
25
|
+
/**
|
|
26
|
+
* Properties for the `addOrUpdateObject` method.
|
|
27
|
+
*/
|
|
28
|
+
export declare type AddOrUpdateObjectProps = {
|
|
29
|
+
/**
|
|
30
|
+
* The index in which to perform the request.
|
|
31
|
+
*/
|
|
32
|
+
indexName: string;
|
|
33
|
+
/**
|
|
34
|
+
* Unique identifier of an object.
|
|
35
|
+
*/
|
|
36
|
+
objectID: string;
|
|
37
|
+
/**
|
|
38
|
+
* The Algolia object.
|
|
39
|
+
*/
|
|
40
|
+
body: Record<string, any>;
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* Properties for the `assignUserId` method.
|
|
44
|
+
*/
|
|
45
|
+
export declare type AssignUserIdProps = {
|
|
46
|
+
/**
|
|
47
|
+
* UserID to assign.
|
|
48
|
+
*/
|
|
49
|
+
xAlgoliaUserID: string;
|
|
50
|
+
assignUserIdParams: AssignUserIdParams;
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* Properties for the `batch` method.
|
|
54
|
+
*/
|
|
55
|
+
export declare type BatchProps = {
|
|
56
|
+
/**
|
|
57
|
+
* The index in which to perform the request.
|
|
58
|
+
*/
|
|
59
|
+
indexName: string;
|
|
60
|
+
batchWriteParams: BatchWriteParams;
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* Properties for the `batchAssignUserIds` method.
|
|
64
|
+
*/
|
|
65
|
+
export declare type BatchAssignUserIdsProps = {
|
|
66
|
+
/**
|
|
67
|
+
* UserID to assign.
|
|
68
|
+
*/
|
|
69
|
+
xAlgoliaUserID: string;
|
|
70
|
+
batchAssignUserIdsParams: BatchAssignUserIdsParams;
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* Properties for the `batchDictionaryEntries` method.
|
|
74
|
+
*/
|
|
75
|
+
export declare type BatchDictionaryEntriesProps = {
|
|
76
|
+
/**
|
|
77
|
+
* The dictionary to search in.
|
|
78
|
+
*/
|
|
79
|
+
dictionaryName: DictionaryType;
|
|
80
|
+
batchDictionaryEntriesParams: BatchDictionaryEntriesParams;
|
|
81
|
+
};
|
|
82
|
+
/**
|
|
83
|
+
* Properties for the `browse` method.
|
|
84
|
+
*/
|
|
85
|
+
export declare type BrowseProps = {
|
|
86
|
+
/**
|
|
87
|
+
* The index in which to perform the request.
|
|
88
|
+
*/
|
|
89
|
+
indexName: string;
|
|
90
|
+
browseParams?: BrowseParams;
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* Properties for the `clearAllSynonyms` method.
|
|
94
|
+
*/
|
|
95
|
+
export declare type ClearAllSynonymsProps = {
|
|
96
|
+
/**
|
|
97
|
+
* The index in which to perform the request.
|
|
98
|
+
*/
|
|
99
|
+
indexName: string;
|
|
100
|
+
/**
|
|
101
|
+
* When true, changes are also propagated to replicas of the given indexName.
|
|
102
|
+
*/
|
|
103
|
+
forwardToReplicas?: boolean;
|
|
104
|
+
};
|
|
105
|
+
/**
|
|
106
|
+
* Properties for the `clearObjects` method.
|
|
107
|
+
*/
|
|
108
|
+
export declare type ClearObjectsProps = {
|
|
109
|
+
/**
|
|
110
|
+
* The index in which to perform the request.
|
|
111
|
+
*/
|
|
112
|
+
indexName: string;
|
|
113
|
+
};
|
|
114
|
+
/**
|
|
115
|
+
* Properties for the `clearRules` method.
|
|
116
|
+
*/
|
|
117
|
+
export declare type ClearRulesProps = {
|
|
118
|
+
/**
|
|
119
|
+
* The index in which to perform the request.
|
|
120
|
+
*/
|
|
121
|
+
indexName: string;
|
|
122
|
+
/**
|
|
123
|
+
* When true, changes are also propagated to replicas of the given indexName.
|
|
124
|
+
*/
|
|
125
|
+
forwardToReplicas?: boolean;
|
|
126
|
+
};
|
|
127
|
+
/**
|
|
128
|
+
* Properties for the `del` method.
|
|
129
|
+
*/
|
|
130
|
+
export declare type DelProps = {
|
|
131
|
+
/**
|
|
132
|
+
* The path of the API endpoint to target, anything after the /1 needs to be specified.
|
|
133
|
+
*/
|
|
134
|
+
path: string;
|
|
135
|
+
/**
|
|
136
|
+
* Query parameters to be applied to the current query.
|
|
137
|
+
*/
|
|
138
|
+
parameters?: Record<string, any>;
|
|
139
|
+
};
|
|
140
|
+
/**
|
|
141
|
+
* Properties for the `deleteApiKey` method.
|
|
142
|
+
*/
|
|
143
|
+
export declare type DeleteApiKeyProps = {
|
|
144
|
+
/**
|
|
145
|
+
* API Key string.
|
|
146
|
+
*/
|
|
147
|
+
key: string;
|
|
148
|
+
};
|
|
149
|
+
/**
|
|
150
|
+
* Properties for the `deleteBy` method.
|
|
151
|
+
*/
|
|
152
|
+
export declare type DeleteByProps = {
|
|
153
|
+
/**
|
|
154
|
+
* The index in which to perform the request.
|
|
155
|
+
*/
|
|
156
|
+
indexName: string;
|
|
157
|
+
searchParams: SearchParams;
|
|
158
|
+
};
|
|
159
|
+
/**
|
|
160
|
+
* Properties for the `deleteIndex` method.
|
|
161
|
+
*/
|
|
162
|
+
export declare type DeleteIndexProps = {
|
|
163
|
+
/**
|
|
164
|
+
* The index in which to perform the request.
|
|
165
|
+
*/
|
|
166
|
+
indexName: string;
|
|
167
|
+
};
|
|
168
|
+
/**
|
|
169
|
+
* Properties for the `deleteObject` method.
|
|
170
|
+
*/
|
|
171
|
+
export declare type DeleteObjectProps = {
|
|
172
|
+
/**
|
|
173
|
+
* The index in which to perform the request.
|
|
174
|
+
*/
|
|
175
|
+
indexName: string;
|
|
176
|
+
/**
|
|
177
|
+
* Unique identifier of an object.
|
|
178
|
+
*/
|
|
179
|
+
objectID: string;
|
|
180
|
+
};
|
|
181
|
+
/**
|
|
182
|
+
* Properties for the `deleteRule` method.
|
|
183
|
+
*/
|
|
184
|
+
export declare type DeleteRuleProps = {
|
|
185
|
+
/**
|
|
186
|
+
* The index in which to perform the request.
|
|
187
|
+
*/
|
|
188
|
+
indexName: string;
|
|
189
|
+
/**
|
|
190
|
+
* Unique identifier of an object.
|
|
191
|
+
*/
|
|
192
|
+
objectID: string;
|
|
193
|
+
/**
|
|
194
|
+
* When true, changes are also propagated to replicas of the given indexName.
|
|
195
|
+
*/
|
|
196
|
+
forwardToReplicas?: boolean;
|
|
197
|
+
};
|
|
198
|
+
/**
|
|
199
|
+
* Properties for the `deleteSource` method.
|
|
200
|
+
*/
|
|
201
|
+
export declare type DeleteSourceProps = {
|
|
202
|
+
/**
|
|
203
|
+
* The IP range of the source.
|
|
204
|
+
*/
|
|
205
|
+
source: string;
|
|
206
|
+
};
|
|
207
|
+
/**
|
|
208
|
+
* Properties for the `deleteSynonym` method.
|
|
209
|
+
*/
|
|
210
|
+
export declare type DeleteSynonymProps = {
|
|
211
|
+
/**
|
|
212
|
+
* The index in which to perform the request.
|
|
213
|
+
*/
|
|
214
|
+
indexName: string;
|
|
215
|
+
/**
|
|
216
|
+
* Unique identifier of an object.
|
|
217
|
+
*/
|
|
218
|
+
objectID: string;
|
|
219
|
+
/**
|
|
220
|
+
* When true, changes are also propagated to replicas of the given indexName.
|
|
221
|
+
*/
|
|
222
|
+
forwardToReplicas?: boolean;
|
|
223
|
+
};
|
|
224
|
+
/**
|
|
225
|
+
* Properties for the `get` method.
|
|
226
|
+
*/
|
|
227
|
+
export declare type GetProps = {
|
|
228
|
+
/**
|
|
229
|
+
* The path of the API endpoint to target, anything after the /1 needs to be specified.
|
|
230
|
+
*/
|
|
231
|
+
path: string;
|
|
232
|
+
/**
|
|
233
|
+
* Query parameters to be applied to the current query.
|
|
234
|
+
*/
|
|
235
|
+
parameters?: Record<string, any>;
|
|
236
|
+
};
|
|
237
|
+
/**
|
|
238
|
+
* Properties for the `getApiKey` method.
|
|
239
|
+
*/
|
|
240
|
+
export declare type GetApiKeyProps = {
|
|
241
|
+
/**
|
|
242
|
+
* API Key string.
|
|
243
|
+
*/
|
|
244
|
+
key: string;
|
|
245
|
+
};
|
|
246
|
+
/**
|
|
247
|
+
* Properties for the `getLogs` method.
|
|
248
|
+
*/
|
|
249
|
+
export declare type GetLogsProps = {
|
|
250
|
+
/**
|
|
251
|
+
* First entry to retrieve (zero-based). Log entries are sorted by decreasing date, therefore 0 designates the most recent log entry.
|
|
252
|
+
*/
|
|
253
|
+
offset?: number;
|
|
254
|
+
/**
|
|
255
|
+
* Maximum number of entries to retrieve. The maximum allowed value is 1000.
|
|
256
|
+
*/
|
|
257
|
+
length?: number;
|
|
258
|
+
/**
|
|
259
|
+
* Index for which log entries should be retrieved. When omitted, log entries are retrieved across all indices.
|
|
260
|
+
*/
|
|
261
|
+
indexName?: string;
|
|
262
|
+
/**
|
|
263
|
+
* Type of log entries to retrieve. When omitted, all log entries are retrieved.
|
|
264
|
+
*/
|
|
265
|
+
type?: LogType;
|
|
266
|
+
};
|
|
267
|
+
/**
|
|
268
|
+
* Properties for the `getObject` method.
|
|
269
|
+
*/
|
|
270
|
+
export declare type GetObjectProps = {
|
|
271
|
+
/**
|
|
272
|
+
* The index in which to perform the request.
|
|
273
|
+
*/
|
|
274
|
+
indexName: string;
|
|
275
|
+
/**
|
|
276
|
+
* Unique identifier of an object.
|
|
277
|
+
*/
|
|
278
|
+
objectID: string;
|
|
279
|
+
/**
|
|
280
|
+
* List of attributes to retrieve. If not specified, all retrievable attributes are returned.
|
|
281
|
+
*/
|
|
282
|
+
attributesToRetrieve?: string[];
|
|
283
|
+
};
|
|
284
|
+
/**
|
|
285
|
+
* Properties for the `getRule` method.
|
|
286
|
+
*/
|
|
287
|
+
export declare type GetRuleProps = {
|
|
288
|
+
/**
|
|
289
|
+
* The index in which to perform the request.
|
|
290
|
+
*/
|
|
291
|
+
indexName: string;
|
|
292
|
+
/**
|
|
293
|
+
* Unique identifier of an object.
|
|
294
|
+
*/
|
|
295
|
+
objectID: string;
|
|
296
|
+
};
|
|
297
|
+
/**
|
|
298
|
+
* Properties for the `getSettings` method.
|
|
299
|
+
*/
|
|
300
|
+
export declare type GetSettingsProps = {
|
|
301
|
+
/**
|
|
302
|
+
* The index in which to perform the request.
|
|
303
|
+
*/
|
|
304
|
+
indexName: string;
|
|
305
|
+
};
|
|
306
|
+
/**
|
|
307
|
+
* Properties for the `getSynonym` method.
|
|
308
|
+
*/
|
|
309
|
+
export declare type GetSynonymProps = {
|
|
310
|
+
/**
|
|
311
|
+
* The index in which to perform the request.
|
|
312
|
+
*/
|
|
313
|
+
indexName: string;
|
|
314
|
+
/**
|
|
315
|
+
* Unique identifier of an object.
|
|
316
|
+
*/
|
|
317
|
+
objectID: string;
|
|
318
|
+
};
|
|
319
|
+
/**
|
|
320
|
+
* Properties for the `getTask` method.
|
|
321
|
+
*/
|
|
322
|
+
export declare type GetTaskProps = {
|
|
323
|
+
/**
|
|
324
|
+
* The index in which to perform the request.
|
|
325
|
+
*/
|
|
326
|
+
indexName: string;
|
|
327
|
+
/**
|
|
328
|
+
* Unique identifier of an task. Numeric value (up to 64bits).
|
|
329
|
+
*/
|
|
330
|
+
taskID: number;
|
|
331
|
+
};
|
|
332
|
+
/**
|
|
333
|
+
* Properties for the `getUserId` method.
|
|
334
|
+
*/
|
|
335
|
+
export declare type GetUserIdProps = {
|
|
336
|
+
/**
|
|
337
|
+
* UserID to assign.
|
|
338
|
+
*/
|
|
339
|
+
userID: string;
|
|
340
|
+
};
|
|
341
|
+
/**
|
|
342
|
+
* Properties for the `hasPendingMappings` method.
|
|
343
|
+
*/
|
|
344
|
+
export declare type HasPendingMappingsProps = {
|
|
345
|
+
/**
|
|
346
|
+
* If the clusters pending mapping state should be on the response.
|
|
347
|
+
*/
|
|
348
|
+
getClusters?: boolean;
|
|
349
|
+
};
|
|
350
|
+
/**
|
|
351
|
+
* Properties for the `listIndices` method.
|
|
352
|
+
*/
|
|
353
|
+
export declare type ListIndicesProps = {
|
|
354
|
+
/**
|
|
355
|
+
* Requested page (zero-based). When specified, will retrieve a specific page; the page size is implicitly set to 100. When null, will retrieve all indices (no pagination).
|
|
356
|
+
*/
|
|
357
|
+
page?: number;
|
|
358
|
+
};
|
|
359
|
+
/**
|
|
360
|
+
* Properties for the `listUserIds` method.
|
|
361
|
+
*/
|
|
362
|
+
export declare type ListUserIdsProps = {
|
|
363
|
+
/**
|
|
364
|
+
* Requested page (zero-based). When specified, will retrieve a specific page; the page size is implicitly set to 100. When null, will retrieve all indices (no pagination).
|
|
365
|
+
*/
|
|
366
|
+
page?: number;
|
|
367
|
+
/**
|
|
368
|
+
* Maximum number of objects to retrieve.
|
|
369
|
+
*/
|
|
370
|
+
hitsPerPage?: number;
|
|
371
|
+
};
|
|
372
|
+
/**
|
|
373
|
+
* Properties for the `operationIndex` method.
|
|
374
|
+
*/
|
|
375
|
+
export declare type OperationIndexProps = {
|
|
376
|
+
/**
|
|
377
|
+
* The index in which to perform the request.
|
|
378
|
+
*/
|
|
379
|
+
indexName: string;
|
|
380
|
+
operationIndexParams: OperationIndexParams;
|
|
381
|
+
};
|
|
382
|
+
/**
|
|
383
|
+
* Properties for the `partialUpdateObject` method.
|
|
384
|
+
*/
|
|
385
|
+
export declare type PartialUpdateObjectProps = {
|
|
386
|
+
/**
|
|
387
|
+
* The index in which to perform the request.
|
|
388
|
+
*/
|
|
389
|
+
indexName: string;
|
|
390
|
+
/**
|
|
391
|
+
* Unique identifier of an object.
|
|
392
|
+
*/
|
|
393
|
+
objectID: string;
|
|
394
|
+
/**
|
|
395
|
+
* Map of attribute(s) to update.
|
|
396
|
+
*/
|
|
397
|
+
attributesToUpdate: Record<string, AttributeToUpdate>;
|
|
398
|
+
/**
|
|
399
|
+
* Creates the record if it does not exist yet.
|
|
400
|
+
*/
|
|
401
|
+
createIfNotExists?: boolean;
|
|
402
|
+
};
|
|
403
|
+
/**
|
|
404
|
+
* Properties for the `post` method.
|
|
405
|
+
*/
|
|
406
|
+
export declare type PostProps = {
|
|
407
|
+
/**
|
|
408
|
+
* The path of the API endpoint to target, anything after the /1 needs to be specified.
|
|
409
|
+
*/
|
|
410
|
+
path: string;
|
|
411
|
+
/**
|
|
412
|
+
* Query parameters to be applied to the current query.
|
|
413
|
+
*/
|
|
414
|
+
parameters?: Record<string, any>;
|
|
415
|
+
/**
|
|
416
|
+
* The parameters to send with the custom request.
|
|
417
|
+
*/
|
|
418
|
+
body?: Record<string, any>;
|
|
419
|
+
};
|
|
420
|
+
/**
|
|
421
|
+
* Properties for the `put` method.
|
|
422
|
+
*/
|
|
423
|
+
export declare type PutProps = {
|
|
424
|
+
/**
|
|
425
|
+
* The path of the API endpoint to target, anything after the /1 needs to be specified.
|
|
426
|
+
*/
|
|
427
|
+
path: string;
|
|
428
|
+
/**
|
|
429
|
+
* Query parameters to be applied to the current query.
|
|
430
|
+
*/
|
|
431
|
+
parameters?: Record<string, any>;
|
|
432
|
+
/**
|
|
433
|
+
* The parameters to send with the custom request.
|
|
434
|
+
*/
|
|
435
|
+
body?: Record<string, any>;
|
|
436
|
+
};
|
|
437
|
+
/**
|
|
438
|
+
* Properties for the `removeUserId` method.
|
|
439
|
+
*/
|
|
440
|
+
export declare type RemoveUserIdProps = {
|
|
441
|
+
/**
|
|
442
|
+
* UserID to assign.
|
|
443
|
+
*/
|
|
444
|
+
userID: string;
|
|
445
|
+
};
|
|
446
|
+
/**
|
|
447
|
+
* Properties for the `replaceSources` method.
|
|
448
|
+
*/
|
|
449
|
+
export declare type ReplaceSourcesProps = {
|
|
450
|
+
/**
|
|
451
|
+
* The sources to allow.
|
|
452
|
+
*/
|
|
453
|
+
source: Source[];
|
|
454
|
+
};
|
|
455
|
+
/**
|
|
456
|
+
* Properties for the `restoreApiKey` method.
|
|
457
|
+
*/
|
|
458
|
+
export declare type RestoreApiKeyProps = {
|
|
459
|
+
/**
|
|
460
|
+
* API Key string.
|
|
461
|
+
*/
|
|
462
|
+
key: string;
|
|
463
|
+
};
|
|
464
|
+
/**
|
|
465
|
+
* Properties for the `saveObject` method.
|
|
466
|
+
*/
|
|
467
|
+
export declare type SaveObjectProps = {
|
|
468
|
+
/**
|
|
469
|
+
* The index in which to perform the request.
|
|
470
|
+
*/
|
|
471
|
+
indexName: string;
|
|
472
|
+
/**
|
|
473
|
+
* The Algolia record.
|
|
474
|
+
*/
|
|
475
|
+
body: Record<string, any>;
|
|
476
|
+
};
|
|
477
|
+
/**
|
|
478
|
+
* Properties for the `saveRule` method.
|
|
479
|
+
*/
|
|
480
|
+
export declare type SaveRuleProps = {
|
|
481
|
+
/**
|
|
482
|
+
* The index in which to perform the request.
|
|
483
|
+
*/
|
|
484
|
+
indexName: string;
|
|
485
|
+
/**
|
|
486
|
+
* Unique identifier of an object.
|
|
487
|
+
*/
|
|
488
|
+
objectID: string;
|
|
489
|
+
rule: Rule;
|
|
490
|
+
/**
|
|
491
|
+
* When true, changes are also propagated to replicas of the given indexName.
|
|
492
|
+
*/
|
|
493
|
+
forwardToReplicas?: boolean;
|
|
494
|
+
};
|
|
495
|
+
/**
|
|
496
|
+
* Properties for the `saveRules` method.
|
|
497
|
+
*/
|
|
498
|
+
export declare type SaveRulesProps = {
|
|
499
|
+
/**
|
|
500
|
+
* The index in which to perform the request.
|
|
501
|
+
*/
|
|
502
|
+
indexName: string;
|
|
503
|
+
rules: Rule[];
|
|
504
|
+
/**
|
|
505
|
+
* When true, changes are also propagated to replicas of the given indexName.
|
|
506
|
+
*/
|
|
507
|
+
forwardToReplicas?: boolean;
|
|
508
|
+
/**
|
|
509
|
+
* When true, existing Rules are cleared before adding this batch. When false, existing Rules are kept.
|
|
510
|
+
*/
|
|
511
|
+
clearExistingRules?: boolean;
|
|
512
|
+
};
|
|
513
|
+
/**
|
|
514
|
+
* Properties for the `saveSynonym` method.
|
|
515
|
+
*/
|
|
516
|
+
export declare type SaveSynonymProps = {
|
|
517
|
+
/**
|
|
518
|
+
* The index in which to perform the request.
|
|
519
|
+
*/
|
|
520
|
+
indexName: string;
|
|
521
|
+
/**
|
|
522
|
+
* Unique identifier of an object.
|
|
523
|
+
*/
|
|
524
|
+
objectID: string;
|
|
525
|
+
synonymHit: SynonymHit;
|
|
526
|
+
/**
|
|
527
|
+
* When true, changes are also propagated to replicas of the given indexName.
|
|
528
|
+
*/
|
|
529
|
+
forwardToReplicas?: boolean;
|
|
530
|
+
};
|
|
531
|
+
/**
|
|
532
|
+
* Properties for the `saveSynonyms` method.
|
|
533
|
+
*/
|
|
534
|
+
export declare type SaveSynonymsProps = {
|
|
535
|
+
/**
|
|
536
|
+
* The index in which to perform the request.
|
|
537
|
+
*/
|
|
538
|
+
indexName: string;
|
|
539
|
+
synonymHit: SynonymHit[];
|
|
540
|
+
/**
|
|
541
|
+
* When true, changes are also propagated to replicas of the given indexName.
|
|
542
|
+
*/
|
|
543
|
+
forwardToReplicas?: boolean;
|
|
544
|
+
/**
|
|
545
|
+
* Replace all synonyms of the index with the ones sent with this request.
|
|
546
|
+
*/
|
|
547
|
+
replaceExistingSynonyms?: boolean;
|
|
548
|
+
};
|
|
549
|
+
/**
|
|
550
|
+
* In v4, the search parameters are wrapped in a `params` parameter.
|
|
551
|
+
*
|
|
552
|
+
* @deprecated The `search` method now accepts flat `searchParams` at the root of the method.
|
|
553
|
+
*/
|
|
554
|
+
declare type LegacySearchParams = {
|
|
555
|
+
params?: SearchParamsObject;
|
|
556
|
+
};
|
|
557
|
+
/**
|
|
558
|
+
* In v4, the search parameters are wrapped in a `params` parameter.
|
|
559
|
+
*
|
|
560
|
+
* @deprecated The `search` method now accepts flat `searchParams` at the root of the method.
|
|
561
|
+
*/
|
|
562
|
+
declare type LegacySearchForFacets = LegacySearchParams & SearchForFacetsOptions;
|
|
563
|
+
/**
|
|
564
|
+
* In v4, the search parameters are wrapped in a `params` parameter.
|
|
565
|
+
*
|
|
566
|
+
* @deprecated The `search` method now accepts flat `searchParams` at the root of the method.
|
|
567
|
+
*/
|
|
568
|
+
declare type LegacySearchForHits = LegacySearchParams & SearchForHitsOptions;
|
|
569
|
+
declare type LegacySearchQuery = LegacySearchForFacets | LegacySearchForHits;
|
|
570
|
+
/**
|
|
571
|
+
* Search method signature compatible with the `algoliasearch` v4 package. When using this signature, extra computation will be required to make it match the new signature.
|
|
572
|
+
*
|
|
573
|
+
* @deprecated This signature will be removed from the next major version, we recommend using the `SearchMethodParams` type for performances and future proof reasons.
|
|
574
|
+
*/
|
|
575
|
+
export declare type LegacySearchMethodProps = LegacySearchQuery[];
|
|
576
|
+
/**
|
|
577
|
+
* Properties for the `searchDictionaryEntries` method.
|
|
578
|
+
*/
|
|
579
|
+
export declare type SearchDictionaryEntriesProps = {
|
|
580
|
+
/**
|
|
581
|
+
* The dictionary to search in.
|
|
582
|
+
*/
|
|
583
|
+
dictionaryName: DictionaryType;
|
|
584
|
+
searchDictionaryEntriesParams: SearchDictionaryEntriesParams;
|
|
585
|
+
};
|
|
586
|
+
/**
|
|
587
|
+
* Properties for the `searchForFacetValues` method.
|
|
588
|
+
*/
|
|
589
|
+
export declare type SearchForFacetValuesProps = {
|
|
590
|
+
/**
|
|
591
|
+
* The index in which to perform the request.
|
|
592
|
+
*/
|
|
593
|
+
indexName: string;
|
|
594
|
+
/**
|
|
595
|
+
* The facet name.
|
|
596
|
+
*/
|
|
597
|
+
facetName: string;
|
|
598
|
+
searchForFacetValuesRequest?: SearchForFacetValuesRequest;
|
|
599
|
+
};
|
|
600
|
+
/**
|
|
601
|
+
* Properties for the `searchRules` method.
|
|
602
|
+
*/
|
|
603
|
+
export declare type SearchRulesProps = {
|
|
604
|
+
/**
|
|
605
|
+
* The index in which to perform the request.
|
|
606
|
+
*/
|
|
607
|
+
indexName: string;
|
|
608
|
+
searchRulesParams?: SearchRulesParams;
|
|
609
|
+
};
|
|
610
|
+
/**
|
|
611
|
+
* Properties for the `searchSingleIndex` method.
|
|
612
|
+
*/
|
|
613
|
+
export declare type SearchSingleIndexProps = {
|
|
614
|
+
/**
|
|
615
|
+
* The index in which to perform the request.
|
|
616
|
+
*/
|
|
617
|
+
indexName: string;
|
|
618
|
+
searchParams?: SearchParams;
|
|
619
|
+
};
|
|
620
|
+
/**
|
|
621
|
+
* Properties for the `searchSynonyms` method.
|
|
622
|
+
*/
|
|
623
|
+
export declare type SearchSynonymsProps = {
|
|
624
|
+
/**
|
|
625
|
+
* The index in which to perform the request.
|
|
626
|
+
*/
|
|
627
|
+
indexName: string;
|
|
628
|
+
/**
|
|
629
|
+
* Only search for specific types of synonyms.
|
|
630
|
+
*/
|
|
631
|
+
type?: SynonymType;
|
|
632
|
+
/**
|
|
633
|
+
* Requested page (zero-based). When specified, will retrieve a specific page; the page size is implicitly set to 100. When null, will retrieve all indices (no pagination).
|
|
634
|
+
*/
|
|
635
|
+
page?: number;
|
|
636
|
+
/**
|
|
637
|
+
* Maximum number of objects to retrieve.
|
|
638
|
+
*/
|
|
639
|
+
hitsPerPage?: number;
|
|
640
|
+
/**
|
|
641
|
+
* The body of the the `searchSynonyms` method.
|
|
642
|
+
*/
|
|
643
|
+
searchSynonymsParams?: SearchSynonymsParams;
|
|
644
|
+
};
|
|
645
|
+
/**
|
|
646
|
+
* Properties for the `setSettings` method.
|
|
647
|
+
*/
|
|
648
|
+
export declare type SetSettingsProps = {
|
|
649
|
+
/**
|
|
650
|
+
* The index in which to perform the request.
|
|
651
|
+
*/
|
|
652
|
+
indexName: string;
|
|
653
|
+
indexSettings: IndexSettings;
|
|
654
|
+
/**
|
|
655
|
+
* When true, changes are also propagated to replicas of the given indexName.
|
|
656
|
+
*/
|
|
657
|
+
forwardToReplicas?: boolean;
|
|
658
|
+
};
|
|
659
|
+
/**
|
|
660
|
+
* Properties for the `updateApiKey` method.
|
|
661
|
+
*/
|
|
662
|
+
export declare type UpdateApiKeyProps = {
|
|
663
|
+
/**
|
|
664
|
+
* API Key string.
|
|
665
|
+
*/
|
|
666
|
+
key: string;
|
|
667
|
+
apiKey: ApiKey;
|
|
668
|
+
};
|
|
669
|
+
/**
|
|
670
|
+
* The `browseObjects`, `browseRules`, `browseSynonyms` options.
|
|
671
|
+
*/
|
|
672
|
+
export declare type BrowseOptions<T> = Partial<Pick<CreateIterablePromise<T>, 'validate'>> & Required<Pick<CreateIterablePromise<T>, 'aggregator'>>;
|
|
673
|
+
declare type WaitForOptions = Partial<{
|
|
674
|
+
/**
|
|
675
|
+
* The maximum number of retries. 50 by default.
|
|
676
|
+
*/
|
|
677
|
+
maxRetries: number;
|
|
678
|
+
/**
|
|
679
|
+
* The function to decide how long to wait between retries.
|
|
680
|
+
*/
|
|
681
|
+
timeout: (retryCount: number) => number;
|
|
682
|
+
}>;
|
|
683
|
+
export declare type WaitForTaskOptions = WaitForOptions & {
|
|
684
|
+
/**
|
|
685
|
+
* The `indexName` where the operation was performed.
|
|
686
|
+
*/
|
|
687
|
+
indexName: string;
|
|
688
|
+
/**
|
|
689
|
+
* The `taskID` returned by the method response.
|
|
690
|
+
*/
|
|
691
|
+
taskID: number;
|
|
692
|
+
};
|
|
693
|
+
export declare type WaitForApiKeyOptions = WaitForOptions & {
|
|
694
|
+
/**
|
|
695
|
+
* The API Key.
|
|
696
|
+
*/
|
|
697
|
+
key: string;
|
|
698
|
+
} & ({
|
|
699
|
+
/**
|
|
700
|
+
* The operation that has been performed, used to compute the stop condition.
|
|
701
|
+
*/
|
|
702
|
+
operation: 'add' | 'delete';
|
|
703
|
+
apiKey?: never;
|
|
704
|
+
} | {
|
|
705
|
+
/**
|
|
706
|
+
* The operation that has been performed, used to compute the stop condition.
|
|
707
|
+
*/
|
|
708
|
+
operation: 'update';
|
|
709
|
+
/**
|
|
710
|
+
* The updated fields, used to compute the stop condition.
|
|
711
|
+
*/
|
|
712
|
+
apiKey: Partial<ApiKey>;
|
|
713
|
+
});
|
|
714
|
+
export {};
|
|
715
|
+
//# sourceMappingURL=clientMethodProps.d.ts.map
|