@kl1/contracts 1.0.28 → 1.0.29

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 (92) hide show
  1. package/dist/index.js +179 -124
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +178 -124
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/activity-log/index.d.ts +113 -113
  6. package/dist/src/activity-log/schema.d.ts +122 -122
  7. package/dist/src/app/index.d.ts +17 -0
  8. package/dist/src/app/index.d.ts.map +1 -0
  9. package/dist/src/attribute/index.d.ts +108 -108
  10. package/dist/src/attribute/schema.d.ts +24 -24
  11. package/dist/src/attribute-option/schema.d.ts +9 -9
  12. package/dist/src/auth/index.d.ts +89 -89
  13. package/dist/src/base-contract.d.ts +9 -9
  14. package/dist/src/call-log/schema.d.ts +9 -9
  15. package/dist/src/category/index.d.ts +42 -42
  16. package/dist/src/category/schema.d.ts +9 -9
  17. package/dist/src/channel/index.d.ts +357 -357
  18. package/dist/src/channel/schema.d.ts +101 -98
  19. package/dist/src/channel/schema.d.ts.map +1 -1
  20. package/dist/src/channel/validation.d.ts +89 -89
  21. package/dist/src/chat/index.d.ts +13187 -13187
  22. package/dist/src/chat/schema.d.ts +2360 -2360
  23. package/dist/src/chat/validation.d.ts +3251 -3251
  24. package/dist/src/comment/index.d.ts +1368 -1368
  25. package/dist/src/comment/schema.d.ts +388 -388
  26. package/dist/src/company/index.d.ts +316 -316
  27. package/dist/src/company/schema.d.ts +95 -95
  28. package/dist/src/company/validation.d.ts +177 -177
  29. package/dist/src/contact/index.d.ts +2171 -2171
  30. package/dist/src/contact/schema.d.ts +362 -362
  31. package/dist/src/contact/validation.d.ts +1685 -1685
  32. package/dist/src/contact-email/schema.d.ts +9 -9
  33. package/dist/src/contact-phone/schema.d.ts +9 -9
  34. package/dist/src/contract.d.ts +26474 -26668
  35. package/dist/src/contract.d.ts.map +1 -1
  36. package/dist/src/custom-field/schema.d.ts +12 -12
  37. package/dist/src/custom-field-upload/schema.d.ts +9 -9
  38. package/dist/src/cx-log/index.d.ts +1644 -1644
  39. package/dist/src/cx-log/schema.d.ts +1400 -1400
  40. package/dist/src/evaluate-form/index.d.ts +47 -0
  41. package/dist/src/evaluate-form/index.d.ts.map +1 -0
  42. package/dist/src/evaluate-form/schema.d.ts +9 -9
  43. package/dist/src/evaluate-form/validation.d.ts +28 -0
  44. package/dist/src/evaluate-form/validation.d.ts.map +1 -0
  45. package/dist/src/extension/index.d.ts +115 -115
  46. package/dist/src/extension/schema.d.ts +9 -9
  47. package/dist/src/group/schema.d.ts +9 -9
  48. package/dist/src/index.d.ts +1 -0
  49. package/dist/src/index.d.ts.map +1 -1
  50. package/dist/src/log-form/schema.d.ts +9 -9
  51. package/dist/src/mail/account-contract.d.ts +168 -168
  52. package/dist/src/mail/mail-contract.d.ts +3398 -3398
  53. package/dist/src/mail/mail-server.d.ts +216 -0
  54. package/dist/src/mail/mail-server.d.ts.map +1 -0
  55. package/dist/src/mail/message-contract.d.ts +152 -152
  56. package/dist/src/mail/room-contract.d.ts +3078 -3078
  57. package/dist/src/mail/schemas/account-validation.schema.d.ts +168 -168
  58. package/dist/src/mail/schemas/account.schema.d.ts +33 -33
  59. package/dist/src/mail/schemas/message.schema.d.ts +108 -108
  60. package/dist/src/mail/schemas/room-validation.schema.d.ts +1014 -1014
  61. package/dist/src/mail/schemas/room.schema.d.ts +816 -816
  62. package/dist/src/messenger/index.d.ts +1569 -1569
  63. package/dist/src/permission/index.d.ts +15 -15
  64. package/dist/src/permission/schema.d.ts +9 -9
  65. package/dist/src/platform-contact/schema.d.ts +30 -0
  66. package/dist/src/platform-contact/schema.d.ts.map +1 -0
  67. package/dist/src/role/index.d.ts +96 -96
  68. package/dist/src/role/schema.d.ts +24 -24
  69. package/dist/src/tag/index.d.ts +45 -45
  70. package/dist/src/tag/schema.d.ts +9 -9
  71. package/dist/src/tag-group/schema.d.ts +9 -9
  72. package/dist/src/telephony-agent-presence-status/index.d.ts +386 -386
  73. package/dist/src/telephony-agent-presence-status/schema.d.ts +122 -122
  74. package/dist/src/telephony-cdr/schema.d.ts +9 -9
  75. package/dist/src/telephony-live-queue-call/schema.d.ts +9 -9
  76. package/dist/src/telephony-queue-call-count/schema.d.ts +9 -9
  77. package/dist/src/tenant/schema.d.ts +9 -9
  78. package/dist/src/ticket/index.d.ts +858 -1094
  79. package/dist/src/ticket/index.d.ts.map +1 -1
  80. package/dist/src/ticket/schema.d.ts +212 -212
  81. package/dist/src/ticket/validation.d.ts +102 -338
  82. package/dist/src/ticket/validation.d.ts.map +1 -1
  83. package/dist/src/upload/schema.d.ts +9 -9
  84. package/dist/src/user/index.d.ts +293 -293
  85. package/dist/src/user/schema.d.ts +63 -63
  86. package/dist/src/user-presence-status-log/index.d.ts +88 -88
  87. package/dist/src/user-presence-status-log/schema.d.ts +128 -128
  88. package/dist/src/widget/index.d.ts +78 -78
  89. package/dist/src/widget/schema.d.ts +9 -9
  90. package/dist/src/wrap-up-form/index.d.ts +96 -96
  91. package/dist/src/wrap-up-form/schema.d.ts +24 -24
  92. package/package.json +10 -4
