merchi_sdk_ts 1.6.2 → 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.
@@ -105,6 +105,30 @@ var DomainChatSettings = /** @class */ (function (_super) {
105
105
  DomainChatSettings.property(),
106
106
  __metadata("design:type", Object)
107
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);
108
132
  return DomainChatSettings;
109
133
  }(Entity));
110
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "merchi_sdk_ts",
3
- "version": "1.6.2",
3
+ "version": "1.6.3",
4
4
  "main": "dist/index.js",
5
5
  "type": "module",
6
6
  "repository": "git@github.com:merchisdk/merchi_sdk_ts.git",
@@ -61,4 +61,22 @@ export class DomainChatSettings extends Entity {
61
61
 
62
62
  @DomainChatSettings.property()
63
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;
64
82
  }
@@ -24,4 +24,7 @@ export class SupportMessage extends Entity {
24
24
 
25
25
  @SupportMessage.property({ type: Date })
26
26
  public creationDate?: Date | null;
27
+
28
+ @SupportMessage.property({ type: Boolean })
29
+ public isAiReply?: boolean;
27
30
  }