@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,62 +1,62 @@
1
1
  import z from 'zod';
2
2
  export declare const ContactPhonesSchema: 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
  phone: z.ZodString;
8
8
  isPrimary: z.ZodBoolean;
9
9
  }, "strip", z.ZodTypeAny, {
10
10
  id: string;
11
11
  isPrimary: boolean;
12
- createdAt: string;
13
- updatedAt: string;
14
- deletedAt: string | null;
12
+ createdAt: Date;
13
+ updatedAt: Date;
14
+ deletedAt: Date | null;
15
15
  phone: string;
16
16
  }, {
17
17
  id: string;
18
18
  isPrimary: boolean;
19
- createdAt: string;
20
- updatedAt: string;
21
- deletedAt: string | null;
19
+ createdAt: Date;
20
+ updatedAt: Date;
21
+ deletedAt: Date | null;
22
22
  phone: string;
23
23
  }>;
24
24
  export declare const ContactEmailsSchema: 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
  email: z.ZodString;
30
30
  isPrimary: z.ZodBoolean;
31
31
  }, "strip", z.ZodTypeAny, {
32
32
  id: string;
33
33
  isPrimary: boolean;
34
34
  email: string;
35
- createdAt: string;
36
- updatedAt: string;
37
- deletedAt: string | null;
35
+ createdAt: Date;
36
+ updatedAt: Date;
37
+ deletedAt: Date | null;
38
38
  }, {
39
39
  id: string;
40
40
  isPrimary: boolean;
41
41
  email: string;
42
- createdAt: string;
43
- updatedAt: string;
44
- deletedAt: string | null;
42
+ createdAt: Date;
43
+ updatedAt: Date;
44
+ deletedAt: Date | null;
45
45
  }>;
