@coveo/quantic 3.36.7 → 3.36.8
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/force-app/main/default/staticresources/coveoheadless/case-assist/headless.js +14 -14
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/api-client-utils.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/commerce/common/request.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/commerce/common/result.d.ts +12 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/commerce/product-enrichment/product-enrichment-request.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/commerce/recommendations/recommendations-request.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/commerce/search/plan/plan-request.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/commerce/search/query-suggest/query-suggest-request.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/knowledge/answer-generation/agents/answer-agent/head-answer-strategy.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/knowledge/answer-slice.d.ts +0 -5
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/knowledge/stream-answer-api.d.ts +3 -3
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/service/case-assist/get-case-classifications/get-case-classifications-request.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/service/case-assist/get-document-suggestions/get-document-suggestions-request.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/service/insight/get-interface/get-interface-config-request.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/service/insight/query/query-request.d.ts +4 -4
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/service/insight/user-actions/user-actions-request.d.ts +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/generated-answer/headless-core-interactive-citation.d.ts +5 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/follow-up-answers/follow-up-answers-actions.d.ts +0 -12
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/generated-answer/generated-answer-actions.d.ts +1 -19
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/generated-answer/generated-answer-request.d.ts +13 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/generated-answer/generated-answer-selectors.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/search/legacy/search-request.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/search/search-request.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/commerce/controllers/product-list/headless-product-list.ssr.d.ts +14 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-commerce-next.index.d.ts +2 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-commerce.index.d.ts +1 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/controllers/product-list/headless-product-list.ssr.d.ts +14 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/controllers/triggers/headless-query-trigger.ssr.d.ts +3 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/factories/recommendation-static-state-factory.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/factories/static-state-factory.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/test/mock-controller.d.ts +2 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/test/mock-product-listing-controller.d.ts +2 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/test/mock-search-controller.d.ts +2 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/utils/facet-utils.d.ts +1 -1
- package/force-app/main/default/staticresources/coveoheadless/headless.js +19 -19
- package/force-app/main/default/staticresources/coveoheadless/insight/headless.js +18 -18
- package/force-app/main/default/staticresources/coveoheadless/recommendation/headless.js +13 -13
- package/package.json +2 -2
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/knowledge/answer-generation/answer-generation-api-state.d.ts +0 -29
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/knowledge/answer-generation/answer-generation-api.d.ts +0 -4
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/knowledge/answer-generation/endpoints/answer/answer-endpoint.d.ts +0 -30
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/knowledge/answer-generation/endpoints/answer/url-builders/endpoint-url-builder.d.ts +0 -5
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/knowledge/answer-generation/endpoints/follow-up/follow-up-endpoint.d.ts +0 -24
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/knowledge/answer-generation/endpoints/follow-up/url-builders/endpoint-url-builder.d.ts +0 -5
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/knowledge/answer-generation/streaming/answer-draft-reducer/answer-draft-reducer.d.ts +0 -26
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/knowledge/answer-generation/streaming/answer-streaming-runner.d.ts +0 -26
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/knowledge/answer-generation/streaming/server-state-event-handler/server-state-event-handler.d.ts +0 -21
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/knowledge/answer-generation/streaming/strategies/streaming-strategy-creators.d.ts +0 -4
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/knowledge/answer-generation/streaming/types.d.ts +0 -41
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/follow-up-answers/follow-up-answer-request.d.ts +0 -4
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/follow-up-answers/follow-up-answer-strategy.d.ts +0 -3
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/generated-answer/head-answer-strategy.d.ts +0 -3
package/force-app/main/default/staticresources/coveoheadless/definitions/api/api-client-utils.d.ts
CHANGED
|
@@ -3,5 +3,5 @@ import type { BaseParam } from './platform-service-params.js';
|
|
|
3
3
|
import type { AllSearchAPIResponse } from './search/search-api-client.js';
|
|
4
4
|
import type { SearchAPIErrorWithStatusCode } from './search/search-api-error-response.js';
|
|
5
5
|
import type { AuthenticationParam } from './search/search-api-params.js';
|
|
6
|
-
export declare function pickNonBaseParams<Params extends BaseParam & AuthenticationParam>(req: Params): Omit<Params, "
|
|
6
|
+
export declare function pickNonBaseParams<Params extends BaseParam & AuthenticationParam>(req: Params): Omit<Params, "accessToken" | "organizationId" | "url" | "authentication">;
|
|
7
7
|
export declare const unwrapError: (payload: PlatformResponse<AllSearchAPIResponse>) => SearchAPIErrorWithStatusCode;
|
|
@@ -29,11 +29,11 @@ export declare const getRequestOptions: (req: FilterableCommerceAPIRequest, path
|
|
|
29
29
|
facets: import("../../../features/commerce/facets/facet-set/interfaces/request.js").AnyFacetRequest[] | undefined;
|
|
30
30
|
sort: import("./sort.js").SortOption | undefined;
|
|
31
31
|
};
|
|
32
|
-
method: import("../../platform-client.js").HttpMethods;
|
|
33
32
|
accessToken: string;
|
|
34
|
-
origin: import("../../preprocess-request.js").PlatformClientOrigin;
|
|
35
33
|
url: string;
|
|
34
|
+
method: import("../../platform-client.js").HttpMethods;
|
|
36
35
|
contentType: import("../../platform-client.js").HTTPContentType;
|
|
36
|
+
origin: import("../../preprocess-request.js").PlatformClientOrigin;
|
|
37
37
|
requestMetadata?: import("../../preprocess-request.js").RequestMetadata | undefined;
|
|
38
38
|
};
|
|
39
39
|
export declare const baseRequest: (req: BaseCommerceAPIRequest, path: CommerceApiMethod) => Pick<PlatformClientCallOptions, "accessToken" | "method" | "contentType" | "url" | "origin" | "requestMetadata">;
|
|
@@ -25,10 +25,22 @@ export interface BaseSpotlightContent {
|
|
|
25
25
|
* The name of the spotlight content.
|
|
26
26
|
*/
|
|
27
27
|
name?: string;
|
|
28
|
+
/**
|
|
29
|
+
* The font color for the name text in hex format (e.g. `#ffffff`).
|
|
30
|
+
*/
|
|
31
|
+
nameFontColor?: string;
|
|
28
32
|
/**
|
|
29
33
|
* The description of the spotlight content.
|
|
30
34
|
*/
|
|
31
35
|
description?: string;
|
|
36
|
+
/**
|
|
37
|
+
* The font color for the description text in hex format (e.g. `#ffffff`).
|
|
38
|
+
*/
|
|
39
|
+
descriptionFontColor?: string;
|
|
40
|
+
/**
|
|
41
|
+
* The accessibility text for the image.
|
|
42
|
+
*/
|
|
43
|
+
altText?: string;
|
|
32
44
|
/**
|
|
33
45
|
* The ID of the response that returned the spotlight content.
|
|
34
46
|
*/
|
|
@@ -21,10 +21,10 @@ export declare const buildProductEnrichmentBadgesRequest: (req: ProductEnrichmen
|
|
|
21
21
|
custom?: Record<string, unknown>;
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
|
-
method: import("../../platform-client.js").HttpMethods;
|
|
25
24
|
accessToken: string;
|
|
26
|
-
origin: import("../../preprocess-request.js").PlatformClientOrigin;
|
|
27
25
|
url: string;
|
|
26
|
+
method: import("../../platform-client.js").HttpMethods;
|
|
28
27
|
contentType: import("../../platform-client.js").HTTPContentType;
|
|
28
|
+
origin: import("../../preprocess-request.js").PlatformClientOrigin;
|
|
29
29
|
requestMetadata?: import("../../preprocess-request.js").RequestMetadata | undefined;
|
|
30
30
|
};
|
|
@@ -25,10 +25,10 @@ export declare const buildRecommendationsRequest: (req: CommerceRecommendationsR
|
|
|
25
25
|
page: number | undefined;
|
|
26
26
|
perPage: number | undefined;
|
|
27
27
|
};
|
|
28
|
-
method: import("../../platform-client.js").HttpMethods;
|
|
29
28
|
accessToken: string;
|
|
30
|
-
origin: import("../../preprocess-request.js").PlatformClientOrigin;
|
|
31
29
|
url: string;
|
|
30
|
+
method: import("../../platform-client.js").HttpMethods;
|
|
32
31
|
contentType: import("../../platform-client.js").HTTPContentType;
|
|
32
|
+
origin: import("../../preprocess-request.js").PlatformClientOrigin;
|
|
33
33
|
requestMetadata?: import("../../preprocess-request.js").RequestMetadata | undefined;
|
|
34
34
|
};
|
|
@@ -22,10 +22,10 @@ export declare const getPlanRequestOptions: (req: CommercePlanRequest) => {
|
|
|
22
22
|
country: string;
|
|
23
23
|
currency: string;
|
|
24
24
|
};
|
|
25
|
-
method: import("../../../platform-client.js").HttpMethods;
|
|
26
25
|
accessToken: string;
|
|
27
|
-
origin: import("../../../preprocess-request.js").PlatformClientOrigin;
|
|
28
26
|
url: string;
|
|
27
|
+
method: import("../../../platform-client.js").HttpMethods;
|
|
29
28
|
contentType: import("../../../platform-client.js").HTTPContentType;
|
|
29
|
+
origin: import("../../../preprocess-request.js").PlatformClientOrigin;
|
|
30
30
|
requestMetadata?: import("../../../preprocess-request.js").RequestMetadata | undefined;
|
|
31
31
|
};
|
|
@@ -22,10 +22,10 @@ export declare const getQuerySuggestRequestOptions: (req: QuerySuggestRequest) =
|
|
|
22
22
|
country: string;
|
|
23
23
|
currency: string;
|
|
24
24
|
};
|
|
25
|
-
method: import("../../../platform-client.js").HttpMethods;
|
|
26
25
|
accessToken: string;
|
|
27
|
-
origin: import("../../../preprocess-request.js").PlatformClientOrigin;
|
|
28
26
|
url: string;
|
|
27
|
+
method: import("../../../platform-client.js").HttpMethods;
|
|
29
28
|
contentType: import("../../../platform-client.js").HTTPContentType;
|
|
29
|
+
origin: import("../../../preprocess-request.js").PlatformClientOrigin;
|
|
30
30
|
requestMetadata?: import("../../../preprocess-request.js").RequestMetadata | undefined;
|
|
31
31
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { AgentSubscriber } from '@ag-ui/client';
|
|
2
|
-
import type {
|
|
2
|
+
import type { ThunkDispatch, UnknownAction } from '@reduxjs/toolkit';
|
|
3
3
|
/**
|
|
4
4
|
* Creates an AgentSubscriber that handles answer streaming events
|
|
5
5
|
*/
|
|
6
|
-
export declare const createHeadAnswerStrategy: (dispatch:
|
|
6
|
+
export declare const createHeadAnswerStrategy: (dispatch: ThunkDispatch<unknown, unknown, UnknownAction>) => AgentSubscriber;
|
|
@@ -1,7 +1,2 @@
|
|
|
1
1
|
import { type BaseQueryFn, type FetchArgs, type FetchBaseQueryError } from '@reduxjs/toolkit/query';
|
|
2
|
-
/**
|
|
3
|
-
* `dynamicBaseQuery` is passed to the baseQuery of the createApi,
|
|
4
|
-
* but note that the baseQuery will not be used if a queryFn is provided in the createApi endpoint
|
|
5
|
-
*/
|
|
6
|
-
export declare const dynamicBaseQuery: BaseQueryFn<string | FetchArgs, unknown, FetchBaseQueryError>;
|
|
7
2
|
export declare const answerSlice: import("@reduxjs/toolkit/query").Api<BaseQueryFn<string | FetchArgs, unknown, FetchBaseQueryError, {} & import("@reduxjs/toolkit/query").RetryOptions, {}>, {}, "answer", never, typeof import("@reduxjs/toolkit/query").coreModuleName>;
|
|
@@ -44,7 +44,7 @@ export declare const selectAnswer: (state: StreamAnswerAPIState) => ({
|
|
|
44
44
|
originalArgs: AnswerApiQueryParams;
|
|
45
45
|
requestId: string;
|
|
46
46
|
data?: GeneratedAnswerStream | undefined;
|
|
47
|
-
error?: import("@reduxjs/toolkit
|
|
47
|
+
error?: import("@reduxjs/toolkit").SerializedError | import("@reduxjs/toolkit/query").FetchBaseQueryError | undefined;
|
|
48
48
|
endpointName: string;
|
|
49
49
|
startedTimeStamp: number;
|
|
50
50
|
fulfilledTimeStamp?: number | undefined;
|
|
@@ -56,13 +56,13 @@ export declare const selectAnswer: (state: StreamAnswerAPIState) => ({
|
|
|
56
56
|
isError: false;
|
|
57
57
|
}) | ({
|
|
58
58
|
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
59
|
-
data?: GeneratedAnswerStream | undefined;
|
|
60
59
|
requestId: string;
|
|
60
|
+
data?: GeneratedAnswerStream | undefined;
|
|
61
61
|
fulfilledTimeStamp?: number | undefined;
|
|
62
62
|
originalArgs: AnswerApiQueryParams;
|
|
63
63
|
endpointName: string;
|
|
64
64
|
startedTimeStamp: number;
|
|
65
|
-
error: import("@reduxjs/toolkit
|
|
65
|
+
error: import("@reduxjs/toolkit").SerializedError | import("@reduxjs/toolkit/query").FetchBaseQueryError;
|
|
66
66
|
} & {
|
|
67
67
|
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
68
68
|
isUninitialized: false;
|
|
@@ -11,9 +11,9 @@ export declare const buildGetCaseClassificationsRequest: (req: GetCaseClassifica
|
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
|
-
method: import("../../../platform-client.js").HttpMethods;
|
|
15
14
|
accessToken: string;
|
|
16
|
-
origin: import("../../../preprocess-request.js").PlatformClientOrigin;
|
|
17
15
|
url: string;
|
|
16
|
+
method: import("../../../platform-client.js").HttpMethods;
|
|
18
17
|
contentType: import("../../../platform-client.js").HTTPContentType;
|
|
18
|
+
origin: import("../../../preprocess-request.js").PlatformClientOrigin;
|
|
19
19
|
};
|
|
@@ -28,9 +28,9 @@ export declare const buildGetDocumentSuggestionsRequest: (req: GetDocumentSugges
|
|
|
28
28
|
source?: string[];
|
|
29
29
|
} | undefined;
|
|
30
30
|
};
|
|
31
|
-
method: import("../../../platform-client.js").HttpMethods;
|
|
32
31
|
accessToken: string;
|
|
33
|
-
origin: import("../../../preprocess-request.js").PlatformClientOrigin;
|
|
34
32
|
url: string;
|
|
33
|
+
method: import("../../../platform-client.js").HttpMethods;
|
|
35
34
|
contentType: import("../../../platform-client.js").HTTPContentType;
|
|
35
|
+
origin: import("../../../preprocess-request.js").PlatformClientOrigin;
|
|
36
36
|
};
|
|
@@ -3,9 +3,9 @@ import { type InsightIdParam } from '../insight-params.js';
|
|
|
3
3
|
export type GetInsightInterfaceConfigRequest = BaseParam & InsightIdParam;
|
|
4
4
|
export declare const buildGetInsightInterfaceConfigRequest: (req: GetInsightInterfaceConfigRequest) => {
|
|
5
5
|
requestParams: {};
|
|
6
|
-
method: import("../../../platform-client.js").HttpMethods;
|
|
7
6
|
accessToken: string;
|
|
8
|
-
origin: import("../../../preprocess-request.js").PlatformClientOrigin;
|
|
9
7
|
url: string;
|
|
8
|
+
method: import("../../../platform-client.js").HttpMethods;
|
|
10
9
|
contentType: import("../../../platform-client.js").HTTPContentType;
|
|
10
|
+
origin: import("../../../preprocess-request.js").PlatformClientOrigin;
|
|
11
11
|
};
|
|
@@ -8,17 +8,17 @@ export interface CaseContextParam {
|
|
|
8
8
|
}
|
|
9
9
|
export declare const buildInsightQueryRequest: (req: InsightQueryRequest) => {
|
|
10
10
|
requestParams: {};
|
|
11
|
-
method: import("../../../platform-client.js").HttpMethods;
|
|
12
11
|
accessToken: string;
|
|
13
|
-
origin: import("../../../preprocess-request.js").PlatformClientOrigin;
|
|
14
12
|
url: string;
|
|
13
|
+
method: import("../../../platform-client.js").HttpMethods;
|
|
15
14
|
contentType: import("../../../platform-client.js").HTTPContentType;
|
|
15
|
+
origin: import("../../../preprocess-request.js").PlatformClientOrigin;
|
|
16
16
|
};
|
|
17
17
|
export declare const buildInsightQuerySuggestRequest: (req: InsightQuerySuggestRequest) => {
|
|
18
18
|
requestParams: {};
|
|
19
|
-
method: import("../../../platform-client.js").HttpMethods;
|
|
20
19
|
accessToken: string;
|
|
21
|
-
origin: import("../../../preprocess-request.js").PlatformClientOrigin;
|
|
22
20
|
url: string;
|
|
21
|
+
method: import("../../../platform-client.js").HttpMethods;
|
|
23
22
|
contentType: import("../../../platform-client.js").HTTPContentType;
|
|
23
|
+
origin: import("../../../preprocess-request.js").PlatformClientOrigin;
|
|
24
24
|
};
|
|
@@ -10,10 +10,10 @@ export declare const buildInsightUserActionsRequest: (req: InsightUserActionsReq
|
|
|
10
10
|
requestParams: {
|
|
11
11
|
objectId: string;
|
|
12
12
|
};
|
|
13
|
-
method: import("../../../platform-client.js").HttpMethods;
|
|
14
13
|
accessToken: string;
|
|
15
|
-
origin: import("../../../preprocess-request.js").PlatformClientOrigin;
|
|
16
14
|
url: string;
|
|
15
|
+
method: import("../../../platform-client.js").HttpMethods;
|
|
17
16
|
contentType: import("../../../platform-client.js").HTTPContentType;
|
|
17
|
+
origin: import("../../../preprocess-request.js").PlatformClientOrigin;
|
|
18
18
|
};
|
|
19
19
|
export {};
|
|
@@ -7,6 +7,10 @@ export interface InteractiveCitationOptions extends InteractiveResultCoreOptions
|
|
|
7
7
|
* The generated answer citation.
|
|
8
8
|
*/
|
|
9
9
|
citation: GeneratedAnswerCitation;
|
|
10
|
+
/**
|
|
11
|
+
* The unique identifier of the generated answer associated with the citation.
|
|
12
|
+
*/
|
|
13
|
+
answerId?: string;
|
|
10
14
|
}
|
|
11
15
|
export interface InteractiveCitationProps extends InteractiveResultCoreProps {
|
|
12
16
|
/**
|
|
@@ -23,7 +27,7 @@ export interface InteractiveCitationProps extends InteractiveResultCoreProps {
|
|
|
23
27
|
export interface InteractiveCitation extends InteractiveResultCore {
|
|
24
28
|
}
|
|
25
29
|
interface InteractiveCitationAnalyticsClient {
|
|
26
|
-
logOpenGeneratedAnswerSource(citationId: string): CustomAction;
|
|
30
|
+
logOpenGeneratedAnswerSource(citationId: string, answerId?: string): CustomAction;
|
|
27
31
|
}
|
|
28
32
|
/**
|
|
29
33
|
* Creates a core `InteractiveCitation` controller instance.
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import type { GeneratedAnswerCitation } from '../../api/generated-answer/generated-answer-event-payload.js';
|
|
2
|
-
import type { SearchThunkExtraArguments } from '../../app/search-thunk-extra-arguments.js';
|
|
3
2
|
import { type GenerationStepName } from '../generated-answer/generated-answer-state.js';
|
|
4
3
|
import type { GeneratedContentFormat } from '../generated-answer/generated-response-format.js';
|
|
5
|
-
import { type StateNeededForFollowUpAnswerParams } from './follow-up-answer-request.js';
|
|
6
4
|
export declare const setIsEnabled: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: boolean], boolean, "followUpAnswers/setIsEnabled", never, never>;
|
|
7
5
|
export declare const setFollowUpAnswersConversationId: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: string], string, "followUpAnswers/setFollowUpAnswersConversationId", never, never>;
|
|
8
6
|
export declare const createFollowUpAnswer: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: {
|
|
@@ -101,13 +99,3 @@ export declare const followUpStepFinished: import("@reduxjs/toolkit").ActionCrea
|
|
|
101
99
|
name: GenerationStepName;
|
|
102
100
|
finishedAt: number;
|
|
103
101
|
}, "followUpAnswers/stepFinished", never, never>;
|
|
104
|
-
export declare const generateFollowUpAnswer: import("@reduxjs/toolkit").AsyncThunk<void, string, {
|
|
105
|
-
state: StateNeededForFollowUpAnswerParams;
|
|
106
|
-
extra: SearchThunkExtraArguments;
|
|
107
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
108
|
-
rejectValue?: unknown;
|
|
109
|
-
serializedErrorType?: unknown;
|
|
110
|
-
pendingMeta?: unknown;
|
|
111
|
-
fulfilledMeta?: unknown;
|
|
112
|
-
rejectedMeta?: unknown;
|
|
113
|
-
}>;
|
|
@@ -2,7 +2,7 @@ import { StringValue } from '@coveo/bueno';
|
|
|
2
2
|
import type { GeneratedAnswerCitationsPayload, GeneratedAnswerMessagePayload } from '../../api/generated-answer/generated-answer-event-payload.js';
|
|
3
3
|
import type { StreamAnswerAPIState } from '../../api/knowledge/stream-answer-api-state.js';
|
|
4
4
|
import type { SearchThunkExtraArguments } from '../../app/search-thunk-extra-arguments.js';
|
|
5
|
-
import type { AnswerApiQueryParams
|
|
5
|
+
import type { AnswerApiQueryParams } from '../../features/generated-answer/generated-answer-request.js';
|
|
6
6
|
import type { ConfigurationSection, DebugSection, GeneratedAnswerSection, SearchSection } from '../../state/state-sections.js';
|
|
7
7
|
import { type GenerationStepName } from './generated-answer-state.js';
|
|
8
8
|
import { type GeneratedResponseFormat } from './generated-response-format.js';
|
|
@@ -98,22 +98,4 @@ export declare const generateAnswer: import("@reduxjs/toolkit").AsyncThunk<void,
|
|
|
98
98
|
fulfilledMeta?: unknown;
|
|
99
99
|
rejectedMeta?: unknown;
|
|
100
100
|
}>;
|
|
101
|
-
/**
|
|
102
|
-
* Thunk to generate the head answer as part of the generated answer with follow-ups feature.
|
|
103
|
-
*
|
|
104
|
-
* This action initiates the generation of the main answer when using the Answer Generation API
|
|
105
|
-
* with an agent configuration. It requires an **agent ID** to be present in the engine configuration.
|
|
106
|
-
*
|
|
107
|
-
* @internal
|
|
108
|
-
*/
|
|
109
|
-
export declare const generateHeadAnswer: import("@reduxjs/toolkit").AsyncThunk<void, void, {
|
|
110
|
-
state: StateNeededForHeadAnswerParams;
|
|
111
|
-
extra: SearchThunkExtraArguments;
|
|
112
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("@reduxjs/toolkit").UnknownAction> | undefined;
|
|
113
|
-
rejectValue?: unknown;
|
|
114
|
-
serializedErrorType?: unknown;
|
|
115
|
-
pendingMeta?: unknown;
|
|
116
|
-
fulfilledMeta?: unknown;
|
|
117
|
-
rejectedMeta?: unknown;
|
|
118
|
-
}>;
|
|
119
101
|
export {};
|
|
@@ -1,18 +1,29 @@
|
|
|
1
1
|
import type { GeneratedAnswerStreamRequest } from '../../api/generated-answer/generated-answer-request.js';
|
|
2
|
-
import type { AnswerParams } from '../../api/knowledge/answer-generation/endpoints/answer/answer-endpoint.js';
|
|
3
2
|
import type { StreamAnswerAPIState } from '../../api/knowledge/stream-answer-api-state.js';
|
|
4
3
|
import type { BaseParam } from '../../api/platform-service-params.js';
|
|
5
4
|
import type { SearchRequest } from '../../api/search/search/search-request.js';
|
|
6
|
-
import type { AuthenticationParam, AutomaticFacetsParams } from '../../api/search/search-api-params.js';
|
|
5
|
+
import type { AnalyticsParam, AuthenticationParam, AutomaticFacetsParams, PipelineRuleParameters } from '../../api/search/search-api-params.js';
|
|
7
6
|
import type { CaseContextParam } from '../../api/service/insight/query/query-request.js';
|
|
8
7
|
import type { NavigatorContext } from '../../app/navigator-context-provider.js';
|
|
9
8
|
import type { SearchAppState } from '../../state/search-app-state.js';
|
|
10
9
|
import type { ConfigurationSection, GeneratedAnswerSection, SearchSection, TabSection } from '../../state/state-sections.js';
|
|
10
|
+
import type { AnyFacetRequest } from '../facets/generic/interfaces/generic-facet-request.js';
|
|
11
11
|
type StateNeededByGeneratedAnswerStream = ConfigurationSection & SearchSection & GeneratedAnswerSection;
|
|
12
12
|
export interface AnswerApiQueryParams extends Omit<SearchRequest, keyof (BaseParam & AuthenticationParam & AutomaticFacetsParams)>, CaseContextParam {
|
|
13
13
|
}
|
|
14
14
|
export declare const buildStreamingRequest: (state: StateNeededByGeneratedAnswerStream) => Promise<GeneratedAnswerStreamRequest>;
|
|
15
15
|
export declare const constructAnswerAPIQueryParams: (state: StreamAnswerAPIState, navigatorContext: NavigatorContext) => AnswerApiQueryParams;
|
|
16
16
|
export type StateNeededForHeadAnswerParams = ConfigurationSection & Partial<SearchAppState> & GeneratedAnswerSection & Partial<TabSection>;
|
|
17
|
+
/**
|
|
18
|
+
* Parameters for answer generation requests.
|
|
19
|
+
*/
|
|
20
|
+
type AnswerParams = {
|
|
21
|
+
q: string;
|
|
22
|
+
facets?: AnyFacetRequest[];
|
|
23
|
+
searchHub?: string;
|
|
24
|
+
pipeline?: string;
|
|
25
|
+
pipelineRuleParameters: PipelineRuleParameters;
|
|
26
|
+
locale: string;
|
|
27
|
+
} & AnalyticsParam;
|
|
17
28
|
export declare const constructGenerateHeadAnswerParams: (state: StateNeededForHeadAnswerParams, navigatorContext: NavigatorContext) => AnswerParams;
|
|
18
29
|
export {};
|
|
@@ -3,7 +3,7 @@ import type { GeneratedAnswerCitation } from '../../controllers/generated-answer
|
|
|
3
3
|
import type { SearchAppState } from '../../state/search-app-state.js';
|
|
4
4
|
import type { GeneratedAnswerSection } from '../../state/state-sections.js';
|
|
5
5
|
export declare const generativeQuestionAnsweringIdSelector: (state: Partial<SearchAppState>) => string | undefined;
|
|
6
|
-
export declare const
|
|
6
|
+
export declare const isGeneratedAnswerFeatureEnabledWithAgentAPI: (state: Partial<SearchAppState>) => state is StreamAnswerAPIState;
|
|
7
7
|
export declare const selectFieldsToIncludeInCitation: (state: Partial<GeneratedAnswerSection>) => string[] | undefined;
|
|
8
8
|
export declare const citationSourceSelector: ((state: Partial<GeneratedAnswerSection>, citationId: string) => GeneratedAnswerCitation | undefined) & {
|
|
9
9
|
clearCache: () => void;
|
|
@@ -17,7 +17,7 @@ export declare const buildSearchRequest: (state: StateNeededBySearchRequest, eve
|
|
|
17
17
|
facetOptions?: import("../../facet-options/facet-options.js").FacetOptions;
|
|
18
18
|
numberOfResults?: number;
|
|
19
19
|
firstResult?: number;
|
|
20
|
-
facets?: (import("../../facets/facet-set/interfaces/request.js").FacetRequest | import("../../facets/category-facet-set/interfaces/request.js").CategoryFacetRequest | import("../../facets/range-facets/
|
|
20
|
+
facets?: (import("../../facets/facet-set/interfaces/request.js").FacetRequest | import("../../facets/category-facet-set/interfaces/request.js").CategoryFacetRequest | import("../../facets/range-facets/numeric-facet-set/interfaces/request.js").NumericFacetRequest | import("../../facets/range-facets/date-facet-set/interfaces/request.js").DateFacetRequest)[] | undefined;
|
|
21
21
|
cq?: string;
|
|
22
22
|
queryCorrection?: {
|
|
23
23
|
enabled?: boolean;
|
|
@@ -18,7 +18,7 @@ export declare const buildSearchRequest: (state: StateNeededBySearchRequest, nav
|
|
|
18
18
|
facetOptions?: import("../facet-options/facet-options.js").FacetOptions;
|
|
19
19
|
numberOfResults?: number;
|
|
20
20
|
firstResult?: number;
|
|
21
|
-
facets?: (import("../facets/facet-set/interfaces/request.js").FacetRequest | import("../facets/category-facet-set/interfaces/request.js").CategoryFacetRequest | import("../facets/range-facets/
|
|
21
|
+
facets?: (import("../facets/facet-set/interfaces/request.js").FacetRequest | import("../facets/category-facet-set/interfaces/request.js").CategoryFacetRequest | import("../facets/range-facets/numeric-facet-set/interfaces/request.js").NumericFacetRequest | import("../facets/range-facets/date-facet-set/interfaces/request.js").DateFacetRequest)[] | undefined;
|
|
22
22
|
cq?: string;
|
|
23
23
|
queryCorrection?: {
|
|
24
24
|
enabled?: boolean;
|
|
@@ -2,11 +2,23 @@ import { type ProductListing, type ProductListingState } from '../../../../contr
|
|
|
2
2
|
import { type Search } from '../../../../controllers/commerce/search/headless-search.js';
|
|
3
3
|
import type { ControllerDefinitionOption, SubControllerDefinitionWithoutProps } from '../../types/controller-definitions.js';
|
|
4
4
|
export type { Search, ProductListing, ProductListingState as ProductListState };
|
|
5
|
-
export type ProductList = Pick<ProductListing | Search, 'state' | 'subscribe' | 'interactiveProduct' | 'promoteChildToParent'>;
|
|
5
|
+
export type ProductList = Pick<ProductListing | Search, 'state' | 'subscribe' | 'interactiveProduct' | 'interactiveSpotlightContent' | 'promoteChildToParent'>;
|
|
6
|
+
/**
|
|
7
|
+
* Options for configuring the `ProductList` controller.
|
|
8
|
+
*/
|
|
9
|
+
interface ProductListOptions {
|
|
10
|
+
/**
|
|
11
|
+
* When set to true, fills the `results` field rather than the `products` field
|
|
12
|
+
* in the response. It may also include Spotlight Content in the results.
|
|
13
|
+
* @default false
|
|
14
|
+
*/
|
|
15
|
+
enableResults?: boolean;
|
|
16
|
+
}
|
|
6
17
|
/**
|
|
7
18
|
* Defines a `ProductList` controller instance.
|
|
8
19
|
* @group Definers
|
|
9
20
|
*
|
|
21
|
+
* @param options - The configurable `ProductList` controller options.
|
|
10
22
|
* @returns The `ProductList` controller definition.
|
|
11
23
|
*/
|
|
12
|
-
export declare function defineProductList<TOptions extends ControllerDefinitionOption | undefined>(options?: TOptions): SubControllerDefinitionWithoutProps<ProductList, TOptions>;
|
|
24
|
+
export declare function defineProductList<TOptions extends ControllerDefinitionOption | undefined>(options?: TOptions & ProductListOptions): SubControllerDefinitionWithoutProps<ProductList, TOptions>;
|
|
@@ -158,6 +158,8 @@ export * from './features/commerce/triggers/triggers-actions-loader.js';
|
|
|
158
158
|
export { buildResultTemplatesManager } from './features/result-templates/result-templates-manager.js';
|
|
159
159
|
export { getCommerceApiBaseUrl } from './api/commerce/commerce-api-client.js';
|
|
160
160
|
export type { BaseProduct, ChildProduct, Product, } from './api/commerce/common/product.js';
|
|
161
|
+
export type { Result, SpotlightContent, } from './api/commerce/common/result.js';
|
|
162
|
+
export { ResultType } from './api/commerce/common/result.js';
|
|
161
163
|
export { getAnalyticsNextApiBaseUrl, getOrganizationEndpoint, } from './api/platform-client.js';
|
|
162
164
|
export type { RelativeDate, RelativeDatePeriod, RelativeDateUnit, } from './api/search/date/relative-date.js';
|
|
163
165
|
export { deserializeRelativeDate, validateRelativeDate, } from './api/search/date/relative-date.js';
|
package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-commerce.index.d.ts
CHANGED
|
@@ -154,6 +154,7 @@ export * from './features/commerce/triggers/triggers-actions-loader.js';
|
|
|
154
154
|
export { buildResultTemplatesManager } from './features/result-templates/result-templates-manager.js';
|
|
155
155
|
export { getCommerceApiBaseUrl } from './api/commerce/commerce-api-client.js';
|
|
156
156
|
export type { BaseProduct, ChildProduct, Product, } from './api/commerce/common/product.js';
|
|
157
|
+
export type { Result, SpotlightContent, } from './api/commerce/common/result.js';
|
|
157
158
|
export { ResultType } from './api/commerce/common/result.js';
|
|
158
159
|
export { getAnalyticsNextApiBaseUrl, getOrganizationEndpoint, } from './api/platform-client.js';
|
|
159
160
|
export type { RelativeDate, RelativeDatePeriod, RelativeDateUnit, } from './api/search/date/relative-date.js';
|
|
@@ -2,12 +2,24 @@ import { type ProductListing, type ProductListingState } from '../../../../contr
|
|
|
2
2
|
import { type Search } from '../../../../controllers/commerce/search/headless-search.js';
|
|
3
3
|
import type { SearchAndListingControllerDefinitionWithoutProps } from '../../types/controller-definitions.js';
|
|
4
4
|
export type { Search, ProductListing, ProductListingState as ProductListState };
|
|
5
|
-
export type ProductList = Pick<ProductListing | Search, 'state' | 'subscribe' | 'interactiveProduct' | 'promoteChildToParent'>;
|
|
5
|
+
export type ProductList = Pick<ProductListing | Search, 'state' | 'subscribe' | 'interactiveProduct' | 'interactiveSpotlightContent' | 'promoteChildToParent'>;
|
|
6
6
|
export type ProductListDefinition = SearchAndListingControllerDefinitionWithoutProps<ProductList>;
|
|
7
|
+
/**
|
|
8
|
+
* Options for configuring the `ProductList` controller.
|
|
9
|
+
*/
|
|
10
|
+
interface ProductListOptions {
|
|
11
|
+
/**
|
|
12
|
+
* When set to true, fills the `results` field rather than the `products` field
|
|
13
|
+
* in the response. It may also include Spotlight Content in the results.
|
|
14
|
+
* @default false
|
|
15
|
+
*/
|
|
16
|
+
enableResults?: boolean;
|
|
17
|
+
}
|
|
7
18
|
/**
|
|
8
19
|
* Defines a `ProductList` controller instance.
|
|
9
20
|
* @group Definers
|
|
10
21
|
*
|
|
22
|
+
* @param options - The configurable `ProductList` controller options.
|
|
11
23
|
* @returns The `ProductList` controller definition.
|
|
12
24
|
*/
|
|
13
|
-
export declare function defineProductList(): ProductListDefinition;
|
|
25
|
+
export declare function defineProductList(options?: ProductListOptions): ProductListDefinition;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type QueryTriggerOptions } from '../../../../controllers/commerce/triggers/headless-query-trigger.js';
|
|
1
2
|
import type { QueryTrigger } from '../../../../controllers/core/triggers/headless-core-query-trigger.js';
|
|
2
3
|
import type { SearchOnlyControllerDefinitionWithoutProps } from '../../types/controller-definitions.js';
|
|
3
4
|
export type { QueryTriggerState } from '../../../../controllers/core/triggers/headless-core-query-trigger.js';
|
|
@@ -6,7 +7,7 @@ export type QueryTriggerDefinition = SearchOnlyControllerDefinitionWithoutProps<
|
|
|
6
7
|
/**
|
|
7
8
|
* Defines the `QueryTrigger` controller for the purpose of server-side rendering.
|
|
8
9
|
* @group Definers
|
|
9
|
-
*
|
|
10
|
+
* @param options - The configurable `QueryTrigger` controller options.
|
|
10
11
|
* @returns The `QueryTrigger` controller definition.
|
|
11
12
|
*/
|
|
12
|
-
export declare function defineQueryTrigger(): QueryTriggerDefinition;
|
|
13
|
+
export declare function defineQueryTrigger(options?: QueryTriggerOptions): QueryTriggerDefinition;
|
|
@@ -5,7 +5,7 @@ import type { CommerceControllerDefinitionsMap, CommerceEngineDefinitionOptions,
|
|
|
5
5
|
export declare function fetchRecommendationStaticStateFactory<TControllerDefinitions extends CommerceControllerDefinitionsMap>(controllerDefinitions: AugmentedControllerDefinition<TControllerDefinitions>, options: CommerceEngineDefinitionOptions<TControllerDefinitions>): (params: FetchStaticStateParameters<TControllerDefinitions, SolutionType.recommendation>) => Promise<import("../types/build.js").CommonBuildConfig & {
|
|
6
6
|
productId?: string;
|
|
7
7
|
recommendations: Extract<keyof TControllerDefinitions, { [K in keyof TControllerDefinitions]: import("../../common/types/utilities.js").HasKey<TControllerDefinitions[K], SolutionType.recommendation> extends never ? never : import("../../common/types/utilities.js").HasKey<TControllerDefinitions[K], typeof import("../types/controller-constants.js").recommendationInternalOptionKey> extends never ? never : K; }[keyof TControllerDefinitions]>[];
|
|
8
|
-
} & { [K_1 in keyof TControllerDefinitions as import("../../common/types/utilities.js").HasKey<TControllerDefinitions[K_1], SolutionType.recommendation> extends never ? never : import("../../common/types/utilities.js").HasKey<TControllerDefinitions[K_1], typeof import("../types/controller-constants.js").recommendationInternalOptionKey> extends never ? import("../../common/types/utilities.js").HasRequiredKeys<import("../types/controller-inference.js").InferControllerPropsMapFromDefinitions<TControllerDefinitions> extends infer T extends import("../../common/types/controllers.js").ControllersPropsMap ? { [I in keyof T as I extends K_1 ? I : never]:
|
|
8
|
+
} & { [K_1 in keyof TControllerDefinitions as import("../../common/types/utilities.js").HasKey<TControllerDefinitions[K_1], SolutionType.recommendation> extends never ? never : import("../../common/types/utilities.js").HasKey<TControllerDefinitions[K_1], typeof import("../types/controller-constants.js").recommendationInternalOptionKey> extends never ? import("../../common/types/utilities.js").HasRequiredKeys<import("../types/controller-inference.js").InferControllerPropsMapFromDefinitions<TControllerDefinitions> extends infer T extends import("../../common/types/controllers.js").ControllersPropsMap ? { [I in keyof T as I extends K_1 ? I : never]: T[I]; } : never> extends false ? never : "controllers" : never]: import("../types/controller-inference.js").InferControllerPropsMapFromDefinitions<TControllerDefinitions> extends infer T_1 extends import("../../common/types/controllers.js").ControllersPropsMap ? { [I in keyof T_1 as I extends K_1 ? I : never]: T_1[I]; } : never; } & {
|
|
9
9
|
controllers: import("../types/controller-inference.js").InferControllerStaticStateMapFromDefinitionsWithSolutionType<TControllerDefinitions, SolutionType.recommendation> & import("../types/controller-definitions.js").FilteredBakedInControllers<SolutionType.recommendation>;
|
|
10
10
|
searchActions: UnknownAction[];
|
|
11
11
|
}>;
|
|
@@ -4,7 +4,7 @@ import type { AugmentedControllerDefinition } from '../types/controller-definiti
|
|
|
4
4
|
import type { CommerceControllerDefinitionsMap, CommerceEngineDefinitionOptions, FetchStaticStateParameters } from '../types/engine.js';
|
|
5
5
|
export declare function fetchStaticStateFactory<TControllerDefinitions extends CommerceControllerDefinitionsMap>(controllerDefinitions: AugmentedControllerDefinition<TControllerDefinitions>, options: CommerceEngineDefinitionOptions<TControllerDefinitions>): <TSolutionType extends SolutionType>(solutionType: TSolutionType) => (params: FetchStaticStateParameters<TControllerDefinitions, TSolutionType>) => Promise<Omit<{
|
|
6
6
|
controllers?: Record<string, unknown>;
|
|
7
|
-
} & import("../types/build.js").BuildConfig<TControllerDefinitions, TSolutionType> & { [K in keyof TControllerDefinitions as import("../../common/types/utilities.js").HasKey<TControllerDefinitions[K], TSolutionType> extends never ? never : import("../../common/types/utilities.js").HasKey<TControllerDefinitions[K], typeof import("../types/controller-constants.js").recommendationInternalOptionKey> extends never ? import("../../common/types/utilities.js").HasRequiredKeys<import("../types/controller-inference.js").InferControllerPropsMapFromDefinitions<TControllerDefinitions> extends infer T extends import("../../common/types/controllers.js").ControllersPropsMap ? { [I in keyof T as I extends K ? I : never]:
|
|
7
|
+
} & import("../types/build.js").BuildConfig<TControllerDefinitions, TSolutionType> & { [K in keyof TControllerDefinitions as import("../../common/types/utilities.js").HasKey<TControllerDefinitions[K], TSolutionType> extends never ? never : import("../../common/types/utilities.js").HasKey<TControllerDefinitions[K], typeof import("../types/controller-constants.js").recommendationInternalOptionKey> extends never ? import("../../common/types/utilities.js").HasRequiredKeys<import("../types/controller-inference.js").InferControllerPropsMapFromDefinitions<TControllerDefinitions> extends infer T extends import("../../common/types/controllers.js").ControllersPropsMap ? { [I in keyof T as I extends K ? I : never]: T[I]; } : never> extends false ? never : "controllers" : never]: import("../types/controller-inference.js").InferControllerPropsMapFromDefinitions<TControllerDefinitions> extends infer T_1 extends import("../../common/types/controllers.js").ControllersPropsMap ? { [I in keyof T_1 as I extends K ? I : never]: T_1[I]; } : never; }, "controllers"> & {
|
|
8
8
|
controllerProps?: Record<string, unknown> | undefined;
|
|
9
9
|
controllers: import("../types/controller-inference.js").InferControllerStaticStateMapFromDefinitionsWithSolutionType<TControllerDefinitions, TSolutionType> & import("../types/controller-definitions.js").FilteredBakedInControllers<TSolutionType>;
|
|
10
10
|
searchActions: UnknownAction[];
|
package/force-app/main/default/staticresources/coveoheadless/definitions/test/mock-controller.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import type { CoreEngine, CoreEngineNext } from '../app/engine.js';
|
|
2
2
|
import type { Controller } from '../controllers/controller/headless-controller.js';
|
|
3
3
|
import type { SSRCommerceEngine } from '../ssr/commerce/factories/build-factory.js';
|
|
4
|
+
export { buildMockProductListingController } from './mock-product-listing-controller.js';
|
|
5
|
+
export { buildMockSearchController } from './mock-search-controller.js';
|
|
4
6
|
interface MockController {
|
|
5
7
|
initialState?: Record<string, unknown>;
|
|
6
8
|
}
|
|
7
9
|
export declare function buildMockController(): Controller;
|
|
8
10
|
export declare function buildMockControllerWithInitialState(_engine: CoreEngine | CoreEngineNext | SSRCommerceEngine, props: MockController): Controller;
|
|
9
|
-
export {};
|
package/force-app/main/default/staticresources/coveoheadless/definitions/utils/facet-utils.d.ts
CHANGED
|
@@ -8,5 +8,5 @@ export declare function sortFacets<T extends {
|
|
|
8
8
|
facetId: string;
|
|
9
9
|
}>(facets: T[], sortOrder: string[]): T[];
|
|
10
10
|
export declare const sortCriteriaMap: Record<string, SortCriteria>;
|
|
11
|
-
export declare function getFacets(state: StateNeededBySearchRequest): (import("../features/facets/facet-set/interfaces/request.js").FacetRequest | import("../features/facets/category-facet-set/interfaces/request.js").CategoryFacetRequest | import("../features/facets/range-facets/
|
|
11
|
+
export declare function getFacets(state: StateNeededBySearchRequest): (import("../features/facets/facet-set/interfaces/request.js").FacetRequest | import("../features/facets/category-facet-set/interfaces/request.js").CategoryFacetRequest | import("../features/facets/range-facets/numeric-facet-set/interfaces/request.js").NumericFacetRequest | import("../features/facets/range-facets/date-facet-set/interfaces/request.js").DateFacetRequest)[];
|
|
12
12
|
export {};
|