algoliasearch 5.0.0-alpha.73 → 5.0.0-alpha.76
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/algoliasearch.cjs.js +342 -340
- package/dist/algoliasearch.esm.browser.js +342 -338
- package/dist/algoliasearch.esm.node.js +342 -338
- package/dist/algoliasearch.umd.js +2 -2
- package/dist/builds/browser.d.ts +2 -2
- package/dist/builds/node.d.ts +2 -2
- package/dist/client-abtesting/model/aBTest.d.ts +8 -12
- package/dist/client-abtesting/model/aBTest.d.ts.map +1 -1
- package/dist/client-abtesting/model/aBTestResponse.d.ts +3 -3
- package/dist/client-abtesting/model/abTestsVariant.d.ts +3 -3
- package/dist/client-abtesting/model/addABTestsRequest.d.ts +3 -3
- package/dist/client-abtesting/model/addABTestsRequest.d.ts.map +1 -1
- package/dist/client-abtesting/model/clientMethodProps.d.ts +16 -16
- package/dist/client-abtesting/model/customSearchParams.d.ts +3 -0
- package/dist/client-abtesting/model/customSearchParams.d.ts.map +1 -1
- package/dist/client-abtesting/model/listABTestsResponse.d.ts +3 -3
- package/dist/client-abtesting/model/variant.d.ts +14 -14
- package/dist/client-abtesting/src/abtestingClient.d.ts +27 -27
- package/dist/client-analytics/model/averageClickEvent.d.ts +3 -3
- package/dist/client-analytics/model/clickPosition.d.ts +2 -2
- package/dist/client-analytics/model/clickThroughRateEvent.d.ts +4 -4
- package/dist/client-analytics/model/clientMethodProps.d.ts +91 -91
- package/dist/client-analytics/model/conversionRateEvent.d.ts +4 -4
- package/dist/client-analytics/model/getAverageClickPositionResponse.d.ts +3 -3
- package/dist/client-analytics/model/getClickPositionsResponse.d.ts +1 -1
- package/dist/client-analytics/model/getClickThroughRateResponse.d.ts +4 -4
- package/dist/client-analytics/model/getConversationRateResponse.d.ts +4 -4
- package/dist/client-analytics/model/getNoClickRateResponse.d.ts +4 -4
- package/dist/client-analytics/model/getNoResultsRateResponse.d.ts +4 -4
- package/dist/client-analytics/model/getSearchesCountResponse.d.ts +2 -2
- package/dist/client-analytics/model/getSearchesNoClicksResponse.d.ts +1 -1
- package/dist/client-analytics/model/getSearchesNoResultsResponse.d.ts +1 -1
- package/dist/client-analytics/model/getStatusResponse.d.ts +1 -1
- package/dist/client-analytics/model/getTopCountriesResponse.d.ts +1 -1
- package/dist/client-analytics/model/getTopFilterAttribute.d.ts +2 -2
- package/dist/client-analytics/model/getTopFilterAttributesResponse.d.ts +1 -1
- package/dist/client-analytics/model/getTopFilterForAttribute.d.ts +4 -4
- package/dist/client-analytics/model/getTopFilterForAttributeResponse.d.ts +1 -1
- package/dist/client-analytics/model/getTopFiltersNoResultsResponse.d.ts +1 -1
- package/dist/client-analytics/model/getTopFiltersNoResultsValue.d.ts +3 -3
- package/dist/client-analytics/model/getTopFiltersNoResultsValues.d.ts +2 -2
- package/dist/client-analytics/model/getUsersCountResponse.d.ts +2 -2
- package/dist/client-analytics/model/noClickRateEvent.d.ts +4 -4
- package/dist/client-analytics/model/noResultsRateEvent.d.ts +4 -4
- package/dist/client-analytics/model/orderBy.d.ts +3 -0
- package/dist/client-analytics/model/orderBy.d.ts.map +1 -1
- package/dist/client-analytics/model/searchEvent.d.ts +2 -2
- package/dist/client-analytics/model/searchNoClickEvent.d.ts +3 -3
- package/dist/client-analytics/model/searchNoResultEvent.d.ts +3 -3
- package/dist/client-analytics/model/topCountry.d.ts +2 -2
- package/dist/client-analytics/model/topHit.d.ts +2 -2
- package/dist/client-analytics/model/topHitWithAnalytics.d.ts +7 -7
- package/dist/client-analytics/model/topHitsResponse.d.ts +1 -1
- package/dist/client-analytics/model/topHitsResponseWithAnalytics.d.ts +1 -1
- package/dist/client-analytics/model/topSearch.d.ts +3 -3
- package/dist/client-analytics/model/topSearchWithAnalytics.d.ts +9 -9
- package/dist/client-analytics/model/topSearchesResponse.d.ts +1 -1
- package/dist/client-analytics/model/topSearchesResponseWithAnalytics.d.ts +1 -1
- package/dist/client-analytics/model/userWithDate.d.ts +2 -2
- package/dist/client-analytics/src/analyticsClient.d.ts +114 -114
- package/dist/client-personalization/model/clientMethodProps.d.ts +10 -10
- package/dist/client-personalization/src/personalizationClient.d.ts +11 -11
- package/dist/client-search/model/acl.d.ts +1 -1
- package/dist/client-search/model/action.d.ts +1 -1
- package/dist/client-search/model/addApiKeyResponse.d.ts +2 -2
- package/dist/client-search/model/anchoring.d.ts +1 -1
- package/dist/client-search/model/apiKey.d.ts +9 -9
- package/dist/client-search/model/aroundRadius.d.ts +1 -1
- package/dist/client-search/model/assignUserIdParams.d.ts +1 -1
- package/dist/client-search/model/baseGetApiKeyResponse.d.ts +2 -2
- package/dist/client-search/model/baseIndexSettings.d.ts +14 -14
- package/dist/client-search/model/baseSearchParamsWithoutQuery.d.ts +25 -25
- package/dist/client-search/model/baseSearchResponse.d.ts +20 -20
- package/dist/client-search/model/baseSearchResponseRedirect.d.ts +1 -1
- package/dist/client-search/model/batchAssignUserIdsParams.d.ts +2 -2
- package/dist/client-search/model/batchDictionaryEntriesParams.d.ts +3 -3
- package/dist/client-search/model/batchParams.d.ts +1 -1
- package/dist/client-search/model/batchRequest.d.ts +1 -1
- package/dist/client-search/model/batchResponse.d.ts +2 -2
- package/dist/client-search/model/batchWriteParams.d.ts +1 -1
- package/dist/client-search/model/builtInOperation.d.ts +1 -1
- package/dist/client-search/model/builtInOperationType.d.ts +1 -1
- package/dist/client-search/model/clientMethodProps.d.ts +88 -84
- package/dist/client-search/model/clientMethodProps.d.ts.map +1 -1
- package/dist/client-search/model/consequence.d.ts +4 -4
- package/dist/client-search/model/consequenceHide.d.ts +2 -2
- package/dist/client-search/model/createdAtResponse.d.ts +2 -2
- package/dist/client-search/model/cursor.d.ts +1 -1
- package/dist/client-search/model/deleteApiKeyResponse.d.ts +1 -1
- package/dist/client-search/model/deleteByParams.d.ts +4 -4
- package/dist/client-search/model/deleteSourceResponse.d.ts +1 -1
- package/dist/client-search/model/deletedAtResponse.d.ts +3 -3
- package/dist/client-search/model/dictionaryEntry.d.ts +6 -6
- package/dist/client-search/model/dictionaryEntryState.d.ts +1 -1
- package/dist/client-search/model/dictionaryLanguage.d.ts +2 -2
- package/dist/client-search/model/dictionarySettingsParams.d.ts +1 -1
- package/dist/client-search/model/distinct.d.ts +1 -1
- package/dist/client-search/model/exactOnSingleWordQuery.d.ts +1 -1
- package/dist/client-search/model/facetFilters.d.ts +1 -1
- package/dist/client-search/model/facetHits.d.ts +3 -3
- package/dist/client-search/model/facetOrdering.d.ts +2 -2
- package/dist/client-search/model/facets.d.ts +1 -1
- package/dist/client-search/model/facetsStats.d.ts +4 -4
- package/dist/client-search/model/fetchedIndex.d.ts +1 -1
- package/dist/client-search/model/getObjectsParams.d.ts +1 -1
- package/dist/client-search/model/getObjectsRequest.d.ts +4 -4
- package/dist/client-search/model/getObjectsResponse.d.ts +1 -1
- package/dist/client-search/model/getTopUserIdsResponse.d.ts +2 -2
- package/dist/client-search/model/hasPendingMappingsResponse.d.ts +2 -2
- package/dist/client-search/model/highlightResultOption.d.ts +1 -1
- package/dist/client-search/model/hit.d.ts +1 -1
- package/dist/client-search/model/ignorePlurals.d.ts +1 -1
- package/dist/client-search/model/index.d.ts +1 -0
- package/dist/client-search/model/index.d.ts.map +1 -1
- package/dist/client-search/model/indexSettings.d.ts +1 -1
- package/dist/client-search/model/indexSettingsAsSearchParams.d.ts +30 -30
- package/dist/client-search/model/indexSettingsAsSearchParamsSemanticSearch.d.ts +2 -2
- package/dist/client-search/model/languages.d.ts +1 -1
- package/dist/client-search/model/listApiKeysResponse.d.ts +1 -1
- package/dist/client-search/model/listClustersResponse.d.ts +2 -2
- package/dist/client-search/model/listIndicesResponse.d.ts +1 -1
- package/dist/client-search/model/listUserIdsResponse.d.ts +2 -2
- package/dist/client-search/model/log.d.ts +7 -7
- package/dist/client-search/model/logQuery.d.ts +1 -1
- package/dist/client-search/model/mode.d.ts +1 -1
- package/dist/client-search/model/multipleBatchRequest.d.ts +1 -1
- package/dist/client-search/model/multipleBatchResponse.d.ts +2 -2
- package/dist/client-search/model/numericFilters.d.ts +1 -1
- package/dist/client-search/model/operationIndexParams.d.ts +2 -2
- package/dist/client-search/model/operationType.d.ts +1 -1
- package/dist/client-search/model/optionalFilters.d.ts +1 -1
- package/dist/client-search/model/params.d.ts +1 -1
- package/dist/client-search/model/promoteObjectID.d.ts +3 -3
- package/dist/client-search/model/promoteObjectIDs.d.ts +3 -3
- package/dist/client-search/model/queryType.d.ts +1 -1
- package/dist/client-search/model/reRankingApplyFilter.d.ts +1 -1
- package/dist/client-search/model/redirectRuleIndexMetadata.d.ts +1 -1
- package/dist/client-search/model/redirectRuleIndexMetadataData.d.ts +1 -1
- package/dist/client-search/model/removeStopWords.d.ts +1 -1
- package/dist/client-search/model/removeUserIdResponse.d.ts +1 -1
- package/dist/client-search/model/removeWordsIfNoResults.d.ts +1 -1
- package/dist/client-search/model/renderingContent.d.ts +1 -1
- package/dist/client-search/model/replaceSourceResponse.d.ts +1 -1
- package/dist/client-search/model/rule.d.ts +5 -5
- package/dist/client-search/model/saveObjectResponse.d.ts +5 -2
- package/dist/client-search/model/saveObjectResponse.d.ts.map +1 -1
- package/dist/client-search/model/saveSynonymResponse.d.ts +3 -3
- package/dist/client-search/model/searchDictionaryEntriesParams.d.ts +5 -5
- package/dist/client-search/model/searchForFacetValuesRequest.d.ts +2 -2
- package/dist/client-search/model/searchForFacetsOptions.d.ts +3 -3
- package/dist/client-search/model/searchForHitsOptions.d.ts +1 -1
- package/dist/client-search/model/searchParamsQuery.d.ts +1 -1
- package/dist/client-search/model/searchParamsString.d.ts +1 -1
- package/dist/client-search/model/searchResponses.d.ts +2 -2
- 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 +7 -7
- package/dist/client-search/model/searchStrategy.d.ts +3 -0
- package/dist/client-search/model/searchStrategy.d.ts.map +1 -1
- package/dist/client-search/model/searchSynonymsParams.d.ts +1 -1
- package/dist/client-search/model/searchSynonymsResponse.d.ts +2 -2
- package/dist/client-search/model/searchTypeDefault.d.ts +1 -1
- package/dist/client-search/model/searchTypeFacet.d.ts +1 -1
- package/dist/client-search/model/searchUserIdsParams.d.ts +4 -4
- package/dist/client-search/model/searchUserIdsResponse.d.ts +5 -5
- package/dist/client-search/model/snippetResultOption.d.ts +1 -1
- package/dist/client-search/model/sortRemainingBy.d.ts +1 -1
- package/dist/client-search/model/source.d.ts +3 -3
- package/dist/client-search/model/standardEntries.d.ts +4 -4
- package/dist/client-search/model/synonymHit.d.ts +6 -6
- package/dist/client-search/model/synonymType.d.ts +1 -1
- package/dist/client-search/model/tagFilters.d.ts +1 -1
- package/dist/client-search/model/taskStatus.d.ts +3 -0
- package/dist/client-search/model/taskStatus.d.ts.map +1 -1
- package/dist/client-search/model/typoTolerance.d.ts +1 -1
- package/dist/client-search/model/updateApiKeyResponse.d.ts +2 -2
- package/dist/client-search/model/updatedAtResponse.d.ts +3 -3
- package/dist/client-search/model/updatedAtWithObjectIdResponse.d.ts +4 -4
- package/dist/client-search/model/updatedRuleResponse.d.ts +3 -3
- package/dist/client-search/model/userHit.d.ts +1 -1
- package/dist/client-search/model/userId.d.ts +2 -2
- package/dist/client-search/src/searchClient.d.ts +185 -184
- package/dist/client-search/src/searchClient.d.ts.map +1 -1
- package/dist/lite/lite.cjs.js +6 -8
- package/dist/lite/lite.esm.browser.js +6 -6
- package/dist/lite/lite.esm.node.js +6 -6
- package/dist/lite/lite.umd.js +2 -2
- package/dist/lite/model/acl.d.ts +1 -1
- package/dist/lite/model/action.d.ts +1 -1
- package/dist/lite/model/addApiKeyResponse.d.ts +2 -2
- package/dist/lite/model/anchoring.d.ts +1 -1
- package/dist/lite/model/apiKey.d.ts +9 -9
- package/dist/lite/model/aroundRadius.d.ts +1 -1
- package/dist/lite/model/baseGetApiKeyResponse.d.ts +2 -2
- package/dist/lite/model/baseIndexSettings.d.ts +14 -14
- package/dist/lite/model/baseSearchParamsWithoutQuery.d.ts +25 -25
- package/dist/lite/model/baseSearchResponse.d.ts +20 -20
- package/dist/lite/model/baseSearchResponseRedirect.d.ts +1 -1
- package/dist/lite/model/builtInOperation.d.ts +1 -1
- package/dist/lite/model/builtInOperationType.d.ts +1 -1
- package/dist/lite/model/clientMethodProps.d.ts +3 -3
- package/dist/lite/model/consequence.d.ts +4 -4
- package/dist/lite/model/consequenceHide.d.ts +2 -2
- package/dist/lite/model/cursor.d.ts +1 -1
- package/dist/lite/model/deleteByParams.d.ts +4 -4
- package/dist/lite/model/dictionaryEntry.d.ts +6 -6
- package/dist/lite/model/dictionaryEntryState.d.ts +1 -1
- package/dist/lite/model/dictionaryLanguage.d.ts +2 -2
- package/dist/lite/model/distinct.d.ts +1 -1
- package/dist/lite/model/exactOnSingleWordQuery.d.ts +1 -1
- package/dist/lite/model/facetFilters.d.ts +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 +2 -2
- package/dist/lite/model/facets.d.ts +1 -1
- package/dist/lite/model/facetsStats.d.ts +4 -4
- package/dist/lite/model/fetchedIndex.d.ts +1 -1
- package/dist/lite/model/highlightResultOption.d.ts +1 -1
- package/dist/lite/model/hit.d.ts +1 -1
- package/dist/lite/model/ignorePlurals.d.ts +1 -1
- package/dist/lite/model/index.d.ts +3 -0
- package/dist/lite/model/index.d.ts.map +1 -1
- package/dist/lite/model/indexSettings.d.ts +1 -1
- package/dist/lite/model/indexSettingsAsSearchParams.d.ts +30 -30
- package/dist/lite/model/indexSettingsAsSearchParamsSemanticSearch.d.ts +2 -2
- package/dist/lite/model/languages.d.ts +1 -1
- package/dist/lite/model/listIndicesResponse.d.ts +1 -1
- package/dist/lite/model/mode.d.ts +1 -1
- package/dist/lite/model/numericFilters.d.ts +1 -1
- package/dist/lite/model/operationType.d.ts +1 -1
- package/dist/lite/model/optionalFilters.d.ts +1 -1
- package/dist/lite/model/params.d.ts +1 -1
- package/dist/lite/model/promoteObjectID.d.ts +3 -3
- package/dist/lite/model/promoteObjectIDs.d.ts +3 -3
- package/dist/lite/model/queryType.d.ts +1 -1
- package/dist/lite/model/reRankingApplyFilter.d.ts +1 -1
- package/dist/lite/model/redirectRuleIndexMetadata.d.ts +1 -1
- package/dist/lite/model/redirectRuleIndexMetadataData.d.ts +1 -1
- package/dist/lite/model/removeStopWords.d.ts +1 -1
- package/dist/lite/model/removeWordsIfNoResults.d.ts +1 -1
- package/dist/lite/model/renderingContent.d.ts +1 -1
- package/dist/lite/model/rule.d.ts +5 -5
- package/dist/lite/model/searchForFacetValuesResponse.d.ts +5 -0
- package/dist/lite/model/searchForFacetValuesResponse.d.ts.map +1 -0
- package/dist/lite/model/searchForFacetsOptions.d.ts +3 -3
- package/dist/lite/model/searchForHitsOptions.d.ts +1 -1
- package/dist/lite/model/searchParamsQuery.d.ts +1 -1
- package/dist/lite/model/searchParamsString.d.ts +1 -1
- package/dist/lite/model/searchResponses.d.ts +2 -2
- 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 +3 -0
- package/dist/lite/model/searchStrategy.d.ts.map +1 -1
- package/dist/lite/model/searchSynonymsResponse.d.ts +2 -2
- package/dist/lite/model/searchTypeDefault.d.ts +1 -1
- package/dist/lite/model/searchTypeFacet.d.ts +1 -1
- package/dist/lite/model/snippetResultOption.d.ts +1 -1
- package/dist/lite/model/sortRemainingBy.d.ts +1 -1
- package/dist/lite/model/source.d.ts +3 -3
- package/dist/lite/model/standardEntries.d.ts +4 -4
- package/dist/lite/model/synonymHit.d.ts +6 -6
- package/dist/lite/model/synonymType.d.ts +1 -1
- package/dist/lite/model/tagFilters.d.ts +1 -1
- package/dist/lite/model/taskStatus.d.ts +3 -0
- package/dist/lite/model/taskStatus.d.ts.map +1 -1
- package/dist/lite/model/typoTolerance.d.ts +1 -1
- package/dist/lite/model/updatedRuleResponse.d.ts +3 -3
- package/dist/lite/model/userId.d.ts +2 -2
- package/dist/lite/src/liteClient.d.ts +6 -6
- package/lite/model/acl.ts +1 -1
- package/lite/model/action.ts +1 -1
- package/lite/model/addApiKeyResponse.ts +2 -2
- package/lite/model/anchoring.ts +1 -1
- package/lite/model/apiKey.ts +9 -9
- package/lite/model/aroundRadius.ts +1 -1
- package/lite/model/baseGetApiKeyResponse.ts +2 -2
- package/lite/model/baseIndexSettings.ts +14 -14
- package/lite/model/baseSearchParamsWithoutQuery.ts +25 -25
- package/lite/model/baseSearchResponse.ts +20 -20
- package/lite/model/baseSearchResponseRedirect.ts +1 -1
- package/lite/model/builtInOperation.ts +1 -1
- package/lite/model/builtInOperationType.ts +1 -1
- package/lite/model/clientMethodProps.ts +3 -3
- package/lite/model/consequence.ts +4 -4
- package/lite/model/consequenceHide.ts +2 -2
- package/lite/model/cursor.ts +1 -1
- package/lite/model/deleteByParams.ts +4 -4
- package/lite/model/dictionaryEntry.ts +6 -6
- package/lite/model/dictionaryEntryState.ts +1 -1
- package/lite/model/dictionaryLanguage.ts +2 -2
- package/lite/model/distinct.ts +1 -1
- package/lite/model/exactOnSingleWordQuery.ts +1 -1
- package/lite/model/facetFilters.ts +1 -1
- package/lite/model/facetHits.ts +18 -0
- package/lite/model/facetOrdering.ts +2 -2
- package/lite/model/facets.ts +1 -1
- package/lite/model/facetsStats.ts +4 -4
- package/lite/model/fetchedIndex.ts +1 -1
- package/lite/model/highlightResultOption.ts +1 -1
- package/lite/model/hit.ts +1 -1
- package/lite/model/ignorePlurals.ts +1 -1
- package/lite/model/index.ts +3 -0
- package/lite/model/indexSettings.ts +1 -1
- package/lite/model/indexSettingsAsSearchParams.ts +30 -30
- package/lite/model/indexSettingsAsSearchParamsSemanticSearch.ts +2 -2
- package/lite/model/languages.ts +1 -1
- package/lite/model/listIndicesResponse.ts +1 -1
- package/lite/model/mode.ts +1 -1
- package/lite/model/numericFilters.ts +1 -1
- package/lite/model/operationType.ts +1 -1
- package/lite/model/optionalFilters.ts +1 -1
- package/lite/model/params.ts +1 -1
- package/lite/model/promoteObjectID.ts +3 -3
- package/lite/model/promoteObjectIDs.ts +3 -3
- package/lite/model/queryType.ts +1 -1
- package/lite/model/reRankingApplyFilter.ts +1 -1
- package/lite/model/redirectRuleIndexMetadata.ts +1 -1
- package/lite/model/redirectRuleIndexMetadataData.ts +1 -1
- package/lite/model/removeStopWords.ts +1 -1
- package/lite/model/removeWordsIfNoResults.ts +1 -1
- package/lite/model/renderingContent.ts +1 -1
- package/lite/model/rule.ts +5 -5
- package/lite/model/searchForFacetValuesResponse.ts +7 -0
- package/lite/model/searchForFacetsOptions.ts +3 -3
- package/lite/model/searchForHitsOptions.ts +1 -1
- package/lite/model/searchParamsQuery.ts +1 -1
- package/lite/model/searchParamsString.ts +1 -1
- package/lite/model/searchResponses.ts +2 -2
- package/lite/model/searchResult.ts +8 -0
- package/lite/model/searchStrategy.ts +3 -0
- package/lite/model/searchSynonymsResponse.ts +2 -2
- package/lite/model/searchTypeDefault.ts +1 -1
- package/lite/model/searchTypeFacet.ts +1 -1
- package/lite/model/snippetResultOption.ts +1 -1
- package/lite/model/sortRemainingBy.ts +1 -1
- package/lite/model/source.ts +3 -3
- package/lite/model/standardEntries.ts +4 -4
- package/lite/model/synonymHit.ts +6 -6
- package/lite/model/synonymType.ts +1 -1
- package/lite/model/tagFilters.ts +1 -1
- package/lite/model/taskStatus.ts +3 -0
- package/lite/model/typoTolerance.ts +1 -1
- package/lite/model/updatedRuleResponse.ts +3 -3
- package/lite/model/userId.ts +2 -2
- package/lite/src/liteClient.ts +6 -6
- package/package.json +15 -14
|
@@ -1,58 +1,58 @@
|
|
|
1
1
|
export type Variant = {
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Variant\'s [average click position](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-position).
|
|
4
4
|
*/
|
|
5
5
|
averageClickPosition: number;
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Number of click events for this variant.
|
|
8
8
|
*/
|
|
9
9
|
clickCount: number;
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Variant\'s [click-through rate](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-through-rate).
|
|
12
12
|
*/
|
|
13
13
|
clickThroughRate: number;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Number of click events for this variant.
|
|
16
16
|
*/
|
|
17
17
|
conversionCount: number;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Variant\'s [conversion rate](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#conversion-rate).
|
|
20
20
|
*/
|
|
21
21
|
conversionRate: number;
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* A/B test description.
|
|
24
24
|
*/
|
|
25
25
|
description: string;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* A/B test index.
|
|
28
28
|
*/
|
|
29
29
|
index: string;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* Number of [searches without results](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#searches-without-results) for that variant.
|
|
32
32
|
*/
|
|
33
33
|
noResultCount: number;
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* Number of tracked searches attributed to [outlier traffic](https://www.algolia.com/doc/guides/ab-testing/how-to-read-your-a-b-test-results/#is-the-split-off) that were removed from the A/B test. A _tracked_ search is a search request where the `clickAnalytics` parameter is `true`.
|
|
36
36
|
*/
|
|
37
37
|
outlierTrackedSearchesCount: number;
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
39
|
+
* Number of users attributed to [outlier traffic](https://www.algolia.com/doc/guides/ab-testing/how-to-read-your-a-b-test-results/#is-the-split-off) that were removed from the A/B test.
|
|
40
40
|
*/
|
|
41
41
|
outlierUsersCount: number;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* Number of searches carried out during the A/B test.
|
|
44
44
|
*/
|
|
45
45
|
searchCount: number;
|
|
46
46
|
/**
|
|
47
|
-
*
|
|
47
|
+
* Number of tracked searches. This is the number of search requests where the `clickAnalytics` parameter is `true`.
|
|
48
48
|
*/
|
|
49
49
|
trackedSearchCount: number;
|
|
50
50
|
/**
|
|
51
|
-
*
|
|
51
|
+
* A/B test traffic percentage.
|
|
52
52
|
*/
|
|
53
53
|
trafficPercentage: number;
|
|
54
54
|
/**
|
|
55
|
-
*
|
|
55
|
+
* Number of users during the A/B test.
|
|
56
56
|
*/
|
|
57
57
|
userCount: number;
|
|
58
58
|
};
|
|
@@ -4,7 +4,7 @@ import type { ABTestResponse } from '../model/aBTestResponse';
|
|
|
4
4
|
import type { AddABTestsRequest } from '../model/addABTestsRequest';
|
|
5
5
|
import type { DelProps, DeleteABTestProps, GetProps, GetABTestProps, ListABTestsProps, PostProps, PutProps, StopABTestProps } from '../model/clientMethodProps';
|
|
6
6
|
import type { ListABTestsResponse } from '../model/listABTestsResponse';
|
|
7
|
-
export declare const apiClientVersion = "5.0.0-alpha.
|
|
7
|
+
export declare const apiClientVersion = "5.0.0-alpha.76";
|
|
8
8
|
export declare const REGIONS: readonly ["de", "us"];
|
|
9
9
|
export type Region = (typeof REGIONS)[number];
|
|
10
10
|
export declare function createAbtestingClient({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, region: regionOption, ...options }: CreateClientOptions & {
|
|
@@ -31,9 +31,9 @@ export declare function createAbtestingClient({ appId: appIdOption, apiKey: apiK
|
|
|
31
31
|
*/
|
|
32
32
|
addAlgoliaAgent(segment: string, version?: string): void;
|
|
33
33
|
/**
|
|
34
|
-
* Creates
|
|
34
|
+
* Creates an A/B test.
|
|
35
35
|
*
|
|
36
|
-
* @summary Create
|
|
36
|
+
* @summary Create an A/B test.
|
|
37
37
|
* @param addABTestsRequest - The addABTestsRequest object.
|
|
38
38
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
39
39
|
*/
|
|
@@ -43,17 +43,17 @@ export declare function createAbtestingClient({ appId: appIdOption, apiKey: apiK
|
|
|
43
43
|
*
|
|
44
44
|
* @summary Send requests to the Algolia REST API.
|
|
45
45
|
* @param del - The del object.
|
|
46
|
-
* @param del.path -
|
|
47
|
-
* @param del.parameters - Query parameters to
|
|
46
|
+
* @param del.path - Path of the endpoint, anything after \"/1\" must be specified.
|
|
47
|
+
* @param del.parameters - Query parameters to apply to the current query.
|
|
48
48
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
49
49
|
*/
|
|
50
50
|
del({ path, parameters }: DelProps, requestOptions?: RequestOptions): Promise<Record<string, any>>;
|
|
51
51
|
/**
|
|
52
|
-
* Delete
|
|
52
|
+
* Delete an A/B test. To determine the `id` for an A/B test, use the [`listABTests` operation](#tag/abtest/operation/listABTests).
|
|
53
53
|
*
|
|
54
|
-
* @summary Delete
|
|
54
|
+
* @summary Delete an A/B test.
|
|
55
55
|
* @param deleteABTest - The deleteABTest object.
|
|
56
|
-
* @param deleteABTest.id -
|
|
56
|
+
* @param deleteABTest.id - Unique A/B test ID.
|
|
57
57
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
58
58
|
*/
|
|
59
59
|
deleteABTest({ id }: DeleteABTestProps, requestOptions?: RequestOptions): Promise<ABTestResponse>;
|
|
@@ -62,29 +62,29 @@ export declare function createAbtestingClient({ appId: appIdOption, apiKey: apiK
|
|
|
62
62
|
*
|
|
63
63
|
* @summary Send requests to the Algolia REST API.
|
|
64
64
|
* @param get - The get object.
|
|
65
|
-
* @param get.path -
|
|
66
|
-
* @param get.parameters - Query parameters to
|
|
65
|
+
* @param get.path - Path of the endpoint, anything after \"/1\" must be specified.
|
|
66
|
+
* @param get.parameters - Query parameters to apply to the current query.
|
|
67
67
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
68
68
|
*/
|
|
69
69
|
get({ path, parameters }: GetProps, requestOptions?: RequestOptions): Promise<Record<string, any>>;
|
|
70
70
|
/**
|
|
71
|
-
*
|
|
71
|
+
* Get specific details for an A/B test. To determine the `id` for an A/B test, use the [`listABTests` operation](#tag/abtest/operation/listABTests).
|
|
72
72
|
*
|
|
73
|
-
* @summary Get
|
|
73
|
+
* @summary Get A/B test details.
|
|
74
74
|
* @param getABTest - The getABTest object.
|
|
75
|
-
* @param getABTest.id -
|
|
75
|
+
* @param getABTest.id - Unique A/B test ID.
|
|
76
76
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
77
77
|
*/
|
|
78
78
|
getABTest({ id }: GetABTestProps, requestOptions?: RequestOptions): Promise<ABTest>;
|
|
79
79
|
/**
|
|
80
|
-
*
|
|
80
|
+
* List all A/B tests.
|
|
81
81
|
*
|
|
82
|
-
* @summary List all tests.
|
|
82
|
+
* @summary List all A/B tests.
|
|
83
83
|
* @param listABTests - The listABTests object.
|
|
84
84
|
* @param listABTests.offset - Position of the starting record. Used for paging. 0 is the first record.
|
|
85
|
-
* @param listABTests.limit - Number of records to return
|
|
86
|
-
* @param listABTests.indexPrefix -
|
|
87
|
-
* @param listABTests.indexSuffix -
|
|
85
|
+
* @param listABTests.limit - Number of records to return (page size).
|
|
86
|
+
* @param listABTests.indexPrefix - Only return A/B tests for indices starting with this prefix.
|
|
87
|
+
* @param listABTests.indexSuffix - Only return A/B tests for indices ending with this suffix.
|
|
88
88
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
89
89
|
*/
|
|
90
90
|
listABTests({ offset, limit, indexPrefix, indexSuffix }?: ListABTestsProps, requestOptions?: RequestOptions | undefined): Promise<ListABTestsResponse>;
|
|
@@ -93,9 +93,9 @@ export declare function createAbtestingClient({ appId: appIdOption, apiKey: apiK
|
|
|
93
93
|
*
|
|
94
94
|
* @summary Send requests to the Algolia REST API.
|
|
95
95
|
* @param post - The post object.
|
|
96
|
-
* @param post.path -
|
|
97
|
-
* @param post.parameters - Query parameters to
|
|
98
|
-
* @param post.body -
|
|
96
|
+
* @param post.path - Path of the endpoint, anything after \"/1\" must be specified.
|
|
97
|
+
* @param post.parameters - Query parameters to apply to the current query.
|
|
98
|
+
* @param post.body - Parameters to send with the custom request.
|
|
99
99
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
100
100
|
*/
|
|
101
101
|
post({ path, parameters, body }: PostProps, requestOptions?: RequestOptions): Promise<Record<string, any>>;
|
|
@@ -104,18 +104,18 @@ export declare function createAbtestingClient({ appId: appIdOption, apiKey: apiK
|
|
|
104
104
|
*
|
|
105
105
|
* @summary Send requests to the Algolia REST API.
|
|
106
106
|
* @param put - The put object.
|
|
107
|
-
* @param put.path -
|
|
108
|
-
* @param put.parameters - Query parameters to
|
|
109
|
-
* @param put.body -
|
|
107
|
+
* @param put.path - Path of the endpoint, anything after \"/1\" must be specified.
|
|
108
|
+
* @param put.parameters - Query parameters to apply to the current query.
|
|
109
|
+
* @param put.body - Parameters to send with the custom request.
|
|
110
110
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
111
111
|
*/
|
|
112
112
|
put({ path, parameters, body }: PutProps, requestOptions?: RequestOptions): Promise<Record<string, any>>;
|
|
113
113
|
/**
|
|
114
|
-
*
|
|
114
|
+
* If stopped, the test is over and can\'t be restarted. There is now only one index, receiving 100% of all search requests. The data gathered for stopped A/B tests is retained. To determine the `id` for an A/B test, use the [`listABTests` operation](#tag/abtest/operation/listABTests).
|
|
115
115
|
*
|
|
116
|
-
* @summary Stop
|
|
116
|
+
* @summary Stop an A/B test.
|
|
117
117
|
* @param stopABTest - The stopABTest object.
|
|
118
|
-
* @param stopABTest.id -
|
|
118
|
+
* @param stopABTest.id - Unique A/B test ID.
|
|
119
119
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
120
120
|
*/
|
|
121
121
|
stopABTest({ id }: StopABTestProps, requestOptions?: RequestOptions): Promise<ABTestResponse>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
export type AverageClickEvent = {
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Average count of all click events.
|
|
4
4
|
*/
|
|
5
5
|
average: number;
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Number of click events.
|
|
8
8
|
*/
|
|
9
9
|
clickCount: number;
|
|
10
10
|
/**
|
|
11
|
-
* Date of the event.
|
|
11
|
+
* Date of the event in the format YYYY-MM-DD.
|
|
12
12
|
*/
|
|
13
13
|
date: string;
|
|
14
14
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export type ClickPosition = {
|
|
2
2
|
/**
|
|
3
|
-
* Range of positions with the following pattern: -
|
|
3
|
+
* Range of positions with the following pattern: - For positions 1 to 10, the number of click events are shown for each position - For positions 11 to 20, all click events are grouped - For positions 21 and up, all click events are grouped.
|
|
4
4
|
*/
|
|
5
5
|
position: number[];
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Number of click events.
|
|
8
8
|
*/
|
|
9
9
|
clickCount: number;
|
|
10
10
|
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
export type ClickThroughRateEvent = {
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* [Click-through rate (CTR)](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-through-rate).
|
|
4
4
|
*/
|
|
5
5
|
rate: number;
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Number of click events.
|
|
8
8
|
*/
|
|
9
9
|
clickCount: number;
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Number of tracked searches. This is the number of search requests where the `clickAnalytics` parameter is `true`.
|
|
12
12
|
*/
|
|
13
13
|
trackedSearchCount: number;
|
|
14
14
|
/**
|
|
15
|
-
* Date of the event.
|
|
15
|
+
* Date of the event in the format YYYY-MM-DD.
|
|
16
16
|
*/
|
|
17
17
|
date: string;
|
|
18
18
|
};
|