@coveo/quantic 3.27.0-pre.e8e95b2dbe → 3.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/force-app/main/default/staticresources/coveoheadless/case-assist/headless.js +8 -8
  2. package/force-app/main/default/staticresources/coveoheadless/definitions/api/analytics/base-analytics.d.ts +0 -1
  3. package/force-app/main/default/staticresources/coveoheadless/definitions/api/analytics/coveo.analytics/history-store.d.ts +1 -5
  4. package/force-app/main/default/staticresources/coveoheadless/definitions/api/commerce/commerce-api-client.d.ts +2 -1
  5. package/force-app/main/default/staticresources/coveoheadless/definitions/api/commerce/commerce-api-params.d.ts +5 -4
  6. package/force-app/main/default/staticresources/coveoheadless/definitions/api/commerce/common/request.d.ts +11 -1
  7. package/force-app/main/default/staticresources/coveoheadless/definitions/api/commerce/recommendations/recommendations-request.d.ts +11 -1
  8. package/force-app/main/default/staticresources/coveoheadless/definitions/api/commerce/search/query-suggest/query-suggest-request.d.ts +11 -1
  9. package/force-app/main/default/staticresources/coveoheadless/definitions/api/commerce/search/query-suggest/query-suggest-response.d.ts +2 -3
  10. package/force-app/main/default/staticresources/coveoheadless/definitions/api/common/trigger.d.ts +0 -3
  11. package/force-app/main/default/staticresources/coveoheadless/definitions/api/generated-answer/generated-answer-client.d.ts +1 -1
  12. package/force-app/main/default/staticresources/coveoheadless/definitions/api/generated-answer/generated-answer-event-payload.d.ts +2 -1
  13. package/force-app/main/default/staticresources/coveoheadless/definitions/api/knowledge/stream-answer-api.d.ts +8 -0
  14. package/force-app/main/default/staticresources/coveoheadless/definitions/api/knowledge/tests/stream-answer-api-state-mock.d.ts +119 -1
  15. package/force-app/main/default/staticresources/coveoheadless/definitions/api/platform-client.d.ts +0 -1
  16. package/force-app/main/default/staticresources/coveoheadless/definitions/api/search/fields/fields-response.d.ts +0 -2
  17. package/force-app/main/default/staticresources/coveoheadless/definitions/api/search/search-api-params.d.ts +7 -20
  18. package/force-app/main/default/staticresources/coveoheadless/definitions/api/service/case-assist/case-assist-api-client.d.ts +4 -3
  19. package/force-app/main/default/staticresources/coveoheadless/definitions/api/service/case-assist/case-assist-params.d.ts +3 -2
  20. package/force-app/main/default/staticresources/coveoheadless/definitions/api/service/case-assist/get-case-classifications/get-case-classifications-request.d.ts +5 -1
  21. package/force-app/main/default/staticresources/coveoheadless/definitions/api/service/case-assist/get-document-suggestions/get-document-suggestions-request.d.ts +5 -1
  22. package/force-app/main/default/staticresources/coveoheadless/definitions/api/service/insight/get-interface/get-interface-config-response.d.ts +2 -2
  23. package/force-app/main/default/staticresources/coveoheadless/definitions/api/service/insight/insight-api-client.d.ts +5 -4
  24. package/force-app/main/default/staticresources/coveoheadless/definitions/api/service/insight/insight-params.d.ts +0 -1
  25. package/force-app/main/default/staticresources/coveoheadless/definitions/app/commerce-ssr-engine/types/common.d.ts +9 -12
  26. package/force-app/main/default/staticresources/coveoheadless/definitions/app/commerce-ssr-engine/types/core-engine.d.ts +4 -4
  27. package/force-app/main/default/staticresources/coveoheadless/definitions/app/commerce-ssr-engine/types/from-build-result.d.ts +2 -1
  28. package/force-app/main/default/staticresources/coveoheadless/definitions/app/search-engine/jwt-reducer.d.ts +0 -5
  29. package/force-app/main/default/staticresources/coveoheadless/definitions/app/ssr-engine/types/build.d.ts +2 -1
  30. package/force-app/main/default/staticresources/coveoheadless/definitions/app/ssr-engine/types/common.d.ts +3 -2
  31. package/force-app/main/default/staticresources/coveoheadless/definitions/app/ssr-engine/types/fetch-static-state.d.ts +2 -1
  32. package/force-app/main/default/staticresources/coveoheadless/definitions/app/ssr-engine/types/hydrate-static-state.d.ts +2 -1
  33. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/core/facets/generator/headless-commerce-facet-generator.ssr.d.ts +1 -1
  34. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/core/facets/headless-core-commerce-facet.d.ts +1 -2
  35. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/field-suggestions/headless-category-field-suggestions.d.ts +0 -1
  36. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/filter-suggestions/headless-category-filter-suggestions.d.ts +0 -1
  37. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/filter-suggestions/headless-filter-suggestions.d.ts +0 -1
  38. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/product-view/headless-product-view.ssr.d.ts +2 -1
  39. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/search-box/headless-search-box.d.ts +1 -2
  40. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/standalone-search-box/headless-standalone-search-box.ssr.d.ts +0 -1
  41. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/breadcrumb-manager/headless-core-breadcrumb-manager.d.ts +1 -1
  42. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/context/headless-context-reserved-keys.d.ts +1 -4
  43. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/context/headless-core-context.d.ts +0 -1
  44. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/did-you-mean/headless-core-did-you-mean.d.ts +2 -2
  45. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/facets/_common/facet-option-definitions.d.ts +0 -2
  46. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/facets/facet/headless-core-facet.d.ts +3 -3
  47. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/facets/range-facet/date-facet/headless-date-facet-options.d.ts +0 -2
  48. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/facets/range-facet/headless-core-range-facet.d.ts +7 -1
  49. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/facets/range-facet/numeric-facet/headless-core-numeric-facet.d.ts +1 -1
  50. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/facets/range-facet/numeric-facet/headless-numeric-facet-options.d.ts +0 -2
  51. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/folded-result-list/headless-core-folded-result-list.d.ts +1 -1
  52. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/generated-answer/headless-core-generated-answer.d.ts +0 -2
  53. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/generated-answer/headless-core-interactive-citation.d.ts +2 -1
  54. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/generated-answer/headless-searchapi-generated-answer.d.ts +2 -4
  55. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/search-box/headless-core-search-box-options.d.ts +0 -4
  56. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/search-parameter-manager/headless-core-search-parameter-manager.d.ts +0 -5
  57. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/smart-snippet/headless-core-smart-snippet.d.ts +0 -1
  58. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/smart-snippet-questions-list/headless-core-smart-snippet-questions-list.d.ts +0 -1
  59. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/triggers/headless-core-notify-trigger.d.ts +3 -2
  60. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/facets/automatic-facet/headless-automatic-facet.d.ts +2 -1
  61. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/facets/category-facet/headless-category-facet.d.ts +1 -2
  62. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/facets/category-facet/headless-insight-category-facet.d.ts +0 -2
  63. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/facets/range-facet/numeric-facet/headless-insight-numeric-facet.d.ts +1 -2
  64. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/generated-answer/headless-insight-generated-answer.d.ts +1 -3
  65. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/smart-snippet/headless-insight-smart-snippet-interactive-inline-links.d.ts +4 -3
  66. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/smart-snippet-questions-list/headless-insight-smart-snippet-interactive-questions.d.ts +4 -3
  67. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/smart-snippet-questions-list/headless-insight-smart-snippet-questions-list.d.ts +0 -1
  68. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/instant-results/instant-results-options.d.ts +1 -6
  69. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/knowledge/generated-answer/headless-answerapi-generated-answer.d.ts +2 -2
  70. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/recent-queries-list/headless-recent-queries-list.d.ts +0 -1
  71. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/recent-results-list/headless-recent-results-list.d.ts +0 -1
  72. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/smart-snippet/headless-smart-snippet-interactive-inline-links.d.ts +4 -3
  73. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/smart-snippet-questions-list/headless-smart-snippet-interactive-questions.d.ts +4 -3
  74. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/smart-snippet-questions-list/headless-smart-snippet-questions-list.d.ts +0 -1
  75. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/tab-manager/headless-tab-manager.ssr.d.ts +1 -1
  76. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/triggers/headless-notify-trigger.d.ts +1 -2
  77. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/triggers/headless-notify-trigger.ssr.d.ts +0 -1
  78. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/triggers/headless-redirection-trigger.ssr.d.ts +0 -1
  79. package/force-app/main/default/staticresources/coveoheadless/definitions/features/advanced-search-queries/advanced-search-queries-state.d.ts +3 -2
  80. package/force-app/main/default/staticresources/coveoheadless/definitions/features/analytics/analytics-actions.d.ts +0 -33
  81. package/force-app/main/default/staticresources/coveoheadless/definitions/features/analytics/analytics-utils.d.ts +11 -17
  82. package/force-app/main/default/staticresources/coveoheadless/definitions/features/analytics/legacy-search-action-cause.d.ts +1 -6
  83. package/force-app/main/default/staticresources/coveoheadless/definitions/features/attached-results/attached-results-actions.d.ts +3 -2
  84. package/force-app/main/default/staticresources/coveoheadless/definitions/features/attached-results/attached-results-analytics-actions.d.ts +104 -2
  85. package/force-app/main/default/staticresources/coveoheadless/definitions/features/case-assist-configuration/case-assist-configuration-actions.d.ts +2 -1
  86. package/force-app/main/default/staticresources/coveoheadless/definitions/features/case-field/case-field-actions.d.ts +0 -2
  87. package/force-app/main/default/staticresources/coveoheadless/definitions/features/case-field/case-field-state.d.ts +3 -2
  88. package/force-app/main/default/staticresources/coveoheadless/definitions/features/case-input/case-input-state.d.ts +2 -1
  89. package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/facets/facet-search-set/commerce-facet-search-actions.d.ts +0 -3
  90. package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/facets/facet-set/facet-set-reducers.d.ts +0 -1
  91. package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/facets/facet-set/interfaces/request.d.ts +2 -6
  92. package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/facets/facet-set/interfaces/response.d.ts +2 -2
  93. package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/facets/numeric-facet/manual-numeric-facet-state.d.ts +2 -1
  94. package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/pagination/pagination-actions.d.ts +0 -3
  95. package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/parameters/parameters-selectors.d.ts +0 -1
  96. package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/parameters/parameters-serializer.ssr.d.ts +1 -23
  97. package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/product-listing/product-listing-actions.d.ts +0 -4
  98. package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/product-templates/product-templates-helpers.d.ts +0 -33
  99. package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/recent-queries/recent-queries-actions.d.ts +0 -1
  100. package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/recommendations/recommendations-actions.d.ts +2 -7
  101. package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/search/search-actions.d.ts +3 -6
  102. package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/search/search-selectors.d.ts +0 -21
  103. package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/standalone-search-box-set/plan-request-builder.d.ts +2 -1
  104. package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/standalone-search-box-set/standalone-search-box-set-actions.d.ts +2 -1
  105. package/force-app/main/default/staticresources/coveoheadless/definitions/features/configuration/configuration-state.d.ts +1 -1
  106. package/force-app/main/default/staticresources/coveoheadless/definitions/features/debug/ranking-info-parser.d.ts +1 -1
  107. package/force-app/main/default/staticresources/coveoheadless/definitions/features/document-suggestion/document-suggestion-state.d.ts +2 -1
  108. package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/category-facet-set/category-facet-validate-payload.d.ts +0 -9
  109. package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/facet-set/facet-set-insight-analytics-actions.d.ts +3 -2
  110. package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/facet-set/facet-set-insight-utils.d.ts +0 -1
  111. package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/generic/facet-reducer-helpers.d.ts +2 -1
  112. package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/range-facets/date-facet-set/interfaces/response.d.ts +3 -2
  113. package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/range-facets/generic/interfaces/options.d.ts +0 -1
  114. package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/range-facets/generic/interfaces/range-facet.d.ts +0 -3
  115. package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/range-facets/generic/interfaces/request.d.ts +1 -11
  116. package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/range-facets/generic/range-facet-utils.d.ts +0 -1
  117. package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/range-facets/numeric-facet-set/interfaces/response.d.ts +3 -2
  118. package/force-app/main/default/staticresources/coveoheadless/definitions/features/folding/folding-analytics-actions.d.ts +0 -1
  119. package/force-app/main/default/staticresources/coveoheadless/definitions/features/generated-answer/generated-answer-selectors.d.ts +0 -33
  120. package/force-app/main/default/staticresources/coveoheadless/definitions/features/insight-configuration/insight-configuration-actions.d.ts +2 -1
  121. package/force-app/main/default/staticresources/coveoheadless/definitions/features/insight-search/insight-search-actions.d.ts +1 -1
  122. package/force-app/main/default/staticresources/coveoheadless/definitions/features/insight-user-actions/insight-user-actions-actions.d.ts +0 -1
  123. package/force-app/main/default/staticresources/coveoheadless/definitions/features/insight-user-actions/insight-user-actions-preprocessing.d.ts +2 -1
  124. package/force-app/main/default/staticresources/coveoheadless/definitions/features/instant-results/instant-results-actions.d.ts +0 -3
  125. package/force-app/main/default/staticresources/coveoheadless/definitions/features/query-suggest/query-suggest-actions.d.ts +0 -6
  126. package/force-app/main/default/staticresources/coveoheadless/definitions/features/result/result-insight-analytics-actions.d.ts +52 -1
  127. package/force-app/main/default/staticresources/coveoheadless/definitions/features/search/legacy/search-actions-thunk-processor.d.ts +1 -1
  128. package/force-app/main/default/staticresources/coveoheadless/definitions/features/search/legacy/search-actions.d.ts +0 -82
  129. package/force-app/main/default/staticresources/coveoheadless/definitions/features/search/legacy/search-request.d.ts +8 -1
  130. package/force-app/main/default/staticresources/coveoheadless/definitions/features/search/search-actions-thunk-processor.d.ts +3 -3
  131. package/force-app/main/default/staticresources/coveoheadless/definitions/features/search/search-actions.d.ts +0 -65
  132. package/force-app/main/default/staticresources/coveoheadless/definitions/features/search/search-request.d.ts +8 -1
  133. package/force-app/main/default/staticresources/coveoheadless/definitions/features/search-parameters/search-parameter-actions.d.ts +0 -4
  134. package/force-app/main/default/staticresources/coveoheadless/definitions/features/search-parameters/search-parameter-serializer.d.ts +0 -2
  135. package/force-app/main/default/staticresources/coveoheadless/definitions/features/sort/sort.d.ts +0 -3
  136. package/force-app/main/default/staticresources/coveoheadless/definitions/features/standalone-search-box-set/standalone-search-box-set-actions.d.ts +2 -1
  137. package/force-app/main/default/staticresources/coveoheadless/definitions/features/templates/templates-manager.d.ts +0 -7
  138. package/force-app/main/default/staticresources/coveoheadless/definitions/index.d.ts +2 -0
  139. package/force-app/main/default/staticresources/coveoheadless/definitions/insight.index.d.ts +1 -1
  140. package/force-app/main/default/staticresources/coveoheadless/definitions/state/insight-app-state.d.ts +2 -1
  141. package/force-app/main/default/staticresources/coveoheadless/definitions/state/state-sections.d.ts +0 -7
  142. package/force-app/main/default/staticresources/coveoheadless/definitions/test/mock-commerce-api-request.d.ts +1 -2
  143. package/force-app/main/default/staticresources/coveoheadless/definitions/test/mock-engine-v2.d.ts +0 -8
  144. package/force-app/main/default/staticresources/coveoheadless/definitions/test/mock-search-request.d.ts +8 -1
  145. package/force-app/main/default/staticresources/coveoheadless/definitions/utils/fetch-event-source/fetch.d.ts +2 -2
  146. package/force-app/main/default/staticresources/coveoheadless/definitions/utils/url-utils.d.ts +2 -1
  147. package/force-app/main/default/staticresources/coveoheadless/definitions/utils/utils.d.ts +0 -1
  148. package/force-app/main/default/staticresources/coveoheadless/headless.js +10 -10
  149. package/force-app/main/default/staticresources/coveoheadless/insight/headless.js +9 -9
  150. package/force-app/main/default/staticresources/coveoheadless/recommendation/headless.js +7 -7
  151. package/package.json +6 -7
  152. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/core/sub-controller/headless-sub-controller.ssr.d.ts +0 -7
  153. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/product-listing/utils/load-product-listing-reducers.d.ts +0 -3
  154. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/search/utils/load-search-reducers.d.ts +0 -3
  155. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/context/example-deleteme-headless-case-context.d.ts +0 -32
  156. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/context/headless-core-internal-context.d.ts +0 -31
  157. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/context/headless-strict-context-factory.d.ts +0 -13
  158. package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/range-facets/generic/interfaces/response.d.ts +0 -6
  159. package/force-app/main/default/staticresources/coveoheadless/definitions/features/sort/sort-actions-loader.d.ts +0 -35
  160. package/force-app/main/default/staticresources/coveoheadless/definitions/features/sort/sort-actions.d.ts +0 -3
  161. package/force-app/main/default/staticresources/coveoheadless/definitions/features/sort/sort-slice.d.ts +0 -3
  162. package/force-app/main/default/staticresources/coveoheadless/definitions/features/sort/sort-state.d.ts +0 -3
  163. package/force-app/main/default/staticresources/coveoheadless/definitions/test/mock-insight-api-client.d.ts +0 -2
  164. package/force-app/main/default/staticresources/coveoheadless/definitions/utils/fetch-event-source/index.d.ts +0 -2
