@cimulate/copilot-widget 1.9.7 → 1.9.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,7 @@
1
1
  import { AskCim } from '@cimulate/copilot-sdk';
2
2
  import { AskCimAck } from '@cimulate/copilot-sdk';
3
3
  import { AskCimSuggestions } from '@cimulate/copilot-sdk';
4
+ import { BaseCatalogParams } from '@cimulate/copilot-sdk';
4
5
  import { BrowseParams } from '@cimulate/copilot-sdk';
5
6
  import { CimulateCopilot } from '@cimulate/copilot-sdk';
6
7
  import { ConnectAck } from '@cimulate/copilot-sdk';
@@ -170,6 +171,12 @@ declare interface CopilotWidgetProps extends CimCopilotSdkConfig {
170
171
  disclaimerText?: string;
171
172
  disclaimerMarkdown?: string;
172
173
  clientContext?: ClientContext;
174
+ /**
175
+ * Baseline catalog-scoping parameters (facetFilters, catalogSegment, pricebooks)
176
+ * applied by the workflow as defaults on context-less requests (ask_cim, product view)
177
+ * so results are scoped to the storefront's availability rules.
178
+ */
179
+ baseCatalogParams?: BaseCatalogParams;
173
180
  /**
174
181
  * @deprecated
175
182
  *
@@ -231,7 +238,7 @@ declare interface CopilotWidgetProps extends CimCopilotSdkConfig {
231
238
  * PromptsExtensionContext >
232
239
  * CopilotProvider (SocketSdk: copilot-sdk)
233
240
  */
234
- declare const CopilotWidgetProvider: ({ mode, apiKey, apiToken, baseUrl, customerId, tenantId, logoUrl, headerText, headerConfig, theme, openLinksInNewTab, globalClassName, isDevelopment, componentType, componentConfig, entryType, entryMessage, disclaimerText, disclaimerMarkdown, clientContext, searchPlaceholder, searchButtonLabel, searchConfig, promptsConfig, resetConversationMessage, conversationHistory, onConnect, onCopilotEvent, onRefinedSearch, onRefinedBrowse, __features, children, }: CopilotWidgetProps & {
241
+ declare const CopilotWidgetProvider: ({ mode, apiKey, apiToken, baseUrl, customerId, tenantId, logoUrl, headerText, headerConfig, theme, openLinksInNewTab, globalClassName, isDevelopment, componentType, componentConfig, entryType, entryMessage, disclaimerText, disclaimerMarkdown, clientContext, baseCatalogParams, searchPlaceholder, searchButtonLabel, searchConfig, promptsConfig, resetConversationMessage, conversationHistory, onConnect, onCopilotEvent, onRefinedSearch, onRefinedBrowse, __features, children, }: CopilotWidgetProps & {
235
242
  children: ReactNode;
236
243
  }) => JSX_2.Element;
237
244