@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
@@ -1068,17 +1068,6 @@ export declare const MessagesAndLogsSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1068
1068
  updatedAt: Date;
1069
1069
  deletedAt: Date | null;
1070
1070
  roomId: string;
1071
- subject: string;
1072
- textPlain: string;
1073
- textHtml: string;
1074
- textId: string;
1075
- emailEngineEmailId: string;
1076
- emailEngineMessageId: string;
1077
- emailEngineReplyTo: string | null;
1078
- unseen: boolean;
1079
- sendAt: Date;
1080
- starred: boolean;
1081
- seemsLikeNew: boolean;
1082
1071
  from: {
1083
1072
  id: string;
1084
1073
  createdAt: Date;
@@ -1110,6 +1099,31 @@ export declare const MessagesAndLogsSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1110
1099
  isNewContact: boolean;
1111
1100
  };
1112
1101
  }[];
1102
+ attachments: {
1103
+ id: string;
1104
+ createdAt: Date;
1105
+ updatedAt: Date;
1106
+ deletedAt: Date | null;
1107
+ fileName: string;
1108
+ fileType: string;
1109
+ uploadId: string;
1110
+ upload: {
1111
+ id: string;
1112
+ createdAt: Date;
1113
+ updatedAt: Date;
1114
+ deletedAt: Date | null;
1115
+ extensionName: string;
1116
+ fileName: string;
1117
+ fileKey: string;
1118
+ bucketName: string;
1119
+ fileSize: number;
1120
+ fileUrl: string;
1121
+ };
1122
+ roomId: string;
1123
+ messageId: string;
1124
+ emailEngineAttachmentId: string;
1125
+ }[];
1126
+ subject: string;
1113
1127
  to: {
1114
1128
  id: string;
1115
1129
  createdAt: Date;
@@ -1203,40 +1217,7 @@ export declare const MessagesAndLogsSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1203
1217
  isNewContact: boolean;
1204
1218
  };
1205
1219
  }[];
1206
- attachments: {
1207
- id: string;
1208
- createdAt: Date;
1209
- updatedAt: Date;
1210
- deletedAt: Date | null;
1211
- fileName: string;
1212
- fileType: string;
1213
- uploadId: string;
1214
- upload: {
1215
- id: string;
1216
- createdAt: Date;
1217
- updatedAt: Date;
1218
- deletedAt: Date | null;
1219
- extensionName: string;
1220
- fileName: string;
1221
- fileKey: string;
1222
- bucketName: string;
1223
- fileSize: number;
1224
- fileUrl: string;
1225
- };
1226
- roomId: string;
1227
- messageId: string;
1228
- emailEngineAttachmentId: string;
1229
- }[];
1230
- }, {
1231
- id: string;
1232
- direction: string;
1233
- action: string;
1234
- date: Date;
1235
- createdAt: Date;
1236
- updatedAt: Date;
1237
- deletedAt: Date | null;
1238
- roomId: string;
1239
- subject: string;
1220
+ sendAt: Date;
1240
1221
  textPlain: string;
1241
1222
  textHtml: string;
1242
1223
  textId: string;
@@ -1244,9 +1225,17 @@ export declare const MessagesAndLogsSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1244
1225
  emailEngineMessageId: string;
1245
1226
  emailEngineReplyTo: string | null;
1246
1227
  unseen: boolean;
1247
- sendAt: Date;
1248
1228
  starred: boolean;
1249
1229
  seemsLikeNew: boolean;
1230
+ }, {
1231
+ id: string;
1232
+ direction: string;
1233
+ action: string;
1234
+ date: Date;
1235
+ createdAt: Date;
1236
+ updatedAt: Date;
1237
+ deletedAt: Date | null;
1238
+ roomId: string;
1250
1239
  from: {
1251
1240
  id: string;
1252
1241
  createdAt: Date;
@@ -1278,6 +1267,31 @@ export declare const MessagesAndLogsSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1278
1267
  isNewContact: boolean;
1279
1268
  };
1280
1269
  }[];
1270
+ attachments: {
1271
+ id: string;
1272
+ createdAt: Date;
1273
+ updatedAt: Date;
1274
+ deletedAt: Date | null;
1275
+ fileName: string;
1276
+ fileType: string;
1277
+ uploadId: string;
1278
+ upload: {
1279
+ id: string;
1280
+ createdAt: Date;
1281
+ updatedAt: Date;
1282
+ deletedAt: Date | null;
1283
+ extensionName: string;
1284
+ fileName: string;
1285
+ fileKey: string;
1286
+ bucketName: string;
1287
+ fileSize: number;
1288
+ fileUrl: string;
1289
+ };
1290
+ roomId: string;
1291
+ messageId: string;
1292
+ emailEngineAttachmentId: string;
1293
+ }[];
1294
+ subject: string;
1281
1295
  to: {
1282
1296
  id: string;
1283
1297
  createdAt: Date;
@@ -1371,30 +1385,16 @@ export declare const MessagesAndLogsSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1371
1385
  isNewContact: boolean;
1372
1386
  };
1373
1387
  }[];