46
46
  export declare const ContactCustomFieldSchema: z.ZodObject<{
47
47
  id: z.ZodString;
48
- createdAt: z.ZodString;
49
- updatedAt: z.ZodString;
50
- deletedAt: z.ZodNullable<z.ZodString>;
48
+ createdAt: z.ZodDate;
49
+ updatedAt: z.ZodDate;
50
+ deletedAt: z.ZodNullable<z.ZodDate>;
51
51
  textValue: z.ZodNullable<z.ZodString>;
52
52
  booleanValue: z.ZodNullable<z.ZodBoolean>;
53
53
  numberValue: z.ZodNullable<z.ZodNumber>;
54
- dateValue: z.ZodNullable<z.ZodString>;
54
+ dateValue: z.ZodNullable<z.ZodDate>;
55
55
  attribute: z.ZodObject<Omit<{
56
56
  id: z.ZodString;
57
- createdAt: z.ZodString;
58
- updatedAt: z.ZodString;
59
- deletedAt: z.ZodNullable<z.ZodString>;
57
+ createdAt: z.ZodDate;
58
+ updatedAt: z.ZodDate;
59
+ deletedAt: z.ZodNullable<z.ZodDate>;
60
60
  systemName: z.ZodString;
61
61
  displayName: z.ZodString;
62
62
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -86,23 +86,23 @@ export declare const ContactCustomFieldSchema: z.ZodObject<{
86
86
  }>, "many">;
87
87
  group: z.ZodObject<{
88
88
  id: z.ZodString;
89
- createdAt: z.ZodString;
90
- updatedAt: z.ZodString;
91
- deletedAt: z.ZodNullable<z.ZodString>;
89
+ createdAt: z.ZodDate;
90
+ updatedAt: z.ZodDate;
91
+ deletedAt: z.ZodNullable<z.ZodDate>;
92
92
  systemName: z.ZodString;
93
93
  displayName: z.ZodString;
94
94
  }, "strip", z.ZodTypeAny, {
95
95
  id: string;
96
- createdAt: string;
97
- updatedAt: string;
98
- deletedAt: string | null;
96
+ createdAt: Date;
97
+ updatedAt: Date;
98
+ deletedAt: Date | null;
99
99
  systemName: string;
100
100
  displayName: string;
101
101
  }, {
102
102
  id: string;
103
- createdAt: string;
104
- updatedAt: string;
105
- deletedAt: string | null;
103
+ createdAt: Date;
104
+ updatedAt: Date;
105
+ deletedAt: Date | null;
106
106
  systemName: string;
107
107
  displayName: string;
108
108
  }>;
@@ -110,9 +110,9 @@ export declare const ContactCustomFieldSchema: z.ZodObject<{
110
110
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
111
111
  id: string;
112
112
  position: number;
113
- createdAt: string;
114
- updatedAt: string;
115
- deletedAt: string | null;
113
+ createdAt: Date;
114
+ updatedAt: Date;
115
+ deletedAt: Date | null;
116
116
  isDefault: boolean;
117
117
  systemName: string;
118
118
  displayName: string;
@@ -123,9 +123,9 @@ export declare const ContactCustomFieldSchema: z.ZodObject<{
123
123
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
124
124
  id: string;
125
125
  position: number;
126
- createdAt: string;
127
- updatedAt: string;
128
- deletedAt: string | null;
126
+ createdAt: Date;
127
+ updatedAt: Date;
128
+ deletedAt: Date | null;
129
129
  isDefault: boolean;
130
130
  systemName: string;
131
131
  displayName: string;
@@ -135,33 +135,33 @@ export declare const ContactCustomFieldSchema: z.ZodObject<{
135
135
  }>;
136
136
  uploads: z.ZodArray<z.ZodObject<{
137
137
  id: z.ZodString;
138
- createdAt: z.ZodString;
139
- updatedAt: z.ZodString;
140
- deletedAt: z.ZodNullable<z.ZodString>;
138
+ createdAt: z.ZodDate;
139
+ updatedAt: z.ZodDate;
140
+ deletedAt: z.ZodNullable<z.ZodDate>;
141
141
  customFieldId: z.ZodString;
142
142
  upload: z.ZodObject<{
143
143
  id: z.ZodString;
144
- createdAt: z.ZodString;
145
- updatedAt: z.ZodString;
146
- deletedAt: z.ZodNullable<z.ZodString>;
144
+ createdAt: z.ZodDate;
145
+ updatedAt: z.ZodDate;
146
+ deletedAt: z.ZodNullable<z.ZodDate>;
147
147
  bucketName: z.ZodString;
148
148
  fileName: z.ZodString;
149
149
  fileSize: z.ZodNumber;
150
150
  fileKey: z.ZodString;
151
151
  }, "strip", z.ZodTypeAny, {
152
152
  id: string;
153
- createdAt: string;
154
- updatedAt: string;
155
- deletedAt: string | null;
153
+ createdAt: Date;
154
+ updatedAt: Date;
155
+ deletedAt: Date | null;
156
156
  fileName: string;
157
157
  fileKey: string;
158
158
  bucketName: string;
159
159
  fileSize: number;
160
160
  }, {
161
161
  id: string;
162
- createdAt: string;
163
- updatedAt: string;
164
- deletedAt: string | null;
162
+ createdAt: Date;
163
+ updatedAt: Date;
164
+ deletedAt: Date | null;
165
165
  fileName: string;
166
166
  fileKey: string;
167
167
  bucketName: string;
@@ -169,15 +169,15 @@ export declare const ContactCustomFieldSchema: z.ZodObject<{
169
169
  }>;
170
170
  }, "strip", z.ZodTypeAny, {
171
171
  id: string;
172
- createdAt: string;
173
- updatedAt: string;
174
- deletedAt: string | null;
172
+ createdAt: Date;
173
+ updatedAt: Date;
174
+ deletedAt: Date | null;
175
175
  customFieldId: string;
176
176
  upload: {
177
177
  id: string;
178
- createdAt: string;
179
- updatedAt: string;
180
- deletedAt: string | null;
178
+ createdAt: Date;
179
+ updatedAt: Date;
180
+ deletedAt: Date | null;
181
181
  fileName: string;
182
182
  fileKey: string;
183
183
  bucketName: string;
@@ -185,15 +185,15 @@ export declare const ContactCustomFieldSchema: z.ZodObject<{
185
185
  };
186
186
  }, {
187
187
  id: string;
188
- createdAt: string;
189
- updatedAt: string;
190
- deletedAt: string | null;
188
+ createdAt: Date;
189
+ updatedAt: Date;
190
+ deletedAt: Date | null;
191
191
  customFieldId: string;
192
192
  upload: {
193
193
  id: string;
194
- createdAt: string;
195
- updatedAt: string;
196
- deletedAt: string | null;
194
+ createdAt: Date;
195
+ updatedAt: Date;
196
+ deletedAt: Date | null;
197
197
  fileName: string;
198
198
  fileKey: string;
199
199
  bucketName: string;
@@ -202,16 +202,16 @@ export declare const ContactCustomFieldSchema: z.ZodObject<{
202
202
  }>, "many">;
203
203
  }, "strip", z.ZodTypeAny, {
204
204
  id: string;
205
- createdAt: string;
206
- updatedAt: string;
207
- deletedAt: string | null;
205
+ createdAt: Date;
206
+ updatedAt: Date;
207
+ deletedAt: Date | null;
208
208
  attribute: {
209
209
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
210
210
  id: string;
211
211
  position: number;
212
- createdAt: string;
213
- updatedAt: string;
214
- deletedAt: string | null;
212
+ createdAt: Date;
213
+ updatedAt: Date;
214
+ deletedAt: Date | null;
215
215
  isDefault: boolean;
216
216
  systemName: string;
217
217
  displayName: string;
@@ -222,18 +222,18 @@ export declare const ContactCustomFieldSchema: z.ZodObject<{
222
222
  textValue: string | null;
223
223
  booleanValue: boolean | null;
224
224
  numberValue: number | null;
225
- dateValue: string | null;
225
+ dateValue: Date | null;
226
226
  uploads: {
227
227
  id: string;
228
- createdAt: string;
229
- updatedAt: string;
230
- deletedAt: string | null;
228
+ createdAt: Date;
229
+ updatedAt: Date;
230
+ deletedAt: Date | null;
231
231
  customFieldId: string;
232
232
  upload: {
233
233
  id: string;
234
- createdAt: string;
235
- updatedAt: string;
236
- deletedAt: string | null;
234
+ createdAt: Date;
235
+ updatedAt: Date;
236
+ deletedAt: Date | null;
237
237
  fileName: string;
238
238
  fileKey: string;
239
239
  bucketName: string;
@@ -242,16 +242,16 @@ export declare const ContactCustomFieldSchema: z.ZodObject<{
242
242
  }[];
243
243
  }, {
244
244
  id: string;
245
- createdAt: string;
246
- updatedAt: string;
247
- deletedAt: string | null;
245
+ createdAt: Date;
246
+ updatedAt: Date;
247
+ deletedAt: Date | null;
248
248
  attribute: {
249
249
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
250
250
  id: string;
251
251
  position: number;
252
- createdAt: string;
253
- updatedAt: string;
254
- deletedAt: string | null;
252
+ createdAt: Date;
253
+ updatedAt: Date;
254
+ deletedAt: Date | null;
255
255
  isDefault: boolean;
256
256
  systemName: string;
257
257
  displayName: string;
@@ -262,18 +262,18 @@ export declare const ContactCustomFieldSchema: z.ZodObject<{
262
262
  textValue: string | null;
263
263
  booleanValue: boolean | null;
264
264
  numberValue: number | null;
265
- dateValue: string | null;
265
+ dateValue: Date | null;
266
266
  uploads: {
267
267
  id: string;
268
- createdAt: string;
269
- updatedAt: string;
270
- deletedAt: string | null;
268
+ createdAt: Date;
269
+ updatedAt: Date;
270
+ deletedAt: Date | null;
271
271
  customFieldId: string;
272
272
  upload: {
273
273
  id: string;
274
- createdAt: string;
275
- updatedAt: string;
276
- deletedAt: string | null;
274
+ createdAt: Date;
275
+ updatedAt: Date;
276
+ deletedAt: Date | null;
277
277
  fileName: string;
278
278
  fileKey: string;
279
279
  bucketName: string;
@@ -283,91 +283,91 @@ export declare const ContactCustomFieldSchema: z.ZodObject<{
283
283
  }>;
284
284
  export declare const ContactEntityTypesSchema: z.ZodObject<{
285
285
  id: z.ZodString;
286
- createdAt: z.ZodString;
287
- updatedAt: z.ZodString;
288
- deletedAt: z.ZodNullable<z.ZodString>;
286
+ createdAt: z.ZodDate;
287
+ updatedAt: z.ZodDate;
288
+ deletedAt: z.ZodNullable<z.ZodDate>;
289
289
  entity: z.ZodString;
290
290
  description: z.ZodNullable<z.ZodString>;
291
291
  }, "strip", z.ZodTypeAny, {
292
292
  id: string;
293
293
  description: string | null;
294
- createdAt: string;
295
- updatedAt: string;
296
- deletedAt: string | null;
294
+ createdAt: Date;
295
+ updatedAt: Date;
296
+ deletedAt: Date | null;
297
297
  entity: string;
298
298
  }, {
299
299
  id: string;
300
300
  description: string | null;
301
- createdAt: string;
302
- updatedAt: string;
303
- deletedAt: string | null;
301
+ createdAt: Date;
302
+ updatedAt: Date;
303
+ deletedAt: Date | null;
304
304
  entity: string;
305
305
  }>;
306
306
  export declare const ContactActivitySchema: z.ZodObject<{
307
307
  id: z.ZodString;
308
- createdAt: z.ZodString;
309
- updatedAt: z.ZodString;
310
- deletedAt: z.ZodNullable<z.ZodString>;
308
+ createdAt: z.ZodDate;
309
+ updatedAt: z.ZodDate;
310
+ deletedAt: z.ZodNullable<z.ZodDate>;
311
311
  entityId: z.ZodString;
312
312
  description: z.ZodString;
313
313
  entityType: z.ZodObject<{
314
314
  id: z.ZodString;
315
- createdAt: z.ZodString;
316
- updatedAt: z.ZodString;
317
- deletedAt: z.ZodNullable<z.ZodString>;
315
+ createdAt: z.ZodDate;
316
+ updatedAt: z.ZodDate;
317
+ deletedAt: z.ZodNullable<z.ZodDate>;
318
318
  entity: z.ZodString;
319
319
  description: z.ZodNullable<z.ZodString>;
320
320
  }, "strip", z.ZodTypeAny, {
321
321
  id: string;
322
322
  description: string | null;
323
- createdAt: string;
324
- updatedAt: string;
325
- deletedAt: string | null;
323
+ createdAt: Date;
324
+ updatedAt: Date;
325
+ deletedAt: Date | null;
326
326
  entity: string;
327
327
  }, {
328
328
  id: string;
329
329
  description: string | null;
330
- createdAt: string;
331
- updatedAt: string;
332
- deletedAt: string | null;
330
+ createdAt: Date;
331
+ updatedAt: Date;
332
+ deletedAt: Date | null;
333
333
  entity: string;
334
334
  }>;
335
335
  }, "strip", z.ZodTypeAny, {
336
336
  id: string;
337
337
  description: string;
338
- createdAt: string;
339
- updatedAt: string;
340
- deletedAt: string | null;
338
+ createdAt: Date;
339
+ updatedAt: Date;
340
+ deletedAt: Date | null;
341
341
  entityId: string;
342
342
  entityType: {
343
343
  id: string;
344
344
  description: string | null;
345
- createdAt: string;
346
- updatedAt: string;
347
- deletedAt: string | null;
345
+ createdAt: Date;
346
+ updatedAt: Date;
347
+ deletedAt: Date | null;
348
348
  entity: string;
349
349
  };
350
350
  }, {
351
351
  id: string;
352
352
  description: string;
353
- createdAt: string;
354
- updatedAt: string;
355
- deletedAt: string | null;
353
+ createdAt: Date;
354
+ updatedAt: Date;
355
+ deletedAt: Date | null;
356
356
  entityId: string;
357
357
  entityType: {
358
358
  id: string;
359
359
  description: string | null;
360
- createdAt: string;
361
- updatedAt: string;
362
- deletedAt: string | null;
360
+ createdAt: Date;
361
+ updatedAt: Date;
362
+ deletedAt: Date | null;
363
363
  entity: string;
364
364
  };
365
365
  }>;
366
366
  export declare const ContactSchema: z.ZodObject<{
367
367
  id: z.ZodString;
368
- createdAt: z.ZodString;
369
- updatedAt: z.ZodString;
370
- deletedAt: z.ZodNullable<z.ZodString>;
368
+ createdAt: z.ZodDate;
369
+ updatedAt: z.ZodDate;
370
+ deletedAt: z.ZodNullable<z.ZodDate>;
371
371
  name: z.ZodString;
372
372
  address: z.ZodNullable<z.ZodString>;
373
373
  channel: z.ZodNullable<z.ZodString>;
@@ -376,46 +376,46 @@ export declare const ContactSchema: z.ZodObject<{
376
376
  socialProfileUrl: z.ZodNullable<z.ZodString>;
377
377
  tags: z.ZodArray<z.ZodObject<{
378
378
  id: z.ZodString;
379
- createdAt: z.ZodString;
380
- updatedAt: z.ZodString;
381
- deletedAt: z.ZodNullable<z.ZodString>;
379
+ createdAt: z.ZodDate;
380
+ updatedAt: z.ZodDate;
381
+ deletedAt: z.ZodNullable<z.ZodDate>;
382
382
  name: z.ZodString;
383
383
  }, "strip", z.ZodTypeAny, {
384
384
  id: string;
385
385
  name: string;
386
- createdAt: string;
387
- updatedAt: string;
388
- deletedAt: string | null;
386
+ createdAt: Date;
387
+ updatedAt: Date;
388
+ deletedAt: Date | null;
389
389
  }, {
390
390
  id: string;
391
391
  name: string;
392
- createdAt: string;
393
- updatedAt: string;
394
- deletedAt: string | null;
392
+ createdAt: Date;
393
+ updatedAt: Date;
394
+ deletedAt: Date | null;
395
395
  }>, "many">;
396
396
  company: z.ZodNullable<z.ZodObject<Omit<{
397
397
  id: z.ZodString;
398
- createdAt: z.ZodString;
399
- updatedAt: z.ZodString;
400
- deletedAt: z.ZodNullable<z.ZodString>;
398
+ createdAt: z.ZodDate;
399
+ updatedAt: z.ZodDate;
400
+ deletedAt: z.ZodNullable<z.ZodDate>;
401
401
  name: z.ZodOptional<z.ZodString>;
402
402
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
403
403
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
404
404
  industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
405
405
  customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
406
406
  id: z.ZodString;
407
- createdAt: z.ZodString;
408
- updatedAt: z.ZodString;
409
- deletedAt: z.ZodNullable<z.ZodString>;
407
+ createdAt: z.ZodDate;
408
+ updatedAt: z.ZodDate;
409
+ deletedAt: z.ZodNullable<z.ZodDate>;
410
410
  textValue: z.ZodNullable<z.ZodString>;
411
411
  booleanValue: z.ZodNullable<z.ZodBoolean>;
412
412
  numberValue: z.ZodNullable<z.ZodNumber>;
413
- dateValue: z.ZodNullable<z.ZodString>;
413
+ dateValue: z.ZodNullable<z.ZodDate>;
414
414
  attribute: z.ZodObject<Omit<{
415
415
  id: z.ZodString;
416
- createdAt: z.ZodString;
417
- updatedAt: z.ZodString;
418
- deletedAt: z.ZodNullable<z.ZodString>;
416
+ createdAt: z.ZodDate;
417
+ updatedAt: z.ZodDate;
418
+ deletedAt: z.ZodNullable<z.ZodDate>;
419
419
  systemName: z.ZodString;
420
420
  displayName: z.ZodString;
421
421
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -445,23 +445,23 @@ export declare const ContactSchema: z.ZodObject<{
445
445
  }>, "many">;
446
446
  group: z.ZodObject<{
447
447
  id: z.ZodString;
448
- createdAt: z.ZodString;
449
- updatedAt: z.ZodString;
450
- deletedAt: z.ZodNullable<z.ZodString>;
448
+ createdAt: z.ZodDate;
449
+ updatedAt: z.ZodDate;
450
+ deletedAt: z.ZodNullable<z.ZodDate>;
451
451
  systemName: z.ZodString;
452
452
  displayName: z.ZodString;
453
453
  }, "strip", z.ZodTypeAny, {
454
454
  id: string;
455
- createdAt: string;
456
- updatedAt: string;
457
- deletedAt: string | null;
455
+ createdAt: Date;
456
+ updatedAt: Date;
457
+ deletedAt: Date | null;
458
458
  systemName: string;
459
459
  displayName: string;
460
460
  }, {
461
461
  id: string;
462
- createdAt: string;
463
- updatedAt: string;
464
- deletedAt: string | null;
462
+ createdAt: Date;
463
+ updatedAt: Date;
464
+ deletedAt: Date | null;
465
465
  systemName: string;
466
466
  displayName: string;
467
467
  }>;
@@ -469,9 +469,9 @@ export declare const ContactSchema: z.ZodObject<{
469
469
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
470
470
  id: string;
471
471
  position: number;
472
- createdAt: string;
473
- updatedAt: string;
474
- deletedAt: string | null;
472
+ createdAt: Date;
473
+ updatedAt: Date;
474
+ deletedAt: Date | null;
475
475
  isDefault: boolean;
476
476
  systemName: string;
477
477
  displayName: string;
@@ -482,9 +482,9 @@ export declare const ContactSchema: z.ZodObject<{
482
482
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
483
483
  id: string;
484
484
  position: number;
485
- createdAt: string;
486
- updatedAt: string;
487
- deletedAt: string | null;
485
+ createdAt: Date;
486
+ updatedAt: Date;
487
+ deletedAt: Date | null;
488
488
  isDefault: boolean;
489
489
  systemName: string;
490
490
  displayName: string;
@@ -494,16 +494,16 @@ export declare const ContactSchema: z.ZodObject<{
494
494
  }>;
495
495
  }, "strip", z.ZodTypeAny, {
496
496
  id: string;
497
- createdAt: string;
498
- updatedAt: string;
499
- deletedAt: string | null;
497
+ createdAt: Date;
498
+ updatedAt: Date;
499
+ deletedAt: Date | null;
500
500
  attribute: {
501
501
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
502
502
  id: string;
503
503
  position: number;
504
- createdAt: string;
505
- updatedAt: string;
506
- deletedAt: string | null;
504
+ createdAt: Date;
505
+ updatedAt: Date;
506
+ deletedAt: Date | null;
507
507
  isDefault: boolean;
508
508
  systemName: string;
509
509
  displayName: string;
@@ -514,19 +514,19 @@ export declare const ContactSchema: z.ZodObject<{
514
514
  textValue: string | null;
515
515
  booleanValue: boolean | null;
516
516
  numberValue: number | null;
517
- dateValue: string | null;
517
+ dateValue: Date | null;
518
518
  }, {
519
519
  id: string;
520
- createdAt: string;
521
- updatedAt: string;
522
- deletedAt: string | null;
520
+ createdAt: Date;
521
+ updatedAt: Date;
522
+ deletedAt: Date | null;
523
523
  attribute: {
524
524
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
525
525
  id: string;
526
526
  position: number;
527
- createdAt: string;
528
- updatedAt: string;
529
- deletedAt: string | null;
527
+ createdAt: Date;
528
+ updatedAt: Date;
529
+ deletedAt: Date | null;
530
530
  isDefault: boolean;
531
531
  systemName: string;
532
532
  displayName: string;
@@ -537,22 +537,22 @@ export declare const ContactSchema: z.ZodObject<{
537
537
  textValue: string | null;
538
538
  booleanValue: boolean | null;
539
539
  numberValue: number | null;
540
- dateValue: string | null;
540
+ dateValue: Date | null;
541
541
  }>, "many">>;
542
542
  }, "customFields">, "strip", z.ZodTypeAny, {
543
543
  id: string;
544
- createdAt: string;
545
- updatedAt: string;
546
- deletedAt: string | null;
544
+ createdAt: Date;
545
+ updatedAt: Date;
546
+ deletedAt: Date | null;
547
547
  address?: string | null | undefined;
548
548
  name?: string | undefined;
549
549
  phone?: string | null | undefined;
550
550
  industry?: string | null | undefined;
551
551
  }, {
552
552
  id: string;
553
- createdAt: string;
554
- updatedAt: string;
555
- deletedAt: string | null;
553
+ createdAt: Date;
554
+ updatedAt: Date;
555
+ deletedAt: Date | null;
556
556
  address?: string | null | undefined;
557
557
  name?: string | undefined;
558
558
  phone?: string | null | undefined;
@@ -560,18 +560,18 @@ export declare const ContactSchema: z.ZodObject<{
560
560
  }>>;
561
561
  customFields: z.ZodArray<z.ZodObject<{
562
562
  id: z.ZodString;
563
- createdAt: z.ZodString;
564
- updatedAt: z.ZodString;
565
- deletedAt: z.ZodNullable<z.ZodString>;
563
+ createdAt: z.ZodDate;
564
+ updatedAt: z.ZodDate;
565
+ deletedAt: z.ZodNullable<z.ZodDate>;
566
566
  textValue: z.ZodNullable<z.ZodString>;
567
567
  booleanValue: z.ZodNullable<z.ZodBoolean>;
568
568
  numberValue: z.ZodNullable<z.ZodNumber>;
569
- dateValue: z.ZodNullable<z.ZodString>;
569
+ dateValue: z.ZodNullable<z.ZodDate>;
570
570
  attribute: z.ZodObject<Omit<{
571
571
  id: z.ZodString;
572
- createdAt: z.ZodString;
573
- updatedAt: z.ZodString;
574
- deletedAt: z.ZodNullable<z.ZodString>;
572
+ createdAt: z.ZodDate;
573
+ updatedAt: z.ZodDate;
574
+ deletedAt: z.ZodNullable<z.ZodDate>;
575
575
  systemName: z.ZodString;
576
576
  displayName: z.ZodString;
577
577
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -601,23 +601,23 @@ export declare const ContactSchema: z.ZodObject<{
601
601
  }>, "many">;
602
602
  group: z.ZodObject<{
603
603
  id: z.ZodString;
604
- createdAt: z.ZodString;
605
- updatedAt: z.ZodString;
606
- deletedAt: z.ZodNullable<z.ZodString>;
604
+ createdAt: z.ZodDate;
605
+ updatedAt: z.ZodDate;
606
+ deletedAt: z.ZodNullable<z.ZodDate>;
607
607
  systemName: z.ZodString;
608
608
  displayName: z.ZodString;
609
609
  }, "strip", z.ZodTypeAny, {
610
610
  id: string;
611
- createdAt: string;
612
- updatedAt: string;
613
- deletedAt: string | null;
611
+ createdAt: Date;
612
+ updatedAt: Date;
613
+ deletedAt: Date | null;
614
614
  systemName: string;
615
615
  displayName: string;
616
616
  }, {
617
617
  id: string;
618
- createdAt: string;
619
- updatedAt: string;
620
- deletedAt: string | null;
618
+ createdAt: Date;
619
+ updatedAt: Date;
620
+ deletedAt: Date | null;
621
621
  systemName: string;
622
622
  displayName: string;
623
623
  }>;
@@ -625,9 +625,9 @@ export declare const ContactSchema: z.ZodObject<{
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,9 +638,9 @@ export declare const ContactSchema: z.ZodObject<{
638
638
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
639
639
  id: string;
640
640
  position: number;
641
- createdAt: string;
642
- updatedAt: string;
643
- deletedAt: string | null;
641
+ createdAt: Date;
642
+ updatedAt: Date;
643
+ deletedAt: Date | null;
644
644
  isDefault: boolean;
645
645
  systemName: string;
646
646
  displayName: string;
@@ -650,33 +650,33 @@ export declare const ContactSchema: z.ZodObject<{
650
650
  }>;
651
651
  uploads: z.ZodArray<z.ZodObject<{
652
652
  id: z.ZodString;
653
- createdAt: z.ZodString;
654
- updatedAt: z.ZodString;
655
- deletedAt: z.ZodNullable<z.ZodString>;
653
+ createdAt: z.ZodDate;
654
+ updatedAt: z.ZodDate;
655
+ deletedAt: z.ZodNullable<z.ZodDate>;
656
656
  customFieldId: z.ZodString;
657
657
  upload: z.ZodObject<{
658
658
  id: z.ZodString;
659
- createdAt: z.ZodString;
660
- updatedAt: z.ZodString;
661
- deletedAt: z.ZodNullable<z.ZodString>;
659
+ createdAt: z.ZodDate;
660
+ updatedAt: z.ZodDate;
661
+ deletedAt: z.ZodNullable<z.ZodDate>;
662
662
  bucketName: z.ZodString;
663
663
  fileName: z.ZodString;
664
664
  fileSize: z.ZodNumber;
665
665
  fileKey: z.ZodString;
666
666
  }, "strip", z.ZodTypeAny, {
667
667
  id: string;
668
- createdAt: string;
669
- updatedAt: string;
670
- deletedAt: string | null;
668
+ createdAt: Date;
669
+ updatedAt: Date;
670
+ deletedAt: Date | null;
671
671
  fileName: string;
672
672
  fileKey: string;
673
673
  bucketName: string;
674
674
  fileSize: number;
675
675
  }, {
676
676
  id: string;
677
- createdAt: string;
678
- updatedAt: string;
679
- deletedAt: string | null;
677
+ createdAt: Date;
678
+ updatedAt: Date;
679
+ deletedAt: Date | null;
680
680
  fileName: string;
681
681
  fileKey: string;
682
682
  bucketName: string;
@@ -684,15 +684,15 @@ export declare const ContactSchema: z.ZodObject<{
684
684
  }>;
685
685
  }, "strip", z.ZodTypeAny, {
686
686
  id: string;
687
- createdAt: string;
688
- updatedAt: string;
689
- deletedAt: string | null;
687
+ createdAt: Date;
688
+ updatedAt: Date;
689
+ deletedAt: Date | null;
690
690
  customFieldId: string;
691
691
  upload: {
692
692
  id: string;
693
- createdAt: string;
694
- updatedAt: string;
695
- deletedAt: string | null;
693
+ createdAt: Date;
694
+ updatedAt: Date;
695
+ deletedAt: Date | null;
696
696
  fileName: string;
697
697
  fileKey: string;
698
698
  bucketName: string;
@@ -700,15 +700,15 @@ export declare const ContactSchema: z.ZodObject<{
700
700
  };
701
701
  }, {
702
702
  id: string;
703
- createdAt: string;
704
- updatedAt: string;
705
- deletedAt: string | null;
703
+ createdAt: Date;
704
+ updatedAt: Date;
705
+ deletedAt: Date | null;
706
706
  customFieldId: string;
707
707
  upload: {
708
708
  id: string;
709
- createdAt: string;
710
- updatedAt: string;
711
- deletedAt: string | null;
709
+ createdAt: Date;
710
+ updatedAt: Date;
711
+ deletedAt: Date | null;
712
712
  fileName: string;
713
713
  fileKey: string;
714
714
  bucketName: string;
@@ -717,16 +717,16 @@ export declare const ContactSchema: z.ZodObject<{
717
717
  }>, "many">;
718
718
  }, "strip", z.ZodTypeAny, {
719
719
  id: string;
720
- createdAt: string;
721
- updatedAt: string;
722
- deletedAt: string | null;
720
+ createdAt: Date;
721
+ updatedAt: Date;
722
+ deletedAt: Date | null;
723
723
  attribute: {
724
724
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
725
725
  id: string;
726
726
  position: number;
727
- createdAt: string;
728
- updatedAt: string;
729
- deletedAt: string | null;
727
+ createdAt: Date;
728
+ updatedAt: Date;
729
+ deletedAt: Date | null;
730
730
  isDefault: boolean;
731
731
  systemName: string;
732
732
  displayName: string;
@@ -737,18 +737,18 @@ export declare const ContactSchema: z.ZodObject<{
737
737
  textValue: string | null;
738
738
  booleanValue: boolean | null;
739
739
  numberValue: number | null;
740
- dateValue: string | null;
740
+ dateValue: Date | null;
741
741
  uploads: {
742
742
  id: string;
743
- createdAt: string;
744
- updatedAt: string;
745
- deletedAt: string | null;
743
+ createdAt: Date;
744
+ updatedAt: Date;
745
+ deletedAt: Date | null;
746
746
  customFieldId: string;
747
747
  upload: {
748
748
  id: string;
749
- createdAt: string;
750
- updatedAt: string;
751
- deletedAt: string | null;
749
+ createdAt: Date;
750
+ updatedAt: Date;
751
+ deletedAt: Date | null;
752
752
  fileName: string;
753
753
  fileKey: string;
754
754
  bucketName: string;
@@ -757,16 +757,16 @@ export declare const ContactSchema: z.ZodObject<{
757
757
  }[];
758
758
  }, {
759
759
  id: string;
760
- createdAt: string;
761
- updatedAt: string;
762
- deletedAt: string | null;
760
+ createdAt: Date;
761
+ updatedAt: Date;
762
+ deletedAt: Date | null;
763
763
  attribute: {
764
764
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
765
765
  id: string;
766
766
  position: number;
767
- createdAt: string;
768
- updatedAt: string;
769
- deletedAt: string | null;
767
+ createdAt: Date;
768
+ updatedAt: Date;
769
+ deletedAt: Date | null;
770
770
  isDefault: boolean;
771
771
  systemName: string;
772
772
  displayName: string;
@@ -777,18 +777,18 @@ export declare const ContactSchema: z.ZodObject<{
777
777
  textValue: string | null;
778
778
  booleanValue: boolean | null;
779
779
  numberValue: number | null;
780
- dateValue: string | null;
780
+ dateValue: Date | null;
781
781
  uploads: {
782
782
  id: string;
783
- createdAt: string;
784
- updatedAt: string;
785
- deletedAt: string | null;
783
+ createdAt: Date;
784
+ updatedAt: Date;
785
+ deletedAt: Date | null;
786
786
  customFieldId: string;
787
787
  upload: {
788
788
  id: string;
789
- createdAt: string;
790
- updatedAt: string;
791
- deletedAt: string | null;
789
+ createdAt: Date;
790
+ updatedAt: Date;
791
+ deletedAt: Date | null;
792
792
  fileName: string;
793
793
  fileKey: string;
794
794
  bucketName: string;
@@ -798,105 +798,105 @@ export declare const ContactSchema: z.ZodObject<{
798
798
  }>, "many">;
799
799
  contactEmails: z.ZodArray<z.ZodObject<{
800
800
  id: z.ZodString;
801
- createdAt: z.ZodString;
802
- updatedAt: z.ZodString;
803
- deletedAt: z.ZodNullable<z.ZodString>;
801
+ createdAt: z.ZodDate;
802
+ updatedAt: z.ZodDate;
803
+ deletedAt: z.ZodNullable<z.ZodDate>;
804
804
  email: z.ZodString;
805
805
  isPrimary: z.ZodBoolean;
806
806
  }, "strip", z.ZodTypeAny, {
807
807
  id: string;
808
808
  isPrimary: boolean;
809
809
  email: string;
810
- createdAt: string;
811
- updatedAt: string;
812
- deletedAt: string | null;
810
+ createdAt: Date;
811
+ updatedAt: Date;
812
+ deletedAt: Date | null;
813
813
  }, {
814
814
  id: string;
815
815
  isPrimary: boolean;
816
816
  email: string;
817
- createdAt: string;
818
- updatedAt: string;
819
- deletedAt: string | null;
817
+ createdAt: Date;
818
+ updatedAt: Date;
819
+ deletedAt: Date | null;
820
820
  }>, "many">;
821
821
  contactPhones: z.ZodArray<z.ZodObject<{
822
822
  id: z.ZodString;
823
- createdAt: z.ZodString;
824
- updatedAt: z.ZodString;
825
- deletedAt: z.ZodNullable<z.ZodString>;
823
+ createdAt: z.ZodDate;
824
+ updatedAt: z.ZodDate;
825
+ deletedAt: z.ZodNullable<z.ZodDate>;
826
826
  phone: z.ZodString;
827
827
  isPrimary: z.ZodBoolean;
828
828
  }, "strip", z.ZodTypeAny, {
829
829
  id: string;
830
830
  isPrimary: boolean;
831
- createdAt: string;
832
- updatedAt: string;
833
- deletedAt: string | null;
831
+ createdAt: Date;
832
+ updatedAt: Date;
833
+ deletedAt: Date | null;
834
834
  phone: string;
835
835
  }, {
836
836
  id: string;
837
837
  isPrimary: boolean;
838
- createdAt: string;
839
- updatedAt: string;
840
- deletedAt: string | null;
838
+ createdAt: Date;
839
+ updatedAt: Date;
840
+ deletedAt: Date | null;
841
841
  phone: string;
842
842
  }>, "many">;
843
843
  activityLogs: z.ZodOptional<z.ZodArray<z.ZodObject<{
844
844
  id: z.ZodString;
845
- createdAt: z.ZodString;
846
- updatedAt: z.ZodString;
847
- deletedAt: z.ZodNullable<z.ZodString>;
845
+ createdAt: z.ZodDate;
846
+ updatedAt: z.ZodDate;
847
+ deletedAt: z.ZodNullable<z.ZodDate>;
848
848
  entityId: z.ZodString;
849
849
  description: z.ZodString;
850
850
  entityType: z.ZodObject<{
851
851
  id: z.ZodString;
852
- createdAt: z.ZodString;
853
- updatedAt: z.ZodString;
854
- deletedAt: z.ZodNullable<z.ZodString>;
852
+ createdAt: z.ZodDate;
853
+ updatedAt: z.ZodDate;
854
+ deletedAt: z.ZodNullable<z.ZodDate>;
855
855
  entity: z.ZodString;
856
856
  description: z.ZodNullable<z.ZodString>;
857
857
  }, "strip", z.ZodTypeAny, {
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
  entity: string;
864
864
  }, {
865
865
  id: string;
866
866
  description: string | null;
867
- createdAt: string;
868
- updatedAt: string;
869
- deletedAt: string | null;
867
+ createdAt: Date;
868
+ updatedAt: Date;
869
+ deletedAt: Date | null;
870
870
  entity: string;
871
871
  }>;
872
872
  }, "strip", z.ZodTypeAny, {
873
873
  id: string;
874
874
  description: string;
875
- createdAt: string;
876
- updatedAt: string;
877
- deletedAt: string | null;
875
+ createdAt: Date;
876
+ updatedAt: Date;
877
+ deletedAt: Date | null;
878
878
  entityId: string;
879
879
  entityType: {
880
880
  id: string;
881
881
  description: string | null;
882
- createdAt: string;
883
- updatedAt: string;
884
- deletedAt: string | null;
882
+ createdAt: Date;
883
+ updatedAt: Date;
884
+ deletedAt: Date | null;
885
885
  entity: string;
886
886
  };
887
887
  }, {
888
888
  id: string;
889
889
  description: string;
890
- createdAt: string;
891
- updatedAt: string;
892
- deletedAt: string | null;
890
+ createdAt: Date;
891
+ updatedAt: Date;
892
+ deletedAt: Date | null;
893
893
  entityId: string;
894
894
  entityType: {
895
895
  id: string;
896
896
  description: string | null;
897
- createdAt: string;
898
- updatedAt: string;
899
- deletedAt: string | null;
897
+ createdAt: Date;
898
+ updatedAt: Date;
899
+ deletedAt: Date | null;
900
900
  entity: string;
901
901
  };
902
902
  }>, "many">>;
@@ -905,21 +905,21 @@ export declare const ContactSchema: z.ZodObject<{
905
905
  channel: string | null;
906
906
  address: string | null;
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
  customFields: {
912
912
  id: string;
913
- createdAt: string;
914
- updatedAt: string;
915
- deletedAt: string | null;
913
+ createdAt: Date;
914
+ updatedAt: Date;
915
+ deletedAt: Date | null;
916
916
  attribute: {
917
917
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
918
918
  id: string;
919
919
  position: number;
920
- createdAt: string;
921
- updatedAt: string;
922
- deletedAt: string | null;
920
+ createdAt: Date;
921
+ updatedAt: Date;
922
+ deletedAt: Date | null;
923
923
  isDefault: boolean;
924
924
  systemName: string;
925
925
  displayName: string;
@@ -930,18 +930,18 @@ export declare const ContactSchema: z.ZodObject<{
930
930
  textValue: string | null;
931
931
  booleanValue: boolean | null;
932
932
  numberValue: number | null;
933
- dateValue: string | null;
933
+ dateValue: Date | null;
934
934
  uploads: {
935
935
  id: string;
936
- createdAt: string;
937
- updatedAt: string;
938
- deletedAt: string | null;
936
+ createdAt: Date;
937
+ updatedAt: Date;
938
+ deletedAt: Date | null;
939
939
  customFieldId: string;
940
940
  upload: {
941
941
  id: string;
942
- createdAt: string;
943
- updatedAt: string;
944
- deletedAt: string | null;
942
+ createdAt: Date;
943
+ updatedAt: Date;
944
+ deletedAt: Date | null;
945
945
  fileName: string;
946
946
  fileKey: string;
947
947
  bucketName: string;
@@ -955,15 +955,15 @@ export declare const ContactSchema: z.ZodObject<{
955
955
  tags: {
956
956
  id: string;
957
957
  name: string;
958
- createdAt: string;
959
- updatedAt: string;
960
- deletedAt: string | null;
958
+ createdAt: Date;
959
+ updatedAt: Date;
960
+ deletedAt: Date | null;
961
961
  }[];
962
962
  company: {
963
963
  id: string;
964
- createdAt: string;
965
- updatedAt: string;
966
- deletedAt: string | null;
964
+ createdAt: Date;
965
+ updatedAt: Date;
966
+ deletedAt: Date | null;
967
967
  address?: string | null | undefined;
968
968
  name?: string | undefined;
969
969
  phone?: string | null | undefined;
@@ -973,31 +973,31 @@ export declare const ContactSchema: z.ZodObject<{
973
973
  id: string;
974
974
  isPrimary: boolean;
975
975
  email: string;
976
- createdAt: string;
977
- updatedAt: string;
978
- deletedAt: string | null;
976
+ createdAt: Date;
977
+ updatedAt: Date;
978
+ deletedAt: Date | null;
979
979
  }[];
980
980
  contactPhones: {
981
981
  id: string;
982
982
  isPrimary: boolean;
983
- createdAt: string;
984
- updatedAt: string;
985
- deletedAt: string | null;
983
+ createdAt: Date;
984
+ updatedAt: Date;
985
+ deletedAt: Date | null;
986
986
  phone: string;
987
987
  }[];
988
988
  activityLogs?: {
989
989
  id: string;
990
990
  description: string;
991
- createdAt: string;
992
- updatedAt: string;
993
- deletedAt: string | null;
991
+ createdAt: Date;
992
+ updatedAt: Date;
993
+ deletedAt: Date | null;
994
994
  entityId: string;
995
995
  entityType: {
996
996
  id: string;
997
997
  description: string | null;
998
- createdAt: string;
999
- updatedAt: string;
1000
- deletedAt: string | null;
998
+ createdAt: Date;
999
+ updatedAt: Date;
1000
+ deletedAt: Date | null;
1001
1001
  entity: string;
1002
1002
  };
1003
1003
  }[] | undefined;
@@ -1006,21 +1006,21 @@ export declare const ContactSchema: z.ZodObject<{
1006
1006
  channel: string | null;
1007
1007
  address: string | null;
1008
1008
  name: string;
1009
- createdAt: string;
1010
- updatedAt: string;
1011
- deletedAt: string | null;
1009
+ createdAt: Date;
1010
+ updatedAt: Date;
1011
+ deletedAt: Date | null;
1012
1012
  customFields: {
1013
1013
  id: string;
1014
- createdAt: string;
1015
- updatedAt: string;
1016
- deletedAt: string | null;
1014
+ createdAt: Date;
1015
+ updatedAt: Date;
1016
+ deletedAt: Date | null;
1017
1017
  attribute: {
1018
1018
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1019
1019
  id: string;
1020
1020
  position: number;
1021
- createdAt: string;
1022
- updatedAt: string;
1023
- deletedAt: string | null;
1021
+ createdAt: Date;
1022
+ updatedAt: Date;
1023
+ deletedAt: Date | null;
1024
1024
  isDefault: boolean;
1025
1025
  systemName: string;
1026
1026
  displayName: string;
@@ -1031,18 +1031,18 @@ export declare const ContactSchema: z.ZodObject<{
1031
1031
  textValue: string | null;
1032
1032
  booleanValue: boolean | null;
1033
1033
  numberValue: number | null;
1034
- dateValue: string | null;
1034
+ dateValue: Date | null;
1035
1035
  uploads: {
1036
1036
  id: string;
1037
- createdAt: string;
1038
- updatedAt: string;
1039
- deletedAt: string | null;
1037
+ createdAt: Date;
1038
+ updatedAt: Date;
1039
+ deletedAt: Date | null;
1040
1040
  customFieldId: string;
1041
1041
  upload: {
1042
1042
  id: string;
1043
- createdAt: string;
1044
- updatedAt: string;
1045
- deletedAt: string | null;
1043
+ createdAt: Date;
1044
+ updatedAt: Date;
1045
+ deletedAt: Date | null;
1046
1046
  fileName: string;
1047
1047
  fileKey: string;
1048
1048
  bucketName: string;
@@ -1056,15 +1056,15 @@ export declare const ContactSchema: z.ZodObject<{
1056
1056
  tags: {
1057
1057
  id: string;
1058
1058
  name: string;
1059
- createdAt: string;
1060
- updatedAt: string;
1061
- deletedAt: string | null;
1059
+ createdAt: Date;
1060
+ updatedAt: Date;
1061
+ deletedAt: Date | null;
1062
1062
  }[];
1063
1063
  company: {
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
  address?: string | null | undefined;
1069
1069
  name?: string | undefined;
1070
1070
  phone?: string | null | undefined;
@@ -1074,31 +1074,31 @@ export declare const ContactSchema: z.ZodObject<{
1074
1074
  id: string;
1075
1075
  isPrimary: boolean;
1076
1076
  email: string;
1077
- createdAt: string;
1078
- updatedAt: string;
1079
- deletedAt: string | null;
1077
+ createdAt: Date;
1078
+ updatedAt: Date;
1079
+ deletedAt: Date | null;
1080
1080
  }[];
1081
1081
  contactPhones: {
1082
1082
  id: string;
1083
1083
  isPrimary: boolean;
1084
- createdAt: string;
1085
- updatedAt: string;
1086
- deletedAt: string | null;
1084
+ createdAt: Date;
1085
+ updatedAt: Date;
1086
+ deletedAt: Date | null;
1087
1087
  phone: string;
1088
1088
  }[];
1089
1089
  activityLogs?: {
1090
1090
  id: string;
1091
1091
  description: string;
1092
- createdAt: string;
1093
- updatedAt: string;
1094
- deletedAt: string | null;
1092
+ createdAt: Date;
1093
+ updatedAt: Date;
1094
+ deletedAt: Date | null;
1095
1095
  entityId: string;
1096
1096
  entityType: {
1097
1097
  id: string;
1098
1098
  description: string | null;
1099
- createdAt: string;
1100
- updatedAt: string;
1101
- deletedAt: string | null;
1099
+ createdAt: Date;
1100
+ updatedAt: Date;
1101
+ deletedAt: Date | null;
1102
1102
  entity: string;
1103
1103
  };
1104
1104
  }[] | undefined;