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