@coveo/quantic 3.36.8 → 3.36.9

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.
Files changed (122) hide show
  1. package/force-app/main/default/staticresources/coveoheadless/case-assist/headless.js +14 -14
  2. package/force-app/main/default/staticresources/coveoheadless/definitions/app/search-engine/search-engine.d.ts +1 -1
  3. package/force-app/main/default/staticresources/coveoheadless/definitions/commerce.index.d.ts +35 -36
  4. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/breadcrumb-manager/headless-breadcrumb-manager.d.ts +1 -1
  5. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/core/facets/headless-core-commerce-facet.d.ts +1 -1
  6. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/core/sort/headless-core-commerce-sort.d.ts +2 -2
  7. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/core/url-manager/headless-core-url-manager.d.ts +1 -1
  8. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/recent-queries-list/headless-recent-queries-list.d.ts +1 -1
  9. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/search/did-you-mean/headless-did-you-mean.d.ts +1 -1
  10. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/search-box/headless-search-box.d.ts +1 -1
  11. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/context/headless-context.d.ts +1 -1
  12. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/facets/category-facet/headless-core-category-facet.d.ts +1 -1
  13. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/facets/range-facet/numeric-facet/headless-core-numeric-facet.d.ts +1 -1
  14. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/search-box/headless-core-search-box.d.ts +1 -1
  15. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/did-you-mean/headless-did-you-mean.d.ts +1 -1
  16. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/facet-manager/headless-facet-manager.d.ts +1 -1
  17. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/facets/category-facet/headless-category-facet.d.ts +1 -1
  18. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/facets/facet/headless-facet.d.ts +1 -1
  19. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/facets/range-facet/date-facet/headless-date-facet.d.ts +1 -1
  20. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/facets/range-facet/date-facet/headless-date-filter.d.ts +1 -1
  21. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/facets/range-facet/numeric-facet/headless-numeric-facet.d.ts +1 -1
  22. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/facets/range-facet/numeric-facet/headless-numeric-filter.d.ts +1 -1
  23. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/folded-result-list/headless-folded-result-list.d.ts +1 -1
  24. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/generated-answer/headless-generated-answer.d.ts +1 -1
  25. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/generated-answer/headless-interactive-citation.d.ts +1 -1
  26. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/breadcrumb-manager/headless-insight-breadcrumb-manager.d.ts +1 -1
  27. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/did-you-mean/headless-insight-did-you-mean.d.ts +1 -1
  28. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/facet-conditions-manager/headless-facet-conditions-manager.d.ts +1 -1
  29. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/facet-manager/headless-insight-facet-manager.d.ts +1 -1
  30. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/facets/category-facet/headless-insight-category-facet.d.ts +1 -1
  31. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/facets/facet/headless-insight-facet-options.d.ts +1 -1
  32. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/facets/facet/headless-insight-facet.d.ts +1 -1
  33. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/facets/range-facet/date-facet/headless-insight-date-facet.d.ts +1 -1
  34. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/facets/range-facet/date-facet/headless-insight-date-filter.d.ts +1 -1
  35. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/facets/range-facet/numeric-facet/headless-insight-numeric-facet.d.ts +1 -1
  36. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/facets/range-facet/numeric-facet/headless-insight-numeric-filter.d.ts +1 -1
  37. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/folded-result-list/headless-insight-folded-result-list.d.ts +1 -1
  38. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/generated-answer/headless-insight-generated-answer.d.ts +1 -1
  39. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/generated-answer/headless-insight-interactive-citation.d.ts +1 -1
  40. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/pager/headless-insight-pager.d.ts +1 -1
  41. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/recent-queries-list/headless-insight-recent-queries-list.d.ts +1 -1
  42. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/result-list/headless-insight-interactive-result.d.ts +1 -1
  43. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/result-list/headless-insight-result-list.d.ts +1 -1
  44. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/results-per-page/headless-insight-results-per-page.d.ts +1 -1
  45. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/search-box/headless-insight-search-box.d.ts +1 -1
  46. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/search-parameter-manager/headless-insight-search-parameter-manager.d.ts +1 -1
  47. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/sort/headless-insight-sort.d.ts +1 -1
  48. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/tab/headless-insight-tab.d.ts +1 -1
  49. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/pager/headless-pager.d.ts +1 -1
  50. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/quickview/headless-quickview.d.ts +1 -1
  51. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/recent-queries-list/headless-recent-queries-list.d.ts +1 -1
  52. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/recommendation/result-list/headless-recommendation-interactive-result.d.ts +1 -1
  53. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/relevance-inspector/headless-relevance-inspector.d.ts +1 -1
  54. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/result-list/headless-result-list.d.ts +1 -1
  55. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/results-per-page/headless-results-per-page.d.ts +1 -1
  56. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/search-box/headless-search-box.d.ts +1 -1
  57. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/search-parameter-manager/headless-search-parameter-manager.d.ts +1 -1
  58. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/search-status/headless-search-status.d.ts +1 -1
  59. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/smart-snippet/headless-smart-snippet.d.ts +1 -1
  60. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/sort/headless-sort.d.ts +1 -1
  61. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/standalone-search-box/headless-standalone-search-box.d.ts +1 -1
  62. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/static-filter/headless-static-filter.d.ts +1 -1
  63. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/tab/headless-tab.d.ts +1 -1
  64. package/force-app/main/default/staticresources/coveoheadless/definitions/features/analytics/generic-analytics-actions-loader.d.ts +1 -1
  65. package/force-app/main/default/staticresources/coveoheadless/definitions/features/analytics/insight-analytics-actions-loader.d.ts +1 -1
  66. package/force-app/main/default/staticresources/coveoheadless/definitions/features/analytics/search-analytics-actions-loader.d.ts +1 -1
  67. package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/facets/date-facet/date-facet-actions-loader.d.ts +1 -1
  68. package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/facets/numeric-facet/numeric-facet-actions-loader.d.ts +1 -1
  69. package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/pagination/pagination-actions-loader.d.ts +1 -1
  70. package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/product-enrichment/product-enrichment-actions-loader.d.ts +1 -1
  71. package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/recommendations/recommendations-actions-loader.d.ts +1 -1
  72. package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/search/search-actions-loader.d.ts +1 -1
  73. package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/sort/sort.d.ts +1 -1
  74. package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/triggers/triggers-actions-loader.d.ts +1 -1
  75. package/force-app/main/default/staticresources/coveoheadless/definitions/features/configuration/configuration-actions-loader.d.ts +1 -1
  76. package/force-app/main/default/staticresources/coveoheadless/definitions/features/facet-options/facet-options-actions-loader.d.ts +1 -1
  77. package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/category-facet-set/category-facet-set-actions-loader.d.ts +1 -1
  78. package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/facet-set/facet-set-actions-loader.d.ts +1 -1
  79. package/force-app/main/default/staticresources/coveoheadless/definitions/features/folding/insight-folding-actions.d.ts +1 -1
  80. package/force-app/main/default/staticresources/coveoheadless/definitions/features/follow-up-answers/follow-up-answers-actions.d.ts +10 -6
  81. package/force-app/main/default/staticresources/coveoheadless/definitions/features/generated-answer/generated-answer-actions.d.ts +10 -6
  82. package/force-app/main/default/staticresources/coveoheadless/definitions/features/generated-answer/generated-answer-state.d.ts +7 -0
  83. package/force-app/main/default/staticresources/coveoheadless/definitions/features/generated-answer/sse-generated-answer-errors.d.ts +22 -1
  84. package/force-app/main/default/staticresources/coveoheadless/definitions/features/instant-results/instant-results-actions-loader.d.ts +1 -1
  85. package/force-app/main/default/staticresources/coveoheadless/definitions/features/search-parameters/search-parameter-actions.d.ts +0 -1
  86. package/force-app/main/default/staticresources/coveoheadless/definitions/features/standalone-search-box-set/standalone-search-box-set-actions-loader.d.ts +1 -1
  87. package/force-app/main/default/staticresources/coveoheadless/definitions/index.d.ts +25 -25
  88. package/force-app/main/default/staticresources/coveoheadless/definitions/insight.index.d.ts +5 -5
  89. package/force-app/main/default/staticresources/coveoheadless/definitions/recommendation.index.d.ts +1 -1
  90. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/commerce/controllers/filter-suggestions/headless-filter-suggestions-generator.ssr.d.ts +1 -1
  91. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/commerce/controllers/generator/headless-commerce-facet-generator.ssr.d.ts +1 -1
  92. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/commerce/controllers/instant-products/headless-instant-products.ssr.d.ts +1 -1
  93. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/commerce/controllers/pagination/headless-core-commerce-pagination.ssr.d.ts +1 -1
  94. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/commerce/controllers/parameter-manager/headless-core-parameter-manager.ssr.d.ts +1 -1
  95. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/commerce/controllers/product-enrichment/headless-product-enrichment.ssr.d.ts +1 -1
  96. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/commerce/controllers/product-list/headless-product-list.ssr.d.ts +1 -1
  97. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/commerce/controllers/recent-queries-list/headless-recent-queries-list.ssr.d.ts +1 -1
  98. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/commerce/controllers/search-box/headless-search-box.ssr.d.ts +1 -1
  99. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/commerce/controllers/standalone-search-box/headless-standalone-search-box.ssr.d.ts +1 -1
  100. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/commerce/controllers/summary/headless-core-summary.ssr.d.ts +1 -1
  101. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/commerce/types/controller-definitions.d.ts +1 -1
  102. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/commerce/types/engine.d.ts +1 -1
  103. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/controllers/filter-suggestions/headless-filter-suggestions-generator.ssr.d.ts +1 -1
  104. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/controllers/generator/headless-commerce-facet-generator.ssr.d.ts +1 -1
  105. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/controllers/instant-products/headless-instant-products.ssr.d.ts +1 -1
  106. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/controllers/pagination/headless-core-commerce-pagination.ssr.d.ts +1 -1
  107. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/controllers/parameter-manager/headless-core-parameter-manager.ssr.d.ts +1 -1
  108. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/controllers/product-enrichment/headless-product-enrichment.ssr.d.ts +1 -1
  109. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/controllers/product-list/headless-product-list.ssr.d.ts +1 -1
  110. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/controllers/recent-queries-list/headless-recent-queries-list.ssr.d.ts +1 -1
  111. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/controllers/search-box/headless-search-box.ssr.d.ts +1 -1
  112. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/controllers/standalone-search-box/headless-standalone-search-box.ssr.d.ts +1 -1
  113. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/controllers/summary/headless-core-summary.ssr.d.ts +1 -1
  114. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/types/controller-inference.d.ts +1 -1
  115. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/types/engine.d.ts +1 -1
  116. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/search/types/controller-definition.d.ts +1 -1
  117. package/force-app/main/default/staticresources/coveoheadless/definitions/utils/query-expression/query-expression.d.ts +1 -1
  118. package/force-app/main/default/staticresources/coveoheadless/headless.js +16 -16
  119. package/force-app/main/default/staticresources/coveoheadless/insight/headless.js +16 -16
  120. package/force-app/main/default/staticresources/coveoheadless/recommendation/headless.js +13 -13
  121. package/force-app/main/default/staticresources/dompurify/purify.min.js +2 -2
  122. package/package.json +17 -18
