@kl1/contracts 1.1.53-uat → 1.1.55-uat

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.
Files changed (37) hide show
  1. package/dist/index.js +3476 -3456
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +3467 -3445
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/chat/index.d.ts +66881 -53329
  6. package/dist/src/chat/index.d.ts.map +1 -1
  7. package/dist/src/chat/validation.d.ts +60 -60
  8. package/dist/src/chat/validation.d.ts.map +1 -1
  9. package/dist/src/contract.d.ts +30637 -136897
  10. package/dist/src/contract.d.ts.map +1 -1
  11. package/dist/src/cx-log/index.d.ts +45 -0
  12. package/dist/src/cx-log/index.d.ts.map +1 -1
  13. package/dist/src/facebook-feed/index.d.ts +60 -60
  14. package/dist/src/facebook-feed/validation.d.ts +6 -6
  15. package/dist/src/instagram/index.d.ts +30 -30
  16. package/dist/src/line/index.d.ts +30 -30
  17. package/dist/src/mail/mail-contract.d.ts +3513 -3513
  18. package/dist/src/mail/message-contract.d.ts +552 -552
  19. package/dist/src/mail/room-contract.d.ts +2615 -2615
  20. package/dist/src/mail/schemas/message-validation.schema.d.ts +2 -2
  21. package/dist/src/mail/schemas/message.schema.d.ts +70 -70
  22. package/dist/src/mail/schemas/room-validation.schema.d.ts +862 -862
  23. package/dist/src/mail/schemas/room.schema.d.ts +638 -638
  24. package/dist/src/messenger/index.d.ts +30 -30
  25. package/dist/src/role/index.d.ts +125 -0
  26. package/dist/src/role/index.d.ts.map +1 -1
  27. package/dist/src/viber/index.d.ts +30 -30
  28. package/dist/src/webchat/index.d.ts +30 -30
  29. package/package.json +1 -1
  30. package/dist/src/contract2.d.ts +0 -2
  31. package/dist/src/contract2.d.ts.map +0 -1
  32. package/dist/src/presence-status/index.d.ts +0 -556
  33. package/dist/src/presence-status/index.d.ts.map +0 -1
  34. package/dist/src/presence-status/schema.d.ts +0 -31
  35. package/dist/src/presence-status/schema.d.ts.map +0 -1
  36. package/dist/src/presence-status/validation.d.ts +0 -28
  37. package/dist/src/presence-status/validation.d.ts.map +0 -1