1374
- attachments: {
1375
- id: string;
1376
- createdAt: Date;
1377
- updatedAt: Date;
1378
- deletedAt: Date | null;
1379
- fileName: string;
1380
- fileType: string;
1381
- uploadId: string;
1382
- upload: {
1383
- id: string;
1384
- createdAt: Date;
1385
- updatedAt: Date;
1386
- deletedAt: Date | null;
1387
- extensionName: string;
1388
- fileName: string;
1389
- fileKey: string;
1390
- bucketName: string;
1391
- fileSize: number;
1392
- fileUrl: string;
1393
- };
1394
- roomId: string;
1395
- messageId: string;
1396
- emailEngineAttachmentId: string;
1397
- }[];
1388
+ sendAt: Date;
1389
+ textPlain: string;
1390
+ textHtml: string;
1391
+ textId: string;
1392
+ emailEngineEmailId: string;
1393
+ emailEngineMessageId: string;
1394
+ emailEngineReplyTo: string | null;
1395
+ unseen: boolean;
1396
+ starred: boolean;
1397
+ seemsLikeNew: boolean;
1398
1398
  }>, z.ZodObject<{
1399
1399
  id: z.ZodString;
1400
1400
  createdAt: z.ZodDate;
@@ -2847,17 +2847,6 @@ export declare const MailRoomSchema: z.ZodObject<{
2847
2847
  updatedAt: Date;
2848
2848
  deletedAt: Date | null;
2849
2849
  roomId: string;
2850
- subject: string;
2851
- textPlain: string;
2852
- textHtml: string;
2853
- textId: string;
2854
- emailEngineEmailId: string;
2855
- emailEngineMessageId: string;
2856
- emailEngineReplyTo: string | null;
2857
- unseen: boolean;
2858
- sendAt: Date;
2859
- starred: boolean;
2860
- seemsLikeNew: boolean;
2861
2850
  from: {
2862
2851
  id: string;
2863
2852
  createdAt: Date;
@@ -2889,6 +2878,31 @@ export declare const MailRoomSchema: z.ZodObject<{
2889
2878
  isNewContact: boolean;
2890
2879
  };
2891
2880
  }[];
2881
+ attachments: {
2882
+ id: string;
2883
+ createdAt: Date;
2884
+ updatedAt: Date;
2885
+ deletedAt: Date | null;
2886
+ fileName: string;
2887
+ fileType: string;
2888
+ uploadId: string;
2889
+ upload: {
2890
+ id: string;
2891
+ createdAt: Date;
2892
+ updatedAt: Date;
2893
+ deletedAt: Date | null;
2894
+ extensionName: string;
2895
+ fileName: string;
2896
+ fileKey: string;
2897
+ bucketName: string;
2898
+ fileSize: number;
2899
+ fileUrl: string;
2900
+ };
2901
+ roomId: string;
2902
+ messageId: string;
2903
+ emailEngineAttachmentId: string;
2904
+ }[];
2905
+ subject: string;
2892
2906
  to: {
2893
2907
  id: string;
2894
2908
  createdAt: Date;
@@ -2982,40 +2996,7 @@ export declare const MailRoomSchema: z.ZodObject<{
2982
2996
  isNewContact: boolean;
2983
2997
  };
2984
2998
  }[];
2985
- attachments: {
2986
- id: string;
2987
- createdAt: Date;
2988
- updatedAt: Date;
2989
- deletedAt: Date | null;
2990
- fileName: string;
2991
- fileType: string;
2992
- uploadId: string;
2993
- upload: {
2994
- id: string;
2995
- createdAt: Date;
2996
- updatedAt: Date;
2997
- deletedAt: Date | null;
2998
- extensionName: string;
2999
- fileName: string;
3000
- fileKey: string;
3001
- bucketName: string;
3002
- fileSize: number;
3003
- fileUrl: string;
3004
- };
3005
- roomId: string;
3006
- messageId: string;
3007
- emailEngineAttachmentId: string;
3008
- }[];
3009
- }, {
3010
- id: string;
3011
- direction: string;
3012
- action: string;
3013
- date: Date;
3014
- createdAt: Date;
3015
- updatedAt: Date;
3016
- deletedAt: Date | null;
3017
- roomId: string;
3018
- subject: string;
2999
+ sendAt: Date;
3019
3000
  textPlain: string;
3020
3001
  textHtml: string;
3021
3002
  textId: string;
@@ -3023,9 +3004,17 @@ export declare const MailRoomSchema: z.ZodObject<{
3023
3004
  emailEngineMessageId: string;
3024
3005
  emailEngineReplyTo: string | null;
3025
3006
  unseen: boolean;
3026
- sendAt: Date;
3027
3007
  starred: boolean;
3028
3008
  seemsLikeNew: boolean;
3009
+ }, {
3010
+ id: string;
3011
+ direction: string;
3012
+ action: string;
3013
+ date: Date;
3014
+ createdAt: Date;
3015
+ updatedAt: Date;
3016
+ deletedAt: Date | null;
3017
+ roomId: string;
3029
3018
  from: {
3030
3019
  id: string;
3031
3020
  createdAt: Date;
@@ -3057,6 +3046,31 @@ export declare const MailRoomSchema: z.ZodObject<{
3057
3046
  isNewContact: boolean;
3058
3047
  };
3059
3048
  }[];
3049
+ attachments: {
3050
+ id: string;
3051
+ createdAt: Date;
3052
+ updatedAt: Date;
3053
+ deletedAt: Date | null;
3054
+ fileName: string;
3055
+ fileType: string;
3056
+ uploadId: string;
3057
+ upload: {
3058
+ id: string;
3059
+ createdAt: Date;
3060
+ updatedAt: Date;
3061
+ deletedAt: Date | null;
3062
+ extensionName: string;
3063
+ fileName: string;
3064
+ fileKey: string;
3065
+ bucketName: string;
3066
+ fileSize: number;
3067
+ fileUrl: string;
3068
+ };
3069
+ roomId: string;
3070
+ messageId: string;
3071
+ emailEngineAttachmentId: string;
3072
+ }[];
3073
+ subject: string;
3060
3074
  to: {
3061
3075
  id: string;
3062
3076
  createdAt: Date;
@@ -3150,30 +3164,16 @@ export declare const MailRoomSchema: z.ZodObject<{
3150
3164
  isNewContact: boolean;
3151
3165
  };
3152
3166
  }[];
3153
- attachments: {
3154
- id: string;
3155
- createdAt: Date;
3156
- updatedAt: Date;
3157
- deletedAt: Date | null;
3158
- fileName: string;
3159
- fileType: string;
3160
- uploadId: string;
3161
- upload: {
3162
- id: string;
3163
- createdAt: Date;
3164
- updatedAt: Date;
3165
- deletedAt: Date | null;
3166
- extensionName: string;
3167
- fileName: string;
3168
- fileKey: string;
3169
- bucketName: string;
3170
- fileSize: number;
3171
- fileUrl: string;
3172
- };
3173
- roomId: string;
3174
- messageId: string;
3175
- emailEngineAttachmentId: string;
3176
- }[];
3167
+ sendAt: Date;
3168
+ textPlain: string;
3169
+ textHtml: string;
3170
+ textId: string;
3171
+ emailEngineEmailId: string;
3172
+ emailEngineMessageId: string;
3173
+ emailEngineReplyTo: string | null;
3174
+ unseen: boolean;
3175
+ starred: boolean;
3176
+ seemsLikeNew: boolean;
3177
3177
  }>;
3178
3178
  lastMessage: z.ZodObject<{
3179
3179
  id: z.ZodString;
@@ -3916,17 +3916,6 @@ export declare const MailRoomSchema: z.ZodObject<{
3916
3916
  updatedAt: Date;
3917
3917
  deletedAt: Date | null;
3918
3918
  roomId: string;
3919
- subject: string;
3920
- textPlain: string;
3921
- textHtml: string;
3922
- textId: string;
3923
- emailEngineEmailId: string;
3924
- emailEngineMessageId: string;
3925
- emailEngineReplyTo: string | null;
3926
- unseen: boolean;
3927
- sendAt: Date;
3928
- starred: boolean;
3929
- seemsLikeNew: boolean;
3930
3919
  from: {
3931
3920
  id: string;
3932
3921
  createdAt: Date;
@@ -3958,6 +3947,31 @@ export declare const MailRoomSchema: z.ZodObject<{
3958
3947
  isNewContact: boolean;
3959
3948
  };
3960
3949
  }[];
3950
+ attachments: {
3951
+ id: string;
3952
+ createdAt: Date;
3953
+ updatedAt: Date;
3954
+ deletedAt: Date | null;
3955
+ fileName: string;
3956
+ fileType: string;
3957
+ uploadId: string;
3958
+ upload: {
3959
+ id: string;
3960
+ createdAt: Date;
3961
+ updatedAt: Date;
3962
+ deletedAt: Date | null;
3963
+ extensionName: string;
3964
+ fileName: string;
3965
+ fileKey: string;
3966
+ bucketName: string;
3967
+ fileSize: number;
3968
+ fileUrl: string;
3969
+ };
3970
+ roomId: string;
3971
+ messageId: string;
3972
+ emailEngineAttachmentId: string;
3973
+ }[];
3974
+ subject: string;
3961
3975
  to: {
3962
3976
  id: string;
3963
3977
  createdAt: Date;
@@ -4051,40 +4065,7 @@ export declare const MailRoomSchema: z.ZodObject<{
4051
4065
  isNewContact: boolean;
4052
4066
  };
4053
4067
  }[];
4054
- attachments: {
4055
- id: string;
4056
- createdAt: Date;
4057
- updatedAt: Date;
4058
- deletedAt: Date | null;
4059
- fileName: string;
4060
- fileType: string;
4061
- uploadId: string;
4062
- upload: {
4063
- id: string;
4064
- createdAt: Date;
4065
- updatedAt: Date;
4066
- deletedAt: Date | null;
4067
- extensionName: string;
4068
- fileName: string;
4069
- fileKey: string;
4070
- bucketName: string;
4071
- fileSize: number;
4072
- fileUrl: string;
4073
- };
4074
- roomId: string;
4075
- messageId: string;
4076
- emailEngineAttachmentId: string;
4077
- }[];
4078
- }, {
4079
- id: string;
4080
- direction: string;
4081
- action: string;
4082
- date: Date;
4083
- createdAt: Date;
4084
- updatedAt: Date;
4085
- deletedAt: Date | null;
4086
- roomId: string;
4087
- subject: string;
4068
+ sendAt: Date;
4088
4069
  textPlain: string;
4089
4070
  textHtml: string;
4090
4071
  textId: string;
@@ -4092,9 +4073,17 @@ export declare const MailRoomSchema: z.ZodObject<{
4092
4073
  emailEngineMessageId: string;
4093
4074
  emailEngineReplyTo: string | null;
4094
4075
  unseen: boolean;
4095
- sendAt: Date;
4096
4076
  starred: boolean;
4097
4077
  seemsLikeNew: boolean;
4078
+ }, {
4079
+ id: string;
4080
+ direction: string;
4081
+ action: string;
4082
+ date: Date;
4083
+ createdAt: Date;
4084
+ updatedAt: Date;
4085
+ deletedAt: Date | null;
4086
+ roomId: string;
4098
4087
  from: {
4099
4088
  id: string;
4100
4089
  createdAt: Date;
@@ -4126,6 +4115,31 @@ export declare const MailRoomSchema: z.ZodObject<{
4126
4115
  isNewContact: boolean;
4127
4116
  };
4128
4117
  }[];
4118
+ attachments: {
4119
+ id: string;
4120
+ createdAt: Date;
4121
+ updatedAt: Date;
4122
+ deletedAt: Date | null;
4123
+ fileName: string;
4124
+ fileType: string;
4125
+ uploadId: string;
4126
+ upload: {
4127
+ id: string;
4128
+ createdAt: Date;
4129
+ updatedAt: Date;
4130
+ deletedAt: Date | null;
4131
+ extensionName: string;
4132
+ fileName: string;
4133
+ fileKey: string;
4134
+ bucketName: string;
4135
+ fileSize: number;
4136
+ fileUrl: string;
4137
+ };
4138
+ roomId: string;
4139
+ messageId: string;
4140
+ emailEngineAttachmentId: string;
4141
+ }[];
4142
+ subject: string;
4129
4143
  to: {
4130
4144
  id: string;
4131
4145
  createdAt: Date;
@@ -4219,30 +4233,16 @@ export declare const MailRoomSchema: z.ZodObject<{
4219
4233
  isNewContact: boolean;
4220
4234
  };
4221
4235
  }[];
4222
- attachments: {
4223
- id: string;
4224
- createdAt: Date;
4225
- updatedAt: Date;
4226
- deletedAt: Date | null;
4227
- fileName: string;
4228
- fileType: string;
4229
- uploadId: string;
4230
- upload: {
4231
- id: string;
4232
- createdAt: Date;
4233
- updatedAt: Date;
4234
- deletedAt: Date | null;
4235
- extensionName: string;
4236
- fileName: string;
4237
- fileKey: string;
4238
- bucketName: string;
4239
- fileSize: number;
4240
- fileUrl: string;
4241
- };
4242
- roomId: string;
4243
- messageId: string;
4244
- emailEngineAttachmentId: string;
4245
- }[];
4236
+ sendAt: Date;
4237
+ textPlain: string;
4238
+ textHtml: string;
4239
+ textId: string;
4240
+ emailEngineEmailId: string;
4241
+ emailEngineMessageId: string;
4242
+ emailEngineReplyTo: string | null;
4243
+ unseen: boolean;
4244
+ starred: boolean;
4245
+ seemsLikeNew: boolean;
4246
4246
  }>;
4247
4247
  tags: z.ZodArray<z.ZodObject<{
4248
4248
  color: z.ZodString;
@@ -5038,17 +5038,6 @@ export declare const MailRoomSchema: z.ZodObject<{
5038
5038
  updatedAt: Date;
5039
5039
  deletedAt: Date | null;
5040
5040
  roomId: string;
5041
- subject: string;
5042
- textPlain: string;
5043
- textHtml: string;
5044
- textId: string;
5045
- emailEngineEmailId: string;
5046
- emailEngineMessageId: string;
5047
- emailEngineReplyTo: string | null;
5048
- unseen: boolean;
5049
- sendAt: Date;
5050
- starred: boolean;
5051
- seemsLikeNew: boolean;
5052
5041
  from: {
5053
5042
  id: string;
5054
5043
  createdAt: Date;
@@ -5080,6 +5069,31 @@ export declare const MailRoomSchema: z.ZodObject<{
5080
5069
  isNewContact: boolean;
5081
5070
  };
5082
5071
  }[];
5072
+ attachments: {
5073
+ id: string;
5074
+ createdAt: Date;
5075
+ updatedAt: Date;
5076
+ deletedAt: Date | null;
5077
+ fileName: string;
5078
+ fileType: string;
5079
+ uploadId: string;
5080
+ upload: {
5081
+ id: string;
5082
+ createdAt: Date;
5083
+ updatedAt: Date;
5084
+ deletedAt: Date | null;
5085
+ extensionName: string;
5086
+ fileName: string;
5087
+ fileKey: string;
5088
+ bucketName: string;
5089
+ fileSize: number;
5090
+ fileUrl: string;
5091
+ };
5092
+ roomId: string;
5093
+ messageId: string;
5094
+ emailEngineAttachmentId: string;
5095
+ }[];
5096
+ subject: string;
5083
5097
  to: {
5084
5098
  id: string;
5085
5099
  createdAt: Date;
@@ -5173,40 +5187,7 @@ export declare const MailRoomSchema: z.ZodObject<{
5173
5187
  isNewContact: boolean;
5174
5188
  };
5175
5189
  }[];
5176
- attachments: {
5177
- id: string;
5178
- createdAt: Date;
5179
- updatedAt: Date;
5180
- deletedAt: Date | null;
5181
- fileName: string;
5182
- fileType: string;
5183
- uploadId: string;
5184
- upload: {
5185
- id: string;
5186
- createdAt: Date;
5187
- updatedAt: Date;
5188
- deletedAt: Date | null;
5189
- extensionName: string;
5190
- fileName: string;
5191
- fileKey: string;
5192
- bucketName: string;
5193
- fileSize: number;
5194
- fileUrl: string;
5195
- };
5196
- roomId: string;
5197
- messageId: string;
5198
- emailEngineAttachmentId: string;
5199
- }[];
5200
- }, {
5201
- id: string;
5202
- direction: string;
5203
- action: string;
5204
- date: Date;
5205
- createdAt: Date;
5206
- updatedAt: Date;
5207
- deletedAt: Date | null;
5208
- roomId: string;
5209
- subject: string;
5190
+ sendAt: Date;
5210
5191
  textPlain: string;
5211
5192
  textHtml: string;
5212
5193
  textId: string;
@@ -5214,9 +5195,17 @@ export declare const MailRoomSchema: z.ZodObject<{
5214
5195
  emailEngineMessageId: string;
5215
5196
  emailEngineReplyTo: string | null;
5216
5197
  unseen: boolean;
5217
- sendAt: Date;
5218
5198
  starred: boolean;
5219
5199
  seemsLikeNew: boolean;
5200
+ }, {
5201
+ id: string;
5202
+ direction: string;
5203
+ action: string;
5204
+ date: Date;
5205
+ createdAt: Date;
5206
+ updatedAt: Date;
5207
+ deletedAt: Date | null;
5208
+ roomId: string;
5220
5209
  from: {
5221
5210
  id: string;
5222
5211
  createdAt: Date;
@@ -5248,17 +5237,42 @@ export declare const MailRoomSchema: z.ZodObject<{
5248
5237
  isNewContact: boolean;
5249
5238
  };
5250
5239
  }[];
5251
- to: {
5240
+ attachments: {
5252
5241
  id: string;
5253
5242
  createdAt: Date;
5254
5243
  updatedAt: Date;
5255
5244
  deletedAt: Date | null;
5256
- roomId: string;
5257
- messageId: string;
5258
- mailUserId: string;
5259
- mailUser: {
5245
+ fileName: string;
5246
+ fileType: string;
5247
+ uploadId: string;
5248
+ upload: {
5260
5249
  id: string;
5261
- address: string;
5250
+ createdAt: Date;
5251
+ updatedAt: Date;
5252
+ deletedAt: Date | null;
5253
+ extensionName: string;
5254
+ fileName: string;
5255
+ fileKey: string;
5256
+ bucketName: string;
5257
+ fileSize: number;
5258
+ fileUrl: string;
5259
+ };
5260
+ roomId: string;
5261
+ messageId: string;
5262
+ emailEngineAttachmentId: string;
5263
+ }[];
5264
+ subject: string;
5265
+ to: {
5266
+ id: string;
5267
+ createdAt: Date;
5268
+ updatedAt: Date;
5269
+ deletedAt: Date | null;
5270
+ roomId: string;
5271
+ messageId: string;
5272
+ mailUserId: string;
5273
+ mailUser: {
5274
+ id: string;
5275
+ address: string;
5262
5276
  name: string;
5263
5277
  createdAt: Date;
5264
5278
  updatedAt: Date;
@@ -5341,30 +5355,16 @@ export declare const MailRoomSchema: z.ZodObject<{
5341
5355
  isNewContact: boolean;
5342
5356
  };
5343
5357
  }[];
5344
- attachments: {
5345
- id: string;
5346
- createdAt: Date;
5347
- updatedAt: Date;
5348
- deletedAt: Date | null;
5349
- fileName: string;
5350
- fileType: string;
5351
- uploadId: string;
5352
- upload: {
5353
- id: string;
5354
- createdAt: Date;
5355
- updatedAt: Date;
5356
- deletedAt: Date | null;
5357
- extensionName: string;
5358
- fileName: string;
5359
- fileKey: string;
5360
- bucketName: string;
5361
- fileSize: number;
5362
- fileUrl: string;
5363
- };
5364
- roomId: string;
5365
- messageId: string;
5366
- emailEngineAttachmentId: string;
5367
- }[];
5358
+ sendAt: Date;
5359
+ textPlain: string;
5360
+ textHtml: string;
5361
+ textId: string;
5362
+ emailEngineEmailId: string;
5363
+ emailEngineMessageId: string;
5364
+ emailEngineReplyTo: string | null;
5365
+ unseen: boolean;
5366
+ starred: boolean;
5367
+ seemsLikeNew: boolean;
5368
5368
  }>, "many">;
5369
5369
  messagesAndLogs: z.ZodArray<z.ZodUnion<[z.ZodObject<{
5370
5370
  id: z.ZodString;
@@ -6107,17 +6107,6 @@ export declare const MailRoomSchema: z.ZodObject<{
6107
6107
  updatedAt: Date;
6108
6108
  deletedAt: Date | null;
6109
6109
  roomId: string;
6110
- subject: string;
6111
- textPlain: string;
6112
- textHtml: string;
6113
- textId: string;
6114
- emailEngineEmailId: string;
6115
- emailEngineMessageId: string;
6116
- emailEngineReplyTo: string | null;
6117
- unseen: boolean;
6118
- sendAt: Date;
6119
- starred: boolean;
6120
- seemsLikeNew: boolean;
6121
6110
  from: {
6122
6111
  id: string;
6123
6112
  createdAt: Date;
@@ -6149,6 +6138,31 @@ export declare const MailRoomSchema: z.ZodObject<{
6149
6138
  isNewContact: boolean;
6150
6139
  };
6151
6140
  }[];
6141
+ attachments: {
6142
+ id: string;
6143
+ createdAt: Date;
6144
+ updatedAt: Date;
6145
+ deletedAt: Date | null;
6146
+ fileName: string;
6147
+ fileType: string;
6148
+ uploadId: string;
6149
+ upload: {
6150
+ id: string;
6151
+ createdAt: Date;
6152
+ updatedAt: Date;
6153
+ deletedAt: Date | null;
6154
+ extensionName: string;
6155
+ fileName: string;
6156
+ fileKey: string;
6157
+ bucketName: string;
6158
+ fileSize: number;
6159
+ fileUrl: string;
6160
+ };
6161
+ roomId: string;
6162
+ messageId: string;
6163
+ emailEngineAttachmentId: string;
6164
+ }[];
6165
+ subject: string;
6152
6166
  to: {
6153
6167
  id: string;
6154
6168
  createdAt: Date;
@@ -6242,40 +6256,7 @@ export declare const MailRoomSchema: z.ZodObject<{
6242
6256
  isNewContact: boolean;
6243
6257
  };
6244
6258
  }[];
6245
- attachments: {
6246
- id: string;
6247
- createdAt: Date;
6248
- updatedAt: Date;
6249
- deletedAt: Date | null;
6250
- fileName: string;
6251
- fileType: string;
6252
- uploadId: string;
6253
- upload: {
6254
- id: string;
6255
- createdAt: Date;
6256
- updatedAt: Date;
6257
- deletedAt: Date | null;
6258
- extensionName: string;
6259
- fileName: string;
6260
- fileKey: string;
6261
- bucketName: string;
6262
- fileSize: number;
6263
- fileUrl: string;
6264
- };
6265
- roomId: string;
6266
- messageId: string;
6267
- emailEngineAttachmentId: string;
6268
- }[];
6269
- }, {
6270
- id: string;
6271
- direction: string;
6272
- action: string;
6273
- date: Date;
6274
- createdAt: Date;
6275
- updatedAt: Date;
6276
- deletedAt: Date | null;
6277
- roomId: string;
6278
- subject: string;
6259
+ sendAt: Date;
6279
6260
  textPlain: string;
6280
6261
  textHtml: string;
6281
6262
  textId: string;
@@ -6283,9 +6264,17 @@ export declare const MailRoomSchema: z.ZodObject<{
6283
6264
  emailEngineMessageId: string;
6284
6265
  emailEngineReplyTo: string | null;
6285
6266
  unseen: boolean;
6286
- sendAt: Date;
6287
6267
  starred: boolean;
6288
6268
  seemsLikeNew: boolean;
6269
+ }, {
6270
+ id: string;
6271
+ direction: string;
6272
+ action: string;
6273
+ date: Date;
6274
+ createdAt: Date;
6275
+ updatedAt: Date;
6276
+ deletedAt: Date | null;
6277
+ roomId: string;
6289
6278
  from: {
6290
6279
  id: string;
6291
6280
  createdAt: Date;
@@ -6317,6 +6306,31 @@ export declare const MailRoomSchema: z.ZodObject<{
6317
6306
  isNewContact: boolean;
6318
6307
  };
6319
6308
  }[];
6309
+ attachments: {
6310
+ id: string;
6311
+ createdAt: Date;
6312
+ updatedAt: Date;
6313
+ deletedAt: Date | null;
6314
+ fileName: string;
6315
+ fileType: string;
6316
+ uploadId: string;
6317
+ upload: {
6318
+ id: string;
6319
+ createdAt: Date;
6320
+ updatedAt: Date;
6321
+ deletedAt: Date | null;
6322
+ extensionName: string;
6323
+ fileName: string;
6324
+ fileKey: string;
6325
+ bucketName: string;
6326
+ fileSize: number;
6327
+ fileUrl: string;
6328
+ };
6329
+ roomId: string;
6330
+ messageId: string;
6331
+ emailEngineAttachmentId: string;
6332
+ }[];
6333
+ subject: string;
6320
6334
  to: {
6321
6335
  id: string;
6322
6336
  createdAt: Date;
@@ -6410,30 +6424,16 @@ export declare const MailRoomSchema: z.ZodObject<{
6410
6424
  isNewContact: boolean;
6411
6425
  };
6412
6426
  }[];
6413
- attachments: {
6414
- id: string;
6415
- createdAt: Date;
6416
- updatedAt: Date;
6417
- deletedAt: Date | null;
6418
- fileName: string;
6419
- fileType: string;
6420
- uploadId: string;
6421
- upload: {
6422
- id: string;
6423
- createdAt: Date;
6424
- updatedAt: Date;
6425
- deletedAt: Date | null;
6426
- extensionName: string;
6427
- fileName: string;
6428
- fileKey: string;
6429
- bucketName: string;
6430
- fileSize: number;
6431
- fileUrl: string;
6432
- };
6433
- roomId: string;
6434
- messageId: string;
6435
- emailEngineAttachmentId: string;
6436
- }[];
6427
+ sendAt: Date;
6428
+ textPlain: string;
6429
+ textHtml: string;
6430
+ textId: string;
6431
+ emailEngineEmailId: string;
6432
+ emailEngineMessageId: string;
6433
+ emailEngineReplyTo: string | null;
6434
+ unseen: boolean;
6435
+ starred: boolean;
6436
+ seemsLikeNew: boolean;
6437
6437
  }>, z.ZodObject<{
6438
6438
  id: z.ZodString;
6439
6439
  createdAt: z.ZodDate;
@@ -7060,17 +7060,6 @@ export declare const MailRoomSchema: z.ZodObject<{
7060
7060
  updatedAt: Date;
7061
7061
  deletedAt: Date | null;
7062
7062
  roomId: string;
7063
- subject: string;
7064
- textPlain: string;
7065
- textHtml: string;
7066
- textId: string;
7067
- emailEngineEmailId: string;
7068
- emailEngineMessageId: string;
7069
- emailEngineReplyTo: string | null;
7070
- unseen: boolean;
7071
- sendAt: Date;
7072
- starred: boolean;
7073
- seemsLikeNew: boolean;
7074
7063
  from: {
7075
7064
  id: string;
7076
7065
  createdAt: Date;
@@ -7102,6 +7091,31 @@ export declare const MailRoomSchema: z.ZodObject<{
7102
7091
  isNewContact: boolean;
7103
7092
  };
7104
7093
  }[];
7094
+ attachments: {
7095
+ id: string;
7096
+ createdAt: Date;
7097
+ updatedAt: Date;
7098
+ deletedAt: Date | null;
7099
+ fileName: string;
7100
+ fileType: string;
7101
+ uploadId: string;
7102
+ upload: {
7103
+ id: string;
7104
+ createdAt: Date;
7105
+ updatedAt: Date;
7106
+ deletedAt: Date | null;
7107
+ extensionName: string;
7108
+ fileName: string;
7109
+ fileKey: string;
7110
+ bucketName: string;
7111
+ fileSize: number;
7112
+ fileUrl: string;
7113
+ };
7114
+ roomId: string;
7115
+ messageId: string;
7116
+ emailEngineAttachmentId: string;
7117
+ }[];
7118
+ subject: string;
7105
7119
  to: {
7106
7120
  id: string;
7107
7121
  createdAt: Date;
@@ -7195,30 +7209,16 @@ export declare const MailRoomSchema: z.ZodObject<{
7195
7209
  isNewContact: boolean;
7196
7210
  };
7197
7211
  }[];
7198
- attachments: {
7199
- id: string;
7200
- createdAt: Date;
7201
- updatedAt: Date;
7202
- deletedAt: Date | null;
7203
- fileName: string;
7204
- fileType: string;
7205
- uploadId: string;
7206
- upload: {
7207
- id: string;
7208
- createdAt: Date;
7209
- updatedAt: Date;
7210
- deletedAt: Date | null;
7211
- extensionName: string;
7212
- fileName: string;
7213
- fileKey: string;
7214
- bucketName: string;
7215
- fileSize: number;
7216
- fileUrl: string;
7217
- };
7218
- roomId: string;
7219
- messageId: string;
7220
- emailEngineAttachmentId: string;
7221
- }[];
7212
+ sendAt: Date;
7213
+ textPlain: string;
7214
+ textHtml: string;
7215
+ textId: string;
7216
+ emailEngineEmailId: string;
7217
+ emailEngineMessageId: string;
7218
+ emailEngineReplyTo: string | null;
7219
+ unseen: boolean;
7220
+ starred: boolean;
7221
+ seemsLikeNew: boolean;
7222
7222
  };
7223
7223
  assignee: {
7224
7224
  id: string;
@@ -7302,7 +7302,6 @@ export declare const MailRoomSchema: z.ZodObject<{
7302
7302
  } | null;
7303
7303
  };
7304
7304
  assigneeId: string | null;
7305
- subject: string;
7306
7305
  from: {
7307
7306
  id: string;
7308
7307
  createdAt: Date;
@@ -7334,6 +7333,7 @@ export declare const MailRoomSchema: z.ZodObject<{
7334
7333
  isNewContact: boolean;
7335
7334
  };
7336
7335
  }[];
7336
+ subject: string;
7337
7337
  to: {
7338
7338
  id: string;
7339
7339
  createdAt: Date;
@@ -7439,17 +7439,6 @@ export declare const MailRoomSchema: z.ZodObject<{
7439
7439
  updatedAt: Date;
7440
7440
  deletedAt: Date | null;
7441
7441
  roomId: string;
7442
- subject: string;
7443
- textPlain: string;
7444
- textHtml: string;
7445
- textId: string;
7446
- emailEngineEmailId: string;
7447
- emailEngineMessageId: string;
7448
- emailEngineReplyTo: string | null;
7449
- unseen: boolean;
7450
- sendAt: Date;
7451
- starred: boolean;
7452
- seemsLikeNew: boolean;
7453
7442
  from: {
7454
7443
  id: string;
7455
7444
  createdAt: Date;
@@ -7481,6 +7470,31 @@ export declare const MailRoomSchema: z.ZodObject<{
7481
7470
  isNewContact: boolean;
7482
7471
  };
7483
7472
  }[];
7473
+ attachments: {
7474
+ id: string;
7475
+ createdAt: Date;
7476
+ updatedAt: Date;
7477
+ deletedAt: Date | null;
7478
+ fileName: string;
7479
+ fileType: string;
7480
+ uploadId: string;
7481
+ upload: {
7482
+ id: string;
7483
+ createdAt: Date;
7484
+ updatedAt: Date;
7485
+ deletedAt: Date | null;
7486
+ extensionName: string;
7487
+ fileName: string;
7488
+ fileKey: string;
7489
+ bucketName: string;
7490
+ fileSize: number;
7491
+ fileUrl: string;
7492
+ };
7493
+ roomId: string;
7494
+ messageId: string;
7495
+ emailEngineAttachmentId: string;
7496
+ }[];
7497
+ subject: string;
7484
7498
  to: {
7485
7499
  id: string;
7486
7500
  createdAt: Date;
@@ -7574,30 +7588,16 @@ export declare const MailRoomSchema: z.ZodObject<{
7574
7588
  isNewContact: boolean;
7575
7589
  };
7576
7590
  }[];
7577
- attachments: {
7578
- id: string;
7579
- createdAt: Date;
7580
- updatedAt: Date;
7581
- deletedAt: Date | null;
7582
- fileName: string;
7583
- fileType: string;
7584
- uploadId: string;
7585
- upload: {
7586
- id: string;
7587
- createdAt: Date;
7588
- updatedAt: Date;
7589
- deletedAt: Date | null;
7590
- extensionName: string;
7591
- fileName: string;
7592
- fileKey: string;
7593
- bucketName: string;
7594
- fileSize: number;
7595
- fileUrl: string;
7596
- };
7597
- roomId: string;
7598
- messageId: string;
7599
- emailEngineAttachmentId: string;
7600
- }[];
7591
+ sendAt: Date;
7592
+ textPlain: string;
7593
+ textHtml: string;
7594
+ textId: string;
7595
+ emailEngineEmailId: string;
7596
+ emailEngineMessageId: string;
7597
+ emailEngineReplyTo: string | null;
7598
+ unseen: boolean;
7599
+ starred: boolean;
7600
+ seemsLikeNew: boolean;
7601
7601
  };
7602
7602
  messages: {
7603
7603
  id: string;
@@ -7608,17 +7608,6 @@ export declare const MailRoomSchema: z.ZodObject<{
7608
7608
  updatedAt: Date;
7609
7609
  deletedAt: Date | null;
7610
7610
  roomId: string;
7611
- subject: string;
7612
- textPlain: string;
7613
- textHtml: string;
7614
- textId: string;
7615
- emailEngineEmailId: string;
7616
- emailEngineMessageId: string;
7617
- emailEngineReplyTo: string | null;
7618
- unseen: boolean;
7619
- sendAt: Date;
7620
- starred: boolean;
7621
- seemsLikeNew: boolean;
7622
7611
  from: {
7623
7612
  id: string;
7624
7613
  createdAt: Date;
@@ -7650,6 +7639,31 @@ export declare const MailRoomSchema: z.ZodObject<{
7650
7639
  isNewContact: boolean;
7651
7640
  };
7652
7641
  }[];
7642
+ attachments: {
7643
+ id: string;
7644
+ createdAt: Date;
7645
+ updatedAt: Date;
7646
+ deletedAt: Date | null;
7647
+ fileName: string;
7648
+ fileType: string;
7649
+ uploadId: string;
7650
+ upload: {
7651
+ id: string;
7652
+ createdAt: Date;
7653
+ updatedAt: Date;
7654
+ deletedAt: Date | null;
7655
+ extensionName: string;
7656
+ fileName: string;
7657
+ fileKey: string;
7658
+ bucketName: string;
7659
+ fileSize: number;
7660
+ fileUrl: string;
7661
+ };
7662
+ roomId: string;
7663
+ messageId: string;
7664
+ emailEngineAttachmentId: string;
7665
+ }[];
7666
+ subject: string;
7653
7667
  to: {
7654
7668
  id: string;
7655
7669
  createdAt: Date;
@@ -7743,30 +7757,16 @@ export declare const MailRoomSchema: z.ZodObject<{
7743
7757
  isNewContact: boolean;
7744
7758
  };
7745
7759
  }[];
7746
- attachments: {
7747
- id: string;
7748
- createdAt: Date;
7749
- updatedAt: Date;
7750
- deletedAt: Date | null;
7751
- fileName: string;
7752
- fileType: string;
7753
- uploadId: string;
7754
- upload: {
7755
- id: string;
7756
- createdAt: Date;
7757
- updatedAt: Date;
7758
- deletedAt: Date | null;
7759
- extensionName: string;
7760
- fileName: string;
7761
- fileKey: string;
7762
- bucketName: string;
7763
- fileSize: number;
7764
- fileUrl: string;
7765
- };
7766
- roomId: string;
7767
- messageId: string;
7768
- emailEngineAttachmentId: string;
7769
- }[];
7760
+ sendAt: Date;
7761
+ textPlain: string;
7762
+ textHtml: string;
7763
+ textId: string;
7764
+ emailEngineEmailId: string;
7765
+ emailEngineMessageId: string;
7766
+ emailEngineReplyTo: string | null;
7767
+ unseen: boolean;
7768
+ starred: boolean;
7769
+ seemsLikeNew: boolean;
7770
7770
  }[];
7771
7771
  messagesAndLogs: ({
7772
7772
  id: string;
@@ -7777,17 +7777,6 @@ export declare const MailRoomSchema: z.ZodObject<{
7777
7777
  updatedAt: Date;
7778
7778
  deletedAt: Date | null;
7779
7779
  roomId: string;
7780
- subject: string;
7781
- textPlain: string;
7782
- textHtml: string;
7783
- textId: string;
7784
- emailEngineEmailId: string;
7785
- emailEngineMessageId: string;
7786
- emailEngineReplyTo: string | null;
7787
- unseen: boolean;
7788
- sendAt: Date;
7789
- starred: boolean;
7790
- seemsLikeNew: boolean;
7791
7780
  from: {
7792
7781
  id: string;
7793
7782
  createdAt: Date;
@@ -7819,6 +7808,31 @@ export declare const MailRoomSchema: z.ZodObject<{
7819
7808
  isNewContact: boolean;
7820
7809
  };
7821
7810
  }[];
7811
+ attachments: {
7812
+ id: string;
7813
+ createdAt: Date;
7814
+ updatedAt: Date;
7815
+ deletedAt: Date | null;
7816
+ fileName: string;
7817
+ fileType: string;
7818
+ uploadId: string;
7819
+ upload: {
7820
+ id: string;
7821
+ createdAt: Date;
7822
+ updatedAt: Date;
7823
+ deletedAt: Date | null;
7824
+ extensionName: string;
7825
+ fileName: string;
7826
+ fileKey: string;
7827
+ bucketName: string;
7828
+ fileSize: number;
7829
+ fileUrl: string;
7830
+ };
7831
+ roomId: string;
7832
+ messageId: string;
7833
+ emailEngineAttachmentId: string;
7834
+ }[];
7835
+ subject: string;
7822
7836
  to: {
7823
7837
  id: string;
7824
7838
  createdAt: Date;
@@ -7912,30 +7926,16 @@ export declare const MailRoomSchema: z.ZodObject<{
7912
7926
  isNewContact: boolean;
7913
7927
  };
7914
7928
  }[];
7915
- attachments: {
7916
- id: string;
7917
- createdAt: Date;
7918
- updatedAt: Date;
7919
- deletedAt: Date | null;
7920
- fileName: string;
7921
- fileType: string;
7922
- uploadId: string;
7923
- upload: {
7924
- id: string;
7925
- createdAt: Date;
7926
- updatedAt: Date;
7927
- deletedAt: Date | null;
7928
- extensionName: string;
7929
- fileName: string;
7930
- fileKey: string;
7931
- bucketName: string;
7932
- fileSize: number;
7933
- fileUrl: string;
7934
- };
7935
- roomId: string;
7936
- messageId: string;
7937
- emailEngineAttachmentId: string;
7938
- }[];
7929
+ sendAt: Date;
7930
+ textPlain: string;
7931
+ textHtml: string;
7932
+ textId: string;
7933
+ emailEngineEmailId: string;
7934
+ emailEngineMessageId: string;
7935
+ emailEngineReplyTo: string | null;
7936
+ unseen: boolean;
7937
+ starred: boolean;
7938
+ seemsLikeNew: boolean;
7939
7939
  } | {
7940
7940
  id: string;
7941
7941
  description: string;
@@ -8007,17 +8007,6 @@ export declare const MailRoomSchema: z.ZodObject<{
8007
8007
  updatedAt: Date;
8008
8008
  deletedAt: Date | null;
8009
8009
  roomId: string;
8010
- subject: string;
8011
- textPlain: string;
8012
- textHtml: string;
8013
- textId: string;
8014
- emailEngineEmailId: string;
8015
- emailEngineMessageId: string;
8016
- emailEngineReplyTo: string | null;
8017
- unseen: boolean;
8018
- sendAt: Date;
8019
- starred: boolean;
8020
- seemsLikeNew: boolean;
8021
8010
  from: {
8022
8011
  id: string;
8023
8012
  createdAt: Date;
@@ -8049,6 +8038,31 @@ export declare const MailRoomSchema: z.ZodObject<{
8049
8038
  isNewContact: boolean;
8050
8039
  };
8051
8040
  }[];
8041
+ attachments: {
8042
+ id: string;
8043
+ createdAt: Date;
8044
+ updatedAt: Date;
8045
+ deletedAt: Date | null;
8046
+ fileName: string;
8047
+ fileType: string;
8048
+ uploadId: string;
8049
+ upload: {
8050
+ id: string;
8051
+ createdAt: Date;
8052
+ updatedAt: Date;
8053
+ deletedAt: Date | null;
8054
+ extensionName: string;
8055
+ fileName: string;
8056
+ fileKey: string;
8057
+ bucketName: string;
8058
+ fileSize: number;
8059
+ fileUrl: string;
8060
+ };
8061
+ roomId: string;
8062
+ messageId: string;
8063
+ emailEngineAttachmentId: string;
8064
+ }[];
8065
+ subject: string;
8052
8066
  to: {
8053
8067
  id: string;
8054
8068
  createdAt: Date;
@@ -8142,30 +8156,16 @@ export declare const MailRoomSchema: z.ZodObject<{
8142
8156
  isNewContact: boolean;
8143
8157
  };
8144
8158
  }[];
8145
- attachments: {
8146
- id: string;
8147
- createdAt: Date;
8148
- updatedAt: Date;
8149
- deletedAt: Date | null;
8150
- fileName: string;
8151
- fileType: string;
8152
- uploadId: string;
8153
- upload: {
8154
- id: string;
8155
- createdAt: Date;
8156
- updatedAt: Date;
8157
- deletedAt: Date | null;
8158
- extensionName: string;
8159
- fileName: string;
8160
- fileKey: string;
8161
- bucketName: string;
8162
- fileSize: number;
8163
- fileUrl: string;
8164
- };
8165
- roomId: string;
8166
- messageId: string;
8167
- emailEngineAttachmentId: string;
8168
- }[];
8159
+ sendAt: Date;
8160
+ textPlain: string;
8161
+ textHtml: string;
8162
+ textId: string;
8163
+ emailEngineEmailId: string;
8164
+ emailEngineMessageId: string;
8165
+ emailEngineReplyTo: string | null;
8166
+ unseen: boolean;
8167
+ starred: boolean;
8168
+ seemsLikeNew: boolean;
8169
8169
  };
8170
8170
  assignee: {
8171
8171
  id: string;
@@ -8249,7 +8249,6 @@ export declare const MailRoomSchema: z.ZodObject<{
8249
8249
  } | null;
8250
8250
  };
8251
8251
  assigneeId: string | null;
8252
- subject: string;
8253
8252
  from: {
8254
8253
  id: string;
8255
8254
  createdAt: Date;
@@ -8281,6 +8280,7 @@ export declare const MailRoomSchema: z.ZodObject<{
8281
8280
  isNewContact: boolean;
8282
8281
  };
8283
8282
  }[];
8283
+ subject: string;
8284
8284
  to: {
8285
8285
  id: string;
8286
8286
  createdAt: Date;
@@ -8386,17 +8386,6 @@ export declare const MailRoomSchema: z.ZodObject<{
8386
8386
  updatedAt: Date;
8387
8387
  deletedAt: Date | null;
8388
8388
  roomId: string;
8389
- subject: string;
8390
- textPlain: string;
8391
- textHtml: string;
8392
- textId: string;
8393
- emailEngineEmailId: string;
8394
- emailEngineMessageId: string;
8395
- emailEngineReplyTo: string | null;
8396
- unseen: boolean;
8397
- sendAt: Date;
8398
- starred: boolean;
8399
- seemsLikeNew: boolean;
8400
8389
  from: {
8401
8390
  id: string;
8402
8391
  createdAt: Date;
@@ -8428,6 +8417,31 @@ export declare const MailRoomSchema: z.ZodObject<{
8428
8417
  isNewContact: boolean;
8429
8418
  };
8430
8419
  }[];
8420
+ attachments: {
8421
+ id: string;
8422
+ createdAt: Date;
8423
+ updatedAt: Date;
8424
+ deletedAt: Date | null;
8425
+ fileName: string;
8426
+ fileType: string;
8427
+ uploadId: string;
8428
+ upload: {
8429
+ id: string;
8430
+ createdAt: Date;
8431
+ updatedAt: Date;
8432
+ deletedAt: Date | null;
8433
+ extensionName: string;
8434
+ fileName: string;
8435
+ fileKey: string;
8436
+ bucketName: string;
8437
+ fileSize: number;
8438
+ fileUrl: string;
8439
+ };
8440
+ roomId: string;
8441
+ messageId: string;
8442
+ emailEngineAttachmentId: string;
8443
+ }[];
8444
+ subject: string;
8431
8445
  to: {
8432
8446
  id: string;
8433
8447
  createdAt: Date;
@@ -8521,30 +8535,16 @@ export declare const MailRoomSchema: z.ZodObject<{
8521
8535
  isNewContact: boolean;
8522
8536
  };
8523
8537
  }[];
8524
- attachments: {
8525
- id: string;
8526
- createdAt: Date;
8527
- updatedAt: Date;
8528
- deletedAt: Date | null;
8529
- fileName: string;
8530
- fileType: string;
8531
- uploadId: string;
8532
- upload: {
8533
- id: string;
8534
- createdAt: Date;
8535
- updatedAt: Date;
8536
- deletedAt: Date | null;
8537
- extensionName: string;
8538
- fileName: string;
8539
- fileKey: string;
8540
- bucketName: string;
8541
- fileSize: number;
8542
- fileUrl: string;
8543
- };
8544
- roomId: string;
8545
- messageId: string;
8546
- emailEngineAttachmentId: string;
8547
- }[];
8538
+ sendAt: Date;
8539
+ textPlain: string;
8540
+ textHtml: string;
8541
+ textId: string;
8542
+ emailEngineEmailId: string;
8543
+ emailEngineMessageId: string;
8544
+ emailEngineReplyTo: string | null;
8545
+ unseen: boolean;
8546
+ starred: boolean;
8547
+ seemsLikeNew: boolean;
8548
8548
  };
8549
8549
  messages: {
8550
8550
  id: string;
@@ -8555,17 +8555,6 @@ export declare const MailRoomSchema: z.ZodObject<{
8555
8555
  updatedAt: Date;
8556
8556
  deletedAt: Date | null;
8557
8557
  roomId: string;
8558
- subject: string;
8559
- textPlain: string;
8560
- textHtml: string;
8561
- textId: string;
8562
- emailEngineEmailId: string;
8563
- emailEngineMessageId: string;
8564
- emailEngineReplyTo: string | null;
8565
- unseen: boolean;
8566
- sendAt: Date;
8567
- starred: boolean;
8568
- seemsLikeNew: boolean;
8569
8558
  from: {
8570
8559
  id: string;
8571
8560
  createdAt: Date;
@@ -8597,6 +8586,31 @@ export declare const MailRoomSchema: z.ZodObject<{
8597
8586
  isNewContact: boolean;
8598
8587
  };
8599
8588
  }[];
8589
+ attachments: {
8590
+ id: string;
8591
+ createdAt: Date;
8592
+ updatedAt: Date;
8593
+ deletedAt: Date | null;
8594
+ fileName: string;
8595
+ fileType: string;
8596
+ uploadId: string;
8597
+ upload: {
8598
+ id: string;
8599
+ createdAt: Date;
8600
+ updatedAt: Date;
8601
+ deletedAt: Date | null;
8602
+ extensionName: string;
8603
+ fileName: string;
8604
+ fileKey: string;
8605
+ bucketName: string;
8606
+ fileSize: number;
8607
+ fileUrl: string;
8608
+ };
8609
+ roomId: string;
8610
+ messageId: string;
8611
+ emailEngineAttachmentId: string;
8612
+ }[];
8613
+ subject: string;
8600
8614
  to: {
8601
8615
  id: string;
8602
8616
  createdAt: Date;
@@ -8690,30 +8704,16 @@ export declare const MailRoomSchema: z.ZodObject<{
8690
8704
  isNewContact: boolean;
8691
8705
  };
8692
8706
  }[];
8693
- attachments: {
8694
- id: string;
8695
- createdAt: Date;
8696
- updatedAt: Date;
8697
- deletedAt: Date | null;
8698
- fileName: string;
8699
- fileType: string;
8700
- uploadId: string;
8701
- upload: {
8702
- id: string;
8703
- createdAt: Date;
8704
- updatedAt: Date;
8705
- deletedAt: Date | null;
8706
- extensionName: string;
8707
- fileName: string;
8708
- fileKey: string;
8709
- bucketName: string;
8710
- fileSize: number;
8711
- fileUrl: string;
8712
- };
8713
- roomId: string;
8714
- messageId: string;
8715
- emailEngineAttachmentId: string;
8716
- }[];
8707
+ sendAt: Date;
8708
+ textPlain: string;
8709
+ textHtml: string;
8710
+ textId: string;
8711
+ emailEngineEmailId: string;
8712
+ emailEngineMessageId: string;
8713
+ emailEngineReplyTo: string | null;
8714
+ unseen: boolean;
8715
+ starred: boolean;
8716
+ seemsLikeNew: boolean;
8717
8717
  }[];
8718
8718
  messagesAndLogs: ({
8719
8719
  id: string;
@@ -8724,17 +8724,6 @@ export declare const MailRoomSchema: z.ZodObject<{
8724
8724
  updatedAt: Date;
8725
8725
  deletedAt: Date | null;
8726
8726
  roomId: string;
8727
- subject: string;
8728
- textPlain: string;
8729
- textHtml: string;
8730
- textId: string;
8731
- emailEngineEmailId: string;
8732
- emailEngineMessageId: string;
8733
- emailEngineReplyTo: string | null;
8734
- unseen: boolean;
8735
- sendAt: Date;
8736
- starred: boolean;
8737
- seemsLikeNew: boolean;
8738
8727
  from: {
8739
8728
  id: string;
8740
8729
  createdAt: Date;
@@ -8766,6 +8755,31 @@ export declare const MailRoomSchema: z.ZodObject<{
8766
8755
  isNewContact: boolean;
8767
8756
  };
8768
8757
  }[];
8758
+ attachments: {
8759
+ id: string;
8760
+ createdAt: Date;
8761
+ updatedAt: Date;
8762
+ deletedAt: Date | null;
8763
+ fileName: string;
8764
+ fileType: string;
8765
+ uploadId: string;
8766
+ upload: {
8767
+ id: string;
8768
+ createdAt: Date;
8769
+ updatedAt: Date;
8770
+ deletedAt: Date | null;
8771
+ extensionName: string;
8772
+ fileName: string;
8773
+ fileKey: string;
8774
+ bucketName: string;
8775
+ fileSize: number;
8776
+ fileUrl: string;
8777
+ };
8778
+ roomId: string;
8779
+ messageId: string;
8780
+ emailEngineAttachmentId: string;
8781
+ }[];
8782
+ subject: string;
8769
8783
  to: {
8770
8784
  id: string;
8771
8785
  createdAt: Date;
@@ -8859,30 +8873,16 @@ export declare const MailRoomSchema: z.ZodObject<{
8859
8873
  isNewContact: boolean;
8860
8874
  };
8861
8875
  }[];
8862
- attachments: {
8863
- id: string;
8864
- createdAt: Date;
8865
- updatedAt: Date;
8866
- deletedAt: Date | null;
8867
- fileName: string;
8868
- fileType: string;
8869
- uploadId: string;
8870
- upload: {
8871
- id: string;
8872
- createdAt: Date;
8873
- updatedAt: Date;
8874
- deletedAt: Date | null;
8875
- extensionName: string;
8876
- fileName: string;
8877
- fileKey: string;
8878
- bucketName: string;
8879
- fileSize: number;
8880
- fileUrl: string;
8881
- };
8882
- roomId: string;
8883
- messageId: string;
8884
- emailEngineAttachmentId: string;
8885
- }[];
8876
+ sendAt: Date;
8877
+ textPlain: string;
8878
+ textHtml: string;
8879
+ textId: string;
8880
+ emailEngineEmailId: string;
8881
+ emailEngineMessageId: string;
8882
+ emailEngineReplyTo: string | null;
8883
+ unseen: boolean;
8884
+ starred: boolean;
8885
+ seemsLikeNew: boolean;
8886
8886
  } | {
8887
8887
  id: string;
8888
8888
  description: string;