@coveo/quantic 3.30.0 → 3.30.1-pre.0b6ca95bda
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 +10 -8
- 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/recommendations/recommendations-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/stream-answer-api.d.ts +3 -93
- 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/knowledge/generated-answer/headless-answerapi-generated-answer-mocks.d.ts +2003 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/knowledge/generated-answer/utils/testingUtils.d.ts +8 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/attached-results/attached-results-actions-loader.d.ts +14 -1
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/attached-results/attached-results-actions.d.ts +2 -9
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/attached-results/attached-results-analytics-actions-loader.d.ts +35 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/generated-answer/answer-api-selectors.d.ts +72 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/generated-answer/generated-answer-actions.d.ts +2 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/generated-answer/generated-answer-request.d.ts +2005 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/generated-answer/generated-answer-state.d.ts +5 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/features/search/search-request.d.ts +2 -0
- package/force-app/main/default/staticresources/coveoheadless/definitions/insight.index.d.ts +1 -0
- package/force-app/main/default/staticresources/coveoheadless/headless.js +12 -10
- package/force-app/main/default/staticresources/coveoheadless/insight/headless.js +11 -9
- package/force-app/main/default/staticresources/coveoheadless/recommendation/headless.js +9 -7
- package/package.json +4 -3
- package/docs/out/quantic-docs.json +0 -6440
- package/force-app/main/default/staticresources/coveoheadless/definitions/api/knowledge/tests/stream-answer-api-state-mock.d.ts +0 -1051
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { GeneratedAnswerCitation } from '../../api/generated-answer/generated-answer-event-payload.js';
|
|
2
|
+
import type { SearchRequest } from '../../api/search/search/search-request.js';
|
|
2
3
|
import type { GeneratedContentFormat, GeneratedResponseFormat } from './generated-response-format.js';
|
|
3
4
|
/**
|
|
4
5
|
* A scoped and simplified part of the headless state that is relevant to the `GeneratedAnswer` component.
|
|
@@ -86,5 +87,9 @@ export interface GeneratedAnswerState {
|
|
|
86
87
|
* The answer configuration unique identifier.
|
|
87
88
|
*/
|
|
88
89
|
answerConfigurationId?: string;
|
|
90
|
+
/**
|
|
91
|
+
* The query parameters used for the answer API request cache key
|
|
92
|
+
*/
|
|
93
|
+
answerApiQueryParams?: Partial<SearchRequest>;
|
|
89
94
|
}
|
|
90
95
|
export declare function getGeneratedAnswerInitialState(): GeneratedAnswerState;
|
|
@@ -72,4 +72,6 @@ export declare const buildSearchRequest: (state: StateNeededBySearchRequest, nav
|
|
|
72
72
|
actionsHistory?: import("../../api/analytics/coveo.analytics/history-store.js").HistoryElement[];
|
|
73
73
|
authentication?: string;
|
|
74
74
|
}>>;
|
|
75
|
+
export declare function getNumberOfResultsWithinIndexLimit(state: StateNeededBySearchRequest): number | undefined;
|
|
76
|
+
export declare function buildConstantQuery(state: StateNeededBySearchRequest): string;
|
|
75
77
|
export {};
|
|
@@ -92,6 +92,7 @@ export { buildInsightInterface } from './controllers/insight-interface/insight-i
|
|
|
92
92
|
export * from './features/analytics/generic-analytics-actions-loader.js';
|
|
93
93
|
export * from './features/analytics/insight-analytics-actions-loader.js';
|
|
94
94
|
export * from './features/attached-results/attached-results-actions-loader.js';
|
|
95
|
+
export * from './features/attached-results/attached-results-analytics-actions-loader.js';
|
|
95
96
|
export * from './features/case-context/case-context-actions-loader.js';
|
|
96
97
|
export * from './features/context/context-actions-loader.js';
|
|
97
98
|
export type { CategoryFacetSortCriterion, CategoryFacetValueRequest, } from './features/facets/category-facet-set/interfaces/request.js';
|