@@ -83,11 +83,11 @@ export declare const messageContract: {
83
83
  }, "strip", z.ZodTypeAny, {
84
84
  html: string;
85
85
  text: string;
86
- subject: string;
87
86
  from: {
88
87
  address: string;
89
88
  name?: string | undefined;
90
89
  };
90
+ subject: string;
91
91
  to: {
92
92
  address: string;
93
93
  name?: string | undefined;
@@ -116,11 +116,11 @@ export declare const messageContract: {
116
116
  }, {
117
117
  html: string;
118
118
  text: string;
119
- subject: string;
120
119
  from: {
121
120
  address: string;
122
121
  name?: string | undefined;
123
122
  };
123
+ subject: string;
124
124
  to: {
125
125
  address: string;
126
126
  name?: string | undefined;
@@ -1069,17 +1069,6 @@ export declare const messageContract: {
1069
1069
  updatedAt: Date;
1070
1070
  deletedAt: Date | null;
1071
1071
  roomId: string;
1072
- subject: string;
1073
- textPlain: string;
1074
- textHtml: string;
1075
- textId: string;
1076
- emailEngineEmailId: string;
1077
- emailEngineMessageId: string;
1078
- emailEngineReplyTo: string | null;
1079
- unseen: boolean;
1080
- sendAt: Date;
1081
- starred: boolean;
1082
- seemsLikeNew: boolean;
1083
1072
  from: {
1084
1073
  id: string;
1085
1074
  createdAt: Date;
@@ -1111,6 +1100,31 @@ export declare const messageContract: {
1111
1100
  isNewContact: boolean;
1112
1101
  };
1113
1102
  }[];
1103
+ attachments: {
1104
+ id: string;
1105
+ createdAt: Date;
1106
+ updatedAt: Date;
1107
+ deletedAt: Date | null;
1108
+ fileName: string;
1109
+ fileType: string;
1110
+ uploadId: string;
1111
+ upload: {
1112
+ id: string;
1113
+ createdAt: Date;
1114
+ updatedAt: Date;
1115
+ deletedAt: Date | null;
1116
+ extensionName: string;
1117
+ fileName: string;
1118
+ fileKey: string;
1119
+ bucketName: string;
1120
+ fileSize: number;
1121
+ fileUrl: string;
1122
+ };
1123
+ roomId: string;
1124
+ messageId: string;
1125
+ emailEngineAttachmentId: string;
1126
+ }[];
1127
+ subject: string;
1114
1128
  to: {
1115
1129
  id: string;
1116
1130
  createdAt: Date;
@@ -1204,6 +1218,56 @@ export declare const messageContract: {
1204
1218
  isNewContact: boolean;
1205
1219
  };
1206
1220
  }[];
1221
+ sendAt: Date;
1222
+ textPlain: string;
1223
+ textHtml: string;
1224
+ textId: string;
1225
+ emailEngineEmailId: string;
1226
+ emailEngineMessageId: string;
1227
+ emailEngineReplyTo: string | null;
1228
+ unseen: boolean;
1229
+ starred: boolean;
1230
+ seemsLikeNew: boolean;
1231
+ }, {
1232
+ id: string;
1233
+ direction: string;
1234
+ action: string;
1235
+ date: Date;
1236
+ createdAt: Date;
1237
+ updatedAt: Date;
1238
+ deletedAt: Date | null;
1239
+ roomId: string;
1240
+ from: {
1241
+ id: string;
1242
+ createdAt: Date;
1243
+ updatedAt: Date;
1244
+ deletedAt: Date | null;
1245
+ roomId: string;
1246
+ messageId: string;
1247
+ mailUserId: string;
1248
+ mailUser: {
1249
+ id: string;
1250
+ address: string;
1251
+ name: string;
1252
+ createdAt: Date;
1253
+ updatedAt: Date;
1254
+ deletedAt: Date | null;
1255
+ contact: {
1256
+ id: string;
1257
+ channel: string | null;
1258
+ address: string | null;
1259
+ name: string;
1260
+ createdAt: Date;
1261
+ updatedAt: Date;
1262
+ deletedAt: Date | null;
1263
+ notes: string | null;
1264
+ contactProfile: string | null;
1265
+ socialProfileUrl: string | null;
1266
+ };
1267
+ contactId: string;
1268
+ isNewContact: boolean;
1269
+ };
1270
+ }[];
1207
1271
  attachments: {
1208
1272
  id: string;
1209
1273
  createdAt: Date;
@@ -1228,27 +1292,8 @@ export declare const messageContract: {
1228
1292
  messageId: string;
1229
1293
  emailEngineAttachmentId: string;
1230
1294
  }[];
1231
- }, {
1232
- id: string;
1233
- direction: string;
1234
- action: string;
1235
- date: Date;
1236
- createdAt: Date;
1237
- updatedAt: Date;
1238
- deletedAt: Date | null;
1239
- roomId: string;
1240
1295
  subject: string;
1241
- textPlain: string;
1242
- textHtml: string;
1243
- textId: string;
1244
- emailEngineEmailId: string;
1245
- emailEngineMessageId: string;
1246
- emailEngineReplyTo: string | null;
1247
- unseen: boolean;
1248
- sendAt: Date;
1249
- starred: boolean;
1250
- seemsLikeNew: boolean;
1251
- from: {
1296
+ to: {
1252
1297
  id: string;
1253
1298
  createdAt: Date;
1254
1299
  updatedAt: Date;
@@ -1279,7 +1324,7 @@ export declare const messageContract: {
1279
1324
  isNewContact: boolean;
1280
1325
  };
1281
1326
  }[];
1282
- to: {
1327
+ cc: {
1283
1328
  id: string;
1284
1329
  createdAt: Date;
1285
1330
  updatedAt: Date;
@@ -1310,7 +1355,7 @@ export declare const messageContract: {
1310
1355
  isNewContact: boolean;
1311
1356
  };
1312
1357
  }[];
1313
- cc: {
1358
+ bcc: {
1314
1359
  id: string;
1315
1360
  createdAt: Date;
1316
1361
  updatedAt: Date;
@@ -1341,7 +1386,28 @@ export declare const messageContract: {
1341
1386
  isNewContact: boolean;
1342
1387
  };
1343
1388
  }[];
1344
- bcc: {
1389
+ sendAt: Date;
1390
+ textPlain: string;
1391
+ textHtml: string;
1392
+ textId: string;
1393
+ emailEngineEmailId: string;
1394
+ emailEngineMessageId: string;
1395
+ emailEngineReplyTo: string | null;
1396
+ unseen: boolean;
1397
+ starred: boolean;
1398
+ seemsLikeNew: boolean;
1399
+ }>;
1400
+ }, "strip", z.ZodTypeAny, {
1401
+ data: {
1402
+ id: string;
1403
+ direction: string;
1404
+ action: string;
1405
+ date: Date;
1406
+ createdAt: Date;
1407
+ updatedAt: Date;
1408
+ deletedAt: Date | null;
1409
+ roomId: string;
1410
+ from: {
1345
1411
  id: string;
1346
1412
  createdAt: Date;
1347
1413
  updatedAt: Date;
@@ -1396,29 +1462,8 @@ export declare const messageContract: {
1396
1462
  messageId: string;
1397
1463
  emailEngineAttachmentId: string;
1398
1464
  }[];
1399
- }>;
1400
- }, "strip", z.ZodTypeAny, {
1401
- data: {
1402
- id: string;
1403
- direction: string;
1404
- action: string;
1405
- date: Date;
1406
- createdAt: Date;
1407
- updatedAt: Date;
1408
- deletedAt: Date | null;
1409
- roomId: string;
1410
1465
  subject: string;
1411
- textPlain: string;
1412
- textHtml: string;
1413
- textId: string;
1414
- emailEngineEmailId: string;
1415
- emailEngineMessageId: string;
1416
- emailEngineReplyTo: string | null;
1417
- unseen: boolean;
1418
- sendAt: Date;
1419
- starred: boolean;
1420
- seemsLikeNew: boolean;
1421
- from: {
1466
+ to: {
1422
1467
  id: string;
1423
1468
  createdAt: Date;
1424
1469
  updatedAt: Date;
@@ -1449,7 +1494,7 @@ export declare const messageContract: {
1449
1494
  isNewContact: boolean;
1450
1495
  };
1451
1496
  }[];
1452
- to: {
1497
+ cc: {
1453
1498
  id: string;
1454
1499
  createdAt: Date;
1455
1500
  updatedAt: Date;
@@ -1480,7 +1525,7 @@ export declare const messageContract: {
1480
1525
  isNewContact: boolean;
1481
1526
  };
1482
1527
  }[];
1483
- cc: {
1528
+ bcc: {
1484
1529
  id: string;
1485
1530
  createdAt: Date;
1486
1531
  updatedAt: Date;
@@ -1511,7 +1556,29 @@ export declare const messageContract: {
1511
1556
  isNewContact: boolean;
1512
1557
  };
1513
1558
  }[];
1514
- bcc: {
1559
+ sendAt: Date;
1560
+ textPlain: string;
1561
+ textHtml: string;
1562
+ textId: string;
1563
+ emailEngineEmailId: string;
1564
+ emailEngineMessageId: string;
1565
+ emailEngineReplyTo: string | null;
1566
+ unseen: boolean;
1567
+ starred: boolean;
1568
+ seemsLikeNew: boolean;
1569
+ };
1570
+ requestId: string;
1571
+ }, {
1572
+ data: {
1573
+ id: string;
1574
+ direction: string;
1575
+ action: string;
1576
+ date: Date;
1577
+ createdAt: Date;
1578
+ updatedAt: Date;
1579
+ deletedAt: Date | null;
1580
+ roomId: string;
1581
+ from: {
1515
1582
  id: string;
1516
1583
  createdAt: Date;
1517
1584
  updatedAt: Date;
@@ -1566,60 +1633,7 @@ export declare const messageContract: {
1566
1633
  messageId: string;
1567
1634
  emailEngineAttachmentId: string;
1568
1635
  }[];
1569
- };
1570
- requestId: string;
1571
- }, {
1572
- data: {
1573
- id: string;
1574
- direction: string;
1575
- action: string;
1576
- date: Date;
1577
- createdAt: Date;
1578
- updatedAt: Date;
1579
- deletedAt: Date | null;
1580
- roomId: string;
1581
1636
  subject: string;
1582
- textPlain: string;
1583
- textHtml: string;
1584
- textId: string;
1585
- emailEngineEmailId: string;
1586
- emailEngineMessageId: string;
1587
- emailEngineReplyTo: string | null;
1588
- unseen: boolean;
1589
- sendAt: Date;
1590
- starred: boolean;
1591
- seemsLikeNew: boolean;
1592
- from: {
1593
- id: string;
1594
- createdAt: Date;
1595
- updatedAt: Date;
1596
- deletedAt: Date | null;
1597
- roomId: string;
1598
- messageId: string;
1599
- mailUserId: string;
1600
- mailUser: {
1601
- id: string;
1602
- address: string;
1603
- name: string;
1604
- createdAt: Date;
1605
- updatedAt: Date;
1606
- deletedAt: Date | null;
1607
- contact: {
1608
- id: string;
1609
- channel: string | null;
1610
- address: string | null;
1611
- name: string;
1612
- createdAt: Date;
1613
- updatedAt: Date;
1614
- deletedAt: Date | null;
1615
- notes: string | null;
1616
- contactProfile: string | null;
1617
- socialProfileUrl: string | null;
1618
- };
1619
- contactId: string;
1620
- isNewContact: boolean;
1621
- };
1622
- }[];
1623
1637
  to: {
1624
1638
  id: string;
1625
1639
  createdAt: Date;
@@ -1713,30 +1727,16 @@ export declare const messageContract: {
1713
1727
  isNewContact: boolean;
1714
1728
  };
1715
1729
  }[];
1716
- attachments: {
1717
- id: string;
1718
- createdAt: Date;
1719
- updatedAt: Date;
1720
- deletedAt: Date | null;
1721
- fileName: string;
1722
- fileType: string;
1723
- uploadId: string;
1724
- upload: {
1725
- id: string;
1726
- createdAt: Date;
1727
- updatedAt: Date;
1728
- deletedAt: Date | null;
1729
- extensionName: string;
1730
- fileName: string;
1731
- fileKey: string;
1732
- bucketName: string;
1733
- fileSize: number;
1734
- fileUrl: string;
1735
- };
1736
- roomId: string;
1737
- messageId: string;
1738
- emailEngineAttachmentId: string;
1739
- }[];
1730
+ sendAt: Date;
1731
+ textPlain: string;
1732
+ textHtml: string;
1733
+ textId: string;
1734
+ emailEngineEmailId: string;
1735
+ emailEngineMessageId: string;
1736
+ emailEngineReplyTo: string | null;
1737
+ unseen: boolean;
1738
+ starred: boolean;
1739
+ seemsLikeNew: boolean;
1740
1740
  };
1741
1741
  requestId: string;
1742
1742
  }>;
@@ -3596,17 +3596,6 @@ export declare const messageContract: {
3596
3596
  updatedAt: Date;
3597
3597
  deletedAt: Date | null;
3598
3598
  roomId: string;
3599
- subject: string;
3600
- textPlain: string;
3601
- textHtml: string;
3602
- textId: string;
3603
- emailEngineEmailId: string;
3604
- emailEngineMessageId: string;
3605
- emailEngineReplyTo: string | null;
3606
- unseen: boolean;
3607
- sendAt: Date;
3608
- starred: boolean;
3609
- seemsLikeNew: boolean;
3610
3599
  from: {
3611
3600
  id: string;
3612
3601
  createdAt: Date;
@@ -3638,6 +3627,31 @@ export declare const messageContract: {
3638
3627
  isNewContact: boolean;
3639
3628
  };
3640
3629
  }[];
3630
+ attachments: {
3631
+ id: string;
3632
+ createdAt: Date;
3633
+ updatedAt: Date;
3634
+ deletedAt: Date | null;
3635
+ fileName: string;
3636
+ fileType: string;
3637
+ uploadId: string;
3638
+ upload: {
3639
+ id: string;
3640
+ createdAt: Date;
3641
+ updatedAt: Date;
3642
+ deletedAt: Date | null;
3643
+ extensionName: string;
3644
+ fileName: string;
3645
+ fileKey: string;
3646
+ bucketName: string;
3647
+ fileSize: number;
3648
+ fileUrl: string;
3649
+ };
3650
+ roomId: string;
3651
+ messageId: string;
3652
+ emailEngineAttachmentId: string;
3653
+ }[];
3654
+ subject: string;
3641
3655
  to: {
3642
3656
  id: string;
3643
3657
  createdAt: Date;
@@ -3731,6 +3745,56 @@ export declare const messageContract: {
3731
3745
  isNewContact: boolean;
3732
3746
  };
3733
3747
  }[];
3748
+ sendAt: Date;
3749
+ textPlain: string;
3750
+ textHtml: string;
3751
+ textId: string;
3752
+ emailEngineEmailId: string;
3753
+ emailEngineMessageId: string;
3754
+ emailEngineReplyTo: string | null;
3755
+ unseen: boolean;
3756
+ starred: boolean;
3757
+ seemsLikeNew: boolean;
3758
+ }, {
3759
+ id: string;
3760
+ direction: string;
3761
+ action: string;
3762
+ date: Date;
3763
+ createdAt: Date;
3764
+ updatedAt: Date;
3765
+ deletedAt: Date | null;
3766
+ roomId: string;
3767
+ from: {
3768
+ id: string;
3769
+ createdAt: Date;
3770
+ updatedAt: Date;
3771
+ deletedAt: Date | null;
3772
+ roomId: string;
3773
+ messageId: string;
3774
+ mailUserId: string;
3775
+ mailUser: {
3776
+ id: string;
3777
+ address: string;
3778
+ name: string;
3779
+ createdAt: Date;
3780
+ updatedAt: Date;
3781
+ deletedAt: Date | null;
3782
+ contact: {
3783
+ id: string;
3784
+ channel: string | null;
3785
+ address: string | null;
3786
+ name: string;
3787
+ createdAt: Date;
3788
+ updatedAt: Date;
3789
+ deletedAt: Date | null;
3790
+ notes: string | null;
3791
+ contactProfile: string | null;
3792
+ socialProfileUrl: string | null;
3793
+ };
3794
+ contactId: string;
3795
+ isNewContact: boolean;
3796
+ };
3797
+ }[];
3734
3798
  attachments: {
3735
3799
  id: string;
3736
3800
  createdAt: Date;
@@ -3755,27 +3819,8 @@ export declare const messageContract: {
3755
3819
  messageId: string;
3756
3820
  emailEngineAttachmentId: string;
3757
3821
  }[];
3758
- }, {
3759
- id: string;
3760
- direction: string;
3761
- action: string;
3762
- date: Date;
3763
- createdAt: Date;
3764
- updatedAt: Date;
3765
- deletedAt: Date | null;
3766
- roomId: string;
3767
3822
  subject: string;
3768
- textPlain: string;
3769
- textHtml: string;
3770
- textId: string;
3771
- emailEngineEmailId: string;
3772
- emailEngineMessageId: string;
3773
- emailEngineReplyTo: string | null;
3774
- unseen: boolean;
3775
- sendAt: Date;
3776
- starred: boolean;
3777
- seemsLikeNew: boolean;
3778
- from: {
3823
+ to: {
3779
3824
  id: string;
3780
3825
  createdAt: Date;
3781
3826
  updatedAt: Date;
@@ -3806,7 +3851,7 @@ export declare const messageContract: {
3806
3851
  isNewContact: boolean;
3807
3852
  };
3808
3853
  }[];
3809
- to: {
3854
+ cc: {
3810
3855
  id: string;
3811
3856
  createdAt: Date;
3812
3857
  updatedAt: Date;
@@ -3837,7 +3882,7 @@ export declare const messageContract: {
3837
3882
  isNewContact: boolean;
3838
3883
  };
3839
3884
  }[];
3840
- cc: {
3885
+ bcc: {
3841
3886
  id: string;
3842
3887
  createdAt: Date;
3843
3888
  updatedAt: Date;
@@ -3868,7 +3913,28 @@ export declare const messageContract: {
3868
3913
  isNewContact: boolean;
3869
3914
  };
3870
3915
  }[];
3871
- bcc: {
3916
+ sendAt: Date;
3917
+ textPlain: string;
3918
+ textHtml: string;
3919
+ textId: string;
3920
+ emailEngineEmailId: string;
3921
+ emailEngineMessageId: string;
3922
+ emailEngineReplyTo: string | null;
3923
+ unseen: boolean;
3924
+ starred: boolean;
3925
+ seemsLikeNew: boolean;
3926
+ }>;
3927
+ }, "strip", z.ZodTypeAny, {
3928
+ data: {
3929
+ id: string;
3930
+ direction: string;
3931
+ action: string;
3932
+ date: Date;
3933
+ createdAt: Date;
3934
+ updatedAt: Date;
3935
+ deletedAt: Date | null;
3936
+ roomId: string;
3937
+ from: {
3872
3938
  id: string;
3873
3939
  createdAt: Date;
3874
3940
  updatedAt: Date;
@@ -3923,29 +3989,8 @@ export declare const messageContract: {
3923
3989
  messageId: string;
3924
3990
  emailEngineAttachmentId: string;
3925
3991
  }[];
3926
- }>;
3927
- }, "strip", z.ZodTypeAny, {
3928
- data: {
3929
- id: string;
3930
- direction: string;
3931
- action: string;
3932
- date: Date;
3933
- createdAt: Date;
3934
- updatedAt: Date;
3935
- deletedAt: Date | null;
3936
- roomId: string;
3937
3992
  subject: string;
3938
- textPlain: string;
3939
- textHtml: string;
3940
- textId: string;
3941
- emailEngineEmailId: string;
3942
- emailEngineMessageId: string;
3943
- emailEngineReplyTo: string | null;
3944
- unseen: boolean;
3945
- sendAt: Date;
3946
- starred: boolean;
3947
- seemsLikeNew: boolean;
3948
- from: {
3993
+ to: {
3949
3994
  id: string;
3950
3995
  createdAt: Date;
3951
3996
  updatedAt: Date;
@@ -3976,7 +4021,7 @@ export declare const messageContract: {
3976
4021
  isNewContact: boolean;
3977
4022
  };
3978
4023
  }[];
3979
- to: {
4024
+ cc: {
3980
4025
  id: string;
3981
4026
  createdAt: Date;
3982
4027
  updatedAt: Date;
@@ -4007,7 +4052,7 @@ export declare const messageContract: {
4007
4052
  isNewContact: boolean;
4008
4053
  };
4009
4054
  }[];
4010
- cc: {
4055
+ bcc: {
4011
4056
  id: string;
4012
4057
  createdAt: Date;
4013
4058
  updatedAt: Date;
@@ -4038,7 +4083,29 @@ export declare const messageContract: {
4038
4083
  isNewContact: boolean;
4039
4084
  };
4040
4085
  }[];
4041
- bcc: {
4086
+ sendAt: Date;
4087
+ textPlain: string;
4088
+ textHtml: string;
4089
+ textId: string;
4090
+ emailEngineEmailId: string;
4091
+ emailEngineMessageId: string;
4092
+ emailEngineReplyTo: string | null;
4093
+ unseen: boolean;
4094
+ starred: boolean;
4095
+ seemsLikeNew: boolean;
4096
+ };
4097
+ requestId: string;
4098
+ }, {
4099
+ data: {
4100
+ id: string;
4101
+ direction: string;
4102
+ action: string;
4103
+ date: Date;
4104
+ createdAt: Date;
4105
+ updatedAt: Date;
4106
+ deletedAt: Date | null;
4107
+ roomId: string;
4108
+ from: {
4042
4109
  id: string;
4043
4110
  createdAt: Date;
4044
4111
  updatedAt: Date;
@@ -4093,30 +4160,8 @@ export declare const messageContract: {
4093
4160
  messageId: string;
4094
4161
  emailEngineAttachmentId: string;
4095
4162
  }[];
4096
- };
4097
- requestId: string;
4098
- }, {
4099
- data: {
4100
- id: string;
4101
- direction: string;
4102
- action: string;
4103
- date: Date;
4104
- createdAt: Date;
4105
- updatedAt: Date;
4106
- deletedAt: Date | null;
4107
- roomId: string;
4108
4163
  subject: string;
4109
- textPlain: string;
4110
- textHtml: string;
4111
- textId: string;
4112
- emailEngineEmailId: string;
4113
- emailEngineMessageId: string;
4114
- emailEngineReplyTo: string | null;
4115
- unseen: boolean;
4116
- sendAt: Date;
4117
- starred: boolean;
4118
- seemsLikeNew: boolean;
4119
- from: {
4164
+ to: {
4120
4165
  id: string;
4121
4166
  createdAt: Date;
4122
4167
  updatedAt: Date;
@@ -4147,7 +4192,7 @@ export declare const messageContract: {
4147
4192
  isNewContact: boolean;
4148
4193
  };
4149
4194
  }[];
4150
- to: {
4195
+ cc: {
4151
4196
  id: string;
4152
4197
  createdAt: Date;
4153
4198
  updatedAt: Date;
@@ -4178,7 +4223,7 @@ export declare const messageContract: {
4178
4223
  isNewContact: boolean;
4179
4224
  };
4180
4225
  }[];
4181
- cc: {
4226
+ bcc: {
4182
4227
  id: string;
4183
4228
  createdAt: Date;
4184
4229
  updatedAt: Date;
@@ -4209,61 +4254,16 @@ export declare const messageContract: {
4209
4254
  isNewContact: boolean;
4210
4255
  };
4211
4256
  }[];
4212
- bcc: {
4213
- id: string;
4214
- createdAt: Date;
4215
- updatedAt: Date;
4216
- deletedAt: Date | null;
4217
- roomId: string;
4218
- messageId: string;
4219
- mailUserId: string;
4220
- mailUser: {
4221
- id: string;
4222
- address: string;
4223
- name: string;
4224
- createdAt: Date;
4225
- updatedAt: Date;
4226
- deletedAt: Date | null;
4227
- contact: {
4228
- id: string;
4229
- channel: string | null;
4230
- address: string | null;
4231
- name: string;
4232
- createdAt: Date;
4233
- updatedAt: Date;
4234
- deletedAt: Date | null;
4235
- notes: string | null;
4236
- contactProfile: string | null;
4237
- socialProfileUrl: string | null;
4238
- };
4239
- contactId: string;
4240
- isNewContact: boolean;
4241
- };
4242
- }[];
4243
- attachments: {
4244
- id: string;
4245
- createdAt: Date;
4246
- updatedAt: Date;
4247
- deletedAt: Date | null;
4248
- fileName: string;
4249
- fileType: string;
4250
- uploadId: string;
4251
- upload: {
4252
- id: string;
4253
- createdAt: Date;
4254
- updatedAt: Date;
4255
- deletedAt: Date | null;
4256
- extensionName: string;
4257
- fileName: string;
4258
- fileKey: string;
4259
- bucketName: string;
4260
- fileSize: number;
4261
- fileUrl: string;
4262
- };
4263
- roomId: string;
4264
- messageId: string;
4265
- emailEngineAttachmentId: string;
4266
- }[];
4257
+ sendAt: Date;
4258
+ textPlain: string;
4259
+ textHtml: string;
4260
+ textId: string;
4261
+ emailEngineEmailId: string;
4262
+ emailEngineMessageId: string;
4263
+ emailEngineReplyTo: string | null;
4264
+ unseen: boolean;
4265
+ starred: boolean;
4266
+ seemsLikeNew: boolean;
4267
4267
  };
4268
4268
  requestId: string;
4269
4269
  }>;
@@ -5055,17 +5055,6 @@ export declare const messageContract: {
5055
5055
  updatedAt: Date;
5056
5056
  deletedAt: Date | null;
5057
5057
  roomId: string;
5058
- subject: string;
5059
- textPlain: string;
5060
- textHtml: string;
5061
- textId: string;
5062
- emailEngineEmailId: string;
5063
- emailEngineMessageId: string;
5064
- emailEngineReplyTo: string | null;
5065
- unseen: boolean;
5066
- sendAt: Date;
5067
- starred: boolean;
5068
- seemsLikeNew: boolean;
5069
5058
  from: {
5070
5059
  id: string;
5071
5060
  createdAt: Date;
@@ -5097,6 +5086,31 @@ export declare const messageContract: {
5097
5086
  isNewContact: boolean;
5098
5087
  };
5099
5088
  }[];
5089
+ attachments: {
5090
+ id: string;
5091
+ createdAt: Date;
5092
+ updatedAt: Date;
5093
+ deletedAt: Date | null;
5094
+ fileName: string;
5095
+ fileType: string;
5096
+ uploadId: string;
5097
+ upload: {
5098
+ id: string;
5099
+ createdAt: Date;
5100
+ updatedAt: Date;
5101
+ deletedAt: Date | null;
5102
+ extensionName: string;
5103
+ fileName: string;
5104
+ fileKey: string;
5105
+ bucketName: string;
5106
+ fileSize: number;
5107
+ fileUrl: string;
5108
+ };
5109
+ roomId: string;
5110
+ messageId: string;
5111
+ emailEngineAttachmentId: string;
5112
+ }[];
5113
+ subject: string;
5100
5114
  to: {
5101
5115
  id: string;
5102
5116
  createdAt: Date;
@@ -5190,6 +5204,56 @@ export declare const messageContract: {
5190
5204
  isNewContact: boolean;
5191
5205
  };
5192
5206
  }[];
5207
+ sendAt: Date;
5208
+ textPlain: string;
5209
+ textHtml: string;
5210
+ textId: string;
5211
+ emailEngineEmailId: string;
5212
+ emailEngineMessageId: string;
5213
+ emailEngineReplyTo: string | null;
5214
+ unseen: boolean;
5215
+ starred: boolean;
5216
+ seemsLikeNew: boolean;
5217
+ }, {
5218
+ id: string;
5219
+ direction: string;
5220
+ action: string;
5221
+ date: Date;
5222
+ createdAt: Date;
5223
+ updatedAt: Date;
5224
+ deletedAt: Date | null;
5225
+ roomId: string;
5226
+ from: {
5227
+ id: string;
5228
+ createdAt: Date;
5229
+ updatedAt: Date;
5230
+ deletedAt: Date | null;
5231
+ roomId: string;
5232
+ messageId: string;
5233
+ mailUserId: string;
5234
+ mailUser: {
5235
+ id: string;
5236
+ address: string;
5237
+ name: string;
5238
+ createdAt: Date;
5239
+ updatedAt: Date;
5240
+ deletedAt: Date | null;
5241
+ contact: {
5242
+ id: string;
5243
+ channel: string | null;
5244
+ address: string | null;
5245
+ name: string;
5246
+ createdAt: Date;
5247
+ updatedAt: Date;
5248
+ deletedAt: Date | null;
5249
+ notes: string | null;
5250
+ contactProfile: string | null;
5251
+ socialProfileUrl: string | null;
5252
+ };
5253
+ contactId: string;
5254
+ isNewContact: boolean;
5255
+ };
5256
+ }[];
5193
5257
  attachments: {
5194
5258
  id: string;
5195
5259
  createdAt: Date;
@@ -5214,27 +5278,8 @@ export declare const messageContract: {
5214
5278
  messageId: string;
5215
5279
  emailEngineAttachmentId: string;
5216
5280
  }[];
5217
- }, {
5218
- id: string;
5219
- direction: string;
5220
- action: string;
5221
- date: Date;
5222
- createdAt: Date;
5223
- updatedAt: Date;
5224
- deletedAt: Date | null;
5225
- roomId: string;
5226
5281
  subject: string;
5227
- textPlain: string;
5228
- textHtml: string;
5229
- textId: string;
5230
- emailEngineEmailId: string;
5231
- emailEngineMessageId: string;
5232
- emailEngineReplyTo: string | null;
5233
- unseen: boolean;
5234
- sendAt: Date;
5235
- starred: boolean;
5236
- seemsLikeNew: boolean;
5237
- from: {
5282
+ to: {
5238
5283
  id: string;
5239
5284
  createdAt: Date;
5240
5285
  updatedAt: Date;
@@ -5265,7 +5310,7 @@ export declare const messageContract: {
5265
5310
  isNewContact: boolean;
5266
5311
  };
5267
5312
  }[];
5268
- to: {
5313
+ cc: {
5269
5314
  id: string;
5270
5315
  createdAt: Date;
5271
5316
  updatedAt: Date;
@@ -5296,7 +5341,7 @@ export declare const messageContract: {
5296
5341
  isNewContact: boolean;
5297
5342
  };
5298
5343
  }[];
5299
- cc: {
5344
+ bcc: {
5300
5345
  id: string;
5301
5346
  createdAt: Date;
5302
5347
  updatedAt: Date;
@@ -5327,7 +5372,28 @@ export declare const messageContract: {
5327
5372
  isNewContact: boolean;
5328
5373
  };
5329
5374
  }[];
5330
- bcc: {
5375
+ sendAt: Date;
5376
+ textPlain: string;
5377
+ textHtml: string;
5378
+ textId: string;
5379
+ emailEngineEmailId: string;
5380
+ emailEngineMessageId: string;
5381
+ emailEngineReplyTo: string | null;
5382
+ unseen: boolean;
5383
+ starred: boolean;
5384
+ seemsLikeNew: boolean;
5385
+ }>;
5386
+ }, "strip", z.ZodTypeAny, {
5387
+ data: {
5388
+ id: string;
5389
+ direction: string;
5390
+ action: string;
5391
+ date: Date;
5392
+ createdAt: Date;
5393
+ updatedAt: Date;
5394
+ deletedAt: Date | null;
5395
+ roomId: string;
5396
+ from: {
5331
5397
  id: string;
5332
5398
  createdAt: Date;
5333
5399
  updatedAt: Date;
@@ -5382,29 +5448,8 @@ export declare const messageContract: {
5382
5448
  messageId: string;
5383
5449
  emailEngineAttachmentId: string;
5384
5450
  }[];
5385
- }>;
5386
- }, "strip", z.ZodTypeAny, {
5387
- data: {
5388
- id: string;
5389
- direction: string;
5390
- action: string;
5391
- date: Date;
5392
- createdAt: Date;
5393
- updatedAt: Date;
5394
- deletedAt: Date | null;
5395
- roomId: string;
5396
5451
  subject: string;
5397
- textPlain: string;
5398
- textHtml: string;
5399
- textId: string;
5400
- emailEngineEmailId: string;
5401
- emailEngineMessageId: string;
5402
- emailEngineReplyTo: string | null;
5403
- unseen: boolean;
5404
- sendAt: Date;
5405
- starred: boolean;
5406
- seemsLikeNew: boolean;
5407
- from: {
5452
+ to: {
5408
5453
  id: string;
5409
5454
  createdAt: Date;
5410
5455
  updatedAt: Date;
@@ -5435,7 +5480,7 @@ export declare const messageContract: {
5435
5480
  isNewContact: boolean;
5436
5481
  };
5437
5482
  }[];
5438
- to: {
5483
+ cc: {
5439
5484
  id: string;
5440
5485
  createdAt: Date;
5441
5486
  updatedAt: Date;
@@ -5466,7 +5511,7 @@ export declare const messageContract: {
5466
5511
  isNewContact: boolean;
5467
5512
  };
5468
5513
  }[];
5469
- cc: {
5514
+ bcc: {
5470
5515
  id: string;
5471
5516
  createdAt: Date;
5472
5517
  updatedAt: Date;
@@ -5497,7 +5542,29 @@ export declare const messageContract: {
5497
5542
  isNewContact: boolean;
5498
5543
  };
5499
5544
  }[];
5500
- bcc: {
5545
+ sendAt: Date;
5546
+ textPlain: string;
5547
+ textHtml: string;
5548
+ textId: string;
5549
+ emailEngineEmailId: string;
5550
+ emailEngineMessageId: string;
5551
+ emailEngineReplyTo: string | null;
5552
+ unseen: boolean;
5553
+ starred: boolean;
5554
+ seemsLikeNew: boolean;
5555
+ };
5556
+ requestId: string;
5557
+ }, {
5558
+ data: {
5559
+ id: string;
5560
+ direction: string;
5561
+ action: string;
5562
+ date: Date;
5563
+ createdAt: Date;
5564
+ updatedAt: Date;
5565
+ deletedAt: Date | null;
5566
+ roomId: string;
5567
+ from: {
5501
5568
  id: string;
5502
5569
  createdAt: Date;
5503
5570
  updatedAt: Date;
@@ -5552,30 +5619,8 @@ export declare const messageContract: {
5552
5619
  messageId: string;
5553
5620
  emailEngineAttachmentId: string;
5554
5621
  }[];
5555
- };
5556
- requestId: string;
5557
- }, {
5558
- data: {
5559
- id: string;
5560
- direction: string;
5561
- action: string;
5562
- date: Date;
5563
- createdAt: Date;
5564
- updatedAt: Date;
5565
- deletedAt: Date | null;
5566
- roomId: string;
5567
5622
  subject: string;
5568
- textPlain: string;
5569
- textHtml: string;
5570
- textId: string;
5571
- emailEngineEmailId: string;
5572
- emailEngineMessageId: string;
5573
- emailEngineReplyTo: string | null;
5574
- unseen: boolean;
5575
- sendAt: Date;
5576
- starred: boolean;
5577
- seemsLikeNew: boolean;
5578
- from: {
5623
+ to: {
5579
5624
  id: string;
5580
5625
  createdAt: Date;
5581
5626
  updatedAt: Date;
@@ -5606,7 +5651,7 @@ export declare const messageContract: {
5606
5651
  isNewContact: boolean;
5607
5652
  };
5608
5653
  }[];
5609
- to: {
5654
+ cc: {
5610
5655
  id: string;
5611
5656
  createdAt: Date;
5612
5657
  updatedAt: Date;
@@ -5637,7 +5682,7 @@ export declare const messageContract: {
5637
5682
  isNewContact: boolean;
5638
5683
  };
5639
5684
  }[];
5640
- cc: {
5685
+ bcc: {
5641
5686
  id: string;
5642
5687
  createdAt: Date;
5643
5688
  updatedAt: Date;
@@ -5668,61 +5713,16 @@ export declare const messageContract: {
5668
5713
  isNewContact: boolean;
5669
5714
  };
5670
5715
  }[];
5671
- bcc: {
5672
- id: string;
5673
- createdAt: Date;
5674
- updatedAt: Date;
5675
- deletedAt: Date | null;
5676
- roomId: string;
5677
- messageId: string;
5678
- mailUserId: string;
5679
- mailUser: {
5680
- id: string;
5681
- address: string;
5682
- name: string;
5683
- createdAt: Date;
5684
- updatedAt: Date;
5685
- deletedAt: Date | null;
5686
- contact: {
5687
- id: string;
5688
- channel: string | null;
5689
- address: string | null;
5690
- name: string;
5691
- createdAt: Date;
5692
- updatedAt: Date;
5693
- deletedAt: Date | null;
5694
- notes: string | null;
5695
- contactProfile: string | null;
5696
- socialProfileUrl: string | null;
5697
- };
5698
- contactId: string;
5699
- isNewContact: boolean;
5700
- };
5701
- }[];
5702
- attachments: {
5703
- id: string;
5704
- createdAt: Date;
5705
- updatedAt: Date;
5706
- deletedAt: Date | null;
5707
- fileName: string;
5708
- fileType: string;
5709
- uploadId: string;
5710
- upload: {
5711
- id: string;
5712
- createdAt: Date;
5713
- updatedAt: Date;
5714
- deletedAt: Date | null;
5715
- extensionName: string;
5716
- fileName: string;
5717
- fileKey: string;
5718
- bucketName: string;
5719
- fileSize: number;
5720
- fileUrl: string;
5721
- };
5722
- roomId: string;
5723
- messageId: string;
5724
- emailEngineAttachmentId: string;
5725
- }[];
5716
+ sendAt: Date;
5717
+ textPlain: string;
5718
+ textHtml: string;
5719
+ textId: string;
5720
+ emailEngineEmailId: string;
5721
+ emailEngineMessageId: string;
5722
+ emailEngineReplyTo: string | null;
5723
+ unseen: boolean;
5724
+ starred: boolean;
5725
+ seemsLikeNew: boolean;
5726
5726
  };
5727
5727
  requestId: string;
5728
5728
  }>;
@@ -6514,17 +6514,6 @@ export declare const messageContract: {
6514
6514
  updatedAt: Date;
6515
6515
  deletedAt: Date | null;
6516
6516
  roomId: string;
6517
- subject: string;
6518
- textPlain: string;
6519
- textHtml: string;
6520
- textId: string;
6521
- emailEngineEmailId: string;
6522
- emailEngineMessageId: string;
6523
- emailEngineReplyTo: string | null;
6524
- unseen: boolean;
6525
- sendAt: Date;
6526
- starred: boolean;
6527
- seemsLikeNew: boolean;
6528
6517
  from: {
6529
6518
  id: string;
6530
6519
  createdAt: Date;
@@ -6556,6 +6545,31 @@ export declare const messageContract: {
6556
6545
  isNewContact: boolean;
6557
6546
  };
6558
6547
  }[];
6548
+ attachments: {
6549
+ id: string;
6550
+ createdAt: Date;
6551
+ updatedAt: Date;
6552
+ deletedAt: Date | null;
6553
+ fileName: string;
6554
+ fileType: string;
6555
+ uploadId: string;
6556
+ upload: {
6557
+ id: string;
6558
+ createdAt: Date;
6559
+ updatedAt: Date;
6560
+ deletedAt: Date | null;
6561
+ extensionName: string;
6562
+ fileName: string;
6563
+ fileKey: string;
6564
+ bucketName: string;
6565
+ fileSize: number;
6566
+ fileUrl: string;
6567
+ };
6568
+ roomId: string;
6569
+ messageId: string;
6570
+ emailEngineAttachmentId: string;
6571
+ }[];
6572
+ subject: string;
6559
6573
  to: {
6560
6574
  id: string;
6561
6575
  createdAt: Date;
@@ -6649,6 +6663,56 @@ export declare const messageContract: {
6649
6663
  isNewContact: boolean;
6650
6664
  };
6651
6665
  }[];
6666
+ sendAt: Date;
6667
+ textPlain: string;
6668
+ textHtml: string;
6669
+ textId: string;
6670
+ emailEngineEmailId: string;
6671
+ emailEngineMessageId: string;
6672
+ emailEngineReplyTo: string | null;
6673
+ unseen: boolean;
6674
+ starred: boolean;
6675
+ seemsLikeNew: boolean;
6676
+ }, {
6677
+ id: string;
6678
+ direction: string;
6679
+ action: string;
6680
+ date: Date;
6681
+ createdAt: Date;
6682
+ updatedAt: Date;
6683
+ deletedAt: Date | null;
6684
+ roomId: string;
6685
+ from: {
6686
+ id: string;
6687
+ createdAt: Date;
6688
+ updatedAt: Date;
6689
+ deletedAt: Date | null;
6690
+ roomId: string;
6691
+ messageId: string;
6692
+ mailUserId: string;
6693
+ mailUser: {
6694
+ id: string;
6695
+ address: string;
6696
+ name: string;
6697
+ createdAt: Date;
6698
+ updatedAt: Date;
6699
+ deletedAt: Date | null;
6700
+ contact: {
6701
+ id: string;
6702
+ channel: string | null;
6703
+ address: string | null;
6704
+ name: string;
6705
+ createdAt: Date;
6706
+ updatedAt: Date;
6707
+ deletedAt: Date | null;
6708
+ notes: string | null;
6709
+ contactProfile: string | null;
6710
+ socialProfileUrl: string | null;
6711
+ };
6712
+ contactId: string;
6713
+ isNewContact: boolean;
6714
+ };
6715
+ }[];
6652
6716
  attachments: {
6653
6717
  id: string;
6654
6718
  createdAt: Date;
@@ -6673,27 +6737,8 @@ export declare const messageContract: {
6673
6737
  messageId: string;
6674
6738
  emailEngineAttachmentId: string;
6675
6739
  }[];
6676
- }, {
6677
- id: string;
6678
- direction: string;
6679
- action: string;
6680
- date: Date;
6681
- createdAt: Date;
6682
- updatedAt: Date;
6683
- deletedAt: Date | null;
6684
- roomId: string;
6685
6740
  subject: string;
6686
- textPlain: string;
6687
- textHtml: string;
6688
- textId: string;
6689
- emailEngineEmailId: string;
6690
- emailEngineMessageId: string;
6691
- emailEngineReplyTo: string | null;
6692
- unseen: boolean;
6693
- sendAt: Date;
6694
- starred: boolean;
6695
- seemsLikeNew: boolean;
6696
- from: {
6741
+ to: {
6697
6742
  id: string;
6698
6743
  createdAt: Date;
6699
6744
  updatedAt: Date;
@@ -6724,7 +6769,7 @@ export declare const messageContract: {
6724
6769
  isNewContact: boolean;
6725
6770
  };
6726
6771
  }[];
6727
- to: {
6772
+ cc: {
6728
6773
  id: string;
6729
6774
  createdAt: Date;
6730
6775
  updatedAt: Date;
@@ -6755,7 +6800,7 @@ export declare const messageContract: {
6755
6800
  isNewContact: boolean;
6756
6801
  };
6757
6802
  }[];
6758
- cc: {
6803
+ bcc: {
6759
6804
  id: string;
6760
6805
  createdAt: Date;
6761
6806
  updatedAt: Date;
@@ -6786,7 +6831,28 @@ export declare const messageContract: {
6786
6831
  isNewContact: boolean;
6787
6832
  };
6788
6833
  }[];
6789
- bcc: {
6834
+ sendAt: Date;
6835
+ textPlain: string;
6836
+ textHtml: string;
6837
+ textId: string;
6838
+ emailEngineEmailId: string;
6839
+ emailEngineMessageId: string;
6840
+ emailEngineReplyTo: string | null;
6841
+ unseen: boolean;
6842
+ starred: boolean;
6843
+ seemsLikeNew: boolean;
6844
+ }>;
6845
+ }, "strip", z.ZodTypeAny, {
6846
+ data: {
6847
+ id: string;
6848
+ direction: string;
6849
+ action: string;
6850
+ date: Date;
6851
+ createdAt: Date;
6852
+ updatedAt: Date;
6853
+ deletedAt: Date | null;
6854
+ roomId: string;
6855
+ from: {
6790
6856
  id: string;
6791
6857
  createdAt: Date;
6792
6858
  updatedAt: Date;
@@ -6841,29 +6907,8 @@ export declare const messageContract: {
6841
6907
  messageId: string;
6842
6908
  emailEngineAttachmentId: string;
6843
6909
  }[];
6844
- }>;
6845
- }, "strip", z.ZodTypeAny, {
6846
- data: {
6847
- id: string;
6848
- direction: string;
6849
- action: string;
6850
- date: Date;
6851
- createdAt: Date;
6852
- updatedAt: Date;
6853
- deletedAt: Date | null;
6854
- roomId: string;
6855
6910
  subject: string;
6856
- textPlain: string;
6857
- textHtml: string;
6858
- textId: string;
6859
- emailEngineEmailId: string;
6860
- emailEngineMessageId: string;
6861
- emailEngineReplyTo: string | null;
6862
- unseen: boolean;
6863
- sendAt: Date;
6864
- starred: boolean;
6865
- seemsLikeNew: boolean;
6866
- from: {
6911
+ to: {
6867
6912
  id: string;
6868
6913
  createdAt: Date;
6869
6914
  updatedAt: Date;
@@ -6894,7 +6939,7 @@ export declare const messageContract: {
6894
6939
  isNewContact: boolean;
6895
6940
  };
6896
6941
  }[];
6897
- to: {
6942
+ cc: {
6898
6943
  id: string;
6899
6944
  createdAt: Date;
6900
6945
  updatedAt: Date;
@@ -6925,7 +6970,7 @@ export declare const messageContract: {
6925
6970
  isNewContact: boolean;
6926
6971
  };
6927
6972
  }[];
6928
- cc: {
6973
+ bcc: {
6929
6974
  id: string;
6930
6975
  createdAt: Date;
6931
6976
  updatedAt: Date;
@@ -6956,7 +7001,29 @@ export declare const messageContract: {
6956
7001
  isNewContact: boolean;
6957
7002
  };
6958
7003
  }[];
6959
- bcc: {
7004
+ sendAt: Date;
7005
+ textPlain: string;
7006
+ textHtml: string;
7007
+ textId: string;
7008
+ emailEngineEmailId: string;
7009
+ emailEngineMessageId: string;
7010
+ emailEngineReplyTo: string | null;
7011
+ unseen: boolean;
7012
+ starred: boolean;
7013
+ seemsLikeNew: boolean;
7014
+ };
7015
+ requestId: string;
7016
+ }, {
7017
+ data: {
7018
+ id: string;
7019
+ direction: string;
7020
+ action: string;
7021
+ date: Date;
7022
+ createdAt: Date;
7023
+ updatedAt: Date;
7024
+ deletedAt: Date | null;
7025
+ roomId: string;
7026
+ from: {
6960
7027
  id: string;
6961
7028
  createdAt: Date;
6962
7029
  updatedAt: Date;
@@ -7011,60 +7078,7 @@ export declare const messageContract: {
7011
7078
  messageId: string;
7012
7079
  emailEngineAttachmentId: string;
7013
7080
  }[];
7014
- };
7015
- requestId: string;
7016
- }, {
7017
- data: {
7018
- id: string;
7019
- direction: string;
7020
- action: string;
7021
- date: Date;
7022
- createdAt: Date;
7023
- updatedAt: Date;
7024
- deletedAt: Date | null;
7025
- roomId: string;
7026
7081
  subject: string;
7027
- textPlain: string;
7028
- textHtml: string;
7029
- textId: string;
7030
- emailEngineEmailId: string;
7031
- emailEngineMessageId: string;
7032
- emailEngineReplyTo: string | null;
7033
- unseen: boolean;
7034
- sendAt: Date;
7035
- starred: boolean;
7036
- seemsLikeNew: boolean;
7037
- from: {
7038
- id: string;
7039
- createdAt: Date;
7040
- updatedAt: Date;
7041
- deletedAt: Date | null;
7042
- roomId: string;
7043
- messageId: string;
7044
- mailUserId: string;
7045
- mailUser: {
7046
- id: string;
7047
- address: string;
7048
- name: string;
7049
- createdAt: Date;
7050
- updatedAt: Date;
7051
- deletedAt: Date | null;
7052
- contact: {
7053
- id: string;
7054
- channel: string | null;
7055
- address: string | null;
7056
- name: string;
7057
- createdAt: Date;
7058
- updatedAt: Date;
7059
- deletedAt: Date | null;
7060
- notes: string | null;
7061
- contactProfile: string | null;
7062
- socialProfileUrl: string | null;
7063
- };
7064
- contactId: string;
7065
- isNewContact: boolean;
7066
- };
7067
- }[];
7068
7082
  to: {
7069
7083
  id: string;
7070
7084
  createdAt: Date;
@@ -7158,30 +7172,16 @@ export declare const messageContract: {
7158
7172
  isNewContact: boolean;
7159
7173
  };
7160
7174
  }[];
7161
- attachments: {
7162
- id: string;
7163
- createdAt: Date;
7164
- updatedAt: Date;
7165
- deletedAt: Date | null;
7166
- fileName: string;
7167
- fileType: string;
7168
- uploadId: string;
7169
- upload: {
7170
- id: string;
7171
- createdAt: Date;
7172
- updatedAt: Date;
7173
- deletedAt: Date | null;
7174
- extensionName: string;
7175
- fileName: string;
7176
- fileKey: string;
7177
- bucketName: string;
7178
- fileSize: number;
7179
- fileUrl: string;
7180
- };
7181
- roomId: string;
7182
- messageId: string;
7183
- emailEngineAttachmentId: string;
7184
- }[];
7175
+ sendAt: Date;
7176
+ textPlain: string;
7177
+ textHtml: string;
7178
+ textId: string;
7179
+ emailEngineEmailId: string;
7180
+ emailEngineMessageId: string;
7181
+ emailEngineReplyTo: string | null;
7182
+ unseen: boolean;
7183
+ starred: boolean;
7184
+ seemsLikeNew: boolean;
7185
7185
  };
7186
7186
  requestId: string;
7187
7187
  }>;