@ada-cx/messaging-bridge 1.5.3 → 1.6.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.
|
@@ -38,6 +38,7 @@ export declare const STATE: {
|
|
|
38
38
|
* address the other staged images, and a send posts all of them. */
|
|
39
39
|
readonly CHAT_STAGED_ATTACHMENT: "chat.stagedAttachment";
|
|
40
40
|
readonly CHAT_ATTACHMENT_REJECTION: "chat.attachmentRejection";
|
|
41
|
+
readonly CHAT_IMAGE_UPLOAD_OFFERED: "chat.imageUploadOffered";
|
|
41
42
|
readonly CHAT_IMAGE_UPLOAD_VISIBLE: "chat.imageUploadVisible";
|
|
42
43
|
readonly CHAT_ANSWERED_INTERACTIVE_IDS: "chat.answeredInteractiveIds";
|
|
43
44
|
readonly CHAT_PLAYBOOK_STEP_EXECUTING: "chat.playbookStepExecuting";
|
|
@@ -517,8 +517,14 @@ export interface AppDisplayState {
|
|
|
517
517
|
"chat.stagedAttachment"?: StagedAttachment | null;
|
|
518
518
|
/** The most recent pick that could not be staged, beside whatever is staged. */
|
|
519
519
|
"chat.attachmentRejection"?: StagedAttachmentRejection | null;
|
|
520
|
-
/**
|
|
521
|
-
*
|
|
520
|
+
/** Render the image attach control (customer setting, no handoff), possibly
|
|
521
|
+
* before the conversation has an id; render it disabled while
|
|
522
|
+
* `chat.imageUploadVisible` is false. Absent on an older core document, where
|
|
523
|
+
* `chat.imageUploadVisible` alone decided rendering. */
|
|
524
|
+
"chat.imageUploadOffered"?: boolean;
|
|
525
|
+
/** A pick can be made now: the control is offered and the bot conversation
|
|
526
|
+
* has an id. Unchanged since 1.0; an app reading only this key renders the
|
|
527
|
+
* control once a pick can be hosted. */
|
|
522
528
|
"chat.imageUploadVisible"?: boolean;
|
|
523
529
|
/** Interactive blocks (quick replies, options) the chatter has already
|
|
524
530
|
* answered. Includes blocks a later same-conversation user message
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ada-cx/messaging-bridge",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.0",
|
|
4
4
|
"description": "Types, test mocks, and a thin CDN loader for building a custom app UI on Ada Messaging's bridge contract. The bridge runtime always loads from Ada's CDN.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "ISC",
|