@cimulate/copilot-widget 1.17.0 → 1.18.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 +6 -0
- package/dist/cimulate-copilot-widget.es.js +2752 -2702
- package/dist/cimulate-copilot-widget.umd.js +24 -24
- package/dist/copilot.es.js +2757 -2707
- package/dist/copilot.umd.js +26 -26
- package/dist/messaging.d.ts +12 -0
- package/dist/messaging.es.js +6740 -6621
- package/dist/messaging.umd.js +30 -30
- package/package.json +2 -2
package/dist/messaging.d.ts
CHANGED
|
@@ -341,6 +341,12 @@ export declare interface MessagingContextType {
|
|
|
341
341
|
resetConversation: () => void;
|
|
342
342
|
retryLastMessage: () => void;
|
|
343
343
|
retryConnection: () => void;
|
|
344
|
+
/**
|
|
345
|
+
* Download the current conversation's transcript as a PDF. Resolves once the
|
|
346
|
+
* browser download has been triggered; rejects if no conversation is active
|
|
347
|
+
* or the request fails.
|
|
348
|
+
*/
|
|
349
|
+
downloadTranscript: () => Promise<void>;
|
|
344
350
|
}
|
|
345
351
|
|
|
346
352
|
/**
|
|
@@ -397,6 +403,12 @@ export declare interface MessagingModeConfig {
|
|
|
397
403
|
* codes, not release numbers — 1=rel248, 62=rel252, 63=rel254, 65=rel258.
|
|
398
404
|
*/
|
|
399
405
|
capabilitiesVersion?: string;
|
|
406
|
+
/**
|
|
407
|
+
* Shows a "Download transcript" option in the widget's overflow menu that
|
|
408
|
+
* saves the current conversation as a PDF. Defaults to true; set to false to
|
|
409
|
+
* hide it. Requires the org's messaging channel to allow transcript download.
|
|
410
|
+
*/
|
|
411
|
+
enableDownloadTranscript?: boolean;
|
|
400
412
|
}
|
|
401
413
|
|
|
402
414
|
export declare const MessagingProvider: ({ scrt2Url, orgId, esDeveloperName, routingAttributes, capabilitiesVersion, enableLogging, onConnect, onMessage, onError, children, }: MessagingProviderProps) => JSX_2.Element;
|