@@ -1,6 +1,6 @@
1
1
  import type { InsightEngine } from '../../../app/insight-engine/insight-engine.js';
2
2
  import { type Tab, type TabInitialState, type TabOptions, type TabProps, type TabState } from '../../core/tab/headless-core-tab.js';
3
- export type { Tab, TabProps, TabState, TabInitialState, TabOptions };
3
+ export type { Tab, TabInitialState, TabOptions, TabProps, TabState };
4
4
  /**
5
5
  * Creates an insight `Tab` controller instance.
6
6
  *
@@ -1,6 +1,6 @@
1
1
  import type { SearchEngine } from '../../app/search-engine/search-engine.js';
2
2
  import { type Pager, type PagerInitialState, type PagerOptions, type PagerProps, type PagerState } from '../core/pager/headless-core-pager.js';
3
- export type { PagerInitialState, PagerOptions, PagerProps, Pager, PagerState };
3
+ export type { Pager, PagerInitialState, PagerOptions, PagerProps, PagerState };
4
4
  /**
5
5
  * Creates a `Pager` controller instance.
6
6
  *
@@ -1,6 +1,6 @@
1
1
  import type { SearchEngine } from '../../app/search-engine/search-engine.js';
2
2
  import { type Quickview as CoreQuickview, type QuickviewState as CoreQuickviewState, type QuickviewOptions, type QuickviewProps } from '../core/quickview/headless-core-quickview.js';
3
- export type { QuickviewOptions, QuickviewProps, CoreQuickviewState, CoreQuickview, };
3
+ export type { CoreQuickview, CoreQuickviewState, QuickviewOptions, QuickviewProps, };
4
4
  /**
5
5
  * A scoped and simplified part of the headless state that is relevant to the `Quickview` controller.
6
6
  *
@@ -1,6 +1,6 @@
1
1
  import type { SearchEngine } from '../../app/search-engine/search-engine.js';
2
2
  import { type RecentQueriesList, type RecentQueriesListInitialState, type RecentQueriesListOptions, type RecentQueriesListProps, type RecentQueriesState } from '../core/recent-queries-list/headless-core-recent-queries-list.js';
3
- export type { RecentQueriesListProps, RecentQueriesListOptions, RecentQueriesList, RecentQueriesState, RecentQueriesListInitialState, };
3
+ export type { RecentQueriesList, RecentQueriesListInitialState, RecentQueriesListOptions, RecentQueriesListProps, RecentQueriesState, };
4
4
  /**
5
5
  * Creates a `RecentQueriesList` controller instance.
6
6
  *
@@ -1,7 +1,7 @@
1
1
  import type { Result } from '../../../api/search/search/result.js';
2
2
  import type { RecommendationEngine } from '../../../app/recommendation-engine/recommendation-engine.js';
3
3
  import { type InteractiveResultCore, type InteractiveResultCoreOptions, type InteractiveResultCoreProps } from '../../core/interactive-result/headless-core-interactive-result.js';
4
- export type { InteractiveResultCoreOptions, InteractiveResultCoreProps, InteractiveResultCore, };
4
+ export type { InteractiveResultCore, InteractiveResultCoreOptions, InteractiveResultCoreProps, };
5
5
  export interface RecommendationInteractiveResultOptions extends InteractiveResultCoreOptions {
6
6
  /**
7
7
  * The query result.
@@ -6,7 +6,7 @@ import type { SecurityIdentity } from '../../api/search/search/security-identity
6
6
  import type { SearchEngine } from '../../app/search-engine/search-engine.js';
7
7
  import type { DocumentWeights, QueryRankingExpressionWeights, RankingInformation, TermWeightReport } from '../../features/debug/ranking-info-parser.js';
8
8
  import { type Controller } from '../controller/headless-controller.js';
9
- export type { RankingInformation, DocumentWeights, TermWeightReport, QueryRankingExpressionWeights, ExecutionReport, ExecutionStep, SecurityIdentity, QueryRankingExpression, };
9
+ export type { DocumentWeights, ExecutionReport, ExecutionStep, QueryRankingExpression, QueryRankingExpressionWeights, RankingInformation, SecurityIdentity, TermWeightReport, };
10
10
  export interface RelevanceInspectorProps {
11
11
  /**
12
12
  * The initial state that should be applied to the `RelevanceInspector` controller.
@@ -1,6 +1,6 @@
1
1
  import type { SearchEngine } from '../../app/search-engine/search-engine.js';
2
2
  import { type ResultList, type ResultListOptions, type ResultListProps, type ResultListState } from '../core/result-list/headless-core-result-list.js';
3
- export type { ResultListOptions, ResultListProps, ResultListState, ResultList };
3
+ export type { ResultList, ResultListOptions, ResultListProps, ResultListState };
4
4
  /**
5
5
  * Creates a `ResultList` controller instance.
6
6
  *
@@ -1,6 +1,6 @@
1
1
  import type { SearchEngine } from '../../app/search-engine/search-engine.js';
2
2
  import { type ResultsPerPage, type ResultsPerPageInitialState, type ResultsPerPageProps, type ResultsPerPageState } from '../core/results-per-page/headless-core-results-per-page.js';
3
- export type { ResultsPerPage, ResultsPerPageProps, ResultsPerPageInitialState, ResultsPerPageState, };
3
+ export type { ResultsPerPage, ResultsPerPageInitialState, ResultsPerPageProps, ResultsPerPageState, };
4
4
  /**
5
5
  * Creates a `ResultsPerPage` controller instance.
6
6
  *
@@ -3,7 +3,7 @@ import type { Delimiters, SuggestionHighlightingOptions } from '../../utils/high
3
3
  import type { Controller } from '../controller/headless-controller.js';
4
4
  import { type SearchBoxState, type Suggestion } from '../core/search-box/headless-core-search-box.js';
5
5
  import type { SearchBoxOptions } from '../core/search-box/headless-core-search-box-options.js';
6
- export type { SearchBoxOptions, SearchBoxState, SuggestionHighlightingOptions, Suggestion, Delimiters, };
6
+ export type { Delimiters, SearchBoxOptions, SearchBoxState, Suggestion, SuggestionHighlightingOptions, };
7
7
  export interface SearchBoxProps {
8
8
  /**
9
9
  * The `SearchBox` controller options.
@@ -1,7 +1,7 @@
1
1
  import type { SearchEngine } from '../../app/search-engine/search-engine.js';
2
2
  import type { SearchParameters } from '../../features/search-parameters/search-parameter-actions.js';
3
3
  import { type SearchParameterManager, type SearchParameterManagerInitialState, type SearchParameterManagerProps, type SearchParameterManagerState } from '../core/search-parameter-manager/headless-core-search-parameter-manager.js';
4
- export type { SearchParameters, SearchParameterManager, SearchParameterManagerInitialState, SearchParameterManagerState, SearchParameterManagerProps, };
4
+ export type { SearchParameterManager, SearchParameterManagerInitialState, SearchParameterManagerProps, SearchParameterManagerState, SearchParameters, };
5
5
  /**
6
6
  * Creates a `SearchParameterManager` controller instance.
7
7
  *
@@ -1,6 +1,6 @@
1
1
  import type { SearchEngine } from '../../app/search-engine/search-engine.js';
2
2
  import { type SearchStatus, type SearchStatusState } from '../core/status/headless-core-status.js';
3
- export type { SearchStatusState, SearchStatus };
3
+ export type { SearchStatus, SearchStatusState };
4
4
  /**
5
5
  * Creates a `SearchStatus` controller instance.
6
6
  *
@@ -1,7 +1,7 @@
1
1
  import type { SearchEngine } from '../../app/search-engine/search-engine.js';
2
2
  import { type SmartSnippet, type SmartSnippetCore, type SmartSnippetOptions, type SmartSnippetProps, type SmartSnippetState } from '../core/smart-snippet/headless-core-smart-snippet.js';
3
3
  export type { QuestionAnswerDocumentIdentifier } from '../../api/search/search/question-answering.js';
4
- export type { SmartSnippet, SmartSnippetOptions, SmartSnippetProps, SmartSnippetState, SmartSnippetCore, };
4
+ export type { SmartSnippet, SmartSnippetCore, SmartSnippetOptions, SmartSnippetProps, SmartSnippetState, };
5
5
  /**
6
6
  * Creates a `SmartSnippet` controller instance.
7
7
  *
@@ -1,6 +1,6 @@
1
1
  import type { SearchEngine } from '../../app/search-engine/search-engine.js';
2
2
  import { type Sort, type SortInitialState, type SortProps, type SortState } from '../core/sort/headless-core-sort.js';
3
- export type { Sort, SortProps, SortState, SortInitialState };
3
+ export type { Sort, SortInitialState, SortProps, SortState };
4
4
  /**
5
5
  * Creates a `Sort` controller instance.
6
6
  *
@@ -2,7 +2,7 @@ import type { SearchEngine } from '../../app/search-engine/search-engine.js';
2
2
  import type { StandaloneSearchBoxAnalytics } from '../../features/standalone-search-box-set/standalone-search-box-set-state.js';
3
3
  import { type SearchBox, type SearchBoxState } from '../search-box/headless-search-box.js';
4
4
  import { type StandaloneSearchBoxOptions } from './headless-standalone-search-box-options.js';
5
- export type { StandaloneSearchBoxOptions, StandaloneSearchBoxAnalytics };
5
+ export type { StandaloneSearchBoxAnalytics, StandaloneSearchBoxOptions };
6
6
  export interface StandaloneSearchBoxProps {
7
7
  options: StandaloneSearchBoxOptions;
8
8
  }
@@ -2,7 +2,7 @@ import type { SearchEngine } from '../../app/search-engine/search-engine.js';
2
2
  import type { StaticFilterValue, StaticFilterValueState } from '../../features/static-filter-set/static-filter-set-state.js';
3
3
  import { type Controller } from '../controller/headless-controller.js';
4
4
  import { buildStaticFilterValue, type StaticFilterValueOptions } from './static-filter-value.js';
5
- export type { StaticFilterValue, StaticFilterValueState, StaticFilterValueOptions, };
5
+ export type { StaticFilterValue, StaticFilterValueOptions, StaticFilterValueState, };
6
6
  export { buildStaticFilterValue };
7
7
  export interface StaticFilterProps {
8
8
  /**
@@ -1,6 +1,6 @@
1
1
  import type { SearchEngine } from '../../app/search-engine/search-engine.js';
2
2
  import { type Tab, type TabInitialState, type TabOptions, type TabProps, type TabState } from '../core/tab/headless-core-tab.js';
3
- export type { Tab, TabProps, TabState, TabInitialState, TabOptions };
3
+ export type { Tab, TabInitialState, TabOptions, TabProps, TabState };
4
4
  /**
5
5
  * Creates a `Tab` controller instance.
6
6
  *
@@ -1,7 +1,7 @@
1
1
  import type { SearchEngine } from '../../app/search-engine/search-engine.js';
2
2
  import { type LogClickEventActionCreatorPayload, type LogCustomEventActionCreatorPayload, type LogSearchEventActionCreatorPayload } from './analytics-actions.js';
3
3
  import type { ClickAction, CustomAction, LegacySearchAction } from './analytics-utils.js';
4
- export type { LogSearchEventActionCreatorPayload, LogClickEventActionCreatorPayload, LogCustomEventActionCreatorPayload, };
4
+ export type { LogClickEventActionCreatorPayload, LogCustomEventActionCreatorPayload, LogSearchEventActionCreatorPayload, };
5
5
  /**
6
6
  * The generic analytics action creators.
7
7
  *
@@ -9,7 +9,7 @@ import { type CreateArticleMetadata } from '../insight-search/insight-analytics-
9
9
  import type { SmartSnippetFeedback } from '../question-answering/question-answering-analytics-actions.js';
10
10
  import type { LogStaticFilterToggleValueActionCreatorPayload, StaticFilterValueMetadata } from '../static-filter-set/static-filter-set-actions.js';
11
11
  import type { InsightAction } from './analytics-utils.js';
12
- export type { LogStaticFilterToggleValueActionCreatorPayload, LogCategoryFacetBreadcrumbActionCreatorPayload, LogNumericFacetBreadcrumbActionCreatorPayload, LogDateFacetBreadcrumbActionCreatorPayload, LogFacetBreadcrumbActionCreatorPayload, LogFacetUpdateSortActionCreatorPayload, LogFacetDeselectActionCreatorPayload, LogFacetUnexcludeActionCreatorPayload, LogFacetExcludeActionCreatorPayload, LogFacetSelectActionCreatorPayload, SmartSnippetFeedback, StaticFilterValueMetadata, CreateArticleMetadata, };
12
+ export type { CreateArticleMetadata, LogCategoryFacetBreadcrumbActionCreatorPayload, LogDateFacetBreadcrumbActionCreatorPayload, LogFacetBreadcrumbActionCreatorPayload, LogFacetDeselectActionCreatorPayload, LogFacetExcludeActionCreatorPayload, LogFacetSelectActionCreatorPayload, LogFacetUnexcludeActionCreatorPayload, LogFacetUpdateSortActionCreatorPayload, LogNumericFacetBreadcrumbActionCreatorPayload, LogStaticFilterToggleValueActionCreatorPayload, SmartSnippetFeedback, StaticFilterValueMetadata, };
13
13
  /**
14
14
  * The insight analytics action creators.
15
15
  *
@@ -9,7 +9,7 @@ import type { QuestionAnsweringInlineLinkActionCreatorPayload, QuestionAnswering
9
9
  import { type LogStaticFilterClearAllActionCreatorPayload, type LogStaticFilterToggleValueActionCreatorPayload, type StaticFilterValueMetadata } from '../static-filter-set/static-filter-set-actions.js';
10
10
  import { type LogUndoTriggerQueryActionCreatorPayload } from '../triggers/trigger-analytics-actions.js';
11
11
  import type { CustomAction, LegacySearchAction } from './analytics-utils.js';
12
- export type { LogCategoryFacetBreadcrumbActionCreatorPayload, LogFacetBreadcrumbActionCreatorPayload, LogFacetExcludeActionCreatorPayload, LogFacetUnexcludeActionCreatorPayload, LogFacetDeselectActionCreatorPayload, LogFacetSelectActionCreatorPayload, LogFacetUpdateSortActionCreatorPayload, LogDateFacetBreadcrumbActionCreatorPayload, LogNumericFacetBreadcrumbActionCreatorPayload, LogQuerySuggestionClickActionCreatorPayload, QuestionAnsweringUniqueIdentifierActionCreatorPayload, QuestionAnsweringInlineLinkActionCreatorPayload, LogStaticFilterToggleValueActionCreatorPayload, LogStaticFilterClearAllActionCreatorPayload, StaticFilterValueMetadata, SmartSnippetFeedback, LogUndoTriggerQueryActionCreatorPayload, };
12
+ export type { LogCategoryFacetBreadcrumbActionCreatorPayload, LogDateFacetBreadcrumbActionCreatorPayload, LogFacetBreadcrumbActionCreatorPayload, LogFacetDeselectActionCreatorPayload, LogFacetExcludeActionCreatorPayload, LogFacetSelectActionCreatorPayload, LogFacetUnexcludeActionCreatorPayload, LogFacetUpdateSortActionCreatorPayload, LogNumericFacetBreadcrumbActionCreatorPayload, LogQuerySuggestionClickActionCreatorPayload, LogStaticFilterClearAllActionCreatorPayload, LogStaticFilterToggleValueActionCreatorPayload, LogUndoTriggerQueryActionCreatorPayload, QuestionAnsweringInlineLinkActionCreatorPayload, QuestionAnsweringUniqueIdentifierActionCreatorPayload, SmartSnippetFeedback, StaticFilterValueMetadata, };
13
13
  /**
14
14
  * The search analytics action creators.
15
15
  *
@@ -4,7 +4,7 @@ import { type ToggleExcludeDateFacetValuePayload, type ToggleSelectDateFacetValu
4
4
  /**
5
5
  * The date facet action creators.
6
6
  */
