@ada-cx/messaging-bridge 1.7.0 → 1.9.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.
|
@@ -44,6 +44,7 @@ export declare const STATE: {
|
|
|
44
44
|
readonly CHAT_PLAYBOOK_STEP_EXECUTING: "chat.playbookStepExecuting";
|
|
45
45
|
readonly CHATTER_ALERT_SOUND_ENABLED: "chatter.alertSoundEnabled";
|
|
46
46
|
readonly CHATTER_DEVICE_NOTIFICATIONS_ENABLED: "chatter.deviceNotificationsEnabled";
|
|
47
|
+
readonly CHATTER_HAS_DEVICE_TOKEN: "chatter.hasDeviceToken";
|
|
47
48
|
readonly CHATTER_LANGUAGE: "chatter.language";
|
|
48
49
|
readonly CHATTER_SMS_NOTIFICATIONS_ENABLED: "chatter.smsNotificationsEnabled";
|
|
49
50
|
readonly CHATTER_TRANSLATIONS: "chatter.translations";
|
|
@@ -85,6 +86,7 @@ export declare const STATE: {
|
|
|
85
86
|
readonly CONVERSATION_STATE_DATA_CAPTURE: "conversation.stateData.capture";
|
|
86
87
|
readonly CONVERSATION_STATE_DATA_LIST_SELECTION: "conversation.stateData.listSelection";
|
|
87
88
|
readonly CSAT_AUTO_TRIGGER: "csat.autoTrigger";
|
|
89
|
+
readonly CSAT_SUBMIT_SUCCESS_SAME_GENERATION: "csat.submitSuccess.sameGeneration";
|
|
88
90
|
readonly FILE_TRANSFER: "file.transfer";
|
|
89
91
|
readonly FILE_UPLOAD_ERROR: "file.uploadError";
|
|
90
92
|
readonly FEATURE_FLAGS: "featureFlags";
|
|
@@ -639,6 +639,7 @@ export interface AppDisplayState {
|
|
|
639
639
|
"chatter.language": string;
|
|
640
640
|
"chatter.alertSoundEnabled": boolean;
|
|
641
641
|
"chatter.deviceNotificationsEnabled": boolean;
|
|
642
|
+
"chatter.hasDeviceToken"?: boolean;
|
|
642
643
|
/** Host-origin Web Notification permission, as reported by the SDK. Permission
|
|
643
644
|
* is per-origin, so the widget frame's own value is not the one that governs
|
|
644
645
|
* the prompt. */
|
|
@@ -688,6 +689,8 @@ export interface AppDisplayState {
|
|
|
688
689
|
"csat.submitSuccess.seq"?: number;
|
|
689
690
|
"csat.submitSuccess.surveyType"?: string | null;
|
|
690
691
|
"csat.submitSuccess.conversationId"?: string | null;
|
|
692
|
+
/** Whether the submission completed in the conversation generation that started it. */
|
|
693
|
+
"csat.submitSuccess.sameGeneration"?: boolean;
|
|
691
694
|
/** Request->response with no request id: `csat.checkEndChatEligibility`
|
|
692
695
|
* sets status `loading`, and the answer sets `ready` and bumps the seq.
|
|
693
696
|
* Latch the seq when asking and treat yourself as pending until it
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ada-cx/messaging-bridge",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.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",
|