@planningcenter/topbar 12.3.0-qa-937.0 → 12.3.0-qa-937.1
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/topbar.js +8 -2
- package/dist/topbar.js.map +1 -1
- package/dist/topbar.modern.js +8 -2
- package/dist/topbar.modern.js.map +1 -1
- package/dist/topbar.module.js +8 -2
- package/dist/topbar.module.js.map +1 -1
- package/dist/topbar.umd.js +8 -2
- package/dist/topbar.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/topbar.js
CHANGED
|
@@ -34659,12 +34659,18 @@ function PicobotComponent({
|
|
|
34659
34659
|
if (!pending || !isPicobotReady) return;
|
|
34660
34660
|
const {
|
|
34661
34661
|
conversationId,
|
|
34662
|
-
draft
|
|
34662
|
+
draft,
|
|
34663
|
+
ticketExternalId
|
|
34663
34664
|
} = pending;
|
|
34664
34665
|
if (conversationId) {
|
|
34665
34666
|
(_a = picobotRef.current) === null || _a === void 0 ? void 0 : _a.postMessage({
|
|
34666
34667
|
payload: {
|
|
34667
|
-
conversation_id: conversationId
|
|
34668
|
+
conversation_id: conversationId,
|
|
34669
|
+
// Picobot asks whether this resolved the ticket, and closes it.
|
|
34670
|
+
...(ticketExternalId && {
|
|
34671
|
+
external_id: ticketExternalId,
|
|
34672
|
+
source: "ticket_submitted"
|
|
34673
|
+
})
|
|
34668
34674
|
},
|
|
34669
34675
|
type: "LOAD_CONVERSATION"
|
|
34670
34676
|
});
|