@cimulate/copilot-widget 1.19.0 → 1.20.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.
- package/dist/cimulate-copilot-widget.d.ts +1 -5
- package/dist/cimulate-copilot-widget.es.js +10318 -10137
- package/dist/cimulate-copilot-widget.umd.js +31 -31
- package/dist/copilot.es.js +10319 -10138
- package/dist/copilot.umd.js +31 -31
- package/dist/messaging.css +1 -1
- package/dist/messaging.d.ts +2 -5
- package/dist/messaging.es.js +10962 -10840
- package/dist/messaging.umd.js +33 -33
- package/package.json +2 -2
|
@@ -348,7 +348,7 @@ declare interface MessagingModeConfig {
|
|
|
348
348
|
|
|
349
349
|
declare type PromptsDisplay = "input" | "buttons" | "both";
|
|
350
350
|
|
|
351
|
-
declare type PromptsExtensionConfig = Omit<PromptsExtensionState, "isInitialized" | "activePromptsId" | "userPrompt" | "promptsMessage" | "responseMessage" | "isResponseLoading" | "placeholder" | "askElseButtonLabel" | "entryType" | "params" | "promptsDisplay" | "
|
|
351
|
+
declare type PromptsExtensionConfig = Omit<PromptsExtensionState, "isInitialized" | "activePromptsId" | "userPrompt" | "promptsMessage" | "responseMessage" | "isResponseLoading" | "placeholder" | "askElseButtonLabel" | "entryType" | "params" | "promptsDisplay" | "disableAskElseButton"> & Partial<Pick<PromptsExtensionState, "placeholder" | "askElseButtonLabel" | "entryType" | "params" | "promptsDisplay" | "disableAskElseButton">>;
|
|
352
352
|
|
|
353
353
|
declare type PromptsExtensionState = {
|
|
354
354
|
isInitialized: boolean;
|
|
@@ -365,8 +365,6 @@ declare type PromptsExtensionState = {
|
|
|
365
365
|
isResponseLoading: boolean;
|
|
366
366
|
responseMessage: AllCopilotEvents | null;
|
|
367
367
|
promptsDisplay: PromptsDisplay;
|
|
368
|
-
staticQuestions: string[];
|
|
369
|
-
staticQuestionsStrategy: StaticQuestionsStrategy;
|
|
370
368
|
disableAskElseButton: boolean;
|
|
371
369
|
};
|
|
372
370
|
|
|
@@ -468,8 +466,6 @@ declare const state: () => Readonly<{
|
|
|
468
466
|
entryType: EntryType;
|
|
469
467
|
}>;
|
|
470
468
|
|
|
471
|
-
declare type StaticQuestionsStrategy = "override" | "append" | "prepend";
|
|
472
|
-
|
|
473
469
|
declare type Suggestion = CopilotSearchSuggestion | FacetedNavigationSuggestion | ProductViewSuggestion | CopilotBrowseSuggestion;
|
|
474
470
|
|
|
475
471
|
declare interface SuggestionButtonConfig {
|