@algolia/client-search 5.1.0 → 5.2.1
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 +2 -2
- package/dist/builds/browser.d.ts +12 -12
- package/dist/builds/browser.d.ts.map +1 -1
- package/dist/builds/node.d.ts +14 -14
- package/dist/builds/node.d.ts.map +1 -1
- package/dist/client-search.cjs +20 -31
- package/dist/client-search.esm.browser.js +26 -36
- package/dist/client-search.esm.node.js +20 -31
- package/dist/client-search.umd.js +2 -2
- package/dist/model/alternativesAsExact.d.ts.map +1 -1
- package/dist/model/baseIndexSettings.d.ts +2 -2
- package/dist/model/baseIndexSettings.d.ts.map +1 -1
- package/dist/model/baseSearchResponse.d.ts +4 -4
- package/dist/model/baseSearchResponse.d.ts.map +1 -1
- package/dist/model/batchRequest.d.ts +1 -1
- package/dist/model/batchRequest.d.ts.map +1 -1
- package/dist/model/browseResponse.d.ts.map +1 -1
- package/dist/model/clientMethodProps.d.ts +5 -6
- package/dist/model/clientMethodProps.d.ts.map +1 -1
- package/dist/model/consequenceParams.d.ts.map +1 -1
- package/dist/model/{facetsStats.d.ts → facetStats.d.ts} +2 -2
- package/dist/model/facetStats.d.ts.map +1 -0
- package/dist/model/index.d.ts +1 -1
- package/dist/model/index.d.ts.map +1 -1
- package/dist/model/multipleBatchRequest.d.ts +1 -1
- package/dist/model/multipleBatchRequest.d.ts.map +1 -1
- package/dist/model/removeWordsIfNoResults.d.ts.map +1 -1
- package/dist/model/searchResponse.d.ts.map +1 -1
- package/dist/model/searchResult.d.ts.map +1 -1
- package/dist/model/synonymType.d.ts.map +1 -1
- package/dist/src/searchClient.d.ts +16 -16
- package/dist/src/searchClient.d.ts.map +1 -1
- package/model/alternativesAsExact.ts +1 -4
- package/model/baseIndexSettings.ts +2 -2
- package/model/baseSearchResponse.ts +4 -4
- package/model/batchRequest.ts +1 -1
- package/model/browseResponse.ts +1 -4
- package/model/clientMethodProps.ts +8 -17
- package/model/consequenceParams.ts +1 -3
- package/model/{facetsStats.ts → facetStats.ts} +1 -1
- package/model/index.ts +1 -1
- package/model/multipleBatchRequest.ts +1 -1
- package/model/removeWordsIfNoResults.ts +1 -5
- package/model/searchResponse.ts +1 -3
- package/model/searchResult.ts +1 -3
- package/model/synonymType.ts +1 -6
- package/package.json +10 -8
- package/dist/model/facetsStats.d.ts.map +0 -1
|
@@ -31,7 +31,7 @@ export type BaseIndexSettings = {
|
|
|
31
31
|
/**
|
|
32
32
|
* Searchable attributes to which Algolia should apply [word segmentation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/how-to/customize-segmentation/) (decompounding). Attribute names are case-sensitive. Compound words are formed by combining two or more individual words, and are particularly prevalent in Germanic languages—for example, \"firefighter\". With decompounding, the individual components are indexed separately. You can specify different lists for different languages. Decompounding is supported for these languages: Dutch (`nl`), German (`de`), Finnish (`fi`), Danish (`da`), Swedish (`sv`), and Norwegian (`no`). Decompounding doesn\'t work for words with [non-spacing mark Unicode characters](https://www.charactercodes.net/category/non-spacing_mark). For example, `Gartenstühle` won\'t be decompounded if the `ü` consists of `u` (U+0075) and `◌̈` (U+0308).
|
|
33
33
|
*/
|
|
34
|
-
decompoundedAttributes?: Record<string,
|
|
34
|
+
decompoundedAttributes?: Record<string, unknown>;
|
|
35
35
|
/**
|
|
36
36
|
* Languages for language-specific processing steps, such as word detection and dictionary settings. **You should always specify an indexing language.** If you don\'t specify an indexing language, the search engine uses all [supported languages](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/supported-languages/), or the languages you specified with the `ignorePlurals` or `removeStopWords` parameters. This can lead to unexpected search results. For more information, see [Language-specific configuration](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/language-specific-configurations/).
|
|
37
37
|
*/
|
|
@@ -59,7 +59,7 @@ export type BaseIndexSettings = {
|
|
|
59
59
|
/**
|
|
60
60
|
* An object with custom data. You can store up to 32kB as custom data.
|
|
61
61
|
*/
|
|
62
|
-
userData?: Record<string,
|
|
62
|
+
userData?: Record<string, unknown>;
|
|
63
63
|
/**
|
|
64
64
|
* Characters and their normalized replacements. This overrides Algolia\'s default [normalization](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/normalization/).
|
|
65
65
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"baseIndexSettings.d.ts","sourceRoot":"","sources":["../../model/baseIndexSettings.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,EAAE,CAAC;IAEjC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IAEpB;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B;;OAEG;IACH,uBAAuB,CAAC,EAAE,MAAM,EAAE,CAAC;IAEnC;;OAEG;IACH,2BAA2B,CAAC,EAAE,MAAM,EAAE,CAAC;IAEvC;;OAEG;IACH,yBAAyB,CAAC,EAAE,MAAM,EAAE,CAAC;IAErC;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAE/B;;OAEG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"baseIndexSettings.d.ts","sourceRoot":"","sources":["../../model/baseIndexSettings.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,EAAE,CAAC;IAEjC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IAEpB;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B;;OAEG;IACH,uBAAuB,CAAC,EAAE,MAAM,EAAE,CAAC;IAEnC;;OAEG;IACH,2BAA2B,CAAC,EAAE,MAAM,EAAE,CAAC;IAEvC;;OAEG;IACH,yBAAyB,CAAC,EAAE,MAAM,EAAE,CAAC;IAErC;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAE/B;;OAEG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAEjD;;OAEG;IACH,cAAc,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAErC;;OAEG;IACH,yBAAyB,CAAC,EAAE,MAAM,EAAE,CAAC;IAErC;;OAEG;IACH,8BAA8B,CAAC,EAAE,OAAO,CAAC;IAEzC;;OAEG;IACH,6BAA6B,CAAC,EAAE,MAAM,EAAE,CAAC;IAEzC;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACH,oBAAoB,CAAC,EAAE,MAAM,EAAE,CAAC;IAEhC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAEnC;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IAE7D;;OAEG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Exhaustive } from './exhaustive';
|
|
2
|
-
import type {
|
|
2
|
+
import type { FacetStats } from './facetStats';
|
|
3
3
|
import type { Redirect } from './redirect';
|
|
4
4
|
import type { RenderingContent } from './renderingContent';
|
|
5
5
|
export type BaseSearchResponse = Record<string, any> & {
|
|
@@ -39,7 +39,7 @@ export type BaseSearchResponse = Record<string, any> & {
|
|
|
39
39
|
/**
|
|
40
40
|
* Statistics for numerical facets.
|
|
41
41
|
*/
|
|
42
|
-
facets_stats?: Record<string,
|
|
42
|
+
facets_stats?: Record<string, FacetStats>;
|
|
43
43
|
/**
|
|
44
44
|
* Index name used for the query.
|
|
45
45
|
*/
|
|
@@ -67,7 +67,7 @@ export type BaseSearchResponse = Record<string, any> & {
|
|
|
67
67
|
/**
|
|
68
68
|
* Experimental. List of processing steps and their times, in milliseconds. You can use this list to investigate performance issues.
|
|
69
69
|
*/
|
|
70
|
-
processingTimingsMS?: Record<string,
|
|
70
|
+
processingTimingsMS?: Record<string, unknown>;
|
|
71
71
|
/**
|
|
72
72
|
* Markup text indicating which parts of the original query have been removed to retrieve a non-empty result set.
|
|
73
73
|
*/
|
|
@@ -85,7 +85,7 @@ export type BaseSearchResponse = Record<string, any> & {
|
|
|
85
85
|
/**
|
|
86
86
|
* An object with custom data. You can store up to 32kB as custom data.
|
|
87
87
|
*/
|
|
88
|
-
userData?: Record<string,
|
|
88
|
+
userData?: Record<string, unknown>;
|
|
89
89
|
/**
|
|
90
90
|
* Unique identifier for the query. This is used for [click analytics](https://www.algolia.com/doc/guides/analytics/click-analytics/).
|
|
91
91
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"baseSearchResponse.d.ts","sourceRoot":"","sources":["../../model/baseSearchResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"baseSearchResponse.d.ts","sourceRoot":"","sources":["../../model/baseSearchResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAC3C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE3D,MAAM,MAAM,kBAAkB,GAA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AEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAEnC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"batchRequest.d.ts","sourceRoot":"","sources":["../../model/batchRequest.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC,MAAM,MAAM,YAAY,GAAG;IACzB,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"batchRequest.d.ts","sourceRoot":"","sources":["../../model/batchRequest.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC,MAAM,MAAM,YAAY,GAAG;IACzB,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAC/B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"browseResponse.d.ts","sourceRoot":"","sources":["../../model/browseResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,MAAM,cAAc,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,IAAI,kBAAkB,
|
|
1
|
+
{"version":3,"file":"browseResponse.d.ts","sourceRoot":"","sources":["../../model/browseResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,MAAM,cAAc,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,IAAI,kBAAkB,GAAG,gBAAgB,GAAG,MAAM,GAAG,UAAU,CAAC,CAAC,CAAC,CAAC"}
|
|
@@ -3,7 +3,6 @@ import type { Action } from './action';
|
|
|
3
3
|
import type { ApiKey } from './apiKey';
|
|
4
4
|
import type { ApiKeyOperation } from './apiKeyOperation';
|
|
5
5
|
import type { AssignUserIdParams } from './assignUserIdParams';
|
|
6
|
-
import type { AttributeToUpdate } from './attributeToUpdate';
|
|
7
6
|
import type { BatchAssignUserIdsParams } from './batchAssignUserIdsParams';
|
|
8
7
|
import type { BatchDictionaryEntriesParams } from './batchDictionaryEntriesParams';
|
|
9
8
|
import type { BatchWriteParams } from './batchWriteParams';
|
|
@@ -40,7 +39,7 @@ export type AddOrUpdateObjectProps = {
|
|
|
40
39
|
/**
|
|
41
40
|
* The record, a schemaless object with attributes that are useful in the context of search and discovery.
|
|
42
41
|
*/
|
|
43
|
-
body: Record<string,
|
|
42
|
+
body: Record<string, unknown>;
|
|
44
43
|
};
|
|
45
44
|
/**
|
|
46
45
|
* Properties for the `assignUserId` method.
|
|
@@ -168,7 +167,7 @@ export type CustomPostProps = {
|
|
|
168
167
|
/**
|
|
169
168
|
* Parameters to send with the custom request.
|
|
170
169
|
*/
|
|
171
|
-
body?: Record<string,
|
|
170
|
+
body?: Record<string, unknown>;
|
|
172
171
|
};
|
|
173
172
|
/**
|
|
174
173
|
* Properties for the `customPut` method.
|
|
@@ -185,7 +184,7 @@ export type CustomPutProps = {
|
|
|
185
184
|
/**
|
|
186
185
|
* Parameters to send with the custom request.
|
|
187
186
|
*/
|
|
188
|
-
body?: Record<string,
|
|
187
|
+
body?: Record<string, unknown>;
|
|
189
188
|
};
|
|
190
189
|
/**
|
|
191
190
|
* Properties for the `deleteApiKey` method.
|
|
@@ -444,7 +443,7 @@ export type PartialUpdateObjectProps = {
|
|
|
444
443
|
/**
|
|
445
444
|
* Attributes with their values.
|
|
446
445
|
*/
|
|
447
|
-
attributesToUpdate: Record<string,
|
|
446
|
+
attributesToUpdate: Record<string, unknown>;
|
|
448
447
|
/**
|
|
449
448
|
* Whether to create a new record if it doesn\'t exist.
|
|
450
449
|
*/
|
|
@@ -488,7 +487,7 @@ export type SaveObjectProps = {
|
|
|
488
487
|
/**
|
|
489
488
|
* The record, a schemaless object with attributes that are useful in the context of search and discovery.
|
|
490
489
|
*/
|
|
491
|
-
body: Record<string,
|
|
490
|
+
body: Record<string, unknown>;
|
|
492
491
|
};
|
|
493
492
|
/**
|
|
494
493
|
* Properties for the `saveRule` method.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clientMethodProps.d.ts","sourceRoot":"","sources":["../../model/clientMethodProps.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAEpE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"clientMethodProps.d.ts","sourceRoot":"","sources":["../../model/clientMethodProps.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAEpE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAC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C;CACxB,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC;IAEpC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consequenceParams.d.ts","sourceRoot":"","sources":["../../model/consequenceParams.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AACnF,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AACjF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC,MAAM,MAAM,iBAAiB,GAAG,4BAA4B,
|
|
1
|
+
{"version":3,"file":"consequenceParams.d.ts","sourceRoot":"","sources":["../../model/consequenceParams.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AACnF,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AACjF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC,MAAM,MAAM,iBAAiB,GAAG,4BAA4B,GAAG,2BAA2B,GAAG,MAAM,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type FacetStats = {
|
|
2
2
|
/**
|
|
3
3
|
* Minimum value in the results.
|
|
4
4
|
*/
|
|
@@ -16,4 +16,4 @@ export type FacetsStats = {
|
|
|
16
16
|
*/
|
|
17
17
|
sum?: number;
|
|
18
18
|
};
|
|
19
|
-
//# sourceMappingURL=
|
|
19
|
+
//# sourceMappingURL=facetStats.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"facetStats.d.ts","sourceRoot":"","sources":["../../model/facetStats.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,UAAU,GAAG;IACvB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CACd,CAAC"}
|
package/dist/model/index.d.ts
CHANGED
|
@@ -60,8 +60,8 @@ export * from './exhaustive';
|
|
|
60
60
|
export * from './facetFilters';
|
|
61
61
|
export * from './facetHits';
|
|
62
62
|
export * from './facetOrdering';
|
|
63
|
+
export * from './facetStats';
|
|
63
64
|
export * from './facets';
|
|
64
|
-
export * from './facetsStats';
|
|
65
65
|
export * from './fetchedIndex';
|
|
66
66
|
export * from './getApiKeyResponse';
|
|
67
67
|
export * from './getDictionarySettingsResponse';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../model/index.ts"],"names":[],"mappings":"AAEA,cAAc,OAAO,CAAC;AACtB,cAAc,UAAU,CAAC;AACzB,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,sBAAsB,CAAC;AACrC,cAAc,4BAA4B,CAA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cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iCAAiC,CAAC;AAChD,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"multipleBatchRequest.d.ts","sourceRoot":"","sources":["../../model/multipleBatchRequest.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC,MAAM,MAAM,oBAAoB,GAAG;IACjC,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"multipleBatchRequest.d.ts","sourceRoot":"","sources":["../../model/multipleBatchRequest.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC,MAAM,MAAM,oBAAoB,GAAG;IACjC,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAE/B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"removeWordsIfNoResults.d.ts","sourceRoot":"","sources":["../../model/removeWordsIfNoResults.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,sBAAsB,
|
|
1
|
+
{"version":3,"file":"removeWordsIfNoResults.d.ts","sourceRoot":"","sources":["../../model/removeWordsIfNoResults.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,aAAa,GAAG,YAAY,GAAG,WAAW,GAAG,MAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"searchResponse.d.ts","sourceRoot":"","sources":["../../model/searchResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE3D,MAAM,MAAM,cAAc,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,IAAI,kBAAkB,
|
|
1
|
+
{"version":3,"file":"searchResponse.d.ts","sourceRoot":"","sources":["../../model/searchResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE3D,MAAM,MAAM,cAAc,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,IAAI,kBAAkB,GAAG,UAAU,CAAC,CAAC,CAAC,GAAG,gBAAgB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"searchResult.d.ts","sourceRoot":"","sources":["../../model/searchResult.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AACnF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD,MAAM,MAAM,YAAY,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"searchResult.d.ts","sourceRoot":"","sources":["../../model/searchResult.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AACnF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD,MAAM,MAAM,YAAY,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,IAAI,4BAA4B,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"synonymType.d.ts","sourceRoot":"","sources":["../../model/synonymType.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"synonymType.d.ts","sourceRoot":"","sources":["../../model/synonymType.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,gBAAgB,GAAG,gBAAgB,GAAG,eAAe,GAAG,aAAa,GAAG,SAAS,CAAC"}
|
|
@@ -47,7 +47,7 @@ import type { UpdatedAtResponse } from '../model/updatedAtResponse';
|
|
|
47
47
|
import type { UpdatedAtWithObjectIdResponse } from '../model/updatedAtWithObjectIdResponse';
|
|
48
48
|
import type { UpdatedRuleResponse } from '../model/updatedRuleResponse';
|
|
49
49
|
import type { UserId } from '../model/userId';
|
|
50
|
-
export declare const apiClientVersion = "5.1
|
|
50
|
+
export declare const apiClientVersion = "5.2.1";
|
|
51
51
|
export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, ...options }: CreateClientOptions): {
|
|
52
52
|
transporter: import("@algolia/client-common").Transporter;
|
|
53
53
|
/**
|
|
@@ -153,7 +153,7 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
|
|
|
153
153
|
* @param chunkedBatch.batchSize - The size of the chunk of `objects`. The number of `batch` calls will be equal to `length(objects) / batchSize`. Defaults to 1000.
|
|
154
154
|
* @param requestOptions - The requestOptions to send along with the query, they will be forwarded to the `getTask` method and merged with the transporter requestOptions.
|
|
155
155
|
*/
|
|
156
|
-
chunkedBatch({ indexName, objects, action, waitForTasks, batchSize
|
|
156
|
+
chunkedBatch({ indexName, objects, action, waitForTasks, batchSize }: ChunkedBatchOptions, requestOptions?: RequestOptions): Promise<BatchResponse[]>;
|
|
157
157
|
/**
|
|
158
158
|
* 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.
|
|
159
159
|
*
|
|
@@ -296,7 +296,7 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
|
|
|
296
296
|
* @param batchDictionaryEntries.batchDictionaryEntriesParams - The batchDictionaryEntriesParams object.
|
|
297
297
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
298
298
|
*/
|
|
299
|
-
batchDictionaryEntries({ dictionaryName, batchDictionaryEntriesParams
|
|
299
|
+
batchDictionaryEntries({ dictionaryName, batchDictionaryEntriesParams }: BatchDictionaryEntriesProps, requestOptions?: RequestOptions): Promise<UpdatedAtResponse>;
|
|
300
300
|
/**
|
|
301
301
|
* 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.
|
|
302
302
|
*
|
|
@@ -352,7 +352,7 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
|
|
|
352
352
|
* @param customDelete.parameters - Query parameters to apply to the current query.
|
|
353
353
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
354
354
|
*/
|
|
355
|
-
customDelete({ path, parameters }: CustomDeleteProps, requestOptions?: RequestOptions): Promise<Record<string,
|
|
355
|
+
customDelete({ path, parameters }: CustomDeleteProps, requestOptions?: RequestOptions): Promise<Record<string, unknown>>;
|
|
356
356
|
/**
|
|
357
357
|
* This method allow you to send requests to the Algolia REST API.
|
|
358
358
|
*
|
|
@@ -361,7 +361,7 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
|
|
|
361
361
|
* @param customGet.parameters - Query parameters to apply to the current query.
|
|
362
362
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
363
363
|
*/
|
|
364
|
-
customGet({ path, parameters }: CustomGetProps, requestOptions?: RequestOptions): Promise<Record<string,
|
|
364
|
+
customGet({ path, parameters }: CustomGetProps, requestOptions?: RequestOptions): Promise<Record<string, unknown>>;
|
|
365
365
|
/**
|
|
366
366
|
* This method allow you to send requests to the Algolia REST API.
|
|
367
367
|
*
|
|
@@ -371,7 +371,7 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
|
|
|
371
371
|
* @param customPost.body - Parameters to send with the custom request.
|
|
372
372
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
373
373
|
*/
|
|
374
|
-
customPost({ path, parameters, body }: CustomPostProps, requestOptions?: RequestOptions): Promise<Record<string,
|
|
374
|
+
customPost({ path, parameters, body }: CustomPostProps, requestOptions?: RequestOptions): Promise<Record<string, unknown>>;
|
|
375
375
|
/**
|
|
376
376
|
* This method allow you to send requests to the Algolia REST API.
|
|
377
377
|
*
|
|
@@ -381,7 +381,7 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
|
|
|
381
381
|
* @param customPut.body - Parameters to send with the custom request.
|
|
382
382
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
383
383
|
*/
|
|
384
|
-
customPut({ path, parameters, body }: CustomPutProps, requestOptions?: RequestOptions): Promise<Record<string,
|
|
384
|
+
customPut({ path, parameters, body }: CustomPutProps, requestOptions?: RequestOptions): Promise<Record<string, unknown>>;
|
|
385
385
|
/**
|
|
386
386
|
* Deletes the API key.
|
|
387
387
|
*
|
|
@@ -394,7 +394,7 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
|
|
|
394
394
|
*/
|
|
395
395
|
deleteApiKey({ key }: DeleteApiKeyProps, requestOptions?: RequestOptions): Promise<DeleteApiKeyResponse>;
|
|
396
396
|
/**
|
|
397
|
-
* This operation doesn\'t accept empty queries or filters. It\'s more efficient to get a list of object IDs with the [`browse` operation](#tag/Search/operation/browse), and then delete the records using the [`batch` operation](tag/Records/operation/batch).
|
|
397
|
+
* This operation doesn\'t accept empty queries or filters. It\'s more efficient to get a list of object IDs with the [`browse` operation](#tag/Search/operation/browse), and then delete the records using the [`batch` operation](#tag/Records/operation/batch).
|
|
398
398
|
*
|
|
399
399
|
* Required API Key ACLs:
|
|
400
400
|
* - deleteIndex.
|
|
@@ -528,7 +528,7 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
|
|
|
528
528
|
* @param getObject.attributesToRetrieve - Attributes to include with the records in the response. This is useful to reduce the size of the API response. By default, all retrievable attributes are returned. `objectID` is always retrieved. Attributes included in `unretrievableAttributes` won\'t be retrieved unless the request is authenticated with the admin API key.
|
|
529
529
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
530
530
|
*/
|
|
531
|
-
getObject({ indexName, objectID, attributesToRetrieve }: GetObjectProps, requestOptions?: RequestOptions): Promise<Record<string,
|
|
531
|
+
getObject({ indexName, objectID, attributesToRetrieve }: GetObjectProps, requestOptions?: RequestOptions): Promise<Record<string, unknown>>;
|
|
532
532
|
/**
|
|
533
533
|
* Retrieves one or more records, potentially from different indices. Records are returned in the same order as the requests.
|
|
534
534
|
*
|
|
@@ -688,7 +688,7 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
|
|
|
688
688
|
*/
|
|
689
689
|
operationIndex({ indexName, operationIndexParams }: OperationIndexProps, requestOptions?: RequestOptions): Promise<UpdatedAtResponse>;
|
|
690
690
|
/**
|
|
691
|
-
* Adds new attributes to a record, or update existing ones. - If a record with the specified object ID doesn\'t exist, a new record is added to the index **if** `createIfNotExists` is true. - If the index doesn\'t exist yet, this method creates a new index. - You can use any first-level attribute but not nested attributes. If you specify a nested attribute, the engine treats it as a replacement for its first-level ancestor.
|
|
691
|
+
* Adds new attributes to a record, or update existing ones. - If a record with the specified object ID doesn\'t exist, a new record is added to the index **if** `createIfNotExists` is true. - If the index doesn\'t exist yet, this method creates a new index. - You can use any first-level attribute but not nested attributes. If you specify a nested attribute, the engine treats it as a replacement for its first-level ancestor. To update an attribute without pushing the entire record, you can use these built-in operations. These operations can be helpful if you don\'t have access to your initial data. - Increment: increment a numeric attribute - Decrement: decrement a numeric attribute - Add: append a number or string element to an array attribute - Remove: remove all matching number or string elements from an array attribute made of numbers or strings - AddUnique: add a number or string element to an array attribute made of numbers or strings only if it\'s not already present - IncrementFrom: increment a numeric integer attribute only if the provided value matches the current value, and otherwise ignore the whole object update. For example, if you pass an IncrementFrom value of 2 for the version attribute, but the current value of the attribute is 1, the engine ignores the update. If the object doesn\'t exist, the engine only creates it if you pass an IncrementFrom value of 0. - IncrementSet: increment a numeric integer attribute only if the provided value is greater than the current value, and otherwise ignore the whole object update. For example, if you pass an IncrementSet value of 2 for the version attribute, and the current value of the attribute is 1, the engine updates the object. If the object doesn\'t exist yet, the engine only creates it if you pass an IncrementSet value that\'s greater than 0. You can specify an operation by providing an object with the attribute to update as the key and its value being an object with the following properties: - _operation: the operation to apply on the attribute - value: the right-hand side argument to the operation, for example, increment or decrement step, value to add or remove.
|
|
692
692
|
*
|
|
693
693
|
* Required API Key ACLs:
|
|
694
694
|
* - addObject.
|
|
@@ -700,7 +700,7 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
|
|
|
700
700
|
* @param partialUpdateObject.createIfNotExists - Whether to create a new record if it doesn\'t exist.
|
|
701
701
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
702
702
|
*/
|
|
703
|
-
partialUpdateObject({ indexName, objectID, attributesToUpdate, createIfNotExists
|
|
703
|
+
partialUpdateObject({ indexName, objectID, attributesToUpdate, createIfNotExists }: PartialUpdateObjectProps, requestOptions?: RequestOptions): Promise<UpdatedAtWithObjectIdResponse>;
|
|
704
704
|
/**
|
|
705
705
|
* Deletes a user ID and its associated data from the clusters.
|
|
706
706
|
*
|
|
@@ -735,7 +735,7 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
|
|
|
735
735
|
*/
|
|
736
736
|
restoreApiKey({ key }: RestoreApiKeyProps, requestOptions?: RequestOptions): Promise<AddApiKeyResponse>;
|
|
737
737
|
/**
|
|
738
|
-
* Adds a record to an index or replace it. - If the record doesn\'t have an object ID, a new record with an auto-generated object ID is added to your index. - If a record with the specified object ID exists, the existing record is replaced. - If a record with the specified object ID doesn\'t exist, a new record is added to your index. - If you add a record to an index that doesn\'t exist yet, a new index is created. To update _some_ attributes of a record, use the [`partial` operation](#tag/Records/operation/
|
|
738
|
+
* Adds a record to an index or replace it. - If the record doesn\'t have an object ID, a new record with an auto-generated object ID is added to your index. - If a record with the specified object ID exists, the existing record is replaced. - If a record with the specified object ID doesn\'t exist, a new record is added to your index. - If you add a record to an index that doesn\'t exist yet, a new index is created. To update _some_ attributes of a record, use the [`partial` operation](#tag/Records/operation/partialUpdateObject). To add, update, or replace multiple records, use the [`batch` operation](#tag/Records/operation/batch).
|
|
739
739
|
*
|
|
740
740
|
* Required API Key ACLs:
|
|
741
741
|
* - addObject.
|
|
@@ -773,7 +773,7 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
|
|
|
773
773
|
* @param saveRules.clearExistingRules - Whether existing rules should be deleted before adding this batch.
|
|
774
774
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
775
775
|
*/
|
|
776
|
-
saveRules({ indexName, rules, forwardToReplicas, clearExistingRules
|
|
776
|
+
saveRules({ indexName, rules, forwardToReplicas, clearExistingRules }: SaveRulesProps, requestOptions?: RequestOptions): Promise<UpdatedAtResponse>;
|
|
777
777
|
/**
|
|
778
778
|
* If a synonym with the specified object ID doesn\'t exist, Algolia adds a new one. Otherwise, the existing synonym is replaced. To add multiple synonyms in a single API request, use the [`batch` operation](#tag/Synonyms/operation/saveSynonyms).
|
|
779
779
|
*
|
|
@@ -801,7 +801,7 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
|
|
|
801
801
|
* @param saveSynonyms.replaceExistingSynonyms - Whether to replace all synonyms in the index with the ones sent with this request.
|
|
802
802
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
803
803
|
*/
|
|
804
|
-
saveSynonyms({ indexName, synonymHit, forwardToReplicas, replaceExistingSynonyms
|
|
804
|
+
saveSynonyms({ indexName, synonymHit, forwardToReplicas, replaceExistingSynonyms }: SaveSynonymsProps, requestOptions?: RequestOptions): Promise<UpdatedAtResponse>;
|
|
805
805
|
/**
|
|
806
806
|
* Sends multiple search request to one or more indices. This can be useful in these cases: - Different indices for different purposes, such as, one index for products, another one for marketing content. - Multiple searches to the same index—for example, with different filters.
|
|
807
807
|
*
|
|
@@ -823,7 +823,7 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
|
|
|
823
823
|
* @param searchDictionaryEntries.searchDictionaryEntriesParams - The searchDictionaryEntriesParams object.
|
|
824
824
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
825
825
|
*/
|
|
826
|
-
searchDictionaryEntries({ dictionaryName, searchDictionaryEntriesParams
|
|
826
|
+
searchDictionaryEntries({ dictionaryName, searchDictionaryEntriesParams }: SearchDictionaryEntriesProps, requestOptions?: RequestOptions): Promise<SearchDictionaryEntriesResponse>;
|
|
827
827
|
/**
|
|
828
828
|
* Searches for values of a specified facet attribute. - By default, facet values are sorted by decreasing count. You can adjust this with the `sortFacetValueBy` parameter. - Searching for facet values doesn\'t work if you have **more than 65 searchable facets and searchable attributes combined**.
|
|
829
829
|
*
|
|
@@ -836,7 +836,7 @@ export declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyO
|
|
|
836
836
|
* @param searchForFacetValues.searchForFacetValuesRequest - The searchForFacetValuesRequest object.
|
|
837
837
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
838
838
|
*/
|
|
839
|
-
searchForFacetValues({ indexName, facetName, searchForFacetValuesRequest
|
|
839
|
+
searchForFacetValues({ indexName, facetName, searchForFacetValuesRequest }: SearchForFacetValuesProps, requestOptions?: RequestOptions): Promise<SearchForFacetValuesResponse>;
|
|
840
840
|
/**
|
|
841
841
|
* Searches for rules in your index.
|
|
842
842
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"searchClient.d.ts","sourceRoot":"","sources":["../../src/searchClient.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"searchClient.d.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1
1
|
// 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.
|
|
2
2
|
|
|
3
|
-
export type AlternativesAsExact =
|
|
4
|
-
| 'ignorePlurals'
|
|
5
|
-
| 'multiWordsSynonym'
|
|
6
|
-
| 'singleWordSynonym';
|
|
3
|
+
export type AlternativesAsExact = 'ignorePlurals' | 'multiWordsSynonym' | 'singleWordSynonym';
|
|
@@ -41,7 +41,7 @@ export type BaseIndexSettings = {
|
|
|
41
41
|
/**
|
|
42
42
|
* Searchable attributes to which Algolia should apply [word segmentation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/how-to/customize-segmentation/) (decompounding). Attribute names are case-sensitive. Compound words are formed by combining two or more individual words, and are particularly prevalent in Germanic languages—for example, \"firefighter\". With decompounding, the individual components are indexed separately. You can specify different lists for different languages. Decompounding is supported for these languages: Dutch (`nl`), German (`de`), Finnish (`fi`), Danish (`da`), Swedish (`sv`), and Norwegian (`no`). Decompounding doesn\'t work for words with [non-spacing mark Unicode characters](https://www.charactercodes.net/category/non-spacing_mark). For example, `Gartenstühle` won\'t be decompounded if the `ü` consists of `u` (U+0075) and `◌̈` (U+0308).
|
|
43
43
|
*/
|
|
44
|
-
decompoundedAttributes?: Record<string,
|
|
44
|
+
decompoundedAttributes?: Record<string, unknown>;
|
|
45
45
|
|
|
46
46
|
/**
|
|
47
47
|
* Languages for language-specific processing steps, such as word detection and dictionary settings. **You should always specify an indexing language.** If you don\'t specify an indexing language, the search engine uses all [supported languages](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/supported-languages/), or the languages you specified with the `ignorePlurals` or `removeStopWords` parameters. This can lead to unexpected search results. For more information, see [Language-specific configuration](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/language-specific-configurations/).
|
|
@@ -76,7 +76,7 @@ export type BaseIndexSettings = {
|
|
|
76
76
|
/**
|
|
77
77
|
* An object with custom data. You can store up to 32kB as custom data.
|
|
78
78
|
*/
|
|
79
|
-
userData?: Record<string,
|
|
79
|
+
userData?: Record<string, unknown>;
|
|
80
80
|
|
|
81
81
|
/**
|
|
82
82
|
* Characters and their normalized replacements. This overrides Algolia\'s default [normalization](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/normalization/).
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// 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.
|
|
2
2
|
|
|
3
3
|
import type { Exhaustive } from './exhaustive';
|
|
4
|
-
import type {
|
|
4
|
+
import type { FacetStats } from './facetStats';
|
|
5
5
|
import type { Redirect } from './redirect';
|
|
6
6
|
import type { RenderingContent } from './renderingContent';
|
|
7
7
|
|
|
@@ -51,7 +51,7 @@ export type BaseSearchResponse = Record<string, any> & {
|
|
|
51
51
|
/**
|
|
52
52
|
* Statistics for numerical facets.
|
|
53
53
|
*/
|
|
54
|
-
facets_stats?: Record<string,
|
|
54
|
+
facets_stats?: Record<string, FacetStats>;
|
|
55
55
|
|
|
56
56
|
/**
|
|
57
57
|
* Index name used for the query.
|
|
@@ -86,7 +86,7 @@ export type BaseSearchResponse = Record<string, any> & {
|
|
|
86
86
|
/**
|
|
87
87
|
* Experimental. List of processing steps and their times, in milliseconds. You can use this list to investigate performance issues.
|
|
88
88
|
*/
|
|
89
|
-
processingTimingsMS?: Record<string,
|
|
89
|
+
processingTimingsMS?: Record<string, unknown>;
|
|
90
90
|
|
|
91
91
|
/**
|
|
92
92
|
* Markup text indicating which parts of the original query have been removed to retrieve a non-empty result set.
|
|
@@ -110,7 +110,7 @@ export type BaseSearchResponse = Record<string, any> & {
|
|
|
110
110
|
/**
|
|
111
111
|
* An object with custom data. You can store up to 32kB as custom data.
|
|
112
112
|
*/
|
|
113
|
-
userData?: Record<string,
|
|
113
|
+
userData?: Record<string, unknown>;
|
|
114
114
|
|
|
115
115
|
/**
|
|
116
116
|
* Unique identifier for the query. This is used for [click analytics](https://www.algolia.com/doc/guides/analytics/click-analytics/).
|
package/model/batchRequest.ts
CHANGED
package/model/browseResponse.ts
CHANGED
|
@@ -5,7 +5,4 @@ import type { BrowsePagination } from './browsePagination';
|
|
|
5
5
|
import type { Cursor } from './cursor';
|
|
6
6
|
import type { SearchHits } from './searchHits';
|
|
7
7
|
|
|
8
|
-
export type BrowseResponse<T = Record<string, any>> = BaseSearchResponse &
|
|
9
|
-
BrowsePagination &
|
|
10
|
-
Cursor &
|
|
11
|
-
SearchHits<T>;
|
|
8
|
+
export type BrowseResponse<T = Record<string, any>> = BaseSearchResponse & BrowsePagination & Cursor & SearchHits<T>;
|