merchi_sdk_ts 1.6.5 → 1.6.6

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.
@@ -53,6 +53,10 @@ var SupportConversation = /** @class */ (function (_super) {
53
53
  SupportConversation.property({ type: Domain }),
54
54
  __metadata("design:type", Domain)
55
55
  ], SupportConversation.prototype, "domain", void 0);
56
+ __decorate([
57
+ SupportConversation.property(),
58
+ __metadata("design:type", Number)
59
+ ], SupportConversation.prototype, "domainId", void 0);
56
60
  __decorate([
57
61
  SupportConversation.property({ arrayType: 'DomainTag' }),
58
62
  __metadata("design:type", Array)
@@ -85,6 +89,22 @@ var SupportConversation = /** @class */ (function (_super) {
85
89
  SupportConversation.property({ type: User }),
86
90
  __metadata("design:type", Object)
87
91
  ], SupportConversation.prototype, "user", void 0);
92
+ __decorate([
93
+ SupportConversation.property(),
94
+ __metadata("design:type", Object)
95
+ ], SupportConversation.prototype, "userId", void 0);
96
+ __decorate([
97
+ SupportConversation.property(),
98
+ __metadata("design:type", Object)
99
+ ], SupportConversation.prototype, "assignedUserId", void 0);
100
+ __decorate([
101
+ SupportConversation.property({ type: User }),
102
+ __metadata("design:type", Object)
103
+ ], SupportConversation.prototype, "assignedUser", void 0);
104
+ __decorate([
105
+ SupportConversation.property({ type: String }),
106
+ __metadata("design:type", String)
107
+ ], SupportConversation.prototype, "aiFallbackMode", void 0);
88
108
  __decorate([
89
109
  SupportConversation.property({ arrayType: 'SupportMessage' }),
90
110
  __metadata("design:type", Array)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "merchi_sdk_ts",
3
- "version": "1.6.5",
3
+ "version": "1.6.6",
4
4
  "main": "dist/index.js",
5
5
  "type": "module",
6
6
  "repository": "git@github.com:merchisdk/merchi_sdk_ts.git",
@@ -24,6 +24,9 @@ export class SupportConversation extends Entity {
24
24
  @SupportConversation.property({ type: Domain })
25
25
  public domain?: Domain;
26
26
 
27
+ @SupportConversation.property()
28
+ public domainId?: number;
29
+
27
30
  @SupportConversation.property({ arrayType: 'DomainTag' })
28
31
  public tags?: DomainTag[];
29
32
 
@@ -51,6 +54,20 @@ export class SupportConversation extends Entity {
51
54
  @SupportConversation.property({ type: User })
52
55
  public user?: User | null;
53
56
 
57
+ @SupportConversation.property()
58
+ public userId?: number | null;
59
+
60
+ /** Manager/admin explicitly assigned to own this conversation. */
61
+ @SupportConversation.property()
62
+ public assignedUserId?: number | null;
63
+
64
+ @SupportConversation.property({ type: User })
65
+ public assignedUser?: User | null;
66
+
67
+ /** Per-conversation AI fallback mode (inherit | on | off). */
68
+ @SupportConversation.property({ type: String })
69
+ public aiFallbackMode?: 'inherit' | 'on' | 'off';
70
+
54
71
  @SupportConversation.property({ arrayType: 'SupportMessage' })
55
72
  public messages?: SupportMessage[];
56
73