@algolia/client-search 5.28.0 → 5.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/dist/browser.d.ts +19 -10
- package/dist/builds/browser.js +5 -5
- package/dist/builds/browser.js.map +1 -1
- package/dist/builds/browser.min.js +1 -1
- package/dist/builds/browser.min.js.map +1 -1
- package/dist/builds/browser.umd.js +2 -2
- package/dist/builds/fetch.js +5 -5
- package/dist/builds/fetch.js.map +1 -1
- package/dist/builds/node.cjs +5 -5
- package/dist/builds/node.cjs.map +1 -1
- package/dist/builds/node.js +5 -5
- package/dist/builds/node.js.map +1 -1
- package/dist/builds/worker.js +5 -5
- package/dist/builds/worker.js.map +1 -1
- package/dist/fetch.d.ts +19 -10
- package/dist/node.d.cts +19 -10
- package/dist/node.d.ts +19 -10
- package/dist/src/searchClient.cjs +5 -5
- package/dist/src/searchClient.cjs.map +1 -1
- package/dist/src/searchClient.js +5 -5
- package/dist/src/searchClient.js.map +1 -1
- package/dist/worker.d.ts +19 -10
- package/package.json +5 -5
package/dist/fetch.d.ts
CHANGED
|
@@ -2373,7 +2373,7 @@ type ClearSynonymsProps = {
|
|
|
2373
2373
|
*/
|
|
2374
2374
|
type CustomDeleteProps = {
|
|
2375
2375
|
/**
|
|
2376
|
-
* Path of the endpoint,
|
|
2376
|
+
* Path of the endpoint, for example `1/newFeature`.
|
|
2377
2377
|
*/
|
|
2378
2378
|
path: string;
|
|
2379
2379
|
/**
|
|
@@ -2388,7 +2388,7 @@ type CustomDeleteProps = {
|
|
|
2388
2388
|
*/
|
|
2389
2389
|
type CustomGetProps = {
|
|
2390
2390
|
/**
|
|
2391
|
-
* Path of the endpoint,
|
|
2391
|
+
* Path of the endpoint, for example `1/newFeature`.
|
|
2392
2392
|
*/
|
|
2393
2393
|
path: string;
|
|
2394
2394
|
/**
|
|
@@ -2403,7 +2403,7 @@ type CustomGetProps = {
|
|
|
2403
2403
|
*/
|
|
2404
2404
|
type CustomPostProps = {
|
|
2405
2405
|
/**
|
|
2406
|
-
* Path of the endpoint,
|
|
2406
|
+
* Path of the endpoint, for example `1/newFeature`.
|
|
2407
2407
|
*/
|
|
2408
2408
|
path: string;
|
|
2409
2409
|
/**
|
|
@@ -2422,7 +2422,7 @@ type CustomPostProps = {
|
|
|
2422
2422
|
*/
|
|
2423
2423
|
type CustomPutProps = {
|
|
2424
2424
|
/**
|
|
2425
|
-
* Path of the endpoint,
|
|
2425
|
+
* Path of the endpoint, for example `1/newFeature`.
|
|
2426
2426
|
*/
|
|
2427
2427
|
path: string;
|
|
2428
2428
|
/**
|
|
@@ -3047,7 +3047,7 @@ type AccountCopyIndexOptions = {
|
|
|
3047
3047
|
destinationIndexName: string;
|
|
3048
3048
|
};
|
|
3049
3049
|
|
|
3050
|
-
declare const apiClientVersion = "5.
|
|
3050
|
+
declare const apiClientVersion = "5.29.0";
|
|
3051
3051
|
declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, ...options }: CreateClientOptions): {
|
|
3052
3052
|
transporter: _algolia_client_common.Transporter;
|
|
3053
3053
|
/**
|
|
@@ -3361,7 +3361,7 @@ declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption,
|
|
|
3361
3361
|
/**
|
|
3362
3362
|
* This method lets you send requests to the Algolia REST API.
|
|
3363
3363
|
* @param customDelete - The customDelete object.
|
|
3364
|
-
* @param customDelete.path - Path of the endpoint,
|
|
3364
|
+
* @param customDelete.path - Path of the endpoint, for example `1/newFeature`.
|
|
3365
3365
|
* @param customDelete.parameters - Query parameters to apply to the current query.
|
|
3366
3366
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
3367
3367
|
*/
|
|
@@ -3369,7 +3369,7 @@ declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption,
|
|
|
3369
3369
|
/**
|
|
3370
3370
|
* This method lets you send requests to the Algolia REST API.
|
|
3371
3371
|
* @param customGet - The customGet object.
|
|
3372
|
-
* @param customGet.path - Path of the endpoint,
|
|
3372
|
+
* @param customGet.path - Path of the endpoint, for example `1/newFeature`.
|
|
3373
3373
|
* @param customGet.parameters - Query parameters to apply to the current query.
|
|
3374
3374
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
3375
3375
|
*/
|
|
@@ -3377,7 +3377,7 @@ declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption,
|
|
|
3377
3377
|
/**
|
|
3378
3378
|
* This method lets you send requests to the Algolia REST API.
|
|
3379
3379
|
* @param customPost - The customPost object.
|
|
3380
|
-
* @param customPost.path - Path of the endpoint,
|
|
3380
|
+
* @param customPost.path - Path of the endpoint, for example `1/newFeature`.
|
|
3381
3381
|
* @param customPost.parameters - Query parameters to apply to the current query.
|
|
3382
3382
|
* @param customPost.body - Parameters to send with the custom request.
|
|
3383
3383
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
@@ -3386,7 +3386,7 @@ declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption,
|
|
|
3386
3386
|
/**
|
|
3387
3387
|
* This method lets you send requests to the Algolia REST API.
|
|
3388
3388
|
* @param customPut - The customPut object.
|
|
3389
|
-
* @param customPut.path - Path of the endpoint,
|
|
3389
|
+
* @param customPut.path - Path of the endpoint, for example `1/newFeature`.
|
|
3390
3390
|
* @param customPut.parameters - Query parameters to apply to the current query.
|
|
3391
3391
|
* @param customPut.body - Parameters to send with the custom request.
|
|
3392
3392
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
@@ -3981,8 +3981,17 @@ type WatchResponse = {
|
|
|
3981
3981
|
createdAt?: string | undefined;
|
|
3982
3982
|
};
|
|
3983
3983
|
|
|
3984
|
+
type ReplaceAllObjectsWithTransformationResponse = {
|
|
3985
|
+
copyOperationResponse: UpdatedAtResponse;
|
|
3986
|
+
/**
|
|
3987
|
+
* The response of the `push` request(s).
|
|
3988
|
+
*/
|
|
3989
|
+
watchResponses: Array<WatchResponse>;
|
|
3990
|
+
moveOperationResponse: UpdatedAtResponse;
|
|
3991
|
+
};
|
|
3992
|
+
|
|
3984
3993
|
type SearchClient = ReturnType<typeof createSearchClient> & SearchClientNodeHelpers;
|
|
3985
3994
|
|
|
3986
3995
|
declare function searchClient(appId: string, apiKey: string, options?: ClientOptions | undefined): SearchClient;
|
|
3987
3996
|
|
|
3988
|
-
export { type AccountCopyIndexOptions, type Acl, type Action, type AddApiKeyResponse, type AddOrUpdateObjectProps, type AdvancedSyntaxFeatures, type AlternativesAsExact, type Anchoring, type ApiKey, type ApiKeyOperation, type AroundPrecision, type AroundRadius, type AroundRadiusAll, type AssignUserIdParams, type AssignUserIdProps, type AttributeToUpdate, type AutomaticFacetFilter, type AutomaticFacetFilters, type Banner, type BannerImage, type BannerImageUrl, type BannerLink, type BaseGetApiKeyResponse, type BaseIndexSettings, type BaseSearchParams, type BaseSearchParamsWithoutQuery, type BaseSearchResponse, type BatchAssignUserIdsParams, type BatchAssignUserIdsProps, type BatchDictionaryEntriesParams, type BatchDictionaryEntriesProps, type BatchDictionaryEntriesRequest, type BatchParams, type BatchProps, type BatchRequest, type BatchResponse, type BatchWriteParams, type BooleanString, type BrowseOptions, type BrowsePagination, type BrowseParams, type BrowseParamsObject, type BrowseProps, type BrowseResponse, type BuiltInOperation, type BuiltInOperationType, type BuiltInOperationValue, type ChunkedBatchOptions, type ClearObjectsProps, type ClearRulesProps, type ClearSynonymsProps, type Condition, type Consequence, type ConsequenceHide, type ConsequenceParams, type ConsequenceQuery, type ConsequenceQueryObject, type CreatedAtResponse, type Cursor, type CustomDeleteProps, type CustomGetProps, type CustomPostProps, type CustomPutProps, type DeleteApiKeyProps, type DeleteApiKeyResponse, type DeleteByParams, type DeleteByProps, type DeleteIndexProps, type DeleteObjectProps, type DeleteObjectsOptions, type DeleteRuleProps, type DeleteSourceProps, type DeleteSourceResponse, type DeleteSynonymProps, type DeletedAtResponse, type DictionaryAction, type DictionaryEntry, type DictionaryEntryState, type DictionaryEntryType, type DictionaryLanguage, type DictionarySettingsParams, type DictionaryType, type Distinct, type Edit, type EditType, type ErrorBase, type Event, type EventStatus, type EventType, type ExactOnSingleWordQuery, type Exhaustive, type FacetFilters, type FacetHits, type FacetOrdering, type FacetStats, type Facets, type FetchedIndex, type GenerateSecuredApiKeyOptions, type GetApiKeyProps, type GetApiKeyResponse, type GetAppTaskProps, type GetDictionarySettingsResponse, type GetLogsProps, type GetLogsResponse, type GetObjectProps, type GetObjectsParams, type GetObjectsRequest, type GetObjectsResponse, type GetRuleProps, type GetSecuredApiKeyRemainingValidityOptions, type GetSettingsProps, type GetSynonymProps, type GetTaskProps, type GetTaskResponse, type GetTopUserIdsResponse, type GetUserIdProps, type HasPendingMappingsProps, type HasPendingMappingsResponse, type HighlightResult, type HighlightResultOption, type Hit, type IgnorePlurals, type IndexSettings, type IndexSettingsAsSearchParams, type InsideBoundingBox, type Languages, type LegacySearchMethodProps, type ListApiKeysResponse, type ListClustersResponse, type ListIndicesProps, type ListIndicesResponse, type ListUserIdsProps, type ListUserIdsResponse, type Log, type LogQuery, type LogType, type MatchLevel, type MatchedGeoLocation, type Mode, type MultipleBatchRequest, type MultipleBatchResponse, type NumericFilters, type OperationIndexParams, type OperationIndexProps, type OperationType, type OptionalFilters, type OptionalWords, type Params, type PartialUpdateObjectProps, type PartialUpdateObjectsOptions, type Personalization, type Promote, type PromoteObjectID, type PromoteObjectIDs, type QueryType, type Range, type RankingInfo, type ReRankingApplyFilter, type Redirect, type RedirectRuleIndexData, type RedirectRuleIndexMetadata, type RedirectURL, type RemoveStopWords, type RemoveUserIdProps, type RemoveUserIdResponse, type RemoveWordsIfNoResults, type RenderingContent, type ReplaceAllObjectsOptions, type ReplaceAllObjectsResponse, type ReplaceSourceResponse, type ReplaceSourcesProps, type RestoreApiKeyProps, type Rule, type SaveObjectProps, type SaveObjectResponse, type SaveObjectsOptions, type SaveRuleProps, type SaveRulesProps, type SaveSynonymProps, type SaveSynonymResponse, type SaveSynonymsProps, type ScopeType, type SearchClient, type SearchClientNodeHelpers, type SearchDictionaryEntriesParams, type SearchDictionaryEntriesProps, type SearchDictionaryEntriesResponse, type SearchForFacetValuesProps, type SearchForFacetValuesRequest, type SearchForFacetValuesResponse, type SearchForFacets, type SearchForFacetsOptions, type SearchForHits, type SearchForHitsOptions, type SearchHits, type SearchMethodParams, type SearchPagination, type SearchParams, type SearchParamsObject, type SearchParamsQuery, type SearchParamsString, type SearchQuery, type SearchResponse, type SearchResponses, type SearchResult, type SearchRulesParams, type SearchRulesProps, type SearchRulesResponse, type SearchSingleIndexProps, type SearchStrategy, type SearchSynonymsParams, type SearchSynonymsProps, type SearchSynonymsResponse, type SearchTypeDefault, type SearchTypeFacet, type SearchUserIdsParams, type SearchUserIdsResponse, type SecuredApiKeyRestrictions, type SemanticSearch, type SetSettingsProps, type SettingsResponse, type SnippetResult, type SnippetResultOption, type SortRemainingBy, type Source, type StandardEntries, type SupportedLanguage, type SynonymHit, type SynonymType, type TagFilters, type TaskStatus, type TimeRange, type TypoTolerance, type TypoToleranceEnum, type UpdateApiKeyProps, type UpdateApiKeyResponse, type UpdatedAtResponse, type UpdatedAtWithObjectIdResponse, type UserHighlightResult, type UserHit, type UserId, type Value, type WaitForApiKeyOptions, type WaitForAppTaskOptions, type WaitForTaskOptions, type WatchResponse, type Widgets, type WithPrimary, apiClientVersion, searchClient };
|
|
3997
|
+
export { type AccountCopyIndexOptions, type Acl, type Action, type AddApiKeyResponse, type AddOrUpdateObjectProps, type AdvancedSyntaxFeatures, type AlternativesAsExact, type Anchoring, type ApiKey, type ApiKeyOperation, type AroundPrecision, type AroundRadius, type AroundRadiusAll, type AssignUserIdParams, type AssignUserIdProps, type AttributeToUpdate, type AutomaticFacetFilter, type AutomaticFacetFilters, type Banner, type BannerImage, type BannerImageUrl, type BannerLink, type BaseGetApiKeyResponse, type BaseIndexSettings, type BaseSearchParams, type BaseSearchParamsWithoutQuery, type BaseSearchResponse, type BatchAssignUserIdsParams, type BatchAssignUserIdsProps, type BatchDictionaryEntriesParams, type BatchDictionaryEntriesProps, type BatchDictionaryEntriesRequest, type BatchParams, type BatchProps, type BatchRequest, type BatchResponse, type BatchWriteParams, type BooleanString, type BrowseOptions, type BrowsePagination, type BrowseParams, type BrowseParamsObject, type BrowseProps, type BrowseResponse, type BuiltInOperation, type BuiltInOperationType, type BuiltInOperationValue, type ChunkedBatchOptions, type ClearObjectsProps, type ClearRulesProps, type ClearSynonymsProps, type Condition, type Consequence, type ConsequenceHide, type ConsequenceParams, type ConsequenceQuery, type ConsequenceQueryObject, type CreatedAtResponse, type Cursor, type CustomDeleteProps, type CustomGetProps, type CustomPostProps, type CustomPutProps, type DeleteApiKeyProps, type DeleteApiKeyResponse, type DeleteByParams, type DeleteByProps, type DeleteIndexProps, type DeleteObjectProps, type DeleteObjectsOptions, type DeleteRuleProps, type DeleteSourceProps, type DeleteSourceResponse, type DeleteSynonymProps, type DeletedAtResponse, type DictionaryAction, type DictionaryEntry, type DictionaryEntryState, type DictionaryEntryType, type DictionaryLanguage, type DictionarySettingsParams, type DictionaryType, type Distinct, type Edit, type EditType, type ErrorBase, type Event, type EventStatus, type EventType, type ExactOnSingleWordQuery, type Exhaustive, type FacetFilters, type FacetHits, type FacetOrdering, type FacetStats, type Facets, type FetchedIndex, type GenerateSecuredApiKeyOptions, type GetApiKeyProps, type GetApiKeyResponse, type GetAppTaskProps, type GetDictionarySettingsResponse, type GetLogsProps, type GetLogsResponse, type GetObjectProps, type GetObjectsParams, type GetObjectsRequest, type GetObjectsResponse, type GetRuleProps, type GetSecuredApiKeyRemainingValidityOptions, type GetSettingsProps, type GetSynonymProps, type GetTaskProps, type GetTaskResponse, type GetTopUserIdsResponse, type GetUserIdProps, type HasPendingMappingsProps, type HasPendingMappingsResponse, type HighlightResult, type HighlightResultOption, type Hit, type IgnorePlurals, type IndexSettings, type IndexSettingsAsSearchParams, type InsideBoundingBox, type Languages, type LegacySearchMethodProps, type ListApiKeysResponse, type ListClustersResponse, type ListIndicesProps, type ListIndicesResponse, type ListUserIdsProps, type ListUserIdsResponse, type Log, type LogQuery, type LogType, type MatchLevel, type MatchedGeoLocation, type Mode, type MultipleBatchRequest, type MultipleBatchResponse, type NumericFilters, type OperationIndexParams, type OperationIndexProps, type OperationType, type OptionalFilters, type OptionalWords, type Params, type PartialUpdateObjectProps, type PartialUpdateObjectsOptions, type Personalization, type Promote, type PromoteObjectID, type PromoteObjectIDs, type QueryType, type Range, type RankingInfo, type ReRankingApplyFilter, type Redirect, type RedirectRuleIndexData, type RedirectRuleIndexMetadata, type RedirectURL, type RemoveStopWords, type RemoveUserIdProps, type RemoveUserIdResponse, type RemoveWordsIfNoResults, type RenderingContent, type ReplaceAllObjectsOptions, type ReplaceAllObjectsResponse, type ReplaceAllObjectsWithTransformationResponse, type ReplaceSourceResponse, type ReplaceSourcesProps, type RestoreApiKeyProps, type Rule, type SaveObjectProps, type SaveObjectResponse, type SaveObjectsOptions, type SaveRuleProps, type SaveRulesProps, type SaveSynonymProps, type SaveSynonymResponse, type SaveSynonymsProps, type ScopeType, type SearchClient, type SearchClientNodeHelpers, type SearchDictionaryEntriesParams, type SearchDictionaryEntriesProps, type SearchDictionaryEntriesResponse, type SearchForFacetValuesProps, type SearchForFacetValuesRequest, type SearchForFacetValuesResponse, type SearchForFacets, type SearchForFacetsOptions, type SearchForHits, type SearchForHitsOptions, type SearchHits, type SearchMethodParams, type SearchPagination, type SearchParams, type SearchParamsObject, type SearchParamsQuery, type SearchParamsString, type SearchQuery, type SearchResponse, type SearchResponses, type SearchResult, type SearchRulesParams, type SearchRulesProps, type SearchRulesResponse, type SearchSingleIndexProps, type SearchStrategy, type SearchSynonymsParams, type SearchSynonymsProps, type SearchSynonymsResponse, type SearchTypeDefault, type SearchTypeFacet, type SearchUserIdsParams, type SearchUserIdsResponse, type SecuredApiKeyRestrictions, type SemanticSearch, type SetSettingsProps, type SettingsResponse, type SnippetResult, type SnippetResultOption, type SortRemainingBy, type Source, type StandardEntries, type SupportedLanguage, type SynonymHit, type SynonymType, type TagFilters, type TaskStatus, type TimeRange, type TypoTolerance, type TypoToleranceEnum, type UpdateApiKeyProps, type UpdateApiKeyResponse, type UpdatedAtResponse, type UpdatedAtWithObjectIdResponse, type UserHighlightResult, type UserHit, type UserId, type Value, type WaitForApiKeyOptions, type WaitForAppTaskOptions, type WaitForTaskOptions, type WatchResponse, type Widgets, type WithPrimary, apiClientVersion, searchClient };
|
package/dist/node.d.cts
CHANGED
|
@@ -2373,7 +2373,7 @@ type ClearSynonymsProps = {
|
|
|
2373
2373
|
*/
|
|
2374
2374
|
type CustomDeleteProps = {
|
|
2375
2375
|
/**
|
|
2376
|
-
* Path of the endpoint,
|
|
2376
|
+
* Path of the endpoint, for example `1/newFeature`.
|
|
2377
2377
|
*/
|
|
2378
2378
|
path: string;
|
|
2379
2379
|
/**
|
|
@@ -2388,7 +2388,7 @@ type CustomDeleteProps = {
|
|
|
2388
2388
|
*/
|
|
2389
2389
|
type CustomGetProps = {
|
|
2390
2390
|
/**
|
|
2391
|
-
* Path of the endpoint,
|
|
2391
|
+
* Path of the endpoint, for example `1/newFeature`.
|
|
2392
2392
|
*/
|
|
2393
2393
|
path: string;
|
|
2394
2394
|
/**
|
|
@@ -2403,7 +2403,7 @@ type CustomGetProps = {
|
|
|
2403
2403
|
*/
|
|
2404
2404
|
type CustomPostProps = {
|
|
2405
2405
|
/**
|
|
2406
|
-
* Path of the endpoint,
|
|
2406
|
+
* Path of the endpoint, for example `1/newFeature`.
|
|
2407
2407
|
*/
|
|
2408
2408
|
path: string;
|
|
2409
2409
|
/**
|
|
@@ -2422,7 +2422,7 @@ type CustomPostProps = {
|
|
|
2422
2422
|
*/
|
|
2423
2423
|
type CustomPutProps = {
|
|
2424
2424
|
/**
|
|
2425
|
-
* Path of the endpoint,
|
|
2425
|
+
* Path of the endpoint, for example `1/newFeature`.
|
|
2426
2426
|
*/
|
|
2427
2427
|
path: string;
|
|
2428
2428
|
/**
|
|
@@ -3047,7 +3047,7 @@ type AccountCopyIndexOptions = {
|
|
|
3047
3047
|
destinationIndexName: string;
|
|
3048
3048
|
};
|
|
3049
3049
|
|
|
3050
|
-
declare const apiClientVersion = "5.
|
|
3050
|
+
declare const apiClientVersion = "5.29.0";
|
|
3051
3051
|
declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, ...options }: CreateClientOptions): {
|
|
3052
3052
|
transporter: _algolia_client_common.Transporter;
|
|
3053
3053
|
/**
|
|
@@ -3361,7 +3361,7 @@ declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption,
|
|
|
3361
3361
|
/**
|
|
3362
3362
|
* This method lets you send requests to the Algolia REST API.
|
|
3363
3363
|
* @param customDelete - The customDelete object.
|
|
3364
|
-
* @param customDelete.path - Path of the endpoint,
|
|
3364
|
+
* @param customDelete.path - Path of the endpoint, for example `1/newFeature`.
|
|
3365
3365
|
* @param customDelete.parameters - Query parameters to apply to the current query.
|
|
3366
3366
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
3367
3367
|
*/
|
|
@@ -3369,7 +3369,7 @@ declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption,
|
|
|
3369
3369
|
/**
|
|
3370
3370
|
* This method lets you send requests to the Algolia REST API.
|
|
3371
3371
|
* @param customGet - The customGet object.
|
|
3372
|
-
* @param customGet.path - Path of the endpoint,
|
|
3372
|
+
* @param customGet.path - Path of the endpoint, for example `1/newFeature`.
|
|
3373
3373
|
* @param customGet.parameters - Query parameters to apply to the current query.
|
|
3374
3374
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
3375
3375
|
*/
|
|
@@ -3377,7 +3377,7 @@ declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption,
|
|
|
3377
3377
|
/**
|
|
3378
3378
|
* This method lets you send requests to the Algolia REST API.
|
|
3379
3379
|
* @param customPost - The customPost object.
|
|
3380
|
-
* @param customPost.path - Path of the endpoint,
|
|
3380
|
+
* @param customPost.path - Path of the endpoint, for example `1/newFeature`.
|
|
3381
3381
|
* @param customPost.parameters - Query parameters to apply to the current query.
|
|
3382
3382
|
* @param customPost.body - Parameters to send with the custom request.
|
|
3383
3383
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
@@ -3386,7 +3386,7 @@ declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption,
|
|
|
3386
3386
|
/**
|
|
3387
3387
|
* This method lets you send requests to the Algolia REST API.
|
|
3388
3388
|
* @param customPut - The customPut object.
|
|
3389
|
-
* @param customPut.path - Path of the endpoint,
|
|
3389
|
+
* @param customPut.path - Path of the endpoint, for example `1/newFeature`.
|
|
3390
3390
|
* @param customPut.parameters - Query parameters to apply to the current query.
|
|
3391
3391
|
* @param customPut.body - Parameters to send with the custom request.
|
|
3392
3392
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
@@ -3981,8 +3981,17 @@ type WatchResponse = {
|
|
|
3981
3981
|
createdAt?: string | undefined;
|
|
3982
3982
|
};
|
|
3983
3983
|
|
|
3984
|
+
type ReplaceAllObjectsWithTransformationResponse = {
|
|
3985
|
+
copyOperationResponse: UpdatedAtResponse;
|
|
3986
|
+
/**
|
|
3987
|
+
* The response of the `push` request(s).
|
|
3988
|
+
*/
|
|
3989
|
+
watchResponses: Array<WatchResponse>;
|
|
3990
|
+
moveOperationResponse: UpdatedAtResponse;
|
|
3991
|
+
};
|
|
3992
|
+
|
|
3984
3993
|
type SearchClient = ReturnType<typeof createSearchClient> & SearchClientNodeHelpers;
|
|
3985
3994
|
|
|
3986
3995
|
declare function searchClient(appId: string, apiKey: string, options?: ClientOptions | undefined): SearchClient;
|
|
3987
3996
|
|
|
3988
|
-
export { type AccountCopyIndexOptions, type Acl, type Action, type AddApiKeyResponse, type AddOrUpdateObjectProps, type AdvancedSyntaxFeatures, type AlternativesAsExact, type Anchoring, type ApiKey, type ApiKeyOperation, type AroundPrecision, type AroundRadius, type AroundRadiusAll, type AssignUserIdParams, type AssignUserIdProps, type AttributeToUpdate, type AutomaticFacetFilter, type AutomaticFacetFilters, type Banner, type BannerImage, type BannerImageUrl, type BannerLink, type BaseGetApiKeyResponse, type BaseIndexSettings, type BaseSearchParams, type BaseSearchParamsWithoutQuery, type BaseSearchResponse, type BatchAssignUserIdsParams, type BatchAssignUserIdsProps, type BatchDictionaryEntriesParams, type BatchDictionaryEntriesProps, type BatchDictionaryEntriesRequest, type BatchParams, type BatchProps, type BatchRequest, type BatchResponse, type BatchWriteParams, type BooleanString, type BrowseOptions, type BrowsePagination, type BrowseParams, type BrowseParamsObject, type BrowseProps, type BrowseResponse, type BuiltInOperation, type BuiltInOperationType, type BuiltInOperationValue, type ChunkedBatchOptions, type ClearObjectsProps, type ClearRulesProps, type ClearSynonymsProps, type Condition, type Consequence, type ConsequenceHide, type ConsequenceParams, type ConsequenceQuery, type ConsequenceQueryObject, type CreatedAtResponse, type Cursor, type CustomDeleteProps, type CustomGetProps, type CustomPostProps, type CustomPutProps, type DeleteApiKeyProps, type DeleteApiKeyResponse, type DeleteByParams, type DeleteByProps, type DeleteIndexProps, type DeleteObjectProps, type DeleteObjectsOptions, type DeleteRuleProps, type DeleteSourceProps, type DeleteSourceResponse, type DeleteSynonymProps, type DeletedAtResponse, type DictionaryAction, type DictionaryEntry, type DictionaryEntryState, type DictionaryEntryType, type DictionaryLanguage, type DictionarySettingsParams, type DictionaryType, type Distinct, type Edit, type EditType, type ErrorBase, type Event, type EventStatus, type EventType, type ExactOnSingleWordQuery, type Exhaustive, type FacetFilters, type FacetHits, type FacetOrdering, type FacetStats, type Facets, type FetchedIndex, type GenerateSecuredApiKeyOptions, type GetApiKeyProps, type GetApiKeyResponse, type GetAppTaskProps, type GetDictionarySettingsResponse, type GetLogsProps, type GetLogsResponse, type GetObjectProps, type GetObjectsParams, type GetObjectsRequest, type GetObjectsResponse, type GetRuleProps, type GetSecuredApiKeyRemainingValidityOptions, type GetSettingsProps, type GetSynonymProps, type GetTaskProps, type GetTaskResponse, type GetTopUserIdsResponse, type GetUserIdProps, type HasPendingMappingsProps, type HasPendingMappingsResponse, type HighlightResult, type HighlightResultOption, type Hit, type IgnorePlurals, type IndexSettings, type IndexSettingsAsSearchParams, type InsideBoundingBox, type Languages, type LegacySearchMethodProps, type ListApiKeysResponse, type ListClustersResponse, type ListIndicesProps, type ListIndicesResponse, type ListUserIdsProps, type ListUserIdsResponse, type Log, type LogQuery, type LogType, type MatchLevel, type MatchedGeoLocation, type Mode, type MultipleBatchRequest, type MultipleBatchResponse, type NumericFilters, type OperationIndexParams, type OperationIndexProps, type OperationType, type OptionalFilters, type OptionalWords, type Params, type PartialUpdateObjectProps, type PartialUpdateObjectsOptions, type Personalization, type Promote, type PromoteObjectID, type PromoteObjectIDs, type QueryType, type Range, type RankingInfo, type ReRankingApplyFilter, type Redirect, type RedirectRuleIndexData, type RedirectRuleIndexMetadata, type RedirectURL, type RemoveStopWords, type RemoveUserIdProps, type RemoveUserIdResponse, type RemoveWordsIfNoResults, type RenderingContent, type ReplaceAllObjectsOptions, type ReplaceAllObjectsResponse, type ReplaceSourceResponse, type ReplaceSourcesProps, type RestoreApiKeyProps, type Rule, type SaveObjectProps, type SaveObjectResponse, type SaveObjectsOptions, type SaveRuleProps, type SaveRulesProps, type SaveSynonymProps, type SaveSynonymResponse, type SaveSynonymsProps, type ScopeType, type SearchClient, type SearchClientNodeHelpers, type SearchDictionaryEntriesParams, type SearchDictionaryEntriesProps, type SearchDictionaryEntriesResponse, type SearchForFacetValuesProps, type SearchForFacetValuesRequest, type SearchForFacetValuesResponse, type SearchForFacets, type SearchForFacetsOptions, type SearchForHits, type SearchForHitsOptions, type SearchHits, type SearchMethodParams, type SearchPagination, type SearchParams, type SearchParamsObject, type SearchParamsQuery, type SearchParamsString, type SearchQuery, type SearchResponse, type SearchResponses, type SearchResult, type SearchRulesParams, type SearchRulesProps, type SearchRulesResponse, type SearchSingleIndexProps, type SearchStrategy, type SearchSynonymsParams, type SearchSynonymsProps, type SearchSynonymsResponse, type SearchTypeDefault, type SearchTypeFacet, type SearchUserIdsParams, type SearchUserIdsResponse, type SecuredApiKeyRestrictions, type SemanticSearch, type SetSettingsProps, type SettingsResponse, type SnippetResult, type SnippetResultOption, type SortRemainingBy, type Source, type StandardEntries, type SupportedLanguage, type SynonymHit, type SynonymType, type TagFilters, type TaskStatus, type TimeRange, type TypoTolerance, type TypoToleranceEnum, type UpdateApiKeyProps, type UpdateApiKeyResponse, type UpdatedAtResponse, type UpdatedAtWithObjectIdResponse, type UserHighlightResult, type UserHit, type UserId, type Value, type WaitForApiKeyOptions, type WaitForAppTaskOptions, type WaitForTaskOptions, type WatchResponse, type Widgets, type WithPrimary, apiClientVersion, searchClient };
|
|
3997
|
+
export { type AccountCopyIndexOptions, type Acl, type Action, type AddApiKeyResponse, type AddOrUpdateObjectProps, type AdvancedSyntaxFeatures, type AlternativesAsExact, type Anchoring, type ApiKey, type ApiKeyOperation, type AroundPrecision, type AroundRadius, type AroundRadiusAll, type AssignUserIdParams, type AssignUserIdProps, type AttributeToUpdate, type AutomaticFacetFilter, type AutomaticFacetFilters, type Banner, type BannerImage, type BannerImageUrl, type BannerLink, type BaseGetApiKeyResponse, type BaseIndexSettings, type BaseSearchParams, type BaseSearchParamsWithoutQuery, type BaseSearchResponse, type BatchAssignUserIdsParams, type BatchAssignUserIdsProps, type BatchDictionaryEntriesParams, type BatchDictionaryEntriesProps, type BatchDictionaryEntriesRequest, type BatchParams, type BatchProps, type BatchRequest, type BatchResponse, type BatchWriteParams, type BooleanString, type BrowseOptions, type BrowsePagination, type BrowseParams, type BrowseParamsObject, type BrowseProps, type BrowseResponse, type BuiltInOperation, type BuiltInOperationType, type BuiltInOperationValue, type ChunkedBatchOptions, type ClearObjectsProps, type ClearRulesProps, type ClearSynonymsProps, type Condition, type Consequence, type ConsequenceHide, type ConsequenceParams, type ConsequenceQuery, type ConsequenceQueryObject, type CreatedAtResponse, type Cursor, type CustomDeleteProps, type CustomGetProps, type CustomPostProps, type CustomPutProps, type DeleteApiKeyProps, type DeleteApiKeyResponse, type DeleteByParams, type DeleteByProps, type DeleteIndexProps, type DeleteObjectProps, type DeleteObjectsOptions, type DeleteRuleProps, type DeleteSourceProps, type DeleteSourceResponse, type DeleteSynonymProps, type DeletedAtResponse, type DictionaryAction, type DictionaryEntry, type DictionaryEntryState, type DictionaryEntryType, type DictionaryLanguage, type DictionarySettingsParams, type DictionaryType, type Distinct, type Edit, type EditType, type ErrorBase, type Event, type EventStatus, type EventType, type ExactOnSingleWordQuery, type Exhaustive, type FacetFilters, type FacetHits, type FacetOrdering, type FacetStats, type Facets, type FetchedIndex, type GenerateSecuredApiKeyOptions, type GetApiKeyProps, type GetApiKeyResponse, type GetAppTaskProps, type GetDictionarySettingsResponse, type GetLogsProps, type GetLogsResponse, type GetObjectProps, type GetObjectsParams, type GetObjectsRequest, type GetObjectsResponse, type GetRuleProps, type GetSecuredApiKeyRemainingValidityOptions, type GetSettingsProps, type GetSynonymProps, type GetTaskProps, type GetTaskResponse, type GetTopUserIdsResponse, type GetUserIdProps, type HasPendingMappingsProps, type HasPendingMappingsResponse, type HighlightResult, type HighlightResultOption, type Hit, type IgnorePlurals, type IndexSettings, type IndexSettingsAsSearchParams, type InsideBoundingBox, type Languages, type LegacySearchMethodProps, type ListApiKeysResponse, type ListClustersResponse, type ListIndicesProps, type ListIndicesResponse, type ListUserIdsProps, type ListUserIdsResponse, type Log, type LogQuery, type LogType, type MatchLevel, type MatchedGeoLocation, type Mode, type MultipleBatchRequest, type MultipleBatchResponse, type NumericFilters, type OperationIndexParams, type OperationIndexProps, type OperationType, type OptionalFilters, type OptionalWords, type Params, type PartialUpdateObjectProps, type PartialUpdateObjectsOptions, type Personalization, type Promote, type PromoteObjectID, type PromoteObjectIDs, type QueryType, type Range, type RankingInfo, type ReRankingApplyFilter, type Redirect, type RedirectRuleIndexData, type RedirectRuleIndexMetadata, type RedirectURL, type RemoveStopWords, type RemoveUserIdProps, type RemoveUserIdResponse, type RemoveWordsIfNoResults, type RenderingContent, type ReplaceAllObjectsOptions, type ReplaceAllObjectsResponse, type ReplaceAllObjectsWithTransformationResponse, type ReplaceSourceResponse, type ReplaceSourcesProps, type RestoreApiKeyProps, type Rule, type SaveObjectProps, type SaveObjectResponse, type SaveObjectsOptions, type SaveRuleProps, type SaveRulesProps, type SaveSynonymProps, type SaveSynonymResponse, type SaveSynonymsProps, type ScopeType, type SearchClient, type SearchClientNodeHelpers, type SearchDictionaryEntriesParams, type SearchDictionaryEntriesProps, type SearchDictionaryEntriesResponse, type SearchForFacetValuesProps, type SearchForFacetValuesRequest, type SearchForFacetValuesResponse, type SearchForFacets, type SearchForFacetsOptions, type SearchForHits, type SearchForHitsOptions, type SearchHits, type SearchMethodParams, type SearchPagination, type SearchParams, type SearchParamsObject, type SearchParamsQuery, type SearchParamsString, type SearchQuery, type SearchResponse, type SearchResponses, type SearchResult, type SearchRulesParams, type SearchRulesProps, type SearchRulesResponse, type SearchSingleIndexProps, type SearchStrategy, type SearchSynonymsParams, type SearchSynonymsProps, type SearchSynonymsResponse, type SearchTypeDefault, type SearchTypeFacet, type SearchUserIdsParams, type SearchUserIdsResponse, type SecuredApiKeyRestrictions, type SemanticSearch, type SetSettingsProps, type SettingsResponse, type SnippetResult, type SnippetResultOption, type SortRemainingBy, type Source, type StandardEntries, type SupportedLanguage, type SynonymHit, type SynonymType, type TagFilters, type TaskStatus, type TimeRange, type TypoTolerance, type TypoToleranceEnum, type UpdateApiKeyProps, type UpdateApiKeyResponse, type UpdatedAtResponse, type UpdatedAtWithObjectIdResponse, type UserHighlightResult, type UserHit, type UserId, type Value, type WaitForApiKeyOptions, type WaitForAppTaskOptions, type WaitForTaskOptions, type WatchResponse, type Widgets, type WithPrimary, apiClientVersion, searchClient };
|
package/dist/node.d.ts
CHANGED
|
@@ -2373,7 +2373,7 @@ type ClearSynonymsProps = {
|
|
|
2373
2373
|
*/
|
|
2374
2374
|
type CustomDeleteProps = {
|
|
2375
2375
|
/**
|
|
2376
|
-
* Path of the endpoint,
|
|
2376
|
+
* Path of the endpoint, for example `1/newFeature`.
|
|
2377
2377
|
*/
|
|
2378
2378
|
path: string;
|
|
2379
2379
|
/**
|
|
@@ -2388,7 +2388,7 @@ type CustomDeleteProps = {
|
|
|
2388
2388
|
*/
|
|
2389
2389
|
type CustomGetProps = {
|
|
2390
2390
|
/**
|
|
2391
|
-
* Path of the endpoint,
|
|
2391
|
+
* Path of the endpoint, for example `1/newFeature`.
|
|
2392
2392
|
*/
|
|
2393
2393
|
path: string;
|
|
2394
2394
|
/**
|
|
@@ -2403,7 +2403,7 @@ type CustomGetProps = {
|
|
|
2403
2403
|
*/
|
|
2404
2404
|
type CustomPostProps = {
|
|
2405
2405
|
/**
|
|
2406
|
-
* Path of the endpoint,
|
|
2406
|
+
* Path of the endpoint, for example `1/newFeature`.
|
|
2407
2407
|
*/
|
|
2408
2408
|
path: string;
|
|
2409
2409
|
/**
|
|
@@ -2422,7 +2422,7 @@ type CustomPostProps = {
|
|
|
2422
2422
|
*/
|
|
2423
2423
|
type CustomPutProps = {
|
|
2424
2424
|
/**
|
|
2425
|
-
* Path of the endpoint,
|
|
2425
|
+
* Path of the endpoint, for example `1/newFeature`.
|
|
2426
2426
|
*/
|
|
2427
2427
|
path: string;
|
|
2428
2428
|
/**
|
|
@@ -3047,7 +3047,7 @@ type AccountCopyIndexOptions = {
|
|
|
3047
3047
|
destinationIndexName: string;
|
|
3048
3048
|
};
|
|
3049
3049
|
|
|
3050
|
-
declare const apiClientVersion = "5.
|
|
3050
|
+
declare const apiClientVersion = "5.29.0";
|
|
3051
3051
|
declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, ...options }: CreateClientOptions): {
|
|
3052
3052
|
transporter: _algolia_client_common.Transporter;
|
|
3053
3053
|
/**
|
|
@@ -3361,7 +3361,7 @@ declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption,
|
|
|
3361
3361
|
/**
|
|
3362
3362
|
* This method lets you send requests to the Algolia REST API.
|
|
3363
3363
|
* @param customDelete - The customDelete object.
|
|
3364
|
-
* @param customDelete.path - Path of the endpoint,
|
|
3364
|
+
* @param customDelete.path - Path of the endpoint, for example `1/newFeature`.
|
|
3365
3365
|
* @param customDelete.parameters - Query parameters to apply to the current query.
|
|
3366
3366
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
3367
3367
|
*/
|
|
@@ -3369,7 +3369,7 @@ declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption,
|
|
|
3369
3369
|
/**
|
|
3370
3370
|
* This method lets you send requests to the Algolia REST API.
|
|
3371
3371
|
* @param customGet - The customGet object.
|
|
3372
|
-
* @param customGet.path - Path of the endpoint,
|
|
3372
|
+
* @param customGet.path - Path of the endpoint, for example `1/newFeature`.
|
|
3373
3373
|
* @param customGet.parameters - Query parameters to apply to the current query.
|
|
3374
3374
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
3375
3375
|
*/
|
|
@@ -3377,7 +3377,7 @@ declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption,
|
|
|
3377
3377
|
/**
|
|
3378
3378
|
* This method lets you send requests to the Algolia REST API.
|
|
3379
3379
|
* @param customPost - The customPost object.
|
|
3380
|
-
* @param customPost.path - Path of the endpoint,
|
|
3380
|
+
* @param customPost.path - Path of the endpoint, for example `1/newFeature`.
|
|
3381
3381
|
* @param customPost.parameters - Query parameters to apply to the current query.
|
|
3382
3382
|
* @param customPost.body - Parameters to send with the custom request.
|
|
3383
3383
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
@@ -3386,7 +3386,7 @@ declare function createSearchClient({ appId: appIdOption, apiKey: apiKeyOption,
|
|
|
3386
3386
|
/**
|
|
3387
3387
|
* This method lets you send requests to the Algolia REST API.
|
|
3388
3388
|
* @param customPut - The customPut object.
|
|
3389
|
-
* @param customPut.path - Path of the endpoint,
|
|
3389
|
+
* @param customPut.path - Path of the endpoint, for example `1/newFeature`.
|
|
3390
3390
|
* @param customPut.parameters - Query parameters to apply to the current query.
|
|
3391
3391
|
* @param customPut.body - Parameters to send with the custom request.
|
|
3392
3392
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
@@ -3981,8 +3981,17 @@ type WatchResponse = {
|
|
|
3981
3981
|
createdAt?: string | undefined;
|
|
3982
3982
|
};
|
|
3983
3983
|
|
|
3984
|
+
type ReplaceAllObjectsWithTransformationResponse = {
|
|
3985
|
+
copyOperationResponse: UpdatedAtResponse;
|
|
3986
|
+
/**
|
|
3987
|
+
* The response of the `push` request(s).
|
|
3988
|
+
*/
|
|
3989
|
+
watchResponses: Array<WatchResponse>;
|
|
3990
|
+
moveOperationResponse: UpdatedAtResponse;
|
|
3991
|
+
};
|
|
3992
|
+
|
|
3984
3993
|
type SearchClient = ReturnType<typeof createSearchClient> & SearchClientNodeHelpers;
|
|
3985
3994
|
|
|
3986
3995
|
declare function searchClient(appId: string, apiKey: string, options?: ClientOptions | undefined): SearchClient;
|
|
3987
3996
|
|
|
3988
|
-
export { type AccountCopyIndexOptions, type Acl, type Action, type AddApiKeyResponse, type AddOrUpdateObjectProps, type AdvancedSyntaxFeatures, type AlternativesAsExact, type Anchoring, type ApiKey, type ApiKeyOperation, type AroundPrecision, type AroundRadius, type AroundRadiusAll, type AssignUserIdParams, type AssignUserIdProps, type AttributeToUpdate, type AutomaticFacetFilter, type AutomaticFacetFilters, type Banner, type BannerImage, type BannerImageUrl, type BannerLink, type BaseGetApiKeyResponse, type BaseIndexSettings, type BaseSearchParams, type BaseSearchParamsWithoutQuery, type BaseSearchResponse, type BatchAssignUserIdsParams, type BatchAssignUserIdsProps, type BatchDictionaryEntriesParams, type BatchDictionaryEntriesProps, type BatchDictionaryEntriesRequest, type BatchParams, type BatchProps, type BatchRequest, type BatchResponse, type BatchWriteParams, type BooleanString, type BrowseOptions, type BrowsePagination, type BrowseParams, type BrowseParamsObject, type BrowseProps, type BrowseResponse, type BuiltInOperation, type BuiltInOperationType, type BuiltInOperationValue, type ChunkedBatchOptions, type ClearObjectsProps, type ClearRulesProps, type ClearSynonymsProps, type Condition, type Consequence, type ConsequenceHide, type ConsequenceParams, type ConsequenceQuery, type ConsequenceQueryObject, type CreatedAtResponse, type Cursor, type CustomDeleteProps, type CustomGetProps, type CustomPostProps, type CustomPutProps, type DeleteApiKeyProps, type DeleteApiKeyResponse, type DeleteByParams, type DeleteByProps, type DeleteIndexProps, type DeleteObjectProps, type DeleteObjectsOptions, type DeleteRuleProps, type DeleteSourceProps, type DeleteSourceResponse, type DeleteSynonymProps, type DeletedAtResponse, type DictionaryAction, type DictionaryEntry, type DictionaryEntryState, type DictionaryEntryType, type DictionaryLanguage, type DictionarySettingsParams, type DictionaryType, type Distinct, type Edit, type EditType, type ErrorBase, type Event, type EventStatus, type EventType, type ExactOnSingleWordQuery, type Exhaustive, type FacetFilters, type FacetHits, type FacetOrdering, type FacetStats, type Facets, type FetchedIndex, type GenerateSecuredApiKeyOptions, type GetApiKeyProps, type GetApiKeyResponse, type GetAppTaskProps, type GetDictionarySettingsResponse, type GetLogsProps, type GetLogsResponse, type GetObjectProps, type GetObjectsParams, type GetObjectsRequest, type GetObjectsResponse, type GetRuleProps, type GetSecuredApiKeyRemainingValidityOptions, type GetSettingsProps, type GetSynonymProps, type GetTaskProps, type GetTaskResponse, type GetTopUserIdsResponse, type GetUserIdProps, type HasPendingMappingsProps, type HasPendingMappingsResponse, type HighlightResult, type HighlightResultOption, type Hit, type IgnorePlurals, type IndexSettings, type IndexSettingsAsSearchParams, type InsideBoundingBox, type Languages, type LegacySearchMethodProps, type ListApiKeysResponse, type ListClustersResponse, type ListIndicesProps, type ListIndicesResponse, type ListUserIdsProps, type ListUserIdsResponse, type Log, type LogQuery, type LogType, type MatchLevel, type MatchedGeoLocation, type Mode, type MultipleBatchRequest, type MultipleBatchResponse, type NumericFilters, type OperationIndexParams, type OperationIndexProps, type OperationType, type OptionalFilters, type OptionalWords, type Params, type PartialUpdateObjectProps, type PartialUpdateObjectsOptions, type Personalization, type Promote, type PromoteObjectID, type PromoteObjectIDs, type QueryType, type Range, type RankingInfo, type ReRankingApplyFilter, type Redirect, type RedirectRuleIndexData, type RedirectRuleIndexMetadata, type RedirectURL, type RemoveStopWords, type RemoveUserIdProps, type RemoveUserIdResponse, type RemoveWordsIfNoResults, type RenderingContent, type ReplaceAllObjectsOptions, type ReplaceAllObjectsResponse, type ReplaceSourceResponse, type ReplaceSourcesProps, type RestoreApiKeyProps, type Rule, type SaveObjectProps, type SaveObjectResponse, type SaveObjectsOptions, type SaveRuleProps, type SaveRulesProps, type SaveSynonymProps, type SaveSynonymResponse, type SaveSynonymsProps, type ScopeType, type SearchClient, type SearchClientNodeHelpers, type SearchDictionaryEntriesParams, type SearchDictionaryEntriesProps, type SearchDictionaryEntriesResponse, type SearchForFacetValuesProps, type SearchForFacetValuesRequest, type SearchForFacetValuesResponse, type SearchForFacets, type SearchForFacetsOptions, type SearchForHits, type SearchForHitsOptions, type SearchHits, type SearchMethodParams, type SearchPagination, type SearchParams, type SearchParamsObject, type SearchParamsQuery, type SearchParamsString, type SearchQuery, type SearchResponse, type SearchResponses, type SearchResult, type SearchRulesParams, type SearchRulesProps, type SearchRulesResponse, type SearchSingleIndexProps, type SearchStrategy, type SearchSynonymsParams, type SearchSynonymsProps, type SearchSynonymsResponse, type SearchTypeDefault, type SearchTypeFacet, type SearchUserIdsParams, type SearchUserIdsResponse, type SecuredApiKeyRestrictions, type SemanticSearch, type SetSettingsProps, type SettingsResponse, type SnippetResult, type SnippetResultOption, type SortRemainingBy, type Source, type StandardEntries, type SupportedLanguage, type SynonymHit, type SynonymType, type TagFilters, type TaskStatus, type TimeRange, type TypoTolerance, type TypoToleranceEnum, type UpdateApiKeyProps, type UpdateApiKeyResponse, type UpdatedAtResponse, type UpdatedAtWithObjectIdResponse, type UserHighlightResult, type UserHit, type UserId, type Value, type WaitForApiKeyOptions, type WaitForAppTaskOptions, type WaitForTaskOptions, type WatchResponse, type Widgets, type WithPrimary, apiClientVersion, searchClient };
|
|
3997
|
+
export { type AccountCopyIndexOptions, type Acl, type Action, type AddApiKeyResponse, type AddOrUpdateObjectProps, type AdvancedSyntaxFeatures, type AlternativesAsExact, type Anchoring, type ApiKey, type ApiKeyOperation, type AroundPrecision, type AroundRadius, type AroundRadiusAll, type AssignUserIdParams, type AssignUserIdProps, type AttributeToUpdate, type AutomaticFacetFilter, type AutomaticFacetFilters, type Banner, type BannerImage, type BannerImageUrl, type BannerLink, type BaseGetApiKeyResponse, type BaseIndexSettings, type BaseSearchParams, type BaseSearchParamsWithoutQuery, type BaseSearchResponse, type BatchAssignUserIdsParams, type BatchAssignUserIdsProps, type BatchDictionaryEntriesParams, type BatchDictionaryEntriesProps, type BatchDictionaryEntriesRequest, type BatchParams, type BatchProps, type BatchRequest, type BatchResponse, type BatchWriteParams, type BooleanString, type BrowseOptions, type BrowsePagination, type BrowseParams, type BrowseParamsObject, type BrowseProps, type BrowseResponse, type BuiltInOperation, type BuiltInOperationType, type BuiltInOperationValue, type ChunkedBatchOptions, type ClearObjectsProps, type ClearRulesProps, type ClearSynonymsProps, type Condition, type Consequence, type ConsequenceHide, type ConsequenceParams, type ConsequenceQuery, type ConsequenceQueryObject, type CreatedAtResponse, type Cursor, type CustomDeleteProps, type CustomGetProps, type CustomPostProps, type CustomPutProps, type DeleteApiKeyProps, type DeleteApiKeyResponse, type DeleteByParams, type DeleteByProps, type DeleteIndexProps, type DeleteObjectProps, type DeleteObjectsOptions, type DeleteRuleProps, type DeleteSourceProps, type DeleteSourceResponse, type DeleteSynonymProps, type DeletedAtResponse, type DictionaryAction, type DictionaryEntry, type DictionaryEntryState, type DictionaryEntryType, type DictionaryLanguage, type DictionarySettingsParams, type DictionaryType, type Distinct, type Edit, type EditType, type ErrorBase, type Event, type EventStatus, type EventType, type ExactOnSingleWordQuery, type Exhaustive, type FacetFilters, type FacetHits, type FacetOrdering, type FacetStats, type Facets, type FetchedIndex, type GenerateSecuredApiKeyOptions, type GetApiKeyProps, type GetApiKeyResponse, type GetAppTaskProps, type GetDictionarySettingsResponse, type GetLogsProps, type GetLogsResponse, type GetObjectProps, type GetObjectsParams, type GetObjectsRequest, type GetObjectsResponse, type GetRuleProps, type GetSecuredApiKeyRemainingValidityOptions, type GetSettingsProps, type GetSynonymProps, type GetTaskProps, type GetTaskResponse, type GetTopUserIdsResponse, type GetUserIdProps, type HasPendingMappingsProps, type HasPendingMappingsResponse, type HighlightResult, type HighlightResultOption, type Hit, type IgnorePlurals, type IndexSettings, type IndexSettingsAsSearchParams, type InsideBoundingBox, type Languages, type LegacySearchMethodProps, type ListApiKeysResponse, type ListClustersResponse, type ListIndicesProps, type ListIndicesResponse, type ListUserIdsProps, type ListUserIdsResponse, type Log, type LogQuery, type LogType, type MatchLevel, type MatchedGeoLocation, type Mode, type MultipleBatchRequest, type MultipleBatchResponse, type NumericFilters, type OperationIndexParams, type OperationIndexProps, type OperationType, type OptionalFilters, type OptionalWords, type Params, type PartialUpdateObjectProps, type PartialUpdateObjectsOptions, type Personalization, type Promote, type PromoteObjectID, type PromoteObjectIDs, type QueryType, type Range, type RankingInfo, type ReRankingApplyFilter, type Redirect, type RedirectRuleIndexData, type RedirectRuleIndexMetadata, type RedirectURL, type RemoveStopWords, type RemoveUserIdProps, type RemoveUserIdResponse, type RemoveWordsIfNoResults, type RenderingContent, type ReplaceAllObjectsOptions, type ReplaceAllObjectsResponse, type ReplaceAllObjectsWithTransformationResponse, type ReplaceSourceResponse, type ReplaceSourcesProps, type RestoreApiKeyProps, type Rule, type SaveObjectProps, type SaveObjectResponse, type SaveObjectsOptions, type SaveRuleProps, type SaveRulesProps, type SaveSynonymProps, type SaveSynonymResponse, type SaveSynonymsProps, type ScopeType, type SearchClient, type SearchClientNodeHelpers, type SearchDictionaryEntriesParams, type SearchDictionaryEntriesProps, type SearchDictionaryEntriesResponse, type SearchForFacetValuesProps, type SearchForFacetValuesRequest, type SearchForFacetValuesResponse, type SearchForFacets, type SearchForFacetsOptions, type SearchForHits, type SearchForHitsOptions, type SearchHits, type SearchMethodParams, type SearchPagination, type SearchParams, type SearchParamsObject, type SearchParamsQuery, type SearchParamsString, type SearchQuery, type SearchResponse, type SearchResponses, type SearchResult, type SearchRulesParams, type SearchRulesProps, type SearchRulesResponse, type SearchSingleIndexProps, type SearchStrategy, type SearchSynonymsParams, type SearchSynonymsProps, type SearchSynonymsResponse, type SearchTypeDefault, type SearchTypeFacet, type SearchUserIdsParams, type SearchUserIdsResponse, type SecuredApiKeyRestrictions, type SemanticSearch, type SetSettingsProps, type SettingsResponse, type SnippetResult, type SnippetResultOption, type SortRemainingBy, type Source, type StandardEntries, type SupportedLanguage, type SynonymHit, type SynonymType, type TagFilters, type TaskStatus, type TimeRange, type TypoTolerance, type TypoToleranceEnum, type UpdateApiKeyProps, type UpdateApiKeyResponse, type UpdatedAtResponse, type UpdatedAtWithObjectIdResponse, type UserHighlightResult, type UserHit, type UserId, type Value, type WaitForApiKeyOptions, type WaitForAppTaskOptions, type WaitForTaskOptions, type WatchResponse, type Widgets, type WithPrimary, apiClientVersion, searchClient };
|
|
@@ -25,7 +25,7 @@ __export(searchClient_exports, {
|
|
|
25
25
|
});
|
|
26
26
|
module.exports = __toCommonJS(searchClient_exports);
|
|
27
27
|
var import_client_common = require("@algolia/client-common");
|
|
28
|
-
var apiClientVersion = "5.
|
|
28
|
+
var apiClientVersion = "5.29.0";
|
|
29
29
|
function getDefaultHosts(appId) {
|
|
30
30
|
return [
|
|
31
31
|
{
|
|
@@ -886,7 +886,7 @@ function createSearchClient({
|
|
|
886
886
|
/**
|
|
887
887
|
* This method lets you send requests to the Algolia REST API.
|
|
888
888
|
* @param customDelete - The customDelete object.
|
|
889
|
-
* @param customDelete.path - Path of the endpoint,
|
|
889
|
+
* @param customDelete.path - Path of the endpoint, for example `1/newFeature`.
|
|
890
890
|
* @param customDelete.parameters - Query parameters to apply to the current query.
|
|
891
891
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
892
892
|
*/
|
|
@@ -908,7 +908,7 @@ function createSearchClient({
|
|
|
908
908
|
/**
|
|
909
909
|
* This method lets you send requests to the Algolia REST API.
|
|
910
910
|
* @param customGet - The customGet object.
|
|
911
|
-
* @param customGet.path - Path of the endpoint,
|
|
911
|
+
* @param customGet.path - Path of the endpoint, for example `1/newFeature`.
|
|
912
912
|
* @param customGet.parameters - Query parameters to apply to the current query.
|
|
913
913
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
914
914
|
*/
|
|
@@ -930,7 +930,7 @@ function createSearchClient({
|
|
|
930
930
|
/**
|
|
931
931
|
* This method lets you send requests to the Algolia REST API.
|
|
932
932
|
* @param customPost - The customPost object.
|
|
933
|
-
* @param customPost.path - Path of the endpoint,
|
|
933
|
+
* @param customPost.path - Path of the endpoint, for example `1/newFeature`.
|
|
934
934
|
* @param customPost.parameters - Query parameters to apply to the current query.
|
|
935
935
|
* @param customPost.body - Parameters to send with the custom request.
|
|
936
936
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
@@ -954,7 +954,7 @@ function createSearchClient({
|
|
|
954
954
|
/**
|
|
955
955
|
* This method lets you send requests to the Algolia REST API.
|
|
956
956
|
* @param customPut - The customPut object.
|
|
957
|
-
* @param customPut.path - Path of the endpoint,
|
|
957
|
+
* @param customPut.path - Path of the endpoint, for example `1/newFeature`.
|
|
958
958
|
* @param customPut.parameters - Query parameters to apply to the current query.
|
|
959
959
|
* @param customPut.body - Parameters to send with the custom request.
|
|
960
960
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|