@escapenavigator/types 1.10.144 → 1.10.146
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/profile/profile-sms/dto/send-test-sms.dto.d.ts +12 -0
- package/dist/profile/profile-sms/dto/send-test-sms.dto.js +44 -0
- package/dist/profile/profile-sms/ro/send-test-sms.ro.d.ts +10 -0
- package/dist/profile/profile-sms/ro/send-test-sms.ro.js +37 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/widget-chat/enum/widget-chat-message-author.enum.d.ts +2 -1
- package/dist/widget-chat/enum/widget-chat-message-author.enum.js +1 -0
- package/dist/widget-chat/widget-chat-ai-settings.ro.d.ts +10 -0
- package/dist/widget-chat/widget-chat-ai-settings.ro.js +2 -0
- package/dist/widget-chat/widget-chat-conversation.ro.d.ts +4 -0
- package/dist/widget-chat/widget-chat-message.ro.d.ts +11 -0
- package/package.json +2 -2
|
@@ -5,4 +5,5 @@ var WidgetChatMessageAuthorEnum;
|
|
|
5
5
|
(function (WidgetChatMessageAuthorEnum) {
|
|
6
6
|
WidgetChatMessageAuthorEnum["VISITOR"] = "visitor";
|
|
7
7
|
WidgetChatMessageAuthorEnum["STAFF"] = "staff";
|
|
8
|
+
WidgetChatMessageAuthorEnum["AI"] = "ai";
|
|
8
9
|
})(WidgetChatMessageAuthorEnum || (exports.WidgetChatMessageAuthorEnum = WidgetChatMessageAuthorEnum = {}));
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export type WidgetChatAiSettingsRO = {
|
|
2
|
+
enabled: boolean;
|
|
3
|
+
tone?: string | null;
|
|
4
|
+
greeting?: string | null;
|
|
5
|
+
handoffMessage?: string | null;
|
|
6
|
+
workingHoursEnabled: boolean;
|
|
7
|
+
workingHoursStart?: number | null;
|
|
8
|
+
workingHoursEnd?: number | null;
|
|
9
|
+
timezone?: string | null;
|
|
10
|
+
};
|
|
@@ -11,6 +11,10 @@ export type WidgetChatConversationRO = {
|
|
|
11
11
|
lastMessageText?: string;
|
|
12
12
|
lastMessageAt?: Date;
|
|
13
13
|
unreadCount: number;
|
|
14
|
+
aiEnabled: boolean;
|
|
15
|
+
aiPaused: boolean;
|
|
16
|
+
aiSummary?: string;
|
|
17
|
+
escalationReason?: string;
|
|
14
18
|
createdAt: Date;
|
|
15
19
|
updatedAt: Date;
|
|
16
20
|
};
|
|
@@ -1,4 +1,14 @@
|
|
|
1
1
|
import { WidgetChatMessageAuthorEnum } from './enum/widget-chat-message-author.enum';
|
|
2
|
+
export type WidgetChatSlotSuggestion = {
|
|
3
|
+
questroomId: number;
|
|
4
|
+
questroomTitle?: string;
|
|
5
|
+
date: string;
|
|
6
|
+
players?: number;
|
|
7
|
+
};
|
|
8
|
+
export type WidgetChatMessageMeta = {
|
|
9
|
+
kind: 'slot_suggestions';
|
|
10
|
+
items: WidgetChatSlotSuggestion[];
|
|
11
|
+
};
|
|
2
12
|
export type WidgetChatMessageRO = {
|
|
3
13
|
id: number;
|
|
4
14
|
conversationId: number;
|
|
@@ -7,5 +17,6 @@ export type WidgetChatMessageRO = {
|
|
|
7
17
|
senderName?: string;
|
|
8
18
|
senderPhoto?: string;
|
|
9
19
|
text: string;
|
|
20
|
+
meta?: WidgetChatMessageMeta | null;
|
|
10
21
|
createdAt: Date;
|
|
11
22
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@escapenavigator/types",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.146",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"reflect-metadata": "^0.1.13",
|
|
24
24
|
"rxjs": "^7.5.5"
|
|
25
25
|
},
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "b7cc49e197a4d4cda6337a2595d620dd88b7bd89",
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@types/validator": "13.0.0",
|
|
29
29
|
"typescript": "^5.6"
|