@@ -23,9 +23,9 @@ export declare const RoomContractsValidationSchema: {
23
23
  output: z.ZodObject<{
24
24
  data: z.ZodArray<z.ZodObject<{
25
25
  id: z.ZodString;
26
- createdAt: z.ZodString;
27
- updatedAt: z.ZodString;
28
- deletedAt: z.ZodNullable<z.ZodString>;
26
+ createdAt: z.ZodDate;
27
+ updatedAt: z.ZodDate;
28
+ deletedAt: z.ZodNullable<z.ZodDate>;
29
29
  subject: z.ZodString;
30
30
  resolved: z.ZodBoolean;
31
31
  assigneeId: z.ZodNullable<z.ZodString>;
@@ -36,97 +36,97 @@ export declare const RoomContractsValidationSchema: {
36
36
  firstMessageId: z.ZodString;
37
37
  from: z.ZodArray<z.ZodObject<{
38
38
  id: z.ZodString;
39
- createdAt: z.ZodString;
40
- updatedAt: z.ZodString;
41
- deletedAt: z.ZodNullable<z.ZodString>;
39
+ createdAt: z.ZodDate;
40
+ updatedAt: z.ZodDate;
41
+ deletedAt: z.ZodNullable<z.ZodDate>;
42
42
  name: z.ZodString;
43
43
  address: z.ZodString;
44
44
  }, "strip", z.ZodTypeAny, {
45
45
  id: string;
46
46
  address: string;
47
47
  name: string;
48
- createdAt: string;
49
- updatedAt: string;
50
- deletedAt: string | null;
48
+ createdAt: Date;
49
+ updatedAt: Date;
50
+ deletedAt: Date | null;
51
51
  }, {
52
52
  id: string;
53
53
  address: string;
54
54
  name: string;
55
- createdAt: string;
56
- updatedAt: string;
57
- deletedAt: string | null;
55
+ createdAt: Date;
56
+ updatedAt: Date;
57
+ deletedAt: Date | null;
58
58
  }>, "many">;
59
59
  to: z.ZodArray<z.ZodObject<{
60
60
  id: z.ZodString;
61
- createdAt: z.ZodString;
62
- updatedAt: z.ZodString;
63
- deletedAt: z.ZodNullable<z.ZodString>;
61
+ createdAt: z.ZodDate;
62
+ updatedAt: z.ZodDate;
63
+ deletedAt: z.ZodNullable<z.ZodDate>;
64
64
  name: z.ZodString;
65
65
  address: z.ZodString;
66
66
  }, "strip", z.ZodTypeAny, {
67
67
  id: string;
68
68
  address: string;
69
69
  name: string;
70
- createdAt: string;
71
- updatedAt: string;
72
- deletedAt: string | null;
70
+ createdAt: Date;
71
+ updatedAt: Date;
72
+ deletedAt: Date | null;
73
73
  }, {
74
74
  id: string;
75
75
  address: string;
76
76
  name: string;
77
- createdAt: string;
78
- updatedAt: string;
79
- deletedAt: string | null;
77
+ createdAt: Date;
78
+ updatedAt: Date;
79
+ deletedAt: Date | null;
80
80
  }>, "many">;
81
81
  cc: z.ZodArray<z.ZodObject<{
82
82
  id: z.ZodString;
83
- createdAt: z.ZodString;
84
- updatedAt: z.ZodString;
85
- deletedAt: z.ZodNullable<z.ZodString>;
83
+ createdAt: z.ZodDate;
84
+ updatedAt: z.ZodDate;
85
+ deletedAt: z.ZodNullable<z.ZodDate>;
86
86
  name: z.ZodString;
87
87
  address: z.ZodString;
88
88
  }, "strip", z.ZodTypeAny, {
89
89
  id: string;
90
90
  address: string;
91
91
  name: string;
92
- createdAt: string;
93
- updatedAt: string;
94
- deletedAt: string | null;
92
+ createdAt: Date;
93
+ updatedAt: Date;
94
+ deletedAt: Date | null;
95
95
  }, {
96
96
  id: string;
97
97
  address: string;
98
98
  name: string;
99
- createdAt: string;
100
- updatedAt: string;
101
- deletedAt: string | null;
99
+ createdAt: Date;
100
+ updatedAt: Date;
101
+ deletedAt: Date | null;
102
102
  }>, "many">;
103
103
  bcc: z.ZodArray<z.ZodObject<{
104
104
  id: z.ZodString;
105
- createdAt: z.ZodString;
106
- updatedAt: z.ZodString;
107
- deletedAt: z.ZodNullable<z.ZodString>;
105
+ createdAt: z.ZodDate;
106
+ updatedAt: z.ZodDate;
107
+ deletedAt: z.ZodNullable<z.ZodDate>;
108
108
  name: z.ZodString;
109
109
  address: z.ZodString;
110
110
  }, "strip", z.ZodTypeAny, {
111
111
  id: string;
112
112
  address: string;
113
113
  name: string;
114
- createdAt: string;
115
- updatedAt: string;
116
- deletedAt: string | null;
114
+ createdAt: Date;
115
+ updatedAt: Date;
116
+ deletedAt: Date | null;
117
117
  }, {
118
118
  id: string;
119
119
  address: string;
120
120
  name: string;
121
- createdAt: string;
122
- updatedAt: string;
123
- deletedAt: string | null;
121
+ createdAt: Date;
122
+ updatedAt: Date;
123
+ deletedAt: Date | null;
124
124
  }>, "many">;
125
125
  firstMessage: z.ZodObject<{
126
126
  id: z.ZodString;
127
- createdAt: z.ZodString;
128
- updatedAt: z.ZodString;
129
- deletedAt: z.ZodNullable<z.ZodString>;
127
+ createdAt: z.ZodDate;
128
+ updatedAt: z.ZodDate;
129
+ deletedAt: z.ZodNullable<z.ZodDate>;
130
130
  roomId: z.ZodString;
131
131
  subject: z.ZodString;
132
132
  textPlain: z.ZodString;
@@ -136,103 +136,103 @@ export declare const RoomContractsValidationSchema: {
136
136
  emailEngineMessageId: z.ZodString;
137
137
  emailEngineReplyTo: z.ZodNullable<z.ZodString>;
138
138
  direction: z.ZodString;
139
- date: z.ZodString;
139
+ date: z.ZodDate;
140
140
  action: z.ZodString;
141
141
  unseen: z.ZodBoolean;
142
142
  seemsLikeNew: z.ZodBoolean;
143
143
  from: z.ZodArray<z.ZodObject<{
144
144
  id: z.ZodString;
145
- createdAt: z.ZodString;
146
- updatedAt: z.ZodString;
147
- deletedAt: z.ZodNullable<z.ZodString>;
145
+ createdAt: z.ZodDate;
146
+ updatedAt: z.ZodDate;
147
+ deletedAt: z.ZodNullable<z.ZodDate>;
148
148
  name: z.ZodString;
149
149
  address: z.ZodString;
150
150
  }, "strip", z.ZodTypeAny, {
151
151
  id: string;
152
152
  address: string;
153
153
  name: string;
154
- createdAt: string;
155
- updatedAt: string;
156
- deletedAt: string | null;
154
+ createdAt: Date;
155
+ updatedAt: Date;
156
+ deletedAt: Date | null;
157
157
  }, {
158
158
  id: string;
159
159
  address: string;
160
160
  name: string;
161
- createdAt: string;
162
- updatedAt: string;
163
- deletedAt: string | null;
161
+ createdAt: Date;
162
+ updatedAt: Date;
163
+ deletedAt: Date | null;
164
164
  }>, "many">;
165
165
  to: z.ZodArray<z.ZodObject<{
166
166
  id: z.ZodString;
167
- createdAt: z.ZodString;
168
- updatedAt: z.ZodString;
169
- deletedAt: z.ZodNullable<z.ZodString>;
167
+ createdAt: z.ZodDate;
168
+ updatedAt: z.ZodDate;
169
+ deletedAt: z.ZodNullable<z.ZodDate>;
170
170
  name: z.ZodString;
171
171
  address: z.ZodString;
172
172
  }, "strip", z.ZodTypeAny, {
173
173
  id: string;
174
174
  address: string;
175
175
  name: string;
176
- createdAt: string;
177
- updatedAt: string;
178
- deletedAt: string | null;
176
+ createdAt: Date;
177
+ updatedAt: Date;
178
+ deletedAt: Date | null;
179
179
  }, {
180
180
  id: string;
181
181
  address: string;
182
182
  name: string;
183
- createdAt: string;
184
- updatedAt: string;
185
- deletedAt: string | null;
183
+ createdAt: Date;
184
+ updatedAt: Date;
185
+ deletedAt: Date | null;
186
186
  }>, "many">;
187
187
  cc: z.ZodArray<z.ZodObject<{
188
188
  id: z.ZodString;
189
- createdAt: z.ZodString;
190
- updatedAt: z.ZodString;
191
- deletedAt: z.ZodNullable<z.ZodString>;
189
+ createdAt: z.ZodDate;
190
+ updatedAt: z.ZodDate;
191
+ deletedAt: z.ZodNullable<z.ZodDate>;
192
192
  name: z.ZodString;
193
193
  address: z.ZodString;
194
194
  }, "strip", z.ZodTypeAny, {
195
195
  id: string;
196
196
  address: string;
197
197
  name: string;
198
- createdAt: string;
199
- updatedAt: string;
200
- deletedAt: string | null;
198
+ createdAt: Date;
199
+ updatedAt: Date;
200
+ deletedAt: Date | null;
201
201
  }, {
202
202
  id: string;
203
203
  address: string;
204
204
  name: string;
205
- createdAt: string;
206
- updatedAt: string;
207
- deletedAt: string | null;
205
+ createdAt: Date;
206
+ updatedAt: Date;
207
+ deletedAt: Date | null;
208
208
  }>, "many">;
209
209
  bcc: z.ZodArray<z.ZodObject<{
210
210
  id: z.ZodString;
211
- createdAt: z.ZodString;
212
- updatedAt: z.ZodString;
213
- deletedAt: z.ZodNullable<z.ZodString>;
211
+ createdAt: z.ZodDate;
212
+ updatedAt: z.ZodDate;
213
+ deletedAt: z.ZodNullable<z.ZodDate>;
214
214
  name: z.ZodString;
215
215
  address: z.ZodString;
216
216
  }, "strip", z.ZodTypeAny, {
217
217
  id: string;
218
218
  address: string;
219
219
  name: string;
220
- createdAt: string;
221
- updatedAt: string;
222
- deletedAt: string | null;
220
+ createdAt: Date;
221
+ updatedAt: Date;
222
+ deletedAt: Date | null;
223
223
  }, {
224
224
  id: string;
225
225
  address: string;
226
226
  name: string;
227
- createdAt: string;
228
- updatedAt: string;
229
- deletedAt: string | null;
227
+ createdAt: Date;
228
+ updatedAt: Date;
229
+ deletedAt: Date | null;
230
230
  }>, "many">;
231
231
  attachments: z.ZodArray<z.ZodObject<{
232
232
  id: z.ZodString;
233
- createdAt: z.ZodString;
234
- updatedAt: z.ZodString;
235
- deletedAt: z.ZodNullable<z.ZodString>;
233
+ createdAt: z.ZodDate;
234
+ updatedAt: z.ZodDate;
235
+ deletedAt: z.ZodNullable<z.ZodDate>;
236
236
  roomId: z.ZodString;
237
237
  messageId: z.ZodString;
238
238
  fileName: z.ZodString;
@@ -241,9 +241,9 @@ export declare const RoomContractsValidationSchema: {
241
241
  uploadId: z.ZodString;
242
242
  upload: z.ZodObject<{
243
243
  id: z.ZodString;
244
- createdAt: z.ZodString;
245
- updatedAt: z.ZodString;
246
- deletedAt: z.ZodNullable<z.ZodString>;
244
+ createdAt: z.ZodDate;
245
+ updatedAt: z.ZodDate;
246
+ deletedAt: z.ZodNullable<z.ZodDate>;
247
247
  bucket_name: z.ZodString;
248
248
  file_name: z.ZodString;
249
249
  file_key: z.ZodString;
@@ -252,9 +252,9 @@ export declare const RoomContractsValidationSchema: {
252
252
  extension_name: z.ZodString;
253
253
  }, "strip", z.ZodTypeAny, {
254
254
  id: string;
255
- createdAt: string;
256
- updatedAt: string;
257
- deletedAt: string | null;
255
+ createdAt: Date;
256
+ updatedAt: Date;
257
+ deletedAt: Date | null;
258
258
  bucket_name: string;
259
259
  file_name: string;
260
260
  file_key: string;
@@ -263,9 +263,9 @@ export declare const RoomContractsValidationSchema: {
263
263
  extension_name: string;
264
264
  }, {
265
265
  id: string;
266
- createdAt: string;
267
- updatedAt: string;
268
- deletedAt: string | null;
266
+ createdAt: Date;
267
+ updatedAt: Date;
268
+ deletedAt: Date | null;
269
269
  bucket_name: string;
270
270
  file_name: string;
271
271
  file_key: string;
@@ -275,16 +275,16 @@ export declare const RoomContractsValidationSchema: {
275
275
  }>;
276
276
  }, "strip", z.ZodTypeAny, {
277
277
  id: string;
278
- createdAt: string;
279
- updatedAt: string;
280
- deletedAt: string | null;
278
+ createdAt: Date;
279
+ updatedAt: Date;
280
+ deletedAt: Date | null;
281
281
  fileName: string;
282
282
  fileType: string;
283
283
  upload: {
284
284
  id: string;
285
- createdAt: string;
286
- updatedAt: string;
287
- deletedAt: string | null;
285
+ createdAt: Date;
286
+ updatedAt: Date;
287
+ deletedAt: Date | null;
288
288
  bucket_name: string;
289
289
  file_name: string;
290
290
  file_key: string;
@@ -298,16 +298,16 @@ export declare const RoomContractsValidationSchema: {
298
298
  emailEngineAttachmentId: string;
299
299
  }, {
300
300
  id: string;
301
- createdAt: string;
302
- updatedAt: string;
303
- deletedAt: string | null;
301
+ createdAt: Date;
302
+ updatedAt: Date;
303
+ deletedAt: Date | null;
304
304
  fileName: string;
305
305
  fileType: string;
306
306
  upload: {
307
307
  id: string;
308
- createdAt: string;
309
- updatedAt: string;
310
- deletedAt: string | null;
308
+ createdAt: Date;
309
+ updatedAt: Date;
310
+ deletedAt: Date | null;
311
311
  bucket_name: string;
312
312
  file_name: string;
313
313
  file_key: string;
@@ -324,23 +324,23 @@ export declare const RoomContractsValidationSchema: {
324
324
  id: string;
325
325
  direction: string;
326
326
  action: string;
327
- date: string;
328
- createdAt: string;
329
- updatedAt: string;
330
- deletedAt: string | null;
327
+ date: Date;
328
+ createdAt: Date;
329
+ updatedAt: Date;
330
+ deletedAt: Date | null;
331
331
  roomId: string;
332
332
  attachments: {
333
333
  id: string;
334
- createdAt: string;
335
- updatedAt: string;
336
- deletedAt: string | null;
334
+ createdAt: Date;
335
+ updatedAt: Date;
336
+ deletedAt: Date | null;
337
337
  fileName: string;
338
338
  fileType: string;
339
339
  upload: {
340
340
  id: string;
341
- createdAt: string;
342
- updatedAt: string;
343
- deletedAt: string | null;
341
+ createdAt: Date;
342
+ updatedAt: Date;
343
+ deletedAt: Date | null;
344
344
  bucket_name: string;
345
345
  file_name: string;
346
346
  file_key: string;
@@ -366,55 +366,55 @@ export declare const RoomContractsValidationSchema: {
366
366
  id: string;
367
367
  address: string;
368
368
  name: string;
369
- createdAt: string;
370
- updatedAt: string;
371
- deletedAt: string | null;
369
+ createdAt: Date;
370
+ updatedAt: Date;
371
+ deletedAt: Date | null;
372
372
  }[];
373
373
  to: {
374
374
  id: string;
375
375
  address: string;
376
376
  name: string;
377
- createdAt: string;
378
- updatedAt: string;
379
- deletedAt: string | null;
377
+ createdAt: Date;
378
+ updatedAt: Date;
379
+ deletedAt: Date | null;
380
380
  }[];
381
381
  cc: {
382
382
  id: string;
383
383
  address: string;
384
384
  name: string;
385
- createdAt: string;
386
- updatedAt: string;
387
- deletedAt: string | null;
385
+ createdAt: Date;
386
+ updatedAt: Date;
387
+ deletedAt: Date | null;
388
388
  }[];
389
389
  bcc: {
390
390
  id: string;
391
391
  address: string;
392
392
  name: string;
393
- createdAt: string;
394
- updatedAt: string;
395
- deletedAt: string | null;
393
+ createdAt: Date;
394
+ updatedAt: Date;
395
+ deletedAt: Date | null;
396
396
  }[];
397
397
  }, {
398
398
  id: string;
399
399
  direction: string;
400
400
  action: string;
401
- date: string;
402
- createdAt: string;
403
- updatedAt: string;
404
- deletedAt: string | null;
401
+ date: Date;
402
+ createdAt: Date;
403
+ updatedAt: Date;
404
+ deletedAt: Date | null;
405
405
  roomId: string;
406
406
  attachments: {
407
407
  id: string;
408
- createdAt: string;
409
- updatedAt: string;
410
- deletedAt: string | null;
408
+ createdAt: Date;
409
+ updatedAt: Date;
410
+ deletedAt: Date | null;
411
411
  fileName: string;
412
412
  fileType: string;
413
413
  upload: {
414
414
  id: string;
415
- createdAt: string;
416
- updatedAt: string;
417
- deletedAt: string | null;
415
+ createdAt: Date;
416
+ updatedAt: Date;
417
+ deletedAt: Date | null;
418
418
  bucket_name: string;
419
419
  file_name: string;
420
420
  file_key: string;
@@ -440,40 +440,40 @@ export declare const RoomContractsValidationSchema: {
440
440
  id: string;
441
441
  address: string;
442
442
  name: string;
443
- createdAt: string;
444
- updatedAt: string;
445
- deletedAt: string | null;
443
+ createdAt: Date;
444
+ updatedAt: Date;
445
+ deletedAt: Date | null;
446
446
  }[];
447
447
  to: {
448
448
  id: string;
449
449
  address: string;
450
450
  name: string;
451
- createdAt: string;
452
- updatedAt: string;
453
- deletedAt: string | null;
451
+ createdAt: Date;
452
+ updatedAt: Date;
453
+ deletedAt: Date | null;
454
454
  }[];
455
455
  cc: {
456
456
  id: string;
457
457
  address: string;
458
458
  name: string;
459
- createdAt: string;
460
- updatedAt: string;
461
- deletedAt: string | null;
459
+ createdAt: Date;
460
+ updatedAt: Date;
461
+ deletedAt: Date | null;
462
462
  }[];
463
463
  bcc: {
464
464
  id: string;
465
465
  address: string;
466
466
  name: string;
467
- createdAt: string;
468
- updatedAt: string;
469
- deletedAt: string | null;
467
+ createdAt: Date;
468
+ updatedAt: Date;
469
+ deletedAt: Date | null;
470
470
  }[];
471
471
  }>;
472
472
  lastMessage: z.ZodObject<{
473
473
  id: z.ZodString;
474
- createdAt: z.ZodString;
475
- updatedAt: z.ZodString;
476
- deletedAt: z.ZodNullable<z.ZodString>;
474
+ createdAt: z.ZodDate;
475
+ updatedAt: z.ZodDate;
476
+ deletedAt: z.ZodNullable<z.ZodDate>;
477
477
  roomId: z.ZodString;
478
478
  subject: z.ZodString;
479
479
  textPlain: z.ZodString;
@@ -483,103 +483,103 @@ export declare const RoomContractsValidationSchema: {
483
483
  emailEngineMessageId: z.ZodString;
484
484
  emailEngineReplyTo: z.ZodNullable<z.ZodString>;
485
485
  direction: z.ZodString;
486
- date: z.ZodString;
486
+ date: z.ZodDate;
487
487
  action: z.ZodString;
488
488
  unseen: z.ZodBoolean;
489
489
  seemsLikeNew: z.ZodBoolean;
490
490
  from: z.ZodArray<z.ZodObject<{
491
491
  id: z.ZodString;
492
- createdAt: z.ZodString;
493
- updatedAt: z.ZodString;
494
- deletedAt: z.ZodNullable<z.ZodString>;
492
+ createdAt: z.ZodDate;
493
+ updatedAt: z.ZodDate;
494
+ deletedAt: z.ZodNullable<z.ZodDate>;
495
495
  name: z.ZodString;
496
496
  address: z.ZodString;
497
497
  }, "strip", z.ZodTypeAny, {
498
498
  id: string;
499
499
  address: string;
500
500
  name: string;
501
- createdAt: string;
502
- updatedAt: string;
503
- deletedAt: string | null;
501
+ createdAt: Date;
502
+ updatedAt: Date;
503
+ deletedAt: Date | null;
504
504
  }, {
505
505
  id: string;
506
506
  address: string;
507
507
  name: string;
508
- createdAt: string;
509
- updatedAt: string;
510
- deletedAt: string | null;
508
+ createdAt: Date;
509
+ updatedAt: Date;
510
+ deletedAt: Date | null;
511
511
  }>, "many">;
512
512
  to: z.ZodArray<z.ZodObject<{
513
513
  id: z.ZodString;
514
- createdAt: z.ZodString;
515
- updatedAt: z.ZodString;
516
- deletedAt: z.ZodNullable<z.ZodString>;
514
+ createdAt: z.ZodDate;
515
+ updatedAt: z.ZodDate;
516
+ deletedAt: z.ZodNullable<z.ZodDate>;
517
517
  name: z.ZodString;
518
518
  address: z.ZodString;
519
519
  }, "strip", z.ZodTypeAny, {
520
520
  id: string;
521
521
  address: string;
522
522
  name: string;
523
- createdAt: string;
524
- updatedAt: string;
525
- deletedAt: string | null;
523
+ createdAt: Date;
524
+ updatedAt: Date;
525
+ deletedAt: Date | null;
526
526
  }, {
527
527
  id: string;
528
528
  address: string;
529
529
  name: string;
530
- createdAt: string;
531
- updatedAt: string;
532
- deletedAt: string | null;
530
+ createdAt: Date;
531
+ updatedAt: Date;
532
+ deletedAt: Date | null;
533
533
  }>, "many">;
534
534
  cc: z.ZodArray<z.ZodObject<{
535
535
  id: z.ZodString;
536
- createdAt: z.ZodString;
537
- updatedAt: z.ZodString;
538
- deletedAt: z.ZodNullable<z.ZodString>;
536
+ createdAt: z.ZodDate;
537
+ updatedAt: z.ZodDate;
538
+ deletedAt: z.ZodNullable<z.ZodDate>;
539
539
  name: z.ZodString;
540
540
  address: z.ZodString;
541
541
  }, "strip", z.ZodTypeAny, {
542
542
  id: string;
543
543
  address: string;
544
544
  name: string;
545
- createdAt: string;
546
- updatedAt: string;
547
- deletedAt: string | null;
545
+ createdAt: Date;
546
+ updatedAt: Date;
547
+ deletedAt: Date | null;
548
548
  }, {
549
549
  id: string;
550
550
  address: string;
551
551
  name: string;
552
- createdAt: string;
553
- updatedAt: string;
554
- deletedAt: string | null;
552
+ createdAt: Date;
553
+ updatedAt: Date;
554
+ deletedAt: Date | null;
555
555
  }>, "many">;
556
556
  bcc: z.ZodArray<z.ZodObject<{
557
557
  id: z.ZodString;
558
- createdAt: z.ZodString;
559
- updatedAt: z.ZodString;
560
- deletedAt: z.ZodNullable<z.ZodString>;
558
+ createdAt: z.ZodDate;
559
+ updatedAt: z.ZodDate;
560
+ deletedAt: z.ZodNullable<z.ZodDate>;
561
561
  name: z.ZodString;
562
562
  address: z.ZodString;
563
563
  }, "strip", z.ZodTypeAny, {
564
564
  id: string;
565
565
  address: string;
566
566
  name: string;
567
- createdAt: string;
568
- updatedAt: string;
569
- deletedAt: string | null;
567
+ createdAt: Date;
568
+ updatedAt: Date;
569
+ deletedAt: Date | null;
570
570
  }, {
571
571
  id: string;
572
572
  address: string;
573
573
  name: string;
574
- createdAt: string;
575
- updatedAt: string;
576
- deletedAt: string | null;
574
+ createdAt: Date;
575
+ updatedAt: Date;
576
+ deletedAt: Date | null;
577
577
  }>, "many">;
578
578
  attachments: z.ZodArray<z.ZodObject<{
579
579
  id: z.ZodString;
580
- createdAt: z.ZodString;
581
- updatedAt: z.ZodString;
582
- deletedAt: z.ZodNullable<z.ZodString>;
580
+ createdAt: z.ZodDate;
581
+ updatedAt: z.ZodDate;
582
+ deletedAt: z.ZodNullable<z.ZodDate>;
583
583
  roomId: z.ZodString;
584
584
  messageId: z.ZodString;
585
585
  fileName: z.ZodString;
@@ -588,9 +588,9 @@ export declare const RoomContractsValidationSchema: {
588
588
  uploadId: z.ZodString;
589
589
  upload: z.ZodObject<{
590
590
  id: z.ZodString;
591
- createdAt: z.ZodString;
592
- updatedAt: z.ZodString;
593
- deletedAt: z.ZodNullable<z.ZodString>;
591
+ createdAt: z.ZodDate;
592
+ updatedAt: z.ZodDate;
593
+ deletedAt: z.ZodNullable<z.ZodDate>;
594
594
  bucket_name: z.ZodString;
595
595
  file_name: z.ZodString;
596
596
  file_key: z.ZodString;
@@ -599,9 +599,9 @@ export declare const RoomContractsValidationSchema: {
599
599
  extension_name: z.ZodString;
600
600
  }, "strip", z.ZodTypeAny, {
601
601
  id: string;
602
- createdAt: string;
603
- updatedAt: string;
604
- deletedAt: string | null;
602
+ createdAt: Date;
603
+ updatedAt: Date;
604
+ deletedAt: Date | null;
605
605
  bucket_name: string;
606
606
  file_name: string;
607
607
  file_key: string;
@@ -610,9 +610,9 @@ export declare const RoomContractsValidationSchema: {
610
610
  extension_name: string;
611
611
  }, {
612
612
  id: string;
613
- createdAt: string;
614
- updatedAt: string;
615
- deletedAt: string | null;
613
+ createdAt: Date;
614
+ updatedAt: Date;
615
+ deletedAt: Date | null;
616
616
  bucket_name: string;
617
617
  file_name: string;
618
618
  file_key: string;
@@ -622,16 +622,16 @@ export declare const RoomContractsValidationSchema: {
622
622
  }>;
623
623
  }, "strip", z.ZodTypeAny, {
624
624
  id: string;
625
- createdAt: string;
626
- updatedAt: string;
627
- deletedAt: string | null;
625
+ createdAt: Date;
626
+ updatedAt: Date;
627
+ deletedAt: Date | null;
628
628
  fileName: string;
629
629
  fileType: string;
630
630
  upload: {
631
631
  id: string;
632
- createdAt: string;
633
- updatedAt: string;
634
- deletedAt: string | null;
632
+ createdAt: Date;
633
+ updatedAt: Date;
634
+ deletedAt: Date | null;
635
635
  bucket_name: string;
636
636
  file_name: string;
637
637
  file_key: string;
@@ -645,16 +645,16 @@ export declare const RoomContractsValidationSchema: {
645
645
  emailEngineAttachmentId: string;
646
646
  }, {
647
647
  id: string;
648
- createdAt: string;
649
- updatedAt: string;
650
- deletedAt: string | null;
648
+ createdAt: Date;
649
+ updatedAt: Date;
650
+ deletedAt: Date | null;
651
651
  fileName: string;
652
652
  fileType: string;
653
653
  upload: {
654
654
  id: string;
655
- createdAt: string;
656
- updatedAt: string;
657
- deletedAt: string | null;
655
+ createdAt: Date;
656
+ updatedAt: Date;
657
+ deletedAt: Date | null;
658
658
  bucket_name: string;
659
659
  file_name: string;
660
660
  file_key: string;
@@ -671,23 +671,23 @@ export declare const RoomContractsValidationSchema: {
671
671
  id: string;
672
672
  direction: string;
673
673
  action: string;
674
- date: string;
675
- createdAt: string;
676
- updatedAt: string;
677
- deletedAt: string | null;
674
+ date: Date;
675
+ createdAt: Date;
676
+ updatedAt: Date;
677
+ deletedAt: Date | null;
678
678
  roomId: string;
679
679
  attachments: {
680
680
  id: string;
681
- createdAt: string;
682
- updatedAt: string;
683
- deletedAt: string | null;
681
+ createdAt: Date;
682
+ updatedAt: Date;
683
+ deletedAt: Date | null;
684
684
  fileName: string;
685
685
  fileType: string;
686
686
  upload: {
687
687
  id: string;
688
- createdAt: string;
689
- updatedAt: string;
690
- deletedAt: string | null;
688
+ createdAt: Date;
689
+ updatedAt: Date;
690
+ deletedAt: Date | null;
691
691
  bucket_name: string;
692
692
  file_name: string;
693
693
  file_key: string;
@@ -713,55 +713,55 @@ export declare const RoomContractsValidationSchema: {
713
713
  id: string;
714
714
  address: string;
715
715
  name: string;
716
- createdAt: string;
717
- updatedAt: string;
718
- deletedAt: string | null;
716
+ createdAt: Date;
717
+ updatedAt: Date;
718
+ deletedAt: Date | null;
719
719
  }[];
720
720
  to: {
721
721
  id: string;
722
722
  address: string;
723
723
  name: string;
724
- createdAt: string;
725
- updatedAt: string;
726
- deletedAt: string | null;
724
+ createdAt: Date;
725
+ updatedAt: Date;
726
+ deletedAt: Date | null;
727
727
  }[];
728
728
  cc: {
729
729
  id: string;
730
730
  address: string;
731
731
  name: string;
732
- createdAt: string;
733
- updatedAt: string;
734
- deletedAt: string | null;
732
+ createdAt: Date;
733
+ updatedAt: Date;
734
+ deletedAt: Date | null;
735
735
  }[];
736
736
  bcc: {
737
737
  id: string;
738
738
  address: string;
739
739
  name: string;
740
- createdAt: string;
741
- updatedAt: string;
742
- deletedAt: string | null;
740
+ createdAt: Date;
741
+ updatedAt: Date;
742
+ deletedAt: Date | null;
743
743
  }[];
744
744
  }, {
745
745
  id: string;
746
746
  direction: string;
747
747
  action: string;
748
- date: string;
749
- createdAt: string;
750
- updatedAt: string;
751
- deletedAt: string | null;
748
+ date: Date;
749
+ createdAt: Date;
750
+ updatedAt: Date;
751
+ deletedAt: Date | null;
752
752
  roomId: string;
753
753
  attachments: {
754
754
  id: string;
755
- createdAt: string;
756
- updatedAt: string;
757
- deletedAt: string | null;
755
+ createdAt: Date;
756
+ updatedAt: Date;
757
+ deletedAt: Date | null;
758
758
  fileName: string;
759
759
  fileType: string;
760
760
  upload: {
761
761
  id: string;
762
- createdAt: string;
763
- updatedAt: string;
764
- deletedAt: string | null;
762
+ createdAt: Date;
763
+ updatedAt: Date;
764
+ deletedAt: Date | null;
765
765
  bucket_name: string;
766
766
  file_name: string;
767
767
  file_key: string;
@@ -787,62 +787,62 @@ export declare const RoomContractsValidationSchema: {
787
787
  id: string;
788
788
  address: string;
789
789
  name: string;
790
- createdAt: string;
791
- updatedAt: string;
792
- deletedAt: string | null;
790
+ createdAt: Date;
791
+ updatedAt: Date;
792
+ deletedAt: Date | null;
793
793
  }[];
794
794
  to: {
795
795
  id: string;
796
796
  address: string;
797
797
  name: string;
798
- createdAt: string;
799
- updatedAt: string;
800
- deletedAt: string | null;
798
+ createdAt: Date;
799
+ updatedAt: Date;
800
+ deletedAt: Date | null;
801
801
  }[];
802
802
  cc: {
803
803
  id: string;
804
804
  address: string;
805
805
  name: string;
806
- createdAt: string;
807
- updatedAt: string;
808
- deletedAt: string | null;
806
+ createdAt: Date;
807
+ updatedAt: Date;
808
+ deletedAt: Date | null;
809
809
  }[];
810
810
  bcc: {
811
811
  id: string;
812
812
  address: string;
813
813
  name: string;
814
- createdAt: string;
815
- updatedAt: string;
816
- deletedAt: string | null;
814
+ createdAt: Date;
815
+ updatedAt: Date;
816
+ deletedAt: Date | null;
817
817
  }[];
818
818
  }>;
819
819
  tags: z.ZodArray<z.ZodObject<{
820
820
  color: z.ZodString;
821
821
  id: z.ZodString;
822
- createdAt: z.ZodString;
823
- updatedAt: z.ZodString;
824
- deletedAt: z.ZodNullable<z.ZodString>;
822
+ createdAt: z.ZodDate;
823
+ updatedAt: z.ZodDate;
824
+ deletedAt: z.ZodNullable<z.ZodDate>;
825
825
  name: z.ZodString;
826
826
  }, "strip", z.ZodTypeAny, {
827
827
  id: string;
828
828
  name: string;
829
829
  color: string;
830
- createdAt: string;
831
- updatedAt: string;
832
- deletedAt: string | null;
830
+ createdAt: Date;
831
+ updatedAt: Date;
832
+ deletedAt: Date | null;
833
833
  }, {
834
834
  id: string;
835
835
  name: string;
836
836
  color: string;
837
- createdAt: string;
838
- updatedAt: string;
839
- deletedAt: string | null;
837
+ createdAt: Date;
838
+ updatedAt: Date;
839
+ deletedAt: Date | null;
840
840
  }>, "many">;
841
841
  assignee: z.ZodObject<{
842
842
  id: z.ZodString;
843
- createdAt: z.ZodString;
844
- updatedAt: z.ZodString;
845
- deletedAt: z.ZodNullable<z.ZodString>;
843
+ createdAt: z.ZodDate;
844
+ updatedAt: z.ZodDate;
845
+ deletedAt: z.ZodNullable<z.ZodDate>;
846
846
  name: z.ZodString;
847
847
  email: z.ZodString;
848
848
  address: z.ZodNullable<z.ZodString>;
@@ -853,9 +853,9 @@ export declare const RoomContractsValidationSchema: {
853
853
  address: string | null;
854
854
  name: string;
855
855
  email: string;
856
- createdAt: string;
857
- updatedAt: string;
858
- deletedAt: string | null;
856
+ createdAt: Date;
857
+ updatedAt: Date;
858
+ deletedAt: Date | null;
859
859
  phone: string | null;
860
860
  notification_count: number | null;
861
861
  }, {
@@ -863,17 +863,17 @@ export declare const RoomContractsValidationSchema: {
863
863
  address: string | null;
864
864
  name: string;
865
865
  email: string;
866
- createdAt: string;
867
- updatedAt: string;
868
- deletedAt: string | null;
866
+ createdAt: Date;
867
+ updatedAt: Date;
868
+ deletedAt: Date | null;
869
869
  phone: string | null;
870
870
  notification_count: number | null;
871
871
  }>;
872
872
  messages: z.ZodArray<z.ZodObject<{
873
873
  id: z.ZodString;
874
- createdAt: z.ZodString;
875
- updatedAt: z.ZodString;
876
- deletedAt: z.ZodNullable<z.ZodString>;
874
+ createdAt: z.ZodDate;
875
+ updatedAt: z.ZodDate;
876
+ deletedAt: z.ZodNullable<z.ZodDate>;
877
877
  roomId: z.ZodString;
878
878
  subject: z.ZodString;
879
879
  textPlain: z.ZodString;
@@ -883,103 +883,103 @@ export declare const RoomContractsValidationSchema: {
883
883
  emailEngineMessageId: z.ZodString;
884
884
  emailEngineReplyTo: z.ZodNullable<z.ZodString>;
885
885
  direction: z.ZodString;
886
- date: z.ZodString;
886
+ date: z.ZodDate;
887
887
  action: z.ZodString;
888
888
  unseen: z.ZodBoolean;
889
889
  seemsLikeNew: z.ZodBoolean;
890
890
  from: z.ZodArray<z.ZodObject<{
891
891
  id: z.ZodString;
892
- createdAt: z.ZodString;
893
- updatedAt: z.ZodString;
894
- deletedAt: z.ZodNullable<z.ZodString>;
892
+ createdAt: z.ZodDate;
893
+ updatedAt: z.ZodDate;
894
+ deletedAt: z.ZodNullable<z.ZodDate>;
895
895
  name: z.ZodString;
896
896
  address: z.ZodString;
897
897
  }, "strip", z.ZodTypeAny, {
898
898
  id: string;
899
899
  address: string;
900
900
  name: string;
901
- createdAt: string;
902
- updatedAt: string;
903
- deletedAt: string | null;
901
+ createdAt: Date;
902
+ updatedAt: Date;
903
+ deletedAt: Date | null;
904
904
  }, {
905
905
  id: string;
906
906
  address: string;
907
907
  name: string;
908
- createdAt: string;
909
- updatedAt: string;
910
- deletedAt: string | null;
908
+ createdAt: Date;
909
+ updatedAt: Date;
910
+ deletedAt: Date | null;
911
911
  }>, "many">;
912
912
  to: z.ZodArray<z.ZodObject<{
913
913
  id: z.ZodString;
914
- createdAt: z.ZodString;
915
- updatedAt: z.ZodString;
916
- deletedAt: z.ZodNullable<z.ZodString>;
914
+ createdAt: z.ZodDate;
915
+ updatedAt: z.ZodDate;
916
+ deletedAt: z.ZodNullable<z.ZodDate>;
917
917
  name: z.ZodString;
918
918
  address: z.ZodString;
919
919
  }, "strip", z.ZodTypeAny, {
920
920
  id: string;
921
921
  address: string;
922
922
  name: string;
923
- createdAt: string;
924
- updatedAt: string;
925
- deletedAt: string | null;
923
+ createdAt: Date;
924
+ updatedAt: Date;
925
+ deletedAt: Date | null;
926
926
  }, {
927
927
  id: string;
928
928
  address: string;
929
929
  name: string;
930
- createdAt: string;
931
- updatedAt: string;
932
- deletedAt: string | null;
930
+ createdAt: Date;
931
+ updatedAt: Date;
932
+ deletedAt: Date | null;
933
933
  }>, "many">;
934
934
  cc: z.ZodArray<z.ZodObject<{
935
935
  id: z.ZodString;
936
- createdAt: z.ZodString;
937
- updatedAt: z.ZodString;
938
- deletedAt: z.ZodNullable<z.ZodString>;
936
+ createdAt: z.ZodDate;
937
+ updatedAt: z.ZodDate;
938
+ deletedAt: z.ZodNullable<z.ZodDate>;
939
939
  name: z.ZodString;
940
940
  address: z.ZodString;
941
941
  }, "strip", z.ZodTypeAny, {
942
942
  id: string;
943
943
  address: string;
944
944
  name: string;
945
- createdAt: string;
946
- updatedAt: string;
947
- deletedAt: string | null;
945
+ createdAt: Date;
946
+ updatedAt: Date;
947
+ deletedAt: Date | null;
948
948
  }, {
949
949
  id: string;
950
950
  address: string;
951
951
  name: string;
952
- createdAt: string;
953
- updatedAt: string;
954
- deletedAt: string | null;
952
+ createdAt: Date;
953
+ updatedAt: Date;
954
+ deletedAt: Date | null;
955
955
  }>, "many">;
956
956
  bcc: z.ZodArray<z.ZodObject<{
957
957
  id: z.ZodString;
958
- createdAt: z.ZodString;
959
- updatedAt: z.ZodString;
960
- deletedAt: z.ZodNullable<z.ZodString>;
958
+ createdAt: z.ZodDate;
959
+ updatedAt: z.ZodDate;
960
+ deletedAt: z.ZodNullable<z.ZodDate>;
961
961
  name: z.ZodString;
962
962
  address: z.ZodString;
963
963
  }, "strip", z.ZodTypeAny, {
964
964
  id: string;
965
965
  address: string;
966
966
  name: string;
967
- createdAt: string;
968
- updatedAt: string;
969
- deletedAt: string | null;
967
+ createdAt: Date;
968
+ updatedAt: Date;
969
+ deletedAt: Date | null;
970
970
  }, {
971
971
  id: string;
972
972
  address: string;
973
973
  name: string;
974
- createdAt: string;
975
- updatedAt: string;
976
- deletedAt: string | null;
974
+ createdAt: Date;
975
+ updatedAt: Date;
976
+ deletedAt: Date | null;
977
977
  }>, "many">;
978
978
  attachments: z.ZodArray<z.ZodObject<{
979
979
  id: z.ZodString;
980
- createdAt: z.ZodString;
981
- updatedAt: z.ZodString;
982
- deletedAt: z.ZodNullable<z.ZodString>;
980
+ createdAt: z.ZodDate;
981
+ updatedAt: z.ZodDate;
982
+ deletedAt: z.ZodNullable<z.ZodDate>;
983
983
  roomId: z.ZodString;
984
984
  messageId: z.ZodString;
985
985
  fileName: z.ZodString;
@@ -988,9 +988,9 @@ export declare const RoomContractsValidationSchema: {
988
988
  uploadId: z.ZodString;
989
989
  upload: z.ZodObject<{
990
990
  id: z.ZodString;
991
- createdAt: z.ZodString;
992
- updatedAt: z.ZodString;
993
- deletedAt: z.ZodNullable<z.ZodString>;
991
+ createdAt: z.ZodDate;
992
+ updatedAt: z.ZodDate;
993
+ deletedAt: z.ZodNullable<z.ZodDate>;
994
994
  bucket_name: z.ZodString;
995
995
  file_name: z.ZodString;
996
996
  file_key: z.ZodString;
@@ -999,9 +999,9 @@ export declare const RoomContractsValidationSchema: {
999
999
  extension_name: z.ZodString;
1000
1000
  }, "strip", z.ZodTypeAny, {
1001
1001
  id: string;
1002
- createdAt: string;
1003
- updatedAt: string;
1004
- deletedAt: string | null;
1002
+ createdAt: Date;
1003
+ updatedAt: Date;
1004
+ deletedAt: Date | null;
1005
1005
  bucket_name: string;
1006
1006
  file_name: string;
1007
1007
  file_key: string;
@@ -1010,9 +1010,9 @@ export declare const RoomContractsValidationSchema: {
1010
1010
  extension_name: string;
1011
1011
  }, {
1012
1012
  id: string;
1013
- createdAt: string;
1014
- updatedAt: string;
1015
- deletedAt: string | null;
1013
+ createdAt: Date;
1014
+ updatedAt: Date;
1015
+ deletedAt: Date | null;
1016
1016
  bucket_name: string;
1017
1017
  file_name: string;
1018
1018
  file_key: string;
@@ -1022,16 +1022,16 @@ export declare const RoomContractsValidationSchema: {
1022
1022
  }>;
1023
1023
  }, "strip", z.ZodTypeAny, {
1024
1024
  id: string;
1025
- createdAt: string;
1026
- updatedAt: string;
1027
- deletedAt: string | null;
1025
+ createdAt: Date;
1026
+ updatedAt: Date;
1027
+ deletedAt: Date | null;
1028
1028
  fileName: string;
1029
1029
  fileType: string;
1030
1030
  upload: {
1031
1031
  id: string;
1032
- createdAt: string;
1033
- updatedAt: string;
1034
- deletedAt: string | null;
1032
+ createdAt: Date;
1033
+ updatedAt: Date;
1034
+ deletedAt: Date | null;
1035
1035
  bucket_name: string;
1036
1036
  file_name: string;
1037
1037
  file_key: string;
@@ -1045,16 +1045,16 @@ export declare const RoomContractsValidationSchema: {
1045
1045
  emailEngineAttachmentId: string;
1046
1046
  }, {
1047
1047
  id: string;
1048
- createdAt: string;
1049
- updatedAt: string;
1050
- deletedAt: string | null;
1048
+ createdAt: Date;
1049
+ updatedAt: Date;
1050
+ deletedAt: Date | null;
1051
1051
  fileName: string;
1052
1052
  fileType: string;
1053
1053
  upload: {
1054
1054
  id: string;
1055
- createdAt: string;
1056
- updatedAt: string;
1057
- deletedAt: string | null;
1055
+ createdAt: Date;
1056
+ updatedAt: Date;
1057
+ deletedAt: Date | null;
1058
1058
  bucket_name: string;
1059
1059
  file_name: string;
1060
1060
  file_key: string;
@@ -1071,23 +1071,23 @@ export declare const RoomContractsValidationSchema: {
1071
1071
  id: string;
1072
1072
  direction: string;
1073
1073
  action: string;
1074
- date: string;
1075
- createdAt: string;
1076
- updatedAt: string;
1077
- deletedAt: string | null;
1074
+ date: Date;
1075
+ createdAt: Date;
1076
+ updatedAt: Date;
1077
+ deletedAt: Date | null;
1078
1078
  roomId: string;
1079
1079
  attachments: {
1080
1080
  id: string;
1081
- createdAt: string;
1082
- updatedAt: string;
1083
- deletedAt: string | null;
1081
+ createdAt: Date;
1082
+ updatedAt: Date;
1083
+ deletedAt: Date | null;
1084
1084
  fileName: string;
1085
1085
  fileType: string;
1086
1086
  upload: {
1087
1087
  id: string;
1088
- createdAt: string;
1089
- updatedAt: string;
1090
- deletedAt: string | null;
1088
+ createdAt: Date;
1089
+ updatedAt: Date;
1090
+ deletedAt: Date | null;
1091
1091
  bucket_name: string;
1092
1092
  file_name: string;
1093
1093
  file_key: string;
@@ -1113,55 +1113,55 @@ export declare const RoomContractsValidationSchema: {
1113
1113
  id: string;
1114
1114
  address: string;
1115
1115
  name: string;
1116
- createdAt: string;
1117
- updatedAt: string;
1118
- deletedAt: string | null;
1116
+ createdAt: Date;
1117
+ updatedAt: Date;
1118
+ deletedAt: Date | null;
1119
1119
  }[];
1120
1120
  to: {
1121
1121
  id: string;
1122
1122
  address: string;
1123
1123
  name: string;
1124
- createdAt: string;
1125
- updatedAt: string;
1126
- deletedAt: string | null;
1124
+ createdAt: Date;
1125
+ updatedAt: Date;
1126
+ deletedAt: Date | null;
1127
1127
  }[];
1128
1128
  cc: {
1129
1129
  id: string;
1130
1130
  address: string;
1131
1131
  name: string;
1132
- createdAt: string;
1133
- updatedAt: string;
1134
- deletedAt: string | null;
1132
+ createdAt: Date;
1133
+ updatedAt: Date;
1134
+ deletedAt: Date | null;
1135
1135
  }[];
1136
1136
  bcc: {
1137
1137
  id: string;
1138
1138
  address: string;
1139
1139
  name: string;
1140
- createdAt: string;
1141
- updatedAt: string;
1142
- deletedAt: string | null;
1140
+ createdAt: Date;
1141
+ updatedAt: Date;
1142
+ deletedAt: Date | null;
1143
1143
  }[];
1144
1144
  }, {
1145
1145
  id: string;
1146
1146
  direction: string;
1147
1147
  action: string;
1148
- date: string;
1149
- createdAt: string;
1150
- updatedAt: string;
1151
- deletedAt: string | null;
1148
+ date: Date;
1149
+ createdAt: Date;
1150
+ updatedAt: Date;
1151
+ deletedAt: Date | null;
1152
1152
  roomId: string;
1153
1153
  attachments: {
1154
1154
  id: string;
1155
- createdAt: string;
1156
- updatedAt: string;
1157
- deletedAt: string | null;
1155
+ createdAt: Date;
1156
+ updatedAt: Date;
1157
+ deletedAt: Date | null;
1158
1158
  fileName: string;
1159
1159
  fileType: string;
1160
1160
  upload: {
1161
1161
  id: string;
1162
- createdAt: string;
1163
- updatedAt: string;
1164
- deletedAt: string | null;
1162
+ createdAt: Date;
1163
+ updatedAt: Date;
1164
+ deletedAt: Date | null;
1165
1165
  bucket_name: string;
1166
1166
  file_name: string;
1167
1167
  file_key: string;
@@ -1187,40 +1187,40 @@ export declare const RoomContractsValidationSchema: {
1187
1187
  id: string;
1188
1188
  address: string;
1189
1189
  name: string;
1190
- createdAt: string;
1191
- updatedAt: string;
1192
- deletedAt: string | null;
1190
+ createdAt: Date;
1191
+ updatedAt: Date;
1192
+ deletedAt: Date | null;
1193
1193
  }[];
1194
1194
  to: {
1195
1195
  id: string;
1196
1196
  address: string;
1197
1197
  name: string;
1198
- createdAt: string;
1199
- updatedAt: string;
1200
- deletedAt: string | null;
1198
+ createdAt: Date;
1199
+ updatedAt: Date;
1200
+ deletedAt: Date | null;
1201
1201
  }[];
1202
1202
  cc: {
1203
1203
  id: string;
1204
1204
  address: string;
1205
1205
  name: string;
1206
- createdAt: string;
1207
- updatedAt: string;
1208
- deletedAt: string | null;
1206
+ createdAt: Date;
1207
+ updatedAt: Date;
1208
+ deletedAt: Date | null;
1209
1209
  }[];
1210
1210
  bcc: {
1211
1211
  id: string;
1212
1212
  address: string;
1213
1213
  name: string;
1214
- createdAt: string;
1215
- updatedAt: string;
1216
- deletedAt: string | null;
1214
+ createdAt: Date;
1215
+ updatedAt: Date;
1216
+ deletedAt: Date | null;
1217
1217
  }[];
1218
1218
  }>, "many">;
1219
1219
  messagesAndLogs: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1220
1220
  id: z.ZodString;
1221
- createdAt: z.ZodString;
1222
- updatedAt: z.ZodString;
1223
- deletedAt: z.ZodNullable<z.ZodString>;
1221
+ createdAt: z.ZodDate;
1222
+ updatedAt: z.ZodDate;
1223
+ deletedAt: z.ZodNullable<z.ZodDate>;
1224
1224
  roomId: z.ZodString;
1225
1225
  subject: z.ZodString;
1226
1226
  textPlain: z.ZodString;
@@ -1230,103 +1230,103 @@ export declare const RoomContractsValidationSchema: {
1230
1230
  emailEngineMessageId: z.ZodString;
1231
1231
  emailEngineReplyTo: z.ZodNullable<z.ZodString>;
1232
1232
  direction: z.ZodString;
1233
- date: z.ZodString;
1233
+ date: z.ZodDate;
1234
1234
  action: z.ZodString;
1235
1235
  unseen: z.ZodBoolean;
1236
1236
  seemsLikeNew: z.ZodBoolean;
1237
1237
  from: z.ZodArray<z.ZodObject<{
1238
1238
  id: z.ZodString;
1239
- createdAt: z.ZodString;
1240
- updatedAt: z.ZodString;
1241
- deletedAt: z.ZodNullable<z.ZodString>;
1239
+ createdAt: z.ZodDate;
1240
+ updatedAt: z.ZodDate;
1241
+ deletedAt: z.ZodNullable<z.ZodDate>;
1242
1242
  name: z.ZodString;
1243
1243
  address: z.ZodString;
1244
1244
  }, "strip", z.ZodTypeAny, {
1245
1245
  id: string;
1246
1246
  address: string;
1247
1247
  name: string;
1248
- createdAt: string;
1249
- updatedAt: string;
1250
- deletedAt: string | null;
1248
+ createdAt: Date;
1249
+ updatedAt: Date;
1250
+ deletedAt: Date | null;
1251
1251
  }, {
1252
1252
  id: string;
1253
1253
  address: string;
1254
1254
  name: string;
1255
- createdAt: string;
1256
- updatedAt: string;
1257
- deletedAt: string | null;
1255
+ createdAt: Date;
1256
+ updatedAt: Date;
1257
+ deletedAt: Date | null;
1258
1258
  }>, "many">;
1259
1259
  to: z.ZodArray<z.ZodObject<{
1260
1260
  id: z.ZodString;
1261
- createdAt: z.ZodString;
1262
- updatedAt: z.ZodString;
1263
- deletedAt: z.ZodNullable<z.ZodString>;
1261
+ createdAt: z.ZodDate;
1262
+ updatedAt: z.ZodDate;
1263
+ deletedAt: z.ZodNullable<z.ZodDate>;
1264
1264
  name: z.ZodString;
1265
1265
  address: z.ZodString;
1266
1266
  }, "strip", z.ZodTypeAny, {
1267
1267
  id: string;
1268
1268
  address: string;
1269
1269
  name: string;
1270
- createdAt: string;
1271
- updatedAt: string;
1272
- deletedAt: string | null;
1270
+ createdAt: Date;
1271
+ updatedAt: Date;
1272
+ deletedAt: Date | null;
1273
1273
  }, {
1274
1274
  id: string;
1275
1275
  address: string;
1276
1276
  name: string;
1277
- createdAt: string;
1278
- updatedAt: string;
1279
- deletedAt: string | null;
1277
+ createdAt: Date;
1278
+ updatedAt: Date;
1279
+ deletedAt: Date | null;
1280
1280
  }>, "many">;
1281
1281
  cc: z.ZodArray<z.ZodObject<{
1282
1282
  id: z.ZodString;
1283
- createdAt: z.ZodString;
1284
- updatedAt: z.ZodString;
1285
- deletedAt: z.ZodNullable<z.ZodString>;
1283
+ createdAt: z.ZodDate;
1284
+ updatedAt: z.ZodDate;
1285
+ deletedAt: z.ZodNullable<z.ZodDate>;
1286
1286
  name: z.ZodString;
1287
1287
  address: z.ZodString;
1288
1288
  }, "strip", z.ZodTypeAny, {
1289
1289
  id: string;
1290
1290
  address: string;
1291
1291
  name: string;
1292
- createdAt: string;
1293
- updatedAt: string;
1294
- deletedAt: string | null;
1292
+ createdAt: Date;
1293
+ updatedAt: Date;
1294
+ deletedAt: Date | null;
1295
1295
  }, {
1296
1296
  id: string;
1297
1297
  address: string;
1298
1298
  name: string;
1299
- createdAt: string;
1300
- updatedAt: string;
1301
- deletedAt: string | null;
1299
+ createdAt: Date;
1300
+ updatedAt: Date;
1301
+ deletedAt: Date | null;
1302
1302
  }>, "many">;
1303
1303
  bcc: z.ZodArray<z.ZodObject<{
1304
1304
  id: z.ZodString;
1305
- createdAt: z.ZodString;
1306
- updatedAt: z.ZodString;
1307
- deletedAt: z.ZodNullable<z.ZodString>;
1305
+ createdAt: z.ZodDate;
1306
+ updatedAt: z.ZodDate;
1307
+ deletedAt: z.ZodNullable<z.ZodDate>;
1308
1308
  name: z.ZodString;
1309
1309
  address: z.ZodString;
1310
1310
  }, "strip", z.ZodTypeAny, {
1311
1311
  id: string;
1312
1312
  address: string;
1313
1313
  name: string;
1314
- createdAt: string;
1315
- updatedAt: string;
1316
- deletedAt: string | null;
1314
+ createdAt: Date;
1315
+ updatedAt: Date;
1316
+ deletedAt: Date | null;
1317
1317
  }, {
1318
1318
  id: string;
1319
1319
  address: string;
1320
1320
  name: string;
1321
- createdAt: string;
1322
- updatedAt: string;
1323
- deletedAt: string | null;
1321
+ createdAt: Date;
1322
+ updatedAt: Date;
1323
+ deletedAt: Date | null;
1324
1324
  }>, "many">;
1325
1325
  attachments: z.ZodArray<z.ZodObject<{
1326
1326
  id: z.ZodString;
1327
- createdAt: z.ZodString;
1328
- updatedAt: z.ZodString;
1329
- deletedAt: z.ZodNullable<z.ZodString>;
1327
+ createdAt: z.ZodDate;
1328
+ updatedAt: z.ZodDate;
1329
+ deletedAt: z.ZodNullable<z.ZodDate>;
1330
1330
  roomId: z.ZodString;
1331
1331
  messageId: z.ZodString;
1332
1332
  fileName: z.ZodString;
@@ -1335,9 +1335,9 @@ export declare const RoomContractsValidationSchema: {
1335
1335
  uploadId: z.ZodString;
1336
1336
  upload: z.ZodObject<{
1337
1337
  id: z.ZodString;
1338
- createdAt: z.ZodString;
1339
- updatedAt: z.ZodString;
1340
- deletedAt: z.ZodNullable<z.ZodString>;
1338
+ createdAt: z.ZodDate;
1339
+ updatedAt: z.ZodDate;
1340
+ deletedAt: z.ZodNullable<z.ZodDate>;
1341
1341
  bucket_name: z.ZodString;
1342
1342
  file_name: z.ZodString;
1343
1343
  file_key: z.ZodString;
@@ -1346,9 +1346,9 @@ export declare const RoomContractsValidationSchema: {
1346
1346
  extension_name: z.ZodString;
1347
1347
  }, "strip", z.ZodTypeAny, {
1348
1348
  id: string;
1349
- createdAt: string;
1350
- updatedAt: string;
1351
- deletedAt: string | null;
1349
+ createdAt: Date;
1350
+ updatedAt: Date;
1351
+ deletedAt: Date | null;
1352
1352
  bucket_name: string;
1353
1353
  file_name: string;
1354
1354
  file_key: string;
@@ -1357,9 +1357,9 @@ export declare const RoomContractsValidationSchema: {
1357
1357
  extension_name: string;
1358
1358
  }, {
1359
1359
  id: string;
1360
- createdAt: string;
1361
- updatedAt: string;
1362
- deletedAt: string | null;
1360
+ createdAt: Date;
1361
+ updatedAt: Date;
1362
+ deletedAt: Date | null;
1363
1363
  bucket_name: string;
1364
1364
  file_name: string;
1365
1365
  file_key: string;
@@ -1369,16 +1369,16 @@ export declare const RoomContractsValidationSchema: {
1369
1369
  }>;
1370
1370
  }, "strip", z.ZodTypeAny, {
1371
1371
  id: string;
1372
- createdAt: string;
1373
- updatedAt: string;
1374
- deletedAt: string | null;
1372
+ createdAt: Date;
1373
+ updatedAt: Date;
1374
+ deletedAt: Date | null;
1375
1375
  fileName: string;
1376
1376
  fileType: string;
1377
1377
  upload: {
1378
1378
  id: string;
1379
- createdAt: string;
1380
- updatedAt: string;
1381
- deletedAt: string | null;
1379
+ createdAt: Date;
1380
+ updatedAt: Date;
1381
+ deletedAt: Date | null;
1382
1382
  bucket_name: string;
1383
1383
  file_name: string;
1384
1384
  file_key: string;
@@ -1392,16 +1392,16 @@ export declare const RoomContractsValidationSchema: {
1392
1392
  emailEngineAttachmentId: string;
1393
1393
  }, {
1394
1394
  id: string;
1395
- createdAt: string;
1396
- updatedAt: string;
1397
- deletedAt: string | null;
1395
+ createdAt: Date;
1396
+ updatedAt: Date;
1397
+ deletedAt: Date | null;
1398
1398
  fileName: string;
1399
1399
  fileType: string;
1400
1400
  upload: {
1401
1401
  id: string;
1402
- createdAt: string;
1403
- updatedAt: string;
1404
- deletedAt: string | null;
1402
+ createdAt: Date;
1403
+ updatedAt: Date;
1404
+ deletedAt: Date | null;
1405
1405
  bucket_name: string;
1406
1406
  file_name: string;
1407
1407
  file_key: string;
@@ -1418,23 +1418,23 @@ export declare const RoomContractsValidationSchema: {
1418
1418
  id: string;
1419
1419
  direction: string;
1420
1420
  action: string;
1421
- date: string;
1422
- createdAt: string;
1423
- updatedAt: string;
1424
- deletedAt: string | null;
1421
+ date: Date;
1422
+ createdAt: Date;
1423
+ updatedAt: Date;
1424
+ deletedAt: Date | null;
1425
1425
  roomId: string;
1426
1426
  attachments: {
1427
1427
  id: string;
1428
- createdAt: string;
1429
- updatedAt: string;
1430
- deletedAt: string | null;
1428
+ createdAt: Date;
1429
+ updatedAt: Date;
1430
+ deletedAt: Date | null;
1431
1431
  fileName: string;
1432
1432
  fileType: string;
1433
1433
  upload: {
1434
1434
  id: string;
1435
- createdAt: string;
1436
- updatedAt: string;
1437
- deletedAt: string | null;
1435
+ createdAt: Date;
1436
+ updatedAt: Date;
1437
+ deletedAt: Date | null;
1438
1438
  bucket_name: string;
1439
1439
  file_name: string;
1440
1440
  file_key: string;
@@ -1460,55 +1460,55 @@ export declare const RoomContractsValidationSchema: {
1460
1460
  id: string;
1461
1461
  address: string;
1462
1462
  name: string;
1463
- createdAt: string;
1464
- updatedAt: string;
1465
- deletedAt: string | null;
1463
+ createdAt: Date;
1464
+ updatedAt: Date;
1465
+ deletedAt: Date | null;
1466
1466
  }[];
1467
1467
  to: {
1468
1468
  id: string;
1469
1469
  address: string;
1470
1470
  name: string;
1471
- createdAt: string;
1472
- updatedAt: string;
1473
- deletedAt: string | null;
1471
+ createdAt: Date;
1472
+ updatedAt: Date;
1473
+ deletedAt: Date | null;
1474
1474
  }[];
1475
1475
  cc: {
1476
1476
  id: string;
1477
1477
  address: string;
1478
1478
  name: string;
1479
- createdAt: string;
1480
- updatedAt: string;
1481
- deletedAt: string | null;
1479
+ createdAt: Date;
1480
+ updatedAt: Date;
1481
+ deletedAt: Date | null;
1482
1482
  }[];
1483
1483
  bcc: {
1484
1484
  id: string;
1485
1485
  address: string;
1486
1486
  name: string;
1487
- createdAt: string;
1488
- updatedAt: string;
1489
- deletedAt: string | null;
1487
+ createdAt: Date;
1488
+ updatedAt: Date;
1489
+ deletedAt: Date | null;
1490
1490
  }[];
1491
1491
  }, {
1492
1492
  id: string;
1493
1493
  direction: string;
1494
1494
  action: string;
1495
- date: string;
1496
- createdAt: string;
1497
- updatedAt: string;
1498
- deletedAt: string | null;
1495
+ date: Date;
1496
+ createdAt: Date;
1497
+ updatedAt: Date;
1498
+ deletedAt: Date | null;
1499
1499
  roomId: string;
1500
1500
  attachments: {
1501
1501
  id: string;
1502
- createdAt: string;
1503
- updatedAt: string;
1504
- deletedAt: string | null;
1502
+ createdAt: Date;
1503
+ updatedAt: Date;
1504
+ deletedAt: Date | null;
1505
1505
  fileName: string;
1506
1506
  fileType: string;
1507
1507
  upload: {
1508
1508
  id: string;
1509
- createdAt: string;
1510
- updatedAt: string;
1511
- deletedAt: string | null;
1509
+ createdAt: Date;
1510
+ updatedAt: Date;
1511
+ deletedAt: Date | null;
1512
1512
  bucket_name: string;
1513
1513
  file_name: string;
1514
1514
  file_key: string;
@@ -1534,47 +1534,47 @@ export declare const RoomContractsValidationSchema: {
1534
1534
  id: string;
1535
1535
  address: string;
1536
1536
  name: string;
1537
- createdAt: string;
1538
- updatedAt: string;
1539
- deletedAt: string | null;
1537
+ createdAt: Date;
1538
+ updatedAt: Date;
1539
+ deletedAt: Date | null;
1540
1540
  }[];
1541
1541
  to: {
1542
1542
  id: string;
1543
1543
  address: string;
1544
1544
  name: string;
1545
- createdAt: string;
1546
- updatedAt: string;
1547
- deletedAt: string | null;
1545
+ createdAt: Date;
1546
+ updatedAt: Date;
1547
+ deletedAt: Date | null;
1548
1548
  }[];
1549
1549
  cc: {
1550
1550
  id: string;
1551
1551
  address: string;
1552
1552
  name: string;
1553
- createdAt: string;
1554
- updatedAt: string;
1555
- deletedAt: string | null;
1553
+ createdAt: Date;
1554
+ updatedAt: Date;
1555
+ deletedAt: Date | null;
1556
1556
  }[];
1557
1557
  bcc: {
1558
1558
  id: string;
1559
1559
  address: string;
1560
1560
  name: string;
1561
- createdAt: string;
1562
- updatedAt: string;
1563
- deletedAt: string | null;
1561
+ createdAt: Date;
1562
+ updatedAt: Date;
1563
+ deletedAt: Date | null;
1564
1564
  }[];
1565
1565
  }>, z.ZodObject<{
1566
1566
  id: z.ZodString;
1567
- createdAt: z.ZodString;
1568
- updatedAt: z.ZodString;
1567
+ createdAt: z.ZodDate;
1568
+ updatedAt: z.ZodDate;
1569
1569
  deletedAt: z.ZodNullable<z.ZodString>;
1570
1570
  description: z.ZodString;
1571
1571
  actorId: z.ZodString;
1572
1572
  roomId: z.ZodString;
1573
1573
  actor: z.ZodObject<{
1574
1574
  id: z.ZodString;
1575
- createdAt: z.ZodString;
1576
- updatedAt: z.ZodString;
1577
- deletedAt: z.ZodNullable<z.ZodString>;
1575
+ createdAt: z.ZodDate;
1576
+ updatedAt: z.ZodDate;
1577
+ deletedAt: z.ZodNullable<z.ZodDate>;
1578
1578
  name: z.ZodString;
1579
1579
  email: z.ZodString;
1580
1580
  address: z.ZodNullable<z.ZodString>;
@@ -1585,9 +1585,9 @@ export declare const RoomContractsValidationSchema: {
1585
1585
  address: string | null;
1586
1586
  name: string;
1587
1587
  email: string;
1588
- createdAt: string;
1589
- updatedAt: string;
1590
- deletedAt: string | null;
1588
+ createdAt: Date;
1589
+ updatedAt: Date;
1590
+ deletedAt: Date | null;
1591
1591
  phone: string | null;
1592
1592
  notification_count: number | null;
1593
1593
  }, {
@@ -1595,26 +1595,26 @@ export declare const RoomContractsValidationSchema: {
1595
1595
  address: string | null;
1596
1596
  name: string;
1597
1597
  email: string;
1598
- createdAt: string;
1599
- updatedAt: string;
1600
- deletedAt: string | null;
1598
+ createdAt: Date;
1599
+ updatedAt: Date;
1600
+ deletedAt: Date | null;
1601
1601
  phone: string | null;
1602
1602
  notification_count: number | null;
1603
1603
  }>;
1604
1604
  }, "strip", z.ZodTypeAny, {
1605
1605
  id: string;
1606
1606
  description: string;
1607
- createdAt: string;
1608
- updatedAt: string;
1607
+ createdAt: Date;
1608
+ updatedAt: Date;
1609
1609
  deletedAt: string | null;
1610
1610
  actor: {
1611
1611
  id: string;
1612
1612
  address: string | null;
1613
1613
  name: string;
1614
1614
  email: string;
1615
- createdAt: string;
1616
- updatedAt: string;
1617
- deletedAt: string | null;
1615
+ createdAt: Date;
1616
+ updatedAt: Date;
1617
+ deletedAt: Date | null;
1618
1618
  phone: string | null;
1619
1619
  notification_count: number | null;
1620
1620
  };
@@ -1623,17 +1623,17 @@ export declare const RoomContractsValidationSchema: {
1623
1623
  }, {
1624
1624
  id: string;
1625
1625
  description: string;
1626
- createdAt: string;
1627
- updatedAt: string;
1626
+ createdAt: Date;
1627
+ updatedAt: Date;
1628
1628
  deletedAt: string | null;
1629
1629
  actor: {
1630
1630
  id: string;
1631
1631
  address: string | null;
1632
1632
  name: string;
1633
1633
  email: string;
1634
- createdAt: string;
1635
- updatedAt: string;
1636
- deletedAt: string | null;
1634
+ createdAt: Date;
1635
+ updatedAt: Date;
1636
+ deletedAt: Date | null;
1637
1637
  phone: string | null;
1638
1638
  notification_count: number | null;
1639
1639
  };
@@ -1642,18 +1642,18 @@ export declare const RoomContractsValidationSchema: {
1642
1642
  }>]>, "many">;
1643
1643
  mail: z.ZodObject<{
1644
1644
  id: z.ZodString;
1645
- createdAt: z.ZodString;
1646
- updatedAt: z.ZodString;
1647
- deletedAt: z.ZodNullable<z.ZodString>;
1645
+ createdAt: z.ZodDate;
1646
+ updatedAt: z.ZodDate;
1647
+ deletedAt: z.ZodNullable<z.ZodDate>;
1648
1648
  name: z.ZodString;
1649
1649
  address: z.ZodString;
1650
1650
  accountId: z.ZodString;
1651
1651
  mailServerId: z.ZodString;
1652
1652
  mailServer: z.ZodObject<{
1653
1653
  id: z.ZodString;
1654
- createdAt: z.ZodString;
1655
- updatedAt: z.ZodString;
1656
- deletedAt: z.ZodNullable<z.ZodString>;
1654
+ createdAt: z.ZodDate;
1655
+ updatedAt: z.ZodDate;
1656
+ deletedAt: z.ZodNullable<z.ZodDate>;
1657
1657
  name: z.ZodString;
1658
1658
  smtpHost: z.ZodString;
1659
1659
  smtpPort: z.ZodString;
@@ -1666,9 +1666,9 @@ export declare const RoomContractsValidationSchema: {
1666
1666
  }, "strip", z.ZodTypeAny, {
1667
1667
  id: string;
1668
1668
  name: string;
1669
- createdAt: string;
1670
- updatedAt: string;
1671
- deletedAt: string | null;
1669
+ createdAt: Date;
1670
+ updatedAt: Date;
1671
+ deletedAt: Date | null;
1672
1672
  smtpHost: string;
1673
1673
  smtpPort: string;
1674
1674
  smtpTlsPort: string;
@@ -1680,9 +1680,9 @@ export declare const RoomContractsValidationSchema: {
1680
1680
  }, {
1681
1681
  id: string;
1682
1682
  name: string;
1683
- createdAt: string;
1684
- updatedAt: string;
1685
- deletedAt: string | null;
1683
+ createdAt: Date;
1684
+ updatedAt: Date;
1685
+ deletedAt: Date | null;
1686
1686
  smtpHost: string;
1687
1687
  smtpPort: string;
1688
1688
  smtpTlsPort: string;
@@ -1698,17 +1698,17 @@ export declare const RoomContractsValidationSchema: {
1698
1698
  state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
1699
1699
  address: string;
1700
1700
  name: string;
1701
- createdAt: string;
1702
- updatedAt: string;
1703
- deletedAt: string | null;
1701
+ createdAt: Date;
1702
+ updatedAt: Date;
1703
+ deletedAt: Date | null;
1704
1704
  accountId: string;
1705
1705
  mailServerId: string;
1706
1706
  mailServer: {
1707
1707
  id: string;
1708
1708
  name: string;
1709
- createdAt: string;
1710
- updatedAt: string;
1711
- deletedAt: string | null;
1709
+ createdAt: Date;
1710
+ updatedAt: Date;
1711
+ deletedAt: Date | null;
1712
1712
  smtpHost: string;
1713
1713
  smtpPort: string;
1714
1714
  smtpTlsPort: string;
@@ -1723,17 +1723,17 @@ export declare const RoomContractsValidationSchema: {
1723
1723
  state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
1724
1724
  address: string;
1725
1725
  name: string;
1726
- createdAt: string;
1727
- updatedAt: string;
1728
- deletedAt: string | null;
1726
+ createdAt: Date;
1727
+ updatedAt: Date;
1728
+ deletedAt: Date | null;
1729
1729
  accountId: string;
1730
1730
  mailServerId: string;
1731
1731
  mailServer: {
1732
1732
  id: string;
1733
1733
  name: string;
1734
- createdAt: string;
1735
- updatedAt: string;
1736
- deletedAt: string | null;
1734
+ createdAt: Date;
1735
+ updatedAt: Date;
1736
+ deletedAt: Date | null;
1737
1737
  smtpHost: string;
1738
1738
  smtpPort: string;
1739
1739
  smtpTlsPort: string;
@@ -1748,39 +1748,39 @@ export declare const RoomContractsValidationSchema: {
1748
1748
  }, "strip", z.ZodTypeAny, {
1749
1749
  id: string;
1750
1750
  direction: string;
1751
- createdAt: string;
1752
- updatedAt: string;
1753
- deletedAt: string | null;
1751
+ createdAt: Date;
1752
+ updatedAt: Date;
1753
+ deletedAt: Date | null;
1754
1754
  tags: {
1755
1755
  id: string;
1756
1756
  name: string;
1757
1757
  color: string;
1758
- createdAt: string;
1759
- updatedAt: string;
1760
- deletedAt: string | null;
1758
+ createdAt: Date;
1759
+ updatedAt: Date;
1760
+ deletedAt: Date | null;
1761
1761
  }[];
1762
1762
  note: string;
1763
1763
  lastMessage: {
1764
1764
  id: string;
1765
1765
  direction: string;
1766
1766
  action: string;
1767
- date: string;
1768
- createdAt: string;
1769
- updatedAt: string;
1770
- deletedAt: string | null;
1767
+ date: Date;
1768
+ createdAt: Date;
1769
+ updatedAt: Date;
1770
+ deletedAt: Date | null;
1771
1771
  roomId: string;
1772
1772
  attachments: {
1773
1773
  id: string;
1774
- createdAt: string;
1775
- updatedAt: string;
1776
- deletedAt: string | null;
1774
+ createdAt: Date;
1775
+ updatedAt: Date;
1776
+ deletedAt: Date | null;
1777
1777
  fileName: string;
1778
1778
  fileType: string;
1779
1779
  upload: {
1780
1780
  id: string;
1781
- createdAt: string;
1782
- updatedAt: string;
1783
- deletedAt: string | null;
1781
+ createdAt: Date;
1782
+ updatedAt: Date;
1783
+ deletedAt: Date | null;
1784
1784
  bucket_name: string;
1785
1785
  file_name: string;
1786
1786
  file_key: string;
@@ -1806,33 +1806,33 @@ export declare const RoomContractsValidationSchema: {
1806
1806
  id: string;
1807
1807
  address: string;
1808
1808
  name: string;
1809
- createdAt: string;
1810
- updatedAt: string;
1811
- deletedAt: string | null;
1809
+ createdAt: Date;
1810
+ updatedAt: Date;
1811
+ deletedAt: Date | null;
1812
1812
  }[];
1813
1813
  to: {
1814
1814
  id: string;
1815
1815
  address: string;
1816
1816
  name: string;
1817
- createdAt: string;
1818
- updatedAt: string;
1819
- deletedAt: string | null;
1817
+ createdAt: Date;
1818
+ updatedAt: Date;
1819
+ deletedAt: Date | null;
1820
1820
  }[];
1821
1821
  cc: {
1822
1822
  id: string;
1823
1823
  address: string;
1824
1824
  name: string;
1825
- createdAt: string;
1826
- updatedAt: string;
1827
- deletedAt: string | null;
1825
+ createdAt: Date;
1826
+ updatedAt: Date;
1827
+ deletedAt: Date | null;
1828
1828
  }[];
1829
1829
  bcc: {
1830
1830
  id: string;
1831
1831
  address: string;
1832
1832
  name: string;
1833
- createdAt: string;
1834
- updatedAt: string;
1835
- deletedAt: string | null;
1833
+ createdAt: Date;
1834
+ updatedAt: Date;
1835
+ deletedAt: Date | null;
1836
1836
  }[];
1837
1837
  };
1838
1838
  assignee: {
@@ -1840,9 +1840,9 @@ export declare const RoomContractsValidationSchema: {
1840
1840
  address: string | null;
1841
1841
  name: string;
1842
1842
  email: string;
1843
- createdAt: string;
1844
- updatedAt: string;
1845
- deletedAt: string | null;
1843
+ createdAt: Date;
1844
+ updatedAt: Date;
1845
+ deletedAt: Date | null;
1846
1846
  phone: string | null;
1847
1847
  notification_count: number | null;
1848
1848
  };
@@ -1852,33 +1852,33 @@ export declare const RoomContractsValidationSchema: {
1852
1852
  id: string;
1853
1853
  address: string;
1854
1854
  name: string;
1855
- createdAt: string;
1856
- updatedAt: string;
1857
- deletedAt: string | null;
1855
+ createdAt: Date;
1856
+ updatedAt: Date;
1857
+ deletedAt: Date | null;
1858
1858
  }[];
1859
1859
  to: {
1860
1860
  id: string;
1861
1861
  address: string;
1862
1862
  name: string;
1863
- createdAt: string;
1864
- updatedAt: string;
1865
- deletedAt: string | null;
1863
+ createdAt: Date;
1864
+ updatedAt: Date;
1865
+ deletedAt: Date | null;
1866
1866
  }[];
1867
1867
  cc: {
1868
1868
  id: string;
1869
1869
  address: string;
1870
1870
  name: string;
1871
- createdAt: string;
1872
- updatedAt: string;
1873
- deletedAt: string | null;
1871
+ createdAt: Date;
1872
+ updatedAt: Date;
1873
+ deletedAt: Date | null;
1874
1874
  }[];
1875
1875
  bcc: {
1876
1876
  id: string;
1877
1877
  address: string;
1878
1878
  name: string;
1879
- createdAt: string;
1880
- updatedAt: string;
1881
- deletedAt: string | null;
1879
+ createdAt: Date;
1880
+ updatedAt: Date;
1881
+ deletedAt: Date | null;
1882
1882
  }[];
1883
1883
  resolved: boolean;
1884
1884
  mailId: string;
@@ -1888,23 +1888,23 @@ export declare const RoomContractsValidationSchema: {
1888
1888
  id: string;
1889
1889
  direction: string;
1890
1890
  action: string;
1891
- date: string;
1892
- createdAt: string;
1893
- updatedAt: string;
1894
- deletedAt: string | null;
1891
+ date: Date;
1892
+ createdAt: Date;
1893
+ updatedAt: Date;
1894
+ deletedAt: Date | null;
1895
1895
  roomId: string;
1896
1896
  attachments: {
1897
1897
  id: string;
1898
- createdAt: string;
1899
- updatedAt: string;
1900
- deletedAt: string | null;
1898
+ createdAt: Date;
1899
+ updatedAt: Date;
1900
+ deletedAt: Date | null;
1901
1901
  fileName: string;
1902
1902
  fileType: string;
1903
1903
  upload: {
1904
1904
  id: string;
1905
- createdAt: string;
1906
- updatedAt: string;
1907
- deletedAt: string | null;
1905
+ createdAt: Date;
1906
+ updatedAt: Date;
1907
+ deletedAt: Date | null;
1908
1908
  bucket_name: string;
1909
1909
  file_name: string;
1910
1910
  file_key: string;
@@ -1930,56 +1930,56 @@ export declare const RoomContractsValidationSchema: {
1930
1930
  id: string;
1931
1931
  address: string;
1932
1932
  name: string;
1933
- createdAt: string;
1934
- updatedAt: string;
1935
- deletedAt: string | null;
1933
+ createdAt: Date;
1934
+ updatedAt: Date;
1935
+ deletedAt: Date | null;
1936
1936
  }[];
1937
1937
  to: {
1938
1938
  id: string;
1939
1939
  address: string;
1940
1940
  name: string;
1941
- createdAt: string;
1942
- updatedAt: string;
1943
- deletedAt: string | null;
1941
+ createdAt: Date;
1942
+ updatedAt: Date;
1943
+ deletedAt: Date | null;
1944
1944
  }[];
1945
1945
  cc: {
1946
1946
  id: string;
1947
1947
  address: string;
1948
1948
  name: string;
1949
- createdAt: string;
1950
- updatedAt: string;
1951
- deletedAt: string | null;
1949
+ createdAt: Date;
1950
+ updatedAt: Date;
1951
+ deletedAt: Date | null;
1952
1952
  }[];
1953
1953
  bcc: {
1954
1954
  id: string;
1955
1955
  address: string;
1956
1956
  name: string;
1957
- createdAt: string;
1958
- updatedAt: string;
1959
- deletedAt: string | null;
1957
+ createdAt: Date;
1958
+ updatedAt: Date;
1959
+ deletedAt: Date | null;
1960
1960
  }[];
1961
1961
  };
1962
1962
  messages: {
1963
1963
  id: string;
1964
1964
  direction: string;
1965
1965
  action: string;
1966
- date: string;
1967
- createdAt: string;
1968
- updatedAt: string;
1969
- deletedAt: string | null;
1966
+ date: Date;
1967
+ createdAt: Date;
1968
+ updatedAt: Date;
1969
+ deletedAt: Date | null;
1970
1970
  roomId: string;
1971
1971
  attachments: {
1972
1972
  id: string;
1973
- createdAt: string;
1974
- updatedAt: string;
1975
- deletedAt: string | null;
1973
+ createdAt: Date;
1974
+ updatedAt: Date;
1975
+ deletedAt: Date | null;
1976
1976
  fileName: string;
1977
1977
  fileType: string;
1978
1978
  upload: {
1979
1979
  id: string;
1980
- createdAt: string;
1981
- updatedAt: string;
1982
- deletedAt: string | null;
1980
+ createdAt: Date;
1981
+ updatedAt: Date;
1982
+ deletedAt: Date | null;
1983
1983
  bucket_name: string;
1984
1984
  file_name: string;
1985
1985
  file_key: string;
@@ -2005,56 +2005,56 @@ export declare const RoomContractsValidationSchema: {
2005
2005
  id: string;
2006
2006
  address: string;
2007
2007
  name: string;
2008
- createdAt: string;
2009
- updatedAt: string;
2010
- deletedAt: string | null;
2008
+ createdAt: Date;
2009
+ updatedAt: Date;
2010
+ deletedAt: Date | null;
2011
2011
  }[];
2012
2012
  to: {
2013
2013
  id: string;
2014
2014
  address: string;
2015
2015
  name: string;
2016
- createdAt: string;
2017
- updatedAt: string;
2018
- deletedAt: string | null;
2016
+ createdAt: Date;
2017
+ updatedAt: Date;
2018
+ deletedAt: Date | null;
2019
2019
  }[];
2020
2020
  cc: {
2021
2021
  id: string;
2022
2022
  address: string;
2023
2023
  name: string;
2024
- createdAt: string;
2025
- updatedAt: string;
2026
- deletedAt: string | null;
2024
+ createdAt: Date;
2025
+ updatedAt: Date;
2026
+ deletedAt: Date | null;
2027
2027
  }[];
2028
2028
  bcc: {
2029
2029
  id: string;
2030
2030
  address: string;
2031
2031
  name: string;
2032
- createdAt: string;
2033
- updatedAt: string;
2034
- deletedAt: string | null;
2032
+ createdAt: Date;
2033
+ updatedAt: Date;
2034
+ deletedAt: Date | null;
2035
2035
  }[];
2036
2036
  }[];
2037
2037
  messagesAndLogs: ({
2038
2038
  id: string;
2039
2039
  direction: string;
2040
2040
  action: string;
2041
- date: string;
2042
- createdAt: string;
2043
- updatedAt: string;
2044
- deletedAt: string | null;
2041
+ date: Date;
2042
+ createdAt: Date;
2043
+ updatedAt: Date;
2044
+ deletedAt: Date | null;
2045
2045
  roomId: string;
2046
2046
  attachments: {
2047
2047
  id: string;
2048
- createdAt: string;
2049
- updatedAt: string;
2050
- deletedAt: string | null;
2048
+ createdAt: Date;
2049
+ updatedAt: Date;
2050
+ deletedAt: Date | null;
2051
2051
  fileName: string;
2052
2052
  fileType: string;
2053
2053
  upload: {
2054
2054
  id: string;
2055
- createdAt: string;
2056
- updatedAt: string;
2057
- deletedAt: string | null;
2055
+ createdAt: Date;
2056
+ updatedAt: Date;
2057
+ deletedAt: Date | null;
2058
2058
  bucket_name: string;
2059
2059
  file_name: string;
2060
2060
  file_key: string;
@@ -2080,48 +2080,48 @@ export declare const RoomContractsValidationSchema: {
2080
2080
  id: string;
2081
2081
  address: string;
2082
2082
  name: string;
2083
- createdAt: string;
2084
- updatedAt: string;
2085
- deletedAt: string | null;
2083
+ createdAt: Date;
2084
+ updatedAt: Date;
2085
+ deletedAt: Date | null;
2086
2086
  }[];
2087
2087
  to: {
2088
2088
  id: string;
2089
2089
  address: string;
2090
2090
  name: string;
2091
- createdAt: string;
2092
- updatedAt: string;
2093
- deletedAt: string | null;
2091
+ createdAt: Date;
2092
+ updatedAt: Date;
2093
+ deletedAt: Date | null;
2094
2094
  }[];
2095
2095
  cc: {
2096
2096
  id: string;
2097
2097
  address: string;
2098
2098
  name: string;
2099
- createdAt: string;
2100
- updatedAt: string;
2101
- deletedAt: string | null;
2099
+ createdAt: Date;
2100
+ updatedAt: Date;
2101
+ deletedAt: Date | null;
2102
2102
  }[];
2103
2103
  bcc: {
2104
2104
  id: string;
2105
2105
  address: string;
2106
2106
  name: string;
2107
- createdAt: string;
2108
- updatedAt: string;
2109
- deletedAt: string | null;
2107
+ createdAt: Date;
2108
+ updatedAt: Date;
2109
+ deletedAt: Date | null;
2110
2110
  }[];
2111
2111
  } | {
2112
2112
  id: string;
2113
2113
  description: string;
2114
- createdAt: string;
2115
- updatedAt: string;
2114
+ createdAt: Date;
2115
+ updatedAt: Date;
2116
2116
  deletedAt: string | null;
2117
2117
  actor: {
2118
2118
  id: string;
2119
2119
  address: string | null;
2120
2120
  name: string;
2121
2121
  email: string;
2122
- createdAt: string;
2123
- updatedAt: string;
2124
- deletedAt: string | null;
2122
+ createdAt: Date;
2123
+ updatedAt: Date;
2124
+ deletedAt: Date | null;
2125
2125
  phone: string | null;
2126
2126
  notification_count: number | null;
2127
2127
  };
@@ -2133,17 +2133,17 @@ export declare const RoomContractsValidationSchema: {
2133
2133
  state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
2134
2134
  address: string;
2135
2135
  name: string;
2136
- createdAt: string;
2137
- updatedAt: string;
2138
- deletedAt: string | null;
2136
+ createdAt: Date;
2137
+ updatedAt: Date;
2138
+ deletedAt: Date | null;
2139
2139
  accountId: string;
2140
2140
  mailServerId: string;
2141
2141
  mailServer: {
2142
2142
  id: string;
2143
2143
  name: string;
2144
- createdAt: string;
2145
- updatedAt: string;
2146
- deletedAt: string | null;
2144
+ createdAt: Date;
2145
+ updatedAt: Date;
2146
+ deletedAt: Date | null;
2147
2147
  smtpHost: string;
2148
2148
  smtpPort: string;
2149
2149
  smtpTlsPort: string;
@@ -2158,39 +2158,39 @@ export declare const RoomContractsValidationSchema: {
2158
2158
  }, {
2159
2159
  id: string;
2160
2160
  direction: string;
2161
- createdAt: string;
2162
- updatedAt: string;
2163
- deletedAt: string | null;
2161
+ createdAt: Date;
2162
+ updatedAt: Date;
2163
+ deletedAt: Date | null;
2164
2164
  tags: {
2165
2165
  id: string;
2166
2166
  name: string;
2167
2167
  color: string;
2168
- createdAt: string;
2169
- updatedAt: string;
2170
- deletedAt: string | null;
2168
+ createdAt: Date;
2169
+ updatedAt: Date;
2170
+ deletedAt: Date | null;
2171
2171
  }[];
2172
2172
  note: string;
2173
2173
  lastMessage: {
2174
2174
  id: string;
2175
2175
  direction: string;
2176
2176
  action: string;
2177
- date: string;
2178
- createdAt: string;
2179
- updatedAt: string;
2180
- deletedAt: string | null;
2177
+ date: Date;
2178
+ createdAt: Date;
2179
+ updatedAt: Date;
2180
+ deletedAt: Date | null;
2181
2181
  roomId: string;
2182
2182
  attachments: {
2183
2183
  id: string;
2184
- createdAt: string;
2185
- updatedAt: string;
2186
- deletedAt: string | null;
2184
+ createdAt: Date;
2185
+ updatedAt: Date;
2186
+ deletedAt: Date | null;
2187
2187
  fileName: string;
2188
2188
  fileType: string;
2189
2189
  upload: {
2190
2190
  id: string;
2191
- createdAt: string;
2192
- updatedAt: string;
2193
- deletedAt: string | null;
2191
+ createdAt: Date;
2192
+ updatedAt: Date;
2193
+ deletedAt: Date | null;
2194
2194
  bucket_name: string;
2195
2195
  file_name: string;
2196
2196
  file_key: string;
@@ -2216,33 +2216,33 @@ export declare const RoomContractsValidationSchema: {
2216
2216
  id: string;
2217
2217
  address: string;
2218
2218
  name: string;
2219
- createdAt: string;
2220
- updatedAt: string;
2221
- deletedAt: string | null;
2219
+ createdAt: Date;
2220
+ updatedAt: Date;
2221
+ deletedAt: Date | null;
2222
2222
  }[];
2223
2223
  to: {
2224
2224
  id: string;
2225
2225
  address: string;
2226
2226
  name: string;
2227
- createdAt: string;
2228
- updatedAt: string;
2229
- deletedAt: string | null;
2227
+ createdAt: Date;
2228
+ updatedAt: Date;
2229
+ deletedAt: Date | null;
2230
2230
  }[];
2231
2231
  cc: {
2232
2232
  id: string;
2233
2233
  address: string;
2234
2234
  name: string;
2235
- createdAt: string;
2236
- updatedAt: string;
2237
- deletedAt: string | null;
2235
+ createdAt: Date;
2236
+ updatedAt: Date;
2237
+ deletedAt: Date | null;
2238
2238
  }[];
2239
2239
  bcc: {
2240
2240
  id: string;
2241
2241
  address: string;
2242
2242
  name: string;
2243
- createdAt: string;
2244
- updatedAt: string;
2245
- deletedAt: string | null;
2243
+ createdAt: Date;
2244
+ updatedAt: Date;
2245
+ deletedAt: Date | null;
2246
2246
  }[];
2247
2247
  };
2248
2248
  assignee: {
@@ -2250,9 +2250,9 @@ export declare const RoomContractsValidationSchema: {
2250
2250
  address: string | null;
2251
2251
  name: string;
2252
2252
  email: string;
2253
- createdAt: string;
2254
- updatedAt: string;
2255
- deletedAt: string | null;
2253
+ createdAt: Date;
2254
+ updatedAt: Date;
2255
+ deletedAt: Date | null;
2256
2256
  phone: string | null;
2257
2257
  notification_count: number | null;
2258
2258
  };
@@ -2262,33 +2262,33 @@ export declare const RoomContractsValidationSchema: {
2262
2262
  id: string;
2263
2263
  address: string;
2264
2264
  name: string;
2265
- createdAt: string;
2266
- updatedAt: string;
2267
- deletedAt: string | null;
2265
+ createdAt: Date;
2266
+ updatedAt: Date;
2267
+ deletedAt: Date | null;
2268
2268
  }[];
2269
2269
  to: {
2270
2270
  id: string;
2271
2271
  address: string;
2272
2272
  name: string;
2273
- createdAt: string;
2274
- updatedAt: string;
2275
- deletedAt: string | null;
2273
+ createdAt: Date;
2274
+ updatedAt: Date;
2275
+ deletedAt: Date | null;
2276
2276
  }[];
2277
2277
  cc: {
2278
2278
  id: string;
2279
2279
  address: string;
2280
2280
  name: string;
2281
- createdAt: string;
2282
- updatedAt: string;
2283
- deletedAt: string | null;
2281
+ createdAt: Date;
2282
+ updatedAt: Date;
2283
+ deletedAt: Date | null;
2284
2284
  }[];
2285
2285
  bcc: {
2286
2286
  id: string;
2287
2287
  address: string;
2288
2288
  name: string;
2289
- createdAt: string;
2290
- updatedAt: string;
2291
- deletedAt: string | null;
2289
+ createdAt: Date;
2290
+ updatedAt: Date;
2291
+ deletedAt: Date | null;
2292
2292
  }[];
2293
2293
  resolved: boolean;
2294
2294
  mailId: string;
@@ -2298,23 +2298,23 @@ export declare const RoomContractsValidationSchema: {
2298
2298
  id: string;
2299
2299
  direction: string;
2300
2300
  action: string;
2301
- date: string;
2302
- createdAt: string;
2303
- updatedAt: string;
2304
- deletedAt: string | null;
2301
+ date: Date;
2302
+ createdAt: Date;
2303
+ updatedAt: Date;
2304
+ deletedAt: Date | null;
2305
2305
  roomId: string;
2306
2306
  attachments: {
2307
2307
  id: string;
2308
- createdAt: string;
2309
- updatedAt: string;
2310
- deletedAt: string | null;
2308
+ createdAt: Date;
2309
+ updatedAt: Date;
2310
+ deletedAt: Date | null;
2311
2311
  fileName: string;
2312
2312
  fileType: string;
2313
2313
  upload: {
2314
2314
  id: string;
2315
- createdAt: string;
2316
- updatedAt: string;
2317
- deletedAt: string | null;
2315
+ createdAt: Date;
2316
+ updatedAt: Date;
2317
+ deletedAt: Date | null;
2318
2318
  bucket_name: string;
2319
2319
  file_name: string;
2320
2320
  file_key: string;
@@ -2340,56 +2340,56 @@ export declare const RoomContractsValidationSchema: {
2340
2340
  id: string;
2341
2341
  address: string;
2342
2342
  name: string;
2343
- createdAt: string;
2344
- updatedAt: string;
2345
- deletedAt: string | null;
2343
+ createdAt: Date;
2344
+ updatedAt: Date;
2345
+ deletedAt: Date | null;
2346
2346
  }[];
2347
2347
  to: {
2348
2348
  id: string;
2349
2349
  address: string;
2350
2350
  name: string;
2351
- createdAt: string;
2352
- updatedAt: string;
2353
- deletedAt: string | null;
2351
+ createdAt: Date;
2352
+ updatedAt: Date;
2353
+ deletedAt: Date | null;
2354
2354
  }[];
2355
2355
  cc: {
2356
2356
  id: string;
2357
2357
  address: string;
2358
2358
  name: string;
2359
- createdAt: string;
2360
- updatedAt: string;
2361
- deletedAt: string | null;
2359
+ createdAt: Date;
2360
+ updatedAt: Date;
2361
+ deletedAt: Date | null;
2362
2362
  }[];
2363
2363
  bcc: {
2364
2364
  id: string;
2365
2365
  address: string;
2366
2366
  name: string;
2367
- createdAt: string;
2368
- updatedAt: string;
2369
- deletedAt: string | null;
2367
+ createdAt: Date;
2368
+ updatedAt: Date;
2369
+ deletedAt: Date | null;
2370
2370
  }[];
2371
2371
  };
2372
2372
  messages: {
2373
2373
  id: string;
2374
2374
  direction: string;
2375
2375
  action: string;
2376
- date: string;
2377
- createdAt: string;
2378
- updatedAt: string;
2379
- deletedAt: string | null;
2376
+ date: Date;
2377
+ createdAt: Date;
2378
+ updatedAt: Date;
2379
+ deletedAt: Date | null;
2380
2380
  roomId: string;
2381
2381
  attachments: {
2382
2382
  id: string;
2383
- createdAt: string;
2384
- updatedAt: string;
2385
- deletedAt: string | null;
2383
+ createdAt: Date;
2384
+ updatedAt: Date;
2385
+ deletedAt: Date | null;
2386
2386
  fileName: string;
2387
2387
  fileType: string;
2388
2388
  upload: {
2389
2389
  id: string;
2390
- createdAt: string;
2391
- updatedAt: string;
2392
- deletedAt: string | null;
2390
+ createdAt: Date;
2391
+ updatedAt: Date;
2392
+ deletedAt: Date | null;
2393
2393
  bucket_name: string;
2394
2394
  file_name: string;
2395
2395
  file_key: string;
@@ -2415,56 +2415,56 @@ export declare const RoomContractsValidationSchema: {
2415
2415
  id: string;
2416
2416
  address: string;
2417
2417
  name: string;
2418
- createdAt: string;
2419
- updatedAt: string;
2420
- deletedAt: string | null;
2418
+ createdAt: Date;
2419
+ updatedAt: Date;
2420
+ deletedAt: Date | null;
2421
2421
  }[];
2422
2422
  to: {
2423
2423
  id: string;
2424
2424
  address: string;
2425
2425
  name: string;
2426
- createdAt: string;
2427
- updatedAt: string;
2428
- deletedAt: string | null;
2426
+ createdAt: Date;
2427
+ updatedAt: Date;
2428
+ deletedAt: Date | null;
2429
2429
  }[];
2430
2430
  cc: {
2431
2431
  id: string;
2432
2432
  address: string;
2433
2433
  name: string;
2434
- createdAt: string;
2435
- updatedAt: string;
2436
- deletedAt: string | null;
2434
+ createdAt: Date;
2435
+ updatedAt: Date;
2436
+ deletedAt: Date | null;
2437
2437
  }[];
2438
2438
  bcc: {
2439
2439
  id: string;
2440
2440
  address: string;
2441
2441
  name: string;
2442
- createdAt: string;
2443
- updatedAt: string;
2444
- deletedAt: string | null;
2442
+ createdAt: Date;
2443
+ updatedAt: Date;
2444
+ deletedAt: Date | null;
2445
2445
  }[];
2446
2446
  }[];
2447
2447
  messagesAndLogs: ({
2448
2448
  id: string;
2449
2449
  direction: string;
2450
2450
  action: string;
2451
- date: string;
2452
- createdAt: string;
2453
- updatedAt: string;
2454
- deletedAt: string | null;
2451
+ date: Date;
2452
+ createdAt: Date;
2453
+ updatedAt: Date;
2454
+ deletedAt: Date | null;
2455
2455
  roomId: string;
2456
2456
  attachments: {
2457
2457
  id: string;
2458
- createdAt: string;
2459
- updatedAt: string;
2460
- deletedAt: string | null;
2458
+ createdAt: Date;
2459
+ updatedAt: Date;
2460
+ deletedAt: Date | null;
2461
2461
  fileName: string;
2462
2462
  fileType: string;
2463
2463
  upload: {
2464
2464
  id: string;
2465
- createdAt: string;
2466
- updatedAt: string;
2467
- deletedAt: string | null;
2465
+ createdAt: Date;
2466
+ updatedAt: Date;
2467
+ deletedAt: Date | null;
2468
2468
  bucket_name: string;
2469
2469
  file_name: string;
2470
2470
  file_key: string;
@@ -2490,48 +2490,48 @@ export declare const RoomContractsValidationSchema: {
2490
2490
  id: string;
2491
2491
  address: string;
2492
2492
  name: string;
2493
- createdAt: string;
2494
- updatedAt: string;
2495
- deletedAt: string | null;
2493
+ createdAt: Date;
2494
+ updatedAt: Date;
2495
+ deletedAt: Date | null;
2496
2496
  }[];
2497
2497
  to: {
2498
2498
  id: string;
2499
2499
  address: string;
2500
2500
  name: string;
2501
- createdAt: string;
2502
- updatedAt: string;
2503
- deletedAt: string | null;
2501
+ createdAt: Date;
2502
+ updatedAt: Date;
2503
+ deletedAt: Date | null;
2504
2504
  }[];
2505
2505
  cc: {
2506
2506
  id: string;
2507
2507
  address: string;
2508
2508
  name: string;
2509
- createdAt: string;
2510
- updatedAt: string;
2511
- deletedAt: string | null;
2509
+ createdAt: Date;
2510
+ updatedAt: Date;
2511
+ deletedAt: Date | null;
2512
2512
  }[];
2513
2513
  bcc: {
2514
2514
  id: string;
2515
2515
  address: string;
2516
2516
  name: string;
2517
- createdAt: string;
2518
- updatedAt: string;
2519
- deletedAt: string | null;
2517
+ createdAt: Date;
2518
+ updatedAt: Date;
2519
+ deletedAt: Date | null;
2520
2520
  }[];
2521
2521
  } | {
2522
2522
  id: string;
2523
2523
  description: string;
2524
- createdAt: string;
2525
- updatedAt: string;
2524
+ createdAt: Date;
2525
+ updatedAt: Date;
2526
2526
  deletedAt: string | null;
2527
2527
  actor: {
2528
2528
  id: string;
2529
2529
  address: string | null;
2530
2530
  name: string;
2531
2531
  email: string;
2532
- createdAt: string;
2533
- updatedAt: string;
2534
- deletedAt: string | null;
2532
+ createdAt: Date;
2533
+ updatedAt: Date;
2534
+ deletedAt: Date | null;
2535
2535
  phone: string | null;
2536
2536
  notification_count: number | null;
2537
2537
  };
@@ -2543,17 +2543,17 @@ export declare const RoomContractsValidationSchema: {
2543
2543
  state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
2544
2544
  address: string;
2545
2545
  name: string;
2546
- createdAt: string;
2547
- updatedAt: string;
2548
- deletedAt: string | null;
2546
+ createdAt: Date;
2547
+ updatedAt: Date;
2548
+ deletedAt: Date | null;
2549
2549
  accountId: string;
2550
2550
  mailServerId: string;
2551
2551
  mailServer: {
2552
2552
  id: string;
2553
2553
  name: string;
2554
- createdAt: string;
2555
- updatedAt: string;
2556
- deletedAt: string | null;
2554
+ createdAt: Date;
2555
+ updatedAt: Date;
2556
+ deletedAt: Date | null;
2557
2557
  smtpHost: string;
2558
2558
  smtpPort: string;
2559
2559
  smtpTlsPort: string;
@@ -2573,39 +2573,39 @@ export declare const RoomContractsValidationSchema: {
2573
2573
  data: {
2574
2574
  id: string;
2575
2575
  direction: string;
2576
- createdAt: string;
2577
- updatedAt: string;
2578
- deletedAt: string | null;
2576
+ createdAt: Date;
2577
+ updatedAt: Date;
2578
+ deletedAt: Date | null;
2579
2579
  tags: {
2580
2580
  id: string;
2581
2581
  name: string;
2582
2582
  color: string;
2583
- createdAt: string;
2584
- updatedAt: string;
2585
- deletedAt: string | null;
2583
+ createdAt: Date;
2584
+ updatedAt: Date;
2585
+ deletedAt: Date | null;
2586
2586
  }[];
2587
2587
  note: string;
2588
2588
  lastMessage: {
2589
2589
  id: string;
2590
2590
  direction: string;
2591
2591
  action: string;
2592
- date: string;
2593
- createdAt: string;
2594
- updatedAt: string;
2595
- deletedAt: string | null;
2592
+ date: Date;
2593
+ createdAt: Date;
2594
+ updatedAt: Date;
2595
+ deletedAt: Date | null;
2596
2596
  roomId: string;
2597
2597
  attachments: {
2598
2598
  id: string;
2599
- createdAt: string;
2600
- updatedAt: string;
2601
- deletedAt: string | null;
2599
+ createdAt: Date;
2600
+ updatedAt: Date;
2601
+ deletedAt: Date | null;
2602
2602
  fileName: string;
2603
2603
  fileType: string;
2604
2604
  upload: {
2605
2605
  id: string;
2606
- createdAt: string;
2607
- updatedAt: string;
2608
- deletedAt: string | null;
2606
+ createdAt: Date;
2607
+ updatedAt: Date;
2608
+ deletedAt: Date | null;
2609
2609
  bucket_name: string;
2610
2610
  file_name: string;
2611
2611
  file_key: string;
@@ -2631,33 +2631,33 @@ export declare const RoomContractsValidationSchema: {
2631
2631
  id: string;
2632
2632
  address: string;
2633
2633
  name: string;
2634
- createdAt: string;
2635
- updatedAt: string;
2636
- deletedAt: string | null;
2634
+ createdAt: Date;
2635
+ updatedAt: Date;
2636
+ deletedAt: Date | null;
2637
2637
  }[];
2638
2638
  to: {
2639
2639
  id: string;
2640
2640
  address: string;
2641
2641
  name: string;
2642
- createdAt: string;
2643
- updatedAt: string;
2644
- deletedAt: string | null;
2642
+ createdAt: Date;
2643
+ updatedAt: Date;
2644
+ deletedAt: Date | null;
2645
2645
  }[];
2646
2646
  cc: {
2647
2647
  id: string;
2648
2648
  address: string;
2649
2649
  name: string;
2650
- createdAt: string;
2651
- updatedAt: string;
2652
- deletedAt: string | null;
2650
+ createdAt: Date;
2651
+ updatedAt: Date;
2652
+ deletedAt: Date | null;
2653
2653
  }[];
2654
2654
  bcc: {
2655
2655
  id: string;
2656
2656
  address: string;
2657
2657
  name: string;
2658
- createdAt: string;
2659
- updatedAt: string;
2660
- deletedAt: string | null;
2658
+ createdAt: Date;
2659
+ updatedAt: Date;
2660
+ deletedAt: Date | null;
2661
2661
  }[];
2662
2662
  };
2663
2663
  assignee: {
@@ -2665,9 +2665,9 @@ export declare const RoomContractsValidationSchema: {
2665
2665
  address: string | null;
2666
2666
  name: string;
2667
2667
  email: string;
2668
- createdAt: string;
2669
- updatedAt: string;
2670
- deletedAt: string | null;
2668
+ createdAt: Date;
2669
+ updatedAt: Date;
2670
+ deletedAt: Date | null;
2671
2671
  phone: string | null;
2672
2672
  notification_count: number | null;
2673
2673
  };
@@ -2677,33 +2677,33 @@ export declare const RoomContractsValidationSchema: {
2677
2677
  id: string;
2678
2678
  address: string;
2679
2679
  name: string;
2680
- createdAt: string;
2681
- updatedAt: string;
2682
- deletedAt: string | null;
2680
+ createdAt: Date;
2681
+ updatedAt: Date;
2682
+ deletedAt: Date | null;
2683
2683
  }[];
2684
2684
  to: {
2685
2685
  id: string;
2686
2686
  address: string;
2687
2687
  name: string;
2688
- createdAt: string;
2689
- updatedAt: string;
2690
- deletedAt: string | null;
2688
+ createdAt: Date;
2689
+ updatedAt: Date;
2690
+ deletedAt: Date | null;
2691
2691
  }[];
2692
2692
  cc: {
2693
2693
  id: string;
2694
2694
  address: string;
2695
2695
  name: string;
2696
- createdAt: string;
2697
- updatedAt: string;
2698
- deletedAt: string | null;
2696
+ createdAt: Date;
2697
+ updatedAt: Date;
2698
+ deletedAt: Date | null;
2699
2699
  }[];
2700
2700
  bcc: {
2701
2701
  id: string;
2702
2702
  address: string;
2703
2703
  name: string;
2704
- createdAt: string;
2705
- updatedAt: string;
2706
- deletedAt: string | null;
2704
+ createdAt: Date;
2705
+ updatedAt: Date;
2706
+ deletedAt: Date | null;
2707
2707
  }[];
2708
2708
  resolved: boolean;
2709
2709
  mailId: string;
@@ -2713,23 +2713,23 @@ export declare const RoomContractsValidationSchema: {
2713
2713
  id: string;
2714
2714
  direction: string;
2715
2715
  action: string;
2716
- date: string;
2717
- createdAt: string;
2718
- updatedAt: string;
2719
- deletedAt: string | null;
2716
+ date: Date;
2717
+ createdAt: Date;
2718
+ updatedAt: Date;
2719
+ deletedAt: Date | null;
2720
2720
  roomId: string;
2721
2721
  attachments: {
2722
2722
  id: string;
2723
- createdAt: string;
2724
- updatedAt: string;
2725
- deletedAt: string | null;
2723
+ createdAt: Date;
2724
+ updatedAt: Date;
2725
+ deletedAt: Date | null;
2726
2726
  fileName: string;
2727
2727
  fileType: string;
2728
2728
  upload: {
2729
2729
  id: string;
2730
- createdAt: string;
2731
- updatedAt: string;
2732
- deletedAt: string | null;
2730
+ createdAt: Date;
2731
+ updatedAt: Date;
2732
+ deletedAt: Date | null;
2733
2733
  bucket_name: string;
2734
2734
  file_name: string;
2735
2735
  file_key: string;
@@ -2755,56 +2755,56 @@ export declare const RoomContractsValidationSchema: {
2755
2755
  id: string;
2756
2756
  address: string;
2757
2757
  name: string;
2758
- createdAt: string;
2759
- updatedAt: string;
2760
- deletedAt: string | null;
2758
+ createdAt: Date;
2759
+ updatedAt: Date;
2760
+ deletedAt: Date | null;
2761
2761
  }[];
2762
2762
  to: {
2763
2763
  id: string;
2764
2764
  address: string;
2765
2765
  name: string;
2766
- createdAt: string;
2767
- updatedAt: string;
2768
- deletedAt: string | null;
2766
+ createdAt: Date;
2767
+ updatedAt: Date;
2768
+ deletedAt: Date | null;
2769
2769
  }[];
2770
2770
  cc: {
2771
2771
  id: string;
2772
2772
  address: string;
2773
2773
  name: string;
2774
- createdAt: string;
2775
- updatedAt: string;
2776
- deletedAt: string | null;
2774
+ createdAt: Date;
2775
+ updatedAt: Date;
2776
+ deletedAt: Date | null;
2777
2777
  }[];
2778
2778
  bcc: {
2779
2779
  id: string;
2780
2780
  address: string;
2781
2781
  name: string;
2782
- createdAt: string;
2783
- updatedAt: string;
2784
- deletedAt: string | null;
2782
+ createdAt: Date;
2783
+ updatedAt: Date;
2784
+ deletedAt: Date | null;
2785
2785
  }[];
2786
2786
  };
2787
2787
  messages: {
2788
2788
  id: string;
2789
2789
  direction: string;
2790
2790
  action: string;
2791
- date: string;
2792
- createdAt: string;
2793
- updatedAt: string;
2794
- deletedAt: string | null;
2791
+ date: Date;
2792
+ createdAt: Date;
2793
+ updatedAt: Date;
2794
+ deletedAt: Date | null;
2795
2795
  roomId: string;
2796
2796
  attachments: {
2797
2797
  id: string;
2798
- createdAt: string;
2799
- updatedAt: string;
2800
- deletedAt: string | null;
2798
+ createdAt: Date;
2799
+ updatedAt: Date;
2800
+ deletedAt: Date | null;
2801
2801
  fileName: string;
2802
2802
  fileType: string;
2803
2803
  upload: {
2804
2804
  id: string;
2805
- createdAt: string;
2806
- updatedAt: string;
2807
- deletedAt: string | null;
2805
+ createdAt: Date;
2806
+ updatedAt: Date;
2807
+ deletedAt: Date | null;
2808
2808
  bucket_name: string;
2809
2809
  file_name: string;
2810
2810
  file_key: string;
@@ -2830,56 +2830,56 @@ export declare const RoomContractsValidationSchema: {
2830
2830
  id: string;
2831
2831
  address: string;
2832
2832
  name: string;
2833
- createdAt: string;
2834
- updatedAt: string;
2835
- deletedAt: string | null;
2833
+ createdAt: Date;
2834
+ updatedAt: Date;
2835
+ deletedAt: Date | null;
2836
2836
  }[];
2837
2837
  to: {
2838
2838
  id: string;
2839
2839
  address: string;
2840
2840
  name: string;
2841
- createdAt: string;
2842
- updatedAt: string;
2843
- deletedAt: string | null;
2841
+ createdAt: Date;
2842
+ updatedAt: Date;
2843
+ deletedAt: Date | null;
2844
2844
  }[];
2845
2845
  cc: {
2846
2846
  id: string;
2847
2847
  address: string;
2848
2848
  name: string;
2849
- createdAt: string;
2850
- updatedAt: string;
2851
- deletedAt: string | null;
2849
+ createdAt: Date;
2850
+ updatedAt: Date;
2851
+ deletedAt: Date | null;
2852
2852
  }[];
2853
2853
  bcc: {
2854
2854
  id: string;
2855
2855
  address: string;
2856
2856
  name: string;
2857
- createdAt: string;
2858
- updatedAt: string;
2859
- deletedAt: string | null;
2857
+ createdAt: Date;
2858
+ updatedAt: Date;
2859
+ deletedAt: Date | null;
2860
2860
  }[];
2861
2861
  }[];
2862
2862
  messagesAndLogs: ({
2863
2863
  id: string;
2864
2864
  direction: string;
2865
2865
  action: string;
2866
- date: string;
2867
- createdAt: string;
2868
- updatedAt: string;
2869
- deletedAt: string | null;
2866
+ date: Date;
2867
+ createdAt: Date;
2868
+ updatedAt: Date;
2869
+ deletedAt: Date | null;
2870
2870
  roomId: string;
2871
2871
  attachments: {
2872
2872
  id: string;
2873
- createdAt: string;
2874
- updatedAt: string;
2875
- deletedAt: string | null;
2873
+ createdAt: Date;
2874
+ updatedAt: Date;
2875
+ deletedAt: Date | null;
2876
2876
  fileName: string;
2877
2877
  fileType: string;
2878
2878
  upload: {
2879
2879
  id: string;
2880
- createdAt: string;
2881
- updatedAt: string;
2882
- deletedAt: string | null;
2880
+ createdAt: Date;
2881
+ updatedAt: Date;
2882
+ deletedAt: Date | null;
2883
2883
  bucket_name: string;
2884
2884
  file_name: string;
2885
2885
  file_key: string;
@@ -2905,48 +2905,48 @@ export declare const RoomContractsValidationSchema: {
2905
2905
  id: string;
2906
2906
  address: string;
2907
2907
  name: string;
2908
- createdAt: string;
2909
- updatedAt: string;
2910
- deletedAt: string | null;
2908
+ createdAt: Date;
2909
+ updatedAt: Date;
2910
+ deletedAt: Date | null;
2911
2911
  }[];
2912
2912
  to: {
2913
2913
  id: string;
2914
2914
  address: string;
2915
2915
  name: string;
2916
- createdAt: string;
2917
- updatedAt: string;
2918
- deletedAt: string | null;
2916
+ createdAt: Date;
2917
+ updatedAt: Date;
2918
+ deletedAt: Date | null;
2919
2919
  }[];
2920
2920
  cc: {
2921
2921
  id: string;
2922
2922
  address: string;
2923
2923
  name: string;
2924
- createdAt: string;
2925
- updatedAt: string;
2926
- deletedAt: string | null;
2924
+ createdAt: Date;
2925
+ updatedAt: Date;
2926
+ deletedAt: Date | null;
2927
2927
  }[];
2928
2928
  bcc: {
2929
2929
  id: string;
2930
2930
  address: string;
2931
2931
  name: string;
2932
- createdAt: string;
2933
- updatedAt: string;
2934
- deletedAt: string | null;
2932
+ createdAt: Date;
2933
+ updatedAt: Date;
2934
+ deletedAt: Date | null;
2935
2935
  }[];
2936
2936
  } | {
2937
2937
  id: string;
2938
2938
  description: string;
2939
- createdAt: string;
2940
- updatedAt: string;
2939
+ createdAt: Date;
2940
+ updatedAt: Date;
2941
2941
  deletedAt: string | null;
2942
2942
  actor: {
2943
2943
  id: string;
2944
2944
  address: string | null;
2945
2945
  name: string;
2946
2946
  email: string;
2947
- createdAt: string;
2948
- updatedAt: string;
2949
- deletedAt: string | null;
2947
+ createdAt: Date;
2948
+ updatedAt: Date;
2949
+ deletedAt: Date | null;
2950
2950
  phone: string | null;
2951
2951
  notification_count: number | null;
2952
2952
  };
@@ -2958,17 +2958,17 @@ export declare const RoomContractsValidationSchema: {
2958
2958
  state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
2959
2959
  address: string;
2960
2960
  name: string;
2961
- createdAt: string;
2962
- updatedAt: string;
2963
- deletedAt: string | null;
2961
+ createdAt: Date;
2962
+ updatedAt: Date;
2963
+ deletedAt: Date | null;
2964
2964
  accountId: string;
2965
2965
  mailServerId: string;
2966
2966
  mailServer: {
2967
2967
  id: string;
2968
2968
  name: string;
2969
- createdAt: string;
2970
- updatedAt: string;
2971
- deletedAt: string | null;
2969
+ createdAt: Date;
2970
+ updatedAt: Date;
2971
+ deletedAt: Date | null;
2972
2972
  smtpHost: string;
2973
2973
  smtpPort: string;
2974
2974
  smtpTlsPort: string;
@@ -2988,39 +2988,39 @@ export declare const RoomContractsValidationSchema: {
2988
2988
  data: {
2989
2989
  id: string;
2990
2990
  direction: string;
2991
- createdAt: string;
2992
- updatedAt: string;
2993
- deletedAt: string | null;
2991
+ createdAt: Date;
2992
+ updatedAt: Date;
2993
+ deletedAt: Date | null;
2994
2994
  tags: {
2995
2995
  id: string;
2996
2996
  name: string;
2997
2997
  color: string;
2998
- createdAt: string;
2999
- updatedAt: string;
3000
- deletedAt: string | null;
2998
+ createdAt: Date;
2999
+ updatedAt: Date;
3000
+ deletedAt: Date | null;
3001
3001
  }[];
3002
3002
  note: string;
3003
3003
  lastMessage: {
3004
3004
  id: string;
3005
3005
  direction: string;
3006
3006
  action: string;
3007
- date: string;
3008
- createdAt: string;
3009
- updatedAt: string;
3010
- deletedAt: string | null;
3007
+ date: Date;
3008
+ createdAt: Date;
3009
+ updatedAt: Date;
3010
+ deletedAt: Date | null;
3011
3011
  roomId: string;
3012
3012
  attachments: {
3013
3013
  id: string;
3014
- createdAt: string;
3015
- updatedAt: string;
3016
- deletedAt: string | null;
3014
+ createdAt: Date;
3015
+ updatedAt: Date;
3016
+ deletedAt: Date | null;
3017
3017
  fileName: string;
3018
3018
  fileType: string;
3019
3019
  upload: {
3020
3020
  id: string;
3021
- createdAt: string;
3022
- updatedAt: string;
3023
- deletedAt: string | null;
3021
+ createdAt: Date;
3022
+ updatedAt: Date;
3023
+ deletedAt: Date | null;
3024
3024
  bucket_name: string;
3025
3025
  file_name: string;
3026
3026
  file_key: string;
@@ -3046,33 +3046,33 @@ export declare const RoomContractsValidationSchema: {
3046
3046
  id: string;
3047
3047
  address: string;
3048
3048
  name: string;
3049
- createdAt: string;
3050
- updatedAt: string;
3051
- deletedAt: string | null;
3049
+ createdAt: Date;
3050
+ updatedAt: Date;
3051
+ deletedAt: Date | null;
3052
3052
  }[];
3053
3053
  to: {
3054
3054
  id: string;
3055
3055
  address: string;
3056
3056
  name: string;
3057
- createdAt: string;
3058
- updatedAt: string;
3059
- deletedAt: string | null;
3057
+ createdAt: Date;
3058
+ updatedAt: Date;
3059
+ deletedAt: Date | null;
3060
3060
  }[];
3061
3061
  cc: {
3062
3062
  id: string;
3063
3063
  address: string;
3064
3064
  name: string;
3065
- createdAt: string;
3066
- updatedAt: string;
3067
- deletedAt: string | null;
3065
+ createdAt: Date;
3066
+ updatedAt: Date;
3067
+ deletedAt: Date | null;
3068
3068
  }[];
3069
3069
  bcc: {
3070
3070
  id: string;
3071
3071
  address: string;
3072
3072
  name: string;
3073
- createdAt: string;
3074
- updatedAt: string;
3075
- deletedAt: string | null;
3073
+ createdAt: Date;
3074
+ updatedAt: Date;
3075
+ deletedAt: Date | null;
3076
3076
  }[];
3077
3077
  };
3078
3078
  assignee: {
@@ -3080,9 +3080,9 @@ export declare const RoomContractsValidationSchema: {
3080
3080
  address: string | null;
3081
3081
  name: string;
3082
3082
  email: string;
3083
- createdAt: string;
3084
- updatedAt: string;
3085
- deletedAt: string | null;
3083
+ createdAt: Date;
3084
+ updatedAt: Date;
3085
+ deletedAt: Date | null;
3086
3086
  phone: string | null;
3087
3087
  notification_count: number | null;
3088
3088
  };
@@ -3092,33 +3092,33 @@ export declare const RoomContractsValidationSchema: {
3092
3092
  id: string;
3093
3093
  address: string;
3094
3094
  name: string;
3095
- createdAt: string;
3096
- updatedAt: string;
3097
- deletedAt: string | null;
3095
+ createdAt: Date;
3096
+ updatedAt: Date;
3097
+ deletedAt: Date | null;
3098
3098
  }[];
3099
3099
  to: {
3100
3100
  id: string;
3101
3101
  address: string;
3102
3102
  name: string;
3103
- createdAt: string;
3104
- updatedAt: string;
3105
- deletedAt: string | null;
3103
+ createdAt: Date;
3104
+ updatedAt: Date;
3105
+ deletedAt: Date | null;
3106
3106
  }[];
3107
3107
  cc: {
3108
3108
  id: string;
3109
3109
  address: string;
3110
3110
  name: string;
3111
- createdAt: string;
3112
- updatedAt: string;
3113
- deletedAt: string | null;
3111
+ createdAt: Date;
3112
+ updatedAt: Date;
3113
+ deletedAt: Date | null;
3114
3114
  }[];
3115
3115
  bcc: {
3116
3116
  id: string;
3117
3117
  address: string;
3118
3118
  name: string;
3119
- createdAt: string;
3120
- updatedAt: string;
3121
- deletedAt: string | null;
3119
+ createdAt: Date;
3120
+ updatedAt: Date;
3121
+ deletedAt: Date | null;
3122
3122
  }[];
3123
3123
  resolved: boolean;
3124
3124
  mailId: string;
@@ -3128,23 +3128,23 @@ export declare const RoomContractsValidationSchema: {
3128
3128
  id: string;
3129
3129
  direction: string;
3130
3130
  action: string;
3131
- date: string;
3132
- createdAt: string;
3133
- updatedAt: string;
3134
- deletedAt: string | null;
3131
+ date: Date;
3132
+ createdAt: Date;
3133
+ updatedAt: Date;
3134
+ deletedAt: Date | null;
3135
3135
  roomId: string;
3136
3136
  attachments: {
3137
3137
  id: string;
3138
- createdAt: string;
3139
- updatedAt: string;
3140
- deletedAt: string | null;
3138
+ createdAt: Date;
3139
+ updatedAt: Date;
3140
+ deletedAt: Date | null;
3141
3141
  fileName: string;
3142
3142
  fileType: string;
3143
3143
  upload: {
3144
3144
  id: string;
3145
- createdAt: string;
3146
- updatedAt: string;
3147
- deletedAt: string | null;
3145
+ createdAt: Date;
3146
+ updatedAt: Date;
3147
+ deletedAt: Date | null;
3148
3148
  bucket_name: string;
3149
3149
  file_name: string;
3150
3150
  file_key: string;
@@ -3170,56 +3170,56 @@ export declare const RoomContractsValidationSchema: {
3170
3170
  id: string;
3171
3171
  address: string;
3172
3172
  name: string;
3173
- createdAt: string;
3174
- updatedAt: string;
3175
- deletedAt: string | null;
3173
+ createdAt: Date;
3174
+ updatedAt: Date;
3175
+ deletedAt: Date | null;
3176
3176
  }[];
3177
3177
  to: {
3178
3178
  id: string;
3179
3179
  address: string;
3180
3180
  name: string;
3181
- createdAt: string;
3182
- updatedAt: string;
3183
- deletedAt: string | null;
3181
+ createdAt: Date;
3182
+ updatedAt: Date;
3183
+ deletedAt: Date | null;
3184
3184
  }[];
3185
3185
  cc: {
3186
3186
  id: string;
3187
3187
  address: string;
3188
3188
  name: string;
3189
- createdAt: string;
3190
- updatedAt: string;
3191
- deletedAt: string | null;
3189
+ createdAt: Date;
3190
+ updatedAt: Date;
3191
+ deletedAt: Date | null;
3192
3192
  }[];
3193
3193
  bcc: {
3194
3194
  id: string;
3195
3195
  address: string;
3196
3196
  name: string;
3197
- createdAt: string;
3198
- updatedAt: string;
3199
- deletedAt: string | null;
3197
+ createdAt: Date;
3198
+ updatedAt: Date;
3199
+ deletedAt: Date | null;
3200
3200
  }[];
3201
3201
  };
3202
3202
  messages: {
3203
3203
  id: string;
3204
3204
  direction: string;
3205
3205
  action: string;
3206
- date: string;
3207
- createdAt: string;
3208
- updatedAt: string;
3209
- deletedAt: string | null;
3206
+ date: Date;
3207
+ createdAt: Date;
3208
+ updatedAt: Date;
3209
+ deletedAt: Date | null;
3210
3210
  roomId: string;
3211
3211
  attachments: {
3212
3212
  id: string;
3213
- createdAt: string;
3214
- updatedAt: string;
3215
- deletedAt: string | null;
3213
+ createdAt: Date;
3214
+ updatedAt: Date;
3215
+ deletedAt: Date | null;
3216
3216
  fileName: string;
3217
3217
  fileType: string;
3218
3218
  upload: {
3219
3219
  id: string;
3220
- createdAt: string;
3221
- updatedAt: string;
3222
- deletedAt: string | null;
3220
+ createdAt: Date;
3221
+ updatedAt: Date;
3222
+ deletedAt: Date | null;
3223
3223
  bucket_name: string;
3224
3224
  file_name: string;
3225
3225
  file_key: string;
@@ -3245,56 +3245,56 @@ export declare const RoomContractsValidationSchema: {
3245
3245
  id: string;
3246
3246
  address: string;
3247
3247
  name: string;
3248
- createdAt: string;
3249
- updatedAt: string;
3250
- deletedAt: string | null;
3248
+ createdAt: Date;
3249
+ updatedAt: Date;
3250
+ deletedAt: Date | null;
3251
3251
  }[];
3252
3252
  to: {
3253
3253
  id: string;
3254
3254
  address: string;
3255
3255
  name: string;
3256
- createdAt: string;
3257
- updatedAt: string;
3258
- deletedAt: string | null;
3256
+ createdAt: Date;
3257
+ updatedAt: Date;
3258
+ deletedAt: Date | null;
3259
3259
  }[];
3260
3260
  cc: {
3261
3261
  id: string;
3262
3262
  address: string;
3263
3263
  name: string;
3264
- createdAt: string;
3265
- updatedAt: string;
3266
- deletedAt: string | null;
3264
+ createdAt: Date;
3265
+ updatedAt: Date;
3266
+ deletedAt: Date | null;
3267
3267
  }[];
3268
3268
  bcc: {
3269
3269
  id: string;
3270
3270
  address: string;
3271
3271
  name: string;
3272
- createdAt: string;
3273
- updatedAt: string;
3274
- deletedAt: string | null;
3272
+ createdAt: Date;
3273
+ updatedAt: Date;
3274
+ deletedAt: Date | null;
3275
3275
  }[];
3276
3276
  }[];
3277
3277
  messagesAndLogs: ({
3278
3278
  id: string;
3279
3279
  direction: string;
3280
3280
  action: string;
3281
- date: string;
3282
- createdAt: string;
3283
- updatedAt: string;
3284
- deletedAt: string | null;
3281
+ date: Date;
3282
+ createdAt: Date;
3283
+ updatedAt: Date;
3284
+ deletedAt: Date | null;
3285
3285
  roomId: string;
3286
3286
  attachments: {
3287
3287
  id: string;
3288
- createdAt: string;
3289
- updatedAt: string;
3290
- deletedAt: string | null;
3288
+ createdAt: Date;
3289
+ updatedAt: Date;
3290
+ deletedAt: Date | null;
3291
3291
  fileName: string;
3292
3292
  fileType: string;
3293
3293
  upload: {
3294
3294
  id: string;
3295
- createdAt: string;
3296
- updatedAt: string;
3297
- deletedAt: string | null;
3295
+ createdAt: Date;
3296
+ updatedAt: Date;
3297
+ deletedAt: Date | null;
3298
3298
  bucket_name: string;
3299
3299
  file_name: string;
3300
3300
  file_key: string;
@@ -3320,48 +3320,48 @@ export declare const RoomContractsValidationSchema: {
3320
3320
  id: string;
3321
3321
  address: string;
3322
3322
  name: string;
3323
- createdAt: string;
3324
- updatedAt: string;
3325
- deletedAt: string | null;
3323
+ createdAt: Date;
3324
+ updatedAt: Date;
3325
+ deletedAt: Date | null;
3326
3326
  }[];
3327
3327
  to: {
3328
3328
  id: string;
3329
3329
  address: string;
3330
3330
  name: string;
3331
- createdAt: string;
3332
- updatedAt: string;
3333
- deletedAt: string | null;
3331
+ createdAt: Date;
3332
+ updatedAt: Date;
3333
+ deletedAt: Date | null;
3334
3334
  }[];
3335
3335
  cc: {
3336
3336
  id: string;
3337
3337
  address: string;
3338
3338
  name: string;
3339
- createdAt: string;
3340
- updatedAt: string;
3341
- deletedAt: string | null;
3339
+ createdAt: Date;
3340
+ updatedAt: Date;
3341
+ deletedAt: Date | null;
3342
3342
  }[];
3343
3343
  bcc: {
3344
3344
  id: string;
3345
3345
  address: string;
3346
3346
  name: string;
3347
- createdAt: string;
3348
- updatedAt: string;
3349
- deletedAt: string | null;
3347
+ createdAt: Date;
3348
+ updatedAt: Date;
3349
+ deletedAt: Date | null;
3350
3350
  }[];
3351
3351
  } | {
3352
3352
  id: string;
3353
3353
  description: string;
3354
- createdAt: string;
3355
- updatedAt: string;
3354
+ createdAt: Date;
3355
+ updatedAt: Date;
3356
3356
  deletedAt: string | null;
3357
3357
  actor: {
3358
3358
  id: string;
3359
3359
  address: string | null;
3360
3360
  name: string;
3361
3361
  email: string;
3362
- createdAt: string;
3363
- updatedAt: string;
3364
- deletedAt: string | null;
3362
+ createdAt: Date;
3363
+ updatedAt: Date;
3364
+ deletedAt: Date | null;
3365
3365
  phone: string | null;
3366
3366
  notification_count: number | null;
3367
3367
  };
@@ -3373,17 +3373,17 @@ export declare const RoomContractsValidationSchema: {
3373
3373
  state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
3374
3374
  address: string;
3375
3375
  name: string;
3376
- createdAt: string;
3377
- updatedAt: string;
3378
- deletedAt: string | null;
3376
+ createdAt: Date;
3377
+ updatedAt: Date;
3378
+ deletedAt: Date | null;
3379
3379
  accountId: string;
3380
3380
  mailServerId: string;
3381
3381
  mailServer: {
3382
3382
  id: string;
3383
3383
  name: string;
3384
- createdAt: string;
3385
- updatedAt: string;
3386
- deletedAt: string | null;
3384
+ createdAt: Date;
3385
+ updatedAt: Date;
3386
+ deletedAt: Date | null;
3387
3387
  smtpHost: string;
3388
3388
  smtpPort: string;
3389
3389
  smtpTlsPort: string;