algoliasearch 5.0.0-beta.9 → 5.0.2
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/README.md +74 -0
- 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 +14 -9
- package/dist/algoliasearch.esm.browser.js +14 -9
- package/dist/algoliasearch.esm.node.js +14 -9
- 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 +8 -8
- 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/README.md
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<a href="https://www.algolia.com">
|
|
3
|
+
<img alt="Algolia for JavaScript" src="https://raw.githubusercontent.com/algolia/algoliasearch-client-common/master/banners/javascript.png" >
|
|
4
|
+
</a>
|
|
5
|
+
|
|
6
|
+
<h4 align="center">The perfect starting point to integrate <a href="https://algolia.com" target="_blank">Algolia</a> within your JavaScript project</h4>
|
|
7
|
+
|
|
8
|
+
<p align="center">
|
|
9
|
+
<a href="https://npmjs.org/package/algoliasearch"><img src="https://img.shields.io/npm/v/algoliasearch.svg?style=flat-square" alt="NPM version"></img></a>
|
|
10
|
+
<a href="http://npm-stat.com/charts.html?package=algoliasearch"><img src="https://img.shields.io/npm/dm/algoliasearch.svg?style=flat-square" alt="NPM downloads"></a>
|
|
11
|
+
<a href="https://www.jsdelivr.com/package/npm/algoliasearch"><img src="https://data.jsdelivr.com/v1/package/npm/algoliasearch/badge" alt="jsDelivr Downloads"></img></a>
|
|
12
|
+
<a href="LICENSE.md"><img src="https://img.shields.io/badge/license-MIT-green.svg?style=flat-square" alt="License"></a>
|
|
13
|
+
</p>
|
|
14
|
+
</p>
|
|
15
|
+
|
|
16
|
+
<p align="center">
|
|
17
|
+
<a href="https://www.algolia.com/doc/api-client/getting-started/install/javascript/" target="_blank">Documentation</a> •
|
|
18
|
+
<a href="https://www.algolia.com/doc/guides/building-search-ui/what-is-instantsearch/js/" target="_blank">InstantSearch</a> •
|
|
19
|
+
<a href="https://discourse.algolia.com" target="_blank">Community Forum</a> •
|
|
20
|
+
<a href="http://stackoverflow.com/questions/tagged/algolia" target="_blank">Stack Overflow</a> •
|
|
21
|
+
<a href="https://github.com/algolia/algoliasearch-client-javascript/issues" target="_blank">Report a bug</a> •
|
|
22
|
+
<a href="https://www.algolia.com/doc/api-client/troubleshooting/faq/javascript/" target="_blank">FAQ</a> •
|
|
23
|
+
<a href="https://alg.li/support" target="_blank">Support</a>
|
|
24
|
+
</p>
|
|
25
|
+
|
|
26
|
+
## ✨ Features
|
|
27
|
+
|
|
28
|
+
- Thin & **minimal low-level HTTP client** to interact with Algolia's API
|
|
29
|
+
- Works both on the **browser** and **node.js**
|
|
30
|
+
- **UMD and ESM compatible**, you can use it with any module loader
|
|
31
|
+
- Built with TypeScript
|
|
32
|
+
|
|
33
|
+
## 💡 Getting Started
|
|
34
|
+
|
|
35
|
+
To get started, you first need to install algoliasearch (or any other available API client package).
|
|
36
|
+
|
|
37
|
+
All of our clients comes with type definition, and are available for both browser and node environments.
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
yarn add algoliasearch
|
|
41
|
+
# or
|
|
42
|
+
npm install algoliasearch
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
Without a package manager
|
|
46
|
+
|
|
47
|
+
Add the following JavaScript snippet to the <head> of your website:
|
|
48
|
+
|
|
49
|
+
```html
|
|
50
|
+
<script src="https://cdn.jsdelivr.net/npm/algoliasearch/dist/algoliasearch.umd.min.js"></script>
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
You can now import the Algolia API client in your project and play with it.
|
|
54
|
+
|
|
55
|
+
```js
|
|
56
|
+
import { algoliasearch } from 'algoliasearch';
|
|
57
|
+
|
|
58
|
+
const client = algoliasearch('YOUR_APP_ID', 'YOUR_API_KEY');
|
|
59
|
+
|
|
60
|
+
// or with the lite client
|
|
61
|
+
import { liteClient } from 'algoliasearch/lite';
|
|
62
|
+
|
|
63
|
+
const client = liteClient('YOUR_APP_ID', 'YOUR_API_KEY');
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
For full documentation, visit the **[Algolia JavaScript API Client](https://www.algolia.com/doc/api-client/getting-started/install/javascript/)**.
|
|
67
|
+
|
|
68
|
+
## ❓ Troubleshooting
|
|
69
|
+
|
|
70
|
+
Encountering an issue? Before reaching out to support, we recommend heading to our [FAQ](https://www.algolia.com/doc/api-client/troubleshooting/faq/javascript/) where you will find answers for the most common issues and gotchas with the client. You can also open [a GitHub issue](https://github.com/algolia/api-clients-automation/issues/new?assignees=&labels=&projects=&template=Bug_report.md)
|
|
71
|
+
|
|
72
|
+
## 📄 License
|
|
73
|
+
|
|
74
|
+
The Algolia JavaScript API Client is an open-sourced software licensed under the [MIT license](LICENSE).
|
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.
|
|
11
|
+
export declare const apiClientVersion = "5.0.2";
|
|
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,cAAc,UAAU,CAAC;AAEzB,eAAO,MAAM,gBAAgB,
|
|
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,cAAc,UAAU,CAAC;AAEzB,eAAO,MAAM,gBAAgB,UAAsB,CAAC;AAEpD;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC;AAG7D,wBAAgB,aAAa,CAC3B,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,aAAa;;kCA4DR,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,EACT,eAAe,EACf,YAAY,EACZ,eAAe,EACf,oBAAoB,EACpB,qBAAqB,EACrB,gBAAgB,EAChB,4BAA4B,EAC5B,kBAAkB,EAClB,SAAS,EACT,WAAW,EACX,eAAe,EACf,iBAAiB,EACjB,gBAAgB,EAChB,sBAAsB,EACtB,iBAAiB,EACjB,cAAc,EACd,eAAe,EACf,cAAc,EACd,iBAAiB,EACjB,QAAQ,EACR,IAAI,EACJ,QAAQ,EACR,SAAS,EACT,sBAAsB,EACtB,UAAU,EACV,YAAY,EACZ,aAAa,EACb,MAAM,EACN,WAAW,EACX,eAAe,EACf,qBAAqB,EACrB,aAAa,EACb,2BAA2B,EAC3B,UAAU,EACV,kBAAkB,EAClB,IAAI,EACJ,cAAc,EACd,eAAe,EACf,MAAM,EACN,eAAe,EACf,OAAO,EACP,eAAe,EACf,gBAAgB,EAChB,SAAS,EACT,KAAK,EACL,WAAW,EACX,oBAAoB,EACpB,QAAQ,EACR,yBAAyB,EACzB,qBAAqB,EACrB,WAAW,EACX,eAAe,EACf,sBAAsB,EACtB,gBAAgB,EAChB,gBAAgB,EAChB,YAAY,EACZ,kBAAkB,EAClB,iBAAiB,EACjB,cAAc,EACd,aAAa,EACb,mBAAmB,EACnB,eAAe,EACf,iBAAiB,EACjB,UAAU,EACV,UAAU,EACV,aAAa,EACb,iBAAiB,EACjB,KAAK,EACN,MAAM,8BAA8B,CAAC;AAEtC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0BAA0B,CAAC;AACzC,cAAc,uCAAuC,CAAC;AACtD,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAEhD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AACxE,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAE5D,OAAO,EACL,sBAAsB,EACtB,mBAAmB,EACnB,SAAS,EACT,eAAe,EACf,YAAY,EACZ,eAAe,EACf,oBAAoB,EACpB,qBAAqB,EACrB,gBAAgB,EAChB,4BAA4B,EAC5B,kBAAkB,EAClB,SAAS,EACT,WAAW,EACX,eAAe,EACf,iBAAiB,EACjB,gBAAgB,EAChB,sBAAsB,EACtB,iBAAiB,EACjB,cAAc,EACd,eAAe,EACf,cAAc,EACd,iBAAiB,EACjB,QAAQ,EACR,IAAI,EACJ,QAAQ,EACR,SAAS,EACT,sBAAsB,EACtB,UAAU,EACV,YAAY,EACZ,aAAa,EACb,MAAM,EACN,WAAW,EACX,eAAe,EACf,qBAAqB,EACrB,aAAa,EACb,2BAA2B,EAC3B,UAAU,EACV,kBAAkB,EAClB,IAAI,EACJ,cAAc,EACd,eAAe,EACf,MAAM,EACN,eAAe,EACf,OAAO,EACP,eAAe,EACf,gBAAgB,EAChB,SAAS,EACT,KAAK,EACL,WAAW,EACX,oBAAoB,EACpB,QAAQ,EACR,yBAAyB,EACzB,qBAAqB,EACrB,WAAW,EACX,eAAe,EACf,sBAAsB,EACtB,gBAAgB,EAChB,YAAY,EACZ,kBAAkB,EAClB,iBAAiB,EACjB,cAAc,EACd,gBAAgB,EAChB,aAAa,EACb,mBAAmB,EACnB,eAAe,EACf,iBAAiB,EACjB,UAAU,EACV,UAAU,EACV,aAAa,EACb,iBAAiB,EACjB,KAAK,GACN,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC;IACtC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,aAAa,CAAC;CACxB,CAAC,CAAC;AAEH,MAAM,MAAM,gBAAgB,CAAC,OAAO,IAAI,OAAO,CAAC;IAC9C;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;CACjB,CAAC,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.
|
|
11
|
+
export declare const apiClientVersion = "5.0.2";
|
|
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,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,EACV,iBAAiB,EACjB,gBAAgB,EAChB,4BAA4B,EAC5B,wCAAwC,EACzC,MAAM,UAAU,CAAC;AAElB,cAAc,UAAU,CAAC;AAEzB,eAAO,MAAM,gBAAgB,
|
|
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,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,EACV,iBAAiB,EACjB,gBAAgB,EAChB,4BAA4B,EAC5B,wCAAwC,EACzC,MAAM,UAAU,CAAC;AAElB,cAAc,UAAU,CAAC;AAEzB,eAAO,MAAM,gBAAgB,UAAsB,CAAC;AAEpD;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC;AAG7D,wBAAgB,aAAa,CAC3B,KAAK,EAAE,MAAM,EACb,MAAM,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.
|
|
8
|
+
const apiClientVersion$5 = '5.0.2';
|
|
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.
|
|
313
|
+
const apiClientVersion$4 = '5.0.2';
|
|
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.
|
|
1368
|
+
const apiClientVersion$3 = '5.0.2';
|
|
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.
|
|
1629
|
+
const apiClientVersion$2 = '5.0.2';
|
|
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
|
/**
|
|
@@ -2000,7 +2005,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2000
2005
|
},
|
|
2001
2006
|
/**
|
|
2002
2007
|
* Helper: Replaces all objects (records) in the given `index_name` with the given `objects`. A temporary index is created during this process in order to backup your data.
|
|
2003
|
-
* See https://api-clients-automation.netlify.app/docs/
|
|
2008
|
+
* See https://api-clients-automation.netlify.app/docs/add-new-api-client#5-helpers for implementation details.
|
|
2004
2009
|
*
|
|
2005
2010
|
* @summary Helper: Replaces all objects (records) in the given `index_name` with the given `objects`. A temporary index is created during this process in order to backup your data.
|
|
2006
2011
|
* @param replaceAllObjects - The `replaceAllObjects` object.
|
|
@@ -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.
|
|
3903
|
+
const apiClientVersion$1 = '5.0.2';
|
|
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.
|
|
678
|
+
const apiClientVersion$5 = '5.0.2';
|
|
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.
|
|
983
|
+
const apiClientVersion$4 = '5.0.2';
|
|
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.
|
|
2038
|
+
const apiClientVersion$3 = '5.0.2';
|
|
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.
|
|
2299
|
+
const apiClientVersion$2 = '5.0.2';
|
|
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
|
/**
|
|
@@ -2670,7 +2675,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2670
2675
|
},
|
|
2671
2676
|
/**
|
|
2672
2677
|
* Helper: Replaces all objects (records) in the given `index_name` with the given `objects`. A temporary index is created during this process in order to backup your data.
|
|
2673
|
-
* See https://api-clients-automation.netlify.app/docs/
|
|
2678
|
+
* See https://api-clients-automation.netlify.app/docs/add-new-api-client#5-helpers for implementation details.
|
|
2674
2679
|
*
|
|
2675
2680
|
* @summary Helper: Replaces all objects (records) in the given `index_name` with the given `objects`. A temporary index is created during this process in order to backup your data.
|
|
2676
2681
|
* @param replaceAllObjects - The `replaceAllObjects` object.
|
|
@@ -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.
|
|
4573
|
+
const apiClientVersion$1 = '5.0.2';
|
|
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.
|
|
6
|
+
const apiClientVersion$5 = '5.0.2';
|
|
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.
|
|
311
|
+
const apiClientVersion$4 = '5.0.2';
|
|
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.
|
|
1366
|
+
const apiClientVersion$3 = '5.0.2';
|
|
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.
|
|
1627
|
+
const apiClientVersion$2 = '5.0.2';
|
|
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
|
/**
|
|
@@ -1998,7 +2003,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1998
2003
|
},
|
|
1999
2004
|
/**
|
|
2000
2005
|
* Helper: Replaces all objects (records) in the given `index_name` with the given `objects`. A temporary index is created during this process in order to backup your data.
|
|
2001
|
-
* See https://api-clients-automation.netlify.app/docs/
|
|
2006
|
+
* See https://api-clients-automation.netlify.app/docs/add-new-api-client#5-helpers for implementation details.
|
|
2002
2007
|
*
|
|
2003
2008
|
* @summary Helper: Replaces all objects (records) in the given `index_name` with the given `objects`. A temporary index is created during this process in order to backup your data.
|
|
2004
2009
|
* @param replaceAllObjects - The `replaceAllObjects` object.
|
|
@@ -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.
|
|
3901
|
+
const apiClientVersion$1 = '5.0.2';
|
|
3897
3902
|
function getDefaultHosts(appId) {
|
|
3898
3903
|
return [
|
|
3899
3904
|
{
|