@kl1/contracts 1.1.22 → 1.1.23
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.
- package/dist/index.js +579 -211
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +578 -211
- package/dist/index.mjs.map +1 -1
- package/dist/src/business-calendar/index.d.ts +799 -0
- package/dist/src/business-calendar/index.d.ts.map +1 -0
- package/dist/src/business-calendar/schema.d.ts +172 -0
- package/dist/src/business-calendar/schema.d.ts.map +1 -0
- package/dist/src/business-calendar/validation.d.ts +210 -0
- package/dist/src/business-calendar/validation.d.ts.map +1 -0
- package/dist/src/channel/index.d.ts +725 -611
- package/dist/src/channel/index.d.ts.map +1 -1
- package/dist/src/channel/schema.d.ts +12 -12
- package/dist/src/channel/schema.d.ts.map +1 -1
- package/dist/src/channel/validation.d.ts +71 -8
- package/dist/src/channel/validation.d.ts.map +1 -1
- package/dist/src/chat/index.d.ts +5144 -299
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +807 -47
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +1093 -118
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/contract.d.ts +26553 -6263
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/cx-log/index.d.ts +376 -31
- package/dist/src/cx-log/index.d.ts.map +1 -1
- package/dist/src/cx-log/schema.d.ts +577 -27
- package/dist/src/cx-log/schema.d.ts.map +1 -1
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/instagram/index.d.ts +628 -138
- package/dist/src/instagram/index.d.ts.map +1 -1
- package/dist/src/line/index.d.ts +623 -133
- package/dist/src/line/index.d.ts.map +1 -1
- package/dist/src/line/schema.d.ts.map +1 -1
- package/dist/src/line/validation.d.ts +23 -23
- package/dist/src/line/validation.d.ts.map +1 -1
- package/dist/src/mail/account-contract.d.ts +230 -4
- package/dist/src/mail/account-contract.d.ts.map +1 -1
- package/dist/src/mail/mail-contract.d.ts +3277 -435
- package/dist/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/src/mail/message-contract.d.ts +58 -1
- package/dist/src/mail/message-contract.d.ts.map +1 -1
- package/dist/src/mail/room-contract.d.ts +3009 -450
- package/dist/src/mail/room-contract.d.ts.map +1 -1
- package/dist/src/mail/schemas/room-validation.schema.d.ts +731 -6
- package/dist/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
- package/dist/src/mail/schemas/room.schema.d.ts +557 -0
- package/dist/src/mail/schemas/room.schema.d.ts.map +1 -1
- package/dist/src/messenger/index.d.ts +628 -138
- package/dist/src/messenger/index.d.ts.map +1 -1
- package/dist/src/messenger/validation.d.ts +13 -13
- package/dist/src/snippet/index.d.ts +545 -97
- package/dist/src/snippet/index.d.ts.map +1 -1
- package/dist/src/snippet/schema.d.ts +220 -19
- package/dist/src/snippet/schema.d.ts.map +1 -1
- package/dist/src/snippet/validation.d.ts +5 -5
- package/dist/src/viber/index.d.ts +592 -102
- package/dist/src/viber/index.d.ts.map +1 -1
- package/dist/src/webchat/index.d.ts +8506 -0
- package/dist/src/webchat/index.d.ts.map +1 -0
- package/dist/src/webchat/schema.d.ts +95 -0
- package/dist/src/webchat/schema.d.ts.map +1 -0
- package/dist/src/webchat/validation.d.ts +36 -0
- package/dist/src/webchat/validation.d.ts.map +1 -0
- package/dist/src/workflow-rule/index.d.ts +7295 -0
- package/dist/src/workflow-rule/index.d.ts.map +1 -0
- package/dist/src/workflow-rule/schema.d.ts +27 -0
- package/dist/src/workflow-rule/schema.d.ts.map +1 -0
- package/dist/src/wrap-up-form/index.d.ts +1000 -6
- package/dist/src/wrap-up-form/index.d.ts.map +1 -1
- package/dist/src/wrap-up-form/schema.d.ts +207 -2
- package/dist/src/wrap-up-form/schema.d.ts.map +1 -1
- package/dist/src/wrap-up-form/validation.d.ts +29 -0
- package/dist/src/wrap-up-form/validation.d.ts.map +1 -1
- package/package.json +1 -1
@@ -160,8 +160,7 @@ export declare const cxLogContract: {
|
|
160
160
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
161
161
|
note: z.ZodNullable<z.ZodString>;
|
162
162
|
disposition: z.ZodNullable<z.ZodString>;
|
163
|
-
|
164
|
-
callTo: z.ZodNullable<z.ZodString>;
|
163
|
+
type: z.ZodString;
|
165
164
|
tags: z.ZodArray<z.ZodObject<{
|
166
165
|
id: z.ZodString;
|
167
166
|
createdAt: z.ZodDate;
|
@@ -181,12 +180,171 @@ export declare const cxLogContract: {
|
|
181
180
|
updatedAt: Date;
|
182
181
|
deletedAt: Date | null;
|
183
182
|
}>, "many">;
|
183
|
+
categories: z.ZodArray<z.ZodObject<{
|
184
|
+
id: z.ZodString;
|
185
|
+
createdAt: z.ZodDate;
|
186
|
+
updatedAt: z.ZodDate;
|
187
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
188
|
+
value: z.ZodString;
|
189
|
+
level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
190
|
+
parentId: z.ZodNullable<z.ZodString>;
|
191
|
+
childCategoryList: z.ZodArray<z.ZodObject<{
|
192
|
+
id: z.ZodString;
|
193
|
+
value: z.ZodString;
|
194
|
+
level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
195
|
+
parentId: z.ZodNullable<z.ZodString>;
|
196
|
+
childCategoryList: z.ZodArray<z.ZodObject<{
|
197
|
+
id: z.ZodString;
|
198
|
+
value: z.ZodString;
|
199
|
+
level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
200
|
+
parentId: z.ZodNullable<z.ZodString>;
|
201
|
+
childCategoryList: z.ZodArray<z.ZodAny, "many">;
|
202
|
+
}, "strip", z.ZodTypeAny, {
|
203
|
+
id: string;
|
204
|
+
value: string;
|
205
|
+
level: 2 | 1 | 3;
|
206
|
+
parentId: string | null;
|
207
|
+
childCategoryList: any[];
|
208
|
+
}, {
|
209
|
+
id: string;
|
210
|
+
value: string;
|
211
|
+
level: 2 | 1 | 3;
|
212
|
+
parentId: string | null;
|
213
|
+
childCategoryList: any[];
|
214
|
+
}>, "many">;
|
215
|
+
}, "strip", z.ZodTypeAny, {
|
216
|
+
id: string;
|
217
|
+
value: string;
|
218
|
+
level: 2 | 1 | 3;
|
219
|
+
parentId: string | null;
|
220
|
+
childCategoryList: {
|
221
|
+
id: string;
|
222
|
+
value: string;
|
223
|
+
level: 2 | 1 | 3;
|
224
|
+
parentId: string | null;
|
225
|
+
childCategoryList: any[];
|
226
|
+
}[];
|
227
|
+
}, {
|
228
|
+
id: string;
|
229
|
+
value: string;
|
230
|
+
level: 2 | 1 | 3;
|
231
|
+
parentId: string | null;
|
232
|
+
childCategoryList: {
|
233
|
+
id: string;
|
234
|
+
value: string;
|
235
|
+
level: 2 | 1 | 3;
|
236
|
+
parentId: string | null;
|
237
|
+
childCategoryList: any[];
|
238
|
+
}[];
|
239
|
+
}>, "many">;
|
240
|
+
}, "strip", z.ZodTypeAny, {
|
241
|
+
id: string;
|
242
|
+
value: string;
|
243
|
+
createdAt: Date;
|
244
|
+
updatedAt: Date;
|
245
|
+
deletedAt: Date | null;
|
246
|
+
level: 2 | 1 | 3;
|
247
|
+
parentId: string | null;
|
248
|
+
childCategoryList: {
|
249
|
+
id: string;
|
250
|
+
value: string;
|
251
|
+
level: 2 | 1 | 3;
|
252
|
+
parentId: string | null;
|
253
|
+
childCategoryList: {
|
254
|
+
id: string;
|
255
|
+
value: string;
|
256
|
+
level: 2 | 1 | 3;
|
257
|
+
parentId: string | null;
|
258
|
+
childCategoryList: any[];
|
259
|
+
}[];
|
260
|
+
}[];
|
261
|
+
}, {
|
262
|
+
id: string;
|
263
|
+
value: string;
|
264
|
+
createdAt: Date;
|
265
|
+
updatedAt: Date;
|
266
|
+
deletedAt: Date | null;
|
267
|
+
level: 2 | 1 | 3;
|
268
|
+
parentId: string | null;
|
269
|
+
childCategoryList: {
|
270
|
+
id: string;
|
271
|
+
value: string;
|
272
|
+
level: 2 | 1 | 3;
|
273
|
+
parentId: string | null;
|
274
|
+
childCategoryList: {
|
275
|
+
id: string;
|
276
|
+
value: string;
|
277
|
+
level: 2 | 1 | 3;
|
278
|
+
parentId: string | null;
|
279
|
+
childCategoryList: any[];
|
280
|
+
}[];
|
281
|
+
}[];
|
282
|
+
}>, "many">;
|
283
|
+
callFrom: z.ZodNullable<z.ZodString>;
|
284
|
+
callTo: z.ZodNullable<z.ZodString>;
|
285
|
+
customFields: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
286
|
+
id: z.ZodString;
|
287
|
+
createdAt: z.ZodDate;
|
288
|
+
updatedAt: z.ZodDate;
|
289
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
290
|
+
textValue: z.ZodNullable<z.ZodString>;
|
291
|
+
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
292
|
+
numberValue: z.ZodNullable<z.ZodNumber>;
|
293
|
+
dateValue: z.ZodNullable<z.ZodDate>;
|
294
|
+
entityId: z.ZodString;
|
295
|
+
attributeId: z.ZodString;
|
296
|
+
}, "strip", z.ZodTypeAny, {
|
297
|
+
id: string;
|
298
|
+
createdAt: Date;
|
299
|
+
updatedAt: Date;
|
300
|
+
deletedAt: Date | null;
|
301
|
+
entityId: string;
|
302
|
+
attributeId: string;
|
303
|
+
textValue: string | null;
|
304
|
+
booleanValue: boolean | null;
|
305
|
+
numberValue: number | null;
|
306
|
+
dateValue: Date | null;
|
307
|
+
}, {
|
308
|
+
id: string;
|
309
|
+
createdAt: Date;
|
310
|
+
updatedAt: Date;
|
311
|
+
deletedAt: Date | null;
|
312
|
+
entityId: string;
|
313
|
+
attributeId: string;
|
314
|
+
textValue: string | null;
|
315
|
+
booleanValue: boolean | null;
|
316
|
+
numberValue: number | null;
|
317
|
+
dateValue: Date | null;
|
318
|
+
}>, "many">>>;
|
184
319
|
}, "strip", z.ZodTypeAny, {
|
320
|
+
type: string;
|
185
321
|
id: string;
|
186
322
|
disposition: string | null;
|
187
323
|
createdAt: Date;
|
188
324
|
updatedAt: Date;
|
189
325
|
deletedAt: Date | null;
|
326
|
+
categories: {
|
327
|
+
id: string;
|
328
|
+
value: string;
|
329
|
+
createdAt: Date;
|
330
|
+
updatedAt: Date;
|
331
|
+
deletedAt: Date | null;
|
332
|
+
level: 2 | 1 | 3;
|
333
|
+
parentId: string | null;
|
334
|
+
childCategoryList: {
|
335
|
+
id: string;
|
336
|
+
value: string;
|
337
|
+
level: 2 | 1 | 3;
|
338
|
+
parentId: string | null;
|
339
|
+
childCategoryList: {
|
340
|
+
id: string;
|
341
|
+
value: string;
|
342
|
+
level: 2 | 1 | 3;
|
343
|
+
parentId: string | null;
|
344
|
+
childCategoryList: any[];
|
345
|
+
}[];
|
346
|
+
}[];
|
347
|
+
}[];
|
190
348
|
tags: {
|
191
349
|
id: string;
|
192
350
|
name: string;
|
@@ -197,12 +355,47 @@ export declare const cxLogContract: {
|
|
197
355
|
callFrom: string | null;
|
198
356
|
callTo: string | null;
|
199
357
|
note: string | null;
|
358
|
+
customFields?: {
|
359
|
+
id: string;
|
360
|
+
createdAt: Date;
|
361
|
+
updatedAt: Date;
|
362
|
+
deletedAt: Date | null;
|
363
|
+
entityId: string;
|
364
|
+
attributeId: string;
|
365
|
+
textValue: string | null;
|
366
|
+
booleanValue: boolean | null;
|
367
|
+
numberValue: number | null;
|
368
|
+
dateValue: Date | null;
|
369
|
+
}[] | null | undefined;
|
200
370
|
}, {
|
371
|
+
type: string;
|
201
372
|
id: string;
|
202
373
|
disposition: string | null;
|
203
374
|
createdAt: Date;
|
204
375
|
updatedAt: Date;
|
205
376
|
deletedAt: Date | null;
|
377
|
+
categories: {
|
378
|
+
id: string;
|
379
|
+
value: string;
|
380
|
+
createdAt: Date;
|
381
|
+
updatedAt: Date;
|
382
|
+
deletedAt: Date | null;
|
383
|
+
level: 2 | 1 | 3;
|
384
|
+
parentId: string | null;
|
385
|
+
childCategoryList: {
|
386
|
+
id: string;
|
387
|
+
value: string;
|
388
|
+
level: 2 | 1 | 3;
|
389
|
+
parentId: string | null;
|
390
|
+
childCategoryList: {
|
391
|
+
id: string;
|
392
|
+
value: string;
|
393
|
+
level: 2 | 1 | 3;
|
394
|
+
parentId: string | null;
|
395
|
+
childCategoryList: any[];
|
396
|
+
}[];
|
397
|
+
}[];
|
398
|
+
}[];
|
206
399
|
tags: {
|
207
400
|
id: string;
|
208
401
|
name: string;
|
@@ -213,6 +406,18 @@ export declare const cxLogContract: {
|
|
213
406
|
callFrom: string | null;
|
214
407
|
callTo: string | null;
|
215
408
|
note: string | null;
|
409
|
+
customFields?: {
|
410
|
+
id: string;
|
411
|
+
createdAt: Date;
|
412
|
+
updatedAt: Date;
|
413
|
+
deletedAt: Date | null;
|
414
|
+
entityId: string;
|
415
|
+
attributeId: string;
|
416
|
+
textValue: string | null;
|
417
|
+
booleanValue: boolean | null;
|
418
|
+
numberValue: number | null;
|
419
|
+
dateValue: Date | null;
|
420
|
+
}[] | null | undefined;
|
216
421
|
}>>;
|
217
422
|
room: z.ZodNullable<z.ZodObject<{
|
218
423
|
id: z.ZodString;
|
@@ -234,7 +439,7 @@ export declare const cxLogContract: {
|
|
234
439
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
235
440
|
channelId: z.ZodString;
|
236
441
|
socialPlatformId: z.ZodString;
|
237
|
-
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
442
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat"]>;
|
238
443
|
metadata: z.ZodObject<{
|
239
444
|
id: z.ZodString;
|
240
445
|
name: z.ZodString;
|
@@ -939,7 +1144,7 @@ export declare const cxLogContract: {
|
|
939
1144
|
}[] | undefined;
|
940
1145
|
}>;
|
941
1146
|
}, "strip", z.ZodTypeAny, {
|
942
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
1147
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
943
1148
|
id: string;
|
944
1149
|
metadata: {
|
945
1150
|
id: string;
|
@@ -1050,7 +1255,7 @@ export declare const cxLogContract: {
|
|
1050
1255
|
channelId: string;
|
1051
1256
|
socialPlatformId: string;
|
1052
1257
|
}, {
|
1053
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
1258
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
1054
1259
|
id: string;
|
1055
1260
|
metadata: {
|
1056
1261
|
id: string;
|
@@ -1575,23 +1780,23 @@ export declare const cxLogContract: {
|
|
1575
1780
|
updatedAt: z.ZodDate;
|
1576
1781
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1577
1782
|
name: z.ZodString;
|
1578
|
-
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
1783
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat"]>;
|
1579
1784
|
metadata: z.ZodObject<{
|
1580
1785
|
id: z.ZodString;
|
1581
1786
|
name: z.ZodString;
|
1582
|
-
accessToken: z.ZodString
|
1787
|
+
accessToken: z.ZodOptional<z.ZodString>;
|
1583
1788
|
channelSecret: z.ZodOptional<z.ZodString>;
|
1584
1789
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
1585
1790
|
}, "strip", z.ZodTypeAny, {
|
1586
1791
|
id: string;
|
1587
1792
|
name: string;
|
1588
|
-
accessToken
|
1793
|
+
accessToken?: string | undefined;
|
1589
1794
|
channelSecret?: string | undefined;
|
1590
1795
|
additionalCredentials?: any;
|
1591
1796
|
}, {
|
1592
1797
|
id: string;
|
1593
1798
|
name: string;
|
1594
|
-
accessToken
|
1799
|
+
accessToken?: string | undefined;
|
1595
1800
|
channelSecret?: string | undefined;
|
1596
1801
|
additionalCredentials?: any;
|
1597
1802
|
}>;
|
@@ -1806,13 +2011,13 @@ export declare const cxLogContract: {
|
|
1806
2011
|
};
|
1807
2012
|
}>;
|
1808
2013
|
}, "strip", z.ZodTypeAny, {
|
1809
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
2014
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
1810
2015
|
id: string;
|
1811
2016
|
name: string;
|
1812
2017
|
metadata: {
|
1813
2018
|
id: string;
|
1814
2019
|
name: string;
|
1815
|
-
accessToken
|
2020
|
+
accessToken?: string | undefined;
|
1816
2021
|
channelSecret?: string | undefined;
|
1817
2022
|
additionalCredentials?: any;
|
1818
2023
|
};
|
@@ -1870,13 +2075,13 @@ export declare const cxLogContract: {
|
|
1870
2075
|
connectedUserName: string;
|
1871
2076
|
connectedUserId: string;
|
1872
2077
|
}, {
|
1873
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
2078
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
1874
2079
|
id: string;
|
1875
2080
|
name: string;
|
1876
2081
|
metadata: {
|
1877
2082
|
id: string;
|
1878
2083
|
name: string;
|
1879
|
-
accessToken
|
2084
|
+
accessToken?: string | undefined;
|
1880
2085
|
channelSecret?: string | undefined;
|
1881
2086
|
additionalCredentials?: any;
|
1882
2087
|
};
|
@@ -1937,13 +2142,13 @@ export declare const cxLogContract: {
|
|
1937
2142
|
}, "strip", z.ZodTypeAny, {
|
1938
2143
|
id: string;
|
1939
2144
|
channel: {
|
1940
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
2145
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
1941
2146
|
id: string;
|
1942
2147
|
name: string;
|
1943
2148
|
metadata: {
|
1944
2149
|
id: string;
|
1945
2150
|
name: string;
|
1946
|
-
accessToken
|
2151
|
+
accessToken?: string | undefined;
|
1947
2152
|
channelSecret?: string | undefined;
|
1948
2153
|
additionalCredentials?: any;
|
1949
2154
|
};
|
@@ -2057,7 +2262,7 @@ export declare const cxLogContract: {
|
|
2057
2262
|
firstResponseAt: Date;
|
2058
2263
|
isLatest: boolean;
|
2059
2264
|
platformContact: {
|
2060
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
2265
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
2061
2266
|
id: string;
|
2062
2267
|
metadata: {
|
2063
2268
|
id: string;
|
@@ -2215,13 +2420,13 @@ export declare const cxLogContract: {
|
|
2215
2420
|
}, {
|
2216
2421
|
id: string;
|
2217
2422
|
channel: {
|
2218
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
2423
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
2219
2424
|
id: string;
|
2220
2425
|
name: string;
|
2221
2426
|
metadata: {
|
2222
2427
|
id: string;
|
2223
2428
|
name: string;
|
2224
|
-
accessToken
|
2429
|
+
accessToken?: string | undefined;
|
2225
2430
|
channelSecret?: string | undefined;
|
2226
2431
|
additionalCredentials?: any;
|
2227
2432
|
};
|
@@ -2335,7 +2540,7 @@ export declare const cxLogContract: {
|
|
2335
2540
|
firstResponseAt: Date;
|
2336
2541
|
isLatest: boolean;
|
2337
2542
|
platformContact: {
|
2338
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
2543
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
2339
2544
|
id: string;
|
2340
2545
|
metadata: {
|
2341
2546
|
id: string;
|
@@ -5633,11 +5838,34 @@ export declare const cxLogContract: {
|
|
5633
5838
|
handledTime: string | null;
|
5634
5839
|
firstResponseTime: string | null;
|
5635
5840
|
wrapUpForm: {
|
5841
|
+
type: string;
|
5636
5842
|
id: string;
|
5637
5843
|
disposition: string | null;
|
5638
5844
|
createdAt: Date;
|
5639
5845
|
updatedAt: Date;
|
5640
5846
|
deletedAt: Date | null;
|
5847
|
+
categories: {
|
5848
|
+
id: string;
|
5849
|
+
value: string;
|
5850
|
+
createdAt: Date;
|
5851
|
+
updatedAt: Date;
|
5852
|
+
deletedAt: Date | null;
|
5853
|
+
level: 2 | 1 | 3;
|
5854
|
+
parentId: string | null;
|
5855
|
+
childCategoryList: {
|
5856
|
+
id: string;
|
5857
|
+
value: string;
|
5858
|
+
level: 2 | 1 | 3;
|
5859
|
+
parentId: string | null;
|
5860
|
+
childCategoryList: {
|
5861
|
+
id: string;
|
5862
|
+
value: string;
|
5863
|
+
level: 2 | 1 | 3;
|
5864
|
+
parentId: string | null;
|
5865
|
+
childCategoryList: any[];
|
5866
|
+
}[];
|
5867
|
+
}[];
|
5868
|
+
}[];
|
5641
5869
|
tags: {
|
5642
5870
|
id: string;
|
5643
5871
|
name: string;
|
@@ -5648,6 +5876,18 @@ export declare const cxLogContract: {
|
|
5648
5876
|
callFrom: string | null;
|
5649
5877
|
callTo: string | null;
|
5650
5878
|
note: string | null;
|
5879
|
+
customFields?: {
|
5880
|
+
id: string;
|
5881
|
+
createdAt: Date;
|
5882
|
+
updatedAt: Date;
|
5883
|
+
deletedAt: Date | null;
|
5884
|
+
entityId: string;
|
5885
|
+
attributeId: string;
|
5886
|
+
textValue: string | null;
|
5887
|
+
booleanValue: boolean | null;
|
5888
|
+
numberValue: number | null;
|
5889
|
+
dateValue: Date | null;
|
5890
|
+
}[] | null | undefined;
|
5651
5891
|
} | null;
|
5652
5892
|
customerPhone: string | null;
|
5653
5893
|
channelType: string | null;
|
@@ -5667,13 +5907,13 @@ export declare const cxLogContract: {
|
|
5667
5907
|
room: {
|
5668
5908
|
id: string;
|
5669
5909
|
channel: {
|
5670
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
5910
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
5671
5911
|
id: string;
|
5672
5912
|
name: string;
|
5673
5913
|
metadata: {
|
5674
5914
|
id: string;
|
5675
5915
|
name: string;
|
5676
|
-
accessToken
|
5916
|
+
accessToken?: string | undefined;
|
5677
5917
|
channelSecret?: string | undefined;
|
5678
5918
|
additionalCredentials?: any;
|
5679
5919
|
};
|
@@ -5787,7 +6027,7 @@ export declare const cxLogContract: {
|
|
5787
6027
|
firstResponseAt: Date;
|
5788
6028
|
isLatest: boolean;
|
5789
6029
|
platformContact: {
|
5790
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
6030
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
5791
6031
|
id: string;
|
5792
6032
|
metadata: {
|
5793
6033
|
id: string;
|
@@ -6358,11 +6598,34 @@ export declare const cxLogContract: {
|
|
6358
6598
|
handledTime: string | null;
|
6359
6599
|
firstResponseTime: string | null;
|
6360
6600
|
wrapUpForm: {
|
6601
|
+
type: string;
|
6361
6602
|
id: string;
|
6362
6603
|
disposition: string | null;
|
6363
6604
|
createdAt: Date;
|
6364
6605
|
updatedAt: Date;
|
6365
6606
|
deletedAt: Date | null;
|
6607
|
+
categories: {
|
6608
|
+
id: string;
|
6609
|
+
value: string;
|
6610
|
+
createdAt: Date;
|
6611
|
+
updatedAt: Date;
|
6612
|
+
deletedAt: Date | null;
|
6613
|
+
level: 2 | 1 | 3;
|
6614
|
+
parentId: string | null;
|
6615
|
+
childCategoryList: {
|
6616
|
+
id: string;
|
6617
|
+
value: string;
|
6618
|
+
level: 2 | 1 | 3;
|
6619
|
+
parentId: string | null;
|
6620
|
+
childCategoryList: {
|
6621
|
+
id: string;
|
6622
|
+
value: string;
|
6623
|
+
level: 2 | 1 | 3;
|
6624
|
+
parentId: string | null;
|
6625
|
+
childCategoryList: any[];
|
6626
|
+
}[];
|
6627
|
+
}[];
|
6628
|
+
}[];
|
6366
6629
|
tags: {
|
6367
6630
|
id: string;
|
6368
6631
|
name: string;
|
@@ -6373,6 +6636,18 @@ export declare const cxLogContract: {
|
|
6373
6636
|
callFrom: string | null;
|
6374
6637
|
callTo: string | null;
|
6375
6638
|
note: string | null;
|
6639
|
+
customFields?: {
|
6640
|
+
id: string;
|
6641
|
+
createdAt: Date;
|
6642
|
+
updatedAt: Date;
|
6643
|
+
deletedAt: Date | null;
|
6644
|
+
entityId: string;
|
6645
|
+
attributeId: string;
|
6646
|
+
textValue: string | null;
|
6647
|
+
booleanValue: boolean | null;
|
6648
|
+
numberValue: number | null;
|
6649
|
+
dateValue: Date | null;
|
6650
|
+
}[] | null | undefined;
|
6376
6651
|
} | null;
|
6377
6652
|
customerPhone: string | null;
|
6378
6653
|
channelType: string | null;
|
@@ -6392,13 +6667,13 @@ export declare const cxLogContract: {
|
|
6392
6667
|
room: {
|
6393
6668
|
id: string;
|
6394
6669
|
channel: {
|
6395
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
6670
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
6396
6671
|
id: string;
|
6397
6672
|
name: string;
|
6398
6673
|
metadata: {
|
6399
6674
|
id: string;
|
6400
6675
|
name: string;
|
6401
|
-
accessToken
|
6676
|
+
accessToken?: string | undefined;
|
6402
6677
|
channelSecret?: string | undefined;
|
6403
6678
|
additionalCredentials?: any;
|
6404
6679
|
};
|
@@ -6512,7 +6787,7 @@ export declare const cxLogContract: {
|
|
6512
6787
|
firstResponseAt: Date;
|
6513
6788
|
isLatest: boolean;
|
6514
6789
|
platformContact: {
|
6515
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
6790
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
6516
6791
|
id: string;
|
6517
6792
|
metadata: {
|
6518
6793
|
id: string;
|
@@ -7089,11 +7364,34 @@ export declare const cxLogContract: {
|
|
7089
7364
|
handledTime: string | null;
|
7090
7365
|
firstResponseTime: string | null;
|
7091
7366
|
wrapUpForm: {
|
7367
|
+
type: string;
|
7092
7368
|
id: string;
|
7093
7369
|
disposition: string | null;
|
7094
7370
|
createdAt: Date;
|
7095
7371
|
updatedAt: Date;
|
7096
7372
|
deletedAt: Date | null;
|
7373
|
+
categories: {
|
7374
|
+
id: string;
|
7375
|
+
value: string;
|
7376
|
+
createdAt: Date;
|
7377
|
+
updatedAt: Date;
|
7378
|
+
deletedAt: Date | null;
|
7379
|
+
level: 2 | 1 | 3;
|
7380
|
+
parentId: string | null;
|
7381
|
+
childCategoryList: {
|
7382
|
+
id: string;
|
7383
|
+
value: string;
|
7384
|
+
level: 2 | 1 | 3;
|
7385
|
+
parentId: string | null;
|
7386
|
+
childCategoryList: {
|
7387
|
+
id: string;
|
7388
|
+
value: string;
|
7389
|
+
level: 2 | 1 | 3;
|
7390
|
+
parentId: string | null;
|
7391
|
+
childCategoryList: any[];
|
7392
|
+
}[];
|
7393
|
+
}[];
|
7394
|
+
}[];
|
7097
7395
|
tags: {
|
7098
7396
|
id: string;
|
7099
7397
|
name: string;
|
@@ -7104,6 +7402,18 @@ export declare const cxLogContract: {
|
|
7104
7402
|
callFrom: string | null;
|
7105
7403
|
callTo: string | null;
|
7106
7404
|
note: string | null;
|
7405
|
+
customFields?: {
|
7406
|
+
id: string;
|
7407
|
+
createdAt: Date;
|
7408
|
+
updatedAt: Date;
|
7409
|
+
deletedAt: Date | null;
|
7410
|
+
entityId: string;
|
7411
|
+
attributeId: string;
|
7412
|
+
textValue: string | null;
|
7413
|
+
booleanValue: boolean | null;
|
7414
|
+
numberValue: number | null;
|
7415
|
+
dateValue: Date | null;
|
7416
|
+
}[] | null | undefined;
|
7107
7417
|
} | null;
|
7108
7418
|
customerPhone: string | null;
|
7109
7419
|
channelType: string | null;
|
@@ -7123,13 +7433,13 @@ export declare const cxLogContract: {
|
|
7123
7433
|
room: {
|
7124
7434
|
id: string;
|
7125
7435
|
channel: {
|
7126
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
7436
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
7127
7437
|
id: string;
|
7128
7438
|
name: string;
|
7129
7439
|
metadata: {
|
7130
7440
|
id: string;
|
7131
7441
|
name: string;
|
7132
|
-
accessToken
|
7442
|
+
accessToken?: string | undefined;
|
7133
7443
|
channelSecret?: string | undefined;
|
7134
7444
|
additionalCredentials?: any;
|
7135
7445
|
};
|
@@ -7243,7 +7553,7 @@ export declare const cxLogContract: {
|
|
7243
7553
|
firstResponseAt: Date;
|
7244
7554
|
isLatest: boolean;
|
7245
7555
|
platformContact: {
|
7246
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
7556
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
7247
7557
|
id: string;
|
7248
7558
|
metadata: {
|
7249
7559
|
id: string;
|
@@ -7820,11 +8130,34 @@ export declare const cxLogContract: {
|
|
7820
8130
|
handledTime: string | null;
|
7821
8131
|
firstResponseTime: string | null;
|
7822
8132
|
wrapUpForm: {
|
8133
|
+
type: string;
|
7823
8134
|
id: string;
|
7824
8135
|
disposition: string | null;
|
7825
8136
|
createdAt: Date;
|
7826
8137
|
updatedAt: Date;
|
7827
8138
|
deletedAt: Date | null;
|
8139
|
+
categories: {
|
8140
|
+
id: string;
|
8141
|
+
value: string;
|
8142
|
+
createdAt: Date;
|
8143
|
+
updatedAt: Date;
|
8144
|
+
deletedAt: Date | null;
|
8145
|
+
level: 2 | 1 | 3;
|
8146
|
+
parentId: string | null;
|
8147
|
+
childCategoryList: {
|
8148
|
+
id: string;
|
8149
|
+
value: string;
|
8150
|
+
level: 2 | 1 | 3;
|
8151
|
+
parentId: string | null;
|
8152
|
+
childCategoryList: {
|
8153
|
+
id: string;
|
8154
|
+
value: string;
|
8155
|
+
level: 2 | 1 | 3;
|
8156
|
+
parentId: string | null;
|
8157
|
+
childCategoryList: any[];
|
8158
|
+
}[];
|
8159
|
+
}[];
|
8160
|
+
}[];
|
7828
8161
|
tags: {
|
7829
8162
|
id: string;
|
7830
8163
|
name: string;
|
@@ -7835,6 +8168,18 @@ export declare const cxLogContract: {
|
|
7835
8168
|
callFrom: string | null;
|
7836
8169
|
callTo: string | null;
|
7837
8170
|
note: string | null;
|
8171
|
+
customFields?: {
|
8172
|
+
id: string;
|
8173
|
+
createdAt: Date;
|
8174
|
+
updatedAt: Date;
|
8175
|
+
deletedAt: Date | null;
|
8176
|
+
entityId: string;
|
8177
|
+
attributeId: string;
|
8178
|
+
textValue: string | null;
|
8179
|
+
booleanValue: boolean | null;
|
8180
|
+
numberValue: number | null;
|
8181
|
+
dateValue: Date | null;
|
8182
|
+
}[] | null | undefined;
|
7838
8183
|
} | null;
|
7839
8184
|
customerPhone: string | null;
|
7840
8185
|
channelType: string | null;
|
@@ -7854,13 +8199,13 @@ export declare const cxLogContract: {
|
|
7854
8199
|
room: {
|
7855
8200
|
id: string;
|
7856
8201
|
channel: {
|
7857
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
8202
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
7858
8203
|
id: string;
|
7859
8204
|
name: string;
|
7860
8205
|
metadata: {
|
7861
8206
|
id: string;
|
7862
8207
|
name: string;
|
7863
|
-
accessToken
|
8208
|
+
accessToken?: string | undefined;
|
7864
8209
|
channelSecret?: string | undefined;
|
7865
8210
|
additionalCredentials?: any;
|
7866
8211
|
};
|
@@ -7974,7 +8319,7 @@ export declare const cxLogContract: {
|
|
7974
8319
|
firstResponseAt: Date;
|
7975
8320
|
isLatest: boolean;
|
7976
8321
|
platformContact: {
|
7977
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
8322
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
7978
8323
|
id: string;
|
7979
8324
|
metadata: {
|
7980
8325
|
id: string;
|