merchi_sdk_ts 1.6.6 → 1.6.7

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