@algolia/client-search 5.1.1 → 5.2.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 +1 -1
- 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 +19 -30
- package/dist/client-search.esm.browser.js +24 -34
- package/dist/client-search.esm.node.js +19 -30
- 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 +14 -14
- 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 +7 -7
- package/dist/model/facetsStats.d.ts.map +0 -1
|
@@ -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,CAAC;AAC3C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC;AAChD,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AAC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AqB,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.
|
|
50
|
+
export declare const apiClientVersion = "5.2.2";
|
|
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
|
*
|
|
@@ -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
|
*
|
|
@@ -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.ts","sourceRoot":"","sources":["../../src/searchClient.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,mBAAmB,EAKnB,cAAc,EAGf,MAAM,wBAAwB,CAAC;AAEhC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAExD,OAAO,KAA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AAc,GAC9B,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC;IAmD9B;;;;;;;;;;OAUG;+EAEkD,4BAA4B,mBAC9D,cAAc,GAC9B,OAAO,CAAC,+BAA+B,CAAC;IAqC3C;;;;;;;;;;;OAWG;gFAEsD,yBAAyB,mBAC/D,cAAc,GAC9B,OAAO,CAAC,4BAA4B,CAAC;IA4BxC;;;;;;;;;;OAUG;kDAEiC,gBAAgB,mBACjC,cAAc,GAC9B,OAAO,CAAC,mBAAmB,CAAC;IAsB/B;;;;;;;;;;OAUG;sBACe,CAAC,+BACY,sBAAsB,mBAClC,cAAc,GAC9B,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC;IAsB7B;;;;;;;;;;OAUG;wDAEoC,mBAAmB,mBACvC,cAAc,GAC9B,OAAO,CAAC,sBAAsB,CAAC;IAyBlC;;;;;;;;OAQG;uCAEoB,mBAAmB,mBACvB,cAAc,GAC9B,OAAO,CAAC,qBAAqB,CAAC;IA0BjC;;;;;;;;OAQG;oDAEyB,wBAAwB,mBACjC,cAAc,GAC9B,OAAO,CAAC,iBAAiB,CAAC;IA0B7B;;;;;;;;;;;OAWG;iEAEgD,gBAAgB,mBAChD,cAAc,GAC9B,OAAO,CAAC,iBAAiB,CAAC;IA2B7B;;;;;;;;;;OAUG;kCAC2B,iBAAiB,mBAAmB,cAAc,GAAG,OAAO,CAAC,oBAAoB,CAAC;EA4BnH"}
|
|
@@ -1,6 +1,3 @@
|
|
|
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>;
|
|
@@ -6,7 +6,6 @@ import type { Action } from './action';
|
|
|
6
6
|
import type { ApiKey } from './apiKey';
|
|
7
7
|
import type { ApiKeyOperation } from './apiKeyOperation';
|
|
8
8
|
import type { AssignUserIdParams } from './assignUserIdParams';
|
|
9
|
-
import type { AttributeToUpdate } from './attributeToUpdate';
|
|
10
9
|
import type { BatchAssignUserIdsParams } from './batchAssignUserIdsParams';
|
|
11
10
|
import type { BatchDictionaryEntriesParams } from './batchDictionaryEntriesParams';
|
|
12
11
|
import type { BatchWriteParams } from './batchWriteParams';
|
|
@@ -44,7 +43,7 @@ export type AddOrUpdateObjectProps = {
|
|
|
44
43
|
/**
|
|
45
44
|
* The record, a schemaless object with attributes that are useful in the context of search and discovery.
|
|
46
45
|
*/
|
|
47
|
-
body: Record<string,
|
|
46
|
+
body: Record<string, unknown>;
|
|
48
47
|
};
|
|
49
48
|
|
|
50
49
|
/**
|
|
@@ -183,7 +182,7 @@ export type CustomPostProps = {
|
|
|
183
182
|
/**
|
|
184
183
|
* Parameters to send with the custom request.
|
|
185
184
|
*/
|
|
186
|
-
body?: Record<string,
|
|
185
|
+
body?: Record<string, unknown>;
|
|
187
186
|
};
|
|
188
187
|
|
|
189
188
|
/**
|
|
@@ -201,7 +200,7 @@ export type CustomPutProps = {
|
|
|
201
200
|
/**
|
|
202
201
|
* Parameters to send with the custom request.
|
|
203
202
|
*/
|
|
204
|
-
body?: Record<string,
|
|
203
|
+
body?: Record<string, unknown>;
|
|
205
204
|
};
|
|
206
205
|
|
|
207
206
|
/**
|
|
@@ -481,7 +480,7 @@ export type PartialUpdateObjectProps = {
|
|
|
481
480
|
/**
|
|
482
481
|
* Attributes with their values.
|
|
483
482
|
*/
|
|
484
|
-
attributesToUpdate: Record<string,
|
|
483
|
+
attributesToUpdate: Record<string, unknown>;
|
|
485
484
|
/**
|
|
486
485
|
* Whether to create a new record if it doesn\'t exist.
|
|
487
486
|
*/
|
|
@@ -529,7 +528,7 @@ export type SaveObjectProps = {
|
|
|
529
528
|
/**
|
|
530
529
|
* The record, a schemaless object with attributes that are useful in the context of search and discovery.
|
|
531
530
|
*/
|
|
532
|
-
body: Record<string,
|
|
531
|
+
body: Record<string, unknown>;
|
|
533
532
|
};
|
|
534
533
|
|
|
535
534
|
/**
|
|
@@ -731,9 +730,7 @@ export type UpdateApiKeyProps = {
|
|
|
731
730
|
/**
|
|
732
731
|
* The `browseObjects`, `browseRules`, `browseSynonyms` options.
|
|
733
732
|
*/
|
|
734
|
-
export type BrowseOptions<T> = Partial<
|
|
735
|
-
Pick<CreateIterablePromise<T>, 'validate'>
|
|
736
|
-
> &
|
|
733
|
+
export type BrowseOptions<T> = Partial<Pick<CreateIterablePromise<T>, 'validate'>> &
|
|
737
734
|
Required<Pick<CreateIterablePromise<T>, 'aggregator'>>;
|
|
738
735
|
|
|
739
736
|
type WaitForOptions = Partial<{
|
|
@@ -813,20 +810,14 @@ export type DeleteObjectsOptions = Pick<ChunkedBatchOptions, 'indexName'> & {
|
|
|
813
810
|
objectIDs: string[];
|
|
814
811
|
};
|
|
815
812
|
|
|
816
|
-
export type PartialUpdateObjectsOptions = Pick<
|
|
817
|
-
ChunkedBatchOptions,
|
|
818
|
-
'indexName' | 'objects'
|
|
819
|
-
> & {
|
|
813
|
+
export type PartialUpdateObjectsOptions = Pick<ChunkedBatchOptions, 'indexName' | 'objects'> & {
|
|
820
814
|
/**
|
|
821
815
|
*To be provided if non-existing objects are passed, otherwise, the call will fail.
|
|
822
816
|
*/
|
|
823
817
|
createIfNotExists?: boolean;
|
|
824
818
|
};
|
|
825
819
|
|
|
826
|
-
export type SaveObjectsOptions = Pick<
|
|
827
|
-
ChunkedBatchOptions,
|
|
828
|
-
'indexName' | 'objects'
|
|
829
|
-
>;
|
|
820
|
+
export type SaveObjectsOptions = Pick<ChunkedBatchOptions, 'indexName' | 'objects'>;
|
|
830
821
|
|
|
831
822
|
export type ChunkedBatchOptions = ReplaceAllObjectsOptions & {
|
|
832
823
|
/**
|
|
@@ -4,6 +4,4 @@ import type { BaseSearchParamsWithoutQuery } from './baseSearchParamsWithoutQuer
|
|
|
4
4
|
import type { IndexSettingsAsSearchParams } from './indexSettingsAsSearchParams';
|
|
5
5
|
import type { Params } from './params';
|
|
6
6
|
|
|
7
|
-
export type ConsequenceParams = BaseSearchParamsWithoutQuery &
|
|
8
|
-
IndexSettingsAsSearchParams &
|
|
9
|
-
Params;
|
|
7
|
+
export type ConsequenceParams = BaseSearchParamsWithoutQuery & IndexSettingsAsSearchParams & Params;
|
|
@@ -1,6 +1,6 @@
|
|
|
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
|
|
3
|
+
export type FacetStats = {
|
|
4
4
|
/**
|
|
5
5
|
* Minimum value in the results.
|
|
6
6
|
*/
|
package/model/index.ts
CHANGED
|
@@ -62,8 +62,8 @@ export * from './exhaustive';
|
|
|
62
62
|
export * from './facetFilters';
|
|
63
63
|
export * from './facetHits';
|
|
64
64
|
export * from './facetOrdering';
|
|
65
|
+
export * from './facetStats';
|
|
65
66
|
export * from './facets';
|
|
66
|
-
export * from './facetsStats';
|
|
67
67
|
export * from './fetchedIndex';
|
|
68
68
|
export * from './getApiKeyResponse';
|
|
69
69
|
export * from './getDictionarySettingsResponse';
|
|
@@ -3,8 +3,4 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Strategy for removing words from the query when it doesn\'t return any results. This helps to avoid returning empty search results. - `none`. No words are removed when a query doesn\'t return results. - `lastWords`. Treat the last (then second to last, then third to last) word as optional, until there are results or at most 5 words have been removed. - `firstWords`. Treat the first (then second, then third) word as optional, until there are results or at most 5 words have been removed. - `allOptional`. Treat all words as optional. For more information, see [Remove words to improve results](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/in-depth/why-use-remove-words-if-no-results/).
|
|
5
5
|
*/
|
|
6
|
-
export type RemoveWordsIfNoResults =
|
|
7
|
-
| 'allOptional'
|
|
8
|
-
| 'firstWords'
|
|
9
|
-
| 'lastWords'
|
|
10
|
-
| 'none';
|
|
6
|
+
export type RemoveWordsIfNoResults = 'allOptional' | 'firstWords' | 'lastWords' | 'none';
|
package/model/searchResponse.ts
CHANGED
|
@@ -4,6 +4,4 @@ import type { BaseSearchResponse } from './baseSearchResponse';
|
|
|
4
4
|
import type { SearchHits } from './searchHits';
|
|
5
5
|
import type { SearchPagination } from './searchPagination';
|
|
6
6
|
|
|
7
|
-
export type SearchResponse<T = Record<string, any>> = BaseSearchResponse &
|
|
8
|
-
SearchHits<T> &
|
|
9
|
-
SearchPagination;
|
|
7
|
+
export type SearchResponse<T = Record<string, any>> = BaseSearchResponse & SearchHits<T> & SearchPagination;
|
package/model/searchResult.ts
CHANGED
|
@@ -3,6 +3,4 @@
|
|
|
3
3
|
import type { SearchForFacetValuesResponse } from './searchForFacetValuesResponse';
|
|
4
4
|
import type { SearchResponse } from './searchResponse';
|
|
5
5
|
|
|
6
|
-
export type SearchResult<T = Record<string, any>> =
|
|
7
|
-
| SearchForFacetValuesResponse
|
|
8
|
-
| SearchResponse<T>;
|
|
6
|
+
export type SearchResult<T = Record<string, any>> = SearchForFacetValuesResponse | SearchResponse<T>;
|
package/model/synonymType.ts
CHANGED
|
@@ -3,9 +3,4 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Synonym type.
|
|
5
5
|
*/
|
|
6
|
-
export type SynonymType =
|
|
7
|
-
| 'altcorrection1'
|
|
8
|
-
| 'altcorrection2'
|
|
9
|
-
| 'onewaysynonym'
|
|
10
|
-
| 'placeholder'
|
|
11
|
-
| 'synonym';
|
|
6
|
+
export type SynonymType = 'altcorrection1' | 'altcorrection2' | 'onewaysynonym' | 'placeholder' | 'synonym';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@algolia/client-search",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.2.2",
|
|
4
4
|
"description": "JavaScript client for client-search",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"default": "./dist/client-search.cjs",
|
|
19
19
|
"types": "./dist/builds/node.d.ts"
|
|
20
20
|
},
|
|
21
|
-
"
|
|
21
|
+
"browser": {
|
|
22
22
|
"umd": "./dist/client-search.umd.js",
|
|
23
23
|
"module": "./dist/client-search.esm.browser.js",
|
|
24
24
|
"import": "./dist/client-search.esm.browser.js",
|
|
@@ -44,13 +44,13 @@
|
|
|
44
44
|
"clean": "rm -rf ./dist || true"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@algolia/client-common": "5.
|
|
48
|
-
"@algolia/requester-browser-xhr": "5.
|
|
49
|
-
"@algolia/requester-node-http": "5.
|
|
47
|
+
"@algolia/client-common": "5.2.2",
|
|
48
|
+
"@algolia/requester-browser-xhr": "5.2.2",
|
|
49
|
+
"@algolia/requester-node-http": "5.2.2"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@types/node": "22.
|
|
53
|
-
"rollup": "4.
|
|
52
|
+
"@types/node": "22.5.0",
|
|
53
|
+
"rollup": "4.21.0",
|
|
54
54
|
"typescript": "5.5.4"
|
|
55
55
|
},
|
|
56
56
|
"engines": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"facetsStats.d.ts","sourceRoot":"","sources":["../../model/facetsStats.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,WAAW,GAAG;IACxB;;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"}
|