@kl1/contracts 1.0.15 → 1.0.17
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 +1551 -851
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1551 -851
- package/dist/index.mjs.map +1 -1
- package/dist/src/app/index.d.ts +17 -0
- package/dist/src/app/index.d.ts.map +1 -0
- package/dist/src/call-log/schema.d.ts +2 -2
- package/dist/src/chat/index.d.ts +1437 -3140
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +256 -47
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +5327 -92
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/contact/index.d.ts +4079 -581
- package/dist/src/contact/index.d.ts.map +1 -1
- package/dist/src/contact/validation.d.ts +3148 -0
- package/dist/src/contact/validation.d.ts.map +1 -1
- package/dist/src/contract.d.ts +25332 -13715
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/cx-log/index.d.ts +8 -8
- package/dist/src/cx-log/schema.d.ts +4 -4
- package/dist/src/mail/mail-contract.d.ts +1316 -1316
- package/dist/src/mail/mail-server.d.ts +216 -0
- package/dist/src/mail/mail-server.d.ts.map +1 -0
- package/dist/src/mail/message-contract.d.ts +56 -56
- package/dist/src/mail/room-contract.d.ts +1254 -1254
- package/dist/src/mail/schemas/message.schema.d.ts +33 -33
- package/dist/src/mail/schemas/room-validation.schema.d.ts +408 -408
- package/dist/src/mail/schemas/room.schema.d.ts +270 -270
- package/dist/src/messenger/index.d.ts +5232 -54
- package/dist/src/messenger/index.d.ts.map +1 -1
- package/dist/src/platform-contact/schema.d.ts +2 -2
- package/dist/src/ticket/index.d.ts +4662 -0
- package/dist/src/ticket/index.d.ts.map +1 -0
- package/dist/src/ticket/schema.d.ts +677 -5
- package/dist/src/ticket/schema.d.ts.map +1 -1
- package/dist/src/ticket/validation.d.ts +637 -0
- package/dist/src/ticket/validation.d.ts.map +1 -0
- package/package.json +1 -1
@@ -382,6 +382,30 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
382
382
|
updatedAt: Date;
|
383
383
|
deletedAt: Date | null;
|
384
384
|
roomId: string;
|
385
|
+
attachments: {
|
386
|
+
id: string;
|
387
|
+
createdAt: Date;
|
388
|
+
updatedAt: Date;
|
389
|
+
deletedAt: Date | null;
|
390
|
+
fileName: string;
|
391
|
+
fileType: string;
|
392
|
+
upload: {
|
393
|
+
id: string;
|
394
|
+
createdAt: Date;
|
395
|
+
updatedAt: Date;
|
396
|
+
deletedAt: Date | null;
|
397
|
+
bucket_name: string;
|
398
|
+
file_name: string;
|
399
|
+
file_key: string;
|
400
|
+
file_size: number;
|
401
|
+
file_url: string;
|
402
|
+
extension_name: string;
|
403
|
+
};
|
404
|
+
roomId: string;
|
405
|
+
messageId: string;
|
406
|
+
emailEngineAttachmentId: string;
|
407
|
+
uploadId: string;
|
408
|
+
}[];
|
385
409
|
subject: string;
|
386
410
|
textPlain: string;
|
387
411
|
textHtml: string;
|
@@ -423,6 +447,15 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
423
447
|
updatedAt: Date;
|
424
448
|
deletedAt: Date | null;
|
425
449
|
}[];
|
450
|
+
}, {
|
451
|
+
id: string;
|
452
|
+
direction: string;
|
453
|
+
action: string;
|
454
|
+
date: Date;
|
455
|
+
createdAt: Date;
|
456
|
+
updatedAt: Date;
|
457
|
+
deletedAt: Date | null;
|
458
|
+
roomId: string;
|
426
459
|
attachments: {
|
427
460
|
id: string;
|
428
461
|
createdAt: Date;
|
@@ -447,15 +480,6 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
447
480
|
emailEngineAttachmentId: string;
|
448
481
|
uploadId: string;
|
449
482
|
}[];
|
450
|
-
}, {
|
451
|
-
id: string;
|
452
|
-
direction: string;
|
453
|
-
action: string;
|
454
|
-
date: Date;
|
455
|
-
createdAt: Date;
|
456
|
-
updatedAt: Date;
|
457
|
-
deletedAt: Date | null;
|
458
|
-
roomId: string;
|
459
483
|
subject: string;
|
460
484
|
textPlain: string;
|
461
485
|
textHtml: string;
|
@@ -497,30 +521,6 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
497
521
|
updatedAt: Date;
|
498
522
|
deletedAt: Date | null;
|
499
523
|
}[];
|
500
|
-
attachments: {
|
501
|
-
id: string;
|
502
|
-
createdAt: Date;
|
503
|
-
updatedAt: Date;
|
504
|
-
deletedAt: Date | null;
|
505
|
-
fileName: string;
|
506
|
-
fileType: string;
|
507
|
-
upload: {
|
508
|
-
id: string;
|
509
|
-
createdAt: Date;
|
510
|
-
updatedAt: Date;
|
511
|
-
deletedAt: Date | null;
|
512
|
-
bucket_name: string;
|
513
|
-
file_name: string;
|
514
|
-
file_key: string;
|
515
|
-
file_size: number;
|
516
|
-
file_url: string;
|
517
|
-
extension_name: string;
|
518
|
-
};
|
519
|
-
roomId: string;
|
520
|
-
messageId: string;
|
521
|
-
emailEngineAttachmentId: string;
|
522
|
-
uploadId: string;
|
523
|
-
}[];
|
524
524
|
}>;
|
525
525
|
lastMessage: z.ZodObject<{
|
526
526
|
id: z.ZodString;
|
@@ -729,6 +729,30 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
729
729
|
updatedAt: Date;
|
730
730
|
deletedAt: Date | null;
|
731
731
|
roomId: string;
|
732
|
+
attachments: {
|
733
|
+
id: string;
|
734
|
+
createdAt: Date;
|
735
|
+
updatedAt: Date;
|
736
|
+
deletedAt: Date | null;
|
737
|
+
fileName: string;
|
738
|
+
fileType: string;
|
739
|
+
upload: {
|
740
|
+
id: string;
|
741
|
+
createdAt: Date;
|
742
|
+
updatedAt: Date;
|
743
|
+
deletedAt: Date | null;
|
744
|
+
bucket_name: string;
|
745
|
+
file_name: string;
|
746
|
+
file_key: string;
|
747
|
+
file_size: number;
|
748
|
+
file_url: string;
|
749
|
+
extension_name: string;
|
750
|
+
};
|
751
|
+
roomId: string;
|
752
|
+
messageId: string;
|
753
|
+
emailEngineAttachmentId: string;
|
754
|
+
uploadId: string;
|
755
|
+
}[];
|
732
756
|
subject: string;
|
733
757
|
textPlain: string;
|
734
758
|
textHtml: string;
|
@@ -770,6 +794,15 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
770
794
|
updatedAt: Date;
|
771
795
|
deletedAt: Date | null;
|
772
796
|
}[];
|
797
|
+
}, {
|
798
|
+
id: string;
|
799
|
+
direction: string;
|
800
|
+
action: string;
|
801
|
+
date: Date;
|
802
|
+
createdAt: Date;
|
803
|
+
updatedAt: Date;
|
804
|
+
deletedAt: Date | null;
|
805
|
+
roomId: string;
|
773
806
|
attachments: {
|
774
807
|
id: string;
|
775
808
|
createdAt: Date;
|
@@ -794,15 +827,6 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
794
827
|
emailEngineAttachmentId: string;
|
795
828
|
uploadId: string;
|
796
829
|
}[];
|
797
|
-
}, {
|
798
|
-
id: string;
|
799
|
-
direction: string;
|
800
|
-
action: string;
|
801
|
-
date: Date;
|
802
|
-
createdAt: Date;
|
803
|
-
updatedAt: Date;
|
804
|
-
deletedAt: Date | null;
|
805
|
-
roomId: string;
|
806
830
|
subject: string;
|
807
831
|
textPlain: string;
|
808
832
|
textHtml: string;
|
@@ -844,30 +868,6 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
844
868
|
updatedAt: Date;
|
845
869
|
deletedAt: Date | null;
|
846
870
|
}[];
|
847
|
-
attachments: {
|
848
|
-
id: string;
|
849
|
-
createdAt: Date;
|
850
|
-
updatedAt: Date;
|
851
|
-
deletedAt: Date | null;
|
852
|
-
fileName: string;
|
853
|
-
fileType: string;
|
854
|
-
upload: {
|
855
|
-
id: string;
|
856
|
-
createdAt: Date;
|
857
|
-
updatedAt: Date;
|
858
|
-
deletedAt: Date | null;
|
859
|
-
bucket_name: string;
|
860
|
-
file_name: string;
|
861
|
-
file_key: string;
|
862
|
-
file_size: number;
|
863
|
-
file_url: string;
|
864
|
-
extension_name: string;
|
865
|
-
};
|
866
|
-
roomId: string;
|
867
|
-
messageId: string;
|
868
|
-
emailEngineAttachmentId: string;
|
869
|
-
uploadId: string;
|
870
|
-
}[];
|
871
871
|
}>;
|
872
872
|
tags: z.ZodArray<z.ZodObject<{
|
873
873
|
color: z.ZodString;
|
@@ -1129,6 +1129,30 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
1129
1129
|
updatedAt: Date;
|
1130
1130
|
deletedAt: Date | null;
|
1131
1131
|
roomId: string;
|
1132
|
+
attachments: {
|
1133
|
+
id: string;
|
1134
|
+
createdAt: Date;
|
1135
|
+
updatedAt: Date;
|
1136
|
+
deletedAt: Date | null;
|
1137
|
+
fileName: string;
|
1138
|
+
fileType: string;
|
1139
|
+
upload: {
|
1140
|
+
id: string;
|
1141
|
+
createdAt: Date;
|
1142
|
+
updatedAt: Date;
|
1143
|
+
deletedAt: Date | null;
|
1144
|
+
bucket_name: string;
|
1145
|
+
file_name: string;
|
1146
|
+
file_key: string;
|
1147
|
+
file_size: number;
|
1148
|
+
file_url: string;
|
1149
|
+
extension_name: string;
|
1150
|
+
};
|
1151
|
+
roomId: string;
|
1152
|
+
messageId: string;
|
1153
|
+
emailEngineAttachmentId: string;
|
1154
|
+
uploadId: string;
|
1155
|
+
}[];
|
1132
1156
|
subject: string;
|
1133
1157
|
textPlain: string;
|
1134
1158
|
textHtml: string;
|
@@ -1170,6 +1194,15 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
1170
1194
|
updatedAt: Date;
|
1171
1195
|
deletedAt: Date | null;
|
1172
1196
|
}[];
|
1197
|
+
}, {
|
1198
|
+
id: string;
|
1199
|
+
direction: string;
|
1200
|
+
action: string;
|
1201
|
+
date: Date;
|
1202
|
+
createdAt: Date;
|
1203
|
+
updatedAt: Date;
|
1204
|
+
deletedAt: Date | null;
|
1205
|
+
roomId: string;
|
1173
1206
|
attachments: {
|
1174
1207
|
id: string;
|
1175
1208
|
createdAt: Date;
|
@@ -1194,15 +1227,6 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
1194
1227
|
emailEngineAttachmentId: string;
|
1195
1228
|
uploadId: string;
|
1196
1229
|
}[];
|
1197
|
-
}, {
|
1198
|
-
id: string;
|
1199
|
-
direction: string;
|
1200
|
-
action: string;
|
1201
|
-
date: Date;
|
1202
|
-
createdAt: Date;
|
1203
|
-
updatedAt: Date;
|
1204
|
-
deletedAt: Date | null;
|
1205
|
-
roomId: string;
|
1206
1230
|
subject: string;
|
1207
1231
|
textPlain: string;
|
1208
1232
|
textHtml: string;
|
@@ -1244,30 +1268,6 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
1244
1268
|
updatedAt: Date;
|
1245
1269
|
deletedAt: Date | null;
|
1246
1270
|
}[];
|
1247
|
-
attachments: {
|
1248
|
-
id: string;
|
1249
|
-
createdAt: Date;
|
1250
|
-
updatedAt: Date;
|
1251
|
-
deletedAt: Date | null;
|
1252
|
-
fileName: string;
|
1253
|
-
fileType: string;
|
1254
|
-
upload: {
|
1255
|
-
id: string;
|
1256
|
-
createdAt: Date;
|
1257
|
-
updatedAt: Date;
|
1258
|
-
deletedAt: Date | null;
|
1259
|
-
bucket_name: string;
|
1260
|
-
file_name: string;
|
1261
|
-
file_key: string;
|
1262
|
-
file_size: number;
|
1263
|
-
file_url: string;
|
1264
|
-
extension_name: string;
|
1265
|
-
};
|
1266
|
-
roomId: string;
|
1267
|
-
messageId: string;
|
1268
|
-
emailEngineAttachmentId: string;
|
1269
|
-
uploadId: string;
|
1270
|
-
}[];
|
1271
1271
|
}>, "many">;
|
1272
1272
|
messagesAndLogs: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
1273
1273
|
id: z.ZodString;
|
@@ -1476,6 +1476,30 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
1476
1476
|
updatedAt: Date;
|
1477
1477
|
deletedAt: Date | null;
|
1478
1478
|
roomId: string;
|
1479
|
+
attachments: {
|
1480
|
+
id: string;
|
1481
|
+
createdAt: Date;
|
1482
|
+
updatedAt: Date;
|
1483
|
+
deletedAt: Date | null;
|
1484
|
+
fileName: string;
|
1485
|
+
fileType: string;
|
1486
|
+
upload: {
|
1487
|
+
id: string;
|
1488
|
+
createdAt: Date;
|
1489
|
+
updatedAt: Date;
|
1490
|
+
deletedAt: Date | null;
|
1491
|
+
bucket_name: string;
|
1492
|
+
file_name: string;
|
1493
|
+
file_key: string;
|
1494
|
+
file_size: number;
|
1495
|
+
file_url: string;
|
1496
|
+
extension_name: string;
|
1497
|
+
};
|
1498
|
+
roomId: string;
|
1499
|
+
messageId: string;
|
1500
|
+
emailEngineAttachmentId: string;
|
1501
|
+
uploadId: string;
|
1502
|
+
}[];
|
1479
1503
|
subject: string;
|
1480
1504
|
textPlain: string;
|
1481
1505
|
textHtml: string;
|
@@ -1517,6 +1541,15 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
1517
1541
|
updatedAt: Date;
|
1518
1542
|
deletedAt: Date | null;
|
1519
1543
|
}[];
|
1544
|
+
}, {
|
1545
|
+
id: string;
|
1546
|
+
direction: string;
|
1547
|
+
action: string;
|
1548
|
+
date: Date;
|
1549
|
+
createdAt: Date;
|
1550
|
+
updatedAt: Date;
|
1551
|
+
deletedAt: Date | null;
|
1552
|
+
roomId: string;
|
1520
1553
|
attachments: {
|
1521
1554
|
id: string;
|
1522
1555
|
createdAt: Date;
|
@@ -1541,15 +1574,6 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
1541
1574
|
emailEngineAttachmentId: string;
|
1542
1575
|
uploadId: string;
|
1543
1576
|
}[];
|
1544
|
-
}, {
|
1545
|
-
id: string;
|
1546
|
-
direction: string;
|
1547
|
-
action: string;
|
1548
|
-
date: Date;
|
1549
|
-
createdAt: Date;
|
1550
|
-
updatedAt: Date;
|
1551
|
-
deletedAt: Date | null;
|
1552
|
-
roomId: string;
|
1553
1577
|
subject: string;
|
1554
1578
|
textPlain: string;
|
1555
1579
|
textHtml: string;
|
@@ -1591,30 +1615,6 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
1591
1615
|
updatedAt: Date;
|
1592
1616
|
deletedAt: Date | null;
|
1593
1617
|
}[];
|
1594
|
-
attachments: {
|
1595
|
-
id: string;
|
1596
|
-
createdAt: Date;
|
1597
|
-
updatedAt: Date;
|
1598
|
-
deletedAt: Date | null;
|
1599
|
-
fileName: string;
|
1600
|
-
fileType: string;
|
1601
|
-
upload: {
|
1602
|
-
id: string;
|
1603
|
-
createdAt: Date;
|
1604
|
-
updatedAt: Date;
|
1605
|
-
deletedAt: Date | null;
|
1606
|
-
bucket_name: string;
|
1607
|
-
file_name: string;
|
1608
|
-
file_key: string;
|
1609
|
-
file_size: number;
|
1610
|
-
file_url: string;
|
1611
|
-
extension_name: string;
|
1612
|
-
};
|
1613
|
-
roomId: string;
|
1614
|
-
messageId: string;
|
1615
|
-
emailEngineAttachmentId: string;
|
1616
|
-
uploadId: string;
|
1617
|
-
}[];
|
1618
1618
|
}>, z.ZodObject<{
|
1619
1619
|
id: z.ZodString;
|
1620
1620
|
createdAt: z.ZodString;
|
@@ -1821,6 +1821,30 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
1821
1821
|
updatedAt: Date;
|
1822
1822
|
deletedAt: Date | null;
|
1823
1823
|
roomId: string;
|
1824
|
+
attachments: {
|
1825
|
+
id: string;
|
1826
|
+
createdAt: Date;
|
1827
|
+
updatedAt: Date;
|
1828
|
+
deletedAt: Date | null;
|
1829
|
+
fileName: string;
|
1830
|
+
fileType: string;
|
1831
|
+
upload: {
|
1832
|
+
id: string;
|
1833
|
+
createdAt: Date;
|
1834
|
+
updatedAt: Date;
|
1835
|
+
deletedAt: Date | null;
|
1836
|
+
bucket_name: string;
|
1837
|
+
file_name: string;
|
1838
|
+
file_key: string;
|
1839
|
+
file_size: number;
|
1840
|
+
file_url: string;
|
1841
|
+
extension_name: string;
|
1842
|
+
};
|
1843
|
+
roomId: string;
|
1844
|
+
messageId: string;
|
1845
|
+
emailEngineAttachmentId: string;
|
1846
|
+
uploadId: string;
|
1847
|
+
}[];
|
1824
1848
|
subject: string;
|
1825
1849
|
textPlain: string;
|
1826
1850
|
textHtml: string;
|
@@ -1862,30 +1886,6 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
1862
1886
|
updatedAt: Date;
|
1863
1887
|
deletedAt: Date | null;
|
1864
1888
|
}[];
|
1865
|
-
attachments: {
|
1866
|
-
id: string;
|
1867
|
-
createdAt: Date;
|
1868
|
-
updatedAt: Date;
|
1869
|
-
deletedAt: Date | null;
|
1870
|
-
fileName: string;
|
1871
|
-
fileType: string;
|
1872
|
-
upload: {
|
1873
|
-
id: string;
|
1874
|
-
createdAt: Date;
|
1875
|
-
updatedAt: Date;
|
1876
|
-
deletedAt: Date | null;
|
1877
|
-
bucket_name: string;
|
1878
|
-
file_name: string;
|
1879
|
-
file_key: string;
|
1880
|
-
file_size: number;
|
1881
|
-
file_url: string;
|
1882
|
-
extension_name: string;
|
1883
|
-
};
|
1884
|
-
roomId: string;
|
1885
|
-
messageId: string;
|
1886
|
-
emailEngineAttachmentId: string;
|
1887
|
-
uploadId: string;
|
1888
|
-
}[];
|
1889
1889
|
};
|
1890
1890
|
assignee: {
|
1891
1891
|
id: string;
|
@@ -1899,6 +1899,7 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
1899
1899
|
notification_count: number | null;
|
1900
1900
|
};
|
1901
1901
|
assigneeId: string | null;
|
1902
|
+
note: string;
|
1902
1903
|
subject: string;
|
1903
1904
|
from: {
|
1904
1905
|
id: string;
|
@@ -1933,7 +1934,6 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
1933
1934
|
deletedAt: Date | null;
|
1934
1935
|
}[];
|
1935
1936
|
resolved: boolean;
|
1936
|
-
note: string;
|
1937
1937
|
mailId: string;
|
1938
1938
|
lastMessageId: string;
|
1939
1939
|
firstMessageId: string;
|
@@ -1946,6 +1946,30 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
1946
1946
|
updatedAt: Date;
|
1947
1947
|
deletedAt: Date | null;
|
1948
1948
|
roomId: string;
|
1949
|
+
attachments: {
|
1950
|
+
id: string;
|
1951
|
+
createdAt: Date;
|
1952
|
+
updatedAt: Date;
|
1953
|
+
deletedAt: Date | null;
|
1954
|
+
fileName: string;
|
1955
|
+
fileType: string;
|
1956
|
+
upload: {
|
1957
|
+
id: string;
|
1958
|
+
createdAt: Date;
|
1959
|
+
updatedAt: Date;
|
1960
|
+
deletedAt: Date | null;
|
1961
|
+
bucket_name: string;
|
1962
|
+
file_name: string;
|
1963
|
+
file_key: string;
|
1964
|
+
file_size: number;
|
1965
|
+
file_url: string;
|
1966
|
+
extension_name: string;
|
1967
|
+
};
|
1968
|
+
roomId: string;
|
1969
|
+
messageId: string;
|
1970
|
+
emailEngineAttachmentId: string;
|
1971
|
+
uploadId: string;
|
1972
|
+
}[];
|
1949
1973
|
subject: string;
|
1950
1974
|
textPlain: string;
|
1951
1975
|
textHtml: string;
|
@@ -1987,6 +2011,16 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
1987
2011
|
updatedAt: Date;
|
1988
2012
|
deletedAt: Date | null;
|
1989
2013
|
}[];
|
2014
|
+
};
|
2015
|
+
messages: {
|
2016
|
+
id: string;
|
2017
|
+
direction: string;
|
2018
|
+
action: string;
|
2019
|
+
date: Date;
|
2020
|
+
createdAt: Date;
|
2021
|
+
updatedAt: Date;
|
2022
|
+
deletedAt: Date | null;
|
2023
|
+
roomId: string;
|
1990
2024
|
attachments: {
|
1991
2025
|
id: string;
|
1992
2026
|
createdAt: Date;
|
@@ -2011,16 +2045,6 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
2011
2045
|
emailEngineAttachmentId: string;
|
2012
2046
|
uploadId: string;
|
2013
2047
|
}[];
|
2014
|
-
};
|
2015
|
-
messages: {
|
2016
|
-
id: string;
|
2017
|
-
direction: string;
|
2018
|
-
action: string;
|
2019
|
-
date: Date;
|
2020
|
-
createdAt: Date;
|
2021
|
-
updatedAt: Date;
|
2022
|
-
deletedAt: Date | null;
|
2023
|
-
roomId: string;
|
2024
2048
|
subject: string;
|
2025
2049
|
textPlain: string;
|
2026
2050
|
textHtml: string;
|
@@ -2062,6 +2086,16 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
2062
2086
|
updatedAt: Date;
|
2063
2087
|
deletedAt: Date | null;
|
2064
2088
|
}[];
|
2089
|
+
}[];
|
2090
|
+
messagesAndLogs: ({
|
2091
|
+
id: string;
|
2092
|
+
direction: string;
|
2093
|
+
action: string;
|
2094
|
+
date: Date;
|
2095
|
+
createdAt: Date;
|
2096
|
+
updatedAt: Date;
|
2097
|
+
deletedAt: Date | null;
|
2098
|
+
roomId: string;
|
2065
2099
|
attachments: {
|
2066
2100
|
id: string;
|
2067
2101
|
createdAt: Date;
|
@@ -2086,16 +2120,6 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
2086
2120
|
emailEngineAttachmentId: string;
|
2087
2121
|
uploadId: string;
|
2088
2122
|
}[];
|
2089
|
-
}[];
|
2090
|
-
messagesAndLogs: ({
|
2091
|
-
id: string;
|
2092
|
-
direction: string;
|
2093
|
-
action: string;
|
2094
|
-
date: Date;
|
2095
|
-
createdAt: Date;
|
2096
|
-
updatedAt: Date;
|
2097
|
-
deletedAt: Date | null;
|
2098
|
-
roomId: string;
|
2099
2123
|
subject: string;
|
2100
2124
|
textPlain: string;
|
2101
2125
|
textHtml: string;
|
@@ -2137,30 +2161,6 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
2137
2161
|
updatedAt: Date;
|
2138
2162
|
deletedAt: Date | null;
|
2139
2163
|
}[];
|
2140
|
-
attachments: {
|
2141
|
-
id: string;
|
2142
|
-
createdAt: Date;
|
2143
|
-
updatedAt: Date;
|
2144
|
-
deletedAt: Date | null;
|
2145
|
-
fileName: string;
|
2146
|
-
fileType: string;
|
2147
|
-
upload: {
|
2148
|
-
id: string;
|
2149
|
-
createdAt: Date;
|
2150
|
-
updatedAt: Date;
|
2151
|
-
deletedAt: Date | null;
|
2152
|
-
bucket_name: string;
|
2153
|
-
file_name: string;
|
2154
|
-
file_key: string;
|
2155
|
-
file_size: number;
|
2156
|
-
file_url: string;
|
2157
|
-
extension_name: string;
|
2158
|
-
};
|
2159
|
-
roomId: string;
|
2160
|
-
messageId: string;
|
2161
|
-
emailEngineAttachmentId: string;
|
2162
|
-
uploadId: string;
|
2163
|
-
}[];
|
2164
2164
|
} | {
|
2165
2165
|
id: string;
|
2166
2166
|
description: string;
|
@@ -2231,6 +2231,30 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
2231
2231
|
updatedAt: Date;
|
2232
2232
|
deletedAt: Date | null;
|
2233
2233
|
roomId: string;
|
2234
|
+
attachments: {
|
2235
|
+
id: string;
|
2236
|
+
createdAt: Date;
|
2237
|
+
updatedAt: Date;
|
2238
|
+
deletedAt: Date | null;
|
2239
|
+
fileName: string;
|
2240
|
+
fileType: string;
|
2241
|
+
upload: {
|
2242
|
+
id: string;
|
2243
|
+
createdAt: Date;
|
2244
|
+
updatedAt: Date;
|
2245
|
+
deletedAt: Date | null;
|
2246
|
+
bucket_name: string;
|
2247
|
+
file_name: string;
|
2248
|
+
file_key: string;
|
2249
|
+
file_size: number;
|
2250
|
+
file_url: string;
|
2251
|
+
extension_name: string;
|
2252
|
+
};
|
2253
|
+
roomId: string;
|
2254
|
+
messageId: string;
|
2255
|
+
emailEngineAttachmentId: string;
|
2256
|
+
uploadId: string;
|
2257
|
+
}[];
|
2234
2258
|
subject: string;
|
2235
2259
|
textPlain: string;
|
2236
2260
|
textHtml: string;
|
@@ -2272,30 +2296,6 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
2272
2296
|
updatedAt: Date;
|
2273
2297
|
deletedAt: Date | null;
|
2274
2298
|
}[];
|
2275
|
-
attachments: {
|
2276
|
-
id: string;
|
2277
|
-
createdAt: Date;
|
2278
|
-
updatedAt: Date;
|
2279
|
-
deletedAt: Date | null;
|
2280
|
-
fileName: string;
|
2281
|
-
fileType: string;
|
2282
|
-
upload: {
|
2283
|
-
id: string;
|
2284
|
-
createdAt: Date;
|
2285
|
-
updatedAt: Date;
|
2286
|
-
deletedAt: Date | null;
|
2287
|
-
bucket_name: string;
|
2288
|
-
file_name: string;
|
2289
|
-
file_key: string;
|
2290
|
-
file_size: number;
|
2291
|
-
file_url: string;
|
2292
|
-
extension_name: string;
|
2293
|
-
};
|
2294
|
-
roomId: string;
|
2295
|
-
messageId: string;
|
2296
|
-
emailEngineAttachmentId: string;
|
2297
|
-
uploadId: string;
|
2298
|
-
}[];
|
2299
2299
|
};
|
2300
2300
|
assignee: {
|
2301
2301
|
id: string;
|
@@ -2309,6 +2309,7 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
2309
2309
|
notification_count: number | null;
|
2310
2310
|
};
|
2311
2311
|
assigneeId: string | null;
|
2312
|
+
note: string;
|
2312
2313
|
subject: string;
|
2313
2314
|
from: {
|
2314
2315
|
id: string;
|
@@ -2343,7 +2344,6 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
2343
2344
|
deletedAt: Date | null;
|
2344
2345
|
}[];
|
2345
2346
|
resolved: boolean;
|
2346
|
-
note: string;
|
2347
2347
|
mailId: string;
|
2348
2348
|
lastMessageId: string;
|
2349
2349
|
firstMessageId: string;
|
@@ -2356,6 +2356,30 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
2356
2356
|
updatedAt: Date;
|
2357
2357
|
deletedAt: Date | null;
|
2358
2358
|
roomId: string;
|
2359
|
+
attachments: {
|
2360
|
+
id: string;
|
2361
|
+
createdAt: Date;
|
2362
|
+
updatedAt: Date;
|
2363
|
+
deletedAt: Date | null;
|
2364
|
+
fileName: string;
|
2365
|
+
fileType: string;
|
2366
|
+
upload: {
|
2367
|
+
id: string;
|
2368
|
+
createdAt: Date;
|
2369
|
+
updatedAt: Date;
|
2370
|
+
deletedAt: Date | null;
|
2371
|
+
bucket_name: string;
|
2372
|
+
file_name: string;
|
2373
|
+
file_key: string;
|
2374
|
+
file_size: number;
|
2375
|
+
file_url: string;
|
2376
|
+
extension_name: string;
|
2377
|
+
};
|
2378
|
+
roomId: string;
|
2379
|
+
messageId: string;
|
2380
|
+
emailEngineAttachmentId: string;
|
2381
|
+
uploadId: string;
|
2382
|
+
}[];
|
2359
2383
|
subject: string;
|
2360
2384
|
textPlain: string;
|
2361
2385
|
textHtml: string;
|
@@ -2397,6 +2421,16 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
2397
2421
|
updatedAt: Date;
|
2398
2422
|
deletedAt: Date | null;
|
2399
2423
|
}[];
|
2424
|
+
};
|
2425
|
+
messages: {
|
2426
|
+
id: string;
|
2427
|
+
direction: string;
|
2428
|
+
action: string;
|
2429
|
+
date: Date;
|
2430
|
+
createdAt: Date;
|
2431
|
+
updatedAt: Date;
|
2432
|
+
deletedAt: Date | null;
|
2433
|
+
roomId: string;
|
2400
2434
|
attachments: {
|
2401
2435
|
id: string;
|
2402
2436
|
createdAt: Date;
|
@@ -2421,16 +2455,6 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
2421
2455
|
emailEngineAttachmentId: string;
|
2422
2456
|
uploadId: string;
|
2423
2457
|
}[];
|
2424
|
-
};
|
2425
|
-
messages: {
|
2426
|
-
id: string;
|
2427
|
-
direction: string;
|
2428
|
-
action: string;
|
2429
|
-
date: Date;
|
2430
|
-
createdAt: Date;
|
2431
|
-
updatedAt: Date;
|
2432
|
-
deletedAt: Date | null;
|
2433
|
-
roomId: string;
|
2434
2458
|
subject: string;
|
2435
2459
|
textPlain: string;
|
2436
2460
|
textHtml: string;
|
@@ -2472,6 +2496,16 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
2472
2496
|
updatedAt: Date;
|
2473
2497
|
deletedAt: Date | null;
|
2474
2498
|
}[];
|
2499
|
+
}[];
|
2500
|
+
messagesAndLogs: ({
|
2501
|
+
id: string;
|
2502
|
+
direction: string;
|
2503
|
+
action: string;
|
2504
|
+
date: Date;
|
2505
|
+
createdAt: Date;
|
2506
|
+
updatedAt: Date;
|
2507
|
+
deletedAt: Date | null;
|
2508
|
+
roomId: string;
|
2475
2509
|
attachments: {
|
2476
2510
|
id: string;
|
2477
2511
|
createdAt: Date;
|
@@ -2496,16 +2530,6 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
2496
2530
|
emailEngineAttachmentId: string;
|
2497
2531
|
uploadId: string;
|
2498
2532
|
}[];
|
2499
|
-
}[];
|
2500
|
-
messagesAndLogs: ({
|
2501
|
-
id: string;
|
2502
|
-
direction: string;
|
2503
|
-
action: string;
|
2504
|
-
date: Date;
|
2505
|
-
createdAt: Date;
|
2506
|
-
updatedAt: Date;
|
2507
|
-
deletedAt: Date | null;
|
2508
|
-
roomId: string;
|
2509
2533
|
subject: string;
|
2510
2534
|
textPlain: string;
|
2511
2535
|
textHtml: string;
|
@@ -2547,30 +2571,6 @@ export declare const MailRoomSchema: z.ZodObject<{
|
|
2547
2571
|
updatedAt: Date;
|
2548
2572
|
deletedAt: Date | null;
|
2549
2573
|
}[];
|
2550
|
-
attachments: {
|
2551
|
-
id: string;
|
2552
|
-
createdAt: Date;
|
2553
|
-
updatedAt: Date;
|
2554
|
-
deletedAt: Date | null;
|
2555
|
-
fileName: string;
|
2556
|
-
fileType: string;
|
2557
|
-
upload: {
|
2558
|
-
id: string;
|
2559
|
-
createdAt: Date;
|
2560
|
-
updatedAt: Date;
|
2561
|
-
deletedAt: Date | null;
|
2562
|
-
bucket_name: string;
|
2563
|
-
file_name: string;
|
2564
|
-
file_key: string;
|
2565
|
-
file_size: number;
|
2566
|
-
file_url: string;
|
2567
|
-
extension_name: string;
|
2568
|
-
};
|
2569
|
-
roomId: string;
|
2570
|
-
messageId: string;
|
2571
|
-
emailEngineAttachmentId: string;
|
2572
|
-
uploadId: string;
|
2573
|
-
}[];
|
2574
2574
|
} | {
|
2575
2575
|
id: string;
|
2576
2576
|
description: string;
|