@cimulate/copilot-widget 1.23.0 → 1.24.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 +5 -11
- package/dist/cimulate-copilot-widget.es.js +10245 -11357
- package/dist/cimulate-copilot-widget.umd.js +37 -37
- package/dist/copilot.es.js +10254 -11366
- package/dist/copilot.umd.js +37 -37
- package/dist/messaging.css +1 -1
- package/dist/messaging.d.ts +19 -12
- package/dist/messaging.es.js +10558 -11548
- package/dist/messaging.umd.js +38 -38
- package/package.json +5 -5
|
@@ -20,7 +20,7 @@ import { DisplayProducts } from '@cimulate/copilot-sdk';
|
|
|
20
20
|
import { FacetedNavigationSuggestion } from '@cimulate/copilot-sdk';
|
|
21
21
|
import { FollowUp } from '@cimulate/copilot-sdk';
|
|
22
22
|
import { Inquiry } from '@cimulate/copilot-sdk';
|
|
23
|
-
import { JSX as JSX_2 } from 'react
|
|
23
|
+
import { JSX as JSX_2 } from 'react';
|
|
24
24
|
import { PartialInquiry } from '@cimulate/copilot-sdk';
|
|
25
25
|
import { ProductView } from '@cimulate/copilot-sdk';
|
|
26
26
|
import { ProductViewAck } from '@cimulate/copilot-sdk';
|
|
@@ -189,6 +189,7 @@ declare interface CopilotWidgetProps extends CimCopilotSdkConfig {
|
|
|
189
189
|
suggestionButtonConfig?: SuggestionButtonConfig;
|
|
190
190
|
messageAlignment?: MessageAlignment;
|
|
191
191
|
autoScroll?: boolean;
|
|
192
|
+
showProductDescription?: boolean;
|
|
192
193
|
theme?: ThemeConfig;
|
|
193
194
|
openLinksInNewTab?: boolean;
|
|
194
195
|
entryType?: EntryType;
|
|
@@ -348,13 +349,9 @@ declare type MessageAlignment = "start" | "end";
|
|
|
348
349
|
* Configuration for messaging mode (SCRT2 Agentforce).
|
|
349
350
|
*/
|
|
350
351
|
declare interface MessagingModeConfig {
|
|
351
|
-
/** SCRT2 instance URL (e.g. "https://xyz.salesforce-scrt.com") */
|
|
352
352
|
scrt2Url: string;
|
|
353
|
-
/** Salesforce Organization ID */
|
|
354
353
|
orgId: string;
|
|
355
|
-
/** Embedded Service developer name */
|
|
356
354
|
esDeveloperName: string;
|
|
357
|
-
/** Optional routing attributes for the conversation */
|
|
358
355
|
routingAttributes?: Record<string, string>;
|
|
359
356
|
/**
|
|
360
357
|
* Capabilities version for the SCRT2 token request. Required (>= "63", i.e.
|
|
@@ -364,18 +361,15 @@ declare interface MessagingModeConfig {
|
|
|
364
361
|
*/
|
|
365
362
|
capabilitiesVersion?: string;
|
|
366
363
|
/**
|
|
367
|
-
*
|
|
368
|
-
* saves the current conversation as a PDF. Defaults to true; set to false to
|
|
369
|
-
* hide it. Requires the org's messaging channel to allow transcript download.
|
|
364
|
+
* Requires the org's messaging channel to allow transcript download.
|
|
370
365
|
*/
|
|
371
366
|
enableDownloadTranscript?: boolean;
|
|
372
367
|
/**
|
|
373
|
-
*
|
|
374
|
-
* asks the Agentforce agent to escalate the conversation to a human. Defaults
|
|
375
|
-
* to false; set to true to show it. Requires the org's Agentforce agent to be
|
|
368
|
+
* Requires the org's Agentforce agent to be
|
|
376
369
|
* configured with an escalation path/topic, otherwise the button is a no-op.
|
|
377
370
|
*/
|
|
378
371
|
enableEscalationToAgent?: boolean;
|
|
372
|
+
showProductCaptions?: boolean;
|
|
379
373
|
}
|
|
380
374
|
|
|
381
375
|
/**
|