@kl1/contracts 1.0.34 → 1.0.36
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 +1030 -924
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1029 -924
- package/dist/index.mjs.map +1 -1
- package/dist/src/activity-log/index.d.ts +17 -10
- package/dist/src/activity-log/index.d.ts.map +1 -1
- package/dist/src/activity-log/schema.d.ts +17 -10
- package/dist/src/activity-log/schema.d.ts.map +1 -1
- package/dist/src/auth/index.d.ts +17 -10
- package/dist/src/auth/index.d.ts.map +1 -1
- package/dist/src/channel/index.d.ts +650 -51
- package/dist/src/channel/index.d.ts.map +1 -1
- package/dist/src/channel/schema.d.ts +18 -12
- package/dist/src/channel/schema.d.ts.map +1 -1
- package/dist/src/chat/index.d.ts +12464 -12390
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +227 -110
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +1158 -1545
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/comment/index.d.ts +1128 -491
- package/dist/src/comment/index.d.ts.map +1 -1
- package/dist/src/comment/schema.d.ts +319 -140
- package/dist/src/comment/schema.d.ts.map +1 -1
- package/dist/src/contact/index.d.ts +77 -0
- package/dist/src/contact/index.d.ts.map +1 -1
- package/dist/src/contact/schema.d.ts +16 -0
- package/dist/src/contact/schema.d.ts.map +1 -1
- package/dist/src/contact/validation.d.ts +63 -0
- package/dist/src/contact/validation.d.ts.map +1 -1
- package/dist/src/contract.d.ts +28088 -29053
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/cx-log/index.d.ts +243 -72
- package/dist/src/cx-log/index.d.ts.map +1 -1
- package/dist/src/cx-log/schema.d.ts +193 -56
- package/dist/src/cx-log/schema.d.ts.map +1 -1
- package/dist/src/extension/index.d.ts +29 -120
- package/dist/src/extension/index.d.ts.map +1 -1
- package/dist/src/extension/schema.d.ts +3 -0
- package/dist/src/extension/schema.d.ts.map +1 -1
- package/dist/src/extension/validation.d.ts +6 -0
- package/dist/src/extension/validation.d.ts.map +1 -1
- package/dist/src/mail/mail-contract.d.ts +7 -0
- package/dist/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/src/mail/room-contract.d.ts +7 -0
- package/dist/src/mail/room-contract.d.ts.map +1 -1
- package/dist/src/mail/schemas/room.schema.d.ts +5 -0
- package/dist/src/mail/schemas/room.schema.d.ts.map +1 -1
- package/dist/src/messenger/index.d.ts +442 -100
- package/dist/src/messenger/index.d.ts.map +1 -1
- package/dist/src/telephony-agent-presence-status/index.d.ts +57 -34
- package/dist/src/telephony-agent-presence-status/index.d.ts.map +1 -1
- package/dist/src/telephony-agent-presence-status/schema.d.ts +17 -10
- package/dist/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
- package/dist/src/telephony-cdr/schema.d.ts +53 -0
- package/dist/src/telephony-cdr/schema.d.ts.map +1 -1
- package/dist/src/telephony-extension/index.d.ts +2 -0
- package/dist/src/telephony-extension/index.d.ts.map +1 -1
- package/dist/src/ticket/index.d.ts +3022 -1253
- package/dist/src/ticket/index.d.ts.map +1 -1
- package/dist/src/ticket/schema.d.ts +236 -167
- package/dist/src/ticket/schema.d.ts.map +1 -1
- package/dist/src/upload/schema.d.ts +3 -0
- package/dist/src/upload/schema.d.ts.map +1 -1
- package/dist/src/user/index.d.ts +57 -34
- package/dist/src/user/index.d.ts.map +1 -1
- package/dist/src/user/schema.d.ts +11 -6
- package/dist/src/user/schema.d.ts.map +1 -1
- package/dist/src/user-presence-status-log/index.d.ts +12 -8
- package/dist/src/user-presence-status-log/index.d.ts.map +1 -1
- package/dist/src/user-presence-status-log/schema.d.ts +17 -10
- package/dist/src/user-presence-status-log/schema.d.ts.map +1 -1
- 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
@@ -332,7 +332,7 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
332
332
|
displayName: string;
|
333
333
|
}[];
|
334
334
|
}>, "many">;
|
335
|
-
extension: z.
|
335
|
+
extension: z.ZodObject<{
|
336
336
|
id: z.ZodString;
|
337
337
|
createdAt: z.ZodDate;
|
338
338
|
updatedAt: z.ZodDate;
|
@@ -340,6 +340,7 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
340
340
|
userId: z.ZodNullable<z.ZodString>;
|
341
341
|
sipServerUrl: z.ZodString;
|
342
342
|
sipUserName: z.ZodString;
|
343
|
+
webphoneLoginUser: z.ZodString;
|
343
344
|
extensionId: z.ZodNumber;
|
344
345
|
extensionName: z.ZodString;
|
345
346
|
telephonySignature: z.ZodNullable<z.ZodString>;
|
@@ -351,6 +352,7 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
351
352
|
userId: string | null;
|
352
353
|
sipServerUrl: string;
|
353
354
|
sipUserName: string;
|
355
|
+
webphoneLoginUser: string;
|
354
356
|
extensionId: number;
|
355
357
|
extensionName: string;
|
356
358
|
telephonySignature: string | null;
|
@@ -362,10 +364,11 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
362
364
|
userId: string | null;
|
363
365
|
sipServerUrl: string;
|
364
366
|
sipUserName: string;
|
367
|
+
webphoneLoginUser: string;
|
365
368
|
extensionId: number;
|
366
369
|
extensionName: string;
|
367
370
|
telephonySignature: string | null;
|
368
|
-
}
|
371
|
+
}>;
|
369
372
|
}, "strip", z.ZodTypeAny, {
|
370
373
|
id: string;
|
371
374
|
address: string | null;
|
@@ -396,7 +399,7 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
396
399
|
displayName: string;
|
397
400
|
}[];
|
398
401
|
}[];
|
399
|
-
extension
|
402
|
+
extension: {
|
400
403
|
id: string;
|
401
404
|
createdAt: Date;
|
402
405
|
updatedAt: Date;
|
@@ -404,10 +407,11 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
404
407
|
userId: string | null;
|
405
408
|
sipServerUrl: string;
|
406
409
|
sipUserName: string;
|
410
|
+
webphoneLoginUser: string;
|
407
411
|
extensionId: number;
|
408
412
|
extensionName: string;
|
409
413
|
telephonySignature: string | null;
|
410
|
-
}
|
414
|
+
};
|
411
415
|
}, {
|
412
416
|
id: string;
|
413
417
|
address: string | null;
|
@@ -438,7 +442,7 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
438
442
|
displayName: string;
|
439
443
|
}[];
|
440
444
|
}[];
|
441
|
-
extension
|
445
|
+
extension: {
|
442
446
|
id: string;
|
443
447
|
createdAt: Date;
|
444
448
|
updatedAt: Date;
|
@@ -446,10 +450,11 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
446
450
|
userId: string | null;
|
447
451
|
sipServerUrl: string;
|
448
452
|
sipUserName: string;
|
453
|
+
webphoneLoginUser: string;
|
449
454
|
extensionId: number;
|
450
455
|
extensionName: string;
|
451
456
|
telephonySignature: string | null;
|
452
|
-
}
|
457
|
+
};
|
453
458
|
}>>;
|
454
459
|
packageId: z.ZodOptional<z.ZodNumber>;
|
455
460
|
stickerId: z.ZodOptional<z.ZodNumber>;
|
@@ -496,7 +501,7 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
496
501
|
displayName: string;
|
497
502
|
}[];
|
498
503
|
}[];
|
499
|
-
extension
|
504
|
+
extension: {
|
500
505
|
id: string;
|
501
506
|
createdAt: Date;
|
502
507
|
updatedAt: Date;
|
@@ -504,10 +509,11 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
504
509
|
userId: string | null;
|
505
510
|
sipServerUrl: string;
|
506
511
|
sipUserName: string;
|
512
|
+
webphoneLoginUser: string;
|
507
513
|
extensionId: number;
|
508
514
|
extensionName: string;
|
509
515
|
telephonySignature: string | null;
|
510
|
-
}
|
516
|
+
};
|
511
517
|
} | undefined;
|
512
518
|
packageId?: number | undefined;
|
513
519
|
stickerId?: number | undefined;
|
@@ -554,7 +560,7 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
554
560
|
displayName: string;
|
555
561
|
}[];
|
556
562
|
}[];
|
557
|
-
extension
|
563
|
+
extension: {
|
558
564
|
id: string;
|
559
565
|
createdAt: Date;
|
560
566
|
updatedAt: Date;
|
@@ -562,28 +568,35 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
562
568
|
userId: string | null;
|
563
569
|
sipServerUrl: string;
|
564
570
|
sipUserName: string;
|
571
|
+
webphoneLoginUser: string;
|
565
572
|
extensionId: number;
|
566
573
|
extensionName: string;
|
567
574
|
telephonySignature: string | null;
|
568
|
-
}
|
575
|
+
};
|
569
576
|
} | undefined;
|
570
577
|
packageId?: number | undefined;
|
571
578
|
stickerId?: number | undefined;
|
572
579
|
}>;
|
573
580
|
export declare const SolveRoomSchema: z.ZodObject<{
|
574
581
|
roomId: z.ZodString;
|
582
|
+
disposition: z.ZodString;
|
575
583
|
}, "strip", z.ZodTypeAny, {
|
584
|
+
disposition: string;
|
576
585
|
roomId: string;
|
577
586
|
}, {
|
587
|
+
disposition: string;
|
578
588
|
roomId: string;
|
579
589
|
}>;
|
580
590
|
export declare const UpdateAssigneeSchema: z.ZodObject<{
|
591
|
+
disposition: z.ZodString;
|
581
592
|
roomId: z.ZodString;
|
582
593
|
assigneeId: z.ZodString;
|
583
594
|
}, "strip", z.ZodTypeAny, {
|
595
|
+
disposition: string;
|
584
596
|
assigneeId: string;
|
585
597
|
roomId: string;
|
586
598
|
}, {
|
599
|
+
disposition: string;
|
587
600
|
assigneeId: string;
|
588
601
|
roomId: string;
|
589
602
|
}>;
|
@@ -1004,6 +1017,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1004
1017
|
fileName: z.ZodString;
|
1005
1018
|
fileSize: z.ZodNumber;
|
1006
1019
|
fileKey: z.ZodString;
|
1020
|
+
fileUrl: z.ZodNullable<z.ZodString>;
|
1007
1021
|
}, "strip", z.ZodTypeAny, {
|
1008
1022
|
id: string;
|
1009
1023
|
createdAt: Date;
|
@@ -1013,6 +1027,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1013
1027
|
fileKey: string;
|
1014
1028
|
bucketName: string;
|
1015
1029
|
fileSize: number;
|
1030
|
+
fileUrl: string | null;
|
1016
1031
|
}, {
|
1017
1032
|
id: string;
|
1018
1033
|
createdAt: Date;
|
@@ -1022,6 +1037,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1022
1037
|
fileKey: string;
|
1023
1038
|
bucketName: string;
|
1024
1039
|
fileSize: number;
|
1040
|
+
fileUrl: string | null;
|
1025
1041
|
}>>;
|
1026
1042
|
sender: z.ZodObject<{
|
1027
1043
|
name: z.ZodString;
|
@@ -1068,6 +1084,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1068
1084
|
fileKey: string;
|
1069
1085
|
bucketName: string;
|
1070
1086
|
fileSize: number;
|
1087
|
+
fileUrl: string | null;
|
1071
1088
|
} | undefined;
|
1072
1089
|
}, {
|
1073
1090
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
|
@@ -1098,6 +1115,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1098
1115
|
fileKey: string;
|
1099
1116
|
bucketName: string;
|
1100
1117
|
fileSize: number;
|
1118
|
+
fileUrl: string | null;
|
1101
1119
|
} | undefined;
|
1102
1120
|
}>;
|
1103
1121
|
}, "strip", z.ZodTypeAny, {
|
@@ -1130,6 +1148,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1130
1148
|
fileKey: string;
|
1131
1149
|
bucketName: string;
|
1132
1150
|
fileSize: number;
|
1151
|
+
fileUrl: string | null;
|
1133
1152
|
} | undefined;
|
1134
1153
|
};
|
1135
1154
|
room: {
|
@@ -1216,6 +1235,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1216
1235
|
fileKey: string;
|
1217
1236
|
bucketName: string;
|
1218
1237
|
fileSize: number;
|
1238
|
+
fileUrl: string | null;
|
1219
1239
|
} | undefined;
|
1220
1240
|
};
|
1221
1241
|
room: {
|
@@ -1630,6 +1650,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
1630
1650
|
fileName: z.ZodString;
|
1631
1651
|
fileSize: z.ZodNumber;
|
1632
1652
|
fileKey: z.ZodString;
|
1653
|
+
fileUrl: z.ZodNullable<z.ZodString>;
|
1633
1654
|
}, "strip", z.ZodTypeAny, {
|
1634
1655
|
id: string;
|
1635
1656
|
createdAt: Date;
|
@@ -1639,6 +1660,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
1639
1660
|
fileKey: string;
|
1640
1661
|
bucketName: string;
|
1641
1662
|
fileSize: number;
|
1663
|
+
fileUrl: string | null;
|
1642
1664
|
}, {
|
1643
1665
|
id: string;
|
1644
1666
|
createdAt: Date;
|
@@ -1648,6 +1670,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
1648
1670
|
fileKey: string;
|
1649
1671
|
bucketName: string;
|
1650
1672
|
fileSize: number;
|
1673
|
+
fileUrl: string | null;
|
1651
1674
|
}>;
|
1652
1675
|
}, "strip", z.ZodTypeAny, {
|
1653
1676
|
id: string;
|
@@ -1664,6 +1687,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
1664
1687
|
fileKey: string;
|
1665
1688
|
bucketName: string;
|
1666
1689
|
fileSize: number;
|
1690
|
+
fileUrl: string | null;
|
1667
1691
|
};
|
1668
1692
|
}, {
|
1669
1693
|
id: string;
|
@@ -1680,6 +1704,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
1680
1704
|
fileKey: string;
|
1681
1705
|
bucketName: string;
|
1682
1706
|
fileSize: number;
|
1707
|
+
fileUrl: string | null;
|
1683
1708
|
};
|
1684
1709
|
}>, "many">;
|
1685
1710
|
}, "strip", z.ZodTypeAny, {
|
@@ -1720,6 +1745,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
1720
1745
|
fileKey: string;
|
1721
1746
|
bucketName: string;
|
1722
1747
|
fileSize: number;
|
1748
|
+
fileUrl: string | null;
|
1723
1749
|
};
|
1724
1750
|
}[];
|
1725
1751
|
}, {
|
@@ -1760,6 +1786,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
1760
1786
|
fileKey: string;
|
1761
1787
|
bucketName: string;
|
1762
1788
|
fileSize: number;
|
1789
|
+
fileUrl: string | null;
|
1763
1790
|
};
|
1764
1791
|
}[];
|
1765
1792
|
}>, "many">;
|
@@ -1913,6 +1940,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
1913
1940
|
fileKey: string;
|
1914
1941
|
bucketName: string;
|
1915
1942
|
fileSize: number;
|
1943
|
+
fileUrl: string | null;
|
1916
1944
|
};
|
1917
1945
|
}[];
|
1918
1946
|
}[];
|
@@ -2014,6 +2042,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2014
2042
|
fileKey: string;
|
2015
2043
|
bucketName: string;
|
2016
2044
|
fileSize: number;
|
2045
|
+
fileUrl: string | null;
|
2017
2046
|
};
|
2018
2047
|
}[];
|
2019
2048
|
}[];
|
@@ -2129,6 +2158,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2129
2158
|
fileKey: string;
|
2130
2159
|
bucketName: string;
|
2131
2160
|
fileSize: number;
|
2161
|
+
fileUrl: string | null;
|
2132
2162
|
};
|
2133
2163
|
}[];
|
2134
2164
|
}[];
|
@@ -2245,6 +2275,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2245
2275
|
fileKey: string;
|
2246
2276
|
bucketName: string;
|
2247
2277
|
fileSize: number;
|
2278
|
+
fileUrl: string | null;
|
2248
2279
|
};
|
2249
2280
|
}[];
|
2250
2281
|
}[];
|
@@ -2383,7 +2414,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2383
2414
|
displayName: string;
|
2384
2415
|
}[];
|
2385
2416
|
}>, "many">;
|
2386
|
-
extension: z.
|
2417
|
+
extension: z.ZodObject<{
|
2387
2418
|
id: z.ZodString;
|
2388
2419
|
createdAt: z.ZodDate;
|
2389
2420
|
updatedAt: z.ZodDate;
|
@@ -2391,6 +2422,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2391
2422
|
userId: z.ZodNullable<z.ZodString>;
|
2392
2423
|
sipServerUrl: z.ZodString;
|
2393
2424
|
sipUserName: z.ZodString;
|
2425
|
+
webphoneLoginUser: z.ZodString;
|
2394
2426
|
extensionId: z.ZodNumber;
|
2395
2427
|
extensionName: z.ZodString;
|
2396
2428
|
telephonySignature: z.ZodNullable<z.ZodString>;
|
@@ -2402,6 +2434,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2402
2434
|
userId: string | null;
|
2403
2435
|
sipServerUrl: string;
|
2404
2436
|
sipUserName: string;
|
2437
|
+
webphoneLoginUser: string;
|
2405
2438
|
extensionId: number;
|
2406
2439
|
extensionName: string;
|
2407
2440
|
telephonySignature: string | null;
|
@@ -2413,10 +2446,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2413
2446
|
userId: string | null;
|
2414
2447
|
sipServerUrl: string;
|
2415
2448
|
sipUserName: string;
|
2449
|
+
webphoneLoginUser: string;
|
2416
2450
|
extensionId: number;
|
2417
2451
|
extensionName: string;
|
2418
2452
|
telephonySignature: string | null;
|
2419
|
-
}
|
2453
|
+
}>;
|
2420
2454
|
}, "strip", z.ZodTypeAny, {
|
2421
2455
|
id: string;
|
2422
2456
|
address: string | null;
|
@@ -2447,7 +2481,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2447
2481
|
displayName: string;
|
2448
2482
|
}[];
|
2449
2483
|
}[];
|
2450
|
-
extension
|
2484
|
+
extension: {
|
2451
2485
|
id: string;
|
2452
2486
|
createdAt: Date;
|
2453
2487
|
updatedAt: Date;
|
@@ -2455,10 +2489,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2455
2489
|
userId: string | null;
|
2456
2490
|
sipServerUrl: string;
|
2457
2491
|
sipUserName: string;
|
2492
|
+
webphoneLoginUser: string;
|
2458
2493
|
extensionId: number;
|
2459
2494
|
extensionName: string;
|
2460
2495
|
telephonySignature: string | null;
|
2461
|
-
}
|
2496
|
+
};
|
2462
2497
|
}, {
|
2463
2498
|
id: string;
|
2464
2499
|
address: string | null;
|
@@ -2489,7 +2524,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2489
2524
|
displayName: string;
|
2490
2525
|
}[];
|
2491
2526
|
}[];
|
2492
|
-
extension
|
2527
|
+
extension: {
|
2493
2528
|
id: string;
|
2494
2529
|
createdAt: Date;
|
2495
2530
|
updatedAt: Date;
|
@@ -2497,10 +2532,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2497
2532
|
userId: string | null;
|
2498
2533
|
sipServerUrl: string;
|
2499
2534
|
sipUserName: string;
|
2535
|
+
webphoneLoginUser: string;
|
2500
2536
|
extensionId: number;
|
2501
2537
|
extensionName: string;
|
2502
2538
|
telephonySignature: string | null;
|
2503
|
-
}
|
2539
|
+
};
|
2504
2540
|
}>;
|
2505
2541
|
assignee: z.ZodObject<{
|
2506
2542
|
id: z.ZodString;
|
@@ -2582,7 +2618,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2582
2618
|
displayName: string;
|
2583
2619
|
}[];
|
2584
2620
|
}>, "many">;
|
2585
|
-
extension: z.
|
2621
|
+
extension: z.ZodObject<{
|
2586
2622
|
id: z.ZodString;
|
2587
2623
|
createdAt: z.ZodDate;
|
2588
2624
|
updatedAt: z.ZodDate;
|
@@ -2590,6 +2626,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2590
2626
|
userId: z.ZodNullable<z.ZodString>;
|
2591
2627
|
sipServerUrl: z.ZodString;
|
2592
2628
|
sipUserName: z.ZodString;
|
2629
|
+
webphoneLoginUser: z.ZodString;
|
2593
2630
|
extensionId: z.ZodNumber;
|
2594
2631
|
extensionName: z.ZodString;
|
2595
2632
|
telephonySignature: z.ZodNullable<z.ZodString>;
|
@@ -2601,6 +2638,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2601
2638
|
userId: string | null;
|
2602
2639
|
sipServerUrl: string;
|
2603
2640
|
sipUserName: string;
|
2641
|
+
webphoneLoginUser: string;
|
2604
2642
|
extensionId: number;
|
2605
2643
|
extensionName: string;
|
2606
2644
|
telephonySignature: string | null;
|
@@ -2612,10 +2650,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2612
2650
|
userId: string | null;
|
2613
2651
|
sipServerUrl: string;
|
2614
2652
|
sipUserName: string;
|
2653
|
+
webphoneLoginUser: string;
|
2615
2654
|
extensionId: number;
|
2616
2655
|
extensionName: string;
|
2617
2656
|
telephonySignature: string | null;
|
2618
|
-
}
|
2657
|
+
}>;
|
2619
2658
|
}, "strip", z.ZodTypeAny, {
|
2620
2659
|
id: string;
|
2621
2660
|
address: string | null;
|
@@ -2646,7 +2685,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2646
2685
|
displayName: string;
|
2647
2686
|
}[];
|
2648
2687
|
}[];
|
2649
|
-
extension
|
2688
|
+
extension: {
|
2650
2689
|
id: string;
|
2651
2690
|
createdAt: Date;
|
2652
2691
|
updatedAt: Date;
|
@@ -2654,10 +2693,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2654
2693
|
userId: string | null;
|
2655
2694
|
sipServerUrl: string;
|
2656
2695
|
sipUserName: string;
|
2696
|
+
webphoneLoginUser: string;
|
2657
2697
|
extensionId: number;
|
2658
2698
|
extensionName: string;
|
2659
2699
|
telephonySignature: string | null;
|
2660
|
-
}
|
2700
|
+
};
|
2661
2701
|
}, {
|
2662
2702
|
id: string;
|
2663
2703
|
address: string | null;
|
@@ -2688,7 +2728,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2688
2728
|
displayName: string;
|
2689
2729
|
}[];
|
2690
2730
|
}[];
|
2691
|
-
extension
|
2731
|
+
extension: {
|
2692
2732
|
id: string;
|
2693
2733
|
createdAt: Date;
|
2694
2734
|
updatedAt: Date;
|
@@ -2696,10 +2736,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2696
2736
|
userId: string | null;
|
2697
2737
|
sipServerUrl: string;
|
2698
2738
|
sipUserName: string;
|
2739
|
+
webphoneLoginUser: string;
|
2699
2740
|
extensionId: number;
|
2700
2741
|
extensionName: string;
|
2701
2742
|
telephonySignature: string | null;
|
2702
|
-
}
|
2743
|
+
};
|
2703
2744
|
}>;
|
2704
2745
|
channel: z.ZodOptional<z.ZodObject<{
|
2705
2746
|
id: z.ZodOptional<z.ZodString>;
|
@@ -2810,7 +2851,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2810
2851
|
displayName: string;
|
2811
2852
|
}[];
|
2812
2853
|
}>, "many">;
|
2813
|
-
extension: z.
|
2854
|
+
extension: z.ZodObject<{
|
2814
2855
|
id: z.ZodString;
|
2815
2856
|
createdAt: z.ZodDate;
|
2816
2857
|
updatedAt: z.ZodDate;
|
@@ -2818,6 +2859,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2818
2859
|
userId: z.ZodNullable<z.ZodString>;
|
2819
2860
|
sipServerUrl: z.ZodString;
|
2820
2861
|
sipUserName: z.ZodString;
|
2862
|
+
webphoneLoginUser: z.ZodString;
|
2821
2863
|
extensionId: z.ZodNumber;
|
2822
2864
|
extensionName: z.ZodString;
|
2823
2865
|
telephonySignature: z.ZodNullable<z.ZodString>;
|
@@ -2829,6 +2871,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2829
2871
|
userId: string | null;
|
2830
2872
|
sipServerUrl: string;
|
2831
2873
|
sipUserName: string;
|
2874
|
+
webphoneLoginUser: string;
|
2832
2875
|
extensionId: number;
|
2833
2876
|
extensionName: string;
|
2834
2877
|
telephonySignature: string | null;
|
@@ -2840,10 +2883,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2840
2883
|
userId: string | null;
|
2841
2884
|
sipServerUrl: string;
|
2842
2885
|
sipUserName: string;
|
2886
|
+
webphoneLoginUser: string;
|
2843
2887
|
extensionId: number;
|
2844
2888
|
extensionName: string;
|
2845
2889
|
telephonySignature: string | null;
|
2846
|
-
}
|
2890
|
+
}>;
|
2847
2891
|
}, "strip", z.ZodTypeAny, {
|
2848
2892
|
id: string;
|
2849
2893
|
address: string | null;
|
@@ -2874,7 +2918,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2874
2918
|
displayName: string;
|
2875
2919
|
}[];
|
2876
2920
|
}[];
|
2877
|
-
extension
|
2921
|
+
extension: {
|
2878
2922
|
id: string;
|
2879
2923
|
createdAt: Date;
|
2880
2924
|
updatedAt: Date;
|
@@ -2882,10 +2926,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2882
2926
|
userId: string | null;
|
2883
2927
|
sipServerUrl: string;
|
2884
2928
|
sipUserName: string;
|
2929
|
+
webphoneLoginUser: string;
|
2885
2930
|
extensionId: number;
|
2886
2931
|
extensionName: string;
|
2887
2932
|
telephonySignature: string | null;
|
2888
|
-
}
|
2933
|
+
};
|
2889
2934
|
}, {
|
2890
2935
|
id: string;
|
2891
2936
|
address: string | null;
|
@@ -2916,7 +2961,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2916
2961
|
displayName: string;
|
2917
2962
|
}[];
|
2918
2963
|
}[];
|
2919
|
-
extension
|
2964
|
+
extension: {
|
2920
2965
|
id: string;
|
2921
2966
|
createdAt: Date;
|
2922
2967
|
updatedAt: Date;
|
@@ -2924,10 +2969,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2924
2969
|
userId: string | null;
|
2925
2970
|
sipServerUrl: string;
|
2926
2971
|
sipUserName: string;
|
2972
|
+
webphoneLoginUser: string;
|
2927
2973
|
extensionId: number;
|
2928
2974
|
extensionName: string;
|
2929
2975
|
telephonySignature: string | null;
|
2930
|
-
}
|
2976
|
+
};
|
2931
2977
|
}>>;
|
2932
2978
|
}, "strip", z.ZodTypeAny, {
|
2933
2979
|
id?: string | undefined;
|
@@ -2978,7 +3024,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2978
3024
|
displayName: string;
|
2979
3025
|
}[];
|
2980
3026
|
}[];
|
2981
|
-
extension
|
3027
|
+
extension: {
|
2982
3028
|
id: string;
|
2983
3029
|
createdAt: Date;
|
2984
3030
|
updatedAt: Date;
|
@@ -2986,10 +3032,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2986
3032
|
userId: string | null;
|
2987
3033
|
sipServerUrl: string;
|
2988
3034
|
sipUserName: string;
|
3035
|
+
webphoneLoginUser: string;
|
2989
3036
|
extensionId: number;
|
2990
3037
|
extensionName: string;
|
2991
3038
|
telephonySignature: string | null;
|
2992
|
-
}
|
3039
|
+
};
|
2993
3040
|
} | undefined;
|
2994
3041
|
}, {
|
2995
3042
|
id?: string | undefined;
|
@@ -3040,7 +3087,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3040
3087
|
displayName: string;
|
3041
3088
|
}[];
|
3042
3089
|
}[];
|
3043
|
-
extension
|
3090
|
+
extension: {
|
3044
3091
|
id: string;
|
3045
3092
|
createdAt: Date;
|
3046
3093
|
updatedAt: Date;
|
@@ -3048,10 +3095,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3048
3095
|
userId: string | null;
|
3049
3096
|
sipServerUrl: string;
|
3050
3097
|
sipUserName: string;
|
3098
|
+
webphoneLoginUser: string;
|
3051
3099
|
extensionId: number;
|
3052
3100
|
extensionName: string;
|
3053
3101
|
telephonySignature: string | null;
|
3054
|
-
}
|
3102
|
+
};
|
3055
3103
|
} | undefined;
|
3056
3104
|
}>>;
|
3057
3105
|
cxlog: z.ZodObject<{
|
@@ -3237,7 +3285,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3237
3285
|
displayName: string;
|
3238
3286
|
}[];
|
3239
3287
|
}[];
|
3240
|
-
extension
|
3288
|
+
extension: {
|
3241
3289
|
id: string;
|
3242
3290
|
createdAt: Date;
|
3243
3291
|
updatedAt: Date;
|
@@ -3245,10 +3293,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3245
3293
|
userId: string | null;
|
3246
3294
|
sipServerUrl: string;
|
3247
3295
|
sipUserName: string;
|
3296
|
+
webphoneLoginUser: string;
|
3248
3297
|
extensionId: number;
|
3249
3298
|
extensionName: string;
|
3250
3299
|
telephonySignature: string | null;
|
3251
|
-
}
|
3300
|
+
};
|
3252
3301
|
};
|
3253
3302
|
firstResponseTime: number;
|
3254
3303
|
lastMessage: string;
|
@@ -3316,6 +3365,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3316
3365
|
fileKey: string;
|
3317
3366
|
bucketName: string;
|
3318
3367
|
fileSize: number;
|
3368
|
+
fileUrl: string | null;
|
3319
3369
|
};
|
3320
3370
|
}[];
|
3321
3371
|
}[];
|
@@ -3404,7 +3454,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3404
3454
|
displayName: string;
|
3405
3455
|
}[];
|
3406
3456
|
}[];
|
3407
|
-
extension
|
3457
|
+
extension: {
|
3408
3458
|
id: string;
|
3409
3459
|
createdAt: Date;
|
3410
3460
|
updatedAt: Date;
|
@@ -3412,10 +3462,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3412
3462
|
userId: string | null;
|
3413
3463
|
sipServerUrl: string;
|
3414
3464
|
sipUserName: string;
|
3465
|
+
webphoneLoginUser: string;
|
3415
3466
|
extensionId: number;
|
3416
3467
|
extensionName: string;
|
3417
3468
|
telephonySignature: string | null;
|
3418
|
-
}
|
3469
|
+
};
|
3419
3470
|
};
|
3420
3471
|
cxlog: {
|
3421
3472
|
id: string;
|
@@ -3501,7 +3552,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3501
3552
|
displayName: string;
|
3502
3553
|
}[];
|
3503
3554
|
}[];
|
3504
|
-
extension
|
3555
|
+
extension: {
|
3505
3556
|
id: string;
|
3506
3557
|
createdAt: Date;
|
3507
3558
|
updatedAt: Date;
|
@@ -3509,10 +3560,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3509
3560
|
userId: string | null;
|
3510
3561
|
sipServerUrl: string;
|
3511
3562
|
sipUserName: string;
|
3563
|
+
webphoneLoginUser: string;
|
3512
3564
|
extensionId: number;
|
3513
3565
|
extensionName: string;
|
3514
3566
|
telephonySignature: string | null;
|
3515
|
-
}
|
3567
|
+
};
|
3516
3568
|
} | undefined;
|
3517
3569
|
} | undefined;
|
3518
3570
|
}, {
|
@@ -3551,7 +3603,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3551
3603
|
displayName: string;
|
3552
3604
|
}[];
|
3553
3605
|
}[];
|
3554
|
-
extension
|
3606
|
+
extension: {
|
3555
3607
|
id: string;
|
3556
3608
|
createdAt: Date;
|
3557
3609
|
updatedAt: Date;
|
@@ -3559,10 +3611,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3559
3611
|
userId: string | null;
|
3560
3612
|
sipServerUrl: string;
|
3561
3613
|
sipUserName: string;
|
3614
|
+
webphoneLoginUser: string;
|
3562
3615
|
extensionId: number;
|
3563
3616
|
extensionName: string;
|
3564
3617
|
telephonySignature: string | null;
|
3565
|
-
}
|
3618
|
+
};
|
3566
3619
|
};
|
3567
3620
|
firstResponseTime: number;
|
3568
3621
|
lastMessage: string;
|
@@ -3630,6 +3683,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3630
3683
|
fileKey: string;
|
3631
3684
|
bucketName: string;
|
3632
3685
|
fileSize: number;
|
3686
|
+
fileUrl: string | null;
|
3633
3687
|
};
|
3634
3688
|
}[];
|
3635
3689
|
}[];
|
@@ -3718,7 +3772,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3718
3772
|
displayName: string;
|
3719
3773
|
}[];
|
3720
3774
|
}[];
|
3721
|
-
extension
|
3775
|
+
extension: {
|
3722
3776
|
id: string;
|
3723
3777
|
createdAt: Date;
|
3724
3778
|
updatedAt: Date;
|
@@ -3726,10 +3780,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3726
3780
|
userId: string | null;
|
3727
3781
|
sipServerUrl: string;
|
3728
3782
|
sipUserName: string;
|
3783
|
+
webphoneLoginUser: string;
|
3729
3784
|
extensionId: number;
|
3730
3785
|
extensionName: string;
|
3731
3786
|
telephonySignature: string | null;
|
3732
|
-
}
|
3787
|
+
};
|
3733
3788
|
};
|
3734
3789
|
cxlog: {
|
3735
3790
|
id: string;
|
@@ -3815,7 +3870,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3815
3870
|
displayName: string;
|
3816
3871
|
}[];
|
3817
3872
|
}[];
|
3818
|
-
extension
|
3873
|
+
extension: {
|
3819
3874
|
id: string;
|
3820
3875
|
createdAt: Date;
|
3821
3876
|
updatedAt: Date;
|
@@ -3823,10 +3878,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3823
3878
|
userId: string | null;
|
3824
3879
|
sipServerUrl: string;
|
3825
3880
|
sipUserName: string;
|
3881
|
+
webphoneLoginUser: string;
|
3826
3882
|
extensionId: number;
|
3827
3883
|
extensionName: string;
|
3828
3884
|
telephonySignature: string | null;
|
3829
|
-
}
|
3885
|
+
};
|
3830
3886
|
} | undefined;
|
3831
3887
|
} | undefined;
|
3832
3888
|
}>;
|
@@ -3839,6 +3895,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3839
3895
|
fileName: z.ZodString;
|
3840
3896
|
fileSize: z.ZodNumber;
|
3841
3897
|
fileKey: z.ZodString;
|
3898
|
+
fileUrl: z.ZodNullable<z.ZodString>;
|
3842
3899
|
}, "strip", z.ZodTypeAny, {
|
3843
3900
|
id: string;
|
3844
3901
|
createdAt: Date;
|
@@ -3848,6 +3905,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3848
3905
|
fileKey: string;
|
3849
3906
|
bucketName: string;
|
3850
3907
|
fileSize: number;
|
3908
|
+
fileUrl: string | null;
|
3851
3909
|
}, {
|
3852
3910
|
id: string;
|
3853
3911
|
createdAt: Date;
|
@@ -3857,6 +3915,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3857
3915
|
fileKey: string;
|
3858
3916
|
bucketName: string;
|
3859
3917
|
fileSize: number;
|
3918
|
+
fileUrl: string | null;
|
3860
3919
|
}>;
|
3861
3920
|
actor: z.ZodObject<{
|
3862
3921
|
id: z.ZodString;
|
@@ -3938,7 +3997,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3938
3997
|
displayName: string;
|
3939
3998
|
}[];
|
3940
3999
|
}>, "many">;
|
3941
|
-
extension: z.
|
4000
|
+
extension: z.ZodObject<{
|
3942
4001
|
id: z.ZodString;
|
3943
4002
|
createdAt: z.ZodDate;
|
3944
4003
|
updatedAt: z.ZodDate;
|
@@ -3946,6 +4005,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3946
4005
|
userId: z.ZodNullable<z.ZodString>;
|
3947
4006
|
sipServerUrl: z.ZodString;
|
3948
4007
|
sipUserName: z.ZodString;
|
4008
|
+
webphoneLoginUser: z.ZodString;
|
3949
4009
|
extensionId: z.ZodNumber;
|
3950
4010
|
extensionName: z.ZodString;
|
3951
4011
|
telephonySignature: z.ZodNullable<z.ZodString>;
|
@@ -3957,6 +4017,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3957
4017
|
userId: string | null;
|
3958
4018
|
sipServerUrl: string;
|
3959
4019
|
sipUserName: string;
|
4020
|
+
webphoneLoginUser: string;
|
3960
4021
|
extensionId: number;
|
3961
4022
|
extensionName: string;
|
3962
4023
|
telephonySignature: string | null;
|
@@ -3968,10 +4029,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3968
4029
|
userId: string | null;
|
3969
4030
|
sipServerUrl: string;
|
3970
4031
|
sipUserName: string;
|
4032
|
+
webphoneLoginUser: string;
|
3971
4033
|
extensionId: number;
|
3972
4034
|
extensionName: string;
|
3973
4035
|
telephonySignature: string | null;
|
3974
|
-
}
|
4036
|
+
}>;
|
3975
4037
|
}, "strip", z.ZodTypeAny, {
|
3976
4038
|
id: string;
|
3977
4039
|
address: string | null;
|
@@ -4002,7 +4064,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4002
4064
|
displayName: string;
|
4003
4065
|
}[];
|
4004
4066
|
}[];
|
4005
|
-
extension
|
4067
|
+
extension: {
|
4006
4068
|
id: string;
|
4007
4069
|
createdAt: Date;
|
4008
4070
|
updatedAt: Date;
|
@@ -4010,10 +4072,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4010
4072
|
userId: string | null;
|
4011
4073
|
sipServerUrl: string;
|
4012
4074
|
sipUserName: string;
|
4075
|
+
webphoneLoginUser: string;
|
4013
4076
|
extensionId: number;
|
4014
4077
|
extensionName: string;
|
4015
4078
|
telephonySignature: string | null;
|
4016
|
-
}
|
4079
|
+
};
|
4017
4080
|
}, {
|
4018
4081
|
id: string;
|
4019
4082
|
address: string | null;
|
@@ -4044,7 +4107,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4044
4107
|
displayName: string;
|
4045
4108
|
}[];
|
4046
4109
|
}[];
|
4047
|
-
extension
|
4110
|
+
extension: {
|
4048
4111
|
id: string;
|
4049
4112
|
createdAt: Date;
|
4050
4113
|
updatedAt: Date;
|
@@ -4052,10 +4115,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4052
4115
|
userId: string | null;
|
4053
4116
|
sipServerUrl: string;
|
4054
4117
|
sipUserName: string;
|
4118
|
+
webphoneLoginUser: string;
|
4055
4119
|
extensionId: number;
|
4056
4120
|
extensionName: string;
|
4057
4121
|
telephonySignature: string | null;
|
4058
|
-
}
|
4122
|
+
};
|
4059
4123
|
}>;
|
4060
4124
|
assignee: z.ZodObject<{
|
4061
4125
|
id: z.ZodString;
|
@@ -4137,7 +4201,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4137
4201
|
displayName: string;
|
4138
4202
|
}[];
|
4139
4203
|
}>, "many">;
|
4140
|
-
extension: z.
|
4204
|
+
extension: z.ZodObject<{
|
4141
4205
|
id: z.ZodString;
|
4142
4206
|
createdAt: z.ZodDate;
|
4143
4207
|
updatedAt: z.ZodDate;
|
@@ -4145,6 +4209,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4145
4209
|
userId: z.ZodNullable<z.ZodString>;
|
4146
4210
|
sipServerUrl: z.ZodString;
|
4147
4211
|
sipUserName: z.ZodString;
|
4212
|
+
webphoneLoginUser: z.ZodString;
|
4148
4213
|
extensionId: z.ZodNumber;
|
4149
4214
|
extensionName: z.ZodString;
|
4150
4215
|
telephonySignature: z.ZodNullable<z.ZodString>;
|
@@ -4156,6 +4221,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4156
4221
|
userId: string | null;
|
4157
4222
|
sipServerUrl: string;
|
4158
4223
|
sipUserName: string;
|
4224
|
+
webphoneLoginUser: string;
|
4159
4225
|
extensionId: number;
|
4160
4226
|
extensionName: string;
|
4161
4227
|
telephonySignature: string | null;
|
@@ -4167,10 +4233,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4167
4233
|
userId: string | null;
|
4168
4234
|
sipServerUrl: string;
|
4169
4235
|
sipUserName: string;
|
4236
|
+
webphoneLoginUser: string;
|
4170
4237
|
extensionId: number;
|
4171
4238
|
extensionName: string;
|
4172
4239
|
telephonySignature: string | null;
|
4173
|
-
}
|
4240
|
+
}>;
|
4174
4241
|
}, "strip", z.ZodTypeAny, {
|
4175
4242
|
id: string;
|
4176
4243
|
address: string | null;
|
@@ -4201,7 +4268,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4201
4268
|
displayName: string;
|
4202
4269
|
}[];
|
4203
4270
|
}[];
|
4204
|
-
extension
|
4271
|
+
extension: {
|
4205
4272
|
id: string;
|
4206
4273
|
createdAt: Date;
|
4207
4274
|
updatedAt: Date;
|
@@ -4209,10 +4276,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4209
4276
|
userId: string | null;
|
4210
4277
|
sipServerUrl: string;
|
4211
4278
|
sipUserName: string;
|
4279
|
+
webphoneLoginUser: string;
|
4212
4280
|
extensionId: number;
|
4213
4281
|
extensionName: string;
|
4214
4282
|
telephonySignature: string | null;
|
4215
|
-
}
|
4283
|
+
};
|
4216
4284
|
}, {
|
4217
4285
|
id: string;
|
4218
4286
|
address: string | null;
|
@@ -4243,7 +4311,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4243
4311
|
displayName: string;
|
4244
4312
|
}[];
|
4245
4313
|
}[];
|
4246
|
-
extension
|
4314
|
+
extension: {
|
4247
4315
|
id: string;
|
4248
4316
|
createdAt: Date;
|
4249
4317
|
updatedAt: Date;
|
@@ -4251,10 +4319,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4251
4319
|
userId: string | null;
|
4252
4320
|
sipServerUrl: string;
|
4253
4321
|
sipUserName: string;
|
4322
|
+
webphoneLoginUser: string;
|
4254
4323
|
extensionId: number;
|
4255
4324
|
extensionName: string;
|
4256
4325
|
telephonySignature: string | null;
|
4257
|
-
}
|
4326
|
+
};
|
4258
4327
|
}>;
|
4259
4328
|
sender: z.ZodObject<{
|
4260
4329
|
id: z.ZodString;
|
@@ -4336,7 +4405,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4336
4405
|
displayName: string;
|
4337
4406
|
}[];
|
4338
4407
|
}>, "many">;
|
4339
|
-
extension: z.
|
4408
|
+
extension: z.ZodObject<{
|
4340
4409
|
id: z.ZodString;
|
4341
4410
|
createdAt: z.ZodDate;
|
4342
4411
|
updatedAt: z.ZodDate;
|
@@ -4344,6 +4413,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4344
4413
|
userId: z.ZodNullable<z.ZodString>;
|
4345
4414
|
sipServerUrl: z.ZodString;
|
4346
4415
|
sipUserName: z.ZodString;
|
4416
|
+
webphoneLoginUser: z.ZodString;
|
4347
4417
|
extensionId: z.ZodNumber;
|
4348
4418
|
extensionName: z.ZodString;
|
4349
4419
|
telephonySignature: z.ZodNullable<z.ZodString>;
|
@@ -4355,6 +4425,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4355
4425
|
userId: string | null;
|
4356
4426
|
sipServerUrl: string;
|
4357
4427
|
sipUserName: string;
|
4428
|
+
webphoneLoginUser: string;
|
4358
4429
|
extensionId: number;
|
4359
4430
|
extensionName: string;
|
4360
4431
|
telephonySignature: string | null;
|
@@ -4366,10 +4437,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4366
4437
|
userId: string | null;
|
4367
4438
|
sipServerUrl: string;
|
4368
4439
|
sipUserName: string;
|
4440
|
+
webphoneLoginUser: string;
|
4369
4441
|
extensionId: number;
|
4370
4442
|
extensionName: string;
|
4371
4443
|
telephonySignature: string | null;
|
4372
|
-
}
|
4444
|
+
}>;
|
4373
4445
|
}, "strip", z.ZodTypeAny, {
|
4374
4446
|
id: string;
|
4375
4447
|
address: string | null;
|
@@ -4400,7 +4472,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4400
4472
|
displayName: string;
|
4401
4473
|
}[];
|
4402
4474
|
}[];
|
4403
|
-
extension
|
4475
|
+
extension: {
|
4404
4476
|
id: string;
|
4405
4477
|
createdAt: Date;
|
4406
4478
|
updatedAt: Date;
|
@@ -4408,10 +4480,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4408
4480
|
userId: string | null;
|
4409
4481
|
sipServerUrl: string;
|
4410
4482
|
sipUserName: string;
|
4483
|
+
webphoneLoginUser: string;
|
4411
4484
|
extensionId: number;
|
4412
4485
|
extensionName: string;
|
4413
4486
|
telephonySignature: string | null;
|
4414
|
-
}
|
4487
|
+
};
|
4415
4488
|
}, {
|
4416
4489
|
id: string;
|
4417
4490
|
address: string | null;
|
@@ -4442,7 +4515,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4442
4515
|
displayName: string;
|
4443
4516
|
}[];
|
4444
4517
|
}[];
|
4445
|
-
extension
|
4518
|
+
extension: {
|
4446
4519
|
id: string;
|
4447
4520
|
createdAt: Date;
|
4448
4521
|
updatedAt: Date;
|
@@ -4450,10 +4523,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4450
4523
|
userId: string | null;
|
4451
4524
|
sipServerUrl: string;
|
4452
4525
|
sipUserName: string;
|
4526
|
+
webphoneLoginUser: string;
|
4453
4527
|
extensionId: number;
|
4454
4528
|
extensionName: string;
|
4455
4529
|
telephonySignature: string | null;
|
4456
|
-
}
|
4530
|
+
};
|
4457
4531
|
}>;
|
4458
4532
|
}, "strip", z.ZodTypeAny, {
|
4459
4533
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
|
@@ -4495,7 +4569,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4495
4569
|
displayName: string;
|
4496
4570
|
}[];
|
4497
4571
|
}[];
|
4498
|
-
extension
|
4572
|
+
extension: {
|
4499
4573
|
id: string;
|
4500
4574
|
createdAt: Date;
|
4501
4575
|
updatedAt: Date;
|
@@ -4503,10 +4577,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4503
4577
|
userId: string | null;
|
4504
4578
|
sipServerUrl: string;
|
4505
4579
|
sipUserName: string;
|
4580
|
+
webphoneLoginUser: string;
|
4506
4581
|
extensionId: number;
|
4507
4582
|
extensionName: string;
|
4508
4583
|
telephonySignature: string | null;
|
4509
|
-
}
|
4584
|
+
};
|
4510
4585
|
};
|
4511
4586
|
upload: {
|
4512
4587
|
id: string;
|
@@ -4517,6 +4592,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4517
4592
|
fileKey: string;
|
4518
4593
|
bucketName: string;
|
4519
4594
|
fileSize: number;
|
4595
|
+
fileUrl: string | null;
|
4520
4596
|
};
|
4521
4597
|
assignee: {
|
4522
4598
|
id: string;
|
@@ -4548,7 +4624,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4548
4624
|
displayName: string;
|
4549
4625
|
}[];
|
4550
4626
|
}[];
|
4551
|
-
extension
|
4627
|
+
extension: {
|
4552
4628
|
id: string;
|
4553
4629
|
createdAt: Date;
|
4554
4630
|
updatedAt: Date;
|
@@ -4556,10 +4632,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4556
4632
|
userId: string | null;
|
4557
4633
|
sipServerUrl: string;
|
4558
4634
|
sipUserName: string;
|
4635
|
+
webphoneLoginUser: string;
|
4559
4636
|
extensionId: number;
|
4560
4637
|
extensionName: string;
|
4561
4638
|
telephonySignature: string | null;
|
4562
|
-
}
|
4639
|
+
};
|
4563
4640
|
};
|
4564
4641
|
room: {
|
4565
4642
|
id: string;
|
@@ -4597,7 +4674,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4597
4674
|
displayName: string;
|
4598
4675
|
}[];
|
4599
4676
|
}[];
|
4600
|
-
extension
|
4677
|
+
extension: {
|
4601
4678
|
id: string;
|
4602
4679
|
createdAt: Date;
|
4603
4680
|
updatedAt: Date;
|
@@ -4605,10 +4682,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4605
4682
|
userId: string | null;
|
4606
4683
|
sipServerUrl: string;
|
4607
4684
|
sipUserName: string;
|
4685
|
+
webphoneLoginUser: string;
|
4608
4686
|
extensionId: number;
|
4609
4687
|
extensionName: string;
|
4610
4688
|
telephonySignature: string | null;
|
4611
|
-
}
|
4689
|
+
};
|
4612
4690
|
};
|
4613
4691
|
firstResponseTime: number;
|
4614
4692
|
lastMessage: string;
|
@@ -4676,6 +4754,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4676
4754
|
fileKey: string;
|
4677
4755
|
bucketName: string;
|
4678
4756
|
fileSize: number;
|
4757
|
+
fileUrl: string | null;
|
4679
4758
|
};
|
4680
4759
|
}[];
|
4681
4760
|
}[];
|
@@ -4764,7 +4843,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4764
4843
|
displayName: string;
|
4765
4844
|
}[];
|
4766
4845
|
}[];
|
4767
|
-
extension
|
4846
|
+
extension: {
|
4768
4847
|
id: string;
|
4769
4848
|
createdAt: Date;
|
4770
4849
|
updatedAt: Date;
|
@@ -4772,10 +4851,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4772
4851
|
userId: string | null;
|
4773
4852
|
sipServerUrl: string;
|
4774
4853
|
sipUserName: string;
|
4854
|
+
webphoneLoginUser: string;
|
4775
4855
|
extensionId: number;
|
4776
4856
|
extensionName: string;
|
4777
4857
|
telephonySignature: string | null;
|
4778
|
-
}
|
4858
|
+
};
|
4779
4859
|
};
|
4780
4860
|
cxlog: {
|
4781
4861
|
id: string;
|
@@ -4861,7 +4941,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4861
4941
|
displayName: string;
|
4862
4942
|
}[];
|
4863
4943
|
}[];
|
4864
|
-
extension
|
4944
|
+
extension: {
|
4865
4945
|
id: string;
|
4866
4946
|
createdAt: Date;
|
4867
4947
|
updatedAt: Date;
|
@@ -4869,10 +4949,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4869
4949
|
userId: string | null;
|
4870
4950
|
sipServerUrl: string;
|
4871
4951
|
sipUserName: string;
|
4952
|
+
webphoneLoginUser: string;
|
4872
4953
|
extensionId: number;
|
4873
4954
|
extensionName: string;
|
4874
4955
|
telephonySignature: string | null;
|
4875
|
-
}
|
4956
|
+
};
|
4876
4957
|
} | undefined;
|
4877
4958
|
} | undefined;
|
4878
4959
|
};
|
@@ -4912,7 +4993,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4912
4993
|
displayName: string;
|
4913
4994
|
}[];
|
4914
4995
|
}[];
|
4915
|
-
extension
|
4996
|
+
extension: {
|
4916
4997
|
id: string;
|
4917
4998
|
createdAt: Date;
|
4918
4999
|
updatedAt: Date;
|
@@ -4920,10 +5001,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4920
5001
|
userId: string | null;
|
4921
5002
|
sipServerUrl: string;
|
4922
5003
|
sipUserName: string;
|
5004
|
+
webphoneLoginUser: string;
|
4923
5005
|
extensionId: number;
|
4924
5006
|
extensionName: string;
|
4925
5007
|
telephonySignature: string | null;
|
4926
|
-
}
|
5008
|
+
};
|
4927
5009
|
};
|
4928
5010
|
metadata?: any;
|
4929
5011
|
template?: any;
|
@@ -4967,7 +5049,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4967
5049
|
displayName: string;
|
4968
5050
|
}[];
|
4969
5051
|
}[];
|
4970
|
-
extension
|
5052
|
+
extension: {
|
4971
5053
|
id: string;
|
4972
5054
|
createdAt: Date;
|
4973
5055
|
updatedAt: Date;
|
@@ -4975,10 +5057,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4975
5057
|
userId: string | null;
|
4976
5058
|
sipServerUrl: string;
|
4977
5059
|
sipUserName: string;
|
5060
|
+
webphoneLoginUser: string;
|
4978
5061
|
extensionId: number;
|
4979
5062
|
extensionName: string;
|
4980
5063
|
telephonySignature: string | null;
|
4981
|
-
}
|
5064
|
+
};
|
4982
5065
|
};
|
4983
5066
|
upload: {
|
4984
5067
|
id: string;
|
@@ -4989,6 +5072,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4989
5072
|
fileKey: string;
|
4990
5073
|
bucketName: string;
|
4991
5074
|
fileSize: number;
|
5075
|
+
fileUrl: string | null;
|
4992
5076
|
};
|
4993
5077
|
assignee: {
|
4994
5078
|
id: string;
|
@@ -5020,7 +5104,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5020
5104
|
displayName: string;
|
5021
5105
|
}[];
|
5022
5106
|
}[];
|
5023
|
-
extension
|
5107
|
+
extension: {
|
5024
5108
|
id: string;
|
5025
5109
|
createdAt: Date;
|
5026
5110
|
updatedAt: Date;
|
@@ -5028,10 +5112,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5028
5112
|
userId: string | null;
|
5029
5113
|
sipServerUrl: string;
|
5030
5114
|
sipUserName: string;
|
5115
|
+
webphoneLoginUser: string;
|
5031
5116
|
extensionId: number;
|
5032
5117
|
extensionName: string;
|
5033
5118
|
telephonySignature: string | null;
|
5034
|
-
}
|
5119
|
+
};
|
5035
5120
|
};
|
5036
5121
|
room: {
|
5037
5122
|
id: string;
|
@@ -5069,7 +5154,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5069
5154
|
displayName: string;
|
5070
5155
|
}[];
|
5071
5156
|
}[];
|
5072
|
-
extension
|
5157
|
+
extension: {
|
5073
5158
|
id: string;
|
5074
5159
|
createdAt: Date;
|
5075
5160
|
updatedAt: Date;
|
@@ -5077,10 +5162,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5077
5162
|
userId: string | null;
|
5078
5163
|
sipServerUrl: string;
|
5079
5164
|
sipUserName: string;
|
5165
|
+
webphoneLoginUser: string;
|
5080
5166
|
extensionId: number;
|
5081
5167
|
extensionName: string;
|
5082
5168
|
telephonySignature: string | null;
|
5083
|
-
}
|
5169
|
+
};
|
5084
5170
|
};
|
5085
5171
|
firstResponseTime: number;
|
5086
5172
|
lastMessage: string;
|
@@ -5148,6 +5234,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5148
5234
|
fileKey: string;
|
5149
5235
|
bucketName: string;
|
5150
5236
|
fileSize: number;
|
5237
|
+
fileUrl: string | null;
|
5151
5238
|
};
|
5152
5239
|
}[];
|
5153
5240
|
}[];
|
@@ -5236,7 +5323,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5236
5323
|
displayName: string;
|
5237
5324
|
}[];
|
5238
5325
|
}[];
|
5239
|
-
extension
|
5326
|
+
extension: {
|
5240
5327
|
id: string;
|
5241
5328
|
createdAt: Date;
|
5242
5329
|
updatedAt: Date;
|
@@ -5244,10 +5331,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5244
5331
|
userId: string | null;
|
5245
5332
|
sipServerUrl: string;
|
5246
5333
|
sipUserName: string;
|
5334
|
+
webphoneLoginUser: string;
|
5247
5335
|
extensionId: number;
|
5248
5336
|
extensionName: string;
|
5249
5337
|
telephonySignature: string | null;
|
5250
|
-
}
|
5338
|
+
};
|
5251
5339
|
};
|
5252
5340
|
cxlog: {
|
5253
5341
|
id: string;
|
@@ -5333,7 +5421,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5333
5421
|
displayName: string;
|
5334
5422
|
}[];
|
5335
5423
|
}[];
|
5336
|
-
extension
|
5424
|
+
extension: {
|
5337
5425
|
id: string;
|
5338
5426
|
createdAt: Date;
|
5339
5427
|
updatedAt: Date;
|
@@ -5341,10 +5429,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5341
5429
|
userId: string | null;
|
5342
5430
|
sipServerUrl: string;
|
5343
5431
|
sipUserName: string;
|
5432
|
+
webphoneLoginUser: string;
|
5344
5433
|
extensionId: number;
|
5345
5434
|
extensionName: string;
|
5346
5435
|
telephonySignature: string | null;
|
5347
|
-
}
|
5436
|
+
};
|
5348
5437
|
} | undefined;
|
5349
5438
|
} | undefined;
|
5350
5439
|
};
|
@@ -5384,7 +5473,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5384
5473
|
displayName: string;
|
5385
5474
|
}[];
|
5386
5475
|
}[];
|
5387
|
-
extension
|
5476
|
+
extension: {
|
5388
5477
|
id: string;
|
5389
5478
|
createdAt: Date;
|
5390
5479
|
updatedAt: Date;
|
@@ -5392,10 +5481,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5392
5481
|
userId: string | null;
|
5393
5482
|
sipServerUrl: string;
|
5394
5483
|
sipUserName: string;
|
5484
|
+
webphoneLoginUser: string;
|
5395
5485
|
extensionId: number;
|
5396
5486
|
extensionName: string;
|
5397
5487
|
telephonySignature: string | null;
|
5398
|
-
}
|
5488
|
+
};
|
5399
5489
|
};
|
5400
5490
|
metadata?: any;
|
5401
5491
|
template?: any;
|
@@ -5441,7 +5531,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5441
5531
|
displayName: string;
|
5442
5532
|
}[];
|
5443
5533
|
}[];
|
5444
|
-
extension
|
5534
|
+
extension: {
|
5445
5535
|
id: string;
|
5446
5536
|
createdAt: Date;
|
5447
5537
|
updatedAt: Date;
|
@@ -5449,10 +5539,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5449
5539
|
userId: string | null;
|
5450
5540
|
sipServerUrl: string;
|
5451
5541
|
sipUserName: string;
|
5542
|
+
webphoneLoginUser: string;
|
5452
5543
|
extensionId: number;
|
5453
5544
|
extensionName: string;
|
5454
5545
|
telephonySignature: string | null;
|
5455
|
-
}
|
5546
|
+
};
|
5456
5547
|
};
|
5457
5548
|
upload: {
|
5458
5549
|
id: string;
|
@@ -5463,6 +5554,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5463
5554
|
fileKey: string;
|
5464
5555
|
bucketName: string;
|
5465
5556
|
fileSize: number;
|
5557
|
+
fileUrl: string | null;
|
5466
5558
|
};
|
5467
5559
|
assignee: {
|
5468
5560
|
id: string;
|
@@ -5494,7 +5586,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5494
5586
|
displayName: string;
|
5495
5587
|
}[];
|
5496
5588
|
}[];
|
5497
|
-
extension
|
5589
|
+
extension: {
|
5498
5590
|
id: string;
|
5499
5591
|
createdAt: Date;
|
5500
5592
|
updatedAt: Date;
|
@@ -5502,10 +5594,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5502
5594
|
userId: string | null;
|
5503
5595
|
sipServerUrl: string;
|
5504
5596
|
sipUserName: string;
|
5597
|
+
webphoneLoginUser: string;
|
5505
5598
|
extensionId: number;
|
5506
5599
|
extensionName: string;
|
5507
5600
|
telephonySignature: string | null;
|
5508
|
-
}
|
5601
|
+
};
|
5509
5602
|
};
|
5510
5603
|
room: {
|
5511
5604
|
id: string;
|
@@ -5543,7 +5636,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5543
5636
|
displayName: string;
|
5544
5637
|
}[];
|
5545
5638
|
}[];
|
5546
|
-
extension
|
5639
|
+
extension: {
|
5547
5640
|
id: string;
|
5548
5641
|
createdAt: Date;
|
5549
5642
|
updatedAt: Date;
|
@@ -5551,10 +5644,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5551
5644
|
userId: string | null;
|
5552
5645
|
sipServerUrl: string;
|
5553
5646
|
sipUserName: string;
|
5647
|
+
webphoneLoginUser: string;
|
5554
5648
|
extensionId: number;
|
5555
5649
|
extensionName: string;
|
5556
5650
|
telephonySignature: string | null;
|
5557
|
-
}
|
5651
|
+
};
|
5558
5652
|
};
|
5559
5653
|
firstResponseTime: number;
|
5560
5654
|
lastMessage: string;
|
@@ -5622,6 +5716,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5622
5716
|
fileKey: string;
|
5623
5717
|
bucketName: string;
|
5624
5718
|
fileSize: number;
|
5719
|
+
fileUrl: string | null;
|
5625
5720
|
};
|
5626
5721
|
}[];
|
5627
5722
|
}[];
|
@@ -5710,7 +5805,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5710
5805
|
displayName: string;
|
5711
5806
|
}[];
|
5712
5807
|
}[];
|
5713
|
-
extension
|
5808
|
+
extension: {
|
5714
5809
|
id: string;
|
5715
5810
|
createdAt: Date;
|
5716
5811
|
updatedAt: Date;
|
@@ -5718,10 +5813,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5718
5813
|
userId: string | null;
|
5719
5814
|
sipServerUrl: string;
|
5720
5815
|
sipUserName: string;
|
5816
|
+
webphoneLoginUser: string;
|
5721
5817
|
extensionId: number;
|
5722
5818
|
extensionName: string;
|
5723
5819
|
telephonySignature: string | null;
|
5724
|
-
}
|
5820
|
+
};
|
5725
5821
|
};
|
5726
5822
|
cxlog: {
|
5727
5823
|
id: string;
|
@@ -5807,7 +5903,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5807
5903
|
displayName: string;
|
5808
5904
|
}[];
|
5809
5905
|
}[];
|
5810
|
-
extension
|
5906
|
+
extension: {
|
5811
5907
|
id: string;
|
5812
5908
|
createdAt: Date;
|
5813
5909
|
updatedAt: Date;
|
@@ -5815,10 +5911,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5815
5911
|
userId: string | null;
|
5816
5912
|
sipServerUrl: string;
|
5817
5913
|
sipUserName: string;
|
5914
|
+
webphoneLoginUser: string;
|
5818
5915
|
extensionId: number;
|
5819
5916
|
extensionName: string;
|
5820
5917
|
telephonySignature: string | null;
|
5821
|
-
}
|
5918
|
+
};
|
5822
5919
|
} | undefined;
|
5823
5920
|
} | undefined;
|
5824
5921
|
};
|
@@ -5858,7 +5955,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5858
5955
|
displayName: string;
|
5859
5956
|
}[];
|
5860
5957
|
}[];
|
5861
|
-
extension
|
5958
|
+
extension: {
|
5862
5959
|
id: string;
|
5863
5960
|
createdAt: Date;
|
5864
5961
|
updatedAt: Date;
|
@@ -5866,10 +5963,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5866
5963
|
userId: string | null;
|
5867
5964
|
sipServerUrl: string;
|
5868
5965
|
sipUserName: string;
|
5966
|
+
webphoneLoginUser: string;
|
5869
5967
|
extensionId: number;
|
5870
5968
|
extensionName: string;
|
5871
5969
|
telephonySignature: string | null;
|
5872
|
-
}
|
5970
|
+
};
|
5873
5971
|
};
|
5874
5972
|
metadata?: any;
|
5875
5973
|
template?: any;
|
@@ -5916,7 +6014,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5916
6014
|
displayName: string;
|
5917
6015
|
}[];
|
5918
6016
|
}[];
|
5919
|
-
extension
|
6017
|
+
extension: {
|
5920
6018
|
id: string;
|
5921
6019
|
createdAt: Date;
|
5922
6020
|
updatedAt: Date;
|
@@ -5924,10 +6022,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5924
6022
|
userId: string | null;
|
5925
6023
|
sipServerUrl: string;
|
5926
6024
|
sipUserName: string;
|
6025
|
+
webphoneLoginUser: string;
|
5927
6026
|
extensionId: number;
|
5928
6027
|
extensionName: string;
|
5929
6028
|
telephonySignature: string | null;
|
5930
|
-
}
|
6029
|
+
};
|
5931
6030
|
};
|
5932
6031
|
upload: {
|
5933
6032
|
id: string;
|
@@ -5938,6 +6037,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5938
6037
|
fileKey: string;
|
5939
6038
|
bucketName: string;
|
5940
6039
|
fileSize: number;
|
6040
|
+
fileUrl: string | null;
|
5941
6041
|
};
|
5942
6042
|
assignee: {
|
5943
6043
|
id: string;
|
@@ -5969,7 +6069,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5969
6069
|
displayName: string;
|
5970
6070
|
}[];
|
5971
6071
|
}[];
|
5972
|
-
extension
|
6072
|
+
extension: {
|
5973
6073
|
id: string;
|
5974
6074
|
createdAt: Date;
|
5975
6075
|
updatedAt: Date;
|
@@ -5977,10 +6077,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5977
6077
|
userId: string | null;
|
5978
6078
|
sipServerUrl: string;
|
5979
6079
|
sipUserName: string;
|
6080
|
+
webphoneLoginUser: string;
|
5980
6081
|
extensionId: number;
|
5981
6082
|
extensionName: string;
|
5982
6083
|
telephonySignature: string | null;
|
5983
|
-
}
|
6084
|
+
};
|
5984
6085
|
};
|
5985
6086
|
room: {
|
5986
6087
|
id: string;
|
@@ -6018,7 +6119,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6018
6119
|
displayName: string;
|
6019
6120
|
}[];
|
6020
6121
|
}[];
|
6021
|
-
extension
|
6122
|
+
extension: {
|
6022
6123
|
id: string;
|
6023
6124
|
createdAt: Date;
|
6024
6125
|
updatedAt: Date;
|
@@ -6026,10 +6127,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6026
6127
|
userId: string | null;
|
6027
6128
|
sipServerUrl: string;
|
6028
6129
|
sipUserName: string;
|
6130
|
+
webphoneLoginUser: string;
|
6029
6131
|
extensionId: number;
|
6030
6132
|
extensionName: string;
|
6031
6133
|
telephonySignature: string | null;
|
6032
|
-
}
|
6134
|
+
};
|
6033
6135
|
};
|
6034
6136
|
firstResponseTime: number;
|
6035
6137
|
lastMessage: string;
|
@@ -6097,6 +6199,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6097
6199
|
fileKey: string;
|
6098
6200
|
bucketName: string;
|
6099
6201
|
fileSize: number;
|
6202
|
+
fileUrl: string | null;
|
6100
6203
|
};
|
6101
6204
|
}[];
|
6102
6205
|
}[];
|
@@ -6185,7 +6288,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6185
6288
|
displayName: string;
|
6186
6289
|
}[];
|
6187
6290
|
}[];
|
6188
|
-
extension
|
6291
|
+
extension: {
|
6189
6292
|
id: string;
|
6190
6293
|
createdAt: Date;
|
6191
6294
|
updatedAt: Date;
|
@@ -6193,10 +6296,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6193
6296
|
userId: string | null;
|
6194
6297
|
sipServerUrl: string;
|
6195
6298
|
sipUserName: string;
|
6299
|
+
webphoneLoginUser: string;
|
6196
6300
|
extensionId: number;
|
6197
6301
|
extensionName: string;
|
6198
6302
|
telephonySignature: string | null;
|
6199
|
-
}
|
6303
|
+
};
|
6200
6304
|
};
|
6201
6305
|
cxlog: {
|
6202
6306
|
id: string;
|
@@ -6282,7 +6386,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6282
6386
|
displayName: string;
|
6283
6387
|
}[];
|
6284
6388
|
}[];
|
6285
|
-
extension
|
6389
|
+
extension: {
|
6286
6390
|
id: string;
|
6287
6391
|
createdAt: Date;
|
6288
6392
|
updatedAt: Date;
|
@@ -6290,10 +6394,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6290
6394
|
userId: string | null;
|
6291
6395
|
sipServerUrl: string;
|
6292
6396
|
sipUserName: string;
|
6397
|
+
webphoneLoginUser: string;
|
6293
6398
|
extensionId: number;
|
6294
6399
|
extensionName: string;
|
6295
6400
|
telephonySignature: string | null;
|
6296
|
-
}
|
6401
|
+
};
|
6297
6402
|
} | undefined;
|
6298
6403
|
} | undefined;
|
6299
6404
|
};
|
@@ -6333,7 +6438,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6333
6438
|
displayName: string;
|
6334
6439
|
}[];
|
6335
6440
|
}[];
|
6336
|
-
extension
|
6441
|
+
extension: {
|
6337
6442
|
id: string;
|
6338
6443
|
createdAt: Date;
|
6339
6444
|
updatedAt: Date;
|
@@ -6341,10 +6446,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6341
6446
|
userId: string | null;
|
6342
6447
|
sipServerUrl: string;
|
6343
6448
|
sipUserName: string;
|
6449
|
+
webphoneLoginUser: string;
|
6344
6450
|
extensionId: number;
|
6345
6451
|
extensionName: string;
|
6346
6452
|
telephonySignature: string | null;
|
6347
|
-
}
|
6453
|
+
};
|
6348
6454
|
};
|
6349
6455
|
metadata?: any;
|
6350
6456
|
template?: any;
|
@@ -6490,37 +6596,28 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
|
|
6490
6596
|
}>;
|
6491
6597
|
export declare const ReceiveMessageSchema: z.ZodObject<{
|
6492
6598
|
message: z.ZodObject<{
|
6493
|
-
id: z.ZodString;
|
6494
|
-
createdAt: z.ZodDate;
|
6495
|
-
updatedAt: z.ZodDate;
|
6496
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
6497
6599
|
message: z.ZodString;
|
6498
6600
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
6499
6601
|
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "reopen", "open", "closed", "handed_over", "updated", "started"]>;
|
6500
|
-
readAt: z.ZodDate;
|
6501
6602
|
metadata: z.ZodAny;
|
6502
6603
|
platformId: z.ZodString;
|
6503
6604
|
platformMessageId: z.ZodString;
|
6504
|
-
replyPlatformMessageId: z.ZodString
|
6605
|
+
replyPlatformMessageId: z.ZodOptional<z.ZodString>;
|
6505
6606
|
template: z.ZodAny;
|
6506
|
-
locale: z.ZodEnum<["mm", "en", "th", ""]
|
6507
|
-
url: z.ZodString
|
6508
|
-
previewUrl: z.ZodString
|
6509
|
-
imageSetId: z.ZodString
|
6607
|
+
locale: z.ZodNullable<z.ZodEnum<["mm", "en", "th", ""]>>;
|
6608
|
+
url: z.ZodOptional<z.ZodString>;
|
6609
|
+
previewUrl: z.ZodOptional<z.ZodString>;
|
6610
|
+
imageSetId: z.ZodOptional<z.ZodString>;
|
6510
6611
|
room: z.ZodObject<{
|
6511
|
-
|
6512
|
-
|
6513
|
-
|
6514
|
-
|
6515
|
-
|
6516
|
-
|
6517
|
-
|
6518
|
-
|
6519
|
-
|
6520
|
-
firstResponseTime: z.ZodNumber;
|
6521
|
-
isLatest: z.ZodBoolean;
|
6522
|
-
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
6523
|
-
platformContact: z.ZodObject<{
|
6612
|
+
lastMessage: z.ZodOptional<z.ZodString>;
|
6613
|
+
handleTime: z.ZodOptional<z.ZodNumber>;
|
6614
|
+
closeAt: z.ZodOptional<z.ZodDate>;
|
6615
|
+
unreadCount: z.ZodOptional<z.ZodNumber>;
|
6616
|
+
firstResponseAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
6617
|
+
firstResponseTime: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
6618
|
+
isLatest: z.ZodOptional<z.ZodBoolean>;
|
6619
|
+
direction: z.ZodOptional<z.ZodEnum<["incoming", "outgoing", "system"]>>;
|
6620
|
+
platformContact: z.ZodOptional<z.ZodObject<{
|
6524
6621
|
id: z.ZodString;
|
6525
6622
|
createdAt: z.ZodDate;
|
6526
6623
|
updatedAt: z.ZodDate;
|
@@ -6844,6 +6941,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
6844
6941
|
fileName: z.ZodString;
|
6845
6942
|
fileSize: z.ZodNumber;
|
6846
6943
|
fileKey: z.ZodString;
|
6944
|
+
fileUrl: z.ZodNullable<z.ZodString>;
|
6847
6945
|
}, "strip", z.ZodTypeAny, {
|
6848
6946
|
id: string;
|
6849
6947
|
createdAt: Date;
|
@@ -6853,6 +6951,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
6853
6951
|
fileKey: string;
|
6854
6952
|
bucketName: string;
|
6855
6953
|
fileSize: number;
|
6954
|
+
fileUrl: string | null;
|
6856
6955
|
}, {
|
6857
6956
|
id: string;
|
6858
6957
|
createdAt: Date;
|
@@ -6862,6 +6961,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
6862
6961
|
fileKey: string;
|
6863
6962
|
bucketName: string;
|
6864
6963
|
fileSize: number;
|
6964
|
+
fileUrl: string | null;
|
6865
6965
|
}>;
|
6866
6966
|
}, "strip", z.ZodTypeAny, {
|
6867
6967
|
id: string;
|
@@ -6878,6 +6978,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
6878
6978
|
fileKey: string;
|
6879
6979
|
bucketName: string;
|
6880
6980
|
fileSize: number;
|
6981
|
+
fileUrl: string | null;
|
6881
6982
|
};
|
6882
6983
|
}, {
|
6883
6984
|
id: string;
|
@@ -6894,6 +6995,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
6894
6995
|
fileKey: string;
|
6895
6996
|
bucketName: string;
|
6896
6997
|
fileSize: number;
|
6998
|
+
fileUrl: string | null;
|
6897
6999
|
};
|
6898
7000
|
}>, "many">;
|
6899
7001
|
}, "strip", z.ZodTypeAny, {
|
@@ -6934,6 +7036,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
6934
7036
|
fileKey: string;
|
6935
7037
|
bucketName: string;
|
6936
7038
|
fileSize: number;
|
7039
|
+
fileUrl: string | null;
|
6937
7040
|
};
|
6938
7041
|
}[];
|
6939
7042
|
}, {
|
@@ -6974,6 +7077,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
6974
7077
|
fileKey: string;
|
6975
7078
|
bucketName: string;
|
6976
7079
|
fileSize: number;
|
7080
|
+
fileUrl: string | null;
|
6977
7081
|
};
|
6978
7082
|
}[];
|
6979
7083
|
}>, "many">;
|
@@ -7127,6 +7231,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7127
7231
|
fileKey: string;
|
7128
7232
|
bucketName: string;
|
7129
7233
|
fileSize: number;
|
7234
|
+
fileUrl: string | null;
|
7130
7235
|
};
|
7131
7236
|
}[];
|
7132
7237
|
}[];
|
@@ -7228,6 +7333,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7228
7333
|
fileKey: string;
|
7229
7334
|
bucketName: string;
|
7230
7335
|
fileSize: number;
|
7336
|
+
fileUrl: string | null;
|
7231
7337
|
};
|
7232
7338
|
}[];
|
7233
7339
|
}[];
|
@@ -7343,6 +7449,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7343
7449
|
fileKey: string;
|
7344
7450
|
bucketName: string;
|
7345
7451
|
fileSize: number;
|
7452
|
+
fileUrl: string | null;
|
7346
7453
|
};
|
7347
7454
|
}[];
|
7348
7455
|
}[];
|
@@ -7459,6 +7566,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7459
7566
|
fileKey: string;
|
7460
7567
|
bucketName: string;
|
7461
7568
|
fileSize: number;
|
7569
|
+
fileUrl: string | null;
|
7462
7570
|
};
|
7463
7571
|
}[];
|
7464
7572
|
}[];
|
@@ -7516,8 +7624,8 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7516
7624
|
}[] | undefined;
|
7517
7625
|
};
|
7518
7626
|
socialPlatformId: string;
|
7519
|
-
}
|
7520
|
-
actor: z.ZodObject<{
|
7627
|
+
}>>;
|
7628
|
+
actor: z.ZodOptional<z.ZodObject<{
|
7521
7629
|
id: z.ZodString;
|
7522
7630
|
createdAt: z.ZodDate;
|
7523
7631
|
updatedAt: z.ZodDate;
|
@@ -7597,7 +7705,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7597
7705
|
displayName: string;
|
7598
7706
|
}[];
|
7599
7707
|
}>, "many">;
|
7600
|
-
extension: z.
|
7708
|
+
extension: z.ZodObject<{
|
7601
7709
|
id: z.ZodString;
|
7602
7710
|
createdAt: z.ZodDate;
|
7603
7711
|
updatedAt: z.ZodDate;
|
@@ -7605,6 +7713,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7605
7713
|
userId: z.ZodNullable<z.ZodString>;
|
7606
7714
|
sipServerUrl: z.ZodString;
|
7607
7715
|
sipUserName: z.ZodString;
|
7716
|
+
webphoneLoginUser: z.ZodString;
|
7608
7717
|
extensionId: z.ZodNumber;
|
7609
7718
|
extensionName: z.ZodString;
|
7610
7719
|
telephonySignature: z.ZodNullable<z.ZodString>;
|
@@ -7616,6 +7725,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7616
7725
|
userId: string | null;
|
7617
7726
|
sipServerUrl: string;
|
7618
7727
|
sipUserName: string;
|
7728
|
+
webphoneLoginUser: string;
|
7619
7729
|
extensionId: number;
|
7620
7730
|
extensionName: string;
|
7621
7731
|
telephonySignature: string | null;
|
@@ -7627,10 +7737,11 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7627
7737
|
userId: string | null;
|
7628
7738
|
sipServerUrl: string;
|
7629
7739
|
sipUserName: string;
|
7740
|
+
webphoneLoginUser: string;
|
7630
7741
|
extensionId: number;
|
7631
7742
|
extensionName: string;
|
7632
7743
|
telephonySignature: string | null;
|
7633
|
-
}
|
7744
|
+
}>;
|
7634
7745
|
}, "strip", z.ZodTypeAny, {
|
7635
7746
|
id: string;
|
7636
7747
|
address: string | null;
|
@@ -7661,7 +7772,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7661
7772
|
displayName: string;
|
7662
7773
|
}[];
|
7663
7774
|
}[];
|
7664
|
-
extension
|
7775
|
+
extension: {
|
7665
7776
|
id: string;
|
7666
7777
|
createdAt: Date;
|
7667
7778
|
updatedAt: Date;
|
@@ -7669,10 +7780,11 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7669
7780
|
userId: string | null;
|
7670
7781
|
sipServerUrl: string;
|
7671
7782
|
sipUserName: string;
|
7783
|
+
webphoneLoginUser: string;
|
7672
7784
|
extensionId: number;
|
7673
7785
|
extensionName: string;
|
7674
7786
|
telephonySignature: string | null;
|
7675
|
-
}
|
7787
|
+
};
|
7676
7788
|
}, {
|
7677
7789
|
id: string;
|
7678
7790
|
address: string | null;
|
@@ -7703,7 +7815,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7703
7815
|
displayName: string;
|
7704
7816
|
}[];
|
7705
7817
|
}[];
|
7706
|
-
extension
|
7818
|
+
extension: {
|
7707
7819
|
id: string;
|
7708
7820
|
createdAt: Date;
|
7709
7821
|
updatedAt: Date;
|
@@ -7711,12 +7823,13 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7711
7823
|
userId: string | null;
|
7712
7824
|
sipServerUrl: string;
|
7713
7825
|
sipUserName: string;
|
7826
|
+
webphoneLoginUser: string;
|
7714
7827
|
extensionId: number;
|
7715
7828
|
extensionName: string;
|
7716
7829
|
telephonySignature: string | null;
|
7717
|
-
}
|
7718
|
-
}
|
7719
|
-
assignee: z.ZodObject<{
|
7830
|
+
};
|
7831
|
+
}>>;
|
7832
|
+
assignee: z.ZodOptional<z.ZodObject<{
|
7720
7833
|
id: z.ZodString;
|
7721
7834
|
createdAt: z.ZodDate;
|
7722
7835
|
updatedAt: z.ZodDate;
|
@@ -7796,7 +7909,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7796
7909
|
displayName: string;
|
7797
7910
|
}[];
|
7798
7911
|
}>, "many">;
|
7799
|
-
extension: z.
|
7912
|
+
extension: z.ZodObject<{
|
7800
7913
|
id: z.ZodString;
|
7801
7914
|
createdAt: z.ZodDate;
|
7802
7915
|
updatedAt: z.ZodDate;
|
@@ -7804,6 +7917,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7804
7917
|
userId: z.ZodNullable<z.ZodString>;
|
7805
7918
|
sipServerUrl: z.ZodString;
|
7806
7919
|
sipUserName: z.ZodString;
|
7920
|
+
webphoneLoginUser: z.ZodString;
|
7807
7921
|
extensionId: z.ZodNumber;
|
7808
7922
|
extensionName: z.ZodString;
|
7809
7923
|
telephonySignature: z.ZodNullable<z.ZodString>;
|
@@ -7815,6 +7929,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7815
7929
|
userId: string | null;
|
7816
7930
|
sipServerUrl: string;
|
7817
7931
|
sipUserName: string;
|
7932
|
+
webphoneLoginUser: string;
|
7818
7933
|
extensionId: number;
|
7819
7934
|
extensionName: string;
|
7820
7935
|
telephonySignature: string | null;
|
@@ -7826,10 +7941,11 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7826
7941
|
userId: string | null;
|
7827
7942
|
sipServerUrl: string;
|
7828
7943
|
sipUserName: string;
|
7944
|
+
webphoneLoginUser: string;
|
7829
7945
|
extensionId: number;
|
7830
7946
|
extensionName: string;
|
7831
7947
|
telephonySignature: string | null;
|
7832
|
-
}
|
7948
|
+
}>;
|
7833
7949
|
}, "strip", z.ZodTypeAny, {
|
7834
7950
|
id: string;
|
7835
7951
|
address: string | null;
|
@@ -7860,7 +7976,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7860
7976
|
displayName: string;
|
7861
7977
|
}[];
|
7862
7978
|
}[];
|
7863
|
-
extension
|
7979
|
+
extension: {
|
7864
7980
|
id: string;
|
7865
7981
|
createdAt: Date;
|
7866
7982
|
updatedAt: Date;
|
@@ -7868,10 +7984,11 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7868
7984
|
userId: string | null;
|
7869
7985
|
sipServerUrl: string;
|
7870
7986
|
sipUserName: string;
|
7987
|
+
webphoneLoginUser: string;
|
7871
7988
|
extensionId: number;
|
7872
7989
|
extensionName: string;
|
7873
7990
|
telephonySignature: string | null;
|
7874
|
-
}
|
7991
|
+
};
|
7875
7992
|
}, {
|
7876
7993
|
id: string;
|
7877
7994
|
address: string | null;
|
@@ -7902,7 +8019,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7902
8019
|
displayName: string;
|
7903
8020
|
}[];
|
7904
8021
|
}[];
|
7905
|
-
extension
|
8022
|
+
extension: {
|
7906
8023
|
id: string;
|
7907
8024
|
createdAt: Date;
|
7908
8025
|
updatedAt: Date;
|
@@ -7910,19 +8027,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7910
8027
|
userId: string | null;
|
7911
8028
|
sipServerUrl: string;
|
7912
8029
|
sipUserName: string;
|
8030
|
+
webphoneLoginUser: string;
|
7913
8031
|
extensionId: number;
|
7914
8032
|
extensionName: string;
|
7915
8033
|
telephonySignature: string | null;
|
7916
|
-
}
|
7917
|
-
}
|
8034
|
+
};
|
8035
|
+
}>>;
|
7918
8036
|
channel: z.ZodOptional<z.ZodObject<{
|
7919
|
-
|
7920
|
-
|
7921
|
-
|
7922
|
-
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
7923
|
-
name: z.ZodOptional<z.ZodString>;
|
7924
|
-
type: z.ZodOptional<z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>>;
|
7925
|
-
metadata: z.ZodOptional<z.ZodObject<{
|
8037
|
+
name: z.ZodString;
|
8038
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
|
8039
|
+
metadata: z.ZodObject<{
|
7926
8040
|
id: z.ZodString;
|
7927
8041
|
name: z.ZodString;
|
7928
8042
|
accessToken: z.ZodString;
|
@@ -7937,364 +8051,101 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7937
8051
|
name: string;
|
7938
8052
|
accessToken: string;
|
7939
8053
|
additionalCredentials?: any;
|
7940
|
-
}
|
7941
|
-
|
7942
|
-
|
7943
|
-
status: z.
|
7944
|
-
|
7945
|
-
|
7946
|
-
|
7947
|
-
actor: z.ZodOptional<z.ZodObject<{
|
8054
|
+
}>;
|
8055
|
+
platformId: z.ZodString;
|
8056
|
+
brandName: z.ZodString;
|
8057
|
+
status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
|
8058
|
+
connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
8059
|
+
connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
8060
|
+
actor: z.ZodObject<{
|
7948
8061
|
id: z.ZodString;
|
7949
|
-
createdAt: z.ZodDate;
|
7950
|
-
updatedAt: z.ZodDate;
|
7951
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
7952
8062
|
name: z.ZodString;
|
7953
8063
|
email: z.ZodString;
|
7954
|
-
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
7955
|
-
password: z.ZodString;
|
7956
8064
|
address: z.ZodNullable<z.ZodString>;
|
7957
8065
|
phone: z.ZodNullable<z.ZodString>;
|
7958
|
-
|
7959
|
-
|
7960
|
-
|
7961
|
-
|
7962
|
-
|
7963
|
-
|
7964
|
-
|
7965
|
-
|
7966
|
-
|
7967
|
-
|
7968
|
-
|
7969
|
-
|
7970
|
-
|
7971
|
-
|
7972
|
-
|
7973
|
-
|
7974
|
-
|
7975
|
-
|
7976
|
-
|
7977
|
-
|
7978
|
-
|
7979
|
-
|
7980
|
-
|
7981
|
-
|
7982
|
-
|
7983
|
-
|
7984
|
-
|
7985
|
-
|
7986
|
-
|
7987
|
-
|
7988
|
-
|
7989
|
-
|
7990
|
-
|
7991
|
-
|
7992
|
-
|
7993
|
-
|
7994
|
-
|
7995
|
-
|
7996
|
-
|
7997
|
-
|
7998
|
-
|
7999
|
-
|
8000
|
-
|
8001
|
-
|
8002
|
-
|
8003
|
-
|
8004
|
-
|
8005
|
-
|
8006
|
-
|
8007
|
-
|
8008
|
-
|
8009
|
-
|
8010
|
-
|
8011
|
-
|
8012
|
-
|
8013
|
-
|
8014
|
-
|
8015
|
-
|
8016
|
-
|
8017
|
-
|
8018
|
-
|
8019
|
-
|
8020
|
-
|
8021
|
-
|
8022
|
-
|
8023
|
-
|
8024
|
-
|
8025
|
-
|
8026
|
-
|
8027
|
-
|
8028
|
-
|
8029
|
-
|
8030
|
-
|
8031
|
-
|
8032
|
-
|
8033
|
-
|
8034
|
-
|
8035
|
-
|
8036
|
-
|
8037
|
-
|
8038
|
-
|
8039
|
-
|
8040
|
-
|
8041
|
-
updatedAt: Date;
|
8042
|
-
deletedAt: Date | null;
|
8043
|
-
userId: string | null;
|
8044
|
-
sipServerUrl: string;
|
8045
|
-
sipUserName: string;
|
8046
|
-
extensionId: number;
|
8047
|
-
extensionName: string;
|
8048
|
-
telephonySignature: string | null;
|
8049
|
-
}, {
|
8050
|
-
id: string;
|
8051
|
-
createdAt: Date;
|
8052
|
-
updatedAt: Date;
|
8053
|
-
deletedAt: Date | null;
|
8054
|
-
userId: string | null;
|
8055
|
-
sipServerUrl: string;
|
8056
|
-
sipUserName: string;
|
8057
|
-
extensionId: number;
|
8058
|
-
extensionName: string;
|
8059
|
-
telephonySignature: string | null;
|
8060
|
-
}>>;
|
8061
|
-
}, "strip", z.ZodTypeAny, {
|
8062
|
-
id: string;
|
8063
|
-
address: string | null;
|
8064
|
-
name: string;
|
8065
|
-
email: string;
|
8066
|
-
createdAt: Date;
|
8067
|
-
updatedAt: Date;
|
8068
|
-
deletedAt: Date | null;
|
8069
|
-
emailVerifiedAt: Date | null;
|
8070
|
-
password: string;
|
8071
|
-
phone: string | null;
|
8072
|
-
notificationCount: number | null;
|
8073
|
-
roles: {
|
8074
|
-
id: string;
|
8075
|
-
description: string | null;
|
8076
|
-
createdAt: Date;
|
8077
|
-
updatedAt: Date;
|
8078
|
-
deletedAt: Date | null;
|
8079
|
-
systemName: string;
|
8080
|
-
displayName: string;
|
8081
|
-
permissions: {
|
8082
|
-
id: string;
|
8083
|
-
description: string | null;
|
8084
|
-
createdAt: Date;
|
8085
|
-
updatedAt: Date;
|
8086
|
-
deletedAt: Date | null;
|
8087
|
-
systemName: string;
|
8088
|
-
displayName: string;
|
8089
|
-
}[];
|
8090
|
-
}[];
|
8091
|
-
extension?: {
|
8092
|
-
id: string;
|
8093
|
-
createdAt: Date;
|
8094
|
-
updatedAt: Date;
|
8095
|
-
deletedAt: Date | null;
|
8096
|
-
userId: string | null;
|
8097
|
-
sipServerUrl: string;
|
8098
|
-
sipUserName: string;
|
8099
|
-
extensionId: number;
|
8100
|
-
extensionName: string;
|
8101
|
-
telephonySignature: string | null;
|
8102
|
-
} | undefined;
|
8103
|
-
}, {
|
8104
|
-
id: string;
|
8105
|
-
address: string | null;
|
8106
|
-
name: string;
|
8107
|
-
email: string;
|
8108
|
-
createdAt: Date;
|
8109
|
-
updatedAt: Date;
|
8110
|
-
deletedAt: Date | null;
|
8111
|
-
emailVerifiedAt: Date | null;
|
8112
|
-
password: string;
|
8113
|
-
phone: string | null;
|
8114
|
-
notificationCount: number | null;
|
8115
|
-
roles: {
|
8116
|
-
id: string;
|
8117
|
-
description: string | null;
|
8118
|
-
createdAt: Date;
|
8119
|
-
updatedAt: Date;
|
8120
|
-
deletedAt: Date | null;
|
8121
|
-
systemName: string;
|
8122
|
-
displayName: string;
|
8123
|
-
permissions: {
|
8124
|
-
id: string;
|
8125
|
-
description: string | null;
|
8126
|
-
createdAt: Date;
|
8127
|
-
updatedAt: Date;
|
8128
|
-
deletedAt: Date | null;
|
8129
|
-
systemName: string;
|
8130
|
-
displayName: string;
|
8131
|
-
}[];
|
8132
|
-
}[];
|
8133
|
-
extension?: {
|
8134
|
-
id: string;
|
8135
|
-
createdAt: Date;
|
8136
|
-
updatedAt: Date;
|
8137
|
-
deletedAt: Date | null;
|
8138
|
-
userId: string | null;
|
8139
|
-
sipServerUrl: string;
|
8140
|
-
sipUserName: string;
|
8141
|
-
extensionId: number;
|
8142
|
-
extensionName: string;
|
8143
|
-
telephonySignature: string | null;
|
8144
|
-
} | undefined;
|
8145
|
-
}>>;
|
8146
|
-
}, "strip", z.ZodTypeAny, {
|
8147
|
-
id?: string | undefined;
|
8148
|
-
createdAt?: Date | undefined;
|
8149
|
-
updatedAt?: Date | undefined;
|
8150
|
-
deletedAt?: Date | null | undefined;
|
8151
|
-
name?: string | undefined;
|
8152
|
-
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
8153
|
-
metadata?: {
|
8154
|
-
id: string;
|
8155
|
-
name: string;
|
8156
|
-
accessToken: string;
|
8157
|
-
additionalCredentials?: any;
|
8158
|
-
} | undefined;
|
8159
|
-
brandName?: string | undefined;
|
8160
|
-
platformId?: string | undefined;
|
8161
|
-
status?: boolean | undefined;
|
8162
|
-
isReloginRequired?: boolean | undefined;
|
8163
|
-
connectedUserName?: string | undefined;
|
8164
|
-
connectedUserId?: string | undefined;
|
8165
|
-
actor?: {
|
8166
|
-
id: string;
|
8167
|
-
address: string | null;
|
8168
|
-
name: string;
|
8169
|
-
email: string;
|
8170
|
-
createdAt: Date;
|
8171
|
-
updatedAt: Date;
|
8172
|
-
deletedAt: Date | null;
|
8173
|
-
emailVerifiedAt: Date | null;
|
8174
|
-
password: string;
|
8175
|
-
phone: string | null;
|
8176
|
-
notificationCount: number | null;
|
8177
|
-
roles: {
|
8178
|
-
id: string;
|
8179
|
-
description: string | null;
|
8180
|
-
createdAt: Date;
|
8181
|
-
updatedAt: Date;
|
8182
|
-
deletedAt: Date | null;
|
8183
|
-
systemName: string;
|
8184
|
-
displayName: string;
|
8185
|
-
permissions: {
|
8186
|
-
id: string;
|
8187
|
-
description: string | null;
|
8188
|
-
createdAt: Date;
|
8189
|
-
updatedAt: Date;
|
8190
|
-
deletedAt: Date | null;
|
8191
|
-
systemName: string;
|
8192
|
-
displayName: string;
|
8193
|
-
}[];
|
8194
|
-
}[];
|
8195
|
-
extension?: {
|
8196
|
-
id: string;
|
8197
|
-
createdAt: Date;
|
8198
|
-
updatedAt: Date;
|
8199
|
-
deletedAt: Date | null;
|
8200
|
-
userId: string | null;
|
8201
|
-
sipServerUrl: string;
|
8202
|
-
sipUserName: string;
|
8203
|
-
extensionId: number;
|
8204
|
-
extensionName: string;
|
8205
|
-
telephonySignature: string | null;
|
8206
|
-
} | undefined;
|
8207
|
-
} | undefined;
|
8208
|
-
}, {
|
8209
|
-
id?: string | undefined;
|
8210
|
-
createdAt?: Date | undefined;
|
8211
|
-
updatedAt?: Date | undefined;
|
8212
|
-
deletedAt?: Date | null | undefined;
|
8213
|
-
name?: string | undefined;
|
8214
|
-
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
8215
|
-
metadata?: {
|
8216
|
-
id: string;
|
8217
|
-
name: string;
|
8218
|
-
accessToken: string;
|
8219
|
-
additionalCredentials?: any;
|
8220
|
-
} | undefined;
|
8221
|
-
brandName?: string | undefined;
|
8222
|
-
platformId?: string | undefined;
|
8223
|
-
status?: boolean | undefined;
|
8224
|
-
isReloginRequired?: boolean | undefined;
|
8225
|
-
connectedUserName?: string | undefined;
|
8226
|
-
connectedUserId?: string | undefined;
|
8227
|
-
actor?: {
|
8228
|
-
id: string;
|
8229
|
-
address: string | null;
|
8230
|
-
name: string;
|
8231
|
-
email: string;
|
8232
|
-
createdAt: Date;
|
8233
|
-
updatedAt: Date;
|
8234
|
-
deletedAt: Date | null;
|
8235
|
-
emailVerifiedAt: Date | null;
|
8236
|
-
password: string;
|
8237
|
-
phone: string | null;
|
8238
|
-
notificationCount: number | null;
|
8239
|
-
roles: {
|
8240
|
-
id: string;
|
8241
|
-
description: string | null;
|
8242
|
-
createdAt: Date;
|
8243
|
-
updatedAt: Date;
|
8244
|
-
deletedAt: Date | null;
|
8245
|
-
systemName: string;
|
8246
|
-
displayName: string;
|
8247
|
-
permissions: {
|
8248
|
-
id: string;
|
8249
|
-
description: string | null;
|
8250
|
-
createdAt: Date;
|
8251
|
-
updatedAt: Date;
|
8252
|
-
deletedAt: Date | null;
|
8253
|
-
systemName: string;
|
8254
|
-
displayName: string;
|
8255
|
-
}[];
|
8256
|
-
}[];
|
8257
|
-
extension?: {
|
8258
|
-
id: string;
|
8259
|
-
createdAt: Date;
|
8260
|
-
updatedAt: Date;
|
8261
|
-
deletedAt: Date | null;
|
8262
|
-
userId: string | null;
|
8263
|
-
sipServerUrl: string;
|
8264
|
-
sipUserName: string;
|
8265
|
-
extensionId: number;
|
8266
|
-
extensionName: string;
|
8267
|
-
telephonySignature: string | null;
|
8268
|
-
} | undefined;
|
8269
|
-
} | undefined;
|
8270
|
-
}>>;
|
8271
|
-
cxlog: z.ZodObject<{
|
8272
|
-
id: z.ZodString;
|
8273
|
-
createdAt: z.ZodDate;
|
8274
|
-
updatedAt: z.ZodDate;
|
8275
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
8276
|
-
caseId: z.ZodNumber;
|
8277
|
-
entityId: z.ZodString;
|
8278
|
-
entityName: z.ZodString;
|
8279
|
-
contactId: z.ZodNullable<z.ZodString>;
|
8280
|
-
channel: z.ZodNullable<z.ZodString>;
|
8281
|
-
queueId: z.ZodNullable<z.ZodString>;
|
8282
|
-
agentId: z.ZodNullable<z.ZodString>;
|
8283
|
-
direction: z.ZodNullable<z.ZodString>;
|
8284
|
-
startedDate: z.ZodNullable<z.ZodDate>;
|
8285
|
-
handledTime: z.ZodNullable<z.ZodNumber>;
|
8286
|
-
firstResponseTime: z.ZodNullable<z.ZodNumber>;
|
8287
|
-
disposition: z.ZodNullable<z.ZodString>;
|
8288
|
-
wrapUpForm: z.ZodNullable<z.ZodObject<{
|
8289
|
-
id: z.ZodString;
|
8290
|
-
createdAt: z.ZodDate;
|
8291
|
-
updatedAt: z.ZodDate;
|
8292
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
8293
|
-
note: z.ZodNullable<z.ZodString>;
|
8294
|
-
disposition: z.ZodNullable<z.ZodString>;
|
8295
|
-
callFrom: z.ZodNullable<z.ZodString>;
|
8296
|
-
callTo: z.ZodNullable<z.ZodString>;
|
8297
|
-
tags: z.ZodArray<z.ZodObject<{
|
8066
|
+
}, "strip", z.ZodTypeAny, {
|
8067
|
+
id: string;
|
8068
|
+
address: string | null;
|
8069
|
+
name: string;
|
8070
|
+
email: string;
|
8071
|
+
phone: string | null;
|
8072
|
+
}, {
|
8073
|
+
id: string;
|
8074
|
+
address: string | null;
|
8075
|
+
name: string;
|
8076
|
+
email: string;
|
8077
|
+
phone: string | null;
|
8078
|
+
}>;
|
8079
|
+
}, "strip", z.ZodTypeAny, {
|
8080
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
8081
|
+
name: string;
|
8082
|
+
metadata: {
|
8083
|
+
id: string;
|
8084
|
+
name: string;
|
8085
|
+
accessToken: string;
|
8086
|
+
additionalCredentials?: any;
|
8087
|
+
};
|
8088
|
+
status: boolean;
|
8089
|
+
brandName: string;
|
8090
|
+
platformId: string;
|
8091
|
+
actor: {
|
8092
|
+
id: string;
|
8093
|
+
address: string | null;
|
8094
|
+
name: string;
|
8095
|
+
email: string;
|
8096
|
+
phone: string | null;
|
8097
|
+
};
|
8098
|
+
connectedUserName?: string | null | undefined;
|
8099
|
+
connectedUserId?: string | null | undefined;
|
8100
|
+
}, {
|
8101
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
8102
|
+
name: string;
|
8103
|
+
metadata: {
|
8104
|
+
id: string;
|
8105
|
+
name: string;
|
8106
|
+
accessToken: string;
|
8107
|
+
additionalCredentials?: any;
|
8108
|
+
};
|
8109
|
+
status: boolean;
|
8110
|
+
brandName: string;
|
8111
|
+
platformId: string;
|
8112
|
+
actor: {
|
8113
|
+
id: string;
|
8114
|
+
address: string | null;
|
8115
|
+
name: string;
|
8116
|
+
email: string;
|
8117
|
+
phone: string | null;
|
8118
|
+
};
|
8119
|
+
connectedUserName?: string | null | undefined;
|
8120
|
+
connectedUserId?: string | null | undefined;
|
8121
|
+
}>>;
|
8122
|
+
cxlog: z.ZodOptional<z.ZodObject<{
|
8123
|
+
id: z.ZodString;
|
8124
|
+
createdAt: z.ZodDate;
|
8125
|
+
updatedAt: z.ZodDate;
|
8126
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
8127
|
+
caseId: z.ZodNumber;
|
8128
|
+
entityId: z.ZodString;
|
8129
|
+
entityName: z.ZodString;
|
8130
|
+
contactId: z.ZodNullable<z.ZodString>;
|
8131
|
+
channel: z.ZodNullable<z.ZodString>;
|
8132
|
+
queueId: z.ZodNullable<z.ZodString>;
|
8133
|
+
agentId: z.ZodNullable<z.ZodString>;
|
8134
|
+
direction: z.ZodNullable<z.ZodString>;
|
8135
|
+
startedDate: z.ZodNullable<z.ZodDate>;
|
8136
|
+
handledTime: z.ZodNullable<z.ZodNumber>;
|
8137
|
+
firstResponseTime: z.ZodNullable<z.ZodNumber>;
|
8138
|
+
disposition: z.ZodNullable<z.ZodString>;
|
8139
|
+
wrapUpForm: z.ZodNullable<z.ZodObject<{
|
8140
|
+
id: z.ZodString;
|
8141
|
+
createdAt: z.ZodDate;
|
8142
|
+
updatedAt: z.ZodDate;
|
8143
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
8144
|
+
note: z.ZodNullable<z.ZodString>;
|
8145
|
+
disposition: z.ZodNullable<z.ZodString>;
|
8146
|
+
callFrom: z.ZodNullable<z.ZodString>;
|
8147
|
+
callTo: z.ZodNullable<z.ZodString>;
|
8148
|
+
tags: z.ZodArray<z.ZodObject<{
|
8298
8149
|
id: z.ZodString;
|
8299
8150
|
createdAt: z.ZodDate;
|
8300
8151
|
updatedAt: z.ZodDate;
|
@@ -8403,75 +8254,28 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8403
8254
|
createdAt: Date;
|
8404
8255
|
updatedAt: Date;
|
8405
8256
|
deletedAt: Date | null;
|
8406
|
-
tags: {
|
8407
|
-
id: string;
|
8408
|
-
name: string;
|
8409
|
-
createdAt: Date;
|
8410
|
-
updatedAt: Date;
|
8411
|
-
deletedAt: Date | null;
|
8412
|
-
}[];
|
8413
|
-
callFrom: string | null;
|
8414
|
-
callTo: string | null;
|
8415
|
-
note: string | null;
|
8416
|
-
} | null;
|
8417
|
-
}>;
|
8418
|
-
}, "strip", z.ZodTypeAny, {
|
8419
|
-
id: string;
|
8420
|
-
direction: "incoming" | "outgoing" | "system";
|
8421
|
-
createdAt: Date;
|
8422
|
-
updatedAt: Date;
|
8423
|
-
deletedAt: Date | null;
|
8424
|
-
actor: {
|
8425
|
-
id: string;
|
8426
|
-
address: string | null;
|
8427
|
-
name: string;
|
8428
|
-
email: string;
|
8429
|
-
createdAt: Date;
|
8430
|
-
updatedAt: Date;
|
8431
|
-
deletedAt: Date | null;
|
8432
|
-
emailVerifiedAt: Date | null;
|
8433
|
-
password: string;
|
8434
|
-
phone: string | null;
|
8435
|
-
notificationCount: number | null;
|
8436
|
-
roles: {
|
8437
|
-
id: string;
|
8438
|
-
description: string | null;
|
8439
|
-
createdAt: Date;
|
8440
|
-
updatedAt: Date;
|
8441
|
-
deletedAt: Date | null;
|
8442
|
-
systemName: string;
|
8443
|
-
displayName: string;
|
8444
|
-
permissions: {
|
8257
|
+
tags: {
|
8445
8258
|
id: string;
|
8446
|
-
|
8259
|
+
name: string;
|
8447
8260
|
createdAt: Date;
|
8448
8261
|
updatedAt: Date;
|
8449
8262
|
deletedAt: Date | null;
|
8450
|
-
systemName: string;
|
8451
|
-
displayName: string;
|
8452
8263
|
}[];
|
8453
|
-
|
8454
|
-
|
8455
|
-
|
8456
|
-
|
8457
|
-
|
8458
|
-
|
8459
|
-
|
8460
|
-
|
8461
|
-
|
8462
|
-
|
8463
|
-
|
8464
|
-
|
8465
|
-
|
8466
|
-
|
8467
|
-
|
8468
|
-
lastMessage: string;
|
8469
|
-
handleTime: number;
|
8470
|
-
closeAt: Date;
|
8471
|
-
unreadCount: number;
|
8472
|
-
firstResponseAt: Date;
|
8473
|
-
isLatest: boolean;
|
8474
|
-
platformContact: {
|
8264
|
+
callFrom: string | null;
|
8265
|
+
callTo: string | null;
|
8266
|
+
note: string | null;
|
8267
|
+
} | null;
|
8268
|
+
}>>;
|
8269
|
+
}, "strip", z.ZodTypeAny, {
|
8270
|
+
lastMessage?: string | undefined;
|
8271
|
+
handleTime?: number | undefined;
|
8272
|
+
closeAt?: Date | undefined;
|
8273
|
+
unreadCount?: number | undefined;
|
8274
|
+
firstResponseAt?: Date | null | undefined;
|
8275
|
+
firstResponseTime?: number | null | undefined;
|
8276
|
+
isLatest?: boolean | undefined;
|
8277
|
+
direction?: "incoming" | "outgoing" | "system" | undefined;
|
8278
|
+
platformContact?: {
|
8475
8279
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
8476
8280
|
id: string;
|
8477
8281
|
metadata: {
|
@@ -8530,6 +8334,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8530
8334
|
fileKey: string;
|
8531
8335
|
bucketName: string;
|
8532
8336
|
fileSize: number;
|
8337
|
+
fileUrl: string | null;
|
8533
8338
|
};
|
8534
8339
|
}[];
|
8535
8340
|
}[];
|
@@ -8587,8 +8392,8 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8587
8392
|
}[] | undefined;
|
8588
8393
|
};
|
8589
8394
|
socialPlatformId: string;
|
8590
|
-
};
|
8591
|
-
|
8395
|
+
} | undefined;
|
8396
|
+
actor?: {
|
8592
8397
|
id: string;
|
8593
8398
|
address: string | null;
|
8594
8399
|
name: string;
|
@@ -8618,7 +8423,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8618
8423
|
displayName: string;
|
8619
8424
|
}[];
|
8620
8425
|
}[];
|
8621
|
-
extension
|
8426
|
+
extension: {
|
8622
8427
|
id: string;
|
8623
8428
|
createdAt: Date;
|
8624
8429
|
updatedAt: Date;
|
@@ -8626,116 +8431,13 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8626
8431
|
userId: string | null;
|
8627
8432
|
sipServerUrl: string;
|
8628
8433
|
sipUserName: string;
|
8434
|
+
webphoneLoginUser: string;
|
8629
8435
|
extensionId: number;
|
8630
8436
|
extensionName: string;
|
8631
8437
|
telephonySignature: string | null;
|
8632
|
-
}
|
8633
|
-
};
|
8634
|
-
cxlog: {
|
8635
|
-
id: string;
|
8636
|
-
channel: string | null;
|
8637
|
-
disposition: string | null;
|
8638
|
-
direction: string | null;
|
8639
|
-
createdAt: Date;
|
8640
|
-
updatedAt: Date;
|
8641
|
-
deletedAt: Date | null;
|
8642
|
-
entityId: string;
|
8643
|
-
contactId: string | null;
|
8644
|
-
caseId: number;
|
8645
|
-
entityName: string;
|
8646
|
-
queueId: string | null;
|
8647
|
-
agentId: string | null;
|
8648
|
-
startedDate: Date | null;
|
8649
|
-
handledTime: number | null;
|
8650
|
-
firstResponseTime: number | null;
|
8651
|
-
wrapUpForm: {
|
8652
|
-
id: string;
|
8653
|
-
disposition: string | null;
|
8654
|
-
createdAt: Date;
|
8655
|
-
updatedAt: Date;
|
8656
|
-
deletedAt: Date | null;
|
8657
|
-
tags: {
|
8658
|
-
id: string;
|
8659
|
-
name: string;
|
8660
|
-
createdAt: Date;
|
8661
|
-
updatedAt: Date;
|
8662
|
-
deletedAt: Date | null;
|
8663
|
-
}[];
|
8664
|
-
callFrom: string | null;
|
8665
|
-
callTo: string | null;
|
8666
|
-
note: string | null;
|
8667
|
-
} | null;
|
8668
|
-
};
|
8669
|
-
channel?: {
|
8670
|
-
id?: string | undefined;
|
8671
|
-
createdAt?: Date | undefined;
|
8672
|
-
updatedAt?: Date | undefined;
|
8673
|
-
deletedAt?: Date | null | undefined;
|
8674
|
-
name?: string | undefined;
|
8675
|
-
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
8676
|
-
metadata?: {
|
8677
|
-
id: string;
|
8678
|
-
name: string;
|
8679
|
-
accessToken: string;
|
8680
|
-
additionalCredentials?: any;
|
8681
|
-
} | undefined;
|
8682
|
-
brandName?: string | undefined;
|
8683
|
-
platformId?: string | undefined;
|
8684
|
-
status?: boolean | undefined;
|
8685
|
-
isReloginRequired?: boolean | undefined;
|
8686
|
-
connectedUserName?: string | undefined;
|
8687
|
-
connectedUserId?: string | undefined;
|
8688
|
-
actor?: {
|
8689
|
-
id: string;
|
8690
|
-
address: string | null;
|
8691
|
-
name: string;
|
8692
|
-
email: string;
|
8693
|
-
createdAt: Date;
|
8694
|
-
updatedAt: Date;
|
8695
|
-
deletedAt: Date | null;
|
8696
|
-
emailVerifiedAt: Date | null;
|
8697
|
-
password: string;
|
8698
|
-
phone: string | null;
|
8699
|
-
notificationCount: number | null;
|
8700
|
-
roles: {
|
8701
|
-
id: string;
|
8702
|
-
description: string | null;
|
8703
|
-
createdAt: Date;
|
8704
|
-
updatedAt: Date;
|
8705
|
-
deletedAt: Date | null;
|
8706
|
-
systemName: string;
|
8707
|
-
displayName: string;
|
8708
|
-
permissions: {
|
8709
|
-
id: string;
|
8710
|
-
description: string | null;
|
8711
|
-
createdAt: Date;
|
8712
|
-
updatedAt: Date;
|
8713
|
-
deletedAt: Date | null;
|
8714
|
-
systemName: string;
|
8715
|
-
displayName: string;
|
8716
|
-
}[];
|
8717
|
-
}[];
|
8718
|
-
extension?: {
|
8719
|
-
id: string;
|
8720
|
-
createdAt: Date;
|
8721
|
-
updatedAt: Date;
|
8722
|
-
deletedAt: Date | null;
|
8723
|
-
userId: string | null;
|
8724
|
-
sipServerUrl: string;
|
8725
|
-
sipUserName: string;
|
8726
|
-
extensionId: number;
|
8727
|
-
extensionName: string;
|
8728
|
-
telephonySignature: string | null;
|
8729
|
-
} | undefined;
|
8730
|
-
} | undefined;
|
8438
|
+
};
|
8731
8439
|
} | undefined;
|
8732
|
-
|
8733
|
-
id: string;
|
8734
|
-
direction: "incoming" | "outgoing" | "system";
|
8735
|
-
createdAt: Date;
|
8736
|
-
updatedAt: Date;
|
8737
|
-
deletedAt: Date | null;
|
8738
|
-
actor: {
|
8440
|
+
assignee?: {
|
8739
8441
|
id: string;
|
8740
8442
|
address: string | null;
|
8741
8443
|
name: string;
|
@@ -8765,7 +8467,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8765
8467
|
displayName: string;
|
8766
8468
|
}[];
|
8767
8469
|
}[];
|
8768
|
-
extension
|
8470
|
+
extension: {
|
8769
8471
|
id: string;
|
8770
8472
|
createdAt: Date;
|
8771
8473
|
updatedAt: Date;
|
@@ -8773,19 +8475,79 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8773
8475
|
userId: string | null;
|
8774
8476
|
sipServerUrl: string;
|
8775
8477
|
sipUserName: string;
|
8478
|
+
webphoneLoginUser: string;
|
8776
8479
|
extensionId: number;
|
8777
8480
|
extensionName: string;
|
8778
8481
|
telephonySignature: string | null;
|
8779
|
-
}
|
8780
|
-
};
|
8781
|
-
|
8782
|
-
|
8783
|
-
|
8784
|
-
|
8785
|
-
|
8786
|
-
|
8787
|
-
|
8788
|
-
|
8482
|
+
};
|
8483
|
+
} | undefined;
|
8484
|
+
channel?: {
|
8485
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
8486
|
+
name: string;
|
8487
|
+
metadata: {
|
8488
|
+
id: string;
|
8489
|
+
name: string;
|
8490
|
+
accessToken: string;
|
8491
|
+
additionalCredentials?: any;
|
8492
|
+
};
|
8493
|
+
status: boolean;
|
8494
|
+
brandName: string;
|
8495
|
+
platformId: string;
|
8496
|
+
actor: {
|
8497
|
+
id: string;
|
8498
|
+
address: string | null;
|
8499
|
+
name: string;
|
8500
|
+
email: string;
|
8501
|
+
phone: string | null;
|
8502
|
+
};
|
8503
|
+
connectedUserName?: string | null | undefined;
|
8504
|
+
connectedUserId?: string | null | undefined;
|
8505
|
+
} | undefined;
|
8506
|
+
cxlog?: {
|
8507
|
+
id: string;
|
8508
|
+
channel: string | null;
|
8509
|
+
disposition: string | null;
|
8510
|
+
direction: string | null;
|
8511
|
+
createdAt: Date;
|
8512
|
+
updatedAt: Date;
|
8513
|
+
deletedAt: Date | null;
|
8514
|
+
entityId: string;
|
8515
|
+
contactId: string | null;
|
8516
|
+
caseId: number;
|
8517
|
+
entityName: string;
|
8518
|
+
queueId: string | null;
|
8519
|
+
agentId: string | null;
|
8520
|
+
startedDate: Date | null;
|
8521
|
+
handledTime: number | null;
|
8522
|
+
firstResponseTime: number | null;
|
8523
|
+
wrapUpForm: {
|
8524
|
+
id: string;
|
8525
|
+
disposition: string | null;
|
8526
|
+
createdAt: Date;
|
8527
|
+
updatedAt: Date;
|
8528
|
+
deletedAt: Date | null;
|
8529
|
+
tags: {
|
8530
|
+
id: string;
|
8531
|
+
name: string;
|
8532
|
+
createdAt: Date;
|
8533
|
+
updatedAt: Date;
|
8534
|
+
deletedAt: Date | null;
|
8535
|
+
}[];
|
8536
|
+
callFrom: string | null;
|
8537
|
+
callTo: string | null;
|
8538
|
+
note: string | null;
|
8539
|
+
} | null;
|
8540
|
+
} | undefined;
|
8541
|
+
}, {
|
8542
|
+
lastMessage?: string | undefined;
|
8543
|
+
handleTime?: number | undefined;
|
8544
|
+
closeAt?: Date | undefined;
|
8545
|
+
unreadCount?: number | undefined;
|
8546
|
+
firstResponseAt?: Date | null | undefined;
|
8547
|
+
firstResponseTime?: number | null | undefined;
|
8548
|
+
isLatest?: boolean | undefined;
|
8549
|
+
direction?: "incoming" | "outgoing" | "system" | undefined;
|
8550
|
+
platformContact?: {
|
8789
8551
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
8790
8552
|
id: string;
|
8791
8553
|
metadata: {
|
@@ -8844,6 +8606,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8844
8606
|
fileKey: string;
|
8845
8607
|
bucketName: string;
|
8846
8608
|
fileSize: number;
|
8609
|
+
fileUrl: string | null;
|
8847
8610
|
};
|
8848
8611
|
}[];
|
8849
8612
|
}[];
|
@@ -8901,8 +8664,8 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8901
8664
|
}[] | undefined;
|
8902
8665
|
};
|
8903
8666
|
socialPlatformId: string;
|
8904
|
-
};
|
8905
|
-
|
8667
|
+
} | undefined;
|
8668
|
+
actor?: {
|
8906
8669
|
id: string;
|
8907
8670
|
address: string | null;
|
8908
8671
|
name: string;
|
@@ -8932,7 +8695,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8932
8695
|
displayName: string;
|
8933
8696
|
}[];
|
8934
8697
|
}[];
|
8935
|
-
extension
|
8698
|
+
extension: {
|
8936
8699
|
id: string;
|
8937
8700
|
createdAt: Date;
|
8938
8701
|
updatedAt: Date;
|
@@ -8940,12 +8703,79 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8940
8703
|
userId: string | null;
|
8941
8704
|
sipServerUrl: string;
|
8942
8705
|
sipUserName: string;
|
8706
|
+
webphoneLoginUser: string;
|
8943
8707
|
extensionId: number;
|
8944
8708
|
extensionName: string;
|
8945
8709
|
telephonySignature: string | null;
|
8946
|
-
}
|
8947
|
-
};
|
8948
|
-
|
8710
|
+
};
|
8711
|
+
} | undefined;
|
8712
|
+
assignee?: {
|
8713
|
+
id: string;
|
8714
|
+
address: string | null;
|
8715
|
+
name: string;
|
8716
|
+
email: string;
|
8717
|
+
createdAt: Date;
|
8718
|
+
updatedAt: Date;
|
8719
|
+
deletedAt: Date | null;
|
8720
|
+
emailVerifiedAt: Date | null;
|
8721
|
+
password: string;
|
8722
|
+
phone: string | null;
|
8723
|
+
notificationCount: number | null;
|
8724
|
+
roles: {
|
8725
|
+
id: string;
|
8726
|
+
description: string | null;
|
8727
|
+
createdAt: Date;
|
8728
|
+
updatedAt: Date;
|
8729
|
+
deletedAt: Date | null;
|
8730
|
+
systemName: string;
|
8731
|
+
displayName: string;
|
8732
|
+
permissions: {
|
8733
|
+
id: string;
|
8734
|
+
description: string | null;
|
8735
|
+
createdAt: Date;
|
8736
|
+
updatedAt: Date;
|
8737
|
+
deletedAt: Date | null;
|
8738
|
+
systemName: string;
|
8739
|
+
displayName: string;
|
8740
|
+
}[];
|
8741
|
+
}[];
|
8742
|
+
extension: {
|
8743
|
+
id: string;
|
8744
|
+
createdAt: Date;
|
8745
|
+
updatedAt: Date;
|
8746
|
+
deletedAt: Date | null;
|
8747
|
+
userId: string | null;
|
8748
|
+
sipServerUrl: string;
|
8749
|
+
sipUserName: string;
|
8750
|
+
webphoneLoginUser: string;
|
8751
|
+
extensionId: number;
|
8752
|
+
extensionName: string;
|
8753
|
+
telephonySignature: string | null;
|
8754
|
+
};
|
8755
|
+
} | undefined;
|
8756
|
+
channel?: {
|
8757
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
8758
|
+
name: string;
|
8759
|
+
metadata: {
|
8760
|
+
id: string;
|
8761
|
+
name: string;
|
8762
|
+
accessToken: string;
|
8763
|
+
additionalCredentials?: any;
|
8764
|
+
};
|
8765
|
+
status: boolean;
|
8766
|
+
brandName: string;
|
8767
|
+
platformId: string;
|
8768
|
+
actor: {
|
8769
|
+
id: string;
|
8770
|
+
address: string | null;
|
8771
|
+
name: string;
|
8772
|
+
email: string;
|
8773
|
+
phone: string | null;
|
8774
|
+
};
|
8775
|
+
connectedUserName?: string | null | undefined;
|
8776
|
+
connectedUserId?: string | null | undefined;
|
8777
|
+
} | undefined;
|
8778
|
+
cxlog?: {
|
8949
8779
|
id: string;
|
8950
8780
|
channel: string | null;
|
8951
8781
|
disposition: string | null;
|
@@ -8979,72 +8809,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8979
8809
|
callTo: string | null;
|
8980
8810
|
note: string | null;
|
8981
8811
|
} | null;
|
8982
|
-
};
|
8983
|
-
channel?: {
|
8984
|
-
id?: string | undefined;
|
8985
|
-
createdAt?: Date | undefined;
|
8986
|
-
updatedAt?: Date | undefined;
|
8987
|
-
deletedAt?: Date | null | undefined;
|
8988
|
-
name?: string | undefined;
|
8989
|
-
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
8990
|
-
metadata?: {
|
8991
|
-
id: string;
|
8992
|
-
name: string;
|
8993
|
-
accessToken: string;
|
8994
|
-
additionalCredentials?: any;
|
8995
|
-
} | undefined;
|
8996
|
-
brandName?: string | undefined;
|
8997
|
-
platformId?: string | undefined;
|
8998
|
-
status?: boolean | undefined;
|
8999
|
-
isReloginRequired?: boolean | undefined;
|
9000
|
-
connectedUserName?: string | undefined;
|
9001
|
-
connectedUserId?: string | undefined;
|
9002
|
-
actor?: {
|
9003
|
-
id: string;
|
9004
|
-
address: string | null;
|
9005
|
-
name: string;
|
9006
|
-
email: string;
|
9007
|
-
createdAt: Date;
|
9008
|
-
updatedAt: Date;
|
9009
|
-
deletedAt: Date | null;
|
9010
|
-
emailVerifiedAt: Date | null;
|
9011
|
-
password: string;
|
9012
|
-
phone: string | null;
|
9013
|
-
notificationCount: number | null;
|
9014
|
-
roles: {
|
9015
|
-
id: string;
|
9016
|
-
description: string | null;
|
9017
|
-
createdAt: Date;
|
9018
|
-
updatedAt: Date;
|
9019
|
-
deletedAt: Date | null;
|
9020
|
-
systemName: string;
|
9021
|
-
displayName: string;
|
9022
|
-
permissions: {
|
9023
|
-
id: string;
|
9024
|
-
description: string | null;
|
9025
|
-
createdAt: Date;
|
9026
|
-
updatedAt: Date;
|
9027
|
-
deletedAt: Date | null;
|
9028
|
-
systemName: string;
|
9029
|
-
displayName: string;
|
9030
|
-
}[];
|
9031
|
-
}[];
|
9032
|
-
extension?: {
|
9033
|
-
id: string;
|
9034
|
-
createdAt: Date;
|
9035
|
-
updatedAt: Date;
|
9036
|
-
deletedAt: Date | null;
|
9037
|
-
userId: string | null;
|
9038
|
-
sipServerUrl: string;
|
9039
|
-
sipUserName: string;
|
9040
|
-
extensionId: number;
|
9041
|
-
extensionName: string;
|
9042
|
-
telephonySignature: string | null;
|
9043
|
-
} | undefined;
|
9044
|
-
} | undefined;
|
9045
8812
|
} | undefined;
|
9046
8813
|
}>;
|
9047
|
-
upload: z.ZodObject<{
|
8814
|
+
upload: z.ZodOptional<z.ZodObject<{
|
9048
8815
|
id: z.ZodString;
|
9049
8816
|
createdAt: z.ZodDate;
|
9050
8817
|
updatedAt: z.ZodDate;
|
@@ -9053,6 +8820,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9053
8820
|
fileName: z.ZodString;
|
9054
8821
|
fileSize: z.ZodNumber;
|
9055
8822
|
fileKey: z.ZodString;
|
8823
|
+
fileUrl: z.ZodNullable<z.ZodString>;
|
9056
8824
|
}, "strip", z.ZodTypeAny, {
|
9057
8825
|
id: string;
|
9058
8826
|
createdAt: Date;
|
@@ -9062,6 +8830,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9062
8830
|
fileKey: string;
|
9063
8831
|
bucketName: string;
|
9064
8832
|
fileSize: number;
|
8833
|
+
fileUrl: string | null;
|
9065
8834
|
}, {
|
9066
8835
|
id: string;
|
9067
8836
|
createdAt: Date;
|
@@ -9071,8 +8840,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9071
8840
|
fileKey: string;
|
9072
8841
|
bucketName: string;
|
9073
8842
|
fileSize: number;
|
9074
|
-
|
9075
|
-
|
8843
|
+
fileUrl: string | null;
|
8844
|
+
}>>;
|
8845
|
+
actor: z.ZodOptional<z.ZodObject<{
|
9076
8846
|
id: z.ZodString;
|
9077
8847
|
createdAt: z.ZodDate;
|
9078
8848
|
updatedAt: z.ZodDate;
|
@@ -9152,7 +8922,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9152
8922
|
displayName: string;
|
9153
8923
|
}[];
|
9154
8924
|
}>, "many">;
|
9155
|
-
extension: z.
|
8925
|
+
extension: z.ZodObject<{
|
9156
8926
|
id: z.ZodString;
|
9157
8927
|
createdAt: z.ZodDate;
|
9158
8928
|
updatedAt: z.ZodDate;
|
@@ -9160,6 +8930,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9160
8930
|
userId: z.ZodNullable<z.ZodString>;
|
9161
8931
|
sipServerUrl: z.ZodString;
|
9162
8932
|
sipUserName: z.ZodString;
|
8933
|
+
webphoneLoginUser: z.ZodString;
|
9163
8934
|
extensionId: z.ZodNumber;
|
9164
8935
|
extensionName: z.ZodString;
|
9165
8936
|
telephonySignature: z.ZodNullable<z.ZodString>;
|
@@ -9171,6 +8942,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9171
8942
|
userId: string | null;
|
9172
8943
|
sipServerUrl: string;
|
9173
8944
|
sipUserName: string;
|
8945
|
+
webphoneLoginUser: string;
|
9174
8946
|
extensionId: number;
|
9175
8947
|
extensionName: string;
|
9176
8948
|
telephonySignature: string | null;
|
@@ -9182,10 +8954,11 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9182
8954
|
userId: string | null;
|
9183
8955
|
sipServerUrl: string;
|
9184
8956
|
sipUserName: string;
|
8957
|
+
webphoneLoginUser: string;
|
9185
8958
|
extensionId: number;
|
9186
8959
|
extensionName: string;
|
9187
8960
|
telephonySignature: string | null;
|
9188
|
-
}
|
8961
|
+
}>;
|
9189
8962
|
}, "strip", z.ZodTypeAny, {
|
9190
8963
|
id: string;
|
9191
8964
|
address: string | null;
|
@@ -9216,7 +8989,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9216
8989
|
displayName: string;
|
9217
8990
|
}[];
|
9218
8991
|
}[];
|
9219
|
-
extension
|
8992
|
+
extension: {
|
9220
8993
|
id: string;
|
9221
8994
|
createdAt: Date;
|
9222
8995
|
updatedAt: Date;
|
@@ -9224,10 +8997,11 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9224
8997
|
userId: string | null;
|
9225
8998
|
sipServerUrl: string;
|
9226
8999
|
sipUserName: string;
|
9000
|
+
webphoneLoginUser: string;
|
9227
9001
|
extensionId: number;
|
9228
9002
|
extensionName: string;
|
9229
9003
|
telephonySignature: string | null;
|
9230
|
-
}
|
9004
|
+
};
|
9231
9005
|
}, {
|
9232
9006
|
id: string;
|
9233
9007
|
address: string | null;
|
@@ -9258,7 +9032,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9258
9032
|
displayName: string;
|
9259
9033
|
}[];
|
9260
9034
|
}[];
|
9261
|
-
extension
|
9035
|
+
extension: {
|
9262
9036
|
id: string;
|
9263
9037
|
createdAt: Date;
|
9264
9038
|
updatedAt: Date;
|
@@ -9266,12 +9040,13 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9266
9040
|
userId: string | null;
|
9267
9041
|
sipServerUrl: string;
|
9268
9042
|
sipUserName: string;
|
9043
|
+
webphoneLoginUser: string;
|
9269
9044
|
extensionId: number;
|
9270
9045
|
extensionName: string;
|
9271
9046
|
telephonySignature: string | null;
|
9272
|
-
}
|
9273
|
-
}
|
9274
|
-
assignee: z.ZodObject<{
|
9047
|
+
};
|
9048
|
+
}>>;
|
9049
|
+
assignee: z.ZodOptional<z.ZodObject<{
|
9275
9050
|
id: z.ZodString;
|
9276
9051
|
createdAt: z.ZodDate;
|
9277
9052
|
updatedAt: z.ZodDate;
|
@@ -9351,7 +9126,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9351
9126
|
displayName: string;
|
9352
9127
|
}[];
|
9353
9128
|
}>, "many">;
|
9354
|
-
extension: z.
|
9129
|
+
extension: z.ZodObject<{
|
9355
9130
|
id: z.ZodString;
|
9356
9131
|
createdAt: z.ZodDate;
|
9357
9132
|
updatedAt: z.ZodDate;
|
@@ -9359,6 +9134,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9359
9134
|
userId: z.ZodNullable<z.ZodString>;
|
9360
9135
|
sipServerUrl: z.ZodString;
|
9361
9136
|
sipUserName: z.ZodString;
|
9137
|
+
webphoneLoginUser: z.ZodString;
|
9362
9138
|
extensionId: z.ZodNumber;
|
9363
9139
|
extensionName: z.ZodString;
|
9364
9140
|
telephonySignature: z.ZodNullable<z.ZodString>;
|
@@ -9370,6 +9146,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9370
9146
|
userId: string | null;
|
9371
9147
|
sipServerUrl: string;
|
9372
9148
|
sipUserName: string;
|
9149
|
+
webphoneLoginUser: string;
|
9373
9150
|
extensionId: number;
|
9374
9151
|
extensionName: string;
|
9375
9152
|
telephonySignature: string | null;
|
@@ -9381,10 +9158,11 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9381
9158
|
userId: string | null;
|
9382
9159
|
sipServerUrl: string;
|
9383
9160
|
sipUserName: string;
|
9161
|
+
webphoneLoginUser: string;
|
9384
9162
|
extensionId: number;
|
9385
9163
|
extensionName: string;
|
9386
9164
|
telephonySignature: string | null;
|
9387
|
-
}
|
9165
|
+
}>;
|
9388
9166
|
}, "strip", z.ZodTypeAny, {
|
9389
9167
|
id: string;
|
9390
9168
|
address: string | null;
|
@@ -9415,7 +9193,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9415
9193
|
displayName: string;
|
9416
9194
|
}[];
|
9417
9195
|
}[];
|
9418
|
-
extension
|
9196
|
+
extension: {
|
9419
9197
|
id: string;
|
9420
9198
|
createdAt: Date;
|
9421
9199
|
updatedAt: Date;
|
@@ -9423,10 +9201,11 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9423
9201
|
userId: string | null;
|
9424
9202
|
sipServerUrl: string;
|
9425
9203
|
sipUserName: string;
|
9204
|
+
webphoneLoginUser: string;
|
9426
9205
|
extensionId: number;
|
9427
9206
|
extensionName: string;
|
9428
9207
|
telephonySignature: string | null;
|
9429
|
-
}
|
9208
|
+
};
|
9430
9209
|
}, {
|
9431
9210
|
id: string;
|
9432
9211
|
address: string | null;
|
@@ -9457,7 +9236,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9457
9236
|
displayName: string;
|
9458
9237
|
}[];
|
9459
9238
|
}[];
|
9460
|
-
extension
|
9239
|
+
extension: {
|
9461
9240
|
id: string;
|
9462
9241
|
createdAt: Date;
|
9463
9242
|
updatedAt: Date;
|
@@ -9465,12 +9244,13 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9465
9244
|
userId: string | null;
|
9466
9245
|
sipServerUrl: string;
|
9467
9246
|
sipUserName: string;
|
9247
|
+
webphoneLoginUser: string;
|
9468
9248
|
extensionId: number;
|
9469
9249
|
extensionName: string;
|
9470
9250
|
telephonySignature: string | null;
|
9471
|
-
}
|
9472
|
-
}
|
9473
|
-
sender: z.ZodObject<{
|
9251
|
+
};
|
9252
|
+
}>>;
|
9253
|
+
sender: z.ZodOptional<z.ZodObject<{
|
9474
9254
|
id: z.ZodString;
|
9475
9255
|
createdAt: z.ZodDate;
|
9476
9256
|
updatedAt: z.ZodDate;
|
@@ -9550,7 +9330,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9550
9330
|
displayName: string;
|
9551
9331
|
}[];
|
9552
9332
|
}>, "many">;
|
9553
|
-
extension: z.
|
9333
|
+
extension: z.ZodObject<{
|
9554
9334
|
id: z.ZodString;
|
9555
9335
|
createdAt: z.ZodDate;
|
9556
9336
|
updatedAt: z.ZodDate;
|
@@ -9558,6 +9338,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9558
9338
|
userId: z.ZodNullable<z.ZodString>;
|
9559
9339
|
sipServerUrl: z.ZodString;
|
9560
9340
|
sipUserName: z.ZodString;
|
9341
|
+
webphoneLoginUser: z.ZodString;
|
9561
9342
|
extensionId: z.ZodNumber;
|
9562
9343
|
extensionName: z.ZodString;
|
9563
9344
|
telephonySignature: z.ZodNullable<z.ZodString>;
|
@@ -9569,6 +9350,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9569
9350
|
userId: string | null;
|
9570
9351
|
sipServerUrl: string;
|
9571
9352
|
sipUserName: string;
|
9353
|
+
webphoneLoginUser: string;
|
9572
9354
|
extensionId: number;
|
9573
9355
|
extensionName: string;
|
9574
9356
|
telephonySignature: string | null;
|
@@ -9580,10 +9362,11 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9580
9362
|
userId: string | null;
|
9581
9363
|
sipServerUrl: string;
|
9582
9364
|
sipUserName: string;
|
9365
|
+
webphoneLoginUser: string;
|
9583
9366
|
extensionId: number;
|
9584
9367
|
extensionName: string;
|
9585
9368
|
telephonySignature: string | null;
|
9586
|
-
}
|
9369
|
+
}>;
|
9587
9370
|
}, "strip", z.ZodTypeAny, {
|
9588
9371
|
id: string;
|
9589
9372
|
address: string | null;
|
@@ -9614,7 +9397,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9614
9397
|
displayName: string;
|
9615
9398
|
}[];
|
9616
9399
|
}[];
|
9617
|
-
extension
|
9400
|
+
extension: {
|
9618
9401
|
id: string;
|
9619
9402
|
createdAt: Date;
|
9620
9403
|
updatedAt: Date;
|
@@ -9622,10 +9405,11 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9622
9405
|
userId: string | null;
|
9623
9406
|
sipServerUrl: string;
|
9624
9407
|
sipUserName: string;
|
9408
|
+
webphoneLoginUser: string;
|
9625
9409
|
extensionId: number;
|
9626
9410
|
extensionName: string;
|
9627
9411
|
telephonySignature: string | null;
|
9628
|
-
}
|
9412
|
+
};
|
9629
9413
|
}, {
|
9630
9414
|
id: string;
|
9631
9415
|
address: string | null;
|
@@ -9656,113 +9440,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9656
9440
|
displayName: string;
|
9657
9441
|
}[];
|
9658
9442
|
}[];
|
9659
|
-
extension
|
9660
|
-
id: string;
|
9661
|
-
createdAt: Date;
|
9662
|
-
updatedAt: Date;
|
9663
|
-
deletedAt: Date | null;
|
9664
|
-
userId: string | null;
|
9665
|
-
sipServerUrl: string;
|
9666
|
-
sipUserName: string;
|
9667
|
-
extensionId: number;
|
9668
|
-
extensionName: string;
|
9669
|
-
telephonySignature: string | null;
|
9670
|
-
} | undefined;
|
9671
|
-
}>;
|
9672
|
-
}, "strip", z.ZodTypeAny, {
|
9673
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
|
9674
|
-
message: string;
|
9675
|
-
id: string;
|
9676
|
-
url: string;
|
9677
|
-
direction: "incoming" | "outgoing" | "system";
|
9678
|
-
createdAt: Date;
|
9679
|
-
updatedAt: Date;
|
9680
|
-
deletedAt: Date | null;
|
9681
|
-
platformId: string;
|
9682
|
-
actor: {
|
9683
|
-
id: string;
|
9684
|
-
address: string | null;
|
9685
|
-
name: string;
|
9686
|
-
email: string;
|
9687
|
-
createdAt: Date;
|
9688
|
-
updatedAt: Date;
|
9689
|
-
deletedAt: Date | null;
|
9690
|
-
emailVerifiedAt: Date | null;
|
9691
|
-
password: string;
|
9692
|
-
phone: string | null;
|
9693
|
-
notificationCount: number | null;
|
9694
|
-
roles: {
|
9695
|
-
id: string;
|
9696
|
-
description: string | null;
|
9697
|
-
createdAt: Date;
|
9698
|
-
updatedAt: Date;
|
9699
|
-
deletedAt: Date | null;
|
9700
|
-
systemName: string;
|
9701
|
-
displayName: string;
|
9702
|
-
permissions: {
|
9703
|
-
id: string;
|
9704
|
-
description: string | null;
|
9705
|
-
createdAt: Date;
|
9706
|
-
updatedAt: Date;
|
9707
|
-
deletedAt: Date | null;
|
9708
|
-
systemName: string;
|
9709
|
-
displayName: string;
|
9710
|
-
}[];
|
9711
|
-
}[];
|
9712
|
-
extension?: {
|
9713
|
-
id: string;
|
9714
|
-
createdAt: Date;
|
9715
|
-
updatedAt: Date;
|
9716
|
-
deletedAt: Date | null;
|
9717
|
-
userId: string | null;
|
9718
|
-
sipServerUrl: string;
|
9719
|
-
sipUserName: string;
|
9720
|
-
extensionId: number;
|
9721
|
-
extensionName: string;
|
9722
|
-
telephonySignature: string | null;
|
9723
|
-
} | undefined;
|
9724
|
-
};
|
9725
|
-
upload: {
|
9726
|
-
id: string;
|
9727
|
-
createdAt: Date;
|
9728
|
-
updatedAt: Date;
|
9729
|
-
deletedAt: Date | null;
|
9730
|
-
fileName: string;
|
9731
|
-
fileKey: string;
|
9732
|
-
bucketName: string;
|
9733
|
-
fileSize: number;
|
9734
|
-
};
|
9735
|
-
assignee: {
|
9736
|
-
id: string;
|
9737
|
-
address: string | null;
|
9738
|
-
name: string;
|
9739
|
-
email: string;
|
9740
|
-
createdAt: Date;
|
9741
|
-
updatedAt: Date;
|
9742
|
-
deletedAt: Date | null;
|
9743
|
-
emailVerifiedAt: Date | null;
|
9744
|
-
password: string;
|
9745
|
-
phone: string | null;
|
9746
|
-
notificationCount: number | null;
|
9747
|
-
roles: {
|
9748
|
-
id: string;
|
9749
|
-
description: string | null;
|
9750
|
-
createdAt: Date;
|
9751
|
-
updatedAt: Date;
|
9752
|
-
deletedAt: Date | null;
|
9753
|
-
systemName: string;
|
9754
|
-
displayName: string;
|
9755
|
-
permissions: {
|
9756
|
-
id: string;
|
9757
|
-
description: string | null;
|
9758
|
-
createdAt: Date;
|
9759
|
-
updatedAt: Date;
|
9760
|
-
deletedAt: Date | null;
|
9761
|
-
systemName: string;
|
9762
|
-
displayName: string;
|
9763
|
-
}[];
|
9764
|
-
}[];
|
9765
|
-
extension?: {
|
9443
|
+
extension: {
|
9766
9444
|
id: string;
|
9767
9445
|
createdAt: Date;
|
9768
9446
|
updatedAt: Date;
|
@@ -9770,68 +9448,27 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9770
9448
|
userId: string | null;
|
9771
9449
|
sipServerUrl: string;
|
9772
9450
|
sipUserName: string;
|
9773
|
-
|
9774
|
-
|
9775
|
-
|
9776
|
-
|
9777
|
-
};
|
9778
|
-
room: {
|
9779
|
-
id: string;
|
9780
|
-
direction: "incoming" | "outgoing" | "system";
|
9781
|
-
createdAt: Date;
|
9782
|
-
updatedAt: Date;
|
9783
|
-
deletedAt: Date | null;
|
9784
|
-
actor: {
|
9785
|
-
id: string;
|
9786
|
-
address: string | null;
|
9787
|
-
name: string;
|
9788
|
-
email: string;
|
9789
|
-
createdAt: Date;
|
9790
|
-
updatedAt: Date;
|
9791
|
-
deletedAt: Date | null;
|
9792
|
-
emailVerifiedAt: Date | null;
|
9793
|
-
password: string;
|
9794
|
-
phone: string | null;
|
9795
|
-
notificationCount: number | null;
|
9796
|
-
roles: {
|
9797
|
-
id: string;
|
9798
|
-
description: string | null;
|
9799
|
-
createdAt: Date;
|
9800
|
-
updatedAt: Date;
|
9801
|
-
deletedAt: Date | null;
|
9802
|
-
systemName: string;
|
9803
|
-
displayName: string;
|
9804
|
-
permissions: {
|
9805
|
-
id: string;
|
9806
|
-
description: string | null;
|
9807
|
-
createdAt: Date;
|
9808
|
-
updatedAt: Date;
|
9809
|
-
deletedAt: Date | null;
|
9810
|
-
systemName: string;
|
9811
|
-
displayName: string;
|
9812
|
-
}[];
|
9813
|
-
}[];
|
9814
|
-
extension?: {
|
9815
|
-
id: string;
|
9816
|
-
createdAt: Date;
|
9817
|
-
updatedAt: Date;
|
9818
|
-
deletedAt: Date | null;
|
9819
|
-
userId: string | null;
|
9820
|
-
sipServerUrl: string;
|
9821
|
-
sipUserName: string;
|
9822
|
-
extensionId: number;
|
9823
|
-
extensionName: string;
|
9824
|
-
telephonySignature: string | null;
|
9825
|
-
} | undefined;
|
9451
|
+
webphoneLoginUser: string;
|
9452
|
+
extensionId: number;
|
9453
|
+
extensionName: string;
|
9454
|
+
telephonySignature: string | null;
|
9826
9455
|
};
|
9827
|
-
|
9828
|
-
|
9829
|
-
|
9830
|
-
|
9831
|
-
|
9832
|
-
|
9833
|
-
|
9834
|
-
|
9456
|
+
}>>;
|
9457
|
+
}, "strip", z.ZodTypeAny, {
|
9458
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
|
9459
|
+
message: string;
|
9460
|
+
direction: "incoming" | "outgoing" | "system";
|
9461
|
+
platformId: string;
|
9462
|
+
room: {
|
9463
|
+
lastMessage?: string | undefined;
|
9464
|
+
handleTime?: number | undefined;
|
9465
|
+
closeAt?: Date | undefined;
|
9466
|
+
unreadCount?: number | undefined;
|
9467
|
+
firstResponseAt?: Date | null | undefined;
|
9468
|
+
firstResponseTime?: number | null | undefined;
|
9469
|
+
isLatest?: boolean | undefined;
|
9470
|
+
direction?: "incoming" | "outgoing" | "system" | undefined;
|
9471
|
+
platformContact?: {
|
9835
9472
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
9836
9473
|
id: string;
|
9837
9474
|
metadata: {
|
@@ -9890,6 +9527,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9890
9527
|
fileKey: string;
|
9891
9528
|
bucketName: string;
|
9892
9529
|
fileSize: number;
|
9530
|
+
fileUrl: string | null;
|
9893
9531
|
};
|
9894
9532
|
}[];
|
9895
9533
|
}[];
|
@@ -9947,8 +9585,8 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9947
9585
|
}[] | undefined;
|
9948
9586
|
};
|
9949
9587
|
socialPlatformId: string;
|
9950
|
-
};
|
9951
|
-
|
9588
|
+
} | undefined;
|
9589
|
+
actor?: {
|
9952
9590
|
id: string;
|
9953
9591
|
address: string | null;
|
9954
9592
|
name: string;
|
@@ -9978,7 +9616,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9978
9616
|
displayName: string;
|
9979
9617
|
}[];
|
9980
9618
|
}[];
|
9981
|
-
extension
|
9619
|
+
extension: {
|
9982
9620
|
id: string;
|
9983
9621
|
createdAt: Date;
|
9984
9622
|
updatedAt: Date;
|
@@ -9986,12 +9624,79 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9986
9624
|
userId: string | null;
|
9987
9625
|
sipServerUrl: string;
|
9988
9626
|
sipUserName: string;
|
9627
|
+
webphoneLoginUser: string;
|
9989
9628
|
extensionId: number;
|
9990
9629
|
extensionName: string;
|
9991
9630
|
telephonySignature: string | null;
|
9992
|
-
}
|
9993
|
-
};
|
9994
|
-
|
9631
|
+
};
|
9632
|
+
} | undefined;
|
9633
|
+
assignee?: {
|
9634
|
+
id: string;
|
9635
|
+
address: string | null;
|
9636
|
+
name: string;
|
9637
|
+
email: string;
|
9638
|
+
createdAt: Date;
|
9639
|
+
updatedAt: Date;
|
9640
|
+
deletedAt: Date | null;
|
9641
|
+
emailVerifiedAt: Date | null;
|
9642
|
+
password: string;
|
9643
|
+
phone: string | null;
|
9644
|
+
notificationCount: number | null;
|
9645
|
+
roles: {
|
9646
|
+
id: string;
|
9647
|
+
description: string | null;
|
9648
|
+
createdAt: Date;
|
9649
|
+
updatedAt: Date;
|
9650
|
+
deletedAt: Date | null;
|
9651
|
+
systemName: string;
|
9652
|
+
displayName: string;
|
9653
|
+
permissions: {
|
9654
|
+
id: string;
|
9655
|
+
description: string | null;
|
9656
|
+
createdAt: Date;
|
9657
|
+
updatedAt: Date;
|
9658
|
+
deletedAt: Date | null;
|
9659
|
+
systemName: string;
|
9660
|
+
displayName: string;
|
9661
|
+
}[];
|
9662
|
+
}[];
|
9663
|
+
extension: {
|
9664
|
+
id: string;
|
9665
|
+
createdAt: Date;
|
9666
|
+
updatedAt: Date;
|
9667
|
+
deletedAt: Date | null;
|
9668
|
+
userId: string | null;
|
9669
|
+
sipServerUrl: string;
|
9670
|
+
sipUserName: string;
|
9671
|
+
webphoneLoginUser: string;
|
9672
|
+
extensionId: number;
|
9673
|
+
extensionName: string;
|
9674
|
+
telephonySignature: string | null;
|
9675
|
+
};
|
9676
|
+
} | undefined;
|
9677
|
+
channel?: {
|
9678
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
9679
|
+
name: string;
|
9680
|
+
metadata: {
|
9681
|
+
id: string;
|
9682
|
+
name: string;
|
9683
|
+
accessToken: string;
|
9684
|
+
additionalCredentials?: any;
|
9685
|
+
};
|
9686
|
+
status: boolean;
|
9687
|
+
brandName: string;
|
9688
|
+
platformId: string;
|
9689
|
+
actor: {
|
9690
|
+
id: string;
|
9691
|
+
address: string | null;
|
9692
|
+
name: string;
|
9693
|
+
email: string;
|
9694
|
+
phone: string | null;
|
9695
|
+
};
|
9696
|
+
connectedUserName?: string | null | undefined;
|
9697
|
+
connectedUserId?: string | null | undefined;
|
9698
|
+
} | undefined;
|
9699
|
+
cxlog?: {
|
9995
9700
|
id: string;
|
9996
9701
|
channel: string | null;
|
9997
9702
|
disposition: string | null;
|
@@ -10025,78 +9730,28 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10025
9730
|
callTo: string | null;
|
10026
9731
|
note: string | null;
|
10027
9732
|
} | null;
|
10028
|
-
};
|
10029
|
-
channel?: {
|
10030
|
-
id?: string | undefined;
|
10031
|
-
createdAt?: Date | undefined;
|
10032
|
-
updatedAt?: Date | undefined;
|
10033
|
-
deletedAt?: Date | null | undefined;
|
10034
|
-
name?: string | undefined;
|
10035
|
-
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
10036
|
-
metadata?: {
|
10037
|
-
id: string;
|
10038
|
-
name: string;
|
10039
|
-
accessToken: string;
|
10040
|
-
additionalCredentials?: any;
|
10041
|
-
} | undefined;
|
10042
|
-
brandName?: string | undefined;
|
10043
|
-
platformId?: string | undefined;
|
10044
|
-
status?: boolean | undefined;
|
10045
|
-
isReloginRequired?: boolean | undefined;
|
10046
|
-
connectedUserName?: string | undefined;
|
10047
|
-
connectedUserId?: string | undefined;
|
10048
|
-
actor?: {
|
10049
|
-
id: string;
|
10050
|
-
address: string | null;
|
10051
|
-
name: string;
|
10052
|
-
email: string;
|
10053
|
-
createdAt: Date;
|
10054
|
-
updatedAt: Date;
|
10055
|
-
deletedAt: Date | null;
|
10056
|
-
emailVerifiedAt: Date | null;
|
10057
|
-
password: string;
|
10058
|
-
phone: string | null;
|
10059
|
-
notificationCount: number | null;
|
10060
|
-
roles: {
|
10061
|
-
id: string;
|
10062
|
-
description: string | null;
|
10063
|
-
createdAt: Date;
|
10064
|
-
updatedAt: Date;
|
10065
|
-
deletedAt: Date | null;
|
10066
|
-
systemName: string;
|
10067
|
-
displayName: string;
|
10068
|
-
permissions: {
|
10069
|
-
id: string;
|
10070
|
-
description: string | null;
|
10071
|
-
createdAt: Date;
|
10072
|
-
updatedAt: Date;
|
10073
|
-
deletedAt: Date | null;
|
10074
|
-
systemName: string;
|
10075
|
-
displayName: string;
|
10076
|
-
}[];
|
10077
|
-
}[];
|
10078
|
-
extension?: {
|
10079
|
-
id: string;
|
10080
|
-
createdAt: Date;
|
10081
|
-
updatedAt: Date;
|
10082
|
-
deletedAt: Date | null;
|
10083
|
-
userId: string | null;
|
10084
|
-
sipServerUrl: string;
|
10085
|
-
sipUserName: string;
|
10086
|
-
extensionId: number;
|
10087
|
-
extensionName: string;
|
10088
|
-
telephonySignature: string | null;
|
10089
|
-
} | undefined;
|
10090
|
-
} | undefined;
|
10091
9733
|
} | undefined;
|
10092
9734
|
};
|
10093
|
-
readAt: Date;
|
10094
9735
|
platformMessageId: string;
|
10095
|
-
|
10096
|
-
|
10097
|
-
|
10098
|
-
|
10099
|
-
|
9736
|
+
locale: "" | "th" | "mm" | "en" | null;
|
9737
|
+
metadata?: any;
|
9738
|
+
replyPlatformMessageId?: string | undefined;
|
9739
|
+
template?: any;
|
9740
|
+
url?: string | undefined;
|
9741
|
+
previewUrl?: string | undefined;
|
9742
|
+
imageSetId?: string | undefined;
|
9743
|
+
upload?: {
|
9744
|
+
id: string;
|
9745
|
+
createdAt: Date;
|
9746
|
+
updatedAt: Date;
|
9747
|
+
deletedAt: Date | null;
|
9748
|
+
fileName: string;
|
9749
|
+
fileKey: string;
|
9750
|
+
bucketName: string;
|
9751
|
+
fileSize: number;
|
9752
|
+
fileUrl: string | null;
|
9753
|
+
} | undefined;
|
9754
|
+
actor?: {
|
10100
9755
|
id: string;
|
10101
9756
|
address: string | null;
|
10102
9757
|
name: string;
|
@@ -10126,7 +9781,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10126
9781
|
displayName: string;
|
10127
9782
|
}[];
|
10128
9783
|
}[];
|
10129
|
-
extension
|
9784
|
+
extension: {
|
10130
9785
|
id: string;
|
10131
9786
|
createdAt: Date;
|
10132
9787
|
updatedAt: Date;
|
@@ -10134,24 +9789,13 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10134
9789
|
userId: string | null;
|
10135
9790
|
sipServerUrl: string;
|
10136
9791
|
sipUserName: string;
|
9792
|
+
webphoneLoginUser: string;
|
10137
9793
|
extensionId: number;
|
10138
9794
|
extensionName: string;
|
10139
9795
|
telephonySignature: string | null;
|
10140
|
-
}
|
10141
|
-
};
|
10142
|
-
|
10143
|
-
template?: any;
|
10144
|
-
}, {
|
10145
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
|
10146
|
-
message: string;
|
10147
|
-
id: string;
|
10148
|
-
url: string;
|
10149
|
-
direction: "incoming" | "outgoing" | "system";
|
10150
|
-
createdAt: Date;
|
10151
|
-
updatedAt: Date;
|
10152
|
-
deletedAt: Date | null;
|
10153
|
-
platformId: string;
|
10154
|
-
actor: {
|
9796
|
+
};
|
9797
|
+
} | undefined;
|
9798
|
+
assignee?: {
|
10155
9799
|
id: string;
|
10156
9800
|
address: string | null;
|
10157
9801
|
name: string;
|
@@ -10181,7 +9825,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10181
9825
|
displayName: string;
|
10182
9826
|
}[];
|
10183
9827
|
}[];
|
10184
|
-
extension
|
9828
|
+
extension: {
|
10185
9829
|
id: string;
|
10186
9830
|
createdAt: Date;
|
10187
9831
|
updatedAt: Date;
|
@@ -10189,22 +9833,13 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10189
9833
|
userId: string | null;
|
10190
9834
|
sipServerUrl: string;
|
10191
9835
|
sipUserName: string;
|
9836
|
+
webphoneLoginUser: string;
|
10192
9837
|
extensionId: number;
|
10193
9838
|
extensionName: string;
|
10194
9839
|
telephonySignature: string | null;
|
10195
|
-
}
|
10196
|
-
};
|
10197
|
-
|
10198
|
-
id: string;
|
10199
|
-
createdAt: Date;
|
10200
|
-
updatedAt: Date;
|
10201
|
-
deletedAt: Date | null;
|
10202
|
-
fileName: string;
|
10203
|
-
fileKey: string;
|
10204
|
-
bucketName: string;
|
10205
|
-
fileSize: number;
|
10206
|
-
};
|
10207
|
-
assignee: {
|
9840
|
+
};
|
9841
|
+
} | undefined;
|
9842
|
+
sender?: {
|
10208
9843
|
id: string;
|
10209
9844
|
address: string | null;
|
10210
9845
|
name: string;
|
@@ -10234,76 +9869,35 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10234
9869
|
displayName: string;
|
10235
9870
|
}[];
|
10236
9871
|
}[];
|
10237
|
-
extension
|
10238
|
-
id: string;
|
10239
|
-
createdAt: Date;
|
10240
|
-
updatedAt: Date;
|
10241
|
-
deletedAt: Date | null;
|
10242
|
-
userId: string | null;
|
10243
|
-
sipServerUrl: string;
|
10244
|
-
sipUserName: string;
|
10245
|
-
extensionId: number;
|
10246
|
-
extensionName: string;
|
10247
|
-
telephonySignature: string | null;
|
10248
|
-
} | undefined;
|
10249
|
-
};
|
10250
|
-
room: {
|
10251
|
-
id: string;
|
10252
|
-
direction: "incoming" | "outgoing" | "system";
|
10253
|
-
createdAt: Date;
|
10254
|
-
updatedAt: Date;
|
10255
|
-
deletedAt: Date | null;
|
10256
|
-
actor: {
|
9872
|
+
extension: {
|
10257
9873
|
id: string;
|
10258
|
-
|
10259
|
-
|
10260
|
-
|
10261
|
-
|
10262
|
-
|
10263
|
-
|
10264
|
-
|
10265
|
-
|
10266
|
-
|
10267
|
-
|
10268
|
-
roles: {
|
10269
|
-
id: string;
|
10270
|
-
description: string | null;
|
10271
|
-
createdAt: Date;
|
10272
|
-
updatedAt: Date;
|
10273
|
-
deletedAt: Date | null;
|
10274
|
-
systemName: string;
|
10275
|
-
displayName: string;
|
10276
|
-
permissions: {
|
10277
|
-
id: string;
|
10278
|
-
description: string | null;
|
10279
|
-
createdAt: Date;
|
10280
|
-
updatedAt: Date;
|
10281
|
-
deletedAt: Date | null;
|
10282
|
-
systemName: string;
|
10283
|
-
displayName: string;
|
10284
|
-
}[];
|
10285
|
-
}[];
|
10286
|
-
extension?: {
|
10287
|
-
id: string;
|
10288
|
-
createdAt: Date;
|
10289
|
-
updatedAt: Date;
|
10290
|
-
deletedAt: Date | null;
|
10291
|
-
userId: string | null;
|
10292
|
-
sipServerUrl: string;
|
10293
|
-
sipUserName: string;
|
10294
|
-
extensionId: number;
|
10295
|
-
extensionName: string;
|
10296
|
-
telephonySignature: string | null;
|
10297
|
-
} | undefined;
|
9874
|
+
createdAt: Date;
|
9875
|
+
updatedAt: Date;
|
9876
|
+
deletedAt: Date | null;
|
9877
|
+
userId: string | null;
|
9878
|
+
sipServerUrl: string;
|
9879
|
+
sipUserName: string;
|
9880
|
+
webphoneLoginUser: string;
|
9881
|
+
extensionId: number;
|
9882
|
+
extensionName: string;
|
9883
|
+
telephonySignature: string | null;
|
10298
9884
|
};
|
10299
|
-
|
10300
|
-
|
10301
|
-
|
10302
|
-
|
10303
|
-
|
10304
|
-
|
10305
|
-
|
10306
|
-
|
9885
|
+
} | undefined;
|
9886
|
+
}, {
|
9887
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
|
9888
|
+
message: string;
|
9889
|
+
direction: "incoming" | "outgoing" | "system";
|
9890
|
+
platformId: string;
|
9891
|
+
room: {
|
9892
|
+
lastMessage?: string | undefined;
|
9893
|
+
handleTime?: number | undefined;
|
9894
|
+
closeAt?: Date | undefined;
|
9895
|
+
unreadCount?: number | undefined;
|
9896
|
+
firstResponseAt?: Date | null | undefined;
|
9897
|
+
firstResponseTime?: number | null | undefined;
|
9898
|
+
isLatest?: boolean | undefined;
|
9899
|
+
direction?: "incoming" | "outgoing" | "system" | undefined;
|
9900
|
+
platformContact?: {
|
10307
9901
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
10308
9902
|
id: string;
|
10309
9903
|
metadata: {
|
@@ -10362,6 +9956,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10362
9956
|
fileKey: string;
|
10363
9957
|
bucketName: string;
|
10364
9958
|
fileSize: number;
|
9959
|
+
fileUrl: string | null;
|
10365
9960
|
};
|
10366
9961
|
}[];
|
10367
9962
|
}[];
|
@@ -10419,8 +10014,8 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10419
10014
|
}[] | undefined;
|
10420
10015
|
};
|
10421
10016
|
socialPlatformId: string;
|
10422
|
-
};
|
10423
|
-
|
10017
|
+
} | undefined;
|
10018
|
+
actor?: {
|
10424
10019
|
id: string;
|
10425
10020
|
address: string | null;
|
10426
10021
|
name: string;
|
@@ -10450,7 +10045,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10450
10045
|
displayName: string;
|
10451
10046
|
}[];
|
10452
10047
|
}[];
|
10453
|
-
extension
|
10048
|
+
extension: {
|
10454
10049
|
id: string;
|
10455
10050
|
createdAt: Date;
|
10456
10051
|
updatedAt: Date;
|
@@ -10458,12 +10053,79 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10458
10053
|
userId: string | null;
|
10459
10054
|
sipServerUrl: string;
|
10460
10055
|
sipUserName: string;
|
10056
|
+
webphoneLoginUser: string;
|
10461
10057
|
extensionId: number;
|
10462
10058
|
extensionName: string;
|
10463
10059
|
telephonySignature: string | null;
|
10464
|
-
}
|
10465
|
-
};
|
10466
|
-
|
10060
|
+
};
|
10061
|
+
} | undefined;
|
10062
|
+
assignee?: {
|
10063
|
+
id: string;
|
10064
|
+
address: string | null;
|
10065
|
+
name: string;
|
10066
|
+
email: string;
|
10067
|
+
createdAt: Date;
|
10068
|
+
updatedAt: Date;
|
10069
|
+
deletedAt: Date | null;
|
10070
|
+
emailVerifiedAt: Date | null;
|
10071
|
+
password: string;
|
10072
|
+
phone: string | null;
|
10073
|
+
notificationCount: number | null;
|
10074
|
+
roles: {
|
10075
|
+
id: string;
|
10076
|
+
description: string | null;
|
10077
|
+
createdAt: Date;
|
10078
|
+
updatedAt: Date;
|
10079
|
+
deletedAt: Date | null;
|
10080
|
+
systemName: string;
|
10081
|
+
displayName: string;
|
10082
|
+
permissions: {
|
10083
|
+
id: string;
|
10084
|
+
description: string | null;
|
10085
|
+
createdAt: Date;
|
10086
|
+
updatedAt: Date;
|
10087
|
+
deletedAt: Date | null;
|
10088
|
+
systemName: string;
|
10089
|
+
displayName: string;
|
10090
|
+
}[];
|
10091
|
+
}[];
|
10092
|
+
extension: {
|
10093
|
+
id: string;
|
10094
|
+
createdAt: Date;
|
10095
|
+
updatedAt: Date;
|
10096
|
+
deletedAt: Date | null;
|
10097
|
+
userId: string | null;
|
10098
|
+
sipServerUrl: string;
|
10099
|
+
sipUserName: string;
|
10100
|
+
webphoneLoginUser: string;
|
10101
|
+
extensionId: number;
|
10102
|
+
extensionName: string;
|
10103
|
+
telephonySignature: string | null;
|
10104
|
+
};
|
10105
|
+
} | undefined;
|
10106
|
+
channel?: {
|
10107
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
10108
|
+
name: string;
|
10109
|
+
metadata: {
|
10110
|
+
id: string;
|
10111
|
+
name: string;
|
10112
|
+
accessToken: string;
|
10113
|
+
additionalCredentials?: any;
|
10114
|
+
};
|
10115
|
+
status: boolean;
|
10116
|
+
brandName: string;
|
10117
|
+
platformId: string;
|
10118
|
+
actor: {
|
10119
|
+
id: string;
|
10120
|
+
address: string | null;
|
10121
|
+
name: string;
|
10122
|
+
email: string;
|
10123
|
+
phone: string | null;
|
10124
|
+
};
|
10125
|
+
connectedUserName?: string | null | undefined;
|
10126
|
+
connectedUserId?: string | null | undefined;
|
10127
|
+
} | undefined;
|
10128
|
+
cxlog?: {
|
10467
10129
|
id: string;
|
10468
10130
|
channel: string | null;
|
10469
10131
|
disposition: string | null;
|
@@ -10497,78 +10159,28 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10497
10159
|
callTo: string | null;
|
10498
10160
|
note: string | null;
|
10499
10161
|
} | null;
|
10500
|
-
};
|
10501
|
-
channel?: {
|
10502
|
-
id?: string | undefined;
|
10503
|
-
createdAt?: Date | undefined;
|
10504
|
-
updatedAt?: Date | undefined;
|
10505
|
-
deletedAt?: Date | null | undefined;
|
10506
|
-
name?: string | undefined;
|
10507
|
-
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
10508
|
-
metadata?: {
|
10509
|
-
id: string;
|
10510
|
-
name: string;
|
10511
|
-
accessToken: string;
|
10512
|
-
additionalCredentials?: any;
|
10513
|
-
} | undefined;
|
10514
|
-
brandName?: string | undefined;
|
10515
|
-
platformId?: string | undefined;
|
10516
|
-
status?: boolean | undefined;
|
10517
|
-
isReloginRequired?: boolean | undefined;
|
10518
|
-
connectedUserName?: string | undefined;
|
10519
|
-
connectedUserId?: string | undefined;
|
10520
|
-
actor?: {
|
10521
|
-
id: string;
|
10522
|
-
address: string | null;
|
10523
|
-
name: string;
|
10524
|
-
email: string;
|
10525
|
-
createdAt: Date;
|
10526
|
-
updatedAt: Date;
|
10527
|
-
deletedAt: Date | null;
|
10528
|
-
emailVerifiedAt: Date | null;
|
10529
|
-
password: string;
|
10530
|
-
phone: string | null;
|
10531
|
-
notificationCount: number | null;
|
10532
|
-
roles: {
|
10533
|
-
id: string;
|
10534
|
-
description: string | null;
|
10535
|
-
createdAt: Date;
|
10536
|
-
updatedAt: Date;
|
10537
|
-
deletedAt: Date | null;
|
10538
|
-
systemName: string;
|
10539
|
-
displayName: string;
|
10540
|
-
permissions: {
|
10541
|
-
id: string;
|
10542
|
-
description: string | null;
|
10543
|
-
createdAt: Date;
|
10544
|
-
updatedAt: Date;
|
10545
|
-
deletedAt: Date | null;
|
10546
|
-
systemName: string;
|
10547
|
-
displayName: string;
|
10548
|
-
}[];
|
10549
|
-
}[];
|
10550
|
-
extension?: {
|
10551
|
-
id: string;
|
10552
|
-
createdAt: Date;
|
10553
|
-
updatedAt: Date;
|
10554
|
-
deletedAt: Date | null;
|
10555
|
-
userId: string | null;
|
10556
|
-
sipServerUrl: string;
|
10557
|
-
sipUserName: string;
|
10558
|
-
extensionId: number;
|
10559
|
-
extensionName: string;
|
10560
|
-
telephonySignature: string | null;
|
10561
|
-
} | undefined;
|
10562
|
-
} | undefined;
|
10563
10162
|
} | undefined;
|
10564
10163
|
};
|
10565
|
-
readAt: Date;
|
10566
10164
|
platformMessageId: string;
|
10567
|
-
|
10568
|
-
|
10569
|
-
|
10570
|
-
|
10571
|
-
|
10165
|
+
locale: "" | "th" | "mm" | "en" | null;
|
10166
|
+
metadata?: any;
|
10167
|
+
replyPlatformMessageId?: string | undefined;
|
10168
|
+
template?: any;
|
10169
|
+
url?: string | undefined;
|
10170
|
+
previewUrl?: string | undefined;
|
10171
|
+
imageSetId?: string | undefined;
|
10172
|
+
upload?: {
|
10173
|
+
id: string;
|
10174
|
+
createdAt: Date;
|
10175
|
+
updatedAt: Date;
|
10176
|
+
deletedAt: Date | null;
|
10177
|
+
fileName: string;
|
10178
|
+
fileKey: string;
|
10179
|
+
bucketName: string;
|
10180
|
+
fileSize: number;
|
10181
|
+
fileUrl: string | null;
|
10182
|
+
} | undefined;
|
10183
|
+
actor?: {
|
10572
10184
|
id: string;
|
10573
10185
|
address: string | null;
|
10574
10186
|
name: string;
|
@@ -10598,7 +10210,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10598
10210
|
displayName: string;
|
10599
10211
|
}[];
|
10600
10212
|
}[];
|
10601
|
-
extension
|
10213
|
+
extension: {
|
10602
10214
|
id: string;
|
10603
10215
|
createdAt: Date;
|
10604
10216
|
updatedAt: Date;
|
@@ -10606,26 +10218,13 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10606
10218
|
userId: string | null;
|
10607
10219
|
sipServerUrl: string;
|
10608
10220
|
sipUserName: string;
|
10221
|
+
webphoneLoginUser: string;
|
10609
10222
|
extensionId: number;
|
10610
10223
|
extensionName: string;
|
10611
10224
|
telephonySignature: string | null;
|
10612
|
-
}
|
10613
|
-
};
|
10614
|
-
|
10615
|
-
template?: any;
|
10616
|
-
}>;
|
10617
|
-
}, "strip", z.ZodTypeAny, {
|
10618
|
-
message: {
|
10619
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
|
10620
|
-
message: string;
|
10621
|
-
id: string;
|
10622
|
-
url: string;
|
10623
|
-
direction: "incoming" | "outgoing" | "system";
|
10624
|
-
createdAt: Date;
|
10625
|
-
updatedAt: Date;
|
10626
|
-
deletedAt: Date | null;
|
10627
|
-
platformId: string;
|
10628
|
-
actor: {
|
10225
|
+
};
|
10226
|
+
} | undefined;
|
10227
|
+
assignee?: {
|
10629
10228
|
id: string;
|
10630
10229
|
address: string | null;
|
10631
10230
|
name: string;
|
@@ -10655,7 +10254,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10655
10254
|
displayName: string;
|
10656
10255
|
}[];
|
10657
10256
|
}[];
|
10658
|
-
extension
|
10257
|
+
extension: {
|
10659
10258
|
id: string;
|
10660
10259
|
createdAt: Date;
|
10661
10260
|
updatedAt: Date;
|
@@ -10663,22 +10262,13 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10663
10262
|
userId: string | null;
|
10664
10263
|
sipServerUrl: string;
|
10665
10264
|
sipUserName: string;
|
10265
|
+
webphoneLoginUser: string;
|
10666
10266
|
extensionId: number;
|
10667
10267
|
extensionName: string;
|
10668
10268
|
telephonySignature: string | null;
|
10669
|
-
}
|
10670
|
-
};
|
10671
|
-
|
10672
|
-
id: string;
|
10673
|
-
createdAt: Date;
|
10674
|
-
updatedAt: Date;
|
10675
|
-
deletedAt: Date | null;
|
10676
|
-
fileName: string;
|
10677
|
-
fileKey: string;
|
10678
|
-
bucketName: string;
|
10679
|
-
fileSize: number;
|
10680
|
-
};
|
10681
|
-
assignee: {
|
10269
|
+
};
|
10270
|
+
} | undefined;
|
10271
|
+
sender?: {
|
10682
10272
|
id: string;
|
10683
10273
|
address: string | null;
|
10684
10274
|
name: string;
|
@@ -10708,7 +10298,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10708
10298
|
displayName: string;
|
10709
10299
|
}[];
|
10710
10300
|
}[];
|
10711
|
-
extension
|
10301
|
+
extension: {
|
10712
10302
|
id: string;
|
10713
10303
|
createdAt: Date;
|
10714
10304
|
updatedAt: Date;
|
@@ -10716,68 +10306,29 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10716
10306
|
userId: string | null;
|
10717
10307
|
sipServerUrl: string;
|
10718
10308
|
sipUserName: string;
|
10309
|
+
webphoneLoginUser: string;
|
10719
10310
|
extensionId: number;
|
10720
10311
|
extensionName: string;
|
10721
|
-
telephonySignature: string | null;
|
10722
|
-
} | undefined;
|
10723
|
-
};
|
10724
|
-
room: {
|
10725
|
-
id: string;
|
10726
|
-
direction: "incoming" | "outgoing" | "system";
|
10727
|
-
createdAt: Date;
|
10728
|
-
updatedAt: Date;
|
10729
|
-
deletedAt: Date | null;
|
10730
|
-
actor: {
|
10731
|
-
id: string;
|
10732
|
-
address: string | null;
|
10733
|
-
name: string;
|
10734
|
-
email: string;
|
10735
|
-
createdAt: Date;
|
10736
|
-
updatedAt: Date;
|
10737
|
-
deletedAt: Date | null;
|
10738
|
-
emailVerifiedAt: Date | null;
|
10739
|
-
password: string;
|
10740
|
-
phone: string | null;
|
10741
|
-
notificationCount: number | null;
|
10742
|
-
roles: {
|
10743
|
-
id: string;
|
10744
|
-
description: string | null;
|
10745
|
-
createdAt: Date;
|
10746
|
-
updatedAt: Date;
|
10747
|
-
deletedAt: Date | null;
|
10748
|
-
systemName: string;
|
10749
|
-
displayName: string;
|
10750
|
-
permissions: {
|
10751
|
-
id: string;
|
10752
|
-
description: string | null;
|
10753
|
-
createdAt: Date;
|
10754
|
-
updatedAt: Date;
|
10755
|
-
deletedAt: Date | null;
|
10756
|
-
systemName: string;
|
10757
|
-
displayName: string;
|
10758
|
-
}[];
|
10759
|
-
}[];
|
10760
|
-
extension?: {
|
10761
|
-
id: string;
|
10762
|
-
createdAt: Date;
|
10763
|
-
updatedAt: Date;
|
10764
|
-
deletedAt: Date | null;
|
10765
|
-
userId: string | null;
|
10766
|
-
sipServerUrl: string;
|
10767
|
-
sipUserName: string;
|
10768
|
-
extensionId: number;
|
10769
|
-
extensionName: string;
|
10770
|
-
telephonySignature: string | null;
|
10771
|
-
} | undefined;
|
10312
|
+
telephonySignature: string | null;
|
10772
10313
|
};
|
10773
|
-
|
10774
|
-
|
10775
|
-
|
10776
|
-
|
10777
|
-
|
10778
|
-
|
10779
|
-
|
10780
|
-
|
10314
|
+
} | undefined;
|
10315
|
+
}>;
|
10316
|
+
}, "strip", z.ZodTypeAny, {
|
10317
|
+
message: {
|
10318
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
|
10319
|
+
message: string;
|
10320
|
+
direction: "incoming" | "outgoing" | "system";
|
10321
|
+
platformId: string;
|
10322
|
+
room: {
|
10323
|
+
lastMessage?: string | undefined;
|
10324
|
+
handleTime?: number | undefined;
|
10325
|
+
closeAt?: Date | undefined;
|
10326
|
+
unreadCount?: number | undefined;
|
10327
|
+
firstResponseAt?: Date | null | undefined;
|
10328
|
+
firstResponseTime?: number | null | undefined;
|
10329
|
+
isLatest?: boolean | undefined;
|
10330
|
+
direction?: "incoming" | "outgoing" | "system" | undefined;
|
10331
|
+
platformContact?: {
|
10781
10332
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
10782
10333
|
id: string;
|
10783
10334
|
metadata: {
|
@@ -10836,6 +10387,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10836
10387
|
fileKey: string;
|
10837
10388
|
bucketName: string;
|
10838
10389
|
fileSize: number;
|
10390
|
+
fileUrl: string | null;
|
10839
10391
|
};
|
10840
10392
|
}[];
|
10841
10393
|
}[];
|
@@ -10893,8 +10445,8 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10893
10445
|
}[] | undefined;
|
10894
10446
|
};
|
10895
10447
|
socialPlatformId: string;
|
10896
|
-
};
|
10897
|
-
|
10448
|
+
} | undefined;
|
10449
|
+
actor?: {
|
10898
10450
|
id: string;
|
10899
10451
|
address: string | null;
|
10900
10452
|
name: string;
|
@@ -10924,7 +10476,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10924
10476
|
displayName: string;
|
10925
10477
|
}[];
|
10926
10478
|
}[];
|
10927
|
-
extension
|
10479
|
+
extension: {
|
10928
10480
|
id: string;
|
10929
10481
|
createdAt: Date;
|
10930
10482
|
updatedAt: Date;
|
@@ -10932,12 +10484,79 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10932
10484
|
userId: string | null;
|
10933
10485
|
sipServerUrl: string;
|
10934
10486
|
sipUserName: string;
|
10487
|
+
webphoneLoginUser: string;
|
10935
10488
|
extensionId: number;
|
10936
10489
|
extensionName: string;
|
10937
10490
|
telephonySignature: string | null;
|
10938
|
-
}
|
10939
|
-
};
|
10940
|
-
|
10491
|
+
};
|
10492
|
+
} | undefined;
|
10493
|
+
assignee?: {
|
10494
|
+
id: string;
|
10495
|
+
address: string | null;
|
10496
|
+
name: string;
|
10497
|
+
email: string;
|
10498
|
+
createdAt: Date;
|
10499
|
+
updatedAt: Date;
|
10500
|
+
deletedAt: Date | null;
|
10501
|
+
emailVerifiedAt: Date | null;
|
10502
|
+
password: string;
|
10503
|
+
phone: string | null;
|
10504
|
+
notificationCount: number | null;
|
10505
|
+
roles: {
|
10506
|
+
id: string;
|
10507
|
+
description: string | null;
|
10508
|
+
createdAt: Date;
|
10509
|
+
updatedAt: Date;
|
10510
|
+
deletedAt: Date | null;
|
10511
|
+
systemName: string;
|
10512
|
+
displayName: string;
|
10513
|
+
permissions: {
|
10514
|
+
id: string;
|
10515
|
+
description: string | null;
|
10516
|
+
createdAt: Date;
|
10517
|
+
updatedAt: Date;
|
10518
|
+
deletedAt: Date | null;
|
10519
|
+
systemName: string;
|
10520
|
+
displayName: string;
|
10521
|
+
}[];
|
10522
|
+
}[];
|
10523
|
+
extension: {
|
10524
|
+
id: string;
|
10525
|
+
createdAt: Date;
|
10526
|
+
updatedAt: Date;
|
10527
|
+
deletedAt: Date | null;
|
10528
|
+
userId: string | null;
|
10529
|
+
sipServerUrl: string;
|
10530
|
+
sipUserName: string;
|
10531
|
+
webphoneLoginUser: string;
|
10532
|
+
extensionId: number;
|
10533
|
+
extensionName: string;
|
10534
|
+
telephonySignature: string | null;
|
10535
|
+
};
|
10536
|
+
} | undefined;
|
10537
|
+
channel?: {
|
10538
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
10539
|
+
name: string;
|
10540
|
+
metadata: {
|
10541
|
+
id: string;
|
10542
|
+
name: string;
|
10543
|
+
accessToken: string;
|
10544
|
+
additionalCredentials?: any;
|
10545
|
+
};
|
10546
|
+
status: boolean;
|
10547
|
+
brandName: string;
|
10548
|
+
platformId: string;
|
10549
|
+
actor: {
|
10550
|
+
id: string;
|
10551
|
+
address: string | null;
|
10552
|
+
name: string;
|
10553
|
+
email: string;
|
10554
|
+
phone: string | null;
|
10555
|
+
};
|
10556
|
+
connectedUserName?: string | null | undefined;
|
10557
|
+
connectedUserId?: string | null | undefined;
|
10558
|
+
} | undefined;
|
10559
|
+
cxlog?: {
|
10941
10560
|
id: string;
|
10942
10561
|
channel: string | null;
|
10943
10562
|
disposition: string | null;
|
@@ -10971,78 +10590,28 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10971
10590
|
callTo: string | null;
|
10972
10591
|
note: string | null;
|
10973
10592
|
} | null;
|
10974
|
-
};
|
10975
|
-
channel?: {
|
10976
|
-
id?: string | undefined;
|
10977
|
-
createdAt?: Date | undefined;
|
10978
|
-
updatedAt?: Date | undefined;
|
10979
|
-
deletedAt?: Date | null | undefined;
|
10980
|
-
name?: string | undefined;
|
10981
|
-
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
10982
|
-
metadata?: {
|
10983
|
-
id: string;
|
10984
|
-
name: string;
|
10985
|
-
accessToken: string;
|
10986
|
-
additionalCredentials?: any;
|
10987
|
-
} | undefined;
|
10988
|
-
brandName?: string | undefined;
|
10989
|
-
platformId?: string | undefined;
|
10990
|
-
status?: boolean | undefined;
|
10991
|
-
isReloginRequired?: boolean | undefined;
|
10992
|
-
connectedUserName?: string | undefined;
|
10993
|
-
connectedUserId?: string | undefined;
|
10994
|
-
actor?: {
|
10995
|
-
id: string;
|
10996
|
-
address: string | null;
|
10997
|
-
name: string;
|
10998
|
-
email: string;
|
10999
|
-
createdAt: Date;
|
11000
|
-
updatedAt: Date;
|
11001
|
-
deletedAt: Date | null;
|
11002
|
-
emailVerifiedAt: Date | null;
|
11003
|
-
password: string;
|
11004
|
-
phone: string | null;
|
11005
|
-
notificationCount: number | null;
|
11006
|
-
roles: {
|
11007
|
-
id: string;
|
11008
|
-
description: string | null;
|
11009
|
-
createdAt: Date;
|
11010
|
-
updatedAt: Date;
|
11011
|
-
deletedAt: Date | null;
|
11012
|
-
systemName: string;
|
11013
|
-
displayName: string;
|
11014
|
-
permissions: {
|
11015
|
-
id: string;
|
11016
|
-
description: string | null;
|
11017
|
-
createdAt: Date;
|
11018
|
-
updatedAt: Date;
|
11019
|
-
deletedAt: Date | null;
|
11020
|
-
systemName: string;
|
11021
|
-
displayName: string;
|
11022
|
-
}[];
|
11023
|
-
}[];
|
11024
|
-
extension?: {
|
11025
|
-
id: string;
|
11026
|
-
createdAt: Date;
|
11027
|
-
updatedAt: Date;
|
11028
|
-
deletedAt: Date | null;
|
11029
|
-
userId: string | null;
|
11030
|
-
sipServerUrl: string;
|
11031
|
-
sipUserName: string;
|
11032
|
-
extensionId: number;
|
11033
|
-
extensionName: string;
|
11034
|
-
telephonySignature: string | null;
|
11035
|
-
} | undefined;
|
11036
|
-
} | undefined;
|
11037
10593
|
} | undefined;
|
11038
10594
|
};
|
11039
|
-
readAt: Date;
|
11040
10595
|
platformMessageId: string;
|
11041
|
-
|
11042
|
-
|
11043
|
-
|
11044
|
-
|
11045
|
-
|
10596
|
+
locale: "" | "th" | "mm" | "en" | null;
|
10597
|
+
metadata?: any;
|
10598
|
+
replyPlatformMessageId?: string | undefined;
|
10599
|
+
template?: any;
|
10600
|
+
url?: string | undefined;
|
10601
|
+
previewUrl?: string | undefined;
|
10602
|
+
imageSetId?: string | undefined;
|
10603
|
+
upload?: {
|
10604
|
+
id: string;
|
10605
|
+
createdAt: Date;
|
10606
|
+
updatedAt: Date;
|
10607
|
+
deletedAt: Date | null;
|
10608
|
+
fileName: string;
|
10609
|
+
fileKey: string;
|
10610
|
+
bucketName: string;
|
10611
|
+
fileSize: number;
|
10612
|
+
fileUrl: string | null;
|
10613
|
+
} | undefined;
|
10614
|
+
actor?: {
|
11046
10615
|
id: string;
|
11047
10616
|
address: string | null;
|
11048
10617
|
name: string;
|
@@ -11072,7 +10641,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
11072
10641
|
displayName: string;
|
11073
10642
|
}[];
|
11074
10643
|
}[];
|
11075
|
-
extension
|
10644
|
+
extension: {
|
11076
10645
|
id: string;
|
11077
10646
|
createdAt: Date;
|
11078
10647
|
updatedAt: Date;
|
@@ -11080,26 +10649,13 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
11080
10649
|
userId: string | null;
|
11081
10650
|
sipServerUrl: string;
|
11082
10651
|
sipUserName: string;
|
10652
|
+
webphoneLoginUser: string;
|
11083
10653
|
extensionId: number;
|
11084
10654
|
extensionName: string;
|
11085
10655
|
telephonySignature: string | null;
|
11086
|
-
}
|
11087
|
-
};
|
11088
|
-
|
11089
|
-
template?: any;
|
11090
|
-
};
|
11091
|
-
}, {
|
11092
|
-
message: {
|
11093
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
|
11094
|
-
message: string;
|
11095
|
-
id: string;
|
11096
|
-
url: string;
|
11097
|
-
direction: "incoming" | "outgoing" | "system";
|
11098
|
-
createdAt: Date;
|
11099
|
-
updatedAt: Date;
|
11100
|
-
deletedAt: Date | null;
|
11101
|
-
platformId: string;
|
11102
|
-
actor: {
|
10656
|
+
};
|
10657
|
+
} | undefined;
|
10658
|
+
assignee?: {
|
11103
10659
|
id: string;
|
11104
10660
|
address: string | null;
|
11105
10661
|
name: string;
|
@@ -11129,7 +10685,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
11129
10685
|
displayName: string;
|
11130
10686
|
}[];
|
11131
10687
|
}[];
|
11132
|
-
extension
|
10688
|
+
extension: {
|
11133
10689
|
id: string;
|
11134
10690
|
createdAt: Date;
|
11135
10691
|
updatedAt: Date;
|
@@ -11137,22 +10693,13 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
11137
10693
|
userId: string | null;
|
11138
10694
|
sipServerUrl: string;
|
11139
10695
|
sipUserName: string;
|
10696
|
+
webphoneLoginUser: string;
|
11140
10697
|
extensionId: number;
|
11141
10698
|
extensionName: string;
|
11142
10699
|
telephonySignature: string | null;
|
11143
|
-
}
|
11144
|
-
};
|
11145
|
-
|
11146
|
-
id: string;
|
11147
|
-
createdAt: Date;
|
11148
|
-
updatedAt: Date;
|
11149
|
-
deletedAt: Date | null;
|
11150
|
-
fileName: string;
|
11151
|
-
fileKey: string;
|
11152
|
-
bucketName: string;
|
11153
|
-
fileSize: number;
|
11154
|
-
};
|
11155
|
-
assignee: {
|
10700
|
+
};
|
10701
|
+
} | undefined;
|
10702
|
+
sender?: {
|
11156
10703
|
id: string;
|
11157
10704
|
address: string | null;
|
11158
10705
|
name: string;
|
@@ -11182,76 +10729,37 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
11182
10729
|
displayName: string;
|
11183
10730
|
}[];
|
11184
10731
|
}[];
|
11185
|
-
extension
|
11186
|
-
id: string;
|
11187
|
-
createdAt: Date;
|
11188
|
-
updatedAt: Date;
|
11189
|
-
deletedAt: Date | null;
|
11190
|
-
userId: string | null;
|
11191
|
-
sipServerUrl: string;
|
11192
|
-
sipUserName: string;
|
11193
|
-
extensionId: number;
|
11194
|
-
extensionName: string;
|
11195
|
-
telephonySignature: string | null;
|
11196
|
-
} | undefined;
|
11197
|
-
};
|
11198
|
-
room: {
|
11199
|
-
id: string;
|
11200
|
-
direction: "incoming" | "outgoing" | "system";
|
11201
|
-
createdAt: Date;
|
11202
|
-
updatedAt: Date;
|
11203
|
-
deletedAt: Date | null;
|
11204
|
-
actor: {
|
10732
|
+
extension: {
|
11205
10733
|
id: string;
|
11206
|
-
address: string | null;
|
11207
|
-
name: string;
|
11208
|
-
email: string;
|
11209
10734
|
createdAt: Date;
|
11210
10735
|
updatedAt: Date;
|
11211
|
-
deletedAt: Date | null;
|
11212
|
-
|
11213
|
-
|
11214
|
-
|
11215
|
-
|
11216
|
-
|
11217
|
-
|
11218
|
-
|
11219
|
-
createdAt: Date;
|
11220
|
-
updatedAt: Date;
|
11221
|
-
deletedAt: Date | null;
|
11222
|
-
systemName: string;
|
11223
|
-
displayName: string;
|
11224
|
-
permissions: {
|
11225
|
-
id: string;
|
11226
|
-
description: string | null;
|
11227
|
-
createdAt: Date;
|
11228
|
-
updatedAt: Date;
|
11229
|
-
deletedAt: Date | null;
|
11230
|
-
systemName: string;
|
11231
|
-
displayName: string;
|
11232
|
-
}[];
|
11233
|
-
}[];
|
11234
|
-
extension?: {
|
11235
|
-
id: string;
|
11236
|
-
createdAt: Date;
|
11237
|
-
updatedAt: Date;
|
11238
|
-
deletedAt: Date | null;
|
11239
|
-
userId: string | null;
|
11240
|
-
sipServerUrl: string;
|
11241
|
-
sipUserName: string;
|
11242
|
-
extensionId: number;
|
11243
|
-
extensionName: string;
|
11244
|
-
telephonySignature: string | null;
|
11245
|
-
} | undefined;
|
10736
|
+
deletedAt: Date | null;
|
10737
|
+
userId: string | null;
|
10738
|
+
sipServerUrl: string;
|
10739
|
+
sipUserName: string;
|
10740
|
+
webphoneLoginUser: string;
|
10741
|
+
extensionId: number;
|
10742
|
+
extensionName: string;
|
10743
|
+
telephonySignature: string | null;
|
11246
10744
|
};
|
11247
|
-
|
11248
|
-
|
11249
|
-
|
11250
|
-
|
11251
|
-
|
11252
|
-
|
11253
|
-
|
11254
|
-
|
10745
|
+
} | undefined;
|
10746
|
+
};
|
10747
|
+
}, {
|
10748
|
+
message: {
|
10749
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
|
10750
|
+
message: string;
|
10751
|
+
direction: "incoming" | "outgoing" | "system";
|
10752
|
+
platformId: string;
|
10753
|
+
room: {
|
10754
|
+
lastMessage?: string | undefined;
|
10755
|
+
handleTime?: number | undefined;
|
10756
|
+
closeAt?: Date | undefined;
|
10757
|
+
unreadCount?: number | undefined;
|
10758
|
+
firstResponseAt?: Date | null | undefined;
|
10759
|
+
firstResponseTime?: number | null | undefined;
|
10760
|
+
isLatest?: boolean | undefined;
|
10761
|
+
direction?: "incoming" | "outgoing" | "system" | undefined;
|
10762
|
+
platformContact?: {
|
11255
10763
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
11256
10764
|
id: string;
|
11257
10765
|
metadata: {
|
@@ -11310,6 +10818,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
11310
10818
|
fileKey: string;
|
11311
10819
|
bucketName: string;
|
11312
10820
|
fileSize: number;
|
10821
|
+
fileUrl: string | null;
|
11313
10822
|
};
|
11314
10823
|
}[];
|
11315
10824
|
}[];
|
@@ -11367,8 +10876,8 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
11367
10876
|
}[] | undefined;
|
11368
10877
|
};
|
11369
10878
|
socialPlatformId: string;
|
11370
|
-
};
|
11371
|
-
|
10879
|
+
} | undefined;
|
10880
|
+
actor?: {
|
11372
10881
|
id: string;
|
11373
10882
|
address: string | null;
|
11374
10883
|
name: string;
|
@@ -11398,7 +10907,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
11398
10907
|
displayName: string;
|
11399
10908
|
}[];
|
11400
10909
|
}[];
|
11401
|
-
extension
|
10910
|
+
extension: {
|
11402
10911
|
id: string;
|
11403
10912
|
createdAt: Date;
|
11404
10913
|
updatedAt: Date;
|
@@ -11406,12 +10915,79 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
11406
10915
|
userId: string | null;
|
11407
10916
|
sipServerUrl: string;
|
11408
10917
|
sipUserName: string;
|
10918
|
+
webphoneLoginUser: string;
|
11409
10919
|
extensionId: number;
|
11410
10920
|
extensionName: string;
|
11411
10921
|
telephonySignature: string | null;
|
11412
|
-
}
|
11413
|
-
};
|
11414
|
-
|
10922
|
+
};
|
10923
|
+
} | undefined;
|
10924
|
+
assignee?: {
|
10925
|
+
id: string;
|
10926
|
+
address: string | null;
|
10927
|
+
name: string;
|
10928
|
+
email: string;
|
10929
|
+
createdAt: Date;
|
10930
|
+
updatedAt: Date;
|
10931
|
+
deletedAt: Date | null;
|
10932
|
+
emailVerifiedAt: Date | null;
|
10933
|
+
password: string;
|
10934
|
+
phone: string | null;
|
10935
|
+
notificationCount: number | null;
|
10936
|
+
roles: {
|
10937
|
+
id: string;
|
10938
|
+
description: string | null;
|
10939
|
+
createdAt: Date;
|
10940
|
+
updatedAt: Date;
|
10941
|
+
deletedAt: Date | null;
|
10942
|
+
systemName: string;
|
10943
|
+
displayName: string;
|
10944
|
+
permissions: {
|
10945
|
+
id: string;
|
10946
|
+
description: string | null;
|
10947
|
+
createdAt: Date;
|
10948
|
+
updatedAt: Date;
|
10949
|
+
deletedAt: Date | null;
|
10950
|
+
systemName: string;
|
10951
|
+
displayName: string;
|
10952
|
+
}[];
|
10953
|
+
}[];
|
10954
|
+
extension: {
|
10955
|
+
id: string;
|
10956
|
+
createdAt: Date;
|
10957
|
+
updatedAt: Date;
|
10958
|
+
deletedAt: Date | null;
|
10959
|
+
userId: string | null;
|
10960
|
+
sipServerUrl: string;
|
10961
|
+
sipUserName: string;
|
10962
|
+
webphoneLoginUser: string;
|
10963
|
+
extensionId: number;
|
10964
|
+
extensionName: string;
|
10965
|
+
telephonySignature: string | null;
|
10966
|
+
};
|
10967
|
+
} | undefined;
|
10968
|
+
channel?: {
|
10969
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
10970
|
+
name: string;
|
10971
|
+
metadata: {
|
10972
|
+
id: string;
|
10973
|
+
name: string;
|
10974
|
+
accessToken: string;
|
10975
|
+
additionalCredentials?: any;
|
10976
|
+
};
|
10977
|
+
status: boolean;
|
10978
|
+
brandName: string;
|
10979
|
+
platformId: string;
|
10980
|
+
actor: {
|
10981
|
+
id: string;
|
10982
|
+
address: string | null;
|
10983
|
+
name: string;
|
10984
|
+
email: string;
|
10985
|
+
phone: string | null;
|
10986
|
+
};
|
10987
|
+
connectedUserName?: string | null | undefined;
|
10988
|
+
connectedUserId?: string | null | undefined;
|
10989
|
+
} | undefined;
|
10990
|
+
cxlog?: {
|
11415
10991
|
id: string;
|
11416
10992
|
channel: string | null;
|
11417
10993
|
disposition: string | null;
|
@@ -11445,78 +11021,116 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
11445
11021
|
callTo: string | null;
|
11446
11022
|
note: string | null;
|
11447
11023
|
} | null;
|
11448
|
-
};
|
11449
|
-
|
11450
|
-
|
11451
|
-
|
11452
|
-
|
11453
|
-
|
11454
|
-
|
11455
|
-
|
11456
|
-
|
11024
|
+
} | undefined;
|
11025
|
+
};
|
11026
|
+
platformMessageId: string;
|
11027
|
+
locale: "" | "th" | "mm" | "en" | null;
|
11028
|
+
metadata?: any;
|
11029
|
+
replyPlatformMessageId?: string | undefined;
|
11030
|
+
template?: any;
|
11031
|
+
url?: string | undefined;
|
11032
|
+
previewUrl?: string | undefined;
|
11033
|
+
imageSetId?: string | undefined;
|
11034
|
+
upload?: {
|
11035
|
+
id: string;
|
11036
|
+
createdAt: Date;
|
11037
|
+
updatedAt: Date;
|
11038
|
+
deletedAt: Date | null;
|
11039
|
+
fileName: string;
|
11040
|
+
fileKey: string;
|
11041
|
+
bucketName: string;
|
11042
|
+
fileSize: number;
|
11043
|
+
fileUrl: string | null;
|
11044
|
+
} | undefined;
|
11045
|
+
actor?: {
|
11046
|
+
id: string;
|
11047
|
+
address: string | null;
|
11048
|
+
name: string;
|
11049
|
+
email: string;
|
11050
|
+
createdAt: Date;
|
11051
|
+
updatedAt: Date;
|
11052
|
+
deletedAt: Date | null;
|
11053
|
+
emailVerifiedAt: Date | null;
|
11054
|
+
password: string;
|
11055
|
+
phone: string | null;
|
11056
|
+
notificationCount: number | null;
|
11057
|
+
roles: {
|
11058
|
+
id: string;
|
11059
|
+
description: string | null;
|
11060
|
+
createdAt: Date;
|
11061
|
+
updatedAt: Date;
|
11062
|
+
deletedAt: Date | null;
|
11063
|
+
systemName: string;
|
11064
|
+
displayName: string;
|
11065
|
+
permissions: {
|
11457
11066
|
id: string;
|
11458
|
-
|
11459
|
-
|
11460
|
-
|
11461
|
-
|
11462
|
-
|
11463
|
-
|
11464
|
-
|
11465
|
-
|
11466
|
-
|
11467
|
-
|
11468
|
-
|
11067
|
+
description: string | null;
|
11068
|
+
createdAt: Date;
|
11069
|
+
updatedAt: Date;
|
11070
|
+
deletedAt: Date | null;
|
11071
|
+
systemName: string;
|
11072
|
+
displayName: string;
|
11073
|
+
}[];
|
11074
|
+
}[];
|
11075
|
+
extension: {
|
11076
|
+
id: string;
|
11077
|
+
createdAt: Date;
|
11078
|
+
updatedAt: Date;
|
11079
|
+
deletedAt: Date | null;
|
11080
|
+
userId: string | null;
|
11081
|
+
sipServerUrl: string;
|
11082
|
+
sipUserName: string;
|
11083
|
+
webphoneLoginUser: string;
|
11084
|
+
extensionId: number;
|
11085
|
+
extensionName: string;
|
11086
|
+
telephonySignature: string | null;
|
11087
|
+
};
|
11088
|
+
} | undefined;
|
11089
|
+
assignee?: {
|
11090
|
+
id: string;
|
11091
|
+
address: string | null;
|
11092
|
+
name: string;
|
11093
|
+
email: string;
|
11094
|
+
createdAt: Date;
|
11095
|
+
updatedAt: Date;
|
11096
|
+
deletedAt: Date | null;
|
11097
|
+
emailVerifiedAt: Date | null;
|
11098
|
+
password: string;
|
11099
|
+
phone: string | null;
|
11100
|
+
notificationCount: number | null;
|
11101
|
+
roles: {
|
11102
|
+
id: string;
|
11103
|
+
description: string | null;
|
11104
|
+
createdAt: Date;
|
11105
|
+
updatedAt: Date;
|
11106
|
+
deletedAt: Date | null;
|
11107
|
+
systemName: string;
|
11108
|
+
displayName: string;
|
11109
|
+
permissions: {
|
11469
11110
|
id: string;
|
11470
|
-
|
11471
|
-
name: string;
|
11472
|
-
email: string;
|
11111
|
+
description: string | null;
|
11473
11112
|
createdAt: Date;
|
11474
11113
|
updatedAt: Date;
|
11475
11114
|
deletedAt: Date | null;
|
11476
|
-
|
11477
|
-
|
11478
|
-
|
11479
|
-
|
11480
|
-
|
11481
|
-
|
11482
|
-
|
11483
|
-
|
11484
|
-
|
11485
|
-
|
11486
|
-
|
11487
|
-
|
11488
|
-
|
11489
|
-
|
11490
|
-
|
11491
|
-
|
11492
|
-
|
11493
|
-
|
11494
|
-
|
11495
|
-
displayName: string;
|
11496
|
-
}[];
|
11497
|
-
}[];
|
11498
|
-
extension?: {
|
11499
|
-
id: string;
|
11500
|
-
createdAt: Date;
|
11501
|
-
updatedAt: Date;
|
11502
|
-
deletedAt: Date | null;
|
11503
|
-
userId: string | null;
|
11504
|
-
sipServerUrl: string;
|
11505
|
-
sipUserName: string;
|
11506
|
-
extensionId: number;
|
11507
|
-
extensionName: string;
|
11508
|
-
telephonySignature: string | null;
|
11509
|
-
} | undefined;
|
11510
|
-
} | undefined;
|
11511
|
-
} | undefined;
|
11512
|
-
};
|
11513
|
-
readAt: Date;
|
11514
|
-
platformMessageId: string;
|
11515
|
-
replyPlatformMessageId: string;
|
11516
|
-
locale: "" | "th" | "mm" | "en";
|
11517
|
-
previewUrl: string;
|
11518
|
-
imageSetId: string;
|
11519
|
-
sender: {
|
11115
|
+
systemName: string;
|
11116
|
+
displayName: string;
|
11117
|
+
}[];
|
11118
|
+
}[];
|
11119
|
+
extension: {
|
11120
|
+
id: string;
|
11121
|
+
createdAt: Date;
|
11122
|
+
updatedAt: Date;
|
11123
|
+
deletedAt: Date | null;
|
11124
|
+
userId: string | null;
|
11125
|
+
sipServerUrl: string;
|
11126
|
+
sipUserName: string;
|
11127
|
+
webphoneLoginUser: string;
|
11128
|
+
extensionId: number;
|
11129
|
+
extensionName: string;
|
11130
|
+
telephonySignature: string | null;
|
11131
|
+
};
|
11132
|
+
} | undefined;
|
11133
|
+
sender?: {
|
11520
11134
|
id: string;
|
11521
11135
|
address: string | null;
|
11522
11136
|
name: string;
|
@@ -11546,7 +11160,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
11546
11160
|
displayName: string;
|
11547
11161
|
}[];
|
11548
11162
|
}[];
|
11549
|
-
extension
|
11163
|
+
extension: {
|
11550
11164
|
id: string;
|
11551
11165
|
createdAt: Date;
|
11552
11166
|
updatedAt: Date;
|
@@ -11554,13 +11168,12 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
11554
11168
|
userId: string | null;
|
11555
11169
|
sipServerUrl: string;
|
11556
11170
|
sipUserName: string;
|
11171
|
+
webphoneLoginUser: string;
|
11557
11172
|
extensionId: number;
|
11558
11173
|
extensionName: string;
|
11559
11174
|
telephonySignature: string | null;
|
11560
|
-
}
|
11561
|
-
};
|
11562
|
-
metadata?: any;
|
11563
|
-
template?: any;
|
11175
|
+
};
|
11176
|
+
} | undefined;
|
11564
11177
|
};
|
11565
11178
|
}>;
|
11566
11179
|
//# sourceMappingURL=validation.d.ts.map
|