merchi_sdk_ts 1.6.1 → 1.6.3
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.
|
@@ -77,6 +77,10 @@ var DomainChatSettings = /** @class */ (function (_super) {
|
|
|
77
77
|
DomainChatSettings.property(),
|
|
78
78
|
__metadata("design:type", Boolean)
|
|
79
79
|
], DomainChatSettings.prototype, "notifyEmailNewMessage", void 0);
|
|
80
|
+
__decorate([
|
|
81
|
+
DomainChatSettings.property(),
|
|
82
|
+
__metadata("design:type", Object)
|
|
83
|
+
], DomainChatSettings.prototype, "telegramChatId", void 0);
|
|
80
84
|
__decorate([
|
|
81
85
|
DomainChatSettings.property({ arrayType: 'User' }),
|
|
82
86
|
__metadata("design:type", Array)
|
|
@@ -101,6 +105,30 @@ var DomainChatSettings = /** @class */ (function (_super) {
|
|
|
101
105
|
DomainChatSettings.property(),
|
|
102
106
|
__metadata("design:type", Object)
|
|
103
107
|
], DomainChatSettings.prototype, "autoOpenMode", void 0);
|
|
108
|
+
__decorate([
|
|
109
|
+
DomainChatSettings.property(),
|
|
110
|
+
__metadata("design:type", Boolean)
|
|
111
|
+
], DomainChatSettings.prototype, "aiFallbackEnabled", void 0);
|
|
112
|
+
__decorate([
|
|
113
|
+
DomainChatSettings.property(),
|
|
114
|
+
__metadata("design:type", Object)
|
|
115
|
+
], DomainChatSettings.prototype, "aiFallbackScope", void 0);
|
|
116
|
+
__decorate([
|
|
117
|
+
DomainChatSettings.property(),
|
|
118
|
+
__metadata("design:type", Object)
|
|
119
|
+
], DomainChatSettings.prototype, "aiDisclosureMode", void 0);
|
|
120
|
+
__decorate([
|
|
121
|
+
DomainChatSettings.property(),
|
|
122
|
+
__metadata("design:type", Object)
|
|
123
|
+
], DomainChatSettings.prototype, "aiMaxRepliesPerConversation", void 0);
|
|
124
|
+
__decorate([
|
|
125
|
+
DomainChatSettings.property(),
|
|
126
|
+
__metadata("design:type", Number)
|
|
127
|
+
], DomainChatSettings.prototype, "aiCooldownSeconds", void 0);
|
|
128
|
+
__decorate([
|
|
129
|
+
DomainChatSettings.property(),
|
|
130
|
+
__metadata("design:type", Object)
|
|
131
|
+
], DomainChatSettings.prototype, "aiEscalationMessage", void 0);
|
|
104
132
|
return DomainChatSettings;
|
|
105
133
|
}(Entity));
|
|
106
134
|
export { DomainChatSettings };
|
|
@@ -57,6 +57,10 @@ var SupportMessage = /** @class */ (function (_super) {
|
|
|
57
57
|
SupportMessage.property({ type: Date }),
|
|
58
58
|
__metadata("design:type", Object)
|
|
59
59
|
], SupportMessage.prototype, "creationDate", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
SupportMessage.property({ type: Boolean }),
|
|
62
|
+
__metadata("design:type", Boolean)
|
|
63
|
+
], SupportMessage.prototype, "isAiReply", void 0);
|
|
60
64
|
return SupportMessage;
|
|
61
65
|
}(Entity));
|
|
62
66
|
export { SupportMessage };
|
package/package.json
CHANGED
|
@@ -41,6 +41,9 @@ export class DomainChatSettings extends Entity {
|
|
|
41
41
|
@DomainChatSettings.property()
|
|
42
42
|
public notifyEmailNewMessage?: boolean;
|
|
43
43
|
|
|
44
|
+
@DomainChatSettings.property()
|
|
45
|
+
public telegramChatId?: string | null;
|
|
46
|
+
|
|
44
47
|
@DomainChatSettings.property({ arrayType: 'User' })
|
|
45
48
|
public assignedUsers?: User[];
|
|
46
49
|
|
|
@@ -58,4 +61,22 @@ export class DomainChatSettings extends Entity {
|
|
|
58
61
|
|
|
59
62
|
@DomainChatSettings.property()
|
|
60
63
|
public autoOpenMode?: string | null;
|
|
64
|
+
|
|
65
|
+
@DomainChatSettings.property()
|
|
66
|
+
public aiFallbackEnabled?: boolean;
|
|
67
|
+
|
|
68
|
+
@DomainChatSettings.property()
|
|
69
|
+
public aiFallbackScope?: 'faq_only' | 'faq_and_status' | 'collect_and_escalate' | 'full_support_limited' | null;
|
|
70
|
+
|
|
71
|
+
@DomainChatSettings.property()
|
|
72
|
+
public aiDisclosureMode?: 'on' | 'off' | null;
|
|
73
|
+
|
|
74
|
+
@DomainChatSettings.property()
|
|
75
|
+
public aiMaxRepliesPerConversation?: number | null;
|
|
76
|
+
|
|
77
|
+
@DomainChatSettings.property()
|
|
78
|
+
public aiCooldownSeconds?: number;
|
|
79
|
+
|
|
80
|
+
@DomainChatSettings.property()
|
|
81
|
+
public aiEscalationMessage?: string | null;
|
|
61
82
|
}
|