merchi_sdk_ts 1.6.6 → 1.6.8

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.
@@ -118,6 +118,74 @@ var Company = /** @class */ (function (_super) {
118
118
  Company.property({ type: String }),
119
119
  __metadata("design:type", String)
120
120
  ], Company.prototype, "unltdAiApiSecretKey", void 0);
121
+ __decorate([
122
+ Company.property({ type: String }),
123
+ __metadata("design:type", String)
124
+ ], Company.prototype, "australiaPostApiKey", void 0);
125
+ __decorate([
126
+ Company.property({ type: String }),
127
+ __metadata("design:type", String)
128
+ ], Company.prototype, "australiaPostPassword", void 0);
129
+ __decorate([
130
+ Company.property({ type: String }),
131
+ __metadata("design:type", String)
132
+ ], Company.prototype, "startrackApiKey", void 0);
133
+ __decorate([
134
+ Company.property({ type: String }),
135
+ __metadata("design:type", String)
136
+ ], Company.prototype, "startrackPassword", void 0);
137
+ __decorate([
138
+ Company.property({ type: String }),
139
+ __metadata("design:type", String)
140
+ ], Company.prototype, "dhlApiKey", void 0);
141
+ __decorate([
142
+ Company.property({ type: String }),
143
+ __metadata("design:type", String)
144
+ ], Company.prototype, "dhlApiSecret", void 0);
145
+ __decorate([
146
+ Company.property({ type: String }),
147
+ __metadata("design:type", String)
148
+ ], Company.prototype, "fedexApiKey", void 0);
149
+ __decorate([
150
+ Company.property({ type: String }),
151
+ __metadata("design:type", String)
152
+ ], Company.prototype, "fedexApiSecret", void 0);
153
+ __decorate([
154
+ Company.property({ type: String }),
155
+ __metadata("design:type", String)
156
+ ], Company.prototype, "upsClientId", void 0);
157
+ __decorate([
158
+ Company.property({ type: String }),
159
+ __metadata("design:type", String)
160
+ ], Company.prototype, "upsClientSecret", void 0);
161
+ __decorate([
162
+ Company.property({ type: String }),
163
+ __metadata("design:type", String)
164
+ ], Company.prototype, "uspsApiKey", void 0);
165
+ __decorate([
166
+ Company.property({ type: String }),
167
+ __metadata("design:type", String)
168
+ ], Company.prototype, "tntApiKey", void 0);
169
+ __decorate([
170
+ Company.property({ type: String }),
171
+ __metadata("design:type", String)
172
+ ], Company.prototype, "tntApiSecret", void 0);
173
+ __decorate([
174
+ Company.property({ type: String }),
175
+ __metadata("design:type", String)
176
+ ], Company.prototype, "aramexAccountNumber", void 0);
177
+ __decorate([
178
+ Company.property({ type: String }),
179
+ __metadata("design:type", String)
180
+ ], Company.prototype, "aramexApiKey", void 0);
181
+ __decorate([
182
+ Company.property({ type: String }),
183
+ __metadata("design:type", String)
184
+ ], Company.prototype, "aramexApiSecret", void 0);
185
+ __decorate([
186
+ Company.property({ type: String }),
187
+ __metadata("design:type", String)
188
+ ], Company.prototype, "nzPostApiKey", void 0);
121
189
  __decorate([
122
190
  Company.property({ type: String }),
123
191
  __metadata("design:type", String)
@@ -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.8",
4
4
  "main": "dist/index.js",
5
5
  "type": "module",
6
6
  "repository": "git@github.com:merchisdk/merchi_sdk_ts.git",
@@ -88,6 +88,57 @@ export class Company extends Entity {
88
88
  @Company.property({type: String})
89
89
  public unltdAiApiSecretKey?: string;
90
90
 
91
+ @Company.property({type: String})
92
+ public australiaPostApiKey?: string;
93
+
94
+ @Company.property({type: String})
95
+ public australiaPostPassword?: string;
96
+
97
+ @Company.property({type: String})
98
+ public startrackApiKey?: string;
99
+
100
+ @Company.property({type: String})
101
+ public startrackPassword?: string;
102
+
103
+ @Company.property({type: String})
104
+ public dhlApiKey?: string;
105
+
106
+ @Company.property({type: String})
107
+ public dhlApiSecret?: string;
108
+
109
+ @Company.property({type: String})
110
+ public fedexApiKey?: string;
111
+
112
+ @Company.property({type: String})
113
+ public fedexApiSecret?: string;
114
+
115
+ @Company.property({type: String})
116
+ public upsClientId?: string;
117
+
118
+ @Company.property({type: String})
119
+ public upsClientSecret?: string;
120
+
121
+ @Company.property({type: String})
122
+ public uspsApiKey?: string;
123
+
124
+ @Company.property({type: String})
125
+ public tntApiKey?: string;
126
+
127
+ @Company.property({type: String})
128
+ public tntApiSecret?: string;
129
+
130
+ @Company.property({type: String})
131
+ public aramexAccountNumber?: string;
132
+
133
+ @Company.property({type: String})
134
+ public aramexApiKey?: string;
135
+
136
+ @Company.property({type: String})
137
+ public aramexApiSecret?: string;
138
+
139
+ @Company.property({type: String})
140
+ public nzPostApiKey?: string;
141
+
91
142
  @Company.property({type: String})
92
143
  public internalUseNotes?: string;
93
144
 
@@ -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[];