7
- export type { ToggleSelectDateFacetValuePayload, ToggleExcludeDateFacetValuePayload, UpdateDateFacetValuesPayload, };
7
+ export type { ToggleExcludeDateFacetValuePayload, ToggleSelectDateFacetValuePayload, UpdateDateFacetValuesPayload, };
8
8
  /**
9
9
  * The date facet action creators.
10
10
  *
@@ -1,7 +1,7 @@
1
1
  import type { PayloadAction } from '@reduxjs/toolkit';
2
2
  import type { CommerceEngine } from '../../../../app/commerce-engine/commerce-engine.js';
3
3
  import { type ToggleExcludeNumericFacetValuePayload, type ToggleSelectNumericFacetValuePayload, type UpdateNumericFacetValuesPayload } from './numeric-facet-actions.js';
4
- export type { ToggleSelectNumericFacetValuePayload, ToggleExcludeNumericFacetValuePayload, UpdateNumericFacetValuesPayload, };
4
+ export type { ToggleExcludeNumericFacetValuePayload, ToggleSelectNumericFacetValuePayload, UpdateNumericFacetValuesPayload, };
5
5
  /**
6
6
  * The numeric facet action creators.
7
7
  *
@@ -1,7 +1,7 @@
1
1
  import type { PayloadAction } from '@reduxjs/toolkit';
2
2
  import type { CommerceEngine } from '../../../app/commerce-engine/commerce-engine.js';
3
3
  import { type NextPagePayload, type PreviousPagePayload, type RegisterRecommendationsSlotPaginationPayload, type SelectPagePayload, type SetPageSizePayload } from './pagination-actions.js';
4
- export type { RegisterRecommendationsSlotPaginationPayload, SetPageSizePayload, SelectPagePayload, NextPagePayload, PreviousPagePayload, };
4
+ export type { NextPagePayload, PreviousPagePayload, RegisterRecommendationsSlotPaginationPayload, SelectPagePayload, SetPageSizePayload, };
5
5
  /**
6
6
  * The pagination action creators.
7
7
  *
@@ -2,7 +2,7 @@ import type { AsyncThunkAction, PayloadAction } from '@reduxjs/toolkit';
2
2
  import type { AsyncThunkCommerceOptions } from '../../../api/commerce/commerce-api-client.js';
3
3
  import type { CommerceEngine } from '../../../app/commerce-engine/commerce-engine.js';
4
4
  import { type FetchBadgesPayload, type FetchBadgesThunkReturn, type RegisterProductEnrichmentOptionsPayload, type StateNeededByFetchBadges } from './product-enrichment-actions.js';
5
- export type { RegisterProductEnrichmentOptionsPayload, FetchBadgesPayload };
5
+ export type { FetchBadgesPayload, RegisterProductEnrichmentOptionsPayload };
6
6
  /**
7
7
  * The product enrichment action creators.
8
8
  *
@@ -2,7 +2,7 @@ import type { AsyncThunkAction, PayloadAction } from '@reduxjs/toolkit';
2
2
  import type { AsyncThunkCommerceOptions } from '../../../api/commerce/commerce-api-client.js';
3
3
  import type { CommerceEngine } from '../../../app/commerce-engine/commerce-engine.js';
4
4
  import { type FetchMoreRecommendationsPayload, type FetchRecommendationsPayload, type PromoteChildToParentPayload, type QueryRecommendationsCommerceAPIThunkReturn, type RegisterRecommendationsSlotPayload, type StateNeededByFetchRecommendations } from './recommendations-actions.js';
5
- export type { RegisterRecommendationsSlotPayload, FetchRecommendationsPayload, FetchMoreRecommendationsPayload, };
5
+ export type { FetchMoreRecommendationsPayload, FetchRecommendationsPayload, RegisterRecommendationsSlotPayload, };
6
6
  /**
7
7
  * The recommendations action creators.
8
8
  *
@@ -3,7 +3,7 @@ import type { AsyncThunkCommerceOptions } from '../../../api/commerce/commerce-a
3
3
  import type { CommerceEngine } from '../../../app/commerce-engine/commerce-engine.js';
4
4
  import { type FetchSearchPayload, type PrepareForSearchWithQueryPayload, type PromoteChildToParentPayload, type QuerySearchCommerceAPIThunkReturn } from './search-actions.js';
5
5
  import type { StateNeededByExecuteSearch } from './search-actions-thunk-processor.js';
6
- export type { PrepareForSearchWithQueryPayload, FetchSearchPayload };
6
+ export type { FetchSearchPayload, PrepareForSearchWithQueryPayload };
7
7
  /**
8
8
  * The search action creators.
9
9
  *
@@ -1,7 +1,7 @@
1
1
  import { RecordValue } from '@coveo/bueno';
2
2
  import { buildRelevanceSortCriterion, type SortByFields as CoreSortByFields, type SortByFieldsFields as CoreSortByFieldsFields, SortBy, type SortByRelevance, SortDirection } from '../../sort/sort.js';
3
3
  export type { SortByRelevance };
4
- export { SortBy, SortDirection, buildRelevanceSortCriterion };
4
+ export { buildRelevanceSortCriterion, SortBy, SortDirection };
5
5
  export type SortByFields = Pick<CoreSortByFields, 'by'> & {
6
6
  fields: SortByFieldsFields[];
7
7
  };
@@ -2,7 +2,7 @@ import type { PayloadAction } from '@reduxjs/toolkit';
2
2
  import type { CommerceEngine } from '../../../app/commerce-engine/commerce-engine.js';
3
3
  import type { ApplyQueryTriggerModificationPayload } from '../../triggers/triggers-actions.js';
4
4
  import { type UpdateIgnoreQueryTriggerPayload, updateIgnoreQueryTrigger } from './triggers-actions.js';
5
- export type { UpdateIgnoreQueryTriggerPayload, ApplyQueryTriggerModificationPayload, updateIgnoreQueryTrigger, };
5
+ export type { ApplyQueryTriggerModificationPayload, UpdateIgnoreQueryTriggerPayload, updateIgnoreQueryTrigger, };
6
6
  /**
7
7
  * The triggers action creators.
8
8
  *
@@ -1,7 +1,7 @@
1
1
  import type { PayloadAction } from '@reduxjs/toolkit';
2
2
  import type { CoreEngine, CoreEngineNext } from '../../app/engine.js';
3
3
  import { type AnalyticsRuntimeEnvironment, type SetOriginLevel2ActionCreatorPayload, type SetOriginLevel3ActionCreatorPayload, type UpdateAnalyticsConfigurationActionCreatorPayload, type UpdateBasicConfigurationActionCreatorPayload } from './configuration-actions.js';
4
- export type { SetOriginLevel2ActionCreatorPayload, SetOriginLevel3ActionCreatorPayload, UpdateAnalyticsConfigurationActionCreatorPayload, AnalyticsRuntimeEnvironment, UpdateBasicConfigurationActionCreatorPayload, };
4
+ export type { AnalyticsRuntimeEnvironment, SetOriginLevel2ActionCreatorPayload, SetOriginLevel3ActionCreatorPayload, UpdateAnalyticsConfigurationActionCreatorPayload, UpdateBasicConfigurationActionCreatorPayload, };
5
5
  /**
6
6
  * The configuration action creators.
7
7
  *
@@ -1,7 +1,7 @@
1
1
  import type { PayloadAction } from '@reduxjs/toolkit';
2
2
  import type { SearchEngine } from '../../app/search-engine/search-engine.js';
3
3
  import { type DisableFacetActionCreatorPayload, type EnableFacetActionCreatorPayload, type UpdateFacetOptionsActionCreatorPayload } from './facet-options-actions.js';
4
- export type { UpdateFacetOptionsActionCreatorPayload, EnableFacetActionCreatorPayload, DisableFacetActionCreatorPayload, };
4
+ export type { DisableFacetActionCreatorPayload, EnableFacetActionCreatorPayload, UpdateFacetOptionsActionCreatorPayload, };
5
5
  /**
6
6
  * The facetOptions action creators.
7
7
  *
@@ -2,7 +2,7 @@ import type { PayloadAction } from '@reduxjs/toolkit';
2
2
  import type { SearchEngine } from '../../../app/search-engine/search-engine.js';
3
3
  import { type UpdateFacetAutoSelectionActionCreatorPayload } from '../generic/facet-actions.js';
4
4
  import { type RegisterCategoryFacetActionCreatorPayload, type ToggleSelectCategoryFacetValueActionCreatorPayload, type UpdateCategoryFacetBasePathActionCreatorPayload, type UpdateCategoryFacetNumberOfValuesActionCreatorPayload, type UpdateCategoryFacetSortCriterionActionCreatorPayload } from './category-facet-set-actions.js';
5
- export type { RegisterCategoryFacetActionCreatorPayload, ToggleSelectCategoryFacetValueActionCreatorPayload, UpdateCategoryFacetNumberOfValuesActionCreatorPayload, UpdateCategoryFacetSortCriterionActionCreatorPayload, UpdateCategoryFacetBasePathActionCreatorPayload, UpdateFacetAutoSelectionActionCreatorPayload, };
5
+ export type { RegisterCategoryFacetActionCreatorPayload, ToggleSelectCategoryFacetValueActionCreatorPayload, UpdateCategoryFacetBasePathActionCreatorPayload, UpdateCategoryFacetNumberOfValuesActionCreatorPayload, UpdateCategoryFacetSortCriterionActionCreatorPayload, UpdateFacetAutoSelectionActionCreatorPayload, };
6
6
  /**
7
7
  * The category facet set action creators.
8
8
  *
@@ -2,7 +2,7 @@ import type { PayloadAction } from '@reduxjs/toolkit';
2
2
  import type { SearchEngine } from '../../../app/search-engine/search-engine.js';
3
3
  import { type UpdateFacetAutoSelectionActionCreatorPayload } from '../generic/facet-actions.js';
4
4
  import { type RegisterFacetActionCreatorPayload, type ToggleSelectFacetValueActionCreatorPayload, type UpdateFacetIsFieldExpandedActionCreatorPayload, type UpdateFacetNumberOfValuesActionCreatorPayload, type UpdateFacetSortCriterionActionCreatorPayload, type UpdateFreezeCurrentValuesActionCreatorPayload } from './facet-set-actions.js';
5
- export type { RegisterFacetActionCreatorPayload, ToggleSelectFacetValueActionCreatorPayload, UpdateFacetIsFieldExpandedActionCreatorPayload, UpdateFacetNumberOfValuesActionCreatorPayload, UpdateFacetSortCriterionActionCreatorPayload, UpdateFreezeCurrentValuesActionCreatorPayload, UpdateFacetAutoSelectionActionCreatorPayload, };
5
+ export type { RegisterFacetActionCreatorPayload, ToggleSelectFacetValueActionCreatorPayload, UpdateFacetAutoSelectionActionCreatorPayload, UpdateFacetIsFieldExpandedActionCreatorPayload, UpdateFacetNumberOfValuesActionCreatorPayload, UpdateFacetSortCriterionActionCreatorPayload, UpdateFreezeCurrentValuesActionCreatorPayload, };
6
6
  /**
7
7
  * The facet set action creators.
8
8
  *
@@ -1,6 +1,6 @@
1
1
  import type { ConfigurationSection, FoldingSection, InsightConfigurationSection, QuerySection } from '../../state/state-sections.js';
2
2
  import { type LoadCollectionFulfilledReturn, type RegisterFoldingActionCreatorPayload } from '../folding/folding-actions.js';
3
- export type { RegisterFoldingActionCreatorPayload, LoadCollectionFulfilledReturn, };
3
+ export type { LoadCollectionFulfilledReturn, RegisterFoldingActionCreatorPayload, };
4
4
  export declare const registerFolding: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: RegisterFoldingActionCreatorPayload], RegisterFoldingActionCreatorPayload, "folding/register", never, never>;
5
5
  export type StateNeededByLoadCollection = ConfigurationSection & FoldingSection & QuerySection & InsightConfigurationSection;
6
6
  export declare const loadCollection: import("@reduxjs/toolkit").AsyncThunk<LoadCollectionFulfilledReturn, string, {
@@ -83,19 +83,23 @@ export declare const submitFollowUpFeedback: import("@reduxjs/toolkit").ActionCr
83
83
  export declare const resetFollowUpAnswers: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"followUpAnswers/resetFollowUpAnswers">;
84
84
  export declare const followUpStepStarted: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: {
85
85
  answerId: string;
86
- name: GenerationStepName;
86
+ name: string;
87
87
  startedAt: number;
88
- }], {
88
+ }], Omit<{
89
89
  answerId: string;
90
- name: GenerationStepName;
90
+ name: string;
91
91
  startedAt: number;
92
+ }, "name"> & {
93
+ name: GenerationStepName;
92
94
  }, "followUpAnswers/stepStarted", never, never>;
93
95
  export declare const followUpStepFinished: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: {
94
96
  answerId: string;
95
- name: GenerationStepName;
97
+ name: string;
96
98
  finishedAt: number;
97
- }], {
99
+ }], Omit<{
98
100
  answerId: string;
99
- name: GenerationStepName;
101
+ name: string;
100
102
  finishedAt: number;
103
+ }, "name"> & {
104
+ name: GenerationStepName;
101
105
  }, "followUpAnswers/stepFinished", never, never>;
@@ -49,18 +49,22 @@ export declare const setIsAnswerGenerated: import("@reduxjs/toolkit").ActionCrea
49
49
  export declare const setCannotAnswer: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: boolean], boolean, "generatedAnswer/setCannotAnswer", never, never>;
50
50
  export declare const setAnswerApiQueryParams: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: Partial<AnswerApiQueryParams>], unknown, "generatedAnswer/setAnswerApiQueryParams", never, never>;
51
51
  export declare const startStep: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: {
52
- name: GenerationStepName;
52
+ name: string;
53
53
  startedAt: number;
54
- }], {
55
- name: GenerationStepName;
54
+ }], Omit<{
55
+ name: string;
56
56
  startedAt: number;
57
+ }, "name"> & {
58
+ name: GenerationStepName;
57
59
  }, "generatedAnswer/startStep", never, never>;
58
60
  export declare const finishStep: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: {
59
- name: GenerationStepName;
61
+ name: string;
60
62
  finishedAt: number;
61
- }], {
62
- name: GenerationStepName;
63
+ }], Omit<{
64
+ name: string;
63
65
  finishedAt: number;
66
+ }, "name"> & {
67
+ name: GenerationStepName;
64
68
  }, "generatedAnswer/finishStep", never, never>;
65
69
  interface StreamAnswerArgs {
66
70
  setAbortControllerRef: (ref: AbortController) => void;
@@ -4,6 +4,7 @@ import type { GeneratedContentFormat, GeneratedResponseFormat } from './generate
4
4
  type GenerationStepStatus = 'active' | 'completed';
5
5
  export type GenerationStepName = (typeof GENERATION_STEP_NAMES)[number];
6
6
  export declare const GENERATION_STEP_NAMES: readonly ["searching", "thinking", "answering"];
7
+ export declare function normalizeGenerationStepName(name: string): GenerationStepName;
7
8
  export interface GenerationStep {
8
9
  name: GenerationStepName;
9
10
  status: GenerationStepStatus;
@@ -46,6 +47,12 @@ export interface GeneratedAnswerBase {
46
47
  message?: string;
47
48
  code?: number;
48
49
  isRetryable?: boolean;
50
+ isMaxDurationExceededError?(): boolean;
51
+ isFollowupNotSupportedError?(): boolean;
52
+ isConversationNotFoundError?(): boolean;
53
+ isSseModelNotAvailableError?(): boolean;
54
+ isSseInternalError?(): boolean;
55
+ isSseTurnLimitReachedError?(): boolean;
49
56
  };
50
57
  /**
51
58
  * Whether an answer cannot be generated after a query is executed.
@@ -6,9 +6,30 @@ export declare enum GeneratedAnswerSseErrorCode {
6
6
  SseFollowUpNotSupported = 1001,
7
7
  ConversationNotFound = 1002,
8
8
  SseModelsNotAvailable = 1003,
9
- SseInternalError = 1004
9
+ SseInternalError = 1004,
10
+ SseTurnLimitReached = 1005
11
+ }
12
+ interface GeneratedAnswerErrorWithSseHelpers {
13
+ message?: string;
14
+ code?: number;
15
+ isRetryable?: boolean;
16
+ isMaxDurationExceededError(): boolean;
17
+ isFollowupNotSupportedError(): boolean;
18
+ isConversationNotFoundError(): boolean;
19
+ isSseModelNotAvailableError(): boolean;
20
+ isSseInternalError(): boolean;
21
+ isSseTurnLimitReachedError(): boolean;
10
22
  }
11
23
  /**
12
24
  * Maps backend error codes to frontend error codes for generated answer SSE errors.
13
25
  */
14
26
  export declare function mapRunErrorCode(code?: string): GeneratedAnswerSseErrorCode;
27
+ /**
28
+ * Decorates a generated answer error with helper predicates for SSE error codes.
29
+ */
30
+ export declare function withGeneratedAnswerSseErrorHelpers<T extends {
31
+ message?: string;
32
+ code?: number;
33
+ isRetryable?: boolean;
34
+ }>(error?: T): (T & GeneratedAnswerErrorWithSseHelpers) | undefined;
35
+ export {};
@@ -1,7 +1,7 @@
1
1
  import type { PayloadAction } from '@reduxjs/toolkit';
2
2
  import type { SearchEngine } from '../../app/search-engine/search-engine.js';
3
3
  import { type ClearExpiredInstantResultsActionCreatorPayload, type FetchInstantResultsActionCreatorPayload, type RegisterInstantResultActionCreatorPayload, type UpdateInstantResultQueryActionCreatorPayload } from './instant-results-actions.js';
4
- export type { UpdateInstantResultQueryActionCreatorPayload, RegisterInstantResultActionCreatorPayload, ClearExpiredInstantResultsActionCreatorPayload, FetchInstantResultsActionCreatorPayload, };
4
+ export type { ClearExpiredInstantResultsActionCreatorPayload, FetchInstantResultsActionCreatorPayload, RegisterInstantResultActionCreatorPayload, UpdateInstantResultQueryActionCreatorPayload, };
5
5
  /**
6
6
  * The instant results action creators.
7
7
  *
@@ -66,7 +66,6 @@ export interface SearchParameters {
66
66
  sf?: Record<string, string[]>;
67
67
  /**
68
68
  * The active tab id.
69
- * @deprecated Restoring the tab with the restoreSearchParameters action can cause components to be visible/hidden on the wrong tab. The `restoreTab` action is also deprecated and will be removed in V4. Use alternative tab management methods instead.
70
69
  */
71
70
  tab?: string;
72
71
  /**
@@ -2,7 +2,7 @@ import type { AsyncThunkAction, PayloadAction } from '@reduxjs/toolkit';
2
2
  import type { AsyncThunkSearchOptions } from '../../api/search/search-api-client.js';
3
3
  import type { SearchEngine } from '../../app/search-engine/search-engine.js';
4
4
  import { type FetchRedirectUrlActionCreatorPayload, type RegisterStandaloneSearchBoxActionCreatorPayload, type ResetStandaloneSearchBoxActionCreatorPayload, type StateNeededForRedirect, type UpdateAnalyticsToOmniboxFromLinkActionCreatorPayload, type UpdateAnalyticsToSearchFromLinkActionCreatorPayload } from './standalone-search-box-set-actions.js';
5
- export type { RegisterStandaloneSearchBoxActionCreatorPayload, ResetStandaloneSearchBoxActionCreatorPayload, FetchRedirectUrlActionCreatorPayload, UpdateAnalyticsToSearchFromLinkActionCreatorPayload, UpdateAnalyticsToOmniboxFromLinkActionCreatorPayload, };
5
+ export type { FetchRedirectUrlActionCreatorPayload, RegisterStandaloneSearchBoxActionCreatorPayload, ResetStandaloneSearchBoxActionCreatorPayload, UpdateAnalyticsToOmniboxFromLinkActionCreatorPayload, UpdateAnalyticsToSearchFromLinkActionCreatorPayload, };
6
6
  /**
7
7
  * The standalone search box set action creators.
8
8
  *
@@ -126,6 +126,12 @@ export { buildUrlManager } from './controllers/url-manager/headless-url-manager.
126
126
  export type { SearchAppState, SearchParametersState, } from './state/search-app-state.js';
127
127
  export { getAnalyticsNextApiBaseUrl, getOrganizationEndpoint, getSearchApiBaseUrl, } from './api/platform-client.js';
128
128
  export { API_DATE_FORMAT } from './api/search/date/date-format.js';
129
+ export type { RelativeDate, RelativeDatePeriod, RelativeDateUnit, } from './api/search/date/relative-date.js';
130
+ export { deserializeRelativeDate, validateRelativeDate, } from './api/search/date/relative-date.js';
131
+ export type { FieldDescription } from './api/search/fields/fields-response.js';
132
+ export type { Raw } from './api/search/search/raw.js';
133
+ export type { Result } from './api/search/search/result.js';
134
+ export type { PhrasesToHighlight, TermsToHighlight, } from './api/search/search/stemming.js';
129
135
  export * from './features/actions-history/ipx-actions-history-actions-loader.js';
130
136
  export * from './features/advanced-search-queries/advanced-search-queries-actions-loader.js';
131
137
  export * from './features/analytics/click-analytics-actions-loader.js';
@@ -142,13 +148,26 @@ export * from './features/excerpt-length/excerpt-length-actions-loader.js';
142
148
  export * from './features/facet-options/facet-options-actions-loader.js';
143
149
  export * from './features/facets/automatic-facet-set/automatic-facet-set-actions-loader.js';
144
150
  export * from './features/facets/category-facet-set/category-facet-set-actions-loader.js';
151
+ export type { CategoryFacetSortCriterion, CategoryFacetValueRequest, } from './features/facets/category-facet-set/interfaces/request.js';
152
+ export type { CategoryFacetValue, CategoryFacetValueCommon, } from './features/facets/category-facet-set/interfaces/response.js';
153
+ export type { FacetResultsMustMatch } from './features/facets/facet-api/request.js';
145
154
  export * from './features/facets/facet-set/facet-set-actions-loader.js';
146
155
  export { baseFacetResponseSelector, facetRequestSelector, facetResponseSelectedValuesSelector, facetResponseSelector, } from './features/facets/facet-set/facet-set-selectors.js';
156
+ export type { FacetSortCriterion, FacetValueRequest, } from './features/facets/facet-set/interfaces/request.js';
157
+ export type { AnyFacetValueRequest } from './features/facets/generic/interfaces/generic-facet-request.js';
147
158
  export * from './features/facets/range-facets/date-facet-set/date-facet-actions-loader.js';
159
+ export type { DateRangeRequest } from './features/facets/range-facets/date-facet-set/interfaces/request.js';
160
+ export type { DateFacetValue } from './features/facets/range-facets/date-facet-set/interfaces/response.js';
161
+ export type { RangeFacetRangeAlgorithm, RangeFacetSortCriterion, } from './features/facets/range-facets/generic/interfaces/request.js';
162
+ export type { NumericRangeRequest } from './features/facets/range-facets/numeric-facet-set/interfaces/request.js';
163
+ export type { NumericFacetValue } from './features/facets/range-facets/numeric-facet-set/interfaces/response.js';
148
164
  export * from './features/facets/range-facets/numeric-facet-set/numeric-facet-actions-loader.js';
149
165
  export * from './features/fields/fields-actions-loader.js';
166
+ export { DefaultFieldsToInclude, EcommerceDefaultFieldsToInclude, MinimumFieldsToInclude, } from './features/fields/fields-state.js';
150
167
  export * from './features/folding/folding-actions-loader.js';
151
168
  export * from './features/generated-answer/generated-answer-actions-loader.js';
169
+ export type { GeneratedAnswerFeedback, GeneratedAnswerFeedbackOption, } from './features/generated-answer/generated-answer-analytics-actions.js';
170
+ export type { GeneratedContentFormat } from './features/generated-answer/generated-response-format.js';
152
171
  export * from './features/history/history-actions-loader.js';
153
172
  export * from './features/instant-results/instant-results-actions-loader.js';
154
173
  export * from './features/pagination/pagination-actions-loader.js';
@@ -162,42 +181,23 @@ export * from './features/recent-queries/recent-queries-actions-loader.js';
162
181
  export * from './features/recent-results/recent-results-actions-loader.js';
163
182
  export * from './features/result-preview/result-preview-actions-loader.js';
164
183
  export { ResultTemplatesHelpers } from './features/result-templates/result-templates-helpers.js';
184
+ export type { ResultTemplate, ResultTemplateCondition, ResultTemplatesManager, } from './features/result-templates/result-templates-manager.js';
165
185
  export { buildResultTemplatesManager } from './features/result-templates/result-templates-manager.js';
166
186
  export * from './features/search/search-actions-loader.js';
167
187
  export * from './features/search-hub/search-hub-actions-loader.js';
168
188
  export * from './features/search-parameters/search-parameter-actions-loader.js';
169
- export * from './features/sort-criteria/sort-criteria-actions-loader.js';
170
- export * from './features/standalone-search-box-set/standalone-search-box-set-actions-loader.js';
171
- export * from './features/static-filter-set/static-filter-set-actions-loader.js';
172
- export * from './features/tab-set/tab-set-actions-loader.js';
173
- export { HighlightUtils };
174
- export type { RelativeDate, RelativeDatePeriod, RelativeDateUnit, } from './api/search/date/relative-date.js';
175
- export { deserializeRelativeDate, validateRelativeDate, } from './api/search/date/relative-date.js';
176
- export type { FieldDescription } from './api/search/fields/fields-response.js';
177
- export type { Raw } from './api/search/search/raw.js';
178
- export type { Result } from './api/search/search/result.js';
179
- export type { PhrasesToHighlight, TermsToHighlight, } from './api/search/search/stemming.js';
180
- export type { CategoryFacetSortCriterion, CategoryFacetValueRequest, } from './features/facets/category-facet-set/interfaces/request.js';
181
- export type { CategoryFacetValue, CategoryFacetValueCommon, } from './features/facets/category-facet-set/interfaces/response.js';
182
- export type { FacetResultsMustMatch } from './features/facets/facet-api/request.js';
183
- export type { FacetSortCriterion, FacetValueRequest, } from './features/facets/facet-set/interfaces/request.js';
184
- export type { AnyFacetValueRequest } from './features/facets/generic/interfaces/generic-facet-request.js';
185
- export type { DateRangeRequest } from './features/facets/range-facets/date-facet-set/interfaces/request.js';
186
- export type { DateFacetValue } from './features/facets/range-facets/date-facet-set/interfaces/response.js';
187
- export type { RangeFacetRangeAlgorithm, RangeFacetSortCriterion, } from './features/facets/range-facets/generic/interfaces/request.js';
188
- export type { NumericRangeRequest } from './features/facets/range-facets/numeric-facet-set/interfaces/request.js';
189
- export type { NumericFacetValue } from './features/facets/range-facets/numeric-facet-set/interfaces/response.js';
190
- export { DefaultFieldsToInclude, EcommerceDefaultFieldsToInclude, MinimumFieldsToInclude, } from './features/fields/fields-state.js';
191
- export type { GeneratedAnswerFeedback, GeneratedAnswerFeedbackOption, } from './features/generated-answer/generated-answer-analytics-actions.js';
192
- export type { GeneratedContentFormat } from './features/generated-answer/generated-response-format.js';
193
- export type { ResultTemplate, ResultTemplateCondition, ResultTemplatesManager, } from './features/result-templates/result-templates-manager.js';
194
189
  export { buildSearchParameterSerializer } from './features/search-parameters/search-parameter-serializer.js';
195
190
  export type { SortByDate, SortByField, SortByNoSort, SortByQRE, SortByRelevancy, SortCriterion, } from './features/sort-criteria/criteria.js';
196
191
  export { buildCriterionExpression, buildDateSortCriterion, buildFieldSortCriterion, buildNoSortCriterion, buildQueryRankingExpressionSortCriterion, buildRelevanceSortCriterion, SortBy, SortOrder, } from './features/sort-criteria/criteria.js';
197
192
  export { parseCriterionExpression } from './features/sort-criteria/criteria-parser.js';
193
+ export * from './features/sort-criteria/sort-criteria-actions-loader.js';
194
+ export * from './features/standalone-search-box-set/standalone-search-box-set-actions-loader.js';
195
+ export * from './features/static-filter-set/static-filter-set-actions-loader.js';
196
+ export * from './features/tab-set/tab-set-actions-loader.js';
198
197
  export type { Template, TemplatesManager, } from './features/templates/templates-manager.js';
199
198
  export type { FunctionExecutionTrigger } from './features/triggers/triggers-state.js';
200
199
  export type { HighlightKeyword } from './utils/highlight.js';
201
200
  export * from './utils/query-expression/query-expression.js';
202
201
  export type { PlatformEnvironment } from './utils/url-utils.js';
203
202
  export { VERSION } from './utils/version.js';
203
+ export { HighlightUtils };