@kl1/contracts 1.0.77 → 1.0.79
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 +2391 -2040
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2390 -2040
- package/dist/index.mjs.map +1 -1
- package/dist/src/call-log/schema.d.ts +6 -6
- package/dist/src/call-log/validation.d.ts +4 -4
- package/dist/src/channel/index.d.ts +92 -88
- package/dist/src/channel/index.d.ts.map +1 -1
- package/dist/src/channel/schema.d.ts +4 -4
- package/dist/src/channel/schema.d.ts.map +1 -1
- package/dist/src/channel/validation.d.ts +3 -3
- package/dist/src/chat/index.d.ts +7108 -3826
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +3391 -1087
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +1945 -304
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/comment/index.d.ts +584 -584
- package/dist/src/comment/schema.d.ts +144 -144
- package/dist/src/contact/index.d.ts +4 -1
- package/dist/src/contact/index.d.ts.map +1 -1
- package/dist/src/contact/schema.d.ts +156 -0
- package/dist/src/contact/schema.d.ts.map +1 -1
- package/dist/src/contract.d.ts +25050 -10486
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/cx-log/index.d.ts +948 -205
- package/dist/src/cx-log/index.d.ts.map +1 -1
- package/dist/src/cx-log/schema.d.ts +920 -263
- package/dist/src/cx-log/schema.d.ts.map +1 -1
- package/dist/src/dashboard/index.d.ts +4 -4
- package/dist/src/dashboard/schema.d.ts +2 -2
- package/dist/src/index.d.ts +0 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/instagram/index.d.ts +2162 -343
- package/dist/src/instagram/index.d.ts.map +1 -1
- package/dist/src/line/index.d.ts +1912 -271
- package/dist/src/line/index.d.ts.map +1 -1
- package/dist/src/mail/mail-contract.d.ts +130 -130
- package/dist/src/mail/message-contract.d.ts +6 -6
- package/dist/src/mail/room-contract.d.ts +124 -124
- package/dist/src/mail/schemas/message.schema.d.ts +4 -4
- package/dist/src/mail/schemas/room-validation.schema.d.ts +40 -40
- package/dist/src/mail/schemas/room.schema.d.ts +30 -30
- package/dist/src/messenger/index.d.ts +2520 -520
- package/dist/src/messenger/index.d.ts.map +1 -1
- package/dist/src/messenger/validation.d.ts +1523 -0
- package/dist/src/messenger/validation.d.ts.map +1 -1
- package/dist/src/notification/index.d.ts +742 -0
- package/dist/src/notification/index.d.ts.map +1 -0
- package/dist/src/notification/schema.d.ts +48 -0
- package/dist/src/notification/schema.d.ts.map +1 -0
- package/dist/src/notification/validation.d.ts +148 -0
- package/dist/src/notification/validation.d.ts.map +1 -0
- package/dist/src/telephony-cdr/index.d.ts +2376 -404
- package/dist/src/telephony-cdr/index.d.ts.map +1 -1
- package/dist/src/telephony-cdr/schema.d.ts +839 -63
- package/dist/src/telephony-cdr/schema.d.ts.map +1 -1
- package/dist/src/telephony-cdr/validation.d.ts +4 -4
- package/dist/src/ticket/index.d.ts +1106 -1106
- package/dist/src/ticket/schema.d.ts +72 -72
- package/dist/src/ticket/validation.d.ts +12 -12
- package/dist/src/viber/index.d.ts +3614 -1248
- package/dist/src/viber/index.d.ts.map +1 -1
- package/dist/src/wrap-up-form/index.d.ts +19 -19
- package/dist/src/wrap-up-form/schema.d.ts +2 -2
- package/dist/src/wrap-up-form/validation.d.ts +3 -3
- package/package.json +1 -1
- package/dist/src/app/index.d.ts +0 -17
- package/dist/src/app/index.d.ts.map +0 -1
- package/dist/src/mail/mail-server.d.ts +0 -216
- package/dist/src/mail/mail-server.d.ts.map +0 -1
- package/dist/src/platform-contact/schema.d.ts +0 -30
- package/dist/src/platform-contact/schema.d.ts.map +0 -1
package/dist/src/line/index.d.ts
CHANGED
@@ -135,7 +135,7 @@ export declare const lineContract: {
|
|
135
135
|
platformContact: z.ZodObject<{
|
136
136
|
channelId: z.ZodString;
|
137
137
|
socialPlatformId: z.ZodNullable<z.ZodString>;
|
138
|
-
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada"
|
138
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
139
139
|
metadata: z.ZodObject<{
|
140
140
|
id: z.ZodString;
|
141
141
|
name: z.ZodString;
|
@@ -175,7 +175,7 @@ export declare const lineContract: {
|
|
175
175
|
socialProfileUrl: string | null;
|
176
176
|
}>;
|
177
177
|
}, "strip", z.ZodTypeAny, {
|
178
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "
|
178
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
179
179
|
metadata: {
|
180
180
|
id: string;
|
181
181
|
name: string;
|
@@ -193,7 +193,7 @@ export declare const lineContract: {
|
|
193
193
|
channelId: string;
|
194
194
|
socialPlatformId: string | null;
|
195
195
|
}, {
|
196
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "
|
196
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
197
197
|
metadata: {
|
198
198
|
id: string;
|
199
199
|
name: string;
|
@@ -229,7 +229,7 @@ export declare const lineContract: {
|
|
229
229
|
}>>;
|
230
230
|
channel: z.ZodObject<{
|
231
231
|
name: z.ZodString;
|
232
|
-
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada"
|
232
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
233
233
|
metadata: z.ZodObject<{
|
234
234
|
id: z.ZodString;
|
235
235
|
name: z.ZodString;
|
@@ -274,7 +274,7 @@ export declare const lineContract: {
|
|
274
274
|
phone: string | null;
|
275
275
|
}>>;
|
276
276
|
}, "strip", z.ZodTypeAny, {
|
277
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "
|
277
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
278
278
|
name: string;
|
279
279
|
metadata: {
|
280
280
|
id: string;
|
@@ -296,7 +296,7 @@ export declare const lineContract: {
|
|
296
296
|
phone: string | null;
|
297
297
|
} | undefined;
|
298
298
|
}, {
|
299
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "
|
299
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
300
300
|
name: string;
|
301
301
|
metadata: {
|
302
302
|
id: string;
|
@@ -321,7 +321,7 @@ export declare const lineContract: {
|
|
321
321
|
}, "strip", z.ZodTypeAny, {
|
322
322
|
id: string;
|
323
323
|
channel: {
|
324
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "
|
324
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
325
325
|
name: string;
|
326
326
|
metadata: {
|
327
327
|
id: string;
|
@@ -352,7 +352,7 @@ export declare const lineContract: {
|
|
352
352
|
} | null;
|
353
353
|
isLatest: boolean;
|
354
354
|
platformContact: {
|
355
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "
|
355
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
356
356
|
metadata: {
|
357
357
|
id: string;
|
358
358
|
name: string;
|
@@ -375,7 +375,7 @@ export declare const lineContract: {
|
|
375
375
|
}, {
|
376
376
|
id: string;
|
377
377
|
channel: {
|
378
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "
|
378
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
379
379
|
name: string;
|
380
380
|
metadata: {
|
381
381
|
id: string;
|
@@ -406,7 +406,7 @@ export declare const lineContract: {
|
|
406
406
|
} | null;
|
407
407
|
isLatest: boolean;
|
408
408
|
platformContact: {
|
409
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "
|
409
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
410
410
|
metadata: {
|
411
411
|
id: string;
|
412
412
|
name: string;
|
@@ -557,7 +557,7 @@ export declare const lineContract: {
|
|
557
557
|
room: {
|
558
558
|
id: string;
|
559
559
|
channel: {
|
560
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "
|
560
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
561
561
|
name: string;
|
562
562
|
metadata: {
|
563
563
|
id: string;
|
@@ -588,7 +588,7 @@ export declare const lineContract: {
|
|
588
588
|
} | null;
|
589
589
|
isLatest: boolean;
|
590
590
|
platformContact: {
|
591
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "
|
591
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
592
592
|
metadata: {
|
593
593
|
id: string;
|
594
594
|
name: string;
|
@@ -640,7 +640,7 @@ export declare const lineContract: {
|
|
640
640
|
room: {
|
641
641
|
id: string;
|
642
642
|
channel: {
|
643
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "
|
643
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
644
644
|
name: string;
|
645
645
|
metadata: {
|
646
646
|
id: string;
|
@@ -671,7 +671,7 @@ export declare const lineContract: {
|
|
671
671
|
} | null;
|
672
672
|
isLatest: boolean;
|
673
673
|
platformContact: {
|
674
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "
|
674
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
675
675
|
metadata: {
|
676
676
|
id: string;
|
677
677
|
name: string;
|
@@ -735,7 +735,7 @@ export declare const lineContract: {
|
|
735
735
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
736
736
|
channelId: z.ZodString;
|
737
737
|
socialPlatformId: z.ZodString;
|
738
|
-
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada"
|
738
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
739
739
|
metadata: z.ZodObject<{
|
740
740
|
id: z.ZodString;
|
741
741
|
name: z.ZodString;
|
@@ -1440,7 +1440,7 @@ export declare const lineContract: {
|
|
1440
1440
|
}[] | undefined;
|
1441
1441
|
}>;
|
1442
1442
|
}, "strip", z.ZodTypeAny, {
|
1443
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "
|
1443
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
1444
1444
|
id: string;
|
1445
1445
|
metadata: {
|
1446
1446
|
id: string;
|
@@ -1551,7 +1551,7 @@ export declare const lineContract: {
|
|
1551
1551
|
channelId: string;
|
1552
1552
|
socialPlatformId: string;
|
1553
1553
|
}, {
|
1554
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "
|
1554
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
1555
1555
|
id: string;
|
1556
1556
|
metadata: {
|
1557
1557
|
id: string;
|
@@ -2076,7 +2076,7 @@ export declare const lineContract: {
|
|
2076
2076
|
updatedAt: z.ZodDate;
|
2077
2077
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2078
2078
|
name: z.ZodString;
|
2079
|
-
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada"
|
2079
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
2080
2080
|
metadata: z.ZodObject<{
|
2081
2081
|
id: z.ZodString;
|
2082
2082
|
name: z.ZodString;
|
@@ -2307,7 +2307,7 @@ export declare const lineContract: {
|
|
2307
2307
|
};
|
2308
2308
|
}>;
|
2309
2309
|
}, "strip", z.ZodTypeAny, {
|
2310
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "
|
2310
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
2311
2311
|
id: string;
|
2312
2312
|
name: string;
|
2313
2313
|
metadata: {
|
@@ -2371,7 +2371,7 @@ export declare const lineContract: {
|
|
2371
2371
|
connectedUserName: string;
|
2372
2372
|
connectedUserId: string;
|
2373
2373
|
}, {
|
2374
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "
|
2374
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
2375
2375
|
id: string;
|
2376
2376
|
name: string;
|
2377
2377
|
metadata: {
|
@@ -2492,9 +2492,9 @@ export declare const lineContract: {
|
|
2492
2492
|
updatedAt: Date;
|
2493
2493
|
deletedAt: Date | null;
|
2494
2494
|
}[];
|
2495
|
-
note: string | null;
|
2496
2495
|
callFrom: string | null;
|
2497
2496
|
callTo: string | null;
|
2497
|
+
note: string | null;
|
2498
2498
|
}, {
|
2499
2499
|
id: string;
|
2500
2500
|
disposition: string | null;
|
@@ -2508,9 +2508,9 @@ export declare const lineContract: {
|
|
2508
2508
|
updatedAt: Date;
|
2509
2509
|
deletedAt: Date | null;
|
2510
2510
|
}[];
|
2511
|
-
note: string | null;
|
2512
2511
|
callFrom: string | null;
|
2513
2512
|
callTo: string | null;
|
2513
|
+
note: string | null;
|
2514
2514
|
}>>;
|
2515
2515
|
}, "strip", z.ZodTypeAny, {
|
2516
2516
|
id: string;
|
@@ -2520,14 +2520,14 @@ export declare const lineContract: {
|
|
2520
2520
|
updatedAt: Date;
|
2521
2521
|
deletedAt: Date | null;
|
2522
2522
|
entityId: string;
|
2523
|
-
|
2523
|
+
queueId: string | null;
|
2524
|
+
contactId: string | null;
|
2524
2525
|
caseId: number;
|
2525
2526
|
entityName: string;
|
2526
|
-
contactId: string | null;
|
2527
|
-
queueId: string | null;
|
2528
2527
|
agentId: string | null;
|
2529
2528
|
startedDate: Date | null;
|
2530
2529
|
handledTime: number | null;
|
2530
|
+
firstResponseTime: number | null;
|
2531
2531
|
wrapUpForm: {
|
2532
2532
|
id: string;
|
2533
2533
|
disposition: string | null;
|
@@ -2541,9 +2541,9 @@ export declare const lineContract: {
|
|
2541
2541
|
updatedAt: Date;
|
2542
2542
|
deletedAt: Date | null;
|
2543
2543
|
}[];
|
2544
|
-
note: string | null;
|
2545
2544
|
callFrom: string | null;
|
2546
2545
|
callTo: string | null;
|
2546
|
+
note: string | null;
|
2547
2547
|
} | null;
|
2548
2548
|
}, {
|
2549
2549
|
id: string;
|
@@ -2553,14 +2553,14 @@ export declare const lineContract: {
|
|
2553
2553
|
updatedAt: Date;
|
2554
2554
|
deletedAt: Date | null;
|
2555
2555
|
entityId: string;
|
2556
|
-
|
2556
|
+
queueId: string | null;
|
2557
|
+
contactId: string | null;
|
2557
2558
|
caseId: number;
|
2558
2559
|
entityName: string;
|
2559
|
-
contactId: string | null;
|
2560
|
-
queueId: string | null;
|
2561
2560
|
agentId: string | null;
|
2562
2561
|
startedDate: Date | null;
|
2563
2562
|
handledTime: number | null;
|
2563
|
+
firstResponseTime: number | null;
|
2564
2564
|
wrapUpForm: {
|
2565
2565
|
id: string;
|
2566
2566
|
disposition: string | null;
|
@@ -2574,15 +2574,15 @@ export declare const lineContract: {
|
|
2574
2574
|
updatedAt: Date;
|
2575
2575
|
deletedAt: Date | null;
|
2576
2576
|
}[];
|
2577
|
-
note: string | null;
|
2578
2577
|
callFrom: string | null;
|
2579
2578
|
callTo: string | null;
|
2579
|
+
note: string | null;
|
2580
2580
|
} | null;
|
2581
2581
|
}>;
|
2582
2582
|
}, "strip", z.ZodTypeAny, {
|
2583
2583
|
id: string;
|
2584
2584
|
channel: {
|
2585
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "
|
2585
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
2586
2586
|
id: string;
|
2587
2587
|
name: string;
|
2588
2588
|
metadata: {
|
@@ -2694,15 +2694,15 @@ export declare const lineContract: {
|
|
2694
2694
|
telephonySignature: string | null;
|
2695
2695
|
};
|
2696
2696
|
};
|
2697
|
+
firstResponseTime: number;
|
2697
2698
|
lastMessage: string;
|
2698
2699
|
handleTime: number;
|
2699
2700
|
closeAt: Date;
|
2700
2701
|
unreadCount: number;
|
2701
2702
|
firstResponseAt: Date;
|
2702
|
-
firstResponseTime: number;
|
2703
2703
|
isLatest: boolean;
|
2704
2704
|
platformContact: {
|
2705
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "
|
2705
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
2706
2706
|
id: string;
|
2707
2707
|
metadata: {
|
2708
2708
|
id: string;
|
@@ -2865,14 +2865,14 @@ export declare const lineContract: {
|
|
2865
2865
|
updatedAt: Date;
|
2866
2866
|
deletedAt: Date | null;
|
2867
2867
|
entityId: string;
|
2868
|
-
|
2868
|
+
queueId: string | null;
|
2869
|
+
contactId: string | null;
|
2869
2870
|
caseId: number;
|
2870
2871
|
entityName: string;
|
2871
|
-
contactId: string | null;
|
2872
|
-
queueId: string | null;
|
2873
2872
|
agentId: string | null;
|
2874
2873
|
startedDate: Date | null;
|
2875
2874
|
handledTime: number | null;
|
2875
|
+
firstResponseTime: number | null;
|
2876
2876
|
wrapUpForm: {
|
2877
2877
|
id: string;
|
2878
2878
|
disposition: string | null;
|
@@ -2886,15 +2886,15 @@ export declare const lineContract: {
|
|
2886
2886
|
updatedAt: Date;
|
2887
2887
|
deletedAt: Date | null;
|
2888
2888
|
}[];
|
2889
|
-
note: string | null;
|
2890
2889
|
callFrom: string | null;
|
2891
2890
|
callTo: string | null;
|
2891
|
+
note: string | null;
|
2892
2892
|
} | null;
|
2893
2893
|
};
|
2894
2894
|
}, {
|
2895
2895
|
id: string;
|
2896
2896
|
channel: {
|
2897
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "
|
2897
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
2898
2898
|
id: string;
|
2899
2899
|
name: string;
|
2900
2900
|
metadata: {
|
@@ -3006,15 +3006,15 @@ export declare const lineContract: {
|
|
3006
3006
|
telephonySignature: string | null;
|
3007
3007
|
};
|
3008
3008
|
};
|
3009
|
+
firstResponseTime: number;
|
3009
3010
|
lastMessage: string;
|
3010
3011
|
handleTime: number;
|
3011
3012
|
closeAt: Date;
|
3012
3013
|
unreadCount: number;
|
3013
3014
|
firstResponseAt: Date;
|
3014
|
-
firstResponseTime: number;
|
3015
3015
|
isLatest: boolean;
|
3016
3016
|
platformContact: {
|
3017
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "
|
3017
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
3018
3018
|
id: string;
|
3019
3019
|
metadata: {
|
3020
3020
|
id: string;
|
@@ -3177,14 +3177,14 @@ export declare const lineContract: {
|
|
3177
3177
|
updatedAt: Date;
|
3178
3178
|
deletedAt: Date | null;
|
3179
3179
|
entityId: string;
|
3180
|
-
|
3180
|
+
queueId: string | null;
|
3181
|
+
contactId: string | null;
|
3181
3182
|
caseId: number;
|
3182
3183
|
entityName: string;
|
3183
|
-
contactId: string | null;
|
3184
|
-
queueId: string | null;
|
3185
3184
|
agentId: string | null;
|
3186
3185
|
startedDate: Date | null;
|
3187
3186
|
handledTime: number | null;
|
3187
|
+
firstResponseTime: number | null;
|
3188
3188
|
wrapUpForm: {
|
3189
3189
|
id: string;
|
3190
3190
|
disposition: string | null;
|
@@ -3198,9 +3198,9 @@ export declare const lineContract: {
|
|
3198
3198
|
updatedAt: Date;
|
3199
3199
|
deletedAt: Date | null;
|
3200
3200
|
}[];
|
3201
|
-
note: string | null;
|
3202
3201
|
callFrom: string | null;
|
3203
3202
|
callTo: string | null;
|
3203
|
+
note: string | null;
|
3204
3204
|
} | null;
|
3205
3205
|
};
|
3206
3206
|
}>;
|
@@ -3238,27 +3238,71 @@ export declare const lineContract: {
|
|
3238
3238
|
fileUrl: string | null;
|
3239
3239
|
status?: string | undefined;
|
3240
3240
|
}>;
|
3241
|
-
|
3241
|
+
repliedMessage: z.ZodLazy<z.ZodObject<{
|
3242
3242
|
id: z.ZodString;
|
3243
3243
|
createdAt: z.ZodDate;
|
3244
3244
|
updatedAt: z.ZodDate;
|
3245
3245
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3246
|
-
|
3247
|
-
|
3248
|
-
|
3249
|
-
|
3250
|
-
|
3251
|
-
|
3252
|
-
|
3253
|
-
|
3246
|
+
message: z.ZodString;
|
3247
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
3248
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started"]>;
|
3249
|
+
readAt: z.ZodDate;
|
3250
|
+
metadata: z.ZodAny;
|
3251
|
+
platformId: z.ZodString;
|
3252
|
+
platformMessageId: z.ZodString;
|
3253
|
+
replyPlatformMessageId: z.ZodString;
|
3254
|
+
template: z.ZodAny;
|
3255
|
+
locale: z.ZodEnum<["mm", "en", "th", ""]>;
|
3256
|
+
url: z.ZodString;
|
3257
|
+
previewUrl: z.ZodString;
|
3258
|
+
imageSetId: z.ZodString;
|
3259
|
+
upload: z.ZodObject<{
|
3254
3260
|
id: z.ZodString;
|
3255
3261
|
createdAt: z.ZodDate;
|
3256
3262
|
updatedAt: z.ZodDate;
|
3257
3263
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3258
|
-
|
3259
|
-
|
3260
|
-
|
3261
|
-
|
3264
|
+
bucketName: z.ZodString;
|
3265
|
+
fileName: z.ZodString;
|
3266
|
+
fileSize: z.ZodNumber;
|
3267
|
+
fileKey: z.ZodString;
|
3268
|
+
fileUrl: z.ZodNullable<z.ZodString>;
|
3269
|
+
status: z.ZodOptional<z.ZodString>;
|
3270
|
+
}, "strip", z.ZodTypeAny, {
|
3271
|
+
id: string;
|
3272
|
+
createdAt: Date;
|
3273
|
+
updatedAt: Date;
|
3274
|
+
deletedAt: Date | null;
|
3275
|
+
fileName: string;
|
3276
|
+
fileKey: string;
|
3277
|
+
bucketName: string;
|
3278
|
+
fileSize: number;
|
3279
|
+
fileUrl: string | null;
|
3280
|
+
status?: string | undefined;
|
3281
|
+
}, {
|
3282
|
+
id: string;
|
3283
|
+
createdAt: Date;
|
3284
|
+
updatedAt: Date;
|
3285
|
+
deletedAt: Date | null;
|
3286
|
+
fileName: string;
|
3287
|
+
fileKey: string;
|
3288
|
+
bucketName: string;
|
3289
|
+
fileSize: number;
|
3290
|
+
fileUrl: string | null;
|
3291
|
+
status?: string | undefined;
|
3292
|
+
}>;
|
3293
|
+
actor: z.ZodObject<{
|
3294
|
+
id: z.ZodString;
|
3295
|
+
createdAt: z.ZodDate;
|
3296
|
+
updatedAt: z.ZodDate;
|
3297
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
3298
|
+
name: z.ZodString;
|
3299
|
+
email: z.ZodString;
|
3300
|
+
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
3301
|
+
password: z.ZodString;
|
3302
|
+
address: z.ZodNullable<z.ZodString>;
|
3303
|
+
phone: z.ZodNullable<z.ZodString>;
|
3304
|
+
notificationCount: z.ZodNullable<z.ZodNumber>;
|
3305
|
+
roles: z.ZodArray<z.ZodObject<{
|
3262
3306
|
id: z.ZodString;
|
3263
3307
|
createdAt: z.ZodDate;
|
3264
3308
|
updatedAt: z.ZodDate;
|
@@ -3266,6 +3310,31 @@ export declare const lineContract: {
|
|
3266
3310
|
systemName: z.ZodString;
|
3267
3311
|
displayName: z.ZodString;
|
3268
3312
|
description: z.ZodNullable<z.ZodString>;
|
3313
|
+
permissions: z.ZodArray<z.ZodObject<{
|
3314
|
+
id: z.ZodString;
|
3315
|
+
createdAt: z.ZodDate;
|
3316
|
+
updatedAt: z.ZodDate;
|
3317
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
3318
|
+
systemName: z.ZodString;
|
3319
|
+
displayName: z.ZodString;
|
3320
|
+
description: z.ZodNullable<z.ZodString>;
|
3321
|
+
}, "strip", z.ZodTypeAny, {
|
3322
|
+
id: string;
|
3323
|
+
description: string | null;
|
3324
|
+
createdAt: Date;
|
3325
|
+
updatedAt: Date;
|
3326
|
+
deletedAt: Date | null;
|
3327
|
+
systemName: string;
|
3328
|
+
displayName: string;
|
3329
|
+
}, {
|
3330
|
+
id: string;
|
3331
|
+
description: string | null;
|
3332
|
+
createdAt: Date;
|
3333
|
+
updatedAt: Date;
|
3334
|
+
deletedAt: Date | null;
|
3335
|
+
systemName: string;
|
3336
|
+
displayName: string;
|
3337
|
+
}>, "many">;
|
3269
3338
|
}, "strip", z.ZodTypeAny, {
|
3270
3339
|
id: string;
|
3271
3340
|
description: string | null;
|
@@ -3274,6 +3343,15 @@ export declare const lineContract: {
|
|
3274
3343
|
deletedAt: Date | null;
|
3275
3344
|
systemName: string;
|
3276
3345
|
displayName: string;
|
3346
|
+
permissions: {
|
3347
|
+
id: string;
|
3348
|
+
description: string | null;
|
3349
|
+
createdAt: Date;
|
3350
|
+
updatedAt: Date;
|
3351
|
+
deletedAt: Date | null;
|
3352
|
+
systemName: string;
|
3353
|
+
displayName: string;
|
3354
|
+
}[];
|
3277
3355
|
}, {
|
3278
3356
|
id: string;
|
3279
3357
|
description: string | null;
|
@@ -3282,16 +3360,66 @@ export declare const lineContract: {
|
|
3282
3360
|
deletedAt: Date | null;
|
3283
3361
|
systemName: string;
|
3284
3362
|
displayName: string;
|
3363
|
+
permissions: {
|
3364
|
+
id: string;
|
3365
|
+
description: string | null;
|
3366
|
+
createdAt: Date;
|
3367
|
+
updatedAt: Date;
|
3368
|
+
deletedAt: Date | null;
|
3369
|
+
systemName: string;
|
3370
|
+
displayName: string;
|
3371
|
+
}[];
|
3285
3372
|
}>, "many">;
|
3373
|
+
extension: z.ZodObject<{
|
3374
|
+
id: z.ZodString;
|
3375
|
+
createdAt: z.ZodDate;
|
3376
|
+
updatedAt: z.ZodDate;
|
3377
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
3378
|
+
userId: z.ZodNullable<z.ZodString>;
|
3379
|
+
sipServerUrl: z.ZodString;
|
3380
|
+
sipUserName: z.ZodString;
|
3381
|
+
webphoneLoginUser: z.ZodString;
|
3382
|
+
extensionId: z.ZodNullable<z.ZodString>;
|
3383
|
+
extensionName: z.ZodString;
|
3384
|
+
telephonySignature: z.ZodNullable<z.ZodString>;
|
3385
|
+
}, "strip", z.ZodTypeAny, {
|
3386
|
+
id: string;
|
3387
|
+
createdAt: Date;
|
3388
|
+
updatedAt: Date;
|
3389
|
+
deletedAt: Date | null;
|
3390
|
+
userId: string | null;
|
3391
|
+
sipServerUrl: string;
|
3392
|
+
sipUserName: string;
|
3393
|
+
webphoneLoginUser: string;
|
3394
|
+
extensionId: string | null;
|
3395
|
+
extensionName: string;
|
3396
|
+
telephonySignature: string | null;
|
3397
|
+
}, {
|
3398
|
+
id: string;
|
3399
|
+
createdAt: Date;
|
3400
|
+
updatedAt: Date;
|
3401
|
+
deletedAt: Date | null;
|
3402
|
+
userId: string | null;
|
3403
|
+
sipServerUrl: string;
|
3404
|
+
sipUserName: string;
|
3405
|
+
webphoneLoginUser: string;
|
3406
|
+
extensionId: string | null;
|
3407
|
+
extensionName: string;
|
3408
|
+
telephonySignature: string | null;
|
3409
|
+
}>;
|
3286
3410
|
}, "strip", z.ZodTypeAny, {
|
3287
3411
|
id: string;
|
3288
|
-
|
3412
|
+
address: string | null;
|
3413
|
+
name: string;
|
3414
|
+
email: string;
|
3289
3415
|
createdAt: Date;
|
3290
3416
|
updatedAt: Date;
|
3291
3417
|
deletedAt: Date | null;
|
3292
|
-
|
3293
|
-
|
3294
|
-
|
3418
|
+
emailVerifiedAt: Date | null;
|
3419
|
+
password: string;
|
3420
|
+
phone: string | null;
|
3421
|
+
notificationCount: number | null;
|
3422
|
+
roles: {
|
3295
3423
|
id: string;
|
3296
3424
|
description: string | null;
|
3297
3425
|
createdAt: Date;
|
@@ -3299,16 +3427,42 @@ export declare const lineContract: {
|
|
3299
3427
|
deletedAt: Date | null;
|
3300
3428
|
systemName: string;
|
3301
3429
|
displayName: string;
|
3430
|
+
permissions: {
|
3431
|
+
id: string;
|
3432
|
+
description: string | null;
|
3433
|
+
createdAt: Date;
|
3434
|
+
updatedAt: Date;
|
3435
|
+
deletedAt: Date | null;
|
3436
|
+
systemName: string;
|
3437
|
+
displayName: string;
|
3438
|
+
}[];
|
3302
3439
|
}[];
|
3440
|
+
extension: {
|
3441
|
+
id: string;
|
3442
|
+
createdAt: Date;
|
3443
|
+
updatedAt: Date;
|
3444
|
+
deletedAt: Date | null;
|
3445
|
+
userId: string | null;
|
3446
|
+
sipServerUrl: string;
|
3447
|
+
sipUserName: string;
|
3448
|
+
webphoneLoginUser: string;
|
3449
|
+
extensionId: string | null;
|
3450
|
+
extensionName: string;
|
3451
|
+
telephonySignature: string | null;
|
3452
|
+
};
|
3303
3453
|
}, {
|
3304
3454
|
id: string;
|
3305
|
-
|
3455
|
+
address: string | null;
|
3456
|
+
name: string;
|
3457
|
+
email: string;
|
3306
3458
|
createdAt: Date;
|
3307
3459
|
updatedAt: Date;
|
3308
3460
|
deletedAt: Date | null;
|
3309
|
-
|
3310
|
-
|
3311
|
-
|
3461
|
+
emailVerifiedAt: Date | null;
|
3462
|
+
password: string;
|
3463
|
+
phone: string | null;
|
3464
|
+
notificationCount: number | null;
|
3465
|
+
roles: {
|
3312
3466
|
id: string;
|
3313
3467
|
description: string | null;
|
3314
3468
|
createdAt: Date;
|
@@ -3316,39 +3470,874 @@ export declare const lineContract: {
|
|
3316
3470
|
deletedAt: Date | null;
|
3317
3471
|
systemName: string;
|
3318
3472
|
displayName: string;
|
3473
|
+
permissions: {
|
3474
|
+
id: string;
|
3475
|
+
description: string | null;
|
3476
|
+
createdAt: Date;
|
3477
|
+
updatedAt: Date;
|
3478
|
+
deletedAt: Date | null;
|
3479
|
+
systemName: string;
|
3480
|
+
displayName: string;
|
3481
|
+
}[];
|
3319
3482
|
}[];
|
3320
|
-
|
3321
|
-
|
3483
|
+
extension: {
|
3484
|
+
id: string;
|
3485
|
+
createdAt: Date;
|
3486
|
+
updatedAt: Date;
|
3487
|
+
deletedAt: Date | null;
|
3488
|
+
userId: string | null;
|
3489
|
+
sipServerUrl: string;
|
3490
|
+
sipUserName: string;
|
3491
|
+
webphoneLoginUser: string;
|
3492
|
+
extensionId: string | null;
|
3493
|
+
extensionName: string;
|
3494
|
+
telephonySignature: string | null;
|
3495
|
+
};
|
3496
|
+
}>;
|
3497
|
+
assignee: z.ZodObject<{
|
3322
3498
|
id: z.ZodString;
|
3323
3499
|
createdAt: z.ZodDate;
|
3324
3500
|
updatedAt: z.ZodDate;
|
3325
3501
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3326
|
-
|
3327
|
-
|
3328
|
-
|
3329
|
-
|
3330
|
-
|
3331
|
-
|
3332
|
-
|
3333
|
-
|
3334
|
-
|
3335
|
-
|
3336
|
-
|
3337
|
-
|
3338
|
-
|
3339
|
-
|
3340
|
-
|
3341
|
-
|
3342
|
-
|
3343
|
-
|
3344
|
-
|
3345
|
-
|
3346
|
-
|
3347
|
-
|
3348
|
-
|
3349
|
-
|
3350
|
-
|
3351
|
-
|
3502
|
+
name: z.ZodString;
|
3503
|
+
email: z.ZodString;
|
3504
|
+
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
3505
|
+
password: z.ZodString;
|
3506
|
+
address: z.ZodNullable<z.ZodString>;
|
3507
|
+
phone: z.ZodNullable<z.ZodString>;
|
3508
|
+
notificationCount: z.ZodNullable<z.ZodNumber>;
|
3509
|
+
roles: z.ZodArray<z.ZodObject<{
|
3510
|
+
id: z.ZodString;
|
3511
|
+
createdAt: z.ZodDate;
|
3512
|
+
updatedAt: z.ZodDate;
|
3513
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
3514
|
+
systemName: z.ZodString;
|
3515
|
+
displayName: z.ZodString;
|
3516
|
+
description: z.ZodNullable<z.ZodString>;
|
3517
|
+
permissions: z.ZodArray<z.ZodObject<{
|
3518
|
+
id: z.ZodString;
|
3519
|
+
createdAt: z.ZodDate;
|
3520
|
+
updatedAt: z.ZodDate;
|
3521
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
3522
|
+
systemName: z.ZodString;
|
3523
|
+
displayName: z.ZodString;
|
3524
|
+
description: z.ZodNullable<z.ZodString>;
|
3525
|
+
}, "strip", z.ZodTypeAny, {
|
3526
|
+
id: string;
|
3527
|
+
description: string | null;
|
3528
|
+
createdAt: Date;
|
3529
|
+
updatedAt: Date;
|
3530
|
+
deletedAt: Date | null;
|
3531
|
+
systemName: string;
|
3532
|
+
displayName: string;
|
3533
|
+
}, {
|
3534
|
+
id: string;
|
3535
|
+
description: string | null;
|
3536
|
+
createdAt: Date;
|
3537
|
+
updatedAt: Date;
|
3538
|
+
deletedAt: Date | null;
|
3539
|
+
systemName: string;
|
3540
|
+
displayName: string;
|
3541
|
+
}>, "many">;
|
3542
|
+
}, "strip", z.ZodTypeAny, {
|
3543
|
+
id: string;
|
3544
|
+
description: string | null;
|
3545
|
+
createdAt: Date;
|
3546
|
+
updatedAt: Date;
|
3547
|
+
deletedAt: Date | null;
|
3548
|
+
systemName: string;
|
3549
|
+
displayName: string;
|
3550
|
+
permissions: {
|
3551
|
+
id: string;
|
3552
|
+
description: string | null;
|
3553
|
+
createdAt: Date;
|
3554
|
+
updatedAt: Date;
|
3555
|
+
deletedAt: Date | null;
|
3556
|
+
systemName: string;
|
3557
|
+
displayName: string;
|
3558
|
+
}[];
|
3559
|
+
}, {
|
3560
|
+
id: string;
|
3561
|
+
description: string | null;
|
3562
|
+
createdAt: Date;
|
3563
|
+
updatedAt: Date;
|
3564
|
+
deletedAt: Date | null;
|
3565
|
+
systemName: string;
|
3566
|
+
displayName: string;
|
3567
|
+
permissions: {
|
3568
|
+
id: string;
|
3569
|
+
description: string | null;
|
3570
|
+
createdAt: Date;
|
3571
|
+
updatedAt: Date;
|
3572
|
+
deletedAt: Date | null;
|
3573
|
+
systemName: string;
|
3574
|
+
displayName: string;
|
3575
|
+
}[];
|
3576
|
+
}>, "many">;
|
3577
|
+
extension: z.ZodObject<{
|
3578
|
+
id: z.ZodString;
|
3579
|
+
createdAt: z.ZodDate;
|
3580
|
+
updatedAt: z.ZodDate;
|
3581
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
3582
|
+
userId: z.ZodNullable<z.ZodString>;
|
3583
|
+
sipServerUrl: z.ZodString;
|
3584
|
+
sipUserName: z.ZodString;
|
3585
|
+
webphoneLoginUser: z.ZodString;
|
3586
|
+
extensionId: z.ZodNullable<z.ZodString>;
|
3587
|
+
extensionName: z.ZodString;
|
3588
|
+
telephonySignature: z.ZodNullable<z.ZodString>;
|
3589
|
+
}, "strip", z.ZodTypeAny, {
|
3590
|
+
id: string;
|
3591
|
+
createdAt: Date;
|
3592
|
+
updatedAt: Date;
|
3593
|
+
deletedAt: Date | null;
|
3594
|
+
userId: string | null;
|
3595
|
+
sipServerUrl: string;
|
3596
|
+
sipUserName: string;
|
3597
|
+
webphoneLoginUser: string;
|
3598
|
+
extensionId: string | null;
|
3599
|
+
extensionName: string;
|
3600
|
+
telephonySignature: string | null;
|
3601
|
+
}, {
|
3602
|
+
id: string;
|
3603
|
+
createdAt: Date;
|
3604
|
+
updatedAt: Date;
|
3605
|
+
deletedAt: Date | null;
|
3606
|
+
userId: string | null;
|
3607
|
+
sipServerUrl: string;
|
3608
|
+
sipUserName: string;
|
3609
|
+
webphoneLoginUser: string;
|
3610
|
+
extensionId: string | null;
|
3611
|
+
extensionName: string;
|
3612
|
+
telephonySignature: string | null;
|
3613
|
+
}>;
|
3614
|
+
}, "strip", z.ZodTypeAny, {
|
3615
|
+
id: string;
|
3616
|
+
address: string | null;
|
3617
|
+
name: string;
|
3618
|
+
email: string;
|
3619
|
+
createdAt: Date;
|
3620
|
+
updatedAt: Date;
|
3621
|
+
deletedAt: Date | null;
|
3622
|
+
emailVerifiedAt: Date | null;
|
3623
|
+
password: string;
|
3624
|
+
phone: string | null;
|
3625
|
+
notificationCount: number | null;
|
3626
|
+
roles: {
|
3627
|
+
id: string;
|
3628
|
+
description: string | null;
|
3629
|
+
createdAt: Date;
|
3630
|
+
updatedAt: Date;
|
3631
|
+
deletedAt: Date | null;
|
3632
|
+
systemName: string;
|
3633
|
+
displayName: string;
|
3634
|
+
permissions: {
|
3635
|
+
id: string;
|
3636
|
+
description: string | null;
|
3637
|
+
createdAt: Date;
|
3638
|
+
updatedAt: Date;
|
3639
|
+
deletedAt: Date | null;
|
3640
|
+
systemName: string;
|
3641
|
+
displayName: string;
|
3642
|
+
}[];
|
3643
|
+
}[];
|
3644
|
+
extension: {
|
3645
|
+
id: string;
|
3646
|
+
createdAt: Date;
|
3647
|
+
updatedAt: Date;
|
3648
|
+
deletedAt: Date | null;
|
3649
|
+
userId: string | null;
|
3650
|
+
sipServerUrl: string;
|
3651
|
+
sipUserName: string;
|
3652
|
+
webphoneLoginUser: string;
|
3653
|
+
extensionId: string | null;
|
3654
|
+
extensionName: string;
|
3655
|
+
telephonySignature: string | null;
|
3656
|
+
};
|
3657
|
+
}, {
|
3658
|
+
id: string;
|
3659
|
+
address: string | null;
|
3660
|
+
name: string;
|
3661
|
+
email: string;
|
3662
|
+
createdAt: Date;
|
3663
|
+
updatedAt: Date;
|
3664
|
+
deletedAt: Date | null;
|
3665
|
+
emailVerifiedAt: Date | null;
|
3666
|
+
password: string;
|
3667
|
+
phone: string | null;
|
3668
|
+
notificationCount: number | null;
|
3669
|
+
roles: {
|
3670
|
+
id: string;
|
3671
|
+
description: string | null;
|
3672
|
+
createdAt: Date;
|
3673
|
+
updatedAt: Date;
|
3674
|
+
deletedAt: Date | null;
|
3675
|
+
systemName: string;
|
3676
|
+
displayName: string;
|
3677
|
+
permissions: {
|
3678
|
+
id: string;
|
3679
|
+
description: string | null;
|
3680
|
+
createdAt: Date;
|
3681
|
+
updatedAt: Date;
|
3682
|
+
deletedAt: Date | null;
|
3683
|
+
systemName: string;
|
3684
|
+
displayName: string;
|
3685
|
+
}[];
|
3686
|
+
}[];
|
3687
|
+
extension: {
|
3688
|
+
id: string;
|
3689
|
+
createdAt: Date;
|
3690
|
+
updatedAt: Date;
|
3691
|
+
deletedAt: Date | null;
|
3692
|
+
userId: string | null;
|
3693
|
+
sipServerUrl: string;
|
3694
|
+
sipUserName: string;
|
3695
|
+
webphoneLoginUser: string;
|
3696
|
+
extensionId: string | null;
|
3697
|
+
extensionName: string;
|
3698
|
+
telephonySignature: string | null;
|
3699
|
+
};
|
3700
|
+
}>;
|
3701
|
+
sender: z.ZodObject<{
|
3702
|
+
id: z.ZodString;
|
3703
|
+
createdAt: z.ZodDate;
|
3704
|
+
updatedAt: z.ZodDate;
|
3705
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
3706
|
+
name: z.ZodString;
|
3707
|
+
email: z.ZodString;
|
3708
|
+
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
3709
|
+
password: z.ZodString;
|
3710
|
+
address: z.ZodNullable<z.ZodString>;
|
3711
|
+
phone: z.ZodNullable<z.ZodString>;
|
3712
|
+
notificationCount: z.ZodNullable<z.ZodNumber>;
|
3713
|
+
roles: z.ZodArray<z.ZodObject<{
|
3714
|
+
id: z.ZodString;
|
3715
|
+
createdAt: z.ZodDate;
|
3716
|
+
updatedAt: z.ZodDate;
|
3717
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
3718
|
+
systemName: z.ZodString;
|
3719
|
+
displayName: z.ZodString;
|
3720
|
+
description: z.ZodNullable<z.ZodString>;
|
3721
|
+
permissions: z.ZodArray<z.ZodObject<{
|
3722
|
+
id: z.ZodString;
|
3723
|
+
createdAt: z.ZodDate;
|
3724
|
+
updatedAt: z.ZodDate;
|
3725
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
3726
|
+
systemName: z.ZodString;
|
3727
|
+
displayName: z.ZodString;
|
3728
|
+
description: z.ZodNullable<z.ZodString>;
|
3729
|
+
}, "strip", z.ZodTypeAny, {
|
3730
|
+
id: string;
|
3731
|
+
description: string | null;
|
3732
|
+
createdAt: Date;
|
3733
|
+
updatedAt: Date;
|
3734
|
+
deletedAt: Date | null;
|
3735
|
+
systemName: string;
|
3736
|
+
displayName: string;
|
3737
|
+
}, {
|
3738
|
+
id: string;
|
3739
|
+
description: string | null;
|
3740
|
+
createdAt: Date;
|
3741
|
+
updatedAt: Date;
|
3742
|
+
deletedAt: Date | null;
|
3743
|
+
systemName: string;
|
3744
|
+
displayName: string;
|
3745
|
+
}>, "many">;
|
3746
|
+
}, "strip", z.ZodTypeAny, {
|
3747
|
+
id: string;
|
3748
|
+
description: string | null;
|
3749
|
+
createdAt: Date;
|
3750
|
+
updatedAt: Date;
|
3751
|
+
deletedAt: Date | null;
|
3752
|
+
systemName: string;
|
3753
|
+
displayName: string;
|
3754
|
+
permissions: {
|
3755
|
+
id: string;
|
3756
|
+
description: string | null;
|
3757
|
+
createdAt: Date;
|
3758
|
+
updatedAt: Date;
|
3759
|
+
deletedAt: Date | null;
|
3760
|
+
systemName: string;
|
3761
|
+
displayName: string;
|
3762
|
+
}[];
|
3763
|
+
}, {
|
3764
|
+
id: string;
|
3765
|
+
description: string | null;
|
3766
|
+
createdAt: Date;
|
3767
|
+
updatedAt: Date;
|
3768
|
+
deletedAt: Date | null;
|
3769
|
+
systemName: string;
|
3770
|
+
displayName: string;
|
3771
|
+
permissions: {
|
3772
|
+
id: string;
|
3773
|
+
description: string | null;
|
3774
|
+
createdAt: Date;
|
3775
|
+
updatedAt: Date;
|
3776
|
+
deletedAt: Date | null;
|
3777
|
+
systemName: string;
|
3778
|
+
displayName: string;
|
3779
|
+
}[];
|
3780
|
+
}>, "many">;
|
3781
|
+
extension: z.ZodObject<{
|
3782
|
+
id: z.ZodString;
|
3783
|
+
createdAt: z.ZodDate;
|
3784
|
+
updatedAt: z.ZodDate;
|
3785
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
3786
|
+
userId: z.ZodNullable<z.ZodString>;
|
3787
|
+
sipServerUrl: z.ZodString;
|
3788
|
+
sipUserName: z.ZodString;
|
3789
|
+
webphoneLoginUser: z.ZodString;
|
3790
|
+
extensionId: z.ZodNullable<z.ZodString>;
|
3791
|
+
extensionName: z.ZodString;
|
3792
|
+
telephonySignature: z.ZodNullable<z.ZodString>;
|
3793
|
+
}, "strip", z.ZodTypeAny, {
|
3794
|
+
id: string;
|
3795
|
+
createdAt: Date;
|
3796
|
+
updatedAt: Date;
|
3797
|
+
deletedAt: Date | null;
|
3798
|
+
userId: string | null;
|
3799
|
+
sipServerUrl: string;
|
3800
|
+
sipUserName: string;
|
3801
|
+
webphoneLoginUser: string;
|
3802
|
+
extensionId: string | null;
|
3803
|
+
extensionName: string;
|
3804
|
+
telephonySignature: string | null;
|
3805
|
+
}, {
|
3806
|
+
id: string;
|
3807
|
+
createdAt: Date;
|
3808
|
+
updatedAt: Date;
|
3809
|
+
deletedAt: Date | null;
|
3810
|
+
userId: string | null;
|
3811
|
+
sipServerUrl: string;
|
3812
|
+
sipUserName: string;
|
3813
|
+
webphoneLoginUser: string;
|
3814
|
+
extensionId: string | null;
|
3815
|
+
extensionName: string;
|
3816
|
+
telephonySignature: string | null;
|
3817
|
+
}>;
|
3818
|
+
}, "strip", z.ZodTypeAny, {
|
3819
|
+
id: string;
|
3820
|
+
address: string | null;
|
3821
|
+
name: string;
|
3822
|
+
email: string;
|
3823
|
+
createdAt: Date;
|
3824
|
+
updatedAt: Date;
|
3825
|
+
deletedAt: Date | null;
|
3826
|
+
emailVerifiedAt: Date | null;
|
3827
|
+
password: string;
|
3828
|
+
phone: string | null;
|
3829
|
+
notificationCount: number | null;
|
3830
|
+
roles: {
|
3831
|
+
id: string;
|
3832
|
+
description: string | null;
|
3833
|
+
createdAt: Date;
|
3834
|
+
updatedAt: Date;
|
3835
|
+
deletedAt: Date | null;
|
3836
|
+
systemName: string;
|
3837
|
+
displayName: string;
|
3838
|
+
permissions: {
|
3839
|
+
id: string;
|
3840
|
+
description: string | null;
|
3841
|
+
createdAt: Date;
|
3842
|
+
updatedAt: Date;
|
3843
|
+
deletedAt: Date | null;
|
3844
|
+
systemName: string;
|
3845
|
+
displayName: string;
|
3846
|
+
}[];
|
3847
|
+
}[];
|
3848
|
+
extension: {
|
3849
|
+
id: string;
|
3850
|
+
createdAt: Date;
|
3851
|
+
updatedAt: Date;
|
3852
|
+
deletedAt: Date | null;
|
3853
|
+
userId: string | null;
|
3854
|
+
sipServerUrl: string;
|
3855
|
+
sipUserName: string;
|
3856
|
+
webphoneLoginUser: string;
|
3857
|
+
extensionId: string | null;
|
3858
|
+
extensionName: string;
|
3859
|
+
telephonySignature: string | null;
|
3860
|
+
};
|
3861
|
+
}, {
|
3862
|
+
id: string;
|
3863
|
+
address: string | null;
|
3864
|
+
name: string;
|
3865
|
+
email: string;
|
3866
|
+
createdAt: Date;
|
3867
|
+
updatedAt: Date;
|
3868
|
+
deletedAt: Date | null;
|
3869
|
+
emailVerifiedAt: Date | null;
|
3870
|
+
password: string;
|
3871
|
+
phone: string | null;
|
3872
|
+
notificationCount: number | null;
|
3873
|
+
roles: {
|
3874
|
+
id: string;
|
3875
|
+
description: string | null;
|
3876
|
+
createdAt: Date;
|
3877
|
+
updatedAt: Date;
|
3878
|
+
deletedAt: Date | null;
|
3879
|
+
systemName: string;
|
3880
|
+
displayName: string;
|
3881
|
+
permissions: {
|
3882
|
+
id: string;
|
3883
|
+
description: string | null;
|
3884
|
+
createdAt: Date;
|
3885
|
+
updatedAt: Date;
|
3886
|
+
deletedAt: Date | null;
|
3887
|
+
systemName: string;
|
3888
|
+
displayName: string;
|
3889
|
+
}[];
|
3890
|
+
}[];
|
3891
|
+
extension: {
|
3892
|
+
id: string;
|
3893
|
+
createdAt: Date;
|
3894
|
+
updatedAt: Date;
|
3895
|
+
deletedAt: Date | null;
|
3896
|
+
userId: string | null;
|
3897
|
+
sipServerUrl: string;
|
3898
|
+
sipUserName: string;
|
3899
|
+
webphoneLoginUser: string;
|
3900
|
+
extensionId: string | null;
|
3901
|
+
extensionName: string;
|
3902
|
+
telephonySignature: string | null;
|
3903
|
+
};
|
3904
|
+
}>;
|
3905
|
+
}, "strip", z.ZodTypeAny, {
|
3906
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started";
|
3907
|
+
message: string;
|
3908
|
+
id: string;
|
3909
|
+
url: string;
|
3910
|
+
direction: "incoming" | "outgoing" | "system";
|
3911
|
+
createdAt: Date;
|
3912
|
+
updatedAt: Date;
|
3913
|
+
deletedAt: Date | null;
|
3914
|
+
actor: {
|
3915
|
+
id: string;
|
3916
|
+
address: string | null;
|
3917
|
+
name: string;
|
3918
|
+
email: string;
|
3919
|
+
createdAt: Date;
|
3920
|
+
updatedAt: Date;
|
3921
|
+
deletedAt: Date | null;
|
3922
|
+
emailVerifiedAt: Date | null;
|
3923
|
+
password: string;
|
3924
|
+
phone: string | null;
|
3925
|
+
notificationCount: number | null;
|
3926
|
+
roles: {
|
3927
|
+
id: string;
|
3928
|
+
description: string | null;
|
3929
|
+
createdAt: Date;
|
3930
|
+
updatedAt: Date;
|
3931
|
+
deletedAt: Date | null;
|
3932
|
+
systemName: string;
|
3933
|
+
displayName: string;
|
3934
|
+
permissions: {
|
3935
|
+
id: string;
|
3936
|
+
description: string | null;
|
3937
|
+
createdAt: Date;
|
3938
|
+
updatedAt: Date;
|
3939
|
+
deletedAt: Date | null;
|
3940
|
+
systemName: string;
|
3941
|
+
displayName: string;
|
3942
|
+
}[];
|
3943
|
+
}[];
|
3944
|
+
extension: {
|
3945
|
+
id: string;
|
3946
|
+
createdAt: Date;
|
3947
|
+
updatedAt: Date;
|
3948
|
+
deletedAt: Date | null;
|
3949
|
+
userId: string | null;
|
3950
|
+
sipServerUrl: string;
|
3951
|
+
sipUserName: string;
|
3952
|
+
webphoneLoginUser: string;
|
3953
|
+
extensionId: string | null;
|
3954
|
+
extensionName: string;
|
3955
|
+
telephonySignature: string | null;
|
3956
|
+
};
|
3957
|
+
};
|
3958
|
+
platformId: string;
|
3959
|
+
assignee: {
|
3960
|
+
id: string;
|
3961
|
+
address: string | null;
|
3962
|
+
name: string;
|
3963
|
+
email: string;
|
3964
|
+
createdAt: Date;
|
3965
|
+
updatedAt: Date;
|
3966
|
+
deletedAt: Date | null;
|
3967
|
+
emailVerifiedAt: Date | null;
|
3968
|
+
password: string;
|
3969
|
+
phone: string | null;
|
3970
|
+
notificationCount: number | null;
|
3971
|
+
roles: {
|
3972
|
+
id: string;
|
3973
|
+
description: string | null;
|
3974
|
+
createdAt: Date;
|
3975
|
+
updatedAt: Date;
|
3976
|
+
deletedAt: Date | null;
|
3977
|
+
systemName: string;
|
3978
|
+
displayName: string;
|
3979
|
+
permissions: {
|
3980
|
+
id: string;
|
3981
|
+
description: string | null;
|
3982
|
+
createdAt: Date;
|
3983
|
+
updatedAt: Date;
|
3984
|
+
deletedAt: Date | null;
|
3985
|
+
systemName: string;
|
3986
|
+
displayName: string;
|
3987
|
+
}[];
|
3988
|
+
}[];
|
3989
|
+
extension: {
|
3990
|
+
id: string;
|
3991
|
+
createdAt: Date;
|
3992
|
+
updatedAt: Date;
|
3993
|
+
deletedAt: Date | null;
|
3994
|
+
userId: string | null;
|
3995
|
+
sipServerUrl: string;
|
3996
|
+
sipUserName: string;
|
3997
|
+
webphoneLoginUser: string;
|
3998
|
+
extensionId: string | null;
|
3999
|
+
extensionName: string;
|
4000
|
+
telephonySignature: string | null;
|
4001
|
+
};
|
4002
|
+
};
|
4003
|
+
readAt: Date;
|
4004
|
+
platformMessageId: string;
|
4005
|
+
replyPlatformMessageId: string;
|
4006
|
+
locale: "" | "th" | "mm" | "en";
|
4007
|
+
previewUrl: string;
|
4008
|
+
imageSetId: string;
|
4009
|
+
upload: {
|
4010
|
+
id: string;
|
4011
|
+
createdAt: Date;
|
4012
|
+
updatedAt: Date;
|
4013
|
+
deletedAt: Date | null;
|
4014
|
+
fileName: string;
|
4015
|
+
fileKey: string;
|
4016
|
+
bucketName: string;
|
4017
|
+
fileSize: number;
|
4018
|
+
fileUrl: string | null;
|
4019
|
+
status?: string | undefined;
|
4020
|
+
};
|
4021
|
+
sender: {
|
4022
|
+
id: string;
|
4023
|
+
address: string | null;
|
4024
|
+
name: string;
|
4025
|
+
email: string;
|
4026
|
+
createdAt: Date;
|
4027
|
+
updatedAt: Date;
|
4028
|
+
deletedAt: Date | null;
|
4029
|
+
emailVerifiedAt: Date | null;
|
4030
|
+
password: string;
|
4031
|
+
phone: string | null;
|
4032
|
+
notificationCount: number | null;
|
4033
|
+
roles: {
|
4034
|
+
id: string;
|
4035
|
+
description: string | null;
|
4036
|
+
createdAt: Date;
|
4037
|
+
updatedAt: Date;
|
4038
|
+
deletedAt: Date | null;
|
4039
|
+
systemName: string;
|
4040
|
+
displayName: string;
|
4041
|
+
permissions: {
|
4042
|
+
id: string;
|
4043
|
+
description: string | null;
|
4044
|
+
createdAt: Date;
|
4045
|
+
updatedAt: Date;
|
4046
|
+
deletedAt: Date | null;
|
4047
|
+
systemName: string;
|
4048
|
+
displayName: string;
|
4049
|
+
}[];
|
4050
|
+
}[];
|
4051
|
+
extension: {
|
4052
|
+
id: string;
|
4053
|
+
createdAt: Date;
|
4054
|
+
updatedAt: Date;
|
4055
|
+
deletedAt: Date | null;
|
4056
|
+
userId: string | null;
|
4057
|
+
sipServerUrl: string;
|
4058
|
+
sipUserName: string;
|
4059
|
+
webphoneLoginUser: string;
|
4060
|
+
extensionId: string | null;
|
4061
|
+
extensionName: string;
|
4062
|
+
telephonySignature: string | null;
|
4063
|
+
};
|
4064
|
+
};
|
4065
|
+
metadata?: any;
|
4066
|
+
template?: any;
|
4067
|
+
}, {
|
4068
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started";
|
4069
|
+
message: string;
|
4070
|
+
id: string;
|
4071
|
+
url: string;
|
4072
|
+
direction: "incoming" | "outgoing" | "system";
|
4073
|
+
createdAt: Date;
|
4074
|
+
updatedAt: Date;
|
4075
|
+
deletedAt: Date | null;
|
4076
|
+
actor: {
|
4077
|
+
id: string;
|
4078
|
+
address: string | null;
|
4079
|
+
name: string;
|
4080
|
+
email: string;
|
4081
|
+
createdAt: Date;
|
4082
|
+
updatedAt: Date;
|
4083
|
+
deletedAt: Date | null;
|
4084
|
+
emailVerifiedAt: Date | null;
|
4085
|
+
password: string;
|
4086
|
+
phone: string | null;
|
4087
|
+
notificationCount: number | null;
|
4088
|
+
roles: {
|
4089
|
+
id: string;
|
4090
|
+
description: string | null;
|
4091
|
+
createdAt: Date;
|
4092
|
+
updatedAt: Date;
|
4093
|
+
deletedAt: Date | null;
|
4094
|
+
systemName: string;
|
4095
|
+
displayName: string;
|
4096
|
+
permissions: {
|
4097
|
+
id: string;
|
4098
|
+
description: string | null;
|
4099
|
+
createdAt: Date;
|
4100
|
+
updatedAt: Date;
|
4101
|
+
deletedAt: Date | null;
|
4102
|
+
systemName: string;
|
4103
|
+
displayName: string;
|
4104
|
+
}[];
|
4105
|
+
}[];
|
4106
|
+
extension: {
|
4107
|
+
id: string;
|
4108
|
+
createdAt: Date;
|
4109
|
+
updatedAt: Date;
|
4110
|
+
deletedAt: Date | null;
|
4111
|
+
userId: string | null;
|
4112
|
+
sipServerUrl: string;
|
4113
|
+
sipUserName: string;
|
4114
|
+
webphoneLoginUser: string;
|
4115
|
+
extensionId: string | null;
|
4116
|
+
extensionName: string;
|
4117
|
+
telephonySignature: string | null;
|
4118
|
+
};
|
4119
|
+
};
|
4120
|
+
platformId: string;
|
4121
|
+
assignee: {
|
4122
|
+
id: string;
|
4123
|
+
address: string | null;
|
4124
|
+
name: string;
|
4125
|
+
email: string;
|
4126
|
+
createdAt: Date;
|
4127
|
+
updatedAt: Date;
|
4128
|
+
deletedAt: Date | null;
|
4129
|
+
emailVerifiedAt: Date | null;
|
4130
|
+
password: string;
|
4131
|
+
phone: string | null;
|
4132
|
+
notificationCount: number | null;
|
4133
|
+
roles: {
|
4134
|
+
id: string;
|
4135
|
+
description: string | null;
|
4136
|
+
createdAt: Date;
|
4137
|
+
updatedAt: Date;
|
4138
|
+
deletedAt: Date | null;
|
4139
|
+
systemName: string;
|
4140
|
+
displayName: string;
|
4141
|
+
permissions: {
|
4142
|
+
id: string;
|
4143
|
+
description: string | null;
|
4144
|
+
createdAt: Date;
|
4145
|
+
updatedAt: Date;
|
4146
|
+
deletedAt: Date | null;
|
4147
|
+
systemName: string;
|
4148
|
+
displayName: string;
|
4149
|
+
}[];
|
4150
|
+
}[];
|
4151
|
+
extension: {
|
4152
|
+
id: string;
|
4153
|
+
createdAt: Date;
|
4154
|
+
updatedAt: Date;
|
4155
|
+
deletedAt: Date | null;
|
4156
|
+
userId: string | null;
|
4157
|
+
sipServerUrl: string;
|
4158
|
+
sipUserName: string;
|
4159
|
+
webphoneLoginUser: string;
|
4160
|
+
extensionId: string | null;
|
4161
|
+
extensionName: string;
|
4162
|
+
telephonySignature: string | null;
|
4163
|
+
};
|
4164
|
+
};
|
4165
|
+
readAt: Date;
|
4166
|
+
platformMessageId: string;
|
4167
|
+
replyPlatformMessageId: string;
|
4168
|
+
locale: "" | "th" | "mm" | "en";
|
4169
|
+
previewUrl: string;
|
4170
|
+
imageSetId: string;
|
4171
|
+
upload: {
|
4172
|
+
id: string;
|
4173
|
+
createdAt: Date;
|
4174
|
+
updatedAt: Date;
|
4175
|
+
deletedAt: Date | null;
|
4176
|
+
fileName: string;
|
4177
|
+
fileKey: string;
|
4178
|
+
bucketName: string;
|
4179
|
+
fileSize: number;
|
4180
|
+
fileUrl: string | null;
|
4181
|
+
status?: string | undefined;
|
4182
|
+
};
|
4183
|
+
sender: {
|
4184
|
+
id: string;
|
4185
|
+
address: string | null;
|
4186
|
+
name: string;
|
4187
|
+
email: string;
|
4188
|
+
createdAt: Date;
|
4189
|
+
updatedAt: Date;
|
4190
|
+
deletedAt: Date | null;
|
4191
|
+
emailVerifiedAt: Date | null;
|
4192
|
+
password: string;
|
4193
|
+
phone: string | null;
|
4194
|
+
notificationCount: number | null;
|
4195
|
+
roles: {
|
4196
|
+
id: string;
|
4197
|
+
description: string | null;
|
4198
|
+
createdAt: Date;
|
4199
|
+
updatedAt: Date;
|
4200
|
+
deletedAt: Date | null;
|
4201
|
+
systemName: string;
|
4202
|
+
displayName: string;
|
4203
|
+
permissions: {
|
4204
|
+
id: string;
|
4205
|
+
description: string | null;
|
4206
|
+
createdAt: Date;
|
4207
|
+
updatedAt: Date;
|
4208
|
+
deletedAt: Date | null;
|
4209
|
+
systemName: string;
|
4210
|
+
displayName: string;
|
4211
|
+
}[];
|
4212
|
+
}[];
|
4213
|
+
extension: {
|
4214
|
+
id: string;
|
4215
|
+
createdAt: Date;
|
4216
|
+
updatedAt: Date;
|
4217
|
+
deletedAt: Date | null;
|
4218
|
+
userId: string | null;
|
4219
|
+
sipServerUrl: string;
|
4220
|
+
sipUserName: string;
|
4221
|
+
webphoneLoginUser: string;
|
4222
|
+
extensionId: string | null;
|
4223
|
+
extensionName: string;
|
4224
|
+
telephonySignature: string | null;
|
4225
|
+
};
|
4226
|
+
};
|
4227
|
+
metadata?: any;
|
4228
|
+
template?: any;
|
4229
|
+
}>>;
|
4230
|
+
actor: z.ZodObject<{
|
4231
|
+
id: z.ZodString;
|
4232
|
+
createdAt: z.ZodDate;
|
4233
|
+
updatedAt: z.ZodDate;
|
4234
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
4235
|
+
name: z.ZodString;
|
4236
|
+
email: z.ZodString;
|
4237
|
+
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
4238
|
+
password: z.ZodString;
|
4239
|
+
address: z.ZodNullable<z.ZodString>;
|
4240
|
+
phone: z.ZodNullable<z.ZodString>;
|
4241
|
+
notificationCount: z.ZodNullable<z.ZodNumber>;
|
4242
|
+
roles: z.ZodArray<z.ZodObject<{
|
4243
|
+
id: z.ZodString;
|
4244
|
+
createdAt: z.ZodDate;
|
4245
|
+
updatedAt: z.ZodDate;
|
4246
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
4247
|
+
systemName: z.ZodString;
|
4248
|
+
displayName: z.ZodString;
|
4249
|
+
description: z.ZodNullable<z.ZodString>;
|
4250
|
+
permissions: z.ZodArray<z.ZodObject<{
|
4251
|
+
id: z.ZodString;
|
4252
|
+
createdAt: z.ZodDate;
|
4253
|
+
updatedAt: z.ZodDate;
|
4254
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
4255
|
+
systemName: z.ZodString;
|
4256
|
+
displayName: z.ZodString;
|
4257
|
+
description: z.ZodNullable<z.ZodString>;
|
4258
|
+
}, "strip", z.ZodTypeAny, {
|
4259
|
+
id: string;
|
4260
|
+
description: string | null;
|
4261
|
+
createdAt: Date;
|
4262
|
+
updatedAt: Date;
|
4263
|
+
deletedAt: Date | null;
|
4264
|
+
systemName: string;
|
4265
|
+
displayName: string;
|
4266
|
+
}, {
|
4267
|
+
id: string;
|
4268
|
+
description: string | null;
|
4269
|
+
createdAt: Date;
|
4270
|
+
updatedAt: Date;
|
4271
|
+
deletedAt: Date | null;
|
4272
|
+
systemName: string;
|
4273
|
+
displayName: string;
|
4274
|
+
}>, "many">;
|
4275
|
+
}, "strip", z.ZodTypeAny, {
|
4276
|
+
id: string;
|
4277
|
+
description: string | null;
|
4278
|
+
createdAt: Date;
|
4279
|
+
updatedAt: Date;
|
4280
|
+
deletedAt: Date | null;
|
4281
|
+
systemName: string;
|
4282
|
+
displayName: string;
|
4283
|
+
permissions: {
|
4284
|
+
id: string;
|
4285
|
+
description: string | null;
|
4286
|
+
createdAt: Date;
|
4287
|
+
updatedAt: Date;
|
4288
|
+
deletedAt: Date | null;
|
4289
|
+
systemName: string;
|
4290
|
+
displayName: string;
|
4291
|
+
}[];
|
4292
|
+
}, {
|
4293
|
+
id: string;
|
4294
|
+
description: string | null;
|
4295
|
+
createdAt: Date;
|
4296
|
+
updatedAt: Date;
|
4297
|
+
deletedAt: Date | null;
|
4298
|
+
systemName: string;
|
4299
|
+
displayName: string;
|
4300
|
+
permissions: {
|
4301
|
+
id: string;
|
4302
|
+
description: string | null;
|
4303
|
+
createdAt: Date;
|
4304
|
+
updatedAt: Date;
|
4305
|
+
deletedAt: Date | null;
|
4306
|
+
systemName: string;
|
4307
|
+
displayName: string;
|
4308
|
+
}[];
|
4309
|
+
}>, "many">;
|
4310
|
+
extension: z.ZodObject<{
|
4311
|
+
id: z.ZodString;
|
4312
|
+
createdAt: z.ZodDate;
|
4313
|
+
updatedAt: z.ZodDate;
|
4314
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
4315
|
+
userId: z.ZodNullable<z.ZodString>;
|
4316
|
+
sipServerUrl: z.ZodString;
|
4317
|
+
sipUserName: z.ZodString;
|
4318
|
+
webphoneLoginUser: z.ZodString;
|
4319
|
+
extensionId: z.ZodNullable<z.ZodString>;
|
4320
|
+
extensionName: z.ZodString;
|
4321
|
+
telephonySignature: z.ZodNullable<z.ZodString>;
|
4322
|
+
}, "strip", z.ZodTypeAny, {
|
4323
|
+
id: string;
|
4324
|
+
createdAt: Date;
|
4325
|
+
updatedAt: Date;
|
4326
|
+
deletedAt: Date | null;
|
4327
|
+
userId: string | null;
|
4328
|
+
sipServerUrl: string;
|
4329
|
+
sipUserName: string;
|
4330
|
+
webphoneLoginUser: string;
|
4331
|
+
extensionId: string | null;
|
4332
|
+
extensionName: string;
|
4333
|
+
telephonySignature: string | null;
|
4334
|
+
}, {
|
4335
|
+
id: string;
|
4336
|
+
createdAt: Date;
|
4337
|
+
updatedAt: Date;
|
4338
|
+
deletedAt: Date | null;
|
4339
|
+
userId: string | null;
|
4340
|
+
sipServerUrl: string;
|
3352
4341
|
sipUserName: string;
|
3353
4342
|
webphoneLoginUser: string;
|
3354
4343
|
extensionId: string | null;
|
@@ -3948,16 +4937,10 @@ export declare const lineContract: {
|
|
3948
4937
|
telephonySignature: string | null;
|
3949
4938
|
};
|
3950
4939
|
};
|
3951
|
-
readAt: Date;
|
3952
|
-
platformMessageId: string;
|
3953
|
-
replyPlatformMessageId: string;
|
3954
|
-
locale: "" | "th" | "mm" | "en";
|
3955
|
-
previewUrl: string;
|
3956
|
-
imageSetId: string;
|
3957
4940
|
room: {
|
3958
4941
|
id: string;
|
3959
4942
|
channel: {
|
3960
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "
|
4943
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
3961
4944
|
id: string;
|
3962
4945
|
name: string;
|
3963
4946
|
metadata: {
|
@@ -4069,15 +5052,15 @@ export declare const lineContract: {
|
|
4069
5052
|
telephonySignature: string | null;
|
4070
5053
|
};
|
4071
5054
|
};
|
5055
|
+
firstResponseTime: number;
|
4072
5056
|
lastMessage: string;
|
4073
5057
|
handleTime: number;
|
4074
5058
|
closeAt: Date;
|
4075
5059
|
unreadCount: number;
|
4076
5060
|
firstResponseAt: Date;
|
4077
|
-
firstResponseTime: number;
|
4078
5061
|
isLatest: boolean;
|
4079
5062
|
platformContact: {
|
4080
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "
|
5063
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
4081
5064
|
id: string;
|
4082
5065
|
metadata: {
|
4083
5066
|
id: string;
|
@@ -4162,32 +5145,183 @@ export declare const lineContract: {
|
|
4162
5145
|
}[];
|
4163
5146
|
contactPhones: {
|
4164
5147
|
id: string;
|
4165
|
-
isPrimary: boolean;
|
5148
|
+
isPrimary: boolean;
|
5149
|
+
createdAt: Date;
|
5150
|
+
updatedAt: Date;
|
5151
|
+
deletedAt: Date | null;
|
5152
|
+
phone: string;
|
5153
|
+
}[];
|
5154
|
+
activityLogs?: {
|
5155
|
+
id: string;
|
5156
|
+
description: string;
|
5157
|
+
createdAt: Date;
|
5158
|
+
updatedAt: Date;
|
5159
|
+
deletedAt: Date | null;
|
5160
|
+
entityId: string;
|
5161
|
+
entityType: {
|
5162
|
+
id: string;
|
5163
|
+
description: string | null;
|
5164
|
+
createdAt: Date;
|
5165
|
+
updatedAt: Date;
|
5166
|
+
deletedAt: Date | null;
|
5167
|
+
entity: string;
|
5168
|
+
};
|
5169
|
+
}[] | undefined;
|
5170
|
+
};
|
5171
|
+
channelId: string;
|
5172
|
+
socialPlatformId: string;
|
5173
|
+
};
|
5174
|
+
assignee: {
|
5175
|
+
id: string;
|
5176
|
+
address: string | null;
|
5177
|
+
name: string;
|
5178
|
+
email: string;
|
5179
|
+
createdAt: Date;
|
5180
|
+
updatedAt: Date;
|
5181
|
+
deletedAt: Date | null;
|
5182
|
+
emailVerifiedAt: Date | null;
|
5183
|
+
password: string;
|
5184
|
+
phone: string | null;
|
5185
|
+
notificationCount: number | null;
|
5186
|
+
roles: {
|
5187
|
+
id: string;
|
5188
|
+
description: string | null;
|
5189
|
+
createdAt: Date;
|
5190
|
+
updatedAt: Date;
|
5191
|
+
deletedAt: Date | null;
|
5192
|
+
systemName: string;
|
5193
|
+
displayName: string;
|
5194
|
+
permissions: {
|
5195
|
+
id: string;
|
5196
|
+
description: string | null;
|
5197
|
+
createdAt: Date;
|
5198
|
+
updatedAt: Date;
|
5199
|
+
deletedAt: Date | null;
|
5200
|
+
systemName: string;
|
5201
|
+
displayName: string;
|
5202
|
+
}[];
|
5203
|
+
}[];
|
5204
|
+
extension: {
|
5205
|
+
id: string;
|
5206
|
+
createdAt: Date;
|
5207
|
+
updatedAt: Date;
|
5208
|
+
deletedAt: Date | null;
|
5209
|
+
userId: string | null;
|
5210
|
+
sipServerUrl: string;
|
5211
|
+
sipUserName: string;
|
5212
|
+
webphoneLoginUser: string;
|
5213
|
+
extensionId: string | null;
|
5214
|
+
extensionName: string;
|
5215
|
+
telephonySignature: string | null;
|
5216
|
+
};
|
5217
|
+
};
|
5218
|
+
cxlog: {
|
5219
|
+
id: string;
|
5220
|
+
channel: string | null;
|
5221
|
+
direction: string | null;
|
5222
|
+
createdAt: Date;
|
5223
|
+
updatedAt: Date;
|
5224
|
+
deletedAt: Date | null;
|
5225
|
+
entityId: string;
|
5226
|
+
queueId: string | null;
|
5227
|
+
contactId: string | null;
|
5228
|
+
caseId: number;
|
5229
|
+
entityName: string;
|
5230
|
+
agentId: string | null;
|
5231
|
+
startedDate: Date | null;
|
5232
|
+
handledTime: number | null;
|
5233
|
+
firstResponseTime: number | null;
|
5234
|
+
wrapUpForm: {
|
5235
|
+
id: string;
|
5236
|
+
disposition: string | null;
|
5237
|
+
createdAt: Date;
|
5238
|
+
updatedAt: Date;
|
5239
|
+
deletedAt: Date | null;
|
5240
|
+
tags: {
|
5241
|
+
id: string;
|
5242
|
+
name: string;
|
5243
|
+
createdAt: Date;
|
5244
|
+
updatedAt: Date;
|
5245
|
+
deletedAt: Date | null;
|
5246
|
+
}[];
|
5247
|
+
callFrom: string | null;
|
5248
|
+
callTo: string | null;
|
5249
|
+
note: string | null;
|
5250
|
+
} | null;
|
5251
|
+
};
|
5252
|
+
};
|
5253
|
+
readAt: Date;
|
5254
|
+
platformMessageId: string;
|
5255
|
+
replyPlatformMessageId: string;
|
5256
|
+
locale: "" | "th" | "mm" | "en";
|
5257
|
+
previewUrl: string;
|
5258
|
+
imageSetId: string;
|
5259
|
+
upload: {
|
5260
|
+
id: string;
|
5261
|
+
createdAt: Date;
|
5262
|
+
updatedAt: Date;
|
5263
|
+
deletedAt: Date | null;
|
5264
|
+
fileName: string;
|
5265
|
+
fileKey: string;
|
5266
|
+
bucketName: string;
|
5267
|
+
fileSize: number;
|
5268
|
+
fileUrl: string | null;
|
5269
|
+
status?: string | undefined;
|
5270
|
+
};
|
5271
|
+
repliedMessage: {
|
5272
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started";
|
5273
|
+
message: string;
|
5274
|
+
id: string;
|
5275
|
+
url: string;
|
5276
|
+
direction: "incoming" | "outgoing" | "system";
|
5277
|
+
createdAt: Date;
|
5278
|
+
updatedAt: Date;
|
5279
|
+
deletedAt: Date | null;
|
5280
|
+
actor: {
|
5281
|
+
id: string;
|
5282
|
+
address: string | null;
|
5283
|
+
name: string;
|
5284
|
+
email: string;
|
5285
|
+
createdAt: Date;
|
5286
|
+
updatedAt: Date;
|
5287
|
+
deletedAt: Date | null;
|
5288
|
+
emailVerifiedAt: Date | null;
|
5289
|
+
password: string;
|
5290
|
+
phone: string | null;
|
5291
|
+
notificationCount: number | null;
|
5292
|
+
roles: {
|
5293
|
+
id: string;
|
5294
|
+
description: string | null;
|
5295
|
+
createdAt: Date;
|
5296
|
+
updatedAt: Date;
|
5297
|
+
deletedAt: Date | null;
|
5298
|
+
systemName: string;
|
5299
|
+
displayName: string;
|
5300
|
+
permissions: {
|
5301
|
+
id: string;
|
5302
|
+
description: string | null;
|
4166
5303
|
createdAt: Date;
|
4167
5304
|
updatedAt: Date;
|
4168
5305
|
deletedAt: Date | null;
|
4169
|
-
|
5306
|
+
systemName: string;
|
5307
|
+
displayName: string;
|
4170
5308
|
}[];
|
4171
|
-
|
4172
|
-
|
4173
|
-
|
4174
|
-
|
4175
|
-
|
4176
|
-
|
4177
|
-
|
4178
|
-
|
4179
|
-
|
4180
|
-
|
4181
|
-
|
4182
|
-
|
4183
|
-
|
4184
|
-
entity: string;
|
4185
|
-
};
|
4186
|
-
}[] | undefined;
|
5309
|
+
}[];
|
5310
|
+
extension: {
|
5311
|
+
id: string;
|
5312
|
+
createdAt: Date;
|
5313
|
+
updatedAt: Date;
|
5314
|
+
deletedAt: Date | null;
|
5315
|
+
userId: string | null;
|
5316
|
+
sipServerUrl: string;
|
5317
|
+
sipUserName: string;
|
5318
|
+
webphoneLoginUser: string;
|
5319
|
+
extensionId: string | null;
|
5320
|
+
extensionName: string;
|
5321
|
+
telephonySignature: string | null;
|
4187
5322
|
};
|
4188
|
-
channelId: string;
|
4189
|
-
socialPlatformId: string;
|
4190
5323
|
};
|
5324
|
+
platformId: string;
|
4191
5325
|
assignee: {
|
4192
5326
|
id: string;
|
4193
5327
|
address: string | null;
|
@@ -4232,52 +5366,70 @@ export declare const lineContract: {
|
|
4232
5366
|
telephonySignature: string | null;
|
4233
5367
|
};
|
4234
5368
|
};
|
4235
|
-
|
5369
|
+
readAt: Date;
|
5370
|
+
platformMessageId: string;
|
5371
|
+
replyPlatformMessageId: string;
|
5372
|
+
locale: "" | "th" | "mm" | "en";
|
5373
|
+
previewUrl: string;
|
5374
|
+
imageSetId: string;
|
5375
|
+
upload: {
|
4236
5376
|
id: string;
|
4237
|
-
channel: string | null;
|
4238
|
-
direction: string | null;
|
4239
5377
|
createdAt: Date;
|
4240
5378
|
updatedAt: Date;
|
4241
5379
|
deletedAt: Date | null;
|
4242
|
-
|
4243
|
-
|
4244
|
-
|
4245
|
-
|
4246
|
-
|
4247
|
-
|
4248
|
-
|
4249
|
-
|
4250
|
-
|
4251
|
-
|
5380
|
+
fileName: string;
|
5381
|
+
fileKey: string;
|
5382
|
+
bucketName: string;
|
5383
|
+
fileSize: number;
|
5384
|
+
fileUrl: string | null;
|
5385
|
+
status?: string | undefined;
|
5386
|
+
};
|
5387
|
+
sender: {
|
5388
|
+
id: string;
|
5389
|
+
address: string | null;
|
5390
|
+
name: string;
|
5391
|
+
email: string;
|
5392
|
+
createdAt: Date;
|
5393
|
+
updatedAt: Date;
|
5394
|
+
deletedAt: Date | null;
|
5395
|
+
emailVerifiedAt: Date | null;
|
5396
|
+
password: string;
|
5397
|
+
phone: string | null;
|
5398
|
+
notificationCount: number | null;
|
5399
|
+
roles: {
|
4252
5400
|
id: string;
|
4253
|
-
|
5401
|
+
description: string | null;
|
4254
5402
|
createdAt: Date;
|
4255
5403
|
updatedAt: Date;
|
4256
5404
|
deletedAt: Date | null;
|
4257
|
-
|
5405
|
+
systemName: string;
|
5406
|
+
displayName: string;
|
5407
|
+
permissions: {
|
4258
5408
|
id: string;
|
4259
|
-
|
5409
|
+
description: string | null;
|
4260
5410
|
createdAt: Date;
|
4261
5411
|
updatedAt: Date;
|
4262
5412
|
deletedAt: Date | null;
|
5413
|
+
systemName: string;
|
5414
|
+
displayName: string;
|
4263
5415
|
}[];
|
4264
|
-
|
4265
|
-
|
4266
|
-
|
4267
|
-
|
5416
|
+
}[];
|
5417
|
+
extension: {
|
5418
|
+
id: string;
|
5419
|
+
createdAt: Date;
|
5420
|
+
updatedAt: Date;
|
5421
|
+
deletedAt: Date | null;
|
5422
|
+
userId: string | null;
|
5423
|
+
sipServerUrl: string;
|
5424
|
+
sipUserName: string;
|
5425
|
+
webphoneLoginUser: string;
|
5426
|
+
extensionId: string | null;
|
5427
|
+
extensionName: string;
|
5428
|
+
telephonySignature: string | null;
|
5429
|
+
};
|
4268
5430
|
};
|
4269
|
-
|
4270
|
-
|
4271
|
-
id: string;
|
4272
|
-
createdAt: Date;
|
4273
|
-
updatedAt: Date;
|
4274
|
-
deletedAt: Date | null;
|
4275
|
-
fileName: string;
|
4276
|
-
fileKey: string;
|
4277
|
-
bucketName: string;
|
4278
|
-
fileSize: number;
|
4279
|
-
fileUrl: string | null;
|
4280
|
-
status?: string | undefined;
|
5431
|
+
metadata?: any;
|
5432
|
+
template?: any;
|
4281
5433
|
};
|
4282
5434
|
sender: {
|
4283
5435
|
id: string;
|
@@ -4423,16 +5575,10 @@ export declare const lineContract: {
|
|
4423
5575
|
telephonySignature: string | null;
|
4424
5576
|
};
|
4425
5577
|
};
|
4426
|
-
readAt: Date;
|
4427
|
-
platformMessageId: string;
|
4428
|
-
replyPlatformMessageId: string;
|
4429
|
-
locale: "" | "th" | "mm" | "en";
|
4430
|
-
previewUrl: string;
|
4431
|
-
imageSetId: string;
|
4432
5578
|
room: {
|
4433
5579
|
id: string;
|
4434
5580
|
channel: {
|
4435
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "
|
5581
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
4436
5582
|
id: string;
|
4437
5583
|
name: string;
|
4438
5584
|
metadata: {
|
@@ -4544,15 +5690,15 @@ export declare const lineContract: {
|
|
4544
5690
|
telephonySignature: string | null;
|
4545
5691
|
};
|
4546
5692
|
};
|
5693
|
+
firstResponseTime: number;
|
4547
5694
|
lastMessage: string;
|
4548
5695
|
handleTime: number;
|
4549
5696
|
closeAt: Date;
|
4550
5697
|
unreadCount: number;
|
4551
5698
|
firstResponseAt: Date;
|
4552
|
-
firstResponseTime: number;
|
4553
5699
|
isLatest: boolean;
|
4554
5700
|
platformContact: {
|
4555
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "
|
5701
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
4556
5702
|
id: string;
|
4557
5703
|
metadata: {
|
4558
5704
|
id: string;
|
@@ -4637,32 +5783,183 @@ export declare const lineContract: {
|
|
4637
5783
|
}[];
|
4638
5784
|
contactPhones: {
|
4639
5785
|
id: string;
|
4640
|
-
isPrimary: boolean;
|
5786
|
+
isPrimary: boolean;
|
5787
|
+
createdAt: Date;
|
5788
|
+
updatedAt: Date;
|
5789
|
+
deletedAt: Date | null;
|
5790
|
+
phone: string;
|
5791
|
+
}[];
|
5792
|
+
activityLogs?: {
|
5793
|
+
id: string;
|
5794
|
+
description: string;
|
5795
|
+
createdAt: Date;
|
5796
|
+
updatedAt: Date;
|
5797
|
+
deletedAt: Date | null;
|
5798
|
+
entityId: string;
|
5799
|
+
entityType: {
|
5800
|
+
id: string;
|
5801
|
+
description: string | null;
|
5802
|
+
createdAt: Date;
|
5803
|
+
updatedAt: Date;
|
5804
|
+
deletedAt: Date | null;
|
5805
|
+
entity: string;
|
5806
|
+
};
|
5807
|
+
}[] | undefined;
|
5808
|
+
};
|
5809
|
+
channelId: string;
|
5810
|
+
socialPlatformId: string;
|
5811
|
+
};
|
5812
|
+
assignee: {
|
5813
|
+
id: string;
|
5814
|
+
address: string | null;
|
5815
|
+
name: string;
|
5816
|
+
email: string;
|
5817
|
+
createdAt: Date;
|
5818
|
+
updatedAt: Date;
|
5819
|
+
deletedAt: Date | null;
|
5820
|
+
emailVerifiedAt: Date | null;
|
5821
|
+
password: string;
|
5822
|
+
phone: string | null;
|
5823
|
+
notificationCount: number | null;
|
5824
|
+
roles: {
|
5825
|
+
id: string;
|
5826
|
+
description: string | null;
|
5827
|
+
createdAt: Date;
|
5828
|
+
updatedAt: Date;
|
5829
|
+
deletedAt: Date | null;
|
5830
|
+
systemName: string;
|
5831
|
+
displayName: string;
|
5832
|
+
permissions: {
|
5833
|
+
id: string;
|
5834
|
+
description: string | null;
|
5835
|
+
createdAt: Date;
|
5836
|
+
updatedAt: Date;
|
5837
|
+
deletedAt: Date | null;
|
5838
|
+
systemName: string;
|
5839
|
+
displayName: string;
|
5840
|
+
}[];
|
5841
|
+
}[];
|
5842
|
+
extension: {
|
5843
|
+
id: string;
|
5844
|
+
createdAt: Date;
|
5845
|
+
updatedAt: Date;
|
5846
|
+
deletedAt: Date | null;
|
5847
|
+
userId: string | null;
|
5848
|
+
sipServerUrl: string;
|
5849
|
+
sipUserName: string;
|
5850
|
+
webphoneLoginUser: string;
|
5851
|
+
extensionId: string | null;
|
5852
|
+
extensionName: string;
|
5853
|
+
telephonySignature: string | null;
|
5854
|
+
};
|
5855
|
+
};
|
5856
|
+
cxlog: {
|
5857
|
+
id: string;
|
5858
|
+
channel: string | null;
|
5859
|
+
direction: string | null;
|
5860
|
+
createdAt: Date;
|
5861
|
+
updatedAt: Date;
|
5862
|
+
deletedAt: Date | null;
|
5863
|
+
entityId: string;
|
5864
|
+
queueId: string | null;
|
5865
|
+
contactId: string | null;
|
5866
|
+
caseId: number;
|
5867
|
+
entityName: string;
|
5868
|
+
agentId: string | null;
|
5869
|
+
startedDate: Date | null;
|
5870
|
+
handledTime: number | null;
|
5871
|
+
firstResponseTime: number | null;
|
5872
|
+
wrapUpForm: {
|
5873
|
+
id: string;
|
5874
|
+
disposition: string | null;
|
5875
|
+
createdAt: Date;
|
5876
|
+
updatedAt: Date;
|
5877
|
+
deletedAt: Date | null;
|
5878
|
+
tags: {
|
5879
|
+
id: string;
|
5880
|
+
name: string;
|
5881
|
+
createdAt: Date;
|
5882
|
+
updatedAt: Date;
|
5883
|
+
deletedAt: Date | null;
|
5884
|
+
}[];
|
5885
|
+
callFrom: string | null;
|
5886
|
+
callTo: string | null;
|
5887
|
+
note: string | null;
|
5888
|
+
} | null;
|
5889
|
+
};
|
5890
|
+
};
|
5891
|
+
readAt: Date;
|
5892
|
+
platformMessageId: string;
|
5893
|
+
replyPlatformMessageId: string;
|
5894
|
+
locale: "" | "th" | "mm" | "en";
|
5895
|
+
previewUrl: string;
|
5896
|
+
imageSetId: string;
|
5897
|
+
upload: {
|
5898
|
+
id: string;
|
5899
|
+
createdAt: Date;
|
5900
|
+
updatedAt: Date;
|
5901
|
+
deletedAt: Date | null;
|
5902
|
+
fileName: string;
|
5903
|
+
fileKey: string;
|
5904
|
+
bucketName: string;
|
5905
|
+
fileSize: number;
|
5906
|
+
fileUrl: string | null;
|
5907
|
+
status?: string | undefined;
|
5908
|
+
};
|
5909
|
+
repliedMessage: {
|
5910
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started";
|
5911
|
+
message: string;
|
5912
|
+
id: string;
|
5913
|
+
url: string;
|
5914
|
+
direction: "incoming" | "outgoing" | "system";
|
5915
|
+
createdAt: Date;
|
5916
|
+
updatedAt: Date;
|
5917
|
+
deletedAt: Date | null;
|
5918
|
+
actor: {
|
5919
|
+
id: string;
|
5920
|
+
address: string | null;
|
5921
|
+
name: string;
|
5922
|
+
email: string;
|
5923
|
+
createdAt: Date;
|
5924
|
+
updatedAt: Date;
|
5925
|
+
deletedAt: Date | null;
|
5926
|
+
emailVerifiedAt: Date | null;
|
5927
|
+
password: string;
|
5928
|
+
phone: string | null;
|
5929
|
+
notificationCount: number | null;
|
5930
|
+
roles: {
|
5931
|
+
id: string;
|
5932
|
+
description: string | null;
|
5933
|
+
createdAt: Date;
|
5934
|
+
updatedAt: Date;
|
5935
|
+
deletedAt: Date | null;
|
5936
|
+
systemName: string;
|
5937
|
+
displayName: string;
|
5938
|
+
permissions: {
|
5939
|
+
id: string;
|
5940
|
+
description: string | null;
|
4641
5941
|
createdAt: Date;
|
4642
5942
|
updatedAt: Date;
|
4643
5943
|
deletedAt: Date | null;
|
4644
|
-
|
5944
|
+
systemName: string;
|
5945
|
+
displayName: string;
|
4645
5946
|
}[];
|
4646
|
-
|
4647
|
-
|
4648
|
-
|
4649
|
-
|
4650
|
-
|
4651
|
-
|
4652
|
-
|
4653
|
-
|
4654
|
-
|
4655
|
-
|
4656
|
-
|
4657
|
-
|
4658
|
-
|
4659
|
-
entity: string;
|
4660
|
-
};
|
4661
|
-
}[] | undefined;
|
5947
|
+
}[];
|
5948
|
+
extension: {
|
5949
|
+
id: string;
|
5950
|
+
createdAt: Date;
|
5951
|
+
updatedAt: Date;
|
5952
|
+
deletedAt: Date | null;
|
5953
|
+
userId: string | null;
|
5954
|
+
sipServerUrl: string;
|
5955
|
+
sipUserName: string;
|
5956
|
+
webphoneLoginUser: string;
|
5957
|
+
extensionId: string | null;
|
5958
|
+
extensionName: string;
|
5959
|
+
telephonySignature: string | null;
|
4662
5960
|
};
|
4663
|
-
channelId: string;
|
4664
|
-
socialPlatformId: string;
|
4665
5961
|
};
|
5962
|
+
platformId: string;
|
4666
5963
|
assignee: {
|
4667
5964
|
id: string;
|
4668
5965
|
address: string | null;
|
@@ -4707,52 +6004,70 @@ export declare const lineContract: {
|
|
4707
6004
|
telephonySignature: string | null;
|
4708
6005
|
};
|
4709
6006
|
};
|
4710
|
-
|
6007
|
+
readAt: Date;
|
6008
|
+
platformMessageId: string;
|
6009
|
+
replyPlatformMessageId: string;
|
6010
|
+
locale: "" | "th" | "mm" | "en";
|
6011
|
+
previewUrl: string;
|
6012
|
+
imageSetId: string;
|
6013
|
+
upload: {
|
4711
6014
|
id: string;
|
4712
|
-
channel: string | null;
|
4713
|
-
direction: string | null;
|
4714
6015
|
createdAt: Date;
|
4715
6016
|
updatedAt: Date;
|
4716
6017
|
deletedAt: Date | null;
|
4717
|
-
|
4718
|
-
|
4719
|
-
|
4720
|
-
|
4721
|
-
|
4722
|
-
|
4723
|
-
|
4724
|
-
|
4725
|
-
|
4726
|
-
|
6018
|
+
fileName: string;
|
6019
|
+
fileKey: string;
|
6020
|
+
bucketName: string;
|
6021
|
+
fileSize: number;
|
6022
|
+
fileUrl: string | null;
|
6023
|
+
status?: string | undefined;
|
6024
|
+
};
|
6025
|
+
sender: {
|
6026
|
+
id: string;
|
6027
|
+
address: string | null;
|
6028
|
+
name: string;
|
6029
|
+
email: string;
|
6030
|
+
createdAt: Date;
|
6031
|
+
updatedAt: Date;
|
6032
|
+
deletedAt: Date | null;
|
6033
|
+
emailVerifiedAt: Date | null;
|
6034
|
+
password: string;
|
6035
|
+
phone: string | null;
|
6036
|
+
notificationCount: number | null;
|
6037
|
+
roles: {
|
4727
6038
|
id: string;
|
4728
|
-
|
6039
|
+
description: string | null;
|
4729
6040
|
createdAt: Date;
|
4730
6041
|
updatedAt: Date;
|
4731
6042
|
deletedAt: Date | null;
|
4732
|
-
|
6043
|
+
systemName: string;
|
6044
|
+
displayName: string;
|
6045
|
+
permissions: {
|
4733
6046
|
id: string;
|
4734
|
-
|
6047
|
+
description: string | null;
|
4735
6048
|
createdAt: Date;
|
4736
6049
|
updatedAt: Date;
|
4737
6050
|
deletedAt: Date | null;
|
6051
|
+
systemName: string;
|
6052
|
+
displayName: string;
|
4738
6053
|
}[];
|
4739
|
-
|
4740
|
-
|
4741
|
-
|
4742
|
-
|
6054
|
+
}[];
|
6055
|
+
extension: {
|
6056
|
+
id: string;
|
6057
|
+
createdAt: Date;
|
6058
|
+
updatedAt: Date;
|
6059
|
+
deletedAt: Date | null;
|
6060
|
+
userId: string | null;
|
6061
|
+
sipServerUrl: string;
|
6062
|
+
sipUserName: string;
|
6063
|
+
webphoneLoginUser: string;
|
6064
|
+
extensionId: string | null;
|
6065
|
+
extensionName: string;
|
6066
|
+
telephonySignature: string | null;
|
6067
|
+
};
|
4743
6068
|
};
|
4744
|
-
|
4745
|
-
|
4746
|
-
id: string;
|
4747
|
-
createdAt: Date;
|
4748
|
-
updatedAt: Date;
|
4749
|
-
deletedAt: Date | null;
|
4750
|
-
fileName: string;
|
4751
|
-
fileKey: string;
|
4752
|
-
bucketName: string;
|
4753
|
-
fileSize: number;
|
4754
|
-
fileUrl: string | null;
|
4755
|
-
status?: string | undefined;
|
6069
|
+
metadata?: any;
|
6070
|
+
template?: any;
|
4756
6071
|
};
|
4757
6072
|
sender: {
|
4758
6073
|
id: string;
|
@@ -4900,16 +6215,10 @@ export declare const lineContract: {
|
|
4900
6215
|
telephonySignature: string | null;
|
4901
6216
|
};
|
4902
6217
|
};
|
4903
|
-
readAt: Date;
|
4904
|
-
platformMessageId: string;
|
4905
|
-
replyPlatformMessageId: string;
|
4906
|
-
locale: "" | "th" | "mm" | "en";
|
4907
|
-
previewUrl: string;
|
4908
|
-
imageSetId: string;
|
4909
6218
|
room: {
|
4910
6219
|
id: string;
|
4911
6220
|
channel: {
|
4912
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "
|
6221
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
4913
6222
|
id: string;
|
4914
6223
|
name: string;
|
4915
6224
|
metadata: {
|
@@ -5021,15 +6330,15 @@ export declare const lineContract: {
|
|
5021
6330
|
telephonySignature: string | null;
|
5022
6331
|
};
|
5023
6332
|
};
|
6333
|
+
firstResponseTime: number;
|
5024
6334
|
lastMessage: string;
|
5025
6335
|
handleTime: number;
|
5026
6336
|
closeAt: Date;
|
5027
6337
|
unreadCount: number;
|
5028
6338
|
firstResponseAt: Date;
|
5029
|
-
firstResponseTime: number;
|
5030
6339
|
isLatest: boolean;
|
5031
6340
|
platformContact: {
|
5032
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "
|
6341
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
5033
6342
|
id: string;
|
5034
6343
|
metadata: {
|
5035
6344
|
id: string;
|
@@ -5137,9 +6446,160 @@ export declare const lineContract: {
|
|
5137
6446
|
};
|
5138
6447
|
}[] | undefined;
|
5139
6448
|
};
|
5140
|
-
channelId: string;
|
5141
|
-
socialPlatformId: string;
|
6449
|
+
channelId: string;
|
6450
|
+
socialPlatformId: string;
|
6451
|
+
};
|
6452
|
+
assignee: {
|
6453
|
+
id: string;
|
6454
|
+
address: string | null;
|
6455
|
+
name: string;
|
6456
|
+
email: string;
|
6457
|
+
createdAt: Date;
|
6458
|
+
updatedAt: Date;
|
6459
|
+
deletedAt: Date | null;
|
6460
|
+
emailVerifiedAt: Date | null;
|
6461
|
+
password: string;
|
6462
|
+
phone: string | null;
|
6463
|
+
notificationCount: number | null;
|
6464
|
+
roles: {
|
6465
|
+
id: string;
|
6466
|
+
description: string | null;
|
6467
|
+
createdAt: Date;
|
6468
|
+
updatedAt: Date;
|
6469
|
+
deletedAt: Date | null;
|
6470
|
+
systemName: string;
|
6471
|
+
displayName: string;
|
6472
|
+
permissions: {
|
6473
|
+
id: string;
|
6474
|
+
description: string | null;
|
6475
|
+
createdAt: Date;
|
6476
|
+
updatedAt: Date;
|
6477
|
+
deletedAt: Date | null;
|
6478
|
+
systemName: string;
|
6479
|
+
displayName: string;
|
6480
|
+
}[];
|
6481
|
+
}[];
|
6482
|
+
extension: {
|
6483
|
+
id: string;
|
6484
|
+
createdAt: Date;
|
6485
|
+
updatedAt: Date;
|
6486
|
+
deletedAt: Date | null;
|
6487
|
+
userId: string | null;
|
6488
|
+
sipServerUrl: string;
|
6489
|
+
sipUserName: string;
|
6490
|
+
webphoneLoginUser: string;
|
6491
|
+
extensionId: string | null;
|
6492
|
+
extensionName: string;
|
6493
|
+
telephonySignature: string | null;
|
6494
|
+
};
|
6495
|
+
};
|
6496
|
+
cxlog: {
|
6497
|
+
id: string;
|
6498
|
+
channel: string | null;
|
6499
|
+
direction: string | null;
|
6500
|
+
createdAt: Date;
|
6501
|
+
updatedAt: Date;
|
6502
|
+
deletedAt: Date | null;
|
6503
|
+
entityId: string;
|
6504
|
+
queueId: string | null;
|
6505
|
+
contactId: string | null;
|
6506
|
+
caseId: number;
|
6507
|
+
entityName: string;
|
6508
|
+
agentId: string | null;
|
6509
|
+
startedDate: Date | null;
|
6510
|
+
handledTime: number | null;
|
6511
|
+
firstResponseTime: number | null;
|
6512
|
+
wrapUpForm: {
|
6513
|
+
id: string;
|
6514
|
+
disposition: string | null;
|
6515
|
+
createdAt: Date;
|
6516
|
+
updatedAt: Date;
|
6517
|
+
deletedAt: Date | null;
|
6518
|
+
tags: {
|
6519
|
+
id: string;
|
6520
|
+
name: string;
|
6521
|
+
createdAt: Date;
|
6522
|
+
updatedAt: Date;
|
6523
|
+
deletedAt: Date | null;
|
6524
|
+
}[];
|
6525
|
+
callFrom: string | null;
|
6526
|
+
callTo: string | null;
|
6527
|
+
note: string | null;
|
6528
|
+
} | null;
|
6529
|
+
};
|
6530
|
+
};
|
6531
|
+
readAt: Date;
|
6532
|
+
platformMessageId: string;
|
6533
|
+
replyPlatformMessageId: string;
|
6534
|
+
locale: "" | "th" | "mm" | "en";
|
6535
|
+
previewUrl: string;
|
6536
|
+
imageSetId: string;
|
6537
|
+
upload: {
|
6538
|
+
id: string;
|
6539
|
+
createdAt: Date;
|
6540
|
+
updatedAt: Date;
|
6541
|
+
deletedAt: Date | null;
|
6542
|
+
fileName: string;
|
6543
|
+
fileKey: string;
|
6544
|
+
bucketName: string;
|
6545
|
+
fileSize: number;
|
6546
|
+
fileUrl: string | null;
|
6547
|
+
status?: string | undefined;
|
6548
|
+
};
|
6549
|
+
repliedMessage: {
|
6550
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started";
|
6551
|
+
message: string;
|
6552
|
+
id: string;
|
6553
|
+
url: string;
|
6554
|
+
direction: "incoming" | "outgoing" | "system";
|
6555
|
+
createdAt: Date;
|
6556
|
+
updatedAt: Date;
|
6557
|
+
deletedAt: Date | null;
|
6558
|
+
actor: {
|
6559
|
+
id: string;
|
6560
|
+
address: string | null;
|
6561
|
+
name: string;
|
6562
|
+
email: string;
|
6563
|
+
createdAt: Date;
|
6564
|
+
updatedAt: Date;
|
6565
|
+
deletedAt: Date | null;
|
6566
|
+
emailVerifiedAt: Date | null;
|
6567
|
+
password: string;
|
6568
|
+
phone: string | null;
|
6569
|
+
notificationCount: number | null;
|
6570
|
+
roles: {
|
6571
|
+
id: string;
|
6572
|
+
description: string | null;
|
6573
|
+
createdAt: Date;
|
6574
|
+
updatedAt: Date;
|
6575
|
+
deletedAt: Date | null;
|
6576
|
+
systemName: string;
|
6577
|
+
displayName: string;
|
6578
|
+
permissions: {
|
6579
|
+
id: string;
|
6580
|
+
description: string | null;
|
6581
|
+
createdAt: Date;
|
6582
|
+
updatedAt: Date;
|
6583
|
+
deletedAt: Date | null;
|
6584
|
+
systemName: string;
|
6585
|
+
displayName: string;
|
6586
|
+
}[];
|
6587
|
+
}[];
|
6588
|
+
extension: {
|
6589
|
+
id: string;
|
6590
|
+
createdAt: Date;
|
6591
|
+
updatedAt: Date;
|
6592
|
+
deletedAt: Date | null;
|
6593
|
+
userId: string | null;
|
6594
|
+
sipServerUrl: string;
|
6595
|
+
sipUserName: string;
|
6596
|
+
webphoneLoginUser: string;
|
6597
|
+
extensionId: string | null;
|
6598
|
+
extensionName: string;
|
6599
|
+
telephonySignature: string | null;
|
6600
|
+
};
|
5142
6601
|
};
|
6602
|
+
platformId: string;
|
5143
6603
|
assignee: {
|
5144
6604
|
id: string;
|
5145
6605
|
address: string | null;
|
@@ -5184,52 +6644,70 @@ export declare const lineContract: {
|
|
5184
6644
|
telephonySignature: string | null;
|
5185
6645
|
};
|
5186
6646
|
};
|
5187
|
-
|
6647
|
+
readAt: Date;
|
6648
|
+
platformMessageId: string;
|
6649
|
+
replyPlatformMessageId: string;
|
6650
|
+
locale: "" | "th" | "mm" | "en";
|
6651
|
+
previewUrl: string;
|
6652
|
+
imageSetId: string;
|
6653
|
+
upload: {
|
5188
6654
|
id: string;
|
5189
|
-
channel: string | null;
|
5190
|
-
direction: string | null;
|
5191
6655
|
createdAt: Date;
|
5192
6656
|
updatedAt: Date;
|
5193
6657
|
deletedAt: Date | null;
|
5194
|
-
|
5195
|
-
|
5196
|
-
|
5197
|
-
|
5198
|
-
|
5199
|
-
|
5200
|
-
|
5201
|
-
|
5202
|
-
|
5203
|
-
|
6658
|
+
fileName: string;
|
6659
|
+
fileKey: string;
|
6660
|
+
bucketName: string;
|
6661
|
+
fileSize: number;
|
6662
|
+
fileUrl: string | null;
|
6663
|
+
status?: string | undefined;
|
6664
|
+
};
|
6665
|
+
sender: {
|
6666
|
+
id: string;
|
6667
|
+
address: string | null;
|
6668
|
+
name: string;
|
6669
|
+
email: string;
|
6670
|
+
createdAt: Date;
|
6671
|
+
updatedAt: Date;
|
6672
|
+
deletedAt: Date | null;
|
6673
|
+
emailVerifiedAt: Date | null;
|
6674
|
+
password: string;
|
6675
|
+
phone: string | null;
|
6676
|
+
notificationCount: number | null;
|
6677
|
+
roles: {
|
5204
6678
|
id: string;
|
5205
|
-
|
6679
|
+
description: string | null;
|
5206
6680
|
createdAt: Date;
|
5207
6681
|
updatedAt: Date;
|
5208
6682
|
deletedAt: Date | null;
|
5209
|
-
|
6683
|
+
systemName: string;
|
6684
|
+
displayName: string;
|
6685
|
+
permissions: {
|
5210
6686
|
id: string;
|
5211
|
-
|
6687
|
+
description: string | null;
|
5212
6688
|
createdAt: Date;
|
5213
6689
|
updatedAt: Date;
|
5214
6690
|
deletedAt: Date | null;
|
6691
|
+
systemName: string;
|
6692
|
+
displayName: string;
|
5215
6693
|
}[];
|
5216
|
-
|
5217
|
-
|
5218
|
-
|
5219
|
-
|
6694
|
+
}[];
|
6695
|
+
extension: {
|
6696
|
+
id: string;
|
6697
|
+
createdAt: Date;
|
6698
|
+
updatedAt: Date;
|
6699
|
+
deletedAt: Date | null;
|
6700
|
+
userId: string | null;
|
6701
|
+
sipServerUrl: string;
|
6702
|
+
sipUserName: string;
|
6703
|
+
webphoneLoginUser: string;
|
6704
|
+
extensionId: string | null;
|
6705
|
+
extensionName: string;
|
6706
|
+
telephonySignature: string | null;
|
6707
|
+
};
|
5220
6708
|
};
|
5221
|
-
|
5222
|
-
|
5223
|
-
id: string;
|
5224
|
-
createdAt: Date;
|
5225
|
-
updatedAt: Date;
|
5226
|
-
deletedAt: Date | null;
|
5227
|
-
fileName: string;
|
5228
|
-
fileKey: string;
|
5229
|
-
bucketName: string;
|
5230
|
-
fileSize: number;
|
5231
|
-
fileUrl: string | null;
|
5232
|
-
status?: string | undefined;
|
6709
|
+
metadata?: any;
|
6710
|
+
template?: any;
|
5233
6711
|
};
|
5234
6712
|
sender: {
|
5235
6713
|
id: string;
|
@@ -5378,16 +6856,10 @@ export declare const lineContract: {
|
|
5378
6856
|
telephonySignature: string | null;
|
5379
6857
|
};
|
5380
6858
|
};
|
5381
|
-
readAt: Date;
|
5382
|
-
platformMessageId: string;
|
5383
|
-
replyPlatformMessageId: string;
|
5384
|
-
locale: "" | "th" | "mm" | "en";
|
5385
|
-
previewUrl: string;
|
5386
|
-
imageSetId: string;
|
5387
6859
|
room: {
|
5388
6860
|
id: string;
|
5389
6861
|
channel: {
|
5390
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "
|
6862
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
5391
6863
|
id: string;
|
5392
6864
|
name: string;
|
5393
6865
|
metadata: {
|
@@ -5499,15 +6971,15 @@ export declare const lineContract: {
|
|
5499
6971
|
telephonySignature: string | null;
|
5500
6972
|
};
|
5501
6973
|
};
|
6974
|
+
firstResponseTime: number;
|
5502
6975
|
lastMessage: string;
|
5503
6976
|
handleTime: number;
|
5504
6977
|
closeAt: Date;
|
5505
6978
|
unreadCount: number;
|
5506
6979
|
firstResponseAt: Date;
|
5507
|
-
firstResponseTime: number;
|
5508
6980
|
isLatest: boolean;
|
5509
6981
|
platformContact: {
|
5510
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "
|
6982
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
5511
6983
|
id: string;
|
5512
6984
|
metadata: {
|
5513
6985
|
id: string;
|
@@ -5670,14 +7142,14 @@ export declare const lineContract: {
|
|
5670
7142
|
updatedAt: Date;
|
5671
7143
|
deletedAt: Date | null;
|
5672
7144
|
entityId: string;
|
5673
|
-
|
7145
|
+
queueId: string | null;
|
7146
|
+
contactId: string | null;
|
5674
7147
|
caseId: number;
|
5675
7148
|
entityName: string;
|
5676
|
-
contactId: string | null;
|
5677
|
-
queueId: string | null;
|
5678
7149
|
agentId: string | null;
|
5679
7150
|
startedDate: Date | null;
|
5680
7151
|
handledTime: number | null;
|
7152
|
+
firstResponseTime: number | null;
|
5681
7153
|
wrapUpForm: {
|
5682
7154
|
id: string;
|
5683
7155
|
disposition: string | null;
|
@@ -5691,12 +7163,18 @@ export declare const lineContract: {
|
|
5691
7163
|
updatedAt: Date;
|
5692
7164
|
deletedAt: Date | null;
|
5693
7165
|
}[];
|
5694
|
-
note: string | null;
|
5695
7166
|
callFrom: string | null;
|
5696
7167
|
callTo: string | null;
|
7168
|
+
note: string | null;
|
5697
7169
|
} | null;
|
5698
7170
|
};
|
5699
7171
|
};
|
7172
|
+
readAt: Date;
|
7173
|
+
platformMessageId: string;
|
7174
|
+
replyPlatformMessageId: string;
|
7175
|
+
locale: "" | "th" | "mm" | "en";
|
7176
|
+
previewUrl: string;
|
7177
|
+
imageSetId: string;
|
5700
7178
|
upload: {
|
5701
7179
|
id: string;
|
5702
7180
|
createdAt: Date;
|
@@ -5709,6 +7187,169 @@ export declare const lineContract: {
|
|
5709
7187
|
fileUrl: string | null;
|
5710
7188
|
status?: string | undefined;
|
5711
7189
|
};
|
7190
|
+
repliedMessage: {
|
7191
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started";
|
7192
|
+
message: string;
|
7193
|
+
id: string;
|
7194
|
+
url: string;
|
7195
|
+
direction: "incoming" | "outgoing" | "system";
|
7196
|
+
createdAt: Date;
|
7197
|
+
updatedAt: Date;
|
7198
|
+
deletedAt: Date | null;
|
7199
|
+
actor: {
|
7200
|
+
id: string;
|
7201
|
+
address: string | null;
|
7202
|
+
name: string;
|
7203
|
+
email: string;
|
7204
|
+
createdAt: Date;
|
7205
|
+
updatedAt: Date;
|
7206
|
+
deletedAt: Date | null;
|
7207
|
+
emailVerifiedAt: Date | null;
|
7208
|
+
password: string;
|
7209
|
+
phone: string | null;
|
7210
|
+
notificationCount: number | null;
|
7211
|
+
roles: {
|
7212
|
+
id: string;
|
7213
|
+
description: string | null;
|
7214
|
+
createdAt: Date;
|
7215
|
+
updatedAt: Date;
|
7216
|
+
deletedAt: Date | null;
|
7217
|
+
systemName: string;
|
7218
|
+
displayName: string;
|
7219
|
+
permissions: {
|
7220
|
+
id: string;
|
7221
|
+
description: string | null;
|
7222
|
+
createdAt: Date;
|
7223
|
+
updatedAt: Date;
|
7224
|
+
deletedAt: Date | null;
|
7225
|
+
systemName: string;
|
7226
|
+
displayName: string;
|
7227
|
+
}[];
|
7228
|
+
}[];
|
7229
|
+
extension: {
|
7230
|
+
id: string;
|
7231
|
+
createdAt: Date;
|
7232
|
+
updatedAt: Date;
|
7233
|
+
deletedAt: Date | null;
|
7234
|
+
userId: string | null;
|
7235
|
+
sipServerUrl: string;
|
7236
|
+
sipUserName: string;
|
7237
|
+
webphoneLoginUser: string;
|
7238
|
+
extensionId: string | null;
|
7239
|
+
extensionName: string;
|
7240
|
+
telephonySignature: string | null;
|
7241
|
+
};
|
7242
|
+
};
|
7243
|
+
platformId: string;
|
7244
|
+
assignee: {
|
7245
|
+
id: string;
|
7246
|
+
address: string | null;
|
7247
|
+
name: string;
|
7248
|
+
email: string;
|
7249
|
+
createdAt: Date;
|
7250
|
+
updatedAt: Date;
|
7251
|
+
deletedAt: Date | null;
|
7252
|
+
emailVerifiedAt: Date | null;
|
7253
|
+
password: string;
|
7254
|
+
phone: string | null;
|
7255
|
+
notificationCount: number | null;
|
7256
|
+
roles: {
|
7257
|
+
id: string;
|
7258
|
+
description: string | null;
|
7259
|
+
createdAt: Date;
|
7260
|
+
updatedAt: Date;
|
7261
|
+
deletedAt: Date | null;
|
7262
|
+
systemName: string;
|
7263
|
+
displayName: string;
|
7264
|
+
permissions: {
|
7265
|
+
id: string;
|
7266
|
+
description: string | null;
|
7267
|
+
createdAt: Date;
|
7268
|
+
updatedAt: Date;
|
7269
|
+
deletedAt: Date | null;
|
7270
|
+
systemName: string;
|
7271
|
+
displayName: string;
|
7272
|
+
}[];
|
7273
|
+
}[];
|
7274
|
+
extension: {
|
7275
|
+
id: string;
|
7276
|
+
createdAt: Date;
|
7277
|
+
updatedAt: Date;
|
7278
|
+
deletedAt: Date | null;
|
7279
|
+
userId: string | null;
|
7280
|
+
sipServerUrl: string;
|
7281
|
+
sipUserName: string;
|
7282
|
+
webphoneLoginUser: string;
|
7283
|
+
extensionId: string | null;
|
7284
|
+
extensionName: string;
|
7285
|
+
telephonySignature: string | null;
|
7286
|
+
};
|
7287
|
+
};
|
7288
|
+
readAt: Date;
|
7289
|
+
platformMessageId: string;
|
7290
|
+
replyPlatformMessageId: string;
|
7291
|
+
locale: "" | "th" | "mm" | "en";
|
7292
|
+
previewUrl: string;
|
7293
|
+
imageSetId: string;
|
7294
|
+
upload: {
|
7295
|
+
id: string;
|
7296
|
+
createdAt: Date;
|
7297
|
+
updatedAt: Date;
|
7298
|
+
deletedAt: Date | null;
|
7299
|
+
fileName: string;
|
7300
|
+
fileKey: string;
|
7301
|
+
bucketName: string;
|
7302
|
+
fileSize: number;
|
7303
|
+
fileUrl: string | null;
|
7304
|
+
status?: string | undefined;
|
7305
|
+
};
|
7306
|
+
sender: {
|
7307
|
+
id: string;
|
7308
|
+
address: string | null;
|
7309
|
+
name: string;
|
7310
|
+
email: string;
|
7311
|
+
createdAt: Date;
|
7312
|
+
updatedAt: Date;
|
7313
|
+
deletedAt: Date | null;
|
7314
|
+
emailVerifiedAt: Date | null;
|
7315
|
+
password: string;
|
7316
|
+
phone: string | null;
|
7317
|
+
notificationCount: number | null;
|
7318
|
+
roles: {
|
7319
|
+
id: string;
|
7320
|
+
description: string | null;
|
7321
|
+
createdAt: Date;
|
7322
|
+
updatedAt: Date;
|
7323
|
+
deletedAt: Date | null;
|
7324
|
+
systemName: string;
|
7325
|
+
displayName: string;
|
7326
|
+
permissions: {
|
7327
|
+
id: string;
|
7328
|
+
description: string | null;
|
7329
|
+
createdAt: Date;
|
7330
|
+
updatedAt: Date;
|
7331
|
+
deletedAt: Date | null;
|
7332
|
+
systemName: string;
|
7333
|
+
displayName: string;
|
7334
|
+
}[];
|
7335
|
+
}[];
|
7336
|
+
extension: {
|
7337
|
+
id: string;
|
7338
|
+
createdAt: Date;
|
7339
|
+
updatedAt: Date;
|
7340
|
+
deletedAt: Date | null;
|
7341
|
+
userId: string | null;
|
7342
|
+
sipServerUrl: string;
|
7343
|
+
sipUserName: string;
|
7344
|
+
webphoneLoginUser: string;
|
7345
|
+
extensionId: string | null;
|
7346
|
+
extensionName: string;
|
7347
|
+
telephonySignature: string | null;
|
7348
|
+
};
|
7349
|
+
};
|
7350
|
+
metadata?: any;
|
7351
|
+
template?: any;
|
7352
|
+
};
|
5712
7353
|
sender: {
|
5713
7354
|
id: string;
|
5714
7355
|
address: string | null;
|