@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
@@ -1,99 +1,99 @@
1
1
  import z from 'zod';
2
2
  export declare const CommentSchema: z.ZodObject<{
3
3
  id: z.ZodString;
4
- createdAt: z.ZodString;
5
- updatedAt: z.ZodString;
6
- deletedAt: z.ZodNullable<z.ZodString>;
4
+ createdAt: z.ZodDate;
5
+ updatedAt: z.ZodDate;
6
+ deletedAt: z.ZodNullable<z.ZodDate>;
7
7
  activityLogs: z.ZodArray<z.ZodObject<{
8
8
  id: z.ZodString;
9
- createdAt: z.ZodString;
10
- updatedAt: z.ZodString;
11
- deletedAt: z.ZodNullable<z.ZodString>;
9
+ createdAt: z.ZodDate;
10
+ updatedAt: z.ZodDate;
11
+ deletedAt: z.ZodNullable<z.ZodDate>;
12
12
  actor: z.ZodObject<{
13
13
  id: z.ZodString;
14
- createdAt: z.ZodString;
15
- updatedAt: z.ZodString;
16
- deletedAt: z.ZodNullable<z.ZodString>;
14
+ createdAt: z.ZodDate;
15
+ updatedAt: z.ZodDate;
16
+ deletedAt: z.ZodNullable<z.ZodDate>;
17
17
  name: z.ZodString;
18
18
  email: z.ZodString;
19
- emailVerifiedAt: z.ZodNullable<z.ZodString>;
19
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
20
20
  password: z.ZodString;
21
21
  address: z.ZodNullable<z.ZodString>;
22
22
  phone: z.ZodNullable<z.ZodString>;
23
23
  notificationCount: z.ZodNullable<z.ZodNumber>;
24
24
  roles: 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
  systemName: z.ZodString;
30
30
  displayName: z.ZodString;
31
31
  description: z.ZodNullable<z.ZodString>;
32
32
  permissions: z.ZodArray<z.ZodObject<{
33
33
  id: z.ZodString;
34
- createdAt: z.ZodString;
35
- updatedAt: z.ZodString;
36
- deletedAt: z.ZodNullable<z.ZodString>;
34
+ createdAt: z.ZodDate;
35
+ updatedAt: z.ZodDate;
36
+ deletedAt: z.ZodNullable<z.ZodDate>;
37
37
  systemName: z.ZodString;
38
38
  displayName: z.ZodString;
39
39
  description: z.ZodNullable<z.ZodString>;
40
40
  }, "strip", z.ZodTypeAny, {
41
41
  id: string;
42
42
  description: string | null;
43
- createdAt: string;
44
- updatedAt: string;
45
- deletedAt: string | null;
43
+ createdAt: Date;
44
+ updatedAt: Date;
45
+ deletedAt: Date | null;
46
46
  systemName: string;
47
47
  displayName: string;
48
48
  }, {
49
49
  id: string;
50
50
  description: string | null;
51
- createdAt: string;
52
- updatedAt: string;
53
- deletedAt: string | null;
51
+ createdAt: Date;
52
+ updatedAt: Date;
53
+ deletedAt: Date | null;
54
54
  systemName: string;
55
55
  displayName: string;
56
56
  }>, "many">;
57
57
  }, "strip", z.ZodTypeAny, {
58
58
  id: string;
59
59
  description: string | null;
60
- createdAt: string;
61
- updatedAt: string;
62
- deletedAt: string | null;
60
+ createdAt: Date;
61
+ updatedAt: Date;
62
+ deletedAt: Date | null;
63
63
  systemName: string;
64
64
  displayName: string;
65
65
  permissions: {
66
66
  id: string;
67
67
  description: string | null;
68
- createdAt: string;
69
- updatedAt: string;
70
- deletedAt: string | null;
68
+ createdAt: Date;
69
+ updatedAt: Date;
70
+ deletedAt: Date | null;
71
71
  systemName: string;
72
72
  displayName: string;
73
73
  }[];
74
74
  }, {
75
75
  id: string;
76
76
  description: string | null;
77
- createdAt: string;
78
- updatedAt: string;
79
- deletedAt: string | null;
77
+ createdAt: Date;
78
+ updatedAt: Date;
79
+ deletedAt: Date | null;
80
80
  systemName: string;
81
81
  displayName: string;
82
82
  permissions: {
83
83
  id: string;
84
84
  description: string | null;
85
- createdAt: string;
86
- updatedAt: string;
87
- deletedAt: string | null;
85
+ createdAt: Date;
86
+ updatedAt: Date;
87
+ deletedAt: Date | null;
88
88
  systemName: string;
89
89
  displayName: string;
90
90
  }[];
91
91
  }>, "many">;
92
92
  extension: z.ZodOptional<z.ZodObject<{
93
93
  id: z.ZodString;
94
- createdAt: z.ZodString;
95
- updatedAt: z.ZodString;
96
- deletedAt: z.ZodNullable<z.ZodString>;
94
+ createdAt: z.ZodDate;
95
+ updatedAt: z.ZodDate;
96
+ deletedAt: z.ZodNullable<z.ZodDate>;
97
97
  userId: z.ZodNullable<z.ZodString>;
98
98
  sipServerUrl: z.ZodString;
99
99
  sipUserName: z.ZodString;
@@ -102,9 +102,9 @@ export declare const CommentSchema: z.ZodObject<{
102
102
  telephonySignature: z.ZodNullable<z.ZodString>;
103
103
  }, "strip", z.ZodTypeAny, {
104
104
  id: string;
105
- createdAt: string;
106
- updatedAt: string;
107
- deletedAt: string | null;
105
+ createdAt: Date;
106
+ updatedAt: Date;
107
+ deletedAt: Date | null;
108
108
  userId: string | null;
109
109
  sipServerUrl: string;
110
110
  sipUserName: string;
@@ -113,9 +113,9 @@ export declare const CommentSchema: z.ZodObject<{
113
113
  telephonySignature: string | null;
114
114
  }, {
115
115
  id: string;
116
- createdAt: string;
117
- updatedAt: string;
118
- deletedAt: string | null;
116
+ createdAt: Date;
117
+ updatedAt: Date;
118
+ deletedAt: Date | null;
119
119
  userId: string | null;
120
120
  sipServerUrl: string;
121
121
  sipUserName: string;
@@ -128,36 +128,36 @@ export declare const CommentSchema: z.ZodObject<{
128
128
  address: string | null;
129
129
  name: string;
130
130
  email: string;
131
- createdAt: string;
132
- updatedAt: string;
133
- deletedAt: string | null;
134
- emailVerifiedAt: string | null;
131
+ createdAt: Date;
132
+ updatedAt: Date;
133
+ deletedAt: Date | null;
134
+ emailVerifiedAt: Date | null;
135
135
  password: string;
136
136
  phone: string | null;
137
137
  notificationCount: number | null;
138
138
  roles: {
139
139
  id: string;
140
140
  description: string | null;
141
- createdAt: string;
142
- updatedAt: string;
143
- deletedAt: string | null;
141
+ createdAt: Date;
142
+ updatedAt: Date;
143
+ deletedAt: Date | null;
144
144
  systemName: string;
145
145
  displayName: string;
146
146
  permissions: {
147
147
  id: string;
148
148
  description: string | null;
149
- createdAt: string;
150
- updatedAt: string;
151
- deletedAt: string | null;
149
+ createdAt: Date;
150
+ updatedAt: Date;
151
+ deletedAt: Date | null;
152
152
  systemName: string;
153
153
  displayName: string;
154
154
  }[];
155
155
  }[];
156
156
  extension?: {
157
157
  id: string;
158
- createdAt: string;
159
- updatedAt: string;
160
- deletedAt: string | null;
158
+ createdAt: Date;
159
+ updatedAt: Date;
160
+ deletedAt: Date | null;
161
161
  userId: string | null;
162
162
  sipServerUrl: string;
163
163
  sipUserName: string;
@@ -170,36 +170,36 @@ export declare const CommentSchema: z.ZodObject<{
170
170
  address: string | null;
171
171
  name: string;
172
172
  email: string;
173
- createdAt: string;
174
- updatedAt: string;
175
- deletedAt: string | null;
176
- emailVerifiedAt: string | null;
173
+ createdAt: Date;
174
+ updatedAt: Date;
175
+ deletedAt: Date | null;
176
+ emailVerifiedAt: Date | null;
177
177
  password: string;
178
178
  phone: string | null;
179
179
  notificationCount: number | null;
180
180
  roles: {
181
181
  id: string;
182
182
  description: string | null;
183
- createdAt: string;
184
- updatedAt: string;
185
- deletedAt: string | null;
183
+ createdAt: Date;
184
+ updatedAt: Date;
185
+ deletedAt: Date | null;
186
186
  systemName: string;
187
187
  displayName: string;
188
188
  permissions: {
189
189
  id: string;
190
190
  description: string | null;
191
- createdAt: string;
192
- updatedAt: string;
193
- deletedAt: string | null;
191
+ createdAt: Date;
192
+ updatedAt: Date;
193
+ deletedAt: Date | null;
194
194
  systemName: string;
195
195
  displayName: string;
196
196
  }[];
197
197
  }[];
198
198
  extension?: {
199
199
  id: string;
200
- createdAt: string;
201
- updatedAt: string;
202
- deletedAt: string | null;
200
+ createdAt: Date;
201
+ updatedAt: Date;
202
+ deletedAt: Date | null;
203
203
  userId: string | null;
204
204
  sipServerUrl: string;
205
205
  sipUserName: string;
@@ -212,67 +212,67 @@ export declare const CommentSchema: z.ZodObject<{
212
212
  description: z.ZodString;
213
213
  entityType: z.ZodObject<{
214
214
  id: z.ZodString;
215
- createdAt: z.ZodString;
216
- updatedAt: z.ZodString;
217
- deletedAt: z.ZodNullable<z.ZodString>;
215
+ createdAt: z.ZodDate;
216
+ updatedAt: z.ZodDate;
217
+ deletedAt: z.ZodNullable<z.ZodDate>;
218
218
  entity: z.ZodString;
219
219
  description: z.ZodString;
220
220
  }, "strip", z.ZodTypeAny, {
221
221
  id: string;
222
222
  description: string;
223
- createdAt: string;
224
- updatedAt: string;
225
- deletedAt: string | null;
223
+ createdAt: Date;
224
+ updatedAt: Date;
225
+ deletedAt: Date | null;
226
226
  entity: string;
227
227
  }, {
228
228
  id: string;
229
229
  description: string;
230
- createdAt: string;
231
- updatedAt: string;
232
- deletedAt: string | null;
230
+ createdAt: Date;
231
+ updatedAt: Date;
232
+ deletedAt: Date | null;
233
233
  entity: string;
234
234
  }>;
235
235
  }, "strip", z.ZodTypeAny, {
236
236
  id: string;
237
237
  description: string;
238
- createdAt: string;
239
- updatedAt: string;
240
- deletedAt: string | null;
238
+ createdAt: Date;
239
+ updatedAt: Date;
240
+ deletedAt: Date | null;
241
241
  actor: {
242
242
  id: string;
243
243
  address: string | null;
244
244
  name: string;
245
245
  email: string;
246
- createdAt: string;
247
- updatedAt: string;
248
- deletedAt: string | null;
249
- emailVerifiedAt: string | null;
246
+ createdAt: Date;
247
+ updatedAt: Date;
248
+ deletedAt: Date | null;
249
+ emailVerifiedAt: Date | null;
250
250
  password: string;
251
251
  phone: string | null;
252
252
  notificationCount: number | null;
253
253
  roles: {
254
254
  id: string;
255
255
  description: string | null;
256
- createdAt: string;
257
- updatedAt: string;
258
- deletedAt: string | null;
256
+ createdAt: Date;
257
+ updatedAt: Date;
258
+ deletedAt: Date | null;
259
259
  systemName: string;
260
260
  displayName: string;
261
261
  permissions: {
262
262
  id: string;
263
263
  description: string | null;
264
- createdAt: string;
265
- updatedAt: string;
266
- deletedAt: string | null;
264
+ createdAt: Date;
265
+ updatedAt: Date;
266
+ deletedAt: Date | null;
267
267
  systemName: string;
268
268
  displayName: string;
269
269
  }[];
270
270
  }[];
271
271
  extension?: {
272
272
  id: string;
273
- createdAt: string;
274
- updatedAt: string;
275
- deletedAt: string | null;
273
+ createdAt: Date;
274
+ updatedAt: Date;
275
+ deletedAt: Date | null;
276
276
  userId: string | null;
277
277
  sipServerUrl: string;
278
278
  sipUserName: string;
@@ -285,52 +285,52 @@ export declare const CommentSchema: z.ZodObject<{
285
285
  entityType: {
286
286
  id: string;
287
287
  description: string;
288
- createdAt: string;
289
- updatedAt: string;
290
- deletedAt: string | null;
288
+ createdAt: Date;
289
+ updatedAt: Date;
290
+ deletedAt: Date | null;
291
291
  entity: string;
292
292
  };
293
293
  }, {
294
294
  id: string;
295
295
  description: string;
296
- createdAt: string;
297
- updatedAt: string;
298
- deletedAt: string | null;
296
+ createdAt: Date;
297
+ updatedAt: Date;
298
+ deletedAt: Date | null;
299
299
  actor: {
300
300
  id: string;
301
301
  address: string | null;
302
302
  name: string;
303
303
  email: string;
304
- createdAt: string;
305
- updatedAt: string;
306
- deletedAt: string | null;
307
- emailVerifiedAt: string | null;
304
+ createdAt: Date;
305
+ updatedAt: Date;
306
+ deletedAt: Date | null;
307
+ emailVerifiedAt: Date | null;
308
308
  password: string;
309
309
  phone: string | null;
310
310
  notificationCount: number | null;
311
311
  roles: {
312
312
  id: string;
313
313
  description: string | null;
314
- createdAt: string;
315
- updatedAt: string;
316
- deletedAt: string | null;
314
+ createdAt: Date;
315
+ updatedAt: Date;
316
+ deletedAt: Date | null;
317
317
  systemName: string;
318
318
  displayName: string;
319
319
  permissions: {
320
320
  id: string;
321
321
  description: string | null;
322
- createdAt: string;
323
- updatedAt: string;
324
- deletedAt: string | null;
322
+ createdAt: Date;
323
+ updatedAt: Date;
324
+ deletedAt: Date | null;
325
325
  systemName: string;
326
326
  displayName: string;
327
327
  }[];
328
328
  }[];
329
329
  extension?: {
330
330
  id: string;
331
- createdAt: string;
332
- updatedAt: string;
333
- deletedAt: string | null;
331
+ createdAt: Date;
332
+ updatedAt: Date;
333
+ deletedAt: Date | null;
334
334
  userId: string | null;
335
335
  sipServerUrl: string;
336
336
  sipUserName: string;
@@ -343,9 +343,9 @@ export declare const CommentSchema: z.ZodObject<{
343
343
  entityType: {
344
344
  id: string;
345
345
  description: string;
346
- createdAt: string;
347
- updatedAt: string;
348
- deletedAt: string | null;
346
+ createdAt: Date;
347
+ updatedAt: Date;
348
+ deletedAt: Date | null;
349
349
  entity: string;
350
350
  };
351
351
  }>, "many">;
@@ -353,9 +353,9 @@ export declare const CommentSchema: z.ZodObject<{
353
353
  mentions: z.ZodArray<z.ZodString, "many">;
354
354
  ticket: z.ZodObject<{
355
355
  id: z.ZodString;
356
- createdAt: z.ZodString;
357
- updatedAt: z.ZodString;
358
- deletedAt: z.ZodNullable<z.ZodString>;
356
+ createdAt: z.ZodDate;
357
+ updatedAt: z.ZodDate;
358
+ deletedAt: z.ZodNullable<z.ZodDate>;
359
359
  title: z.ZodString;
360
360
  description: z.ZodNullable<z.ZodString>;
361
361
  type: z.ZodString;
@@ -369,18 +369,18 @@ export declare const CommentSchema: z.ZodObject<{
369
369
  ticketNumber: z.ZodOptional<z.ZodNumber>;
370
370
  customFields: z.ZodArray<z.ZodObject<{
371
371
  id: z.ZodString;
372
- createdAt: z.ZodString;
373
- updatedAt: z.ZodString;
374
- deletedAt: z.ZodNullable<z.ZodString>;
372
+ createdAt: z.ZodDate;
373
+ updatedAt: z.ZodDate;
374
+ deletedAt: z.ZodNullable<z.ZodDate>;
375
375
  textValue: z.ZodNullable<z.ZodString>;
376
376
  booleanValue: z.ZodNullable<z.ZodBoolean>;
377
377
  numberValue: z.ZodNullable<z.ZodNumber>;
378
- dateValue: z.ZodNullable<z.ZodString>;
378
+ dateValue: z.ZodNullable<z.ZodDate>;
379
379
  attribute: z.ZodObject<Omit<{
380
380
  id: z.ZodString;
381
- createdAt: z.ZodString;
382
- updatedAt: z.ZodString;
383
- deletedAt: z.ZodNullable<z.ZodString>;
381
+ createdAt: z.ZodDate;
382
+ updatedAt: z.ZodDate;
383
+ deletedAt: z.ZodNullable<z.ZodDate>;
384
384
  systemName: z.ZodString;
385
385
  displayName: z.ZodString;
386
386
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -410,23 +410,23 @@ export declare const CommentSchema: z.ZodObject<{
410
410
  }>, "many">;
411
411
  group: z.ZodObject<{
412
412
  id: z.ZodString;
413
- createdAt: z.ZodString;
414
- updatedAt: z.ZodString;
415
- deletedAt: z.ZodNullable<z.ZodString>;
413
+ createdAt: z.ZodDate;
414
+ updatedAt: z.ZodDate;
415
+ deletedAt: z.ZodNullable<z.ZodDate>;
416
416
  systemName: z.ZodString;
417
417
  displayName: z.ZodString;
418
418
  }, "strip", z.ZodTypeAny, {
419
419
  id: string;
420
- createdAt: string;
421
- updatedAt: string;
422
- deletedAt: string | null;
420
+ createdAt: Date;
421
+ updatedAt: Date;
422
+ deletedAt: Date | null;
423
423
  systemName: string;
424
424
  displayName: string;
425
425
  }, {
426
426
  id: string;
427
- createdAt: string;
428
- updatedAt: string;
429
- deletedAt: string | null;
427
+ createdAt: Date;
428
+ updatedAt: Date;
429
+ deletedAt: Date | null;
430
430
  systemName: string;
431
431
  displayName: string;
432
432
  }>;
@@ -434,9 +434,9 @@ export declare const CommentSchema: z.ZodObject<{
434
434
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
435
435
  id: string;
436
436
  position: number;
437
- createdAt: string;
438
- updatedAt: string;
439
- deletedAt: string | null;
437
+ createdAt: Date;
438
+ updatedAt: Date;
439
+ deletedAt: Date | null;
440
440
  isDefault: boolean;
441
441
  systemName: string;
442
442
  displayName: string;
@@ -447,9 +447,9 @@ export declare const CommentSchema: z.ZodObject<{
447
447
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
448
448
  id: string;
449
449
  position: number;
450
- createdAt: string;
451
- updatedAt: string;
452
- deletedAt: string | null;
450
+ createdAt: Date;
451
+ updatedAt: Date;
452
+ deletedAt: Date | null;
453
453
  isDefault: boolean;
454
454
  systemName: string;
455
455
  displayName: string;
@@ -459,33 +459,33 @@ export declare const CommentSchema: z.ZodObject<{
459
459
  }>;
460
460
  uploads: z.ZodArray<z.ZodObject<{
461
461
  id: z.ZodString;
462
- createdAt: z.ZodString;
463
- updatedAt: z.ZodString;
464
- deletedAt: z.ZodNullable<z.ZodString>;
462
+ createdAt: z.ZodDate;
463
+ updatedAt: z.ZodDate;
464
+ deletedAt: z.ZodNullable<z.ZodDate>;
465
465
  customFieldId: z.ZodString;
466
466
  upload: z.ZodObject<{
467
467
  id: z.ZodString;
468
- createdAt: z.ZodString;
469
- updatedAt: z.ZodString;
470
- deletedAt: z.ZodNullable<z.ZodString>;
468
+ createdAt: z.ZodDate;
469
+ updatedAt: z.ZodDate;
470
+ deletedAt: z.ZodNullable<z.ZodDate>;
471
471
  bucketName: z.ZodString;
472
472
  fileName: z.ZodString;
473
473
  fileSize: z.ZodNumber;
474
474
  fileKey: z.ZodString;
475
475
  }, "strip", z.ZodTypeAny, {
476
476
  id: string;
477
- createdAt: string;
478
- updatedAt: string;
479
- deletedAt: string | null;
477
+ createdAt: Date;
478
+ updatedAt: Date;
479
+ deletedAt: Date | null;
480
480
  fileName: string;
481
481
  fileKey: string;
482
482
  bucketName: string;
483
483
  fileSize: number;
484
484
  }, {
485
485
  id: string;
486
- createdAt: string;
487
- updatedAt: string;
488
- deletedAt: string | null;
486
+ createdAt: Date;
487
+ updatedAt: Date;
488
+ deletedAt: Date | null;
489
489
  fileName: string;
490
490
  fileKey: string;
491
491
  bucketName: string;
@@ -493,15 +493,15 @@ export declare const CommentSchema: z.ZodObject<{
493
493
  }>;
494
494
  }, "strip", z.ZodTypeAny, {
495
495
  id: string;
496
- createdAt: string;
497
- updatedAt: string;
498
- deletedAt: string | null;
496
+ createdAt: Date;
497
+ updatedAt: Date;
498
+ deletedAt: Date | null;
499
499
  customFieldId: string;
500
500
  upload: {
501
501
  id: string;
502
- createdAt: string;
503
- updatedAt: string;
504
- deletedAt: string | null;
502
+ createdAt: Date;
503
+ updatedAt: Date;
504
+ deletedAt: Date | null;
505
505
  fileName: string;
506
506
  fileKey: string;
507
507
  bucketName: string;
@@ -509,15 +509,15 @@ export declare const CommentSchema: z.ZodObject<{
509
509
  };
510
510
  }, {
511
511
  id: string;
512
- createdAt: string;
513
- updatedAt: string;
514
- deletedAt: string | null;
512
+ createdAt: Date;
513
+ updatedAt: Date;
514
+ deletedAt: Date | null;
515
515
  customFieldId: string;
516
516
  upload: {
517
517
  id: string;
518
- createdAt: string;
519
- updatedAt: string;
520
- deletedAt: string | null;
518
+ createdAt: Date;
519
+ updatedAt: Date;
520
+ deletedAt: Date | null;
521
521
  fileName: string;
522
522
  fileKey: string;
523
523
  bucketName: string;
@@ -526,16 +526,16 @@ export declare const CommentSchema: z.ZodObject<{
526
526
  }>, "many">;
527
527
  }, "strip", z.ZodTypeAny, {
528
528
  id: string;
529
- createdAt: string;
530
- updatedAt: string;
531
- deletedAt: string | null;
529
+ createdAt: Date;
530
+ updatedAt: Date;
531
+ deletedAt: Date | null;
532
532
  attribute: {
533
533
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
534
534
  id: string;
535
535
  position: number;
536
- createdAt: string;
537
- updatedAt: string;
538
- deletedAt: string | null;
536
+ createdAt: Date;
537
+ updatedAt: Date;
538
+ deletedAt: Date | null;
539
539
  isDefault: boolean;
540
540
  systemName: string;
541
541
  displayName: string;
@@ -546,18 +546,18 @@ export declare const CommentSchema: z.ZodObject<{
546
546
  textValue: string | null;
547
547
  booleanValue: boolean | null;
548
548
  numberValue: number | null;
549
- dateValue: string | null;
549
+ dateValue: Date | null;
550
550
  uploads: {
551
551
  id: string;
552
- createdAt: string;
553
- updatedAt: string;
554
- deletedAt: string | null;
552
+ createdAt: Date;
553
+ updatedAt: Date;
554
+ deletedAt: Date | null;
555
555
  customFieldId: string;
556
556
  upload: {
557
557
  id: string;
558
- createdAt: string;
559
- updatedAt: string;
560
- deletedAt: string | null;
558
+ createdAt: Date;
559
+ updatedAt: Date;
560
+ deletedAt: Date | null;
561
561
  fileName: string;
562
562
  fileKey: string;
563
563
  bucketName: string;
@@ -566,16 +566,16 @@ export declare const CommentSchema: z.ZodObject<{
566
566
  }[];
567
567
  }, {
568
568
  id: string;
569
- createdAt: string;
570
- updatedAt: string;
571
- deletedAt: string | null;
569
+ createdAt: Date;
570
+ updatedAt: Date;
571
+ deletedAt: Date | null;
572
572
  attribute: {
573
573
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
574
574
  id: string;
575
575
  position: number;
576
- createdAt: string;
577
- updatedAt: string;
578
- deletedAt: string | null;
576
+ createdAt: Date;
577
+ updatedAt: Date;
578
+ deletedAt: Date | null;
579
579
  isDefault: boolean;
580
580
  systemName: string;
581
581
  displayName: string;
@@ -586,18 +586,18 @@ export declare const CommentSchema: z.ZodObject<{
586
586
  textValue: string | null;
587
587
  booleanValue: boolean | null;
588
588
  numberValue: number | null;
589
- dateValue: string | null;
589
+ dateValue: Date | null;
590
590
  uploads: {
591
591
  id: string;
592
- createdAt: string;
593
- updatedAt: string;
594
- deletedAt: string | null;
592
+ createdAt: Date;
593
+ updatedAt: Date;
594
+ deletedAt: Date | null;
595
595
  customFieldId: string;
596
596
  upload: {
597
597
  id: string;
598
- createdAt: string;
599
- updatedAt: string;
600
- deletedAt: string | null;
598
+ createdAt: Date;
599
+ updatedAt: Date;
600
+ deletedAt: Date | null;
601
601
  fileName: string;
602
602
  fileKey: string;
603
603
  bucketName: string;
@@ -613,21 +613,21 @@ export declare const CommentSchema: z.ZodObject<{
613
613
  title: string;
614
614
  description: string | null;
615
615
  status: string;
616
- createdAt: string;
617
- updatedAt: string;
618
- deletedAt: string | null;
616
+ createdAt: Date;
617
+ updatedAt: Date;
618
+ deletedAt: Date | null;
619
619
  customFields: {
620
620
  id: string;
621
- createdAt: string;
622
- updatedAt: string;
623
- deletedAt: string | null;
621
+ createdAt: Date;
622
+ updatedAt: Date;
623
+ deletedAt: Date | null;
624
624
  attribute: {
625
625
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
626
626
  id: string;
627
627
  position: number;
628
- createdAt: string;
629
- updatedAt: string;
630
- deletedAt: string | null;
628
+ createdAt: Date;
629
+ updatedAt: Date;
630
+ deletedAt: Date | null;
631
631
  isDefault: boolean;
632
632
  systemName: string;
633
633
  displayName: string;
@@ -638,18 +638,18 @@ export declare const CommentSchema: z.ZodObject<{
638
638
  textValue: string | null;
639
639
  booleanValue: boolean | null;
640
640
  numberValue: number | null;
641
- dateValue: string | null;
641
+ dateValue: Date | null;
642
642
  uploads: {
643
643
  id: string;
644
- createdAt: string;
645
- updatedAt: string;
646
- deletedAt: string | null;
644
+ createdAt: Date;
645
+ updatedAt: Date;
646
+ deletedAt: Date | null;
647
647
  customFieldId: string;
648
648
  upload: {
649
649
  id: string;
650
- createdAt: string;
651
- updatedAt: string;
652
- deletedAt: string | null;
650
+ createdAt: Date;
651
+ updatedAt: Date;
652
+ deletedAt: Date | null;
653
653
  fileName: string;
654
654
  fileKey: string;
655
655
  bucketName: string;
@@ -670,21 +670,21 @@ export declare const CommentSchema: z.ZodObject<{
670
670
  title: string;
671
671
  description: string | null;
672
672
  status: string;
673
- createdAt: string;
674
- updatedAt: string;
675
- deletedAt: string | null;
673
+ createdAt: Date;
674
+ updatedAt: Date;
675
+ deletedAt: Date | null;
676
676
  customFields: {
677
677
  id: string;
678
- createdAt: string;
679
- updatedAt: string;
680
- deletedAt: string | null;
678
+ createdAt: Date;
679
+ updatedAt: Date;
680
+ deletedAt: Date | null;
681
681
  attribute: {
682
682
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
683
683
  id: string;
684
684
  position: number;
685
- createdAt: string;
686
- updatedAt: string;
687
- deletedAt: string | null;
685
+ createdAt: Date;
686
+ updatedAt: Date;
687
+ deletedAt: Date | null;
688
688
  isDefault: boolean;
689
689
  systemName: string;
690
690
  displayName: string;
@@ -695,18 +695,18 @@ export declare const CommentSchema: z.ZodObject<{
695
695
  textValue: string | null;
696
696
  booleanValue: boolean | null;
697
697
  numberValue: number | null;
698
- dateValue: string | null;
698
+ dateValue: Date | null;
699
699
  uploads: {
700
700
  id: string;
701
- createdAt: string;
702
- updatedAt: string;
703
- deletedAt: string | null;
701
+ createdAt: Date;
702
+ updatedAt: Date;
703
+ deletedAt: Date | null;
704
704
  customFieldId: string;
705
705
  upload: {
706
706
  id: string;
707
- createdAt: string;
708
- updatedAt: string;
709
- deletedAt: string | null;
707
+ createdAt: Date;
708
+ updatedAt: Date;
709
+ deletedAt: Date | null;
710
710
  fileName: string;
711
711
  fileKey: string;
712
712
  bucketName: string;
@@ -722,89 +722,89 @@ export declare const CommentSchema: z.ZodObject<{
722
722
  }>;
723
723
  agent: z.ZodObject<{
724
724
  id: z.ZodString;
725
- createdAt: z.ZodString;
726
- updatedAt: z.ZodString;
727
- deletedAt: z.ZodNullable<z.ZodString>;
725
+ createdAt: z.ZodDate;
726
+ updatedAt: z.ZodDate;
727
+ deletedAt: z.ZodNullable<z.ZodDate>;
728
728
  name: z.ZodString;
729
729
  email: z.ZodString;
730
- emailVerifiedAt: z.ZodNullable<z.ZodString>;
730
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
731
731
  password: z.ZodString;
732
732
  address: z.ZodNullable<z.ZodString>;
733
733
  phone: z.ZodNullable<z.ZodString>;
734
734
  notificationCount: z.ZodNullable<z.ZodNumber>;
735
735
  roles: z.ZodArray<z.ZodObject<{
736
736
  id: z.ZodString;
737
- createdAt: z.ZodString;
738
- updatedAt: z.ZodString;
739
- deletedAt: z.ZodNullable<z.ZodString>;
737
+ createdAt: z.ZodDate;
738
+ updatedAt: z.ZodDate;
739
+ deletedAt: z.ZodNullable<z.ZodDate>;
740
740
  systemName: z.ZodString;
741
741
  displayName: z.ZodString;
742
742
  description: z.ZodNullable<z.ZodString>;
743
743
  permissions: z.ZodArray<z.ZodObject<{
744
744
  id: z.ZodString;
745
- createdAt: z.ZodString;
746
- updatedAt: z.ZodString;
747
- deletedAt: z.ZodNullable<z.ZodString>;
745
+ createdAt: z.ZodDate;
746
+ updatedAt: z.ZodDate;
747
+ deletedAt: z.ZodNullable<z.ZodDate>;
748
748
  systemName: z.ZodString;
749
749
  displayName: z.ZodString;
750
750
  description: z.ZodNullable<z.ZodString>;
751
751
  }, "strip", z.ZodTypeAny, {
752
752
  id: string;
753
753
  description: string | null;
754
- createdAt: string;
755
- updatedAt: string;
756
- deletedAt: string | null;
754
+ createdAt: Date;
755
+ updatedAt: Date;
756
+ deletedAt: Date | null;
757
757
  systemName: string;
758
758
  displayName: string;
759
759
  }, {
760
760
  id: string;
761
761
  description: string | null;
762
- createdAt: string;
763
- updatedAt: string;
764
- deletedAt: string | null;
762
+ createdAt: Date;
763
+ updatedAt: Date;
764
+ deletedAt: Date | null;
765
765
  systemName: string;
766
766
  displayName: string;
767
767
  }>, "many">;
768
768
  }, "strip", z.ZodTypeAny, {
769
769
  id: string;
770
770
  description: string | null;
771
- createdAt: string;
772
- updatedAt: string;
773
- deletedAt: string | null;
771
+ createdAt: Date;
772
+ updatedAt: Date;
773
+ deletedAt: Date | null;
774
774
  systemName: string;
775
775
  displayName: string;
776
776
  permissions: {
777
777
  id: string;
778
778
  description: string | null;
779
- createdAt: string;
780
- updatedAt: string;
781
- deletedAt: string | null;
779
+ createdAt: Date;
780
+ updatedAt: Date;
781
+ deletedAt: Date | null;
782
782
  systemName: string;
783
783
  displayName: string;
784
784
  }[];
785
785
  }, {
786
786
  id: string;
787
787
  description: string | null;
788
- createdAt: string;
789
- updatedAt: string;
790
- deletedAt: string | null;
788
+ createdAt: Date;
789
+ updatedAt: Date;
790
+ deletedAt: Date | null;
791
791
  systemName: string;
792
792
  displayName: string;
793
793
  permissions: {
794
794
  id: string;
795
795
  description: string | null;
796
- createdAt: string;
797
- updatedAt: string;
798
- deletedAt: string | null;
796
+ createdAt: Date;
797
+ updatedAt: Date;
798
+ deletedAt: Date | null;
799
799
  systemName: string;
800
800
  displayName: string;
801
801
  }[];
802
802
  }>, "many">;
803
803
  extension: z.ZodOptional<z.ZodObject<{
804
804
  id: z.ZodString;
805
- createdAt: z.ZodString;
806
- updatedAt: z.ZodString;
807
- deletedAt: z.ZodNullable<z.ZodString>;
805
+ createdAt: z.ZodDate;
806
+ updatedAt: z.ZodDate;
807
+ deletedAt: z.ZodNullable<z.ZodDate>;
808
808
  userId: z.ZodNullable<z.ZodString>;
809
809
  sipServerUrl: z.ZodString;
810
810
  sipUserName: z.ZodString;
@@ -813,9 +813,9 @@ export declare const CommentSchema: z.ZodObject<{
813
813
  telephonySignature: z.ZodNullable<z.ZodString>;
814
814
  }, "strip", z.ZodTypeAny, {
815
815
  id: string;
816
- createdAt: string;
817
- updatedAt: string;
818
- deletedAt: string | null;
816
+ createdAt: Date;
817
+ updatedAt: Date;
818
+ deletedAt: Date | null;
819
819
  userId: string | null;
820
820
  sipServerUrl: string;
821
821
  sipUserName: string;
@@ -824,9 +824,9 @@ export declare const CommentSchema: z.ZodObject<{
824
824
  telephonySignature: string | null;
825
825
  }, {
826
826
  id: string;
827
- createdAt: string;
828
- updatedAt: string;
829
- deletedAt: string | null;
827
+ createdAt: Date;
828
+ updatedAt: Date;
829
+ deletedAt: Date | null;
830
830
  userId: string | null;
831
831
  sipServerUrl: string;
832
832
  sipUserName: string;
@@ -839,36 +839,36 @@ export declare const CommentSchema: z.ZodObject<{
839
839
  address: string | null;
840
840
  name: string;
841
841
  email: string;
842
- createdAt: string;
843
- updatedAt: string;
844
- deletedAt: string | null;
845
- emailVerifiedAt: string | null;
842
+ createdAt: Date;
843
+ updatedAt: Date;
844
+ deletedAt: Date | null;
845
+ emailVerifiedAt: Date | null;
846
846
  password: string;
847
847
  phone: string | null;
848
848
  notificationCount: number | null;
849
849
  roles: {
850
850
  id: string;
851
851
  description: string | null;
852
- createdAt: string;
853
- updatedAt: string;
854
- deletedAt: string | null;
852
+ createdAt: Date;
853
+ updatedAt: Date;
854
+ deletedAt: Date | null;
855
855
  systemName: string;
856
856
  displayName: string;
857
857
  permissions: {
858
858
  id: string;
859
859
  description: string | null;
860
- createdAt: string;
861
- updatedAt: string;
862
- deletedAt: string | null;
860
+ createdAt: Date;
861
+ updatedAt: Date;
862
+ deletedAt: Date | null;
863
863
  systemName: string;
864
864
  displayName: string;
865
865
  }[];
866
866
  }[];
867
867
  extension?: {
868
868
  id: string;
869
- createdAt: string;
870
- updatedAt: string;
871
- deletedAt: string | null;
869
+ createdAt: Date;
870
+ updatedAt: Date;
871
+ deletedAt: Date | null;
872
872
  userId: string | null;
873
873
  sipServerUrl: string;
874
874
  sipUserName: string;
@@ -881,36 +881,36 @@ export declare const CommentSchema: z.ZodObject<{
881
881
  address: string | null;
882
882
  name: string;
883
883
  email: string;
884
- createdAt: string;
885
- updatedAt: string;
886
- deletedAt: string | null;
887
- emailVerifiedAt: string | null;
884
+ createdAt: Date;
885
+ updatedAt: Date;
886
+ deletedAt: Date | null;
887
+ emailVerifiedAt: Date | null;
888
888
  password: string;
889
889
  phone: string | null;
890
890
  notificationCount: number | null;
891
891
  roles: {
892
892
  id: string;
893
893
  description: string | null;
894
- createdAt: string;
895
- updatedAt: string;
896
- deletedAt: string | null;
894
+ createdAt: Date;
895
+ updatedAt: Date;
896
+ deletedAt: Date | null;
897
897
  systemName: string;
898
898
  displayName: string;
899
899
  permissions: {
900
900
  id: string;
901
901
  description: string | null;
902
- createdAt: string;
903
- updatedAt: string;
904
- deletedAt: string | null;
902
+ createdAt: Date;
903
+ updatedAt: Date;
904
+ deletedAt: Date | null;
905
905
  systemName: string;
906
906
  displayName: string;
907
907
  }[];
908
908
  }[];
909
909
  extension?: {
910
910
  id: string;
911
- createdAt: string;
912
- updatedAt: string;
913
- deletedAt: string | null;
911
+ createdAt: Date;
912
+ updatedAt: Date;
913
+ deletedAt: Date | null;
914
914
  userId: string | null;
915
915
  sipServerUrl: string;
916
916
  sipUserName: string;
@@ -921,50 +921,50 @@ export declare const CommentSchema: z.ZodObject<{
921
921
  }>;
922
922
  }, "strip", z.ZodTypeAny, {
923
923
  id: string;
924
- createdAt: string;
925
- updatedAt: string;
926
- deletedAt: string | null;
924
+ createdAt: Date;
925
+ updatedAt: Date;
926
+ deletedAt: Date | null;
927
927
  activityLogs: {
928
928
  id: string;
929
929
  description: string;
930
- createdAt: string;
931
- updatedAt: string;
932
- deletedAt: string | null;
930
+ createdAt: Date;
931
+ updatedAt: Date;
932
+ deletedAt: Date | null;
933
933
  actor: {
934
934
  id: string;
935
935
  address: string | null;
936
936
  name: string;
937
937
  email: string;
938
- createdAt: string;
939
- updatedAt: string;
940
- deletedAt: string | null;
941
- emailVerifiedAt: string | null;
938
+ createdAt: Date;
939
+ updatedAt: Date;
940
+ deletedAt: Date | null;
941
+ emailVerifiedAt: Date | null;
942
942
  password: string;
943
943
  phone: string | null;
944
944
  notificationCount: number | null;
945
945
  roles: {
946
946
  id: string;
947
947
  description: string | null;
948
- createdAt: string;
949
- updatedAt: string;
950
- deletedAt: string | null;
948
+ createdAt: Date;
949
+ updatedAt: Date;
950
+ deletedAt: Date | null;
951
951
  systemName: string;
952
952
  displayName: string;
953
953
  permissions: {
954
954
  id: string;
955
955
  description: string | null;
956
- createdAt: string;
957
- updatedAt: string;
958
- deletedAt: string | null;
956
+ createdAt: Date;
957
+ updatedAt: Date;
958
+ deletedAt: Date | null;
959
959
  systemName: string;
960
960
  displayName: string;
961
961
  }[];
962
962
  }[];
963
963
  extension?: {
964
964
  id: string;
965
- createdAt: string;
966
- updatedAt: string;
967
- deletedAt: string | null;
965
+ createdAt: Date;
966
+ updatedAt: Date;
967
+ deletedAt: Date | null;
968
968
  userId: string | null;
969
969
  sipServerUrl: string;
970
970
  sipUserName: string;
@@ -977,9 +977,9 @@ export declare const CommentSchema: z.ZodObject<{
977
977
  entityType: {
978
978
  id: string;
979
979
  description: string;
980
- createdAt: string;
981
- updatedAt: string;
982
- deletedAt: string | null;
980
+ createdAt: Date;
981
+ updatedAt: Date;
982
+ deletedAt: Date | null;
983
983
  entity: string;
984
984
  };
985
985
  }[];
@@ -988,36 +988,36 @@ export declare const CommentSchema: z.ZodObject<{
988
988
  address: string | null;
989
989
  name: string;
990
990
  email: string;
991
- createdAt: string;
992
- updatedAt: string;
993
- deletedAt: string | null;
994
- emailVerifiedAt: string | null;
991
+ createdAt: Date;
992
+ updatedAt: Date;
993
+ deletedAt: Date | null;
994
+ emailVerifiedAt: Date | null;
995
995
  password: string;
996
996
  phone: string | null;
997
997
  notificationCount: number | null;
998
998
  roles: {
999
999
  id: string;
1000
1000
  description: string | null;
1001
- createdAt: string;
1002
- updatedAt: string;
1003
- deletedAt: string | null;
1001
+ createdAt: Date;
1002
+ updatedAt: Date;
1003
+ deletedAt: Date | null;
1004
1004
  systemName: string;
1005
1005
  displayName: string;
1006
1006
  permissions: {
1007
1007
  id: string;
1008
1008
  description: string | null;
1009
- createdAt: string;
1010
- updatedAt: string;
1011
- deletedAt: string | null;
1009
+ createdAt: Date;
1010
+ updatedAt: Date;
1011
+ deletedAt: Date | null;
1012
1012
  systemName: string;
1013
1013
  displayName: string;
1014
1014
  }[];
1015
1015
  }[];
1016
1016
  extension?: {
1017
1017
  id: string;
1018
- createdAt: string;
1019
- updatedAt: string;
1020
- deletedAt: string | null;
1018
+ createdAt: Date;
1019
+ updatedAt: Date;
1020
+ deletedAt: Date | null;
1021
1021
  userId: string | null;
1022
1022
  sipServerUrl: string;
1023
1023
  sipUserName: string;
@@ -1034,21 +1034,21 @@ export declare const CommentSchema: z.ZodObject<{
1034
1034
  title: string;
1035
1035
  description: string | null;
1036
1036
  status: string;
1037
- createdAt: string;
1038
- updatedAt: string;
1039
- deletedAt: string | null;
1037
+ createdAt: Date;
1038
+ updatedAt: Date;
1039
+ deletedAt: Date | null;
1040
1040
  customFields: {
1041
1041
  id: string;
1042
- createdAt: string;
1043
- updatedAt: string;
1044
- deletedAt: string | null;
1042
+ createdAt: Date;
1043
+ updatedAt: Date;
1044
+ deletedAt: Date | null;
1045
1045
  attribute: {
1046
1046
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1047
1047
  id: string;
1048
1048
  position: number;
1049
- createdAt: string;
1050
- updatedAt: string;
1051
- deletedAt: string | null;
1049
+ createdAt: Date;
1050
+ updatedAt: Date;
1051
+ deletedAt: Date | null;
1052
1052
  isDefault: boolean;
1053
1053
  systemName: string;
1054
1054
  displayName: string;
@@ -1059,18 +1059,18 @@ export declare const CommentSchema: z.ZodObject<{
1059
1059
  textValue: string | null;
1060
1060
  booleanValue: boolean | null;
1061
1061
  numberValue: number | null;
1062
- dateValue: string | null;
1062
+ dateValue: Date | null;
1063
1063
  uploads: {
1064
1064
  id: string;
1065
- createdAt: string;
1066
- updatedAt: string;
1067
- deletedAt: string | null;
1065
+ createdAt: Date;
1066
+ updatedAt: Date;
1067
+ deletedAt: Date | null;
1068
1068
  customFieldId: string;
1069
1069
  upload: {
1070
1070
  id: string;
1071
- createdAt: string;
1072
- updatedAt: string;
1073
- deletedAt: string | null;
1071
+ createdAt: Date;
1072
+ updatedAt: Date;
1073
+ deletedAt: Date | null;
1074
1074
  fileName: string;
1075
1075
  fileKey: string;
1076
1076
  bucketName: string;
@@ -1088,50 +1088,50 @@ export declare const CommentSchema: z.ZodObject<{
1088
1088
  mentions: string[];
1089
1089
  }, {
1090
1090
  id: string;
1091
- createdAt: string;
1092
- updatedAt: string;
1093
- deletedAt: string | null;
1091
+ createdAt: Date;
1092
+ updatedAt: Date;
1093
+ deletedAt: Date | null;
1094
1094
  activityLogs: {
1095
1095
  id: string;
1096
1096
  description: string;
1097
- createdAt: string;
1098
- updatedAt: string;
1099
- deletedAt: string | null;
1097
+ createdAt: Date;
1098
+ updatedAt: Date;
1099
+ deletedAt: Date | null;
1100
1100
  actor: {
1101
1101
  id: string;
1102
1102
  address: string | null;
1103
1103
  name: string;
1104
1104
  email: string;
1105
- createdAt: string;
1106
- updatedAt: string;
1107
- deletedAt: string | null;
1108
- emailVerifiedAt: string | null;
1105
+ createdAt: Date;
1106
+ updatedAt: Date;
1107
+ deletedAt: Date | null;
1108
+ emailVerifiedAt: Date | null;
1109
1109
  password: string;
1110
1110
  phone: string | null;
1111
1111
  notificationCount: number | null;
1112
1112
  roles: {
1113
1113
  id: string;
1114
1114
  description: string | null;
1115
- createdAt: string;
1116
- updatedAt: string;
1117
- deletedAt: string | null;
1115
+ createdAt: Date;
1116
+ updatedAt: Date;
1117
+ deletedAt: Date | null;
1118
1118
  systemName: string;
1119
1119
  displayName: string;
1120
1120
  permissions: {
1121
1121
  id: string;
1122
1122
  description: string | null;
1123
- createdAt: string;
1124
- updatedAt: string;
1125
- deletedAt: string | null;
1123
+ createdAt: Date;
1124
+ updatedAt: Date;
1125
+ deletedAt: Date | null;
1126
1126
  systemName: string;
1127
1127
  displayName: string;
1128
1128
  }[];
1129
1129
  }[];
1130
1130
  extension?: {
1131
1131
  id: string;
1132
- createdAt: string;
1133
- updatedAt: string;
1134
- deletedAt: string | null;
1132
+ createdAt: Date;
1133
+ updatedAt: Date;
1134
+ deletedAt: Date | null;
1135
1135
  userId: string | null;
1136
1136
  sipServerUrl: string;
1137
1137
  sipUserName: string;
@@ -1144,9 +1144,9 @@ export declare const CommentSchema: z.ZodObject<{
1144
1144
  entityType: {
1145
1145
  id: string;
1146
1146
  description: string;
1147
- createdAt: string;
1148
- updatedAt: string;
1149
- deletedAt: string | null;
1147
+ createdAt: Date;
1148
+ updatedAt: Date;
1149
+ deletedAt: Date | null;
1150
1150
  entity: string;
1151
1151
  };
1152
1152
  }[];
@@ -1155,36 +1155,36 @@ export declare const CommentSchema: z.ZodObject<{
1155
1155
  address: string | null;
1156
1156
  name: string;
1157
1157
  email: string;
1158
- createdAt: string;
1159
- updatedAt: string;
1160
- deletedAt: string | null;
1161
- emailVerifiedAt: string | null;
1158
+ createdAt: Date;
1159
+ updatedAt: Date;
1160
+ deletedAt: Date | null;
1161
+ emailVerifiedAt: Date | null;
1162
1162
  password: string;
1163
1163
  phone: string | null;
1164
1164
  notificationCount: number | null;
1165
1165
  roles: {
1166
1166
  id: string;
1167
1167
  description: string | null;
1168
- createdAt: string;
1169
- updatedAt: string;
1170
- deletedAt: string | null;
1168
+ createdAt: Date;
1169
+ updatedAt: Date;
1170
+ deletedAt: Date | null;
1171
1171
  systemName: string;
1172
1172
  displayName: string;
1173
1173
  permissions: {
1174
1174
  id: string;
1175
1175
  description: string | null;
1176
- createdAt: string;
1177
- updatedAt: string;
1178
- deletedAt: string | null;
1176
+ createdAt: Date;
1177
+ updatedAt: Date;
1178
+ deletedAt: Date | null;
1179
1179
  systemName: string;
1180
1180
  displayName: string;
1181
1181
  }[];
1182
1182
  }[];
1183
1183
  extension?: {
1184
1184
  id: string;
1185
- createdAt: string;
1186
- updatedAt: string;
1187
- deletedAt: string | null;
1185
+ createdAt: Date;
1186
+ updatedAt: Date;
1187
+ deletedAt: Date | null;
1188
1188
  userId: string | null;
1189
1189
  sipServerUrl: string;
1190
1190
  sipUserName: string;
@@ -1201,21 +1201,21 @@ export declare const CommentSchema: z.ZodObject<{
1201
1201
  title: string;
1202
1202
  description: string | null;
1203
1203
  status: string;
1204
- createdAt: string;
1205
- updatedAt: string;
1206
- deletedAt: string | null;
1204
+ createdAt: Date;
1205
+ updatedAt: Date;
1206
+ deletedAt: Date | null;
1207
1207
  customFields: {
1208
1208
  id: string;
1209
- createdAt: string;
1210
- updatedAt: string;
1211
- deletedAt: string | null;
1209
+ createdAt: Date;
1210
+ updatedAt: Date;
1211
+ deletedAt: Date | null;
1212
1212
  attribute: {
1213
1213
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1214
1214
  id: string;
1215
1215
  position: number;
1216
- createdAt: string;
1217
- updatedAt: string;
1218
- deletedAt: string | null;
1216
+ createdAt: Date;
1217
+ updatedAt: Date;
1218
+ deletedAt: Date | null;
1219
1219
  isDefault: boolean;
1220
1220
  systemName: string;
1221
1221
  displayName: string;
@@ -1226,18 +1226,18 @@ export declare const CommentSchema: z.ZodObject<{
1226
1226
  textValue: string | null;
1227
1227
  booleanValue: boolean | null;
1228
1228
  numberValue: number | null;
1229
- dateValue: string | null;
1229
+ dateValue: Date | null;
1230
1230
  uploads: {
1231
1231
  id: string;
1232
- createdAt: string;
1233
- updatedAt: string;
1234
- deletedAt: string | null;
1232
+ createdAt: Date;
1233
+ updatedAt: Date;
1234
+ deletedAt: Date | null;
1235
1235
  customFieldId: string;
1236
1236
  upload: {
1237
1237
  id: string;
1238
- createdAt: string;
1239
- updatedAt: string;
1240
- deletedAt: string | null;
1238
+ createdAt: Date;
1239
+ updatedAt: Date;
1240
+ deletedAt: Date | null;
1241
1241
  fileName: string;
1242
1242
  fileKey: string;
1243
1243
  bucketName: string;