@@ -1,38 +1,5 @@
1
1
  import type { ChildProduct, Product } from '../../../api/commerce/common/product.js';
2
2
  import type { ProductTemplateCondition } from './product-templates-manager.js';
3
- /**
4
- * Extracts a property from a product object.
5
- * @param product (Product) - The target product.
6
- * @param property (string) - The property to extract.
7
- * @returns (unknown) The value of the specified property in the specified product, or null if the property does not exist.
8
- */
9
- export declare const getProductProperty: (product: Product | ChildProduct, property: string) => {} | null;
10
- /**
11
- * Creates a condition that verifies if the specified fields are defined.
12
- * @param fieldNames (string[]) - A list of fields that must be defined.
13
- * @returns (ProductTemplateCondition) A function that takes a product and checks if every field in the specified list is defined.
14
- */
15
- export declare const fieldsMustBeDefined: (fieldNames: string[]) => ProductTemplateCondition;
16
- /**
17
- * Creates a condition that verifies if the specified fields are not defined.
18
- * @param fieldNames (string[]) - A list of fields that must not be defined.
19
- * @returns (ProductTemplateCondition) A function that takes a product and checks if every field in the specified list is not defined.
20
- */
21
- export declare const fieldsMustNotBeDefined: (fieldNames: string[]) => ProductTemplateCondition;
22
- /**
23
- * Creates a condition that verifies whether the value of a field is equal to any of the specified values (casing insensitive).
24
- * @param fieldName (string) - The name of the field to evaluate the condition against.
25
- * @param allowedValues (string[]) - The list of values that the field value can be equal to in order for the condition to evaluate to "true" (case insensitive).
26
- * @returns (ProductTemplateCondition) - A function that takes a Product as an argument and returns "true" if the value for the specified field is equal to any of the values in the specified list (case insensitive), and "false" otherwise.
27
- */
28
- export declare const fieldMustMatch: (fieldName: string, valuesToMatch: string[]) => ProductTemplateCondition;
29
- /**
30
- * Creates a condition that verifies whether the value of a field is not equal to any of the specified values (case insensitive).
31
- * @param fieldName (string) - The name of the field to evaluate the condition against.
32
- * @param disallowedValues (string[]) - The list of values that the field value must not be equal to in order for the condition to evaluate to "true" (case insensitive).
33
- * @returns (ProductTemplateCondition) A function that takes a Product as an argument and returns "true" if the value for the specified field is not equal to any of the values in the given list (case insensitive), or "false" otherwise.
34
- */
35
- export declare const fieldMustNotMatch: (fieldName: string, disallowedValues: string[]) => ProductTemplateCondition;
36
3
  export declare const ProductTemplatesHelpers: {
37
4
  getProductProperty: (product: Product | ChildProduct, property: string) => {} | null;
38
5
  fieldsMustBeDefined: (fieldNames: string[]) => ProductTemplateCondition;
@@ -1,4 +1,3 @@
1
1
  import { type RegisterRecentQueriesCreatorPayload } from '../../recent-queries/recent-queries-actions.js';
2
2
  export declare const clearRecentQueries: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"commerce/recentQueries/clear">;
3
- export type RegisterRecentQueriesPayload = RegisterRecentQueriesCreatorPayload;
4
3
  export declare const registerRecentQueries: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: RegisterRecentQueriesCreatorPayload], RegisterRecentQueriesCreatorPayload, "commerce/recentQueries/register", never, never>;
@@ -1,4 +1,3 @@
1
- import { RecordValue, StringValue } from '@coveo/bueno';
2
1
  import type { ChildProduct } from '../../../api/commerce/common/product.js';
3
2
  import type { RecommendationsCommerceSuccessResponse } from '../../../api/commerce/recommendations/recommendations-response.js';
4
3
  import type { RecommendationsSection } from '../../../state/state-sections.js';
@@ -36,7 +35,7 @@ export declare const fetchMoreRecommendations: import("@reduxjs/toolkit").AsyncT
36
35
  fulfilledMeta?: unknown;
37
36
  rejectedMeta?: unknown;
38
37
  }>;
39
- export interface SlotIdPayload {
38
+ interface SlotIdPayload {
40
39
  slotId: string;
41
40
  productId?: string;
42
41
  }
@@ -45,9 +44,5 @@ export declare const registerRecommendationsSlot: import("@reduxjs/toolkit").Act
45
44
  export interface PromoteChildToParentPayload extends SlotIdPayload {
46
45
  child: ChildProduct;
47
46
  }
48
- export declare const promoteChildToParentDefinition: {
49
- slotId: StringValue<string>;
50
- productId: StringValue<string>;
51
- child: RecordValue;
52
- };
53
47
  export declare const promoteChildToParent: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: PromoteChildToParentPayload], PromoteChildToParentPayload, "commerce/recommendations/promoteChildToParent", never, never>;
48
+ export {};
@@ -1,4 +1,3 @@
1
- import { RecordValue } from '@coveo/bueno';
2
1
  import type { ChildProduct } from '../../../api/commerce/common/product.js';
3
2
  import type { SearchCommerceSuccessResponse } from '../../../api/commerce/search/response.js';
4
3
  import { type UpdateQueryPayload } from '../query/query-actions.js';
@@ -18,7 +17,7 @@ export interface PrepareForSearchWithQueryOptions {
18
17
  */
19
18
  clearFilters: boolean;
20
19
  }
21
- export interface FetchInstantProductsPayload {
20
+ interface FetchInstantProductsPayload {
22
21
  /**
23
22
  * The search box ID.
24
23
  */
@@ -32,7 +31,7 @@ export interface FetchInstantProductsPayload {
32
31
  */
33
32
  cacheTimeout?: number;
34
33
  }
35
- export interface FetchInstantProductsThunkReturn {
34
+ interface FetchInstantProductsThunkReturn {
36
35
  /** The successful response. */
37
36
  response: SearchCommerceSuccessResponse;
38
37
  }
@@ -80,7 +79,5 @@ export declare const fetchInstantProducts: import("@reduxjs/toolkit").AsyncThunk
80
79
  export interface PromoteChildToParentPayload {
81
80
  child: ChildProduct;
82
81
  }
83
- export declare const promoteChildToParentDefinition: {
84
- child: RecordValue;
85
- };
86
82
  export declare const promoteChildToParent: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: PromoteChildToParentPayload], PromoteChildToParentPayload, "commerce/search/promoteChildToParent", never, never>;
83
+ export {};
@@ -218,27 +218,6 @@ export declare const querySelector: ((state: CommerceQuerySection) => string) &
218
218
  argsMemoize: typeof import("reselect").weakMapMemoize;
219
219
  memoize: typeof import("reselect").weakMapMemoize;
220
220
  };
221
- export declare const queryExecutedSelector: ((state: CommerceSearchSection) => string) & {
222
- clearCache: () => void;
223
- resultsCount: () => number;
224
- resetResultsCount: () => void;
225
- } & {
226
- resultFunc: (resultFuncArgs_0: string) => string;
227
- memoizedResultFunc: ((resultFuncArgs_0: string) => string) & {
228
- clearCache: () => void;
229
- resultsCount: () => number;
230
- resetResultsCount: () => void;
231
- };
232
- lastResult: () => string;
233
- dependencies: [(state: CommerceSearchSection) => string];
234
- recomputations: () => number;
235
- resetRecomputations: () => void;
236
- dependencyRecomputations: () => number;
237
- resetDependencyRecomputations: () => void;
238
- } & {
239
- argsMemoize: typeof import("reselect").weakMapMemoize;
240
- memoize: typeof import("reselect").weakMapMemoize;
241
- };
242
221
  export declare const queryExecutedFromResponseSelector: (state: CommerceQuerySection, response: SearchCommerceSuccessResponse) => string;
243
222
  export declare const activeParametersSelector: (state: CommerceEngine[typeof stateKey]) => CommerceSearchParameters;
244
223
  export declare function enrichedSummarySelector(state: CommerceEngineState): {
@@ -4,5 +4,6 @@ import type { NavigatorContext } from '../../../app/navigator-context-provider.j
4
4
  import type { CommerceQuerySection } from '../../../state/state-sections.js';
5
5
  import { type StateNeededForBaseCommerceAPIRequest } from '../common/base-commerce-api-request-builder.js';
6
6
  export type StateNeededForPlanCommerceAPIRequest = StateNeededForBaseCommerceAPIRequest & CommerceQuerySection;
7
- export type CommercePlanRequest = BaseCommerceAPIRequest & QueryParam & PageParam & PerPageParam;
7
+ type CommercePlanRequest = BaseCommerceAPIRequest & QueryParam & PageParam & PerPageParam;
8
8
  export declare const buildPlanRequest: (state: StateNeededForPlanCommerceAPIRequest, navigatorContext: NavigatorContext) => CommercePlanRequest;
9
+ export {};
@@ -29,7 +29,7 @@ export interface RegisterStandaloneSearchBoxPayload {
29
29
  */
30
30
  overwrite?: boolean;
31
31
  }
32
- export interface UpdateStandaloneSearchBoxPayload {
32
+ interface UpdateStandaloneSearchBoxPayload {
33
33
  /**
34
34
  * The standalone search box id.
35
35
  */
@@ -48,3 +48,4 @@ export interface ResetStandaloneSearchBoxPayload {
48
48
  id: string;
49
49
  }
50
50
  export declare const resetStandaloneSearchBox: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: ResetStandaloneSearchBoxPayload], ResetStandaloneSearchBoxPayload, "commerce/standaloneSearchBox/reset", never, never>;
51
+ export {};
@@ -33,7 +33,7 @@ export interface ConfigurationState extends CoreConfigurationState<AnalyticsStat
33
33
  */
34
34
  knowledge: KnowledgeState;
35
35
  }
36
- export interface SearchState {
36
+ interface SearchState {
37
37
  /**
38
38
  * The Search API base URL to use.
39
39
  *
@@ -70,7 +70,7 @@ export interface QueryRankingExpressionWeights {
70
70
  score: number;
71
71
  }
72
72
  export type TermWeightReport = Record<string, StemmedTermInformation>;
73
- export interface StemmedTermInformation {
73
+ interface StemmedTermInformation {
74
74
  Weights: TermWeights | null;
75
75
  terms: Record<string, TermWeightsPerDocument>;
76
76
  }
@@ -1,7 +1,7 @@
1
1
  import type { CaseAssistAPIErrorStatusResponse } from '../../api/service/case-assist/case-assist-api-client.js';
2
2
  import type { DocumentSuggestionResponse } from '../../api/service/case-assist/get-document-suggestions/get-document-suggestions-response.js';
3
3
  export declare const getDocumentSuggestionInitialState: () => DocumentSuggestionState;
4
- export interface DocumentSuggestionStatus {
4
+ interface DocumentSuggestionStatus {
5
5
  /**
6
6
  * `true` if a request is in progress and `false` otherwise.
7
7
  */
@@ -25,3 +25,4 @@ export interface DocumentSuggestionState {
25
25
  */
26
26
  documents: DocumentSuggestionResponse[];
27
27
  }
28
+ export {};
@@ -1,11 +1,2 @@
1
- import { ArrayValue, BooleanValue, NumberValue, StringValue, Value } from '@coveo/bueno';
2
- import type { FacetValueState } from '../facet-api/value.js';
3
1
  import type { CategoryFacetValue } from './interfaces/response.js';
4
- export declare const categoryFacetValueDefinition: {
5
- state: Value<FacetValueState>;
6
- numberOfResults: NumberValue;
7
- value: StringValue<string>;
8
- path: ArrayValue<import("@coveo/bueno").PrimitivesValues>;
9
- moreValuesAvailable: BooleanValue;
10
- };
11
2
  export declare function validateCategoryFacetValue(payload: CategoryFacetValue): void;
@@ -16,7 +16,7 @@ export interface LogFacetUpdateSortActionCreatorPayload {
16
16
  }
17
17
  export declare const logFacetUpdateSort: (payload: LogFacetUpdateSortActionCreatorPayload) => InsightAction;
18
18
  export declare const logFacetClearAll: (facetId: string) => InsightAction;
19
- export interface LogFacetSelectActionCreatorPayload {
19
+ interface LogFacetSelectActionCreatorPayload {
20
20
  /**
21
21
  * The facet id.
22
22
  */
@@ -27,7 +27,7 @@ export interface LogFacetSelectActionCreatorPayload {
27
27
  facetValue: string;
28
28
  }
29
29
  export declare const logFacetSelect: (payload: LogFacetSelectActionCreatorPayload) => InsightAction;
30
- export interface LogFacetDeselectActionCreatorPayload {
30
+ interface LogFacetDeselectActionCreatorPayload {
31
31
  /**
32
32
  * The facet id.
33
33
  */
@@ -39,3 +39,4 @@ export interface LogFacetDeselectActionCreatorPayload {
39
39
  }
40
40
  export declare const logFacetDeselect: (payload: LogFacetDeselectActionCreatorPayload) => InsightAction;
41
41
  export declare const logFacetBreadcrumb: (payload: LogFacetBreadcrumbActionCreatorPayload) => InsightAction;
42
+ export {};
@@ -1,3 +1,2 @@
1
1
  import type { FacetValue } from './interfaces/response.js';
2
- export declare const isFacetValueSelected: (value: FacetValue) => boolean;
3
2
  export declare const getInsightAnalyticsActionForToggleFacetSelect: (facetId: string, selection: FacetValue) => import("../../analytics/analytics-utils.js").InsightAction;
@@ -2,10 +2,11 @@ import type { AnyFacetRequest as AnyCommerceFacetRequest } from '../../commerce/
2
2
  import type { FacetRequest } from '../facet-set/interfaces/request.js';
3
3
  import type { AnyFacetRequest } from './interfaces/generic-facet-request.js';
4
4
  import type { AnyFacetSlice } from './interfaces/generic-facet-section.js';
5
- export type SpecificFacetState<SliceType extends AnyFacetSlice = AnyFacetSlice> = Record<string, SliceType>;
5
+ type SpecificFacetState<SliceType extends AnyFacetSlice = AnyFacetSlice> = Record<string, SliceType>;
6
6
  export declare function handleFacetSortCriterionUpdate<T extends AnyFacetSlice>(state: SpecificFacetState<T>, payload: {
7
7
  facetId: string;
8
8
  criterion: T['request']['sortCriteria'];
9
9
  }): void;
10
10
  export declare function handleFacetDeselectAll(facetRequest: FacetRequest): void;
11
11
  export declare function handleFacetUpdateNumberOfValues<T extends AnyFacetRequest | AnyCommerceFacetRequest>(facetRequest: T | undefined, numberOfValues: number): void;
12
+ export {};
@@ -3,7 +3,7 @@ import type { FacetValueState } from '../../../facet-api/value.js';
3
3
  /**
4
4
  * The domain of a date facet.
5
5
  */
6
- export interface DateFacetDomain {
6
+ type DateFacetDomain = {
7
7
  /**
8
8
  * The most recent date available value in the range.
9
9
  */
@@ -12,7 +12,7 @@ export interface DateFacetDomain {
12
12
  * The least recent date available value in the range.
13
13
  */
14
14
  start: string;
15
- }
15
+ };
16
16
  export interface DateFacetValue {
17
17
  /**
18
18
  * The number of results that have the facet value.
@@ -38,3 +38,4 @@ export interface DateFacetValue {
38
38
  export type DateFacetResponse = BaseFacetResponse<DateFacetValue> & {
39
39
  domain: DateFacetDomain;
40
40
  };
41
+ export {};
@@ -2,6 +2,5 @@ import type { RangeFacetRequest } from './range-facet.js';
2
2
  import type { AutomaticRanges } from './request.js';
3
3
  type RangeFacetRequiredParameters = Pick<RangeFacetRequest, 'facetId' | 'field'>;
4
4
  export type RangeFacetOptionalParameters = Pick<RangeFacetRequest, 'filterFacetCount' | 'injectionDepth' | 'numberOfValues' | 'sortCriteria' | 'rangeAlgorithm' | 'resultsMustMatch'>;
5
- export type ManualRangeFacetOptions<T extends RangeFacetRequest> = RangeFacetRequiredParameters & Pick<T, 'currentValues'> & AutomaticRanges<false> & Partial<RangeFacetOptionalParameters>;
6
5
  export type AutomaticRangeFacetOptions<T extends RangeFacetRequest> = RangeFacetRequiredParameters & Partial<Pick<T, 'currentValues'>> & AutomaticRanges<true> & Partial<RangeFacetOptionalParameters>;
7
6
  export {};
@@ -1,14 +1,11 @@
1
- import type { RegisterDateFacetActionCreatorPayload } from '../../date-facet-set/date-facet-actions.js';
2
1
  import type { DateFacetSetState } from '../../date-facet-set/date-facet-set-state.js';
3
2
  import type { DateFacetRequest, DateRangeRequest } from '../../date-facet-set/interfaces/request.js';
4
3
  import type { DateFacetResponse, DateFacetValue } from '../../date-facet-set/interfaces/response.js';
5
4
  import type { NumericFacetRequest, NumericRangeRequest } from '../../numeric-facet-set/interfaces/request.js';
6
5
  import type { NumericFacetResponse, NumericFacetValue } from '../../numeric-facet-set/interfaces/response.js';
7
- import type { RegisterNumericFacetActionCreatorPayload } from '../../numeric-facet-set/numeric-facet-actions.js';
8
6
  import type { NumericFacetSetState } from '../../numeric-facet-set/numeric-facet-set-state.js';
9
7
  export type RangeFacetRequest = DateFacetRequest | NumericFacetRequest;
10
8
  export type RangeValueRequest = DateRangeRequest | NumericRangeRequest;
11
9
  export type RangeFacetSetState = DateFacetSetState | NumericFacetSetState;
12
- export type RangeFacetRegistrationOptions = RegisterDateFacetActionCreatorPayload | RegisterNumericFacetActionCreatorPayload;
13
10
  export type RangeFacetValue = DateFacetValue | NumericFacetValue;
14
11
  export type RangeFacetResponse = DateFacetResponse | NumericFacetResponse;
@@ -1,4 +1,4 @@
1
- import type { BaseFacetRequest, BaseFacetValueRequest, RangeAlgorithm, SortCriteria } from '../../../facet-api/request.js';
1
+ import type { BaseFacetRequest, RangeAlgorithm, SortCriteria } from '../../../facet-api/request.js';
2
2
  export declare const rangeFacetSortCriteria: RangeFacetSortCriterion[];
3
3
  /**
4
4
  * Whether the range algorithm proposes ranges based on an even split of the interval or equiprobable intervals that each contain the same amount of results.
@@ -13,16 +13,6 @@ export interface AutomaticRanges<T extends boolean> {
13
13
  */
14
14
  generateAutomaticRanges: T;
15
15
  }
16
- export interface RangeRequest<T extends string | number> extends BaseFacetValueRequest {
17
- /** The start value of the range.*/
18
- start: T;
19
- /** The end value of the range.*/
20
- end: T;
21
- /** Whether to include the `end` value in the range.
22
- * @defaultValue `false`
23
- */
24
- endInclusive: boolean;
25
- }
26
16
  export interface BaseRangeFacetRequest extends BaseFacetRequest, AutomaticRanges<boolean>, SortCriteria<RangeFacetSortCriterion>, RangeAlgorithm<RangeFacetRangeAlgorithm> {
27
17
  /** @defaultValue `ascending` */
28
18
  sortCriteria: RangeFacetSortCriterion;
@@ -5,4 +5,3 @@ export declare const isRangeFacetValueExcluded: (selection: RangeFacetValue) =>
5
5
  export declare const getLegacyAnalyticsActionForToggleRangeFacetSelect: (facetId: string, selection: RangeFacetValue) => import("../../../analytics/analytics-utils.js").LegacySearchAction;
6
6
  export declare const getAnalyticsActionForToggleFacetSelect: (selection: RangeFacetValue) => SearchAction;
7
7
  export declare const getLegacyAnalyticsActionForToggleRangeFacetExclude: (facetId: string, selection: RangeFacetValue) => import("../../../analytics/analytics-utils.js").LegacySearchAction;
8
- export declare const getAnalyticsActionForToggleRangeFacetExclude: (selection: RangeFacetValue) => SearchAction;
@@ -3,7 +3,7 @@ import type { FacetValueState } from '../../../facet-api/value.js';
3
3
  /**
4
4
  * The domain of a numeric facet.
5
5
  */
6
- export interface NumericFacetDomain {
6
+ type NumericFacetDomain = {
7
7
  /**
8
8
  * The largest available value in the range.
9
9
  */
@@ -12,7 +12,7 @@ export interface NumericFacetDomain {
12
12
  * The smallest available value in the range.
13
13
  */
14
14
  start: number;
15
- }
15
+ };
16
16
  export interface NumericFacetValue {
17
17
  /**
18
18
  * The number of results that have the facet value.
@@ -38,3 +38,4 @@ export interface NumericFacetValue {
38
38
  export type NumericFacetResponse = BaseFacetResponse<NumericFacetValue> & {
39
39
  domain: NumericFacetDomain;
40
40
  };
41
+ export {};
@@ -1,7 +1,6 @@
1
1
  import type { Result } from '../../api/search/search/result.js';
2
2
  import { type ClickAction, type CustomAction } from '../analytics/analytics-utils.js';
3
3
  export declare const logShowMoreFoldedResults: (result: Result) => ClickAction;
4
- export declare const logShowLessFoldedResults: () => CustomAction;
5
4
  export declare const foldedResultAnalyticsClient: {
6
5
  logShowMoreFoldedResults: (result: Result) => ClickAction;
7
6
  logShowLessFoldedResults: () => CustomAction;
@@ -27,36 +27,3 @@ export declare const citationSourceSelector: ((state: Partial<GeneratedAnswerSec
27
27
  argsMemoize: typeof import("reselect").weakMapMemoize;
28
28
  memoize: typeof import("reselect").weakMapMemoize;
29
29
  };
30
- export declare const selectAnswerTriggerParams: ((state: any, ...params: any[]) => {
31
- q: any;
32
- requestId: any;
33
- }) & {
34
- clearCache: () => void;
35
- resultsCount: () => number;
36
- resetResultsCount: () => void;
37
- } & {
38
- resultFunc: (...resultFuncArgs: readonly any[]) => {
39
- q: any;
40
- requestId: any;
41
- };
42
- memoizedResultFunc: ((...resultFuncArgs: readonly any[]) => {
43
- q: any;
44
- requestId: any;
45
- }) & {
46
- clearCache: () => void;
47
- resultsCount: () => number;
48
- resetResultsCount: () => void;
49
- };
50
- lastResult: () => {
51
- q: any;
52
- requestId: any;
53
- };
54
- dependencies: import("reselect").SelectorArray<any>;
55
- recomputations: () => number;
56
- resetRecomputations: () => void;
57
- dependencyRecomputations: () => number;
58
- resetDependencyRecomputations: () => void;
59
- } & {
60
- argsMemoize: typeof import("reselect").weakMapMemoize;
61
- memoize: typeof import("reselect").weakMapMemoize;
62
- };
@@ -1,7 +1,8 @@
1
- export interface SetInsightConfigurationActionCreatorPayload {
1
+ interface SetInsightConfigurationActionCreatorPayload {
2
2
  /**
3
3
  * The unique identifier of the target insight configuration.
4
4
  */
5
5
  insightId: string;
6
6
  }
7
7
  export declare const setInsightConfiguration: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: SetInsightConfigurationActionCreatorPayload], SetInsightConfigurationActionCreatorPayload, "insightConfiguration/set", never, never>;
8
+ export {};
@@ -4,7 +4,7 @@ import type { InsightQueryRequest } from '../../api/service/insight/query/query-
4
4
  import type { CategoryFacetSection, ConfigurationSection, ContextSection, DateFacetSection, DidYouMeanSection, FacetSection, FieldsSection, FoldingSection, InsightCaseContextSection, InsightConfigurationSection, NumericFacetSection, PaginationSection, QuerySection, QuerySetSection, QuerySuggestionSection, SearchSection, SortSection, TabSection } from '../../state/state-sections.js';
5
5
  import type { InsightAction as LegacyInsightAction } from '../analytics/analytics-utils.js';
6
6
  import type { FetchQuerySuggestionsActionCreatorPayload, FetchQuerySuggestionsThunkReturn } from '../query-suggest/query-suggest-actions.js';
7
- import type { ExecuteSearchThunkReturn, SearchAction } from '../search/search-actions.js';
7
+ import { type ExecuteSearchThunkReturn, type SearchAction } from '../search/search-actions.js';
8
8
  import { type MappedSearchRequest } from '../search/search-mappings.js';
9
9
  export type StateNeededByExecuteSearch = ConfigurationSection & InsightConfigurationSection & Partial<InsightCaseContextSection & SearchSection & QuerySection & FacetSection & NumericFacetSection & DateFacetSection & CategoryFacetSection & PaginationSection & TabSection & FieldsSection & DidYouMeanSection & SortSection & FoldingSection & ContextSection>;
10
10
  export declare const fetchFromAPI: (client: InsightAPIClient, state: StateNeededByExecuteSearch, { request, mappings }: MappedSearchRequest<InsightQueryRequest>, options?: SearchOptions) => Promise<{
@@ -10,7 +10,6 @@ export interface FetchUserActionsThunkReturn {
10
10
  response: InsightUserActionsResponse;
11
11
  }
12
12
  export type StateNeededByFetchUserActions = ConfigurationSection & InsightUserActionsSection;
13
- export type UserId = string;
14
13
  export declare const fetchUserActions: import("@reduxjs/toolkit").AsyncThunk<FetchUserActionsThunkReturn, string, {
15
14
  rejectValue: import("../../api/service/insight/insight-api-client.js").InsightAPIErrorStatusResponse;
16
15
  state: StateNeededByFetchUserActions;
@@ -1,5 +1,5 @@
1
1
  import { type UserAction, type UserActionsState, type UserActionTimeline, type UserSession } from './insight-user-actions-state.js';
2
- export interface RawUserAction {
2
+ interface RawUserAction {
3
3
  name: string;
4
4
  value: string;
5
5
  time: string;
@@ -58,3 +58,4 @@ export declare const shouldExcludeAction: (action: UserAction, excludedCustomAct
58
58
  * @returns {UserActionTimeline} - The timeline of user actions (current session and 2 preceding and following sessions)
59
59
  */
60
60
  export declare const splitActionsIntoTimelineSessions: (actions: UserAction[], ticketCreationDate: number, actionsToExclude: string[]) => UserActionTimeline;
61
+ export {};
@@ -1,6 +1,4 @@
1
1
  import type { Result } from '../../api/search/search/result.js';
2
- import type { InstantResultSection } from '../../state/state-sections.js';
3
- import type { StateNeededByExecuteSearch } from '../search/search-actions-thunk-processor.js';
4
2
  export interface RegisterInstantResultActionCreatorPayload {
5
3
  /**
6
4
  * The search box ID.
@@ -50,4 +48,3 @@ export interface FetchInstantResultsThunkReturn {
50
48
  totalCountFiltered: number;
51
49
  duration: number;
52
50
  }
53
- export type StateNeededByInstantResults = StateNeededByExecuteSearch & InstantResultSection;
@@ -3,12 +3,6 @@ import type { QuerySuggestSuccessResponse } from '../../api/search/query-suggest
3
3
  import type { NavigatorContext } from '../../app/navigator-context-provider.js';
4
4
  import type { ConfigurationSection, ContextSection, PipelineSection, QuerySetSection, QuerySuggestionSection, SearchHubSection } from '../../state/state-sections.js';
5
5
  export type StateNeededByQuerySuggest = ConfigurationSection & QuerySuggestionSection & QuerySetSection & Partial<ContextSection & PipelineSection & SearchHubSection>;
6
- export declare const idDefinition: {
7
- id: import("@coveo/bueno").StringValue<string>;
8
- };
9
- export interface QuerySuggestionID {
10
- id: string;
11
- }
12
6
  export interface RegisterQuerySuggestActionCreatorPayload {
13
7
  /**
14
8
  * A unique identifier for the new query suggest entity (e.g., `b953ab2e-022b-4de4-903f-68b2c0682942`). Usually, this will be the ID of the search box controller that requests the query suggestions.
@@ -1,2 +1,53 @@
1
1
  import type { Result } from '../../api/search/search/result.js';
2
- export declare const logDocumentOpen: (result: Result) => import("../analytics/analytics-utils.js").PreparableAnalyticsAction<import("../../api/analytics/insight-analytics.js").StateNeededByInsightAnalyticsProvider>;
2
+ export declare const logDocumentOpen: (result: Result) => (() => import("@reduxjs/toolkit").AsyncThunkAction<void, void, {
3
+ state: import("../../api/analytics/insight-analytics.js").StateNeededByInsightAnalyticsProvider;
4
+ extra: import("../../app/thunk-extra-arguments.js").ThunkExtraArguments;
5
+ }>) & {
6
+ pending: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[string, void, unknown?], undefined, string, never, {
7
+ arg: void;
8
+ requestId: string;
9
+ requestStatus: "pending";
10
+ }>;
11
+ rejected: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[Error | null, string, void, unknown?, unknown?], unknown, string, import("@reduxjs/toolkit").SerializedError, {
12
+ arg: void;
13
+ requestId: string;
14
+ requestStatus: "rejected";
15
+ aborted: boolean;
16
+ condition: boolean;
17
+ } & ({
18
+ rejectedWithValue: true;
19
+ } | ({
20
+ rejectedWithValue: false;
21
+ } & {}))>;
22
+ fulfilled: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[void, string, void, unknown?], void, string, never, {
23
+ arg: void;
24
+ requestId: string;
25
+ requestStatus: "fulfilled";
26
+ }>;
27
+ settled: (action: any) => action is import("@reduxjs/toolkit").PayloadAction<void, string, {
28
+ arg: void;
29
+ requestId: string;
30
+ requestStatus: "fulfilled";
31
+ }, never> | import("@reduxjs/toolkit").PayloadAction<unknown, string, {
32
+ arg: void;
33
+ requestId: string;
34
+ requestStatus: "rejected";
35
+ aborted: boolean;
36
+ condition: boolean;
37
+ } & ({
38
+ rejectedWithValue: true;
39
+ } | ({
40
+ rejectedWithValue: false;
41
+ } & {})), import("@reduxjs/toolkit").SerializedError>;
42
+ typePrefix: string;
43
+ } & {
44
+ prepare: (options: {
45
+ analyticsClientMiddleware: import("coveo.analytics").AnalyticsClientSendEventHook;
46
+ preprocessRequest: import("../../api/preprocess-request.js").PreprocessRequest | undefined;
47
+ logger: import("pino").Logger;
48
+ getState(): import("../../api/analytics/insight-analytics.js").StateNeededByInsightAnalyticsProvider;
49
+ }) => Promise<{
50
+ description?: import("coveo.analytics").EventDescription;
51
+ action: import("../analytics/analytics-utils.js").AnalyticsAsyncThunk<import("../../api/analytics/insight-analytics.js").StateNeededByInsightAnalyticsProvider>;
52
+ }>;
53
+ };
@@ -27,7 +27,7 @@ export interface AsyncThunkConfig {
27
27
  extra: ClientThunkExtraArguments<SearchAPIClient>;
28
28
  }
29
29
  type QueryCorrectionCallback = (modification: string) => void;
30
- export interface FetchFromAPIOptions {
30
+ interface FetchFromAPIOptions {
31
31
  origin: SearchOrigin;
32
32
  disableAbortWarning?: boolean;
33
33
  }