algoliasearch 5.0.0-beta.9 → 5.0.0
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/models.ts +6 -4
- package/dist/algoliasearch/builds/browser.d.ts +4 -4
- package/dist/algoliasearch/builds/browser.d.ts.map +1 -1
- package/dist/algoliasearch/builds/models.d.ts +2 -2
- package/dist/algoliasearch/builds/models.d.ts.map +1 -1
- package/dist/algoliasearch/builds/node.d.ts +4 -4
- package/dist/algoliasearch/builds/node.d.ts.map +1 -1
- package/dist/algoliasearch.cjs +13 -8
- package/dist/algoliasearch.esm.browser.js +13 -8
- package/dist/algoliasearch.esm.node.js +13 -8
- package/dist/algoliasearch.umd.js +2 -2
- package/dist/client-abtesting/model/{filterEffectsEmptySearch.d.ts → emptySearchFilter.d.ts} +2 -2
- package/dist/client-abtesting/model/emptySearchFilter.d.ts.map +1 -0
- package/dist/client-abtesting/model/filterEffects.d.ts +4 -4
- package/dist/client-abtesting/model/filterEffects.d.ts.map +1 -1
- package/dist/client-abtesting/model/index.d.ts +2 -2
- package/dist/client-abtesting/model/index.d.ts.map +1 -1
- package/dist/client-abtesting/model/{filterEffectsOutliers.d.ts → outliersFilter.d.ts} +2 -2
- package/dist/client-abtesting/model/outliersFilter.d.ts.map +1 -0
- package/dist/client-abtesting/src/abtestingClient.d.ts +1 -1
- package/dist/client-abtesting/src/abtestingClient.d.ts.map +1 -1
- package/dist/client-analytics/model/{clickPositionsInner.d.ts → clickPosition.d.ts} +2 -2
- package/dist/client-analytics/model/clickPosition.d.ts.map +1 -0
- package/dist/client-analytics/model/getClickPositionsResponse.d.ts +2 -2
- package/dist/client-analytics/model/getClickPositionsResponse.d.ts.map +1 -1
- package/dist/client-analytics/model/index.d.ts +1 -1
- package/dist/client-analytics/model/index.d.ts.map +1 -1
- package/dist/client-analytics/model/topSearchWithAnalytics.d.ts +2 -2
- package/dist/client-analytics/model/topSearchWithAnalytics.d.ts.map +1 -1
- package/dist/client-analytics/model/topSearchWithRevenueAnalytics.d.ts +2 -2
- package/dist/client-analytics/model/topSearchWithRevenueAnalytics.d.ts.map +1 -1
- package/dist/client-analytics/src/analyticsClient.d.ts +1 -1
- package/dist/client-analytics/src/analyticsClient.d.ts.map +1 -1
- package/dist/client-personalization/src/personalizationClient.d.ts +1 -1
- package/dist/client-personalization/src/personalizationClient.d.ts.map +1 -1
- package/dist/client-search/model/aroundPrecision.d.ts +2 -2
- package/dist/client-search/model/aroundPrecision.d.ts.map +1 -1
- package/dist/client-search/model/baseIndexSettings.d.ts +1 -1
- package/dist/client-search/model/baseSearchResponse.d.ts +0 -16
- package/dist/client-search/model/baseSearchResponse.d.ts.map +1 -1
- package/dist/client-search/model/browsePagination.d.ts +19 -0
- package/dist/client-search/model/browsePagination.d.ts.map +1 -0
- package/dist/client-search/model/browseResponse.d.ts +2 -1
- package/dist/client-search/model/browseResponse.d.ts.map +1 -1
- package/dist/client-search/model/builtInOperation.d.ts +2 -4
- package/dist/client-search/model/builtInOperation.d.ts.map +1 -1
- package/dist/client-search/model/builtInOperationValue.d.ts +2 -0
- package/dist/client-search/model/builtInOperationValue.d.ts.map +1 -0
- package/dist/client-search/model/dictionaryEntry.d.ts +3 -1
- package/dist/client-search/model/dictionaryEntry.d.ts.map +1 -1
- package/dist/client-search/model/dictionaryEntryType.d.ts +5 -0
- package/dist/client-search/model/dictionaryEntryType.d.ts.map +1 -0
- package/dist/client-search/model/highlightResult.d.ts +3 -1
- package/dist/client-search/model/highlightResult.d.ts.map +1 -1
- package/dist/client-search/model/index.d.ts +8 -2
- package/dist/client-search/model/index.d.ts.map +1 -1
- package/dist/client-search/model/indexSettingsAsSearchParams.d.ts +1 -1
- package/dist/client-search/model/multipleBatchRequest.d.ts +1 -1
- package/dist/client-search/model/multipleBatchRequest.d.ts.map +1 -1
- package/dist/{recommend/model/aroundPrecisionFromValueInner.d.ts → client-search/model/range.d.ts} +2 -2
- package/dist/client-search/model/range.d.ts.map +1 -0
- package/dist/client-search/model/redirectRuleIndexData.d.ts +7 -0
- package/dist/client-search/model/redirectRuleIndexData.d.ts.map +1 -0
- package/dist/client-search/model/redirectRuleIndexMetadata.d.ts +2 -2
- package/dist/client-search/model/redirectRuleIndexMetadata.d.ts.map +1 -1
- package/dist/client-search/model/searchPagination.d.ts +19 -0
- package/dist/client-search/model/searchPagination.d.ts.map +1 -0
- package/dist/client-search/model/searchParamsString.d.ts +3 -0
- package/dist/client-search/model/searchParamsString.d.ts.map +1 -1
- package/dist/client-search/model/searchResponse.d.ts +2 -1
- package/dist/client-search/model/searchResponse.d.ts.map +1 -1
- package/dist/client-search/model/settingsResponse.d.ts +4 -0
- package/dist/client-search/model/settingsResponse.d.ts.map +1 -0
- package/dist/client-search/model/snippetResult.d.ts +3 -1
- package/dist/client-search/model/snippetResult.d.ts.map +1 -1
- package/dist/client-search/model/withPrimary.d.ts +7 -0
- package/dist/client-search/model/withPrimary.d.ts.map +1 -0
- package/dist/client-search/src/searchClient.d.ts +7 -7
- package/dist/client-search/src/searchClient.d.ts.map +1 -1
- package/dist/lite/lite.cjs +1 -1
- package/dist/lite/lite.esm.browser.js +1 -1
- package/dist/lite/lite.esm.node.js +1 -1
- package/dist/lite/lite.umd.js +2 -2
- package/dist/lite/model/aroundPrecision.d.ts +2 -2
- package/dist/lite/model/aroundPrecision.d.ts.map +1 -1
- package/dist/lite/model/baseIndexSettings.d.ts +1 -1
- package/dist/lite/model/baseSearchResponse.d.ts +0 -16
- package/dist/lite/model/baseSearchResponse.d.ts.map +1 -1
- package/dist/lite/model/browsePagination.d.ts +19 -0
- package/dist/lite/model/browsePagination.d.ts.map +1 -0
- package/dist/lite/model/browseResponse.d.ts +2 -1
- package/dist/lite/model/browseResponse.d.ts.map +1 -1
- package/dist/lite/model/getRecommendationsResponse.d.ts +1 -1
- package/dist/lite/model/getRecommendationsResponse.d.ts.map +1 -1
- package/dist/lite/model/highlightResult.d.ts +3 -1
- package/dist/lite/model/highlightResult.d.ts.map +1 -1
- package/dist/lite/model/index.d.ts +6 -2
- package/dist/lite/model/index.d.ts.map +1 -1
- package/dist/lite/model/indexSettingsAsSearchParams.d.ts +1 -1
- package/dist/lite/model/{aroundPrecisionFromValueInner.d.ts → range.d.ts} +2 -2
- package/dist/lite/model/range.d.ts.map +1 -0
- package/dist/lite/model/recommendationsResults.d.ts +2 -1
- package/dist/lite/model/recommendationsResults.d.ts.map +1 -1
- package/dist/lite/model/redirectRuleIndexData.d.ts +7 -0
- package/dist/lite/model/redirectRuleIndexData.d.ts.map +1 -0
- package/dist/lite/model/redirectRuleIndexMetadata.d.ts +2 -2
- package/dist/lite/model/redirectRuleIndexMetadata.d.ts.map +1 -1
- package/dist/lite/model/searchPagination.d.ts +19 -0
- package/dist/lite/model/searchPagination.d.ts.map +1 -0
- package/dist/lite/model/searchResponse.d.ts +2 -1
- package/dist/lite/model/searchResponse.d.ts.map +1 -1
- package/dist/lite/model/settingsResponse.d.ts +4 -0
- package/dist/lite/model/settingsResponse.d.ts.map +1 -0
- package/dist/lite/model/snippetResult.d.ts +3 -1
- package/dist/lite/model/snippetResult.d.ts.map +1 -1
- package/dist/lite/model/trendingItems.d.ts +2 -2
- package/dist/lite/model/trendingItems.d.ts.map +1 -1
- package/dist/lite/model/withPrimary.d.ts +7 -0
- package/dist/lite/model/withPrimary.d.ts.map +1 -0
- package/dist/lite/src/liteClient.d.ts +1 -1
- package/dist/lite/src/liteClient.d.ts.map +1 -1
- package/dist/recommend/model/aroundPrecision.d.ts +2 -2
- package/dist/recommend/model/aroundPrecision.d.ts.map +1 -1
- package/dist/recommend/model/baseSearchResponse.d.ts +0 -16
- package/dist/recommend/model/baseSearchResponse.d.ts.map +1 -1
- package/dist/recommend/model/getRecommendationsResponse.d.ts +1 -1
- package/dist/recommend/model/getRecommendationsResponse.d.ts.map +1 -1
- package/dist/recommend/model/highlightResult.d.ts +3 -1
- package/dist/recommend/model/highlightResult.d.ts.map +1 -1
- package/dist/recommend/model/index.d.ts +4 -3
- package/dist/recommend/model/index.d.ts.map +1 -1
- package/dist/recommend/model/indexSettingsAsSearchParams.d.ts +1 -1
- package/dist/{client-search/model/aroundPrecisionFromValueInner.d.ts → recommend/model/range.d.ts} +2 -2
- package/dist/recommend/model/range.d.ts.map +1 -0
- package/dist/recommend/model/recommendRule.d.ts +2 -2
- package/dist/recommend/model/recommendRule.d.ts.map +1 -1
- package/dist/recommend/model/recommendationsResults.d.ts +2 -1
- package/dist/recommend/model/recommendationsResults.d.ts.map +1 -1
- package/dist/recommend/model/redirectRuleIndexData.d.ts +7 -0
- package/dist/recommend/model/redirectRuleIndexData.d.ts.map +1 -0
- package/dist/recommend/model/redirectRuleIndexMetadata.d.ts +2 -2
- package/dist/recommend/model/redirectRuleIndexMetadata.d.ts.map +1 -1
- package/dist/recommend/model/{recommendRuleMetadata.d.ts → ruleMetadata.d.ts} +2 -2
- package/dist/recommend/model/ruleMetadata.d.ts.map +1 -0
- package/dist/recommend/model/searchPagination.d.ts +19 -0
- package/dist/recommend/model/searchPagination.d.ts.map +1 -0
- package/dist/recommend/model/snippetResult.d.ts +3 -1
- package/dist/recommend/model/snippetResult.d.ts.map +1 -1
- package/dist/recommend/model/trendingItems.d.ts +2 -2
- package/dist/recommend/model/trendingItems.d.ts.map +1 -1
- package/dist/recommend/src/recommendClient.d.ts +1 -1
- package/dist/recommend/src/recommendClient.d.ts.map +1 -1
- package/lite/model/aroundPrecision.ts +2 -2
- package/lite/model/baseIndexSettings.ts +1 -1
- package/lite/model/baseSearchResponse.ts +0 -20
- package/lite/model/browsePagination.ts +23 -0
- package/lite/model/browseResponse.ts +2 -0
- package/lite/model/getRecommendationsResponse.ts +1 -1
- package/lite/model/highlightResult.ts +2 -1
- package/lite/model/index.ts +6 -2
- package/lite/model/indexSettingsAsSearchParams.ts +1 -1
- package/lite/model/{aroundPrecisionFromValueInner.ts → range.ts} +1 -1
- package/lite/model/recommendationsResults.ts +4 -1
- package/lite/model/{redirectRuleIndexMetadataData.ts → redirectRuleIndexData.ts} +1 -1
- package/lite/model/redirectRuleIndexMetadata.ts +2 -2
- package/lite/model/searchPagination.ts +23 -0
- package/lite/model/searchResponse.ts +3 -1
- package/lite/model/settingsResponse.ts +6 -0
- package/lite/model/snippetResult.ts +2 -1
- package/lite/model/trendingItems.ts +2 -2
- package/lite/model/withPrimary.ts +8 -0
- package/lite/src/liteClient.ts +1 -1
- package/package.json +13 -13
- package/dist/client-abtesting/model/filterEffectsEmptySearch.d.ts.map +0 -1
- package/dist/client-abtesting/model/filterEffectsOutliers.d.ts.map +0 -1
- package/dist/client-analytics/model/clickPositionsInner.d.ts.map +0 -1
- package/dist/client-search/model/aroundPrecisionFromValueInner.d.ts.map +0 -1
- package/dist/client-search/model/redirectRuleIndexMetadataData.d.ts +0 -7
- package/dist/client-search/model/redirectRuleIndexMetadataData.d.ts.map +0 -1
- package/dist/lite/model/aroundPrecisionFromValueInner.d.ts.map +0 -1
- package/dist/lite/model/redirectRuleIndexMetadataData.d.ts +0 -7
- package/dist/lite/model/redirectRuleIndexMetadataData.d.ts.map +0 -1
- package/dist/recommend/model/aroundPrecisionFromValueInner.d.ts.map +0 -1
- package/dist/recommend/model/recommendRuleMetadata.d.ts.map +0 -1
- package/dist/recommend/model/redirectRuleIndexMetadataData.d.ts +0 -7
- package/dist/recommend/model/redirectRuleIndexMetadataData.d.ts.map +0 -1
package/builds/models.ts
CHANGED
|
@@ -6,7 +6,6 @@ import {
|
|
|
6
6
|
AlternativesAsExact,
|
|
7
7
|
Anchoring,
|
|
8
8
|
AroundPrecision,
|
|
9
|
-
AroundPrecisionFromValueInner,
|
|
10
9
|
AroundRadius,
|
|
11
10
|
AroundRadiusAll,
|
|
12
11
|
AutomaticFacetFilter,
|
|
@@ -50,15 +49,17 @@ import {
|
|
|
50
49
|
PromoteObjectID,
|
|
51
50
|
PromoteObjectIDs,
|
|
52
51
|
QueryType,
|
|
52
|
+
Range,
|
|
53
53
|
RankingInfo,
|
|
54
54
|
ReRankingApplyFilter,
|
|
55
55
|
Redirect,
|
|
56
56
|
RedirectRuleIndexMetadata,
|
|
57
|
-
|
|
57
|
+
RedirectRuleIndexData,
|
|
58
58
|
RedirectURL,
|
|
59
59
|
RemoveStopWords,
|
|
60
60
|
RemoveWordsIfNoResults,
|
|
61
61
|
RenderingContent,
|
|
62
|
+
SearchPagination,
|
|
62
63
|
SearchParams,
|
|
63
64
|
SearchParamsObject,
|
|
64
65
|
SearchParamsQuery,
|
|
@@ -91,7 +92,6 @@ export {
|
|
|
91
92
|
AlternativesAsExact,
|
|
92
93
|
Anchoring,
|
|
93
94
|
AroundPrecision,
|
|
94
|
-
AroundPrecisionFromValueInner,
|
|
95
95
|
AroundRadius,
|
|
96
96
|
AroundRadiusAll,
|
|
97
97
|
AutomaticFacetFilter,
|
|
@@ -135,11 +135,12 @@ export {
|
|
|
135
135
|
PromoteObjectID,
|
|
136
136
|
PromoteObjectIDs,
|
|
137
137
|
QueryType,
|
|
138
|
+
Range,
|
|
138
139
|
RankingInfo,
|
|
139
140
|
ReRankingApplyFilter,
|
|
140
141
|
Redirect,
|
|
141
142
|
RedirectRuleIndexMetadata,
|
|
142
|
-
|
|
143
|
+
RedirectRuleIndexData,
|
|
143
144
|
RedirectURL,
|
|
144
145
|
RemoveStopWords,
|
|
145
146
|
RemoveWordsIfNoResults,
|
|
@@ -148,6 +149,7 @@ export {
|
|
|
148
149
|
SearchParamsObject,
|
|
149
150
|
SearchParamsQuery,
|
|
150
151
|
SemanticSearch,
|
|
152
|
+
SearchPagination,
|
|
151
153
|
SnippetResult,
|
|
152
154
|
SnippetResultOption,
|
|
153
155
|
SortRemainingBy,
|
|
@@ -8,7 +8,7 @@ import type { Region as PersonalizationRegion } from '@algolia/client-personaliz
|
|
|
8
8
|
import type { RecommendClient } from '@algolia/recommend';
|
|
9
9
|
import type { InitClientOptions, InitClientRegion } from './models';
|
|
10
10
|
export * from './models';
|
|
11
|
-
export declare const apiClientVersion = "5.0.0
|
|
11
|
+
export declare const apiClientVersion = "5.0.0";
|
|
12
12
|
/**
|
|
13
13
|
* The client type.
|
|
14
14
|
*/
|
|
@@ -25,7 +25,7 @@ export declare function algoliasearch(appId: string, apiKey: string, options?: C
|
|
|
25
25
|
addAlgoliaAgent(segment: string, version?: string): void;
|
|
26
26
|
waitForTask({ indexName, taskID, maxRetries, timeout, }: import("@algolia/client-search/model/clientMethodProps").WaitForTaskOptions, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("@algolia/client-search/model/getTaskResponse").GetTaskResponse>;
|
|
27
27
|
waitForAppTask({ taskID, maxRetries, timeout, }: import("@algolia/client-search/model/clientMethodProps").WaitForAppTaskOptions, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("@algolia/client-search/model/getTaskResponse").GetTaskResponse>;
|
|
28
|
-
waitForApiKey({ operation, key, apiKey, maxRetries, timeout, }: import("@algolia/client-search/model/clientMethodProps").WaitForApiKeyOptions, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("@algolia/client-
|
|
28
|
+
waitForApiKey({ operation, key, apiKey, maxRetries, timeout, }: import("@algolia/client-search/model/clientMethodProps").WaitForApiKeyOptions, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("@algolia/client-search/model/getApiKeyResponse").GetApiKeyResponse | undefined>;
|
|
29
29
|
browseObjects<T>({ indexName, browseParams, ...browseObjectsOptions }: import("@algolia/client-search/model/clientMethodProps").BrowseOptions<import("@algolia/client-search/model/browseResponse").BrowseResponse<T>> & import("@algolia/client-search/model/clientMethodProps").BrowseProps, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("@algolia/client-search/model/browseResponse").BrowseResponse<T>>;
|
|
30
30
|
browseRules({ indexName, searchRulesParams, ...browseRulesOptions }: import("@algolia/client-search/model/clientMethodProps").BrowseOptions<import("@algolia/client-search/model/searchRulesResponse").SearchRulesResponse> & import("@algolia/client-search/model/clientMethodProps").SearchRulesProps, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("@algolia/client-search/model/searchRulesResponse").SearchRulesResponse>;
|
|
31
31
|
browseSynonyms({ indexName, searchSynonymsParams, ...browseSynonymsOptions }: import("@algolia/client-search/model/clientMethodProps").BrowseOptions<import("@algolia/client-search/model/searchSynonymsResponse").SearchSynonymsResponse> & import("@algolia/client-search/model/clientMethodProps").SearchSynonymsProps, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("@algolia/client-search/model/searchSynonymsResponse").SearchSynonymsResponse>;
|
|
@@ -67,10 +67,10 @@ export declare function algoliasearch(appId: string, apiKey: string, options?: C
|
|
|
67
67
|
getDictionaryLanguages(requestOptions?: import("@algolia/client-common").RequestOptions): Promise<Record<string, import("@algolia/client-search/model/languages").Languages>>;
|
|
68
68
|
getDictionarySettings(requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("@algolia/client-search/model/getDictionarySettingsResponse").GetDictionarySettingsResponse>;
|
|
69
69
|
getLogs({ offset, length, indexName, type }?: import("@algolia/client-search/model/clientMethodProps").GetLogsProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<import("@algolia/client-search/model/getLogsResponse").GetLogsResponse>;
|
|
70
|
-
getObject({ indexName, objectID, attributesToRetrieve }: import("@algolia/client-search/model/clientMethodProps").GetObjectProps, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<Record<string,
|
|
70
|
+
getObject({ indexName, objectID, attributesToRetrieve }: import("@algolia/client-search/model/clientMethodProps").GetObjectProps, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<Record<string, any>>;
|
|
71
71
|
getObjects<T>(getObjectsParams: import("@algolia/client-search/model/getObjectsParams").GetObjectsParams, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("@algolia/client-search/model/getObjectsResponse").GetObjectsResponse<T>>;
|
|
72
72
|
getRule({ indexName, objectID }: import("@algolia/client-search/model/clientMethodProps").GetRuleProps, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("@algolia/client-search/model/rule").Rule>;
|
|
73
|
-
getSettings({ indexName }: import("@algolia/client-search/model/clientMethodProps").GetSettingsProps, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("@algolia/client-search/model/
|
|
73
|
+
getSettings({ indexName }: import("@algolia/client-search/model/clientMethodProps").GetSettingsProps, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("@algolia/client-search/model/settingsResponse").SettingsResponse>;
|
|
74
74
|
getSources(requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("@algolia/client-search/model/source").Source[]>;
|
|
75
75
|
getSynonym({ indexName, objectID }: import("@algolia/client-search/model/clientMethodProps").GetSynonymProps, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("@algolia/client-search/model/synonymHit").SynonymHit>;
|
|
76
76
|
getTask({ indexName, taskID }: import("@algolia/client-search/model/clientMethodProps").GetTaskProps, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("@algolia/client-search/model/getTaskResponse").GetTaskResponse>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"browser.d.ts","sourceRoot":"","sources":["../../../builds/browser.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,KAAK,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,+CAA+C,CAAC;AAK/F,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAKjE,OAAO,KAAK,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,+CAA+C,CAAC;AAS/F,OAAO,KAAK,EACV,aAAa,EAEd,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAC7E,OAAO,KAAK,EAAE,MAAM,IAAI,qBAAqB,EAAE,MAAM,2DAA2D,CAAC;AASjH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAI1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEpE,c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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmF7E"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ClientOptions } from '@algolia/client-common';
|
|
2
|
-
import { AdvancedSyntaxFeatures, AlternativesAsExact, Anchoring, AroundPrecision,
|
|
2
|
+
import { AdvancedSyntaxFeatures, AlternativesAsExact, Anchoring, AroundPrecision, AroundRadius, AroundRadiusAll, AutomaticFacetFilter, AutomaticFacetFilters, BaseSearchParams, BaseSearchParamsWithoutQuery, BaseSearchResponse, Condition, Consequence, ConsequenceHide, ConsequenceParams, ConsequenceQuery, ConsequenceQueryObject, CustomDeleteProps, CustomGetProps, CustomPostProps, CustomPutProps, DeletedAtResponse, Distinct, Edit, EditType, ErrorBase, ExactOnSingleWordQuery, Exhaustive, FacetFilters, FacetOrdering, Facets, FacetsStats, HighlightResult, HighlightResultOption, IgnorePlurals, IndexSettingsAsSearchParams, MatchLevel, MatchedGeoLocation, Mode, NumericFilters, OptionalFilters, Params, Personalization, Promote, PromoteObjectID, PromoteObjectIDs, QueryType, Range, RankingInfo, ReRankingApplyFilter, Redirect, RedirectRuleIndexMetadata, RedirectRuleIndexData, RedirectURL, RemoveStopWords, RemoveWordsIfNoResults, RenderingContent, SearchPagination, SearchParams, SearchParamsObject, SearchParamsQuery, SemanticSearch, SnippetResult, SnippetResultOption, SortRemainingBy, SupportedLanguage, TagFilters, TaskStatus, TypoTolerance, TypoToleranceEnum, Value } from '@algolia/client-search/model';
|
|
3
3
|
export * from '@algolia/client-search/model';
|
|
4
4
|
export * from '@algolia/recommend/model';
|
|
5
5
|
export * from '@algolia/client-personalization/model';
|
|
@@ -10,7 +10,7 @@ export { RecommendClient } from '@algolia/recommend';
|
|
|
10
10
|
export { PersonalizationClient } from '@algolia/client-personalization';
|
|
11
11
|
export { AnalyticsClient } from '@algolia/client-analytics';
|
|
12
12
|
export { AbtestingClient } from '@algolia/client-abtesting';
|
|
13
|
-
export { AdvancedSyntaxFeatures, AlternativesAsExact, Anchoring, AroundPrecision,
|
|
13
|
+
export { AdvancedSyntaxFeatures, AlternativesAsExact, Anchoring, AroundPrecision, AroundRadius, AroundRadiusAll, AutomaticFacetFilter, AutomaticFacetFilters, BaseSearchParams, BaseSearchParamsWithoutQuery, BaseSearchResponse, Condition, Consequence, ConsequenceHide, ConsequenceParams, ConsequenceQuery, ConsequenceQueryObject, CustomDeleteProps, CustomGetProps, CustomPostProps, CustomPutProps, DeletedAtResponse, Distinct, Edit, EditType, ErrorBase, ExactOnSingleWordQuery, Exhaustive, FacetFilters, FacetOrdering, Facets, FacetsStats, HighlightResult, HighlightResultOption, IgnorePlurals, IndexSettingsAsSearchParams, MatchLevel, MatchedGeoLocation, Mode, NumericFilters, OptionalFilters, Params, Personalization, Promote, PromoteObjectID, PromoteObjectIDs, QueryType, Range, RankingInfo, ReRankingApplyFilter, Redirect, RedirectRuleIndexMetadata, RedirectRuleIndexData, RedirectURL, RemoveStopWords, RemoveWordsIfNoResults, RenderingContent, SearchParams, SearchParamsObject, SearchParamsQuery, SemanticSearch, SearchPagination, SnippetResult, SnippetResultOption, SortRemainingBy, SupportedLanguage, TagFilters, TaskStatus, TypoTolerance, TypoToleranceEnum, Value, };
|
|
14
14
|
/**
|
|
15
15
|
* Options forwarded to the client initialized via the `init` method.
|
|
16
16
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../../builds/models.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EACL,sBAAsB,EACtB,mBAAmB,EACnB,SAAS,EACT,eAAe,EACf,
|
|
1
|
+
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../../builds/models.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EACL,sBAAsB,EACtB,mBAAmB,EACnB,SAAS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,CAAC"}
|
|
@@ -8,7 +8,7 @@ import type { Region as PersonalizationRegion } from '@algolia/client-personaliz
|
|
|
8
8
|
import type { RecommendClient } from '@algolia/recommend';
|
|
9
9
|
import type { InitClientOptions, InitClientRegion, GenerateSecuredApiKeyOptions, GetSecuredApiKeyRemainingValidityOptions } from './models';
|
|
10
10
|
export * from './models';
|
|
11
|
-
export declare const apiClientVersion = "5.0.0
|
|
11
|
+
export declare const apiClientVersion = "5.0.0";
|
|
12
12
|
/**
|
|
13
13
|
* The client type.
|
|
14
14
|
*/
|
|
@@ -42,7 +42,7 @@ export declare function algoliasearch(appId: string, apiKey: string, options?: C
|
|
|
42
42
|
addAlgoliaAgent(segment: string, version?: string): void;
|
|
43
43
|
waitForTask({ indexName, taskID, maxRetries, timeout, }: import("@algolia/client-search/model/clientMethodProps").WaitForTaskOptions, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("@algolia/client-search/model/getTaskResponse").GetTaskResponse>;
|
|
44
44
|
waitForAppTask({ taskID, maxRetries, timeout, }: import("@algolia/client-search/model/clientMethodProps").WaitForAppTaskOptions, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("@algolia/client-search/model/getTaskResponse").GetTaskResponse>;
|
|
45
|
-
waitForApiKey({ operation, key, apiKey, maxRetries, timeout, }: import("@algolia/client-search/model/clientMethodProps").WaitForApiKeyOptions, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("@algolia/client-
|
|
45
|
+
waitForApiKey({ operation, key, apiKey, maxRetries, timeout, }: import("@algolia/client-search/model/clientMethodProps").WaitForApiKeyOptions, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("@algolia/client-search/model/getApiKeyResponse").GetApiKeyResponse | undefined>;
|
|
46
46
|
browseObjects<T>({ indexName, browseParams, ...browseObjectsOptions }: import("@algolia/client-search/model/clientMethodProps").BrowseOptions<import("@algolia/client-search/model/browseResponse").BrowseResponse<T>> & import("@algolia/client-search/model/clientMethodProps").BrowseProps, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("@algolia/client-search/model/browseResponse").BrowseResponse<T>>;
|
|
47
47
|
browseRules({ indexName, searchRulesParams, ...browseRulesOptions }: import("@algolia/client-search/model/clientMethodProps").BrowseOptions<import("@algolia/client-search/model/searchRulesResponse").SearchRulesResponse> & import("@algolia/client-search/model/clientMethodProps").SearchRulesProps, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("@algolia/client-search/model/searchRulesResponse").SearchRulesResponse>;
|
|
48
48
|
browseSynonyms({ indexName, searchSynonymsParams, ...browseSynonymsOptions }: import("@algolia/client-search/model/clientMethodProps").BrowseOptions<import("@algolia/client-search/model/searchSynonymsResponse").SearchSynonymsResponse> & import("@algolia/client-search/model/clientMethodProps").SearchSynonymsProps, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("@algolia/client-search/model/searchSynonymsResponse").SearchSynonymsResponse>;
|
|
@@ -84,10 +84,10 @@ export declare function algoliasearch(appId: string, apiKey: string, options?: C
|
|
|
84
84
|
getDictionaryLanguages(requestOptions?: import("@algolia/client-common").RequestOptions): Promise<Record<string, import("@algolia/client-search/model/languages").Languages>>;
|
|
85
85
|
getDictionarySettings(requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("@algolia/client-search/model/getDictionarySettingsResponse").GetDictionarySettingsResponse>;
|
|
86
86
|
getLogs({ offset, length, indexName, type }?: import("@algolia/client-search/model/clientMethodProps").GetLogsProps, requestOptions?: import("@algolia/client-common").RequestOptions | undefined): Promise<import("@algolia/client-search/model/getLogsResponse").GetLogsResponse>;
|
|
87
|
-
getObject({ indexName, objectID, attributesToRetrieve }: import("@algolia/client-search/model/clientMethodProps").GetObjectProps, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<Record<string,
|
|
87
|
+
getObject({ indexName, objectID, attributesToRetrieve }: import("@algolia/client-search/model/clientMethodProps").GetObjectProps, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<Record<string, any>>;
|
|
88
88
|
getObjects<T>(getObjectsParams: import("@algolia/client-search/model/getObjectsParams").GetObjectsParams, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("@algolia/client-search/model/getObjectsResponse").GetObjectsResponse<T>>;
|
|
89
89
|
getRule({ indexName, objectID }: import("@algolia/client-search/model/clientMethodProps").GetRuleProps, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("@algolia/client-search/model/rule").Rule>;
|
|
90
|
-
getSettings({ indexName }: import("@algolia/client-search/model/clientMethodProps").GetSettingsProps, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("@algolia/client-search/model/
|
|
90
|
+
getSettings({ indexName }: import("@algolia/client-search/model/clientMethodProps").GetSettingsProps, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("@algolia/client-search/model/settingsResponse").SettingsResponse>;
|
|
91
91
|
getSources(requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("@algolia/client-search/model/source").Source[]>;
|
|
92
92
|
getSynonym({ indexName, objectID }: import("@algolia/client-search/model/clientMethodProps").GetSynonymProps, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("@algolia/client-search/model/synonymHit").SynonymHit>;
|
|
93
93
|
getTask({ indexName, taskID }: import("@algolia/client-search/model/clientMethodProps").GetTaskProps, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("@algolia/client-search/model/getTaskResponse").GetTaskResponse>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../../builds/node.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,KAAK,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,+CAA+C,CAAC;AAK/F,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAKjE,OAAO,KAAK,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,+CAA+C,CAAC;AAS/F,OAAO,KAAK,EACV,aAAa,EAEd,MAAM,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EAAE,MAAM,EACd,OAAO,CAAC,EAAE,aAAa;;kCAsDR,iBAAiB,GAAG,gBAAgB,CAAC,eAAe,CAAC,KACjE,eAAe;kCArBH,iBAAiB,GAAG,gBAAgB,CAAC,eAAe,CAAC,KACjE,eAAe;uCAuCH,iBAAiB,GAC5B,QAAQ,CAAC,gBAAgB,CAAC,qBAAqB,CAAC,CAAC,KAClD,qBAAqB;kCAnDY,iBAAiB,KAAQ,eAAe;IAkF1E;;;;;;;OAOG;2DAIA,4BAA4B,GAAG,MAAM;IA+BxC;;;;;;OAMG;0DAGA,wCAAwC,GAAG,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAcvD"}
|
package/dist/algoliasearch.cjs
CHANGED
|
@@ -5,7 +5,7 @@ var clientCommon = require('@algolia/client-common');
|
|
|
5
5
|
var requesterNodeHttp = require('@algolia/requester-node-http');
|
|
6
6
|
|
|
7
7
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
8
|
-
const apiClientVersion$5 = '5.0.0
|
|
8
|
+
const apiClientVersion$5 = '5.0.0';
|
|
9
9
|
const REGIONS$2 = ['de', 'us'];
|
|
10
10
|
function getDefaultHosts$4(region) {
|
|
11
11
|
const url = !region
|
|
@@ -310,7 +310,7 @@ function createAbtestingClient({ appId: appIdOption, apiKey: apiKeyOption, authM
|
|
|
310
310
|
}
|
|
311
311
|
|
|
312
312
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
313
|
-
const apiClientVersion$4 = '5.0.0
|
|
313
|
+
const apiClientVersion$4 = '5.0.0';
|
|
314
314
|
const REGIONS$1 = ['de', 'us'];
|
|
315
315
|
function getDefaultHosts$3(region) {
|
|
316
316
|
const url = !region
|
|
@@ -1365,7 +1365,7 @@ function createAnalyticsClient({ appId: appIdOption, apiKey: apiKeyOption, authM
|
|
|
1365
1365
|
}
|
|
1366
1366
|
|
|
1367
1367
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
1368
|
-
const apiClientVersion$3 = '5.0.0
|
|
1368
|
+
const apiClientVersion$3 = '5.0.0';
|
|
1369
1369
|
const REGIONS = ['eu', 'us'];
|
|
1370
1370
|
function getDefaultHosts$2(region) {
|
|
1371
1371
|
const url = 'personalization.{region}.algolia.com'.replace('{region}', region);
|
|
@@ -1626,7 +1626,7 @@ function createPersonalizationClient({ appId: appIdOption, apiKey: apiKeyOption,
|
|
|
1626
1626
|
}
|
|
1627
1627
|
|
|
1628
1628
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
1629
|
-
const apiClientVersion$2 = '5.0.0
|
|
1629
|
+
const apiClientVersion$2 = '5.0.0';
|
|
1630
1630
|
function getDefaultHosts$1(appId) {
|
|
1631
1631
|
return [
|
|
1632
1632
|
{
|
|
@@ -1804,8 +1804,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1804
1804
|
}
|
|
1805
1805
|
return clientCommon.createIterablePromise({
|
|
1806
1806
|
...baseIteratorOptions,
|
|
1807
|
-
func: () => this.getApiKey({ key }, requestOptions).catch((error) =>
|
|
1808
|
-
|
|
1807
|
+
func: () => this.getApiKey({ key }, requestOptions).catch((error) => {
|
|
1808
|
+
if (error.status === 404) {
|
|
1809
|
+
return undefined;
|
|
1810
|
+
}
|
|
1811
|
+
throw error;
|
|
1812
|
+
}),
|
|
1813
|
+
validate: (response) => operation === 'add' ? response !== undefined : response === undefined,
|
|
1809
1814
|
});
|
|
1810
1815
|
},
|
|
1811
1816
|
/**
|
|
@@ -2278,7 +2283,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2278
2283
|
return transporter.request(request, requestOptions);
|
|
2279
2284
|
},
|
|
2280
2285
|
/**
|
|
2281
|
-
* Retrieves records from an index, up to 1,000 per request. While searching retrieves _hits_ (records augmented with attributes for highlighting and ranking details), browsing _just_ returns matching records. This can be useful if you want to export your indices. - The Analytics API doesn\'t collect data when using `browse`. - Records are ranked by attributes and custom ranking. -
|
|
2286
|
+
* Retrieves records from an index, up to 1,000 per request. While searching retrieves _hits_ (records augmented with attributes for highlighting and ranking details), browsing _just_ returns matching records. This can be useful if you want to export your indices. - The Analytics API doesn\'t collect data when using `browse`. - Records are ranked by attributes and custom ranking. - There\'s no ranking for: typo-tolerance, number of matched words, proximity, geo distance. Browse requests automatically apply these settings: - `advancedSyntax`: `false` - `attributesToHighlight`: `[]` - `attributesToSnippet`: `[]` - `distinct`: `false` - `enablePersonalization`: `false` - `enableRules`: `false` - `facets`: `[]` - `getRankingInfo`: `false` - `ignorePlurals`: `false` - `optionalFilters`: `[]` - `typoTolerance`: `true` or `false` (`min` and `strict` is evaluated to `true`) If you send these parameters with your browse requests, they\'ll be ignored.
|
|
2282
2287
|
*
|
|
2283
2288
|
* Required API Key ACLs:
|
|
2284
2289
|
* - browse.
|
|
@@ -3895,7 +3900,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
3895
3900
|
}
|
|
3896
3901
|
|
|
3897
3902
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
3898
|
-
const apiClientVersion$1 = '5.0.0
|
|
3903
|
+
const apiClientVersion$1 = '5.0.0';
|
|
3899
3904
|
function getDefaultHosts(appId) {
|
|
3900
3905
|
return [
|
|
3901
3906
|
{
|
|
@@ -675,7 +675,7 @@ const DEFAULT_READ_TIMEOUT_BROWSER = 2000;
|
|
|
675
675
|
const DEFAULT_WRITE_TIMEOUT_BROWSER = 30000;
|
|
676
676
|
|
|
677
677
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
678
|
-
const apiClientVersion$5 = '5.0.0
|
|
678
|
+
const apiClientVersion$5 = '5.0.0';
|
|
679
679
|
const REGIONS$2 = ['de', 'us'];
|
|
680
680
|
function getDefaultHosts$4(region) {
|
|
681
681
|
const url = !region
|
|
@@ -980,7 +980,7 @@ function createAbtestingClient({ appId: appIdOption, apiKey: apiKeyOption, authM
|
|
|
980
980
|
}
|
|
981
981
|
|
|
982
982
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
983
|
-
const apiClientVersion$4 = '5.0.0
|
|
983
|
+
const apiClientVersion$4 = '5.0.0';
|
|
984
984
|
const REGIONS$1 = ['de', 'us'];
|
|
985
985
|
function getDefaultHosts$3(region) {
|
|
986
986
|
const url = !region
|
|
@@ -2035,7 +2035,7 @@ function createAnalyticsClient({ appId: appIdOption, apiKey: apiKeyOption, authM
|
|
|
2035
2035
|
}
|
|
2036
2036
|
|
|
2037
2037
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2038
|
-
const apiClientVersion$3 = '5.0.0
|
|
2038
|
+
const apiClientVersion$3 = '5.0.0';
|
|
2039
2039
|
const REGIONS = ['eu', 'us'];
|
|
2040
2040
|
function getDefaultHosts$2(region) {
|
|
2041
2041
|
const url = 'personalization.{region}.algolia.com'.replace('{region}', region);
|
|
@@ -2296,7 +2296,7 @@ function createPersonalizationClient({ appId: appIdOption, apiKey: apiKeyOption,
|
|
|
2296
2296
|
}
|
|
2297
2297
|
|
|
2298
2298
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2299
|
-
const apiClientVersion$2 = '5.0.0
|
|
2299
|
+
const apiClientVersion$2 = '5.0.0';
|
|
2300
2300
|
function getDefaultHosts$1(appId) {
|
|
2301
2301
|
return [
|
|
2302
2302
|
{
|
|
@@ -2474,8 +2474,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2474
2474
|
}
|
|
2475
2475
|
return createIterablePromise({
|
|
2476
2476
|
...baseIteratorOptions,
|
|
2477
|
-
func: () => this.getApiKey({ key }, requestOptions).catch((error) =>
|
|
2478
|
-
|
|
2477
|
+
func: () => this.getApiKey({ key }, requestOptions).catch((error) => {
|
|
2478
|
+
if (error.status === 404) {
|
|
2479
|
+
return undefined;
|
|
2480
|
+
}
|
|
2481
|
+
throw error;
|
|
2482
|
+
}),
|
|
2483
|
+
validate: (response) => operation === 'add' ? response !== undefined : response === undefined,
|
|
2479
2484
|
});
|
|
2480
2485
|
},
|
|
2481
2486
|
/**
|
|
@@ -2948,7 +2953,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2948
2953
|
return transporter.request(request, requestOptions);
|
|
2949
2954
|
},
|
|
2950
2955
|
/**
|
|
2951
|
-
* Retrieves records from an index, up to 1,000 per request. While searching retrieves _hits_ (records augmented with attributes for highlighting and ranking details), browsing _just_ returns matching records. This can be useful if you want to export your indices. - The Analytics API doesn\'t collect data when using `browse`. - Records are ranked by attributes and custom ranking. -
|
|
2956
|
+
* Retrieves records from an index, up to 1,000 per request. While searching retrieves _hits_ (records augmented with attributes for highlighting and ranking details), browsing _just_ returns matching records. This can be useful if you want to export your indices. - The Analytics API doesn\'t collect data when using `browse`. - Records are ranked by attributes and custom ranking. - There\'s no ranking for: typo-tolerance, number of matched words, proximity, geo distance. Browse requests automatically apply these settings: - `advancedSyntax`: `false` - `attributesToHighlight`: `[]` - `attributesToSnippet`: `[]` - `distinct`: `false` - `enablePersonalization`: `false` - `enableRules`: `false` - `facets`: `[]` - `getRankingInfo`: `false` - `ignorePlurals`: `false` - `optionalFilters`: `[]` - `typoTolerance`: `true` or `false` (`min` and `strict` is evaluated to `true`) If you send these parameters with your browse requests, they\'ll be ignored.
|
|
2952
2957
|
*
|
|
2953
2958
|
* Required API Key ACLs:
|
|
2954
2959
|
* - browse.
|
|
@@ -4565,7 +4570,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
4565
4570
|
}
|
|
4566
4571
|
|
|
4567
4572
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
4568
|
-
const apiClientVersion$1 = '5.0.0
|
|
4573
|
+
const apiClientVersion$1 = '5.0.0';
|
|
4569
4574
|
function getDefaultHosts(appId) {
|
|
4570
4575
|
return [
|
|
4571
4576
|
{
|
|
@@ -3,7 +3,7 @@ import { createAuth, createTransporter, getAlgoliaAgent, createIterablePromise,
|
|
|
3
3
|
import { createHttpRequester } from '@algolia/requester-node-http';
|
|
4
4
|
|
|
5
5
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
6
|
-
const apiClientVersion$5 = '5.0.0
|
|
6
|
+
const apiClientVersion$5 = '5.0.0';
|
|
7
7
|
const REGIONS$2 = ['de', 'us'];
|
|
8
8
|
function getDefaultHosts$4(region) {
|
|
9
9
|
const url = !region
|
|
@@ -308,7 +308,7 @@ function createAbtestingClient({ appId: appIdOption, apiKey: apiKeyOption, authM
|
|
|
308
308
|
}
|
|
309
309
|
|
|
310
310
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
311
|
-
const apiClientVersion$4 = '5.0.0
|
|
311
|
+
const apiClientVersion$4 = '5.0.0';
|
|
312
312
|
const REGIONS$1 = ['de', 'us'];
|
|
313
313
|
function getDefaultHosts$3(region) {
|
|
314
314
|
const url = !region
|
|
@@ -1363,7 +1363,7 @@ function createAnalyticsClient({ appId: appIdOption, apiKey: apiKeyOption, authM
|
|
|
1363
1363
|
}
|
|
1364
1364
|
|
|
1365
1365
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
1366
|
-
const apiClientVersion$3 = '5.0.0
|
|
1366
|
+
const apiClientVersion$3 = '5.0.0';
|
|
1367
1367
|
const REGIONS = ['eu', 'us'];
|
|
1368
1368
|
function getDefaultHosts$2(region) {
|
|
1369
1369
|
const url = 'personalization.{region}.algolia.com'.replace('{region}', region);
|
|
@@ -1624,7 +1624,7 @@ function createPersonalizationClient({ appId: appIdOption, apiKey: apiKeyOption,
|
|
|
1624
1624
|
}
|
|
1625
1625
|
|
|
1626
1626
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
1627
|
-
const apiClientVersion$2 = '5.0.0
|
|
1627
|
+
const apiClientVersion$2 = '5.0.0';
|
|
1628
1628
|
function getDefaultHosts$1(appId) {
|
|
1629
1629
|
return [
|
|
1630
1630
|
{
|
|
@@ -1802,8 +1802,13 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1802
1802
|
}
|
|
1803
1803
|
return createIterablePromise({
|
|
1804
1804
|
...baseIteratorOptions,
|
|
1805
|
-
func: () => this.getApiKey({ key }, requestOptions).catch((error) =>
|
|
1806
|
-
|
|
1805
|
+
func: () => this.getApiKey({ key }, requestOptions).catch((error) => {
|
|
1806
|
+
if (error.status === 404) {
|
|
1807
|
+
return undefined;
|
|
1808
|
+
}
|
|
1809
|
+
throw error;
|
|
1810
|
+
}),
|
|
1811
|
+
validate: (response) => operation === 'add' ? response !== undefined : response === undefined,
|
|
1807
1812
|
});
|
|
1808
1813
|
},
|
|
1809
1814
|
/**
|
|
@@ -2276,7 +2281,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2276
2281
|
return transporter.request(request, requestOptions);
|
|
2277
2282
|
},
|
|
2278
2283
|
/**
|
|
2279
|
-
* Retrieves records from an index, up to 1,000 per request. While searching retrieves _hits_ (records augmented with attributes for highlighting and ranking details), browsing _just_ returns matching records. This can be useful if you want to export your indices. - The Analytics API doesn\'t collect data when using `browse`. - Records are ranked by attributes and custom ranking. -
|
|
2284
|
+
* Retrieves records from an index, up to 1,000 per request. While searching retrieves _hits_ (records augmented with attributes for highlighting and ranking details), browsing _just_ returns matching records. This can be useful if you want to export your indices. - The Analytics API doesn\'t collect data when using `browse`. - Records are ranked by attributes and custom ranking. - There\'s no ranking for: typo-tolerance, number of matched words, proximity, geo distance. Browse requests automatically apply these settings: - `advancedSyntax`: `false` - `attributesToHighlight`: `[]` - `attributesToSnippet`: `[]` - `distinct`: `false` - `enablePersonalization`: `false` - `enableRules`: `false` - `facets`: `[]` - `getRankingInfo`: `false` - `ignorePlurals`: `false` - `optionalFilters`: `[]` - `typoTolerance`: `true` or `false` (`min` and `strict` is evaluated to `true`) If you send these parameters with your browse requests, they\'ll be ignored.
|
|
2280
2285
|
*
|
|
2281
2286
|
* Required API Key ACLs:
|
|
2282
2287
|
* - browse.
|
|
@@ -3893,7 +3898,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
3893
3898
|
}
|
|
3894
3899
|
|
|
3895
3900
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
3896
|
-
const apiClientVersion$1 = '5.0.0
|
|
3901
|
+
const apiClientVersion$1 = '5.0.0';
|
|
3897
3902
|
function getDefaultHosts(appId) {
|
|
3898
3903
|
return [
|
|
3899
3904
|
{
|