algoliasearch 5.0.0-beta.5 → 5.0.0-beta.7
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/LICENSE +21 -0
- package/dist/algoliasearch/builds/browser.d.ts +4 -1
- package/dist/algoliasearch/builds/browser.d.ts.map +1 -1
- package/dist/algoliasearch/builds/node.d.ts +4 -1
- package/dist/algoliasearch/builds/node.d.ts.map +1 -1
- package/dist/algoliasearch.cjs +54 -7
- package/dist/algoliasearch.esm.browser.js +54 -7
- package/dist/algoliasearch.esm.node.js +54 -7
- package/dist/algoliasearch.umd.js +2 -2
- package/dist/client-abtesting/src/abtestingClient.d.ts +1 -1
- package/dist/client-analytics/src/analyticsClient.d.ts +1 -1
- package/dist/client-personalization/src/personalizationClient.d.ts +1 -1
- package/dist/client-search/model/clientMethodProps.d.ts +13 -0
- package/dist/client-search/model/clientMethodProps.d.ts.map +1 -1
- package/dist/client-search/model/fetchedIndex.d.ts +4 -0
- package/dist/client-search/model/fetchedIndex.d.ts.map +1 -1
- package/dist/client-search/model/value.d.ts +4 -0
- package/dist/client-search/model/value.d.ts.map +1 -1
- package/dist/client-search/src/searchClient.d.ts +34 -3
- 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/value.d.ts +4 -0
- package/dist/lite/model/value.d.ts.map +1 -1
- package/dist/lite/src/liteClient.d.ts +1 -1
- package/dist/recommend/model/value.d.ts +4 -0
- package/dist/recommend/model/value.d.ts.map +1 -1
- package/dist/recommend/src/recommendClient.d.ts +1 -1
- package/lite/model/value.ts +5 -0
- package/lite/src/liteClient.ts +1 -1
- package/package.json +9 -9
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2013-Present Algolia
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -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-beta.
|
|
11
|
+
export declare const apiClientVersion = "5.0.0-beta.7";
|
|
12
12
|
/**
|
|
13
13
|
* The client type.
|
|
14
14
|
*/
|
|
@@ -36,6 +36,9 @@ export declare function algoliasearch(appId: string, apiKey: string, options?: C
|
|
|
36
36
|
results: import("@algolia/client-search/model/searchForFacetValuesResponse").SearchForFacetValuesResponse[];
|
|
37
37
|
}>;
|
|
38
38
|
chunkedBatch({ indexName, objects, action, waitForTasks, batchSize, }: import("@algolia/client-search/model/clientMethodProps").ChunkedBatchOptions, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("@algolia/client-search/model/batchResponse").BatchResponse[]>;
|
|
39
|
+
saveObjects({ indexName, objects }: import("@algolia/client-search/model/clientMethodProps").SaveObjectsOptions, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("@algolia/client-search/model/batchResponse").BatchResponse[]>;
|
|
40
|
+
deleteObjects({ indexName, objectIDs }: import("@algolia/client-search/model/clientMethodProps").DeleteObjectsOptions, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("@algolia/client-search/model/batchResponse").BatchResponse[]>;
|
|
41
|
+
partialUpdateObjects({ indexName, objects, createIfNotExists }: import("@algolia/client-search/model/clientMethodProps").PartialUpdateObjectsOptions, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("@algolia/client-search/model/batchResponse").BatchResponse[]>;
|
|
39
42
|
replaceAllObjects({ indexName, objects, batchSize }: import("@algolia/client-search/model/clientMethodProps").ReplaceAllObjectsOptions, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("@algolia/client-search/model/replaceAllObjectsResponse").ReplaceAllObjectsResponse>;
|
|
40
43
|
addApiKey(apiKey: import("@algolia/client-search/model/apiKey").ApiKey, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("@algolia/client-search/model/addApiKeyResponse").AddApiKeyResponse>;
|
|
41
44
|
addOrUpdateObject({ indexName, objectID, body }: import("@algolia/client-search/model/clientMethodProps").AddOrUpdateObjectProps, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("@algolia/client-search/model/updatedAtWithObjectIdResponse").UpdatedAtWithObjectIdResponse>;
|
|
@@ -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,iBAAsB,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
|
|
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,iBAAsB,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"}
|
|
@@ -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-beta.
|
|
11
|
+
export declare const apiClientVersion = "5.0.0-beta.7";
|
|
12
12
|
/**
|
|
13
13
|
* The client type.
|
|
14
14
|
*/
|
|
@@ -53,6 +53,9 @@ export declare function algoliasearch(appId: string, apiKey: string, options?: C
|
|
|
53
53
|
results: import("@algolia/client-search/model/searchForFacetValuesResponse").SearchForFacetValuesResponse[];
|
|
54
54
|
}>;
|
|
55
55
|
chunkedBatch({ indexName, objects, action, waitForTasks, batchSize, }: import("@algolia/client-search/model/clientMethodProps").ChunkedBatchOptions, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("@algolia/client-search/model/batchResponse").BatchResponse[]>;
|
|
56
|
+
saveObjects({ indexName, objects }: import("@algolia/client-search/model/clientMethodProps").SaveObjectsOptions, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("@algolia/client-search/model/batchResponse").BatchResponse[]>;
|
|
57
|
+
deleteObjects({ indexName, objectIDs }: import("@algolia/client-search/model/clientMethodProps").DeleteObjectsOptions, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("@algolia/client-search/model/batchResponse").BatchResponse[]>;
|
|
58
|
+
partialUpdateObjects({ indexName, objects, createIfNotExists }: import("@algolia/client-search/model/clientMethodProps").PartialUpdateObjectsOptions, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("@algolia/client-search/model/batchResponse").BatchResponse[]>;
|
|
56
59
|
replaceAllObjects({ indexName, objects, batchSize }: import("@algolia/client-search/model/clientMethodProps").ReplaceAllObjectsOptions, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("@algolia/client-search/model/replaceAllObjectsResponse").ReplaceAllObjectsResponse>;
|
|
57
60
|
addApiKey(apiKey: import("@algolia/client-search/model/apiKey").ApiKey, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("@algolia/client-search/model/addApiKeyResponse").AddApiKeyResponse>;
|
|
58
61
|
addOrUpdateObject({ indexName, objectID, body }: import("@algolia/client-search/model/clientMethodProps").AddOrUpdateObjectProps, requestOptions?: import("@algolia/client-common").RequestOptions): Promise<import("@algolia/client-search/model/updatedAtWithObjectIdResponse").UpdatedAtWithObjectIdResponse>;
|
|
@@ -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,iBAAsB,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
|
|
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,iBAAsB,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.0-beta.
|
|
8
|
+
const apiClientVersion$5 = '5.0.0-beta.7';
|
|
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-beta.
|
|
313
|
+
const apiClientVersion$4 = '5.0.0-beta.7';
|
|
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-beta.
|
|
1368
|
+
const apiClientVersion$3 = '5.0.0-beta.7';
|
|
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-beta.
|
|
1629
|
+
const apiClientVersion$2 = '5.0.0-beta.7';
|
|
1630
1630
|
function getDefaultHosts$1(appId) {
|
|
1631
1631
|
return [
|
|
1632
1632
|
{
|
|
@@ -1951,6 +1951,53 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1951
1951
|
}
|
|
1952
1952
|
return responses;
|
|
1953
1953
|
},
|
|
1954
|
+
/**
|
|
1955
|
+
* Helper: Saves the given array of objects in the given index. The `chunkedBatch` helper is used under the hood, which creates a `batch` requests with at most 1000 objects in it.
|
|
1956
|
+
*
|
|
1957
|
+
* @summary Helper: Saves the given array of objects in the given index. The `chunkedBatch` helper is used under the hood, which creates a `batch` requests with at most 1000 objects in it.
|
|
1958
|
+
* @param saveObjects - The `saveObjects` object.
|
|
1959
|
+
* @param saveObjects.indexName - The `indexName` to save `objects` in.
|
|
1960
|
+
* @param saveObjects.objects - The array of `objects` to store in the given Algolia `indexName`.
|
|
1961
|
+
* @param requestOptions - The requestOptions to send along with the query, they will be forwarded to the `batch` method and merged with the transporter requestOptions.
|
|
1962
|
+
*/
|
|
1963
|
+
async saveObjects({ indexName, objects }, requestOptions) {
|
|
1964
|
+
return await this.chunkedBatch({ indexName, objects, action: 'addObject' }, requestOptions);
|
|
1965
|
+
},
|
|
1966
|
+
/**
|
|
1967
|
+
* Helper: Deletes every records for the given objectIDs. The `chunkedBatch` helper is used under the hood, which creates a `batch` requests with at most 1000 objectIDs in it.
|
|
1968
|
+
*
|
|
1969
|
+
* @summary Helper: Deletes every records for the given objectIDs. The `chunkedBatch` helper is used under the hood, which creates a `batch` requests with at most 1000 objectIDs in it.
|
|
1970
|
+
* @param deleteObjects - The `deleteObjects` object.
|
|
1971
|
+
* @param deleteObjects.indexName - The `indexName` to delete `objectIDs` from.
|
|
1972
|
+
* @param deleteObjects.objectIDs - The objectIDs to delete.
|
|
1973
|
+
* @param requestOptions - The requestOptions to send along with the query, they will be forwarded to the `batch` method and merged with the transporter requestOptions.
|
|
1974
|
+
*/
|
|
1975
|
+
async deleteObjects({ indexName, objectIDs }, requestOptions) {
|
|
1976
|
+
return await this.chunkedBatch({
|
|
1977
|
+
indexName,
|
|
1978
|
+
objects: objectIDs.map((objectID) => ({ objectID })),
|
|
1979
|
+
action: 'deleteObject',
|
|
1980
|
+
}, requestOptions);
|
|
1981
|
+
},
|
|
1982
|
+
/**
|
|
1983
|
+
* Helper: Replaces object content of all the given objects according to their respective `objectID` field. The `chunkedBatch` helper is used under the hood, which creates a `batch` requests with at most 1000 objects in it.
|
|
1984
|
+
*
|
|
1985
|
+
* @summary Helper: Replaces object content of all the given objects according to their respective `objectID` field. The `chunkedBatch` helper is used under the hood, which creates a `batch` requests with at most 1000 objects in it.
|
|
1986
|
+
* @param partialUpdateObjects - The `partialUpdateObjects` object.
|
|
1987
|
+
* @param partialUpdateObjects.indexName - The `indexName` to update `objects` in.
|
|
1988
|
+
* @param partialUpdateObjects.objects - The array of `objects` to update in the given Algolia `indexName`.
|
|
1989
|
+
* @param partialUpdateObjects.createIfNotExists - To be provided if non-existing objects are passed, otherwise, the call will fail..
|
|
1990
|
+
* @param requestOptions - The requestOptions to send along with the query, they will be forwarded to the `getTask` method and merged with the transporter requestOptions.
|
|
1991
|
+
*/
|
|
1992
|
+
async partialUpdateObjects({ indexName, objects, createIfNotExists }, requestOptions) {
|
|
1993
|
+
return await this.chunkedBatch({
|
|
1994
|
+
indexName,
|
|
1995
|
+
objects,
|
|
1996
|
+
action: createIfNotExists
|
|
1997
|
+
? 'partialUpdateObject'
|
|
1998
|
+
: 'partialUpdateObjectNoCreate',
|
|
1999
|
+
}, requestOptions);
|
|
2000
|
+
},
|
|
1954
2001
|
/**
|
|
1955
2002
|
* 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.
|
|
1956
2003
|
* See https://api-clients-automation.netlify.app/docs/contributing/add-new-api-client#5-helpers for implementation details.
|
|
@@ -1960,10 +2007,10 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1960
2007
|
* @param replaceAllObjects.indexName - The `indexName` to replace `objects` in.
|
|
1961
2008
|
* @param replaceAllObjects.objects - The array of `objects` to store in the given Algolia `indexName`.
|
|
1962
2009
|
* @param replaceAllObjects.batchSize - The size of the chunk of `objects`. The number of `batch` calls will be equal to `objects.length / batchSize`. Defaults to 1000.
|
|
1963
|
-
* @param requestOptions - The requestOptions to send along with the query, they will be forwarded to the `getTask` method and merged with the transporter requestOptions.
|
|
2010
|
+
* @param requestOptions - The requestOptions to send along with the query, they will be forwarded to the `batch`, `operationIndex` and `getTask` method and merged with the transporter requestOptions.
|
|
1964
2011
|
*/
|
|
1965
2012
|
async replaceAllObjects({ indexName, objects, batchSize }, requestOptions) {
|
|
1966
|
-
const randomSuffix = Math.
|
|
2013
|
+
const randomSuffix = Math.floor(Math.random() * 1000000) + 100000;
|
|
1967
2014
|
const tmpIndexName = `${indexName}_tmp_${randomSuffix}`;
|
|
1968
2015
|
let copyOperationResponse = await this.operationIndex({
|
|
1969
2016
|
indexName,
|
|
@@ -3848,7 +3895,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
3848
3895
|
}
|
|
3849
3896
|
|
|
3850
3897
|
// 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.
|
|
3851
|
-
const apiClientVersion$1 = '5.0.0-beta.
|
|
3898
|
+
const apiClientVersion$1 = '5.0.0-beta.7';
|
|
3852
3899
|
function getDefaultHosts(appId) {
|
|
3853
3900
|
return [
|
|
3854
3901
|
{
|
|
@@ -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-beta.
|
|
678
|
+
const apiClientVersion$5 = '5.0.0-beta.7';
|
|
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-beta.
|
|
983
|
+
const apiClientVersion$4 = '5.0.0-beta.7';
|
|
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-beta.
|
|
2038
|
+
const apiClientVersion$3 = '5.0.0-beta.7';
|
|
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-beta.
|
|
2299
|
+
const apiClientVersion$2 = '5.0.0-beta.7';
|
|
2300
2300
|
function getDefaultHosts$1(appId) {
|
|
2301
2301
|
return [
|
|
2302
2302
|
{
|
|
@@ -2621,6 +2621,53 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2621
2621
|
}
|
|
2622
2622
|
return responses;
|
|
2623
2623
|
},
|
|
2624
|
+
/**
|
|
2625
|
+
* Helper: Saves the given array of objects in the given index. The `chunkedBatch` helper is used under the hood, which creates a `batch` requests with at most 1000 objects in it.
|
|
2626
|
+
*
|
|
2627
|
+
* @summary Helper: Saves the given array of objects in the given index. The `chunkedBatch` helper is used under the hood, which creates a `batch` requests with at most 1000 objects in it.
|
|
2628
|
+
* @param saveObjects - The `saveObjects` object.
|
|
2629
|
+
* @param saveObjects.indexName - The `indexName` to save `objects` in.
|
|
2630
|
+
* @param saveObjects.objects - The array of `objects` to store in the given Algolia `indexName`.
|
|
2631
|
+
* @param requestOptions - The requestOptions to send along with the query, they will be forwarded to the `batch` method and merged with the transporter requestOptions.
|
|
2632
|
+
*/
|
|
2633
|
+
async saveObjects({ indexName, objects }, requestOptions) {
|
|
2634
|
+
return await this.chunkedBatch({ indexName, objects, action: 'addObject' }, requestOptions);
|
|
2635
|
+
},
|
|
2636
|
+
/**
|
|
2637
|
+
* Helper: Deletes every records for the given objectIDs. The `chunkedBatch` helper is used under the hood, which creates a `batch` requests with at most 1000 objectIDs in it.
|
|
2638
|
+
*
|
|
2639
|
+
* @summary Helper: Deletes every records for the given objectIDs. The `chunkedBatch` helper is used under the hood, which creates a `batch` requests with at most 1000 objectIDs in it.
|
|
2640
|
+
* @param deleteObjects - The `deleteObjects` object.
|
|
2641
|
+
* @param deleteObjects.indexName - The `indexName` to delete `objectIDs` from.
|
|
2642
|
+
* @param deleteObjects.objectIDs - The objectIDs to delete.
|
|
2643
|
+
* @param requestOptions - The requestOptions to send along with the query, they will be forwarded to the `batch` method and merged with the transporter requestOptions.
|
|
2644
|
+
*/
|
|
2645
|
+
async deleteObjects({ indexName, objectIDs }, requestOptions) {
|
|
2646
|
+
return await this.chunkedBatch({
|
|
2647
|
+
indexName,
|
|
2648
|
+
objects: objectIDs.map((objectID) => ({ objectID })),
|
|
2649
|
+
action: 'deleteObject',
|
|
2650
|
+
}, requestOptions);
|
|
2651
|
+
},
|
|
2652
|
+
/**
|
|
2653
|
+
* Helper: Replaces object content of all the given objects according to their respective `objectID` field. The `chunkedBatch` helper is used under the hood, which creates a `batch` requests with at most 1000 objects in it.
|
|
2654
|
+
*
|
|
2655
|
+
* @summary Helper: Replaces object content of all the given objects according to their respective `objectID` field. The `chunkedBatch` helper is used under the hood, which creates a `batch` requests with at most 1000 objects in it.
|
|
2656
|
+
* @param partialUpdateObjects - The `partialUpdateObjects` object.
|
|
2657
|
+
* @param partialUpdateObjects.indexName - The `indexName` to update `objects` in.
|
|
2658
|
+
* @param partialUpdateObjects.objects - The array of `objects` to update in the given Algolia `indexName`.
|
|
2659
|
+
* @param partialUpdateObjects.createIfNotExists - To be provided if non-existing objects are passed, otherwise, the call will fail..
|
|
2660
|
+
* @param requestOptions - The requestOptions to send along with the query, they will be forwarded to the `getTask` method and merged with the transporter requestOptions.
|
|
2661
|
+
*/
|
|
2662
|
+
async partialUpdateObjects({ indexName, objects, createIfNotExists }, requestOptions) {
|
|
2663
|
+
return await this.chunkedBatch({
|
|
2664
|
+
indexName,
|
|
2665
|
+
objects,
|
|
2666
|
+
action: createIfNotExists
|
|
2667
|
+
? 'partialUpdateObject'
|
|
2668
|
+
: 'partialUpdateObjectNoCreate',
|
|
2669
|
+
}, requestOptions);
|
|
2670
|
+
},
|
|
2624
2671
|
/**
|
|
2625
2672
|
* 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.
|
|
2626
2673
|
* See https://api-clients-automation.netlify.app/docs/contributing/add-new-api-client#5-helpers for implementation details.
|
|
@@ -2630,10 +2677,10 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
2630
2677
|
* @param replaceAllObjects.indexName - The `indexName` to replace `objects` in.
|
|
2631
2678
|
* @param replaceAllObjects.objects - The array of `objects` to store in the given Algolia `indexName`.
|
|
2632
2679
|
* @param replaceAllObjects.batchSize - The size of the chunk of `objects`. The number of `batch` calls will be equal to `objects.length / batchSize`. Defaults to 1000.
|
|
2633
|
-
* @param requestOptions - The requestOptions to send along with the query, they will be forwarded to the `getTask` method and merged with the transporter requestOptions.
|
|
2680
|
+
* @param requestOptions - The requestOptions to send along with the query, they will be forwarded to the `batch`, `operationIndex` and `getTask` method and merged with the transporter requestOptions.
|
|
2634
2681
|
*/
|
|
2635
2682
|
async replaceAllObjects({ indexName, objects, batchSize }, requestOptions) {
|
|
2636
|
-
const randomSuffix = Math.
|
|
2683
|
+
const randomSuffix = Math.floor(Math.random() * 1000000) + 100000;
|
|
2637
2684
|
const tmpIndexName = `${indexName}_tmp_${randomSuffix}`;
|
|
2638
2685
|
let copyOperationResponse = await this.operationIndex({
|
|
2639
2686
|
indexName,
|
|
@@ -4518,7 +4565,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
4518
4565
|
}
|
|
4519
4566
|
|
|
4520
4567
|
// 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.
|
|
4521
|
-
const apiClientVersion$1 = '5.0.0-beta.
|
|
4568
|
+
const apiClientVersion$1 = '5.0.0-beta.7';
|
|
4522
4569
|
function getDefaultHosts(appId) {
|
|
4523
4570
|
return [
|
|
4524
4571
|
{
|
|
@@ -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-beta.
|
|
6
|
+
const apiClientVersion$5 = '5.0.0-beta.7';
|
|
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-beta.
|
|
311
|
+
const apiClientVersion$4 = '5.0.0-beta.7';
|
|
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-beta.
|
|
1366
|
+
const apiClientVersion$3 = '5.0.0-beta.7';
|
|
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-beta.
|
|
1627
|
+
const apiClientVersion$2 = '5.0.0-beta.7';
|
|
1628
1628
|
function getDefaultHosts$1(appId) {
|
|
1629
1629
|
return [
|
|
1630
1630
|
{
|
|
@@ -1949,6 +1949,53 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1949
1949
|
}
|
|
1950
1950
|
return responses;
|
|
1951
1951
|
},
|
|
1952
|
+
/**
|
|
1953
|
+
* Helper: Saves the given array of objects in the given index. The `chunkedBatch` helper is used under the hood, which creates a `batch` requests with at most 1000 objects in it.
|
|
1954
|
+
*
|
|
1955
|
+
* @summary Helper: Saves the given array of objects in the given index. The `chunkedBatch` helper is used under the hood, which creates a `batch` requests with at most 1000 objects in it.
|
|
1956
|
+
* @param saveObjects - The `saveObjects` object.
|
|
1957
|
+
* @param saveObjects.indexName - The `indexName` to save `objects` in.
|
|
1958
|
+
* @param saveObjects.objects - The array of `objects` to store in the given Algolia `indexName`.
|
|
1959
|
+
* @param requestOptions - The requestOptions to send along with the query, they will be forwarded to the `batch` method and merged with the transporter requestOptions.
|
|
1960
|
+
*/
|
|
1961
|
+
async saveObjects({ indexName, objects }, requestOptions) {
|
|
1962
|
+
return await this.chunkedBatch({ indexName, objects, action: 'addObject' }, requestOptions);
|
|
1963
|
+
},
|
|
1964
|
+
/**
|
|
1965
|
+
* Helper: Deletes every records for the given objectIDs. The `chunkedBatch` helper is used under the hood, which creates a `batch` requests with at most 1000 objectIDs in it.
|
|
1966
|
+
*
|
|
1967
|
+
* @summary Helper: Deletes every records for the given objectIDs. The `chunkedBatch` helper is used under the hood, which creates a `batch` requests with at most 1000 objectIDs in it.
|
|
1968
|
+
* @param deleteObjects - The `deleteObjects` object.
|
|
1969
|
+
* @param deleteObjects.indexName - The `indexName` to delete `objectIDs` from.
|
|
1970
|
+
* @param deleteObjects.objectIDs - The objectIDs to delete.
|
|
1971
|
+
* @param requestOptions - The requestOptions to send along with the query, they will be forwarded to the `batch` method and merged with the transporter requestOptions.
|
|
1972
|
+
*/
|
|
1973
|
+
async deleteObjects({ indexName, objectIDs }, requestOptions) {
|
|
1974
|
+
return await this.chunkedBatch({
|
|
1975
|
+
indexName,
|
|
1976
|
+
objects: objectIDs.map((objectID) => ({ objectID })),
|
|
1977
|
+
action: 'deleteObject',
|
|
1978
|
+
}, requestOptions);
|
|
1979
|
+
},
|
|
1980
|
+
/**
|
|
1981
|
+
* Helper: Replaces object content of all the given objects according to their respective `objectID` field. The `chunkedBatch` helper is used under the hood, which creates a `batch` requests with at most 1000 objects in it.
|
|
1982
|
+
*
|
|
1983
|
+
* @summary Helper: Replaces object content of all the given objects according to their respective `objectID` field. The `chunkedBatch` helper is used under the hood, which creates a `batch` requests with at most 1000 objects in it.
|
|
1984
|
+
* @param partialUpdateObjects - The `partialUpdateObjects` object.
|
|
1985
|
+
* @param partialUpdateObjects.indexName - The `indexName` to update `objects` in.
|
|
1986
|
+
* @param partialUpdateObjects.objects - The array of `objects` to update in the given Algolia `indexName`.
|
|
1987
|
+
* @param partialUpdateObjects.createIfNotExists - To be provided if non-existing objects are passed, otherwise, the call will fail..
|
|
1988
|
+
* @param requestOptions - The requestOptions to send along with the query, they will be forwarded to the `getTask` method and merged with the transporter requestOptions.
|
|
1989
|
+
*/
|
|
1990
|
+
async partialUpdateObjects({ indexName, objects, createIfNotExists }, requestOptions) {
|
|
1991
|
+
return await this.chunkedBatch({
|
|
1992
|
+
indexName,
|
|
1993
|
+
objects,
|
|
1994
|
+
action: createIfNotExists
|
|
1995
|
+
? 'partialUpdateObject'
|
|
1996
|
+
: 'partialUpdateObjectNoCreate',
|
|
1997
|
+
}, requestOptions);
|
|
1998
|
+
},
|
|
1952
1999
|
/**
|
|
1953
2000
|
* 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.
|
|
1954
2001
|
* See https://api-clients-automation.netlify.app/docs/contributing/add-new-api-client#5-helpers for implementation details.
|
|
@@ -1958,10 +2005,10 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
1958
2005
|
* @param replaceAllObjects.indexName - The `indexName` to replace `objects` in.
|
|
1959
2006
|
* @param replaceAllObjects.objects - The array of `objects` to store in the given Algolia `indexName`.
|
|
1960
2007
|
* @param replaceAllObjects.batchSize - The size of the chunk of `objects`. The number of `batch` calls will be equal to `objects.length / batchSize`. Defaults to 1000.
|
|
1961
|
-
* @param requestOptions - The requestOptions to send along with the query, they will be forwarded to the `getTask` method and merged with the transporter requestOptions.
|
|
2008
|
+
* @param requestOptions - The requestOptions to send along with the query, they will be forwarded to the `batch`, `operationIndex` and `getTask` method and merged with the transporter requestOptions.
|
|
1962
2009
|
*/
|
|
1963
2010
|
async replaceAllObjects({ indexName, objects, batchSize }, requestOptions) {
|
|
1964
|
-
const randomSuffix = Math.
|
|
2011
|
+
const randomSuffix = Math.floor(Math.random() * 1000000) + 100000;
|
|
1965
2012
|
const tmpIndexName = `${indexName}_tmp_${randomSuffix}`;
|
|
1966
2013
|
let copyOperationResponse = await this.operationIndex({
|
|
1967
2014
|
indexName,
|
|
@@ -3846,7 +3893,7 @@ function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode
|
|
|
3846
3893
|
}
|
|
3847
3894
|
|
|
3848
3895
|
// 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.
|
|
3849
|
-
const apiClientVersion$1 = '5.0.0-beta.
|
|
3896
|
+
const apiClientVersion$1 = '5.0.0-beta.7';
|
|
3850
3897
|
function getDefaultHosts(appId) {
|
|
3851
3898
|
return [
|
|
3852
3899
|
{
|