@coveo/quantic 3.43.2 → 3.43.4

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 (204) hide show
  1. package/force-app/main/default/lwc/quanticBreadcrumbManager/e2e/data.ts +130 -0
  2. package/force-app/main/default/lwc/quanticBreadcrumbManager/e2e/fixture.ts +25 -14
  3. package/force-app/main/default/lwc/quanticBreadcrumbManager/e2e/quanticBreadcrumbManager.e2e.ts +57 -16
  4. package/force-app/main/default/lwc/quanticCardContainer/quanticCardContainer.css +3 -4
  5. package/force-app/main/default/lwc/quanticCardContainer/quanticCardContainer.html +1 -1
  6. package/force-app/main/default/lwc/quanticCarousel/quanticCarousel.css +5 -5
  7. package/force-app/main/default/lwc/quanticCaseClassification/quanticCaseClassification.css +3 -3
  8. package/force-app/main/default/lwc/quanticCategoryFacet/e2e/data.ts +70 -6
  9. package/force-app/main/default/lwc/quanticCategoryFacet/e2e/fixture.ts +17 -13
  10. package/force-app/main/default/lwc/quanticCategoryFacet/e2e/quanticCategoryFacet.e2e.ts +34 -14
  11. package/force-app/main/default/lwc/quanticCategoryFacet/quanticCategoryFacet.css +1 -1
  12. package/force-app/main/default/lwc/quanticCitation/quanticCitation.css +12 -11
  13. package/force-app/main/default/lwc/quanticDateFacet/e2e/data.ts +24 -4
  14. package/force-app/main/default/lwc/quanticDateFacet/e2e/fixture.ts +17 -13
  15. package/force-app/main/default/lwc/quanticDateFacet/e2e/quanticDateFacet.e2e.ts +26 -4
  16. package/force-app/main/default/lwc/quanticDidYouMean/e2e/fixture.ts +6 -2
  17. package/force-app/main/default/lwc/quanticDocumentSuggestion/quanticDocumentSuggestion.css +2 -2
  18. package/force-app/main/default/lwc/quanticFacet/e2e/data.ts +50 -9
  19. package/force-app/main/default/lwc/quanticFacet/e2e/fixture.ts +18 -13
  20. package/force-app/main/default/lwc/quanticFacet/e2e/quanticFacet.e2e.ts +43 -9
  21. package/force-app/main/default/lwc/quanticFacet/quanticFacet.css +1 -1
  22. package/force-app/main/default/lwc/quanticFacetManager/e2e/data.ts +59 -0
  23. package/force-app/main/default/lwc/quanticFacetManager/e2e/fixture.ts +26 -15
  24. package/force-app/main/default/lwc/quanticFacetManager/e2e/quanticFacetManager.e2e.ts +7 -7
  25. package/force-app/main/default/lwc/quanticFacetStyles/quanticFacetStyles.css +10 -10
  26. package/force-app/main/default/lwc/quanticFeedbackModalQna/templates/quanticFeedbackModalQna.css +1 -1
  27. package/force-app/main/default/lwc/quanticFoldedResultList/e2e/fixture.ts +6 -2
  28. package/force-app/main/default/lwc/quanticGeneratedAnswer/e2e/agentData.ts +32 -1
  29. package/force-app/main/default/lwc/quanticGeneratedAnswer/e2e/pageObject.ts +6 -0
  30. package/force-app/main/default/lwc/quanticGeneratedAnswer/e2e/quanticGeneratedAnswerAgent.e2e.ts +66 -1
  31. package/force-app/main/default/lwc/quanticGeneratedAnswer/quanticGeneratedAnswer.css +1 -1
  32. package/force-app/main/default/lwc/quanticGeneratedAnswer/templates/generatedAnswer.css +3 -3
  33. package/force-app/main/default/lwc/quanticGeneratedAnswer/templates/generatedAnswer.html +3 -3
  34. package/force-app/main/default/lwc/quanticGeneratedAnswerBody/__tests__/quanticGeneratedAnswerBody.test.js +39 -0
  35. package/force-app/main/default/lwc/quanticGeneratedAnswerBody/quanticGeneratedAnswerBody.js +4 -1
  36. package/force-app/main/default/lwc/quanticGeneratedAnswerContent/templates/generatedMarkdownContent.css +21 -21
  37. package/force-app/main/default/lwc/quanticGeneratedAnswerContent/templates/generatedTextContent.css +2 -2
  38. package/force-app/main/default/lwc/quanticGeneratedAnswerFollowUpInput/quanticGeneratedAnswerFollowUpInput.css +9 -9
  39. package/force-app/main/default/lwc/quanticGeneratedAnswerStreamOfThought/quanticGeneratedAnswerStreamOfThought.css +2 -2
  40. package/force-app/main/default/lwc/quanticGeneratedAnswerThread/quanticGeneratedAnswerThread.css +8 -8
  41. package/force-app/main/default/lwc/quanticInsightSummary/quanticInsightSummary.css +2 -1
  42. package/force-app/main/default/lwc/quanticModal/quanticModal.css +3 -3
  43. package/force-app/main/default/lwc/quanticNotifications/e2e/fixture.ts +6 -2
  44. package/force-app/main/default/lwc/quanticNotifications/quanticNotifications.css +2 -2
  45. package/force-app/main/default/lwc/quanticNumericFacet/e2e/data.ts +24 -4
  46. package/force-app/main/default/lwc/quanticNumericFacet/e2e/fixture.ts +17 -13
  47. package/force-app/main/default/lwc/quanticNumericFacet/e2e/quanticNumericFacet.e2e.ts +28 -6
  48. package/force-app/main/default/lwc/quanticPager/e2e/fixture.ts +3 -3
  49. package/force-app/main/default/lwc/quanticPager/e2e/quanticPager.e2e.ts +1 -1
  50. package/force-app/main/default/lwc/quanticPill/quanticPill.css +2 -2
  51. package/force-app/main/default/lwc/quanticPlaceholder/quanticPlaceholder.css +2 -6
  52. package/force-app/main/default/lwc/quanticPlaceholder/quanticPlaceholder.html +1 -1
  53. package/force-app/main/default/lwc/quanticRadioButtonsGroup/quanticRadioButtonsGroup.css +9 -9
  54. package/force-app/main/default/lwc/quanticRecentQueriesList/e2e/fixture.ts +1 -0
  55. package/force-app/main/default/lwc/quanticRecentQueriesList/quanticRecentQueriesList.css +3 -7
  56. package/force-app/main/default/lwc/quanticRecentQueriesList/quanticRecentQueriesList.html +1 -1
  57. package/force-app/main/default/lwc/quanticRecentResultsList/e2e/fixture.ts +1 -0
  58. package/force-app/main/default/lwc/quanticRecentResultsList/quanticRecentResultsList.css +2 -6
  59. package/force-app/main/default/lwc/quanticRecentResultsList/quanticRecentResultsList.html +1 -1
  60. package/force-app/main/default/lwc/quanticRecommendationList/e2e/fixture.ts +1 -0
  61. package/force-app/main/default/lwc/quanticRecommendationList/quanticRecommendationList.css +1 -1
  62. package/force-app/main/default/lwc/quanticRefineToggle/quanticRefineToggle.css +4 -4
  63. package/force-app/main/default/lwc/quanticResultActionStyles/quanticResultActionStyles.css +2 -2
  64. package/force-app/main/default/lwc/quanticResultCopyToClipboard/e2e/fixture.ts +5 -2
  65. package/force-app/main/default/lwc/quanticResultLink/quanticResultLink.css +1 -1
  66. package/force-app/main/default/lwc/quanticResultList/e2e/fixture.ts +6 -2
  67. package/force-app/main/default/lwc/quanticResultPrintableUri/quanticResultPrintableUri.css +1 -1
  68. package/force-app/main/default/lwc/quanticResultQuickview/e2e/fixture.ts +7 -3
  69. package/force-app/main/default/lwc/quanticResultQuickview/quanticResultQuickview.css +6 -6
  70. package/force-app/main/default/lwc/quanticResultTag/quanticResultTag.css +2 -0
  71. package/force-app/main/default/lwc/quanticResultTemplate/quanticResultTemplate.css +1 -1
  72. package/force-app/main/default/lwc/quanticResultsPerPage/e2e/fixture.ts +6 -2
  73. package/force-app/main/default/lwc/quanticSearchBox/e2e/fixture.ts +3 -1
  74. package/force-app/main/default/lwc/quanticSearchBoxInput/templates/defaultSearchBoxInput.css +1 -1
  75. package/force-app/main/default/lwc/quanticSearchBoxInput/templates/expandableSearchBoxInput.css +4 -12
  76. package/force-app/main/default/lwc/quanticSearchBoxInput/templates/expandableSearchBoxInput.html +2 -2
  77. package/force-app/main/default/lwc/quanticSearchBoxSuggestionsList/e2e/fixture.ts +3 -0
  78. package/force-app/main/default/lwc/quanticSmartSnippet/e2e/fixture.ts +6 -4
  79. package/force-app/main/default/lwc/quanticSmartSnippetSource/quanticSmartSnippetSource.css +1 -1
  80. package/force-app/main/default/lwc/quanticSmartSnippetSuggestions/e2e/fixture.ts +6 -4
  81. package/force-app/main/default/lwc/quanticSort/e2e/fixture.ts +3 -2
  82. package/force-app/main/default/lwc/quanticSort/quanticSort.css +3 -3
  83. package/force-app/main/default/lwc/quanticSourceCitations/quanticSourceCitations.css +1 -1
  84. package/force-app/main/default/lwc/quanticStandaloneSearchBox/e2e/fixture.ts +2 -1
  85. package/force-app/main/default/lwc/quanticStatefulButton/quanticStatefulButton.css +2 -2
  86. package/force-app/main/default/lwc/quanticTab/e2e/fixture.ts +6 -2
  87. package/force-app/main/default/lwc/quanticTabBar/e2e/fixture.ts +6 -2
  88. package/force-app/main/default/lwc/quanticTabBar/e2e/quanticTabBar.e2e.ts +3 -2
  89. package/force-app/main/default/lwc/quanticThreadItem/__tests__/quanticThreadItem.test.js +138 -0
  90. package/force-app/main/default/lwc/quanticThreadItem/quanticThreadItem.css +27 -6
  91. package/force-app/main/default/lwc/quanticThreadItem/quanticThreadItem.html +10 -2
  92. package/force-app/main/default/lwc/quanticThreadItem/quanticThreadItem.js +37 -1
  93. package/force-app/main/default/lwc/quanticTimeframeFacet/e2e/data.ts +66 -0
  94. package/force-app/main/default/lwc/quanticTimeframeFacet/e2e/fixture.ts +20 -4
  95. package/force-app/main/default/lwc/quanticTimeframeFacet/e2e/quanticTimeframeFacet.e2e.ts +24 -0
  96. package/force-app/main/default/lwc/quanticTimeframeFacet/quanticTimeframeFacet.css +1 -1
  97. package/force-app/main/default/lwc/quanticTooltip/quanticTooltip.css +3 -3
  98. package/force-app/main/default/lwc/quanticUserAction/quanticUserAction.css +7 -7
  99. package/force-app/main/default/lwc/quanticUserActionsSession/quanticUserActionsSession.css +3 -3
  100. package/force-app/main/default/lwc/quanticUserActionsTimeline/templates/userActionsTimeline.css +2 -2
  101. package/force-app/main/default/lwc/searchBoxStyle/searchBoxStyle.css +10 -10
  102. package/force-app/main/default/staticresources/coveobueno/browser/bueno.js +1 -3
  103. package/force-app/main/default/staticresources/coveoheadless/case-assist/headless.js +17 -17
  104. package/force-app/main/default/staticresources/coveoheadless/definitions/api/analytics/case-assist-analytics.d.ts +2 -1
  105. package/force-app/main/default/staticresources/coveoheadless/definitions/api/analytics/insight-analytics.d.ts +2 -1
  106. package/force-app/main/default/staticresources/coveoheadless/definitions/api/analytics/search-analytics.d.ts +2 -1
  107. package/force-app/main/default/staticresources/coveoheadless/definitions/api/knowledge/stream-answer-api.d.ts +2 -1
  108. package/force-app/main/default/staticresources/coveoheadless/definitions/app/engine-configuration.d.ts +34 -0
  109. package/force-app/main/default/staticresources/coveoheadless/definitions/app/insight-engine/insight-engine.d.ts +1 -1
  110. package/force-app/main/default/staticresources/coveoheadless/definitions/app/insight-thunk-extra-arguments.d.ts +2 -0
  111. package/force-app/main/default/staticresources/coveoheadless/definitions/app/search-thunk-extra-arguments.d.ts +2 -0
  112. package/force-app/main/default/staticresources/coveoheadless/definitions/app/thunk-extra-arguments.d.ts +9 -0
  113. package/force-app/main/default/staticresources/coveoheadless/definitions/case-assist.index.d.ts +2 -2
  114. package/force-app/main/default/staticresources/coveoheadless/definitions/commerce.index.d.ts +6 -6
  115. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/breadcrumb-manager/headless-breadcrumb-manager.d.ts +1 -1
  116. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/core/sort/headless-core-commerce-sort.d.ts +1 -1
  117. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/core/url-manager/headless-core-url-manager.d.ts +1 -1
  118. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/product-listing/headless-product-listing.d.ts +1 -1
  119. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/recommendations/headless-recommendations.d.ts +1 -1
  120. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/search/headless-search.d.ts +1 -1
  121. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/context/headless-core-context.d.ts +0 -1
  122. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/did-you-mean/headless-core-did-you-mean.d.ts +0 -1
  123. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/facet-manager/headless-core-facet-manager.d.ts +0 -1
  124. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/facets/category-facet/headless-core-category-facet.d.ts +0 -4
  125. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/facets/facet/headless-core-facet.d.ts +0 -5
  126. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/facets/range-facet/date-facet/headless-core-date-facet.d.ts +1 -5
  127. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/facets/range-facet/date-facet/headless-core-date-filter.d.ts +0 -1
  128. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/facets/range-facet/numeric-facet/headless-core-numeric-facet.d.ts +0 -1
  129. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/facets/range-facet/numeric-facet/headless-core-numeric-filter.d.ts +0 -1
  130. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/folded-result-list/headless-core-folded-result-list.d.ts +0 -1
  131. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/generated-answer/headless-core-generated-answer.d.ts +1 -25
  132. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/generated-answer/headless-searchapi-generated-answer.d.ts +2 -1
  133. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/pager/headless-core-pager.d.ts +0 -2
  134. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/query-error/headless-core-query-error.d.ts +0 -1
  135. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/recent-queries-list/headless-core-recent-queries-list.d.ts +0 -1
  136. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/result-list/headless-core-result-list.d.ts +0 -2
  137. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/results-per-page/headless-core-results-per-page.d.ts +0 -1
  138. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/sort/headless-core-sort.d.ts +0 -2
  139. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/status/headless-core-status.d.ts +0 -1
  140. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/tab/headless-core-tab.d.ts +0 -1
  141. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/triggers/headless-core-notify-trigger.d.ts +0 -1
  142. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/triggers/headless-core-query-trigger.d.ts +0 -1
  143. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/triggers/headless-core-redirection-trigger.d.ts +0 -1
  144. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/dictionary-field-context/headless-dictionary-field-context.d.ts +0 -1
  145. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/document-suggestion-list/case-assist-headless-interactive-result.d.ts +1 -1
  146. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/facets/automatic-facet-generator/headless-automatic-facet-generator.d.ts +0 -4
  147. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/facets/category-facet/headless-category-facet.d.ts +2 -0
  148. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/facets/facet/headless-facet.d.ts +2 -0
  149. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/field-suggestions/category-facet/headless-category-field-suggestions.d.ts +0 -1
  150. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/field-suggestions/facet/headless-field-suggestions.d.ts +1 -1
  151. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/generated-answer/headless-interactive-citation.d.ts +1 -1
  152. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/history-manager/headless-history-manager.d.ts +0 -1
  153. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/facet-conditions-manager/headless-facet-conditions-manager.d.ts +1 -1
  154. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/generated-answer/headless-insight-interactive-citation.d.ts +1 -1
  155. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/result-list/headless-insight-interactive-result.d.ts +1 -1
  156. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/results-per-page/headless-insight-results-per-page.d.ts +1 -1
  157. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/instant-results/instant-results.d.ts +1 -1
  158. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/knowledge/generated-answer/headless-answerapi-generated-answer.d.ts +2 -1
  159. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/knowledge/generated-answer/headless-generated-answer-with-follow-ups.d.ts +2 -1
  160. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/pager/headless-pager.d.ts +2 -0
  161. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/query-summary/headless-query-summary.d.ts +1 -1
  162. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/quickview/headless-quickview.d.ts +1 -2
  163. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/recent-results-list/headless-recent-results-list.d.ts +0 -1
  164. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/recommendation/headless-recommendation.d.ts +0 -1
  165. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/recommendation/result-list/headless-recommendation-interactive-result.d.ts +1 -1
  166. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/relevance-inspector/headless-relevance-inspector.d.ts +0 -1
  167. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/result-list/headless-interactive-result.d.ts +1 -1
  168. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/result-list/headless-result-list.d.ts +2 -0
  169. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/results-per-page/headless-results-per-page.d.ts +1 -1
  170. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/smart-snippet-questions-list/headless-smart-snippet-questions-list.d.ts +0 -1
  171. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/sort/headless-sort.d.ts +2 -0
  172. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/standalone-search-box/headless-standalone-search-box.d.ts +1 -1
  173. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/static-filter/headless-static-filter.d.ts +1 -2
  174. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/triggers/headless-execute-trigger.d.ts +0 -4
  175. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/url-manager/headless-url-manager.d.ts +0 -1
  176. package/force-app/main/default/staticresources/coveoheadless/definitions/features/analytics/analytics-utils.d.ts +1 -0
  177. package/force-app/main/default/staticresources/coveoheadless/definitions/features/attached-results/attached-results-analytics-actions.d.ts +4 -0
  178. package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/configuration/configuration-actions-loader.d.ts +1 -1
  179. package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/context/cart/cart-actions-loader.d.ts +1 -1
  180. package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/context/context-actions-loader.d.ts +1 -1
  181. package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/facets/category-facet/category-facet-actions-loader.d.ts +1 -1
  182. package/force-app/main/default/staticresources/coveoheadless/definitions/features/folding/insight-folding-actions.d.ts +1 -1
  183. package/force-app/main/default/staticresources/coveoheadless/definitions/features/generated-answer/generated-answer-analytics-client.d.ts +38 -0
  184. package/force-app/main/default/staticresources/coveoheadless/definitions/features/generated-answer/generated-answer-insight-analytics-actions.d.ts +2 -2
  185. package/force-app/main/default/staticresources/coveoheadless/definitions/features/insight-search/insight-query-set-actions-loader.d.ts +1 -1
  186. package/force-app/main/default/staticresources/coveoheadless/definitions/features/insight-search/insight-search-actions-loader.d.ts +1 -1
  187. package/force-app/main/default/staticresources/coveoheadless/definitions/features/query-set/query-set-actions-loader.d.ts +1 -1
  188. package/force-app/main/default/staticresources/coveoheadless/definitions/features/result/result-insight-analytics-actions.d.ts +1 -0
  189. package/force-app/main/default/staticresources/coveoheadless/definitions/index.d.ts +7 -7
  190. package/force-app/main/default/staticresources/coveoheadless/definitions/insight.index.d.ts +2 -2
  191. package/force-app/main/default/staticresources/coveoheadless/definitions/recommendation.index.d.ts +2 -2
  192. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/commerce/controllers/instant-products/headless-instant-products.ssr.d.ts +1 -1
  193. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/commerce/controllers/standalone-search-box/headless-standalone-search-box.ssr.d.ts +1 -1
  194. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-commerce-next.index.d.ts +4 -4
  195. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-commerce.index.d.ts +4 -4
  196. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/controllers/instant-products/headless-instant-products.ssr.d.ts +1 -1
  197. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/controllers/standalone-search-box/headless-standalone-search-box.ssr.d.ts +1 -1
  198. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/types/engine.d.ts +1 -1
  199. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next.index.d.ts +6 -6
  200. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr.index.d.ts +6 -6
  201. package/force-app/main/default/staticresources/coveoheadless/headless.js +17 -17
  202. package/force-app/main/default/staticresources/coveoheadless/insight/headless.js +16 -16
  203. package/force-app/main/default/staticresources/coveoheadless/recommendation/headless.js +16 -16
  204. package/package.json +4 -4
@@ -47,7 +47,7 @@ export interface FieldSuggestionsState {
47
47
  *
48
48
  * This controller is a wrapper around the basic facet controller search functionality, and thus exposes similar options and properties.
49
49
  *
50
- * Example: [field-suggestions.fn.tsx](https://github.com/coveo/ui-kit/blob/main/samples/headless/search-react/src/components/field-suggestions/specific-field/field-suggestions.fn.tsx)
50
+ * Example: [field-suggestions.tsx](https://github.com/coveo/ui-kit/blob/main/samples/headless/search-react/src/components/field-suggestions.tsx)
51
51
  *
52
52
  * @group Controllers
53
53
  * @category FieldSuggestions
@@ -1,6 +1,6 @@
1
1
  import type { SearchEngine } from '../../app/search-engine/search-engine.js';
2
2
  import { type InteractiveCitation, type InteractiveCitationOptions, type InteractiveCitationProps } from '../core/generated-answer/headless-core-interactive-citation.js';
3
- export type { InteractiveCitation, InteractiveCitationOptions, InteractiveCitationProps, };
3
+ export type { InteractiveCitation, InteractiveCitationOptions, InteractiveCitationProps };
4
4
  /**
5
5
  * Creates an `InteractiveCitation` controller instance.
6
6
  *
@@ -5,7 +5,6 @@ import { type Controller } from '../controller/headless-controller.js';
5
5
  /**
6
6
  * The `HistoryManager` controller is in charge of allowing navigating back and forward in the search interface history.
7
7
  *
8
- * Example: [history-manager.fn.tsx](https://github.com/coveo/ui-kit/blob/main/samples/headless/search-react/src/components/history-manager/history-manager.fn.tsx)
9
8
  *
10
9
  * @group Controllers
11
10
  * @category HistoryManager
@@ -1,6 +1,6 @@
1
1
  import type { InsightEngine } from '../../../app/insight-engine/insight-engine.js';
2
2
  import { type AnyFacetValuesCondition, type FacetConditionsManager, type FacetConditionsManagerProps } from '../../core/facets/facet-conditions-manager/headless-facet-conditions-manager.js';
3
- export type { AnyFacetValuesCondition, FacetConditionsManager, FacetConditionsManagerProps, };
3
+ export type { AnyFacetValuesCondition, FacetConditionsManager, FacetConditionsManagerProps };
4
4
  /**
5
5
  * Creates an insight `FacetConditionsManager` instance.
6
6
  *
@@ -1,6 +1,6 @@
1
1
  import type { InsightEngine } from '../../../app/insight-engine/insight-engine.js';
2
2
  import { type InteractiveCitation, type InteractiveCitationOptions, type InteractiveCitationProps } from '../../core/generated-answer/headless-core-interactive-citation.js';
3
- export type { InteractiveCitation, InteractiveCitationOptions, InteractiveCitationProps, };
3
+ export type { InteractiveCitation, InteractiveCitationOptions, InteractiveCitationProps };
4
4
  /**
5
5
  * Creates an insight `InteractiveCitation` controller instance.
6
6
  *
@@ -1,7 +1,7 @@
1
1
  import type { Result } from '../../../api/search/search/result.js';
2
2
  import type { InsightEngine } from '../../../app/insight-engine/insight-engine.js';
3
3
  import { type InteractiveResultCore, type InteractiveResultCoreOptions, type InteractiveResultCoreProps } from '../../core/interactive-result/headless-core-interactive-result.js';
4
- export type { InteractiveResultCore, InteractiveResultCoreOptions, InteractiveResultCoreProps, };
4
+ export type { InteractiveResultCore, InteractiveResultCoreOptions, InteractiveResultCoreProps };
5
5
  export interface InsightInteractiveResultOptions extends InteractiveResultCoreOptions {
6
6
  /**
7
7
  * The query result.
@@ -1,6 +1,6 @@
1
1
  import type { InsightEngine } from '../../../app/insight-engine/insight-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, ResultsPerPageInitialState, ResultsPerPageProps, ResultsPerPageState, };
3
+ export type { ResultsPerPage, ResultsPerPageInitialState, ResultsPerPageProps, ResultsPerPageState };
4
4
  /**
5
5
  * Creates an insight `ResultsPerPage` controller instance.
6
6
  *
@@ -11,7 +11,7 @@ export interface InstantResultProps {
11
11
  /**
12
12
  * The `InstantResults` controller allows the end user to manage instant results queries.
13
13
  *
14
- * Example: [instant-results.fn.tsx](https://github.com/coveo/ui-kit/blob/main/samples/headless/search-react/src/components/instant-results/instant-results.fn.tsx)
14
+ * Example: [search-box.tsx](https://github.com/coveo/ui-kit/blob/main/samples/headless/search-react/src/components/search-box.tsx)
15
15
  *
16
16
  * @group Controllers
17
17
  * @category InstantResults
@@ -1,7 +1,8 @@
1
1
  import type { InsightEngine } from '../../../app/insight-engine/insight-engine.js';
2
2
  import type { SearchEngine } from '../../../app/search-engine/search-engine.js';
3
3
  import type { GeneratedAnswerFeedback } from '../../../features/generated-answer/generated-answer-analytics-actions.js';
4
- import { type GeneratedAnswer, type GeneratedAnswerAnalyticsClient, type GeneratedAnswerProps } from '../../core/generated-answer/headless-core-generated-answer.js';
4
+ import { type GeneratedAnswer, type GeneratedAnswerProps } from '../../core/generated-answer/headless-core-generated-answer.js';
5
+ import type { GeneratedAnswerAnalyticsClient } from '../../../features/generated-answer/generated-answer-analytics-client.js';
5
6
  interface AnswerApiGeneratedAnswer extends Omit<GeneratedAnswer, 'sendFeedback'> {
6
7
  /**
7
8
  * Resets the last answer.
@@ -2,7 +2,8 @@ import type { InsightEngine } from '../../../app/insight-engine/insight-engine.j
2
2
  import type { SearchEngine } from '../../../app/search-engine/search-engine.js';
3
3
  import type { FollowUpAnswersState } from '../../../features/follow-up-answers/follow-up-answers-state.js';
4
4
  import type { GeneratedAnswerState } from '../../../index.js';
5
- import { type GeneratedAnswer, type GeneratedAnswerAnalyticsClient, type GeneratedAnswerProps } from '../../core/generated-answer/headless-core-generated-answer.js';
5
+ import { type GeneratedAnswer, type GeneratedAnswerProps } from '../../core/generated-answer/headless-core-generated-answer.js';
6
+ import type { GeneratedAnswerAnalyticsClient } from '../../../features/generated-answer/generated-answer-analytics-client.js';
6
7
  export interface GeneratedAnswerWithFollowUpsState extends GeneratedAnswerState {
7
8
  followUpAnswers: FollowUpAnswersState;
8
9
  }
@@ -8,6 +8,8 @@ export type { Pager, PagerInitialState, PagerOptions, PagerProps, PagerState };
8
8
  * @param props - The configurable `Pager` properties.
9
9
  * @returns A `Pager` controller instance.
10
10
  *
11
+ * Example: [pager.tsx](https://github.com/coveo/ui-kit/blob/main/samples/headless/search-react/src/components/pager.tsx)
12
+ *
11
13
  * @group Controllers
12
14
  * @category Pager
13
15
  * */
@@ -7,7 +7,7 @@ export type { QuerySummary, QuerySummaryState };
7
7
  * @param engine - The headless engine instance.
8
8
  * @returns A `QuerySummary` controller instance.
9
9
  *
10
- * Example: [query-summary.fn.tsx](https://github.com/coveo/ui-kit/blob/main/samples/headless/search-react/src/components/query-summary/query-summary.fn.tsx)
10
+ * Example: [query-summary.tsx](https://github.com/coveo/ui-kit/blob/main/samples/headless/search-react/src/components/query-summary.tsx)
11
11
  *
12
12
  * @group Controllers
13
13
  * @category QuerySummary
@@ -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 { CoreQuickview, CoreQuickviewState, QuickviewOptions, QuickviewProps, };
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
  *
@@ -24,7 +24,6 @@ export interface QuickviewState extends CoreQuickviewState {
24
24
  /**
25
25
  * The `Quickview` controller provides an interface for triggering desirable side effects, such as logging UA events to the Coveo Platform, when a user interacts with a quickview.
26
26
  *
27
- * Example: [quickview.fn.tsx](https://github.com/coveo/ui-kit/blob/main/samples/headless/search-react/src/components/quickview/quickview.fn.tsx)
28
27
  *
29
28
  * @group Controllers
30
29
  * @category Quickview
@@ -28,7 +28,6 @@ export interface RecentResultsListOptions {
28
28
  /**
29
29
  * The `RecentResultsList` controller manages a user's recently clicked results.
30
30
  *
31
- * Example: [recent-results.fn.tsx](https://github.com/coveo/ui-kit/blob/main/samples/headless/search-react/src/components/recent-results/recent-results.fn.tsx)
32
31
  *
33
32
  * @group Controllers
34
33
  * @category RecentResultsList
@@ -20,7 +20,6 @@ export interface RecommendationListProps {
20
20
  /**
21
21
  * The `RecommendationList` controller retrieves information about the current recommendations by the search API, if there are any.
22
22
  *
23
- * Example: [recommendation-list.fn.tsx](https://github.com/coveo/ui-kit/blob/main/samples/headless/search-react/src/components/recommendation-list/recommendation-list.fn.tsx)
24
23
  *
25
24
  * @group Controllers
26
25
  * @category RecommendationList
@@ -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 { InteractiveResultCore, InteractiveResultCoreOptions, InteractiveResultCoreProps, };
4
+ export type { InteractiveResultCore, InteractiveResultCoreOptions, InteractiveResultCoreProps };
5
5
  export interface RecommendationInteractiveResultOptions extends InteractiveResultCoreOptions {
6
6
  /**
7
7
  * The query result.
@@ -22,7 +22,6 @@ export interface RelevanceInspectorInitialState {
22
22
  /**
23
23
  * The `RelevanceInspector` controller is in charge of allowing displaying various debug information.
24
24
  *
25
- * Example: [relevance-inspector.fn.tsx](https://github.com/coveo/ui-kit/blob/main/samples/headless/search-react/src/components/relevance-inspector/relevance-inspector.fn.tsx)
26
25
  *
27
26
  * @group Controllers
28
27
  * @category RelevanceInspector
@@ -16,7 +16,7 @@ export interface InteractiveResultProps extends InteractiveResultCoreProps {
16
16
  /**
17
17
  * The `InteractiveResult` controller provides an interface for triggering desirable side effects, such as logging UA events to the Coveo Platform, when a user selects a query result.
18
18
  *
19
- * Example: [result-link.tsx](https://github.com/coveo/ui-kit/blob/main/samples/headless/search-react/src/components/result-list/result-link.tsx)
19
+ * Example: [result-link.tsx](https://github.com/coveo/ui-kit/blob/main/samples/headless/search-react/src/components/result-link.tsx)
20
20
  *
21
21
  * @group Controllers
22
22
  * @category InteractiveResult
@@ -8,6 +8,8 @@ export type { ResultList, ResultListOptions, ResultListProps, ResultListState };
8
8
  * @param props - The configurable `ResultList` properties.
9
9
  * @returns A `ResultList` controller instance.
10
10
  *
11
+ * Example: [result-list.tsx](https://github.com/coveo/ui-kit/blob/main/samples/headless/search-react/src/components/result-list.tsx)
12
+ *
11
13
  * @group Controllers
12
14
  * @category ResultList
13
15
  */
@@ -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, ResultsPerPageInitialState, ResultsPerPageProps, ResultsPerPageState, };
3
+ export type { ResultsPerPage, ResultsPerPageInitialState, ResultsPerPageProps, ResultsPerPageState };
4
4
  /**
5
5
  * Creates a `ResultsPerPage` controller instance.
6
6
  *
@@ -13,7 +13,6 @@ export interface SmartSnippetQuestionsListState extends CoreSmartSnippetQuestion
13
13
  /**
14
14
  * The `SmartSnippetQuestionsList` controller allows to manage additional queries for which a SmartSnippet model can provide relevant excerpts.
15
15
  *
16
- * Example: [smart-snippet-questions-list.fn.tsx](https://github.com/coveo/ui-kit/blob/main/samples/headless/search-react/src/components/smart-snippet-questions-list/smart-snippet-questions-list.fn.tsx)
17
16
  *
18
17
  * @group Controllers
19
18
  * @category SmartSnippetQuestionsList
@@ -8,6 +8,8 @@ export type { Sort, SortInitialState, SortProps, SortState };
8
8
  * @param props - The configurable `Sort` controller properties.
9
9
  * @returns A `Sort` controller instance.
10
10
  *
11
+ * Example: [sort.tsx](https://github.com/coveo/ui-kit/blob/main/samples/headless/search-react/src/components/sort.tsx)
12
+ *
11
13
  * @group Controllers
12
14
  * @category Sort
13
15
  */
@@ -10,7 +10,7 @@ export interface StandaloneSearchBoxProps {
10
10
  * The `StandaloneSearchBox` headless controller offers a high-level interface for designing a common search box UI controller.
11
11
  * Meant to be used for a search box that will redirect instead of executing a query.
12
12
  *
13
- * Example: [standalone-search-box.fn.tsx](https://github.com/coveo/ui-kit/blob/main/samples/headless/search-react/src/components/standalone-search-box/standalone-search-box.fn.tsx)
13
+ * Example: [layout.tsx](https://github.com/coveo/ui-kit/blob/main/samples/headless/commerce-react/src/layout/layout.tsx)
14
14
  *
15
15
  * @group Controllers
16
16
  * @category StandaloneSearchBox
@@ -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, StaticFilterValueOptions, StaticFilterValueState, };
5
+ export type { StaticFilterValue, StaticFilterValueOptions, StaticFilterValueState };
6
6
  export { buildStaticFilterValue };
7
7
  export interface StaticFilterProps {
8
8
  /**
@@ -23,7 +23,6 @@ export interface StaticFilterOptions {
23
23
  /**
24
24
  * The `StaticFilter` controller manages a collection of filter values.
25
25
  *
26
- * Example: [static-filter.fn.tsx](https://github.com/coveo/ui-kit/blob/main/samples/headless/search-react/src/components/static-filter/static-filter.fn.tsx)
27
26
  *
28
27
  * @group Controllers
29
28
  * @category StaticFilter
@@ -4,10 +4,6 @@ import { type Controller } from '../controller/headless-controller.js';
4
4
  /**
5
5
  * The `ExecuteTrigger` controller handles Execute triggers from the query response. An [Execute trigger](https://docs.coveo.com/en/3413#execute) query pipeline rule lets you define a custom JavaScript function to be executed in the frontend when a certain condition is met.
6
6
  *
7
- * Examples:
8
- * - [execute-trigger.tsx](https://github.com/coveo/ui-kit/blob/main/samples/headless/search-react/src/components/triggers/execute-trigger.tsx)
9
- * - [execute-trigger.class.tsx](https://github.com/coveo/ui-kit/blob/main/samples/headless/search-react/src/components/triggers/execute-trigger.class.tsx)
10
- *
11
7
  * @group Controllers
12
8
  * @category ExecuteTrigger
13
9
  */
@@ -18,7 +18,6 @@ export declare const initialStateSchema: Schema<Required<UrlManagerInitialState>
18
18
  /**
19
19
  * The `UrlManager` controller can parse an url fragment to extract search parameters which affect the search response.
20
20
  *
21
- * Example: [url-manager.ts](https://github.com/coveo/ui-kit/blob/main/samples/headless/search-react/src/components/url-manager/url-manager.ts)
22
21
  *
23
22
  * @group Controllers
24
23
  * @category UrlManager
@@ -21,6 +21,7 @@ type PreparableAnalyticsActionOptions<StateNeeded extends ConfigurationSection>
21
21
  preprocessRequest: PreprocessRequest | undefined;
22
22
  logger: Logger;
23
23
  getState(): StateNeeded;
24
+ disableBrowserPrivacySignals?: boolean;
24
25
  };
25
26
  export type AnalyticsAsyncThunk<StateNeeded extends ConfigurationSection = StateNeededBySearchAnalyticsProvider> = AsyncThunk<void, void, AsyncThunkAnalyticsOptions<StateNeeded>> & UnknownAction;
26
27
  export declare function makeBasicNewSearchAnalyticsAction(actionCause: string, getState: () => StateNeededBySearchAnalyticsProvider): {
@@ -47,6 +47,7 @@ export declare const logCaseAttach: (result: Result) => ((arg?: undefined, confi
47
47
  preprocessRequest: import("../../api/preprocess-request.js").PreprocessRequest | undefined;
48
48
  logger: import("pino").Logger;
49
49
  getState(): import("../../api/analytics/insight-analytics.js").StateNeededByInsightAnalyticsProvider;
50
+ disableBrowserPrivacySignals?: boolean;
50
51
  }) => Promise<{
51
52
  description?: import("coveo.analytics").EventDescription;
52
53
  action: import("../analytics/analytics-utils.js").AnalyticsAsyncThunk<import("../../api/analytics/insight-analytics.js").StateNeededByInsightAnalyticsProvider>;
@@ -99,6 +100,7 @@ export declare const logCaseDetach: (result: Result) => ((arg?: undefined, confi
99
100
  preprocessRequest: import("../../api/preprocess-request.js").PreprocessRequest | undefined;
100
101
  logger: import("pino").Logger;
101
102
  getState(): import("../../api/analytics/insight-analytics.js").StateNeededByInsightAnalyticsProvider;
103
+ disableBrowserPrivacySignals?: boolean;
102
104
  }) => Promise<{
103
105
  description?: import("coveo.analytics").EventDescription;
104
106
  action: import("../analytics/analytics-utils.js").AnalyticsAsyncThunk<import("../../api/analytics/insight-analytics.js").StateNeededByInsightAnalyticsProvider>;
@@ -151,6 +153,7 @@ export declare const logCitationDocumentAttach: (citation: GeneratedAnswerCitati
151
153
  preprocessRequest: import("../../api/preprocess-request.js").PreprocessRequest | undefined;
152
154
  logger: import("pino").Logger;
153
155
  getState(): import("../../api/analytics/insight-analytics.js").StateNeededByInsightAnalyticsProvider;
156
+ disableBrowserPrivacySignals?: boolean;
154
157
  }) => Promise<{
155
158
  description?: import("coveo.analytics").EventDescription;
156
159
  action: import("../analytics/analytics-utils.js").AnalyticsAsyncThunk<import("../../api/analytics/insight-analytics.js").StateNeededByInsightAnalyticsProvider>;
@@ -203,6 +206,7 @@ export declare const logCitationDocumentDetach: (citation: GeneratedAnswerCitati
203
206
  preprocessRequest: import("../../api/preprocess-request.js").PreprocessRequest | undefined;
204
207
  logger: import("pino").Logger;
205
208
  getState(): import("../../api/analytics/insight-analytics.js").StateNeededByInsightAnalyticsProvider;
209
+ disableBrowserPrivacySignals?: boolean;
206
210
  }) => Promise<{
207
211
  description?: import("coveo.analytics").EventDescription;
208
212
  action: import("../analytics/analytics-utils.js").AnalyticsAsyncThunk<import("../../api/analytics/insight-analytics.js").StateNeededByInsightAnalyticsProvider>;
@@ -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 UpdateAnalyticsConfigurationPayload, type UpdateBasicConfigurationPayload, type UpdateProxyBaseUrlPayload } from './configuration-actions.js';
4
- export type { UpdateAnalyticsConfigurationPayload, UpdateBasicConfigurationPayload, };
4
+ export type { UpdateAnalyticsConfigurationPayload, UpdateBasicConfigurationPayload };
5
5
  /**
6
6
  * The configuration 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, CommerceEngineState } from '../../../../app/commerce-engine/commerce-engine.js';
4
4
  import { type CartActionPayload, type PurchasePayload, type SetItemsPayload, type UpdateItemQuantityPayload } from './cart-actions.js';
5
- export type { CartActionPayload, PurchasePayload, SetItemsPayload, UpdateItemQuantityPayload, };
5
+ export type { CartActionPayload, PurchasePayload, SetItemsPayload, UpdateItemQuantityPayload };
6
6
  /**
7
7
  * The cart action creators.
8
8
  *
@@ -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 SetContextPayload, type SetCustomPayload, type SetLocationPayload, type SetViewPayload } from './context-actions.js';
4
- export type { SetContextPayload, SetCustomPayload, SetLocationPayload, SetViewPayload, };
4
+ export type { SetContextPayload, SetCustomPayload, SetLocationPayload, SetViewPayload };
5
5
  /**
6
6
  * The context 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 ToggleSelectCategoryFacetValuePayload, type UpdateCategoryFacetNumberOfValuesPayload } from './category-facet-actions.js';
4
- export type { ToggleSelectCategoryFacetValuePayload, UpdateCategoryFacetNumberOfValuesPayload, };
4
+ export type { ToggleSelectCategoryFacetValuePayload, UpdateCategoryFacetNumberOfValuesPayload };
5
5
  /**
6
6
  * The category facet action creators.
7
7
  *
@@ -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 { LoadCollectionFulfilledReturn, RegisterFoldingActionCreatorPayload, };
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, {
@@ -0,0 +1,38 @@
1
+ import type { CustomAction, LegacySearchAction } from '../analytics/analytics-utils.js';
2
+ import type { GeneratedAnswerFeedback } from './generated-answer-analytics-actions.js';
3
+ /**
4
+ * Defines the analytics actions that a `GeneratedAnswer` controller needs to log
5
+ * analytics events for generated answers.
6
+ *
7
+ * This interface is implemented separately for each use case (e.g., `generatedAnswerAnalyticsClient`
8
+ * for Search, `generatedAnswerInsightAnalyticsClient` for Insight), and the appropriate
9
+ * implementation is registered as a thunk extra argument at engine-build time.
10
+ *
11
+ * @group Controllers
12
+ * @category GeneratedAnswer
13
+ */
14
+ export interface GeneratedAnswerAnalyticsClient {
15
+ /** @deprecated */
16
+ logLikeGeneratedAnswer(): CustomAction;
17
+ logLikeGeneratedAnswer(answerId?: string): CustomAction;
18
+ /** @deprecated */
19
+ logDislikeGeneratedAnswer(): CustomAction;
20
+ logDislikeGeneratedAnswer(answerId?: string): CustomAction;
21
+ logGeneratedAnswerFeedback: (feedback: GeneratedAnswerFeedback) => CustomAction;
22
+ /** @deprecated */
23
+ logOpenGeneratedAnswerSource(citationId: string): CustomAction;
24
+ logOpenGeneratedAnswerSource(citationId: string, answerId?: string): CustomAction;
25
+ logOpenGeneratedAnswerFollowUpSource?(citationId: string, answerId: string): CustomAction;
26
+ /** @deprecated */
27
+ logHoverCitation(citationId: string, citationHoverTimeMs: number): CustomAction;
28
+ logHoverCitation(citationId: string, citationHoverTimeMs: number, answerId?: string): CustomAction;
29
+ logGeneratedAnswerShowAnswers: () => CustomAction;
30
+ logGeneratedAnswerHideAnswers: () => CustomAction;
31
+ /** @deprecated */
32
+ logCopyGeneratedAnswer(): CustomAction;
33
+ logCopyGeneratedAnswer(answerId?: string): CustomAction;
34
+ logRetryGeneratedAnswer: () => LegacySearchAction;
35
+ logGeneratedAnswerExpand: () => CustomAction;
36
+ logGeneratedAnswerCollapse: () => CustomAction;
37
+ logGeneratedAnswerStreamEnd(answerGenerated: boolean, answerId?: string, answerTextIsEmpty?: boolean): CustomAction;
38
+ }
@@ -6,7 +6,7 @@ export declare const logHoverCitation: (citationId: string, citationHoverTimeInM
6
6
  export declare const logLikeGeneratedAnswer: () => InsightAction;
7
7
  export declare const logDislikeGeneratedAnswer: () => InsightAction;
8
8
  export declare const logGeneratedAnswerFeedback: (feedback: GeneratedAnswerFeedback) => InsightAction;
9
- export declare const logGeneratedAnswerStreamEnd: (answerGenerated: boolean) => InsightAction;
9
+ export declare const logGeneratedAnswerStreamEnd: (answerGenerated: boolean, answerId?: string, answerTextIsEmpty?: boolean) => InsightAction;
10
10
  export declare const logGeneratedAnswerResponseLinked: () => InsightAction;
11
11
  export declare const logGeneratedAnswerShowAnswers: () => InsightAction;
12
12
  export declare const logGeneratedAnswerHideAnswers: () => InsightAction;
@@ -17,7 +17,7 @@ export declare const generatedAnswerInsightAnalyticsClient: {
17
17
  logCopyGeneratedAnswer: () => InsightAction;
18
18
  logGeneratedAnswerHideAnswers: () => InsightAction;
19
19
  logGeneratedAnswerShowAnswers: () => InsightAction;
20
- logGeneratedAnswerStreamEnd: (answerGenerated: boolean) => InsightAction;
20
+ logGeneratedAnswerStreamEnd: (answerGenerated: boolean, answerId?: string, answerTextIsEmpty?: boolean) => InsightAction;
21
21
  logGeneratedAnswerFeedback: (feedback: GeneratedAnswerFeedback) => InsightAction;
22
22
  logDislikeGeneratedAnswer: () => InsightAction;
23
23
  logLikeGeneratedAnswer: () => InsightAction;
@@ -1,7 +1,7 @@
1
1
  import type { PayloadAction } from '@reduxjs/toolkit';
2
2
  import type { InsightEngine } from '../../app/insight-engine/insight-engine.js';
3
3
  import { type RegisterQuerySetQueryActionCreatorPayload, type UpdateQuerySetQueryActionCreatorPayload } from '../query-set/query-set-actions.js';
4
- export type { RegisterQuerySetQueryActionCreatorPayload, UpdateQuerySetQueryActionCreatorPayload, };
4
+ export type { RegisterQuerySetQueryActionCreatorPayload, UpdateQuerySetQueryActionCreatorPayload };
5
5
  /**
6
6
  * The query set action creators.
7
7
  *
@@ -5,7 +5,7 @@ import type { InsightAction } from '../analytics/analytics-utils.js';
5
5
  import { type FetchQuerySuggestionsActionCreatorPayload, type FetchQuerySuggestionsThunkReturn, type RegisterQuerySuggestActionCreatorPayload } from '../query-suggest/query-suggest-actions.js';
6
6
  import type { ExecuteSearchThunkReturn } from '../search/legacy/search-actions.js';
7
7
  import { type StateNeededByExecuteSearch, type StateNeededByQuerySuggest } from './insight-search-actions.js';
8
- export type { FetchQuerySuggestionsActionCreatorPayload, RegisterQuerySuggestActionCreatorPayload, };
8
+ export type { FetchQuerySuggestionsActionCreatorPayload, RegisterQuerySuggestActionCreatorPayload };
9
9
  export interface InsightSearchActionCreators {
10
10
  /**
11
11
  * Creates an action that executes a search query.
@@ -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 RegisterQuerySetQueryActionCreatorPayload, type UpdateQuerySetQueryActionCreatorPayload } from './query-set-actions.js';
4
- export type { RegisterQuerySetQueryActionCreatorPayload, UpdateQuerySetQueryActionCreatorPayload, };
4
+ export type { RegisterQuerySetQueryActionCreatorPayload, UpdateQuerySetQueryActionCreatorPayload };
5
5
  /**
6
6
  * The query set action creators.
7
7
  *
@@ -46,6 +46,7 @@ export declare const logDocumentOpen: (result: Result) => ((arg?: undefined, con
46
46
  preprocessRequest: import("../../api/preprocess-request.js").PreprocessRequest | undefined;
47
47
  logger: import("pino").Logger;
48
48
  getState(): import("../../api/analytics/insight-analytics.js").StateNeededByInsightAnalyticsProvider;
49
+ disableBrowserPrivacySignals?: boolean;
49
50
  }) => Promise<{
50
51
  description?: import("coveo.analytics").EventDescription;
51
52
  action: import("../analytics/analytics-utils.js").AnalyticsAsyncThunk<import("../../api/analytics/insight-analytics.js").StateNeededByInsightAnalyticsProvider>;
@@ -29,7 +29,7 @@ export { buildBreadcrumbManager } from './controllers/breadcrumb-manager/headles
29
29
  export type { Context, ContextInitialState, ContextPayload, ContextProps, ContextState, ContextValue, } from './controllers/context/headless-context.js';
30
30
  export { buildContext } from './controllers/context/headless-context.js';
31
31
  export type { ErrorPayload } from './controllers/controller/error-payload.js';
32
- export type { Controller, Subscribable, } from './controllers/controller/headless-controller.js';
32
+ export type { Controller, Subscribable } from './controllers/controller/headless-controller.js';
33
33
  export { buildController } from './controllers/controller/headless-controller.js';
34
34
  export type { AnyFacetValuesCondition, FacetConditionsManager, } from './controllers/core/facets/facet-conditions-manager/headless-facet-conditions-manager.js';
35
35
  export { buildCoreFacetConditionsManager as buildFacetConditionsManager } from './controllers/core/facets/facet-conditions-manager/headless-facet-conditions-manager.js';
@@ -77,7 +77,7 @@ export type { InstantResultOptions, InstantResultProps, InstantResults, InstantR
77
77
  export { buildInstantResults } from './controllers/instant-results/instant-results.js';
78
78
  export type { Pager, PagerInitialState, PagerOptions, PagerProps, PagerState, } from './controllers/pager/headless-pager.js';
79
79
  export { buildPager } from './controllers/pager/headless-pager.js';
80
- export type { QueryError, QueryErrorState, } from './controllers/query-error/headless-query-error.js';
80
+ export type { QueryError, QueryErrorState } from './controllers/query-error/headless-query-error.js';
81
81
  export { buildQueryError } from './controllers/query-error/headless-query-error.js';
82
82
  export type { QuerySummary, QuerySummaryState, } from './controllers/query-summary/headless-query-summary.js';
83
83
  export { buildQuerySummary } from './controllers/query-summary/headless-query-summary.js';
@@ -116,7 +116,7 @@ export type { StaticFilter, StaticFilterOptions, StaticFilterProps, StaticFilter
116
116
  export { buildStaticFilter, buildStaticFilterValue, } from './controllers/static-filter/headless-static-filter.js';
117
117
  export type { Tab, TabInitialState, TabOptions, TabProps, TabState, } from './controllers/tab/headless-tab.js';
118
118
  export { buildTab } from './controllers/tab/headless-tab.js';
119
- export type { TabManager, TabManagerState, } from './controllers/tab-manager/headless-tab-manager.js';
119
+ export type { TabManager, TabManagerState } from './controllers/tab-manager/headless-tab-manager.js';
120
120
  export { buildTabManager } from './controllers/tab-manager/headless-tab-manager.js';
121
121
  export type { ExecuteTrigger, ExecuteTriggerState, } from './controllers/triggers/headless-execute-trigger.js';
122
122
  export { buildExecuteTrigger } from './controllers/triggers/headless-execute-trigger.js';
@@ -125,15 +125,15 @@ export { buildQueryTrigger } from './controllers/triggers/headless-query-trigger
125
125
  export { buildRedirectionTrigger } from './controllers/triggers/headless-redirection-trigger.js';
126
126
  export type { UrlManager, UrlManagerInitialState, UrlManagerProps, UrlManagerState, } from './controllers/url-manager/headless-url-manager.js';
127
127
  export { buildUrlManager } from './controllers/url-manager/headless-url-manager.js';
128
- export type { SearchAppState, SearchParametersState, } from './state/search-app-state.js';
128
+ export type { SearchAppState, SearchParametersState } from './state/search-app-state.js';
129
129
  export { getAnalyticsNextApiBaseUrl, getOrganizationEndpoint, getSearchApiBaseUrl, } from './api/platform-client.js';
130
130
  export { API_DATE_FORMAT } from './api/search/date/date-format.js';
131
131
  export type { RelativeDate, RelativeDatePeriod, RelativeDateUnit, } from './api/search/date/relative-date.js';
132
- export { deserializeRelativeDate, validateRelativeDate, } from './api/search/date/relative-date.js';
132
+ export { deserializeRelativeDate, validateRelativeDate } from './api/search/date/relative-date.js';
133
133
  export type { FieldDescription } from './api/search/fields/fields-response.js';
134
134
  export type { Raw } from './api/search/search/raw.js';
135
135
  export type { Result } from './api/search/search/result.js';
136
- export type { PhrasesToHighlight, TermsToHighlight, } from './api/search/search/stemming.js';
136
+ export type { PhrasesToHighlight, TermsToHighlight } from './api/search/search/stemming.js';
137
137
  export * from './features/actions-history/ipx-actions-history-actions-loader.js';
138
138
  export * from './features/advanced-search-queries/advanced-search-queries-actions-loader.js';
139
139
  export * from './features/analytics/click-analytics-actions-loader.js';
@@ -196,7 +196,7 @@ export * from './features/sort-criteria/sort-criteria-actions-loader.js';
196
196
  export * from './features/standalone-search-box-set/standalone-search-box-set-actions-loader.js';
197
197
  export * from './features/static-filter-set/static-filter-set-actions-loader.js';
198
198
  export * from './features/tab-set/tab-set-actions-loader.js';
199
- export type { Template, TemplatesManager, } from './features/templates/templates-manager.js';
199
+ export type { Template, TemplatesManager } from './features/templates/templates-manager.js';
200
200
  export type { FunctionExecutionTrigger } from './features/triggers/triggers-state.js';
201
201
  export type { HighlightKeyword } from './utils/highlight.js';
202
202
  export * from './utils/query-expression/query-expression.js';
@@ -16,7 +16,7 @@
16
16
  import * as HighlightUtils from './utils/highlight.js';
17
17
  export type { Relay } from '@coveo/relay';
18
18
  export type { Middleware, Unsubscribe } from '@reduxjs/toolkit';
19
- export { getAnalyticsNextApiBaseUrl, getOrganizationEndpoint, } from './api/platform-client.js';
19
+ export { getAnalyticsNextApiBaseUrl, getOrganizationEndpoint } from './api/platform-client.js';
20
20
  export type { RelativeDate, RelativeDatePeriod, RelativeDateUnit, } from './api/search/date/relative-date.js';
21
21
  export { deserializeRelativeDate } from './api/search/date/relative-date.js';
22
22
  export type { Raw } from './api/search/search/raw.js';
@@ -28,7 +28,7 @@ export type { InsightEngine, InsightEngineConfiguration, InsightEngineOptions, I
28
28
  export { buildInsightEngine, getSampleInsightEngineConfiguration, } from './app/insight-engine/insight-engine.js';
29
29
  export type { LoggerOptions, LogLevel } from './app/logger.js';
30
30
  export type { NavigatorContext } from './app/navigator-context-provider.js';
31
- export type { Controller, Subscribable, } from './controllers/controller/headless-controller.js';
31
+ export type { Controller, Subscribable } from './controllers/controller/headless-controller.js';
32
32
  export { buildController } from './controllers/controller/headless-controller.js';
33
33
  export type { AttachToCase, AttachToCaseOptions, AttachToCaseProps, } from './controllers/insight/attach-to-case/headless-attach-to-case.js';
34
34
  export { buildAttachToCase } from './controllers/insight/attach-to-case/headless-attach-to-case.js';
@@ -16,7 +16,7 @@
16
16
  import * as HighlightUtils from './utils/highlight.js';
17
17
  export type { Relay } from '@coveo/relay';
18
18
  export type { Middleware, Unsubscribe } from '@reduxjs/toolkit';
19
- export { getAnalyticsNextApiBaseUrl, getOrganizationEndpoint, } from './api/platform-client.js';
19
+ export { getAnalyticsNextApiBaseUrl, getOrganizationEndpoint } from './api/platform-client.js';
20
20
  export type { Raw } from './api/search/search/raw.js';
21
21
  export type { Result } from './api/search/search/result.js';
22
22
  export type { CoreEngine, ExternalEngineOptions } from './app/engine.js';
@@ -27,7 +27,7 @@ export type { RecommendationEngine, RecommendationEngineConfiguration, Recommend
27
27
  export { buildRecommendationEngine, getSampleRecommendationEngineConfiguration, } from './app/recommendation-engine/recommendation-engine.js';
28
28
  export type { Context, ContextInitialState, ContextPayload, ContextProps, ContextState, ContextValue, } from './controllers/context/headless-context.js';
29
29
  export { buildContext } from './controllers/context/headless-context.js';
30
- export type { Controller, Subscribable, } from './controllers/controller/headless-controller.js';
30
+ export type { Controller, Subscribable } from './controllers/controller/headless-controller.js';
31
31
  export { buildController } from './controllers/controller/headless-controller.js';
32
32
  export type { DictionaryFieldContext, DictionaryFieldContextPayload, DictionaryFieldContextState, } from './controllers/dictionary-field-context/headless-dictionary-field-context.js';
33
33
  export { buildDictionaryFieldContext } from './controllers/dictionary-field-context/headless-dictionary-field-context.js';
@@ -1,6 +1,6 @@
1
1
  import { type InstantProducts, type InstantProductsOptions, type InstantProductsProps, type InstantProductsState } from '../../../../controllers/commerce/instant-products/headless-instant-products.js';
2
2
  import type { NonRecommendationControllerDefinitionWithoutProps } from '../../types/controller-definitions.js';
3
- export type { InstantProducts, InstantProductsOptions, InstantProductsProps, InstantProductsState, };
3
+ export type { InstantProducts, InstantProductsOptions, InstantProductsProps, InstantProductsState };
4
4
  export interface InstantProductsDefinition extends NonRecommendationControllerDefinitionWithoutProps<InstantProducts> {
5
5
  }
6
6
  /**
@@ -1,7 +1,7 @@
1
1
  import { type StandaloneSearchBox, type StandaloneSearchBoxState } from '../../../../controllers/commerce/standalone-search-box/headless-standalone-search-box.js';
2
2
  import type { StandaloneSearchBoxProps } from '../../../../controllers/standalone-search-box/headless-standalone-search-box.js';
3
3
  import type { ListingAndStandaloneControllerWithoutProps } from '../../types/controller-definitions.js';
4
- export type { StandaloneSearchBox, StandaloneSearchBoxProps, StandaloneSearchBoxState, };
4
+ export type { StandaloneSearchBox, StandaloneSearchBoxProps, StandaloneSearchBoxState };
5
5
  export interface StandaloneSearchBoxDefinition extends ListingAndStandaloneControllerWithoutProps<StandaloneSearchBox> {
6
6
  }
7
7
  /**