@kl1/contracts 1.0.27 → 1.0.28

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 (63) hide show
  1. package/dist/index.js +151 -118
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +151 -118
  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/auth/index.d.ts +89 -89
  8. package/dist/src/channel/index.d.ts +319 -319
  9. package/dist/src/channel/schema.d.ts +89 -92
  10. package/dist/src/channel/schema.d.ts.map +1 -1
  11. package/dist/src/channel/validation.d.ts +89 -89
  12. package/dist/src/chat/index.d.ts +8699 -8699
  13. package/dist/src/chat/schema.d.ts +1486 -1486
  14. package/dist/src/chat/validation.d.ts +2244 -2244
  15. package/dist/src/comment/index.d.ts +1005 -1005
  16. package/dist/src/comment/schema.d.ts +283 -283
  17. package/dist/src/company/index.d.ts +28 -28
  18. package/dist/src/company/schema.d.ts +8 -8
  19. package/dist/src/company/validation.d.ts +15 -15
  20. package/dist/src/contact/index.d.ts +960 -960
  21. package/dist/src/contact/schema.d.ts +161 -161
  22. package/dist/src/contact/validation.d.ts +690 -690
  23. package/dist/src/contract.d.ts +18366 -18196
  24. package/dist/src/contract.d.ts.map +1 -1
  25. package/dist/src/custom-field/schema.d.ts +3 -3
  26. package/dist/src/cx-log/index.d.ts +1023 -1023
  27. package/dist/src/cx-log/schema.d.ts +837 -837
  28. package/dist/src/dashboard/index.d.ts +6 -6
  29. package/dist/src/dashboard/index.d.ts.map +1 -1
  30. package/dist/src/dashboard/schema.d.ts +2 -2
  31. package/dist/src/dashboard/schema.d.ts.map +1 -1
  32. package/dist/src/extension/index.d.ts +115 -115
  33. package/dist/src/extension/schema.d.ts +9 -9
  34. package/dist/src/mail/account-contract.d.ts +168 -168
  35. package/dist/src/mail/mail-contract.d.ts +3336 -3336
  36. package/dist/src/mail/message-contract.d.ts +152 -152
  37. package/dist/src/mail/room-contract.d.ts +3015 -3015
  38. package/dist/src/mail/schemas/account-validation.schema.d.ts +168 -168
  39. package/dist/src/mail/schemas/account.schema.d.ts +33 -33
  40. package/dist/src/mail/schemas/message.schema.d.ts +108 -108
  41. package/dist/src/mail/schemas/room-validation.schema.d.ts +1000 -1000
  42. package/dist/src/mail/schemas/room.schema.d.ts +791 -791
  43. package/dist/src/messenger/index.d.ts +1078 -1078
  44. package/dist/src/permission/index.d.ts +15 -15
  45. package/dist/src/permission/schema.d.ts +9 -9
  46. package/dist/src/role/index.d.ts +96 -96
  47. package/dist/src/role/schema.d.ts +24 -24
  48. package/dist/src/telephony-agent-presence-status/index.d.ts +293 -293
  49. package/dist/src/telephony-agent-presence-status/schema.d.ts +89 -89
  50. package/dist/src/ticket/index.d.ts +288 -187
  51. package/dist/src/ticket/index.d.ts.map +1 -1
  52. package/dist/src/ticket/schema.d.ts +77 -77
  53. package/dist/src/ticket/validation.d.ts +66 -0
  54. package/dist/src/ticket/validation.d.ts.map +1 -1
  55. package/dist/src/user/index.d.ts +293 -293
  56. package/dist/src/user/schema.d.ts +63 -63
  57. package/dist/src/user-presence-status-log/index.d.ts +52 -52
  58. package/dist/src/user-presence-status-log/schema.d.ts +89 -89
  59. package/dist/src/widget/index.d.ts +72 -1
  60. package/dist/src/widget/index.d.ts.map +1 -1
  61. package/dist/src/widget/validation.d.ts +10 -0
  62. package/dist/src/widget/validation.d.ts.map +1 -1
  63. package/package.json +1 -1
@@ -1,57 +1,57 @@
1
1
  import z from 'zod';
2
2
  export declare const ContactPhonesSchema: z.ZodObject<{
3
3
  id: z.ZodString;
4
- createdAt: z.ZodDate;
5
- updatedAt: z.ZodDate;
6
- deletedAt: z.ZodNullable<z.ZodDate>;
4
+ createdAt: z.ZodString;
5
+ updatedAt: z.ZodString;
6
+ deletedAt: z.ZodNullable<z.ZodString>;
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: Date;
13
- updatedAt: Date;
14
- deletedAt: Date | null;
12
+ createdAt: string;
13
+ updatedAt: string;
14
+ deletedAt: string | null;
15
15
  phone: string;
16
16
  }, {
17
17
  id: string;
18
18
  isPrimary: boolean;
19
- createdAt: Date;
20
- updatedAt: Date;
21
- deletedAt: Date | null;
19
+ createdAt: string;
20
+ updatedAt: string;
21
+ deletedAt: string | null;
22
22
  phone: string;
23
23
  }>;
24
24
  export declare const ContactEmailsSchema: z.ZodObject<{
25
25
  id: z.ZodString;
26
- createdAt: z.ZodDate;
27
- updatedAt: z.ZodDate;
28
- deletedAt: z.ZodNullable<z.ZodDate>;
26
+ createdAt: z.ZodString;
27
+ updatedAt: z.ZodString;
28
+ deletedAt: z.ZodNullable<z.ZodString>;
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: Date;
36
- updatedAt: Date;
37
- deletedAt: Date | null;
35
+ createdAt: string;
36
+ updatedAt: string;
37
+ deletedAt: string | null;
38
38
  }, {
39
39
  id: string;
40
40
  isPrimary: boolean;
41
41
  email: string;
42
- createdAt: Date;
43
- updatedAt: Date;
44
- deletedAt: Date | null;
42
+ createdAt: string;
43
+ updatedAt: string;
44
+ deletedAt: string | null;
45
45
  }>;
46
46
  export declare const ContactCustomFieldSchema: z.ZodObject<{
47
47
  id: z.ZodString;
48
- createdAt: z.ZodDate;
49
- updatedAt: z.ZodDate;
50
- deletedAt: z.ZodNullable<z.ZodDate>;
48
+ createdAt: z.ZodString;
49
+ updatedAt: z.ZodString;
50
+ deletedAt: z.ZodNullable<z.ZodString>;
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.ZodDate>;
54
+ dateValue: z.ZodNullable<z.ZodString>;
55
55
  attribute: z.ZodObject<Omit<{
56
56
  id: z.ZodString;
57
57
  createdAt: z.ZodString;
@@ -202,9 +202,9 @@ export declare const ContactCustomFieldSchema: z.ZodObject<{
202
202
  }>, "many">;
203
203
  }, "strip", z.ZodTypeAny, {
204
204
  id: string;
205
- createdAt: Date;
206
- updatedAt: Date;
207
- deletedAt: Date | null;
205
+ createdAt: string;
206
+ updatedAt: string;
207
+ deletedAt: string | null;
208
208
  attribute: {
209
209
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
210
210
  id: string;
@@ -222,7 +222,7 @@ export declare const ContactCustomFieldSchema: z.ZodObject<{
222
222
  textValue: string | null;
223
223
  booleanValue: boolean | null;
224
224
  numberValue: number | null;
225
- dateValue: Date | null;
225
+ dateValue: string | null;
226
226
  uploads: {
227
227
  id: string;
228
228
  createdAt: string;
@@ -242,9 +242,9 @@ export declare const ContactCustomFieldSchema: z.ZodObject<{
242
242
  }[];
243
243
  }, {
244
244
  id: string;
245
- createdAt: Date;
246
- updatedAt: Date;
247
- deletedAt: Date | null;
245
+ createdAt: string;
246
+ updatedAt: string;
247
+ deletedAt: string | null;
248
248
  attribute: {
249
249
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
250
250
  id: string;
@@ -262,7 +262,7 @@ export declare const ContactCustomFieldSchema: z.ZodObject<{
262
262
  textValue: string | null;
263
263
  booleanValue: boolean | null;
264
264
  numberValue: number | null;
265
- dateValue: Date | null;
265
+ dateValue: string | null;
266
266
  uploads: {
267
267
  id: string;
268
268
  createdAt: 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.ZodDate;
287
- updatedAt: z.ZodDate;
288
- deletedAt: z.ZodNullable<z.ZodDate>;
286
+ createdAt: z.ZodString;
287
+ updatedAt: z.ZodString;
288
+ deletedAt: z.ZodNullable<z.ZodString>;
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: Date;
295
- updatedAt: Date;
296
- deletedAt: Date | null;
294
+ createdAt: string;
295
+ updatedAt: string;
296
+ deletedAt: string | null;
297
297
  entity: string;
298
298
  }, {
299
299
  id: string;
300
300
  description: string | null;
301
- createdAt: Date;
302
- updatedAt: Date;
303
- deletedAt: Date | null;
301
+ createdAt: string;
302
+ updatedAt: string;
303
+ deletedAt: string | null;
304
304
  entity: string;
305
305
  }>;
306
306
  export declare const ContactActivitySchema: z.ZodObject<{
307
307
  id: z.ZodString;
308
- createdAt: z.ZodDate;
309
- updatedAt: z.ZodDate;
310
- deletedAt: z.ZodNullable<z.ZodDate>;
308
+ createdAt: z.ZodString;
309
+ updatedAt: z.ZodString;
310
+ deletedAt: z.ZodNullable<z.ZodString>;
311
311
  entityId: z.ZodString;
312
312
  description: z.ZodString;
313
313
  entityType: z.ZodObject<{
314
314
  id: z.ZodString;
315
- createdAt: z.ZodDate;
316
- updatedAt: z.ZodDate;
317
- deletedAt: z.ZodNullable<z.ZodDate>;
315
+ createdAt: z.ZodString;
316
+ updatedAt: z.ZodString;
317
+ deletedAt: z.ZodNullable<z.ZodString>;
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: Date;
324
- updatedAt: Date;
325
- deletedAt: Date | null;
323
+ createdAt: string;
324
+ updatedAt: string;
325
+ deletedAt: string | null;
326
326
  entity: string;
327
327
  }, {
328
328
  id: string;
329
329
  description: string | null;
330
- createdAt: Date;
331
- updatedAt: Date;
332
- deletedAt: Date | null;
330
+ createdAt: string;
331
+ updatedAt: string;
332
+ deletedAt: string | null;
333
333
  entity: string;
334
334
  }>;
335
335
  }, "strip", z.ZodTypeAny, {
336
336
  id: string;
337
337
  description: string;
338
- createdAt: Date;
339
- updatedAt: Date;
340
- deletedAt: Date | null;
338
+ createdAt: string;
339
+ updatedAt: string;
340
+ deletedAt: string | null;
341
341
  entityId: string;
342
342
  entityType: {
343
343
  id: string;
344
344
  description: string | null;
345
- createdAt: Date;
346
- updatedAt: Date;
347
- deletedAt: Date | null;
345
+ createdAt: string;
346
+ updatedAt: string;
347
+ deletedAt: string | null;
348
348
  entity: string;
349
349
  };
350
350
  }, {
351
351
  id: string;
352
352
  description: string;
353
- createdAt: Date;
354
- updatedAt: Date;
355
- deletedAt: Date | null;
353
+ createdAt: string;
354
+ updatedAt: string;
355
+ deletedAt: string | null;
356
356
  entityId: string;
357
357
  entityType: {
358
358
  id: string;
359
359
  description: string | null;
360
- createdAt: Date;
361
- updatedAt: Date;
362
- deletedAt: Date | null;
360
+ createdAt: string;
361
+ updatedAt: string;
362
+ deletedAt: string | 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.ZodDate;
369
- updatedAt: z.ZodDate;
370
- deletedAt: z.ZodNullable<z.ZodDate>;
368
+ createdAt: z.ZodString;
369
+ updatedAt: z.ZodString;
370
+ deletedAt: z.ZodNullable<z.ZodString>;
371
371
  name: z.ZodString;
372
372
  address: z.ZodNullable<z.ZodString>;
373
373
  channel: z.ZodNullable<z.ZodString>;
@@ -410,7 +410,7 @@ export declare const ContactSchema: z.ZodObject<{
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.ZodDate>;
413
+ dateValue: z.ZodNullable<z.ZodString>;
414
414
  attribute: z.ZodObject<Omit<{
415
415
  id: z.ZodString;
416
416
  createdAt: z.ZodString;
@@ -514,7 +514,7 @@ export declare const ContactSchema: z.ZodObject<{
514
514
  textValue: string | null;
515
515
  booleanValue: boolean | null;
516
516
  numberValue: number | null;
517
- dateValue: Date | null;
517
+ dateValue: string | null;
518
518
  }, {
519
519
  id: string;
520
520
  createdAt: string;
@@ -537,7 +537,7 @@ export declare const ContactSchema: z.ZodObject<{
537
537
  textValue: string | null;
538
538
  booleanValue: boolean | null;
539
539
  numberValue: number | null;
540
- dateValue: Date | null;
540
+ dateValue: string | null;
541
541
  }>, "many">>;
542
542
  }, "customFields">, "strip", z.ZodTypeAny, {
543
543
  id: string;
@@ -560,13 +560,13 @@ export declare const ContactSchema: z.ZodObject<{
560
560
  }>>;
561
561
  customFields: z.ZodArray<z.ZodObject<{
562
562
  id: z.ZodString;
563
- createdAt: z.ZodDate;
564
- updatedAt: z.ZodDate;
565
- deletedAt: z.ZodNullable<z.ZodDate>;
563
+ createdAt: z.ZodString;
564
+ updatedAt: z.ZodString;
565
+ deletedAt: z.ZodNullable<z.ZodString>;
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.ZodDate>;
569
+ dateValue: z.ZodNullable<z.ZodString>;
570
570
  attribute: z.ZodObject<Omit<{
571
571
  id: z.ZodString;
572
572
  createdAt: z.ZodString;
@@ -717,9 +717,9 @@ export declare const ContactSchema: z.ZodObject<{
717
717
  }>, "many">;
718
718
  }, "strip", z.ZodTypeAny, {
719
719
  id: string;
720
- createdAt: Date;
721
- updatedAt: Date;
722
- deletedAt: Date | null;
720
+ createdAt: string;
721
+ updatedAt: string;
722
+ deletedAt: string | null;
723
723
  attribute: {
724
724
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
725
725
  id: string;
@@ -737,7 +737,7 @@ export declare const ContactSchema: z.ZodObject<{
737
737
  textValue: string | null;
738
738
  booleanValue: boolean | null;
739
739
  numberValue: number | null;
740
- dateValue: Date | null;
740
+ dateValue: string | null;
741
741
  uploads: {
742
742
  id: string;
743
743
  createdAt: string;
@@ -757,9 +757,9 @@ export declare const ContactSchema: z.ZodObject<{
757
757
  }[];
758
758
  }, {
759
759
  id: string;
760
- createdAt: Date;
761
- updatedAt: Date;
762
- deletedAt: Date | null;
760
+ createdAt: string;
761
+ updatedAt: string;
762
+ deletedAt: string | null;
763
763
  attribute: {
764
764
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
765
765
  id: string;
@@ -777,7 +777,7 @@ export declare const ContactSchema: z.ZodObject<{
777
777
  textValue: string | null;
778
778
  booleanValue: boolean | null;
779
779
  numberValue: number | null;
780
- dateValue: Date | null;
780
+ dateValue: string | null;
781
781
  uploads: {
782
782
  id: string;
783
783
  createdAt: 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.ZodDate;
802
- updatedAt: z.ZodDate;
803
- deletedAt: z.ZodNullable<z.ZodDate>;
801
+ createdAt: z.ZodString;
802
+ updatedAt: z.ZodString;
803
+ deletedAt: z.ZodNullable<z.ZodString>;
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: Date;
811
- updatedAt: Date;
812
- deletedAt: Date | null;
810
+ createdAt: string;
811
+ updatedAt: string;
812
+ deletedAt: string | null;
813
813
  }, {
814
814
  id: string;
815
815
  isPrimary: boolean;
816
816
  email: string;
817
- createdAt: Date;
818
- updatedAt: Date;
819
- deletedAt: Date | null;
817
+ createdAt: string;
818
+ updatedAt: string;
819
+ deletedAt: string | null;
820
820
  }>, "many">;
821
821
  contactPhones: z.ZodArray<z.ZodObject<{
822
822
  id: z.ZodString;
823
- createdAt: z.ZodDate;
824
- updatedAt: z.ZodDate;
825
- deletedAt: z.ZodNullable<z.ZodDate>;
823
+ createdAt: z.ZodString;
824
+ updatedAt: z.ZodString;
825
+ deletedAt: z.ZodNullable<z.ZodString>;
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: Date;
832
- updatedAt: Date;
833
- deletedAt: Date | null;
831
+ createdAt: string;
832
+ updatedAt: string;
833
+ deletedAt: string | null;
834
834
  phone: string;
835
835
  }, {
836
836
  id: string;
837
837
  isPrimary: boolean;
838
- createdAt: Date;
839
- updatedAt: Date;
840
- deletedAt: Date | null;
838
+ createdAt: string;
839
+ updatedAt: string;
840
+ deletedAt: string | 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.ZodDate;
846
- updatedAt: z.ZodDate;
847
- deletedAt: z.ZodNullable<z.ZodDate>;
845
+ createdAt: z.ZodString;
846
+ updatedAt: z.ZodString;
847
+ deletedAt: z.ZodNullable<z.ZodString>;
848
848
  entityId: z.ZodString;
849
849
  description: z.ZodString;
850
850
  entityType: z.ZodObject<{
851
851
  id: z.ZodString;
852
- createdAt: z.ZodDate;
853
- updatedAt: z.ZodDate;
854
- deletedAt: z.ZodNullable<z.ZodDate>;
852
+ createdAt: z.ZodString;
853
+ updatedAt: z.ZodString;
854
+ deletedAt: z.ZodNullable<z.ZodString>;
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: Date;
861
- updatedAt: Date;
862
- deletedAt: Date | null;
860
+ createdAt: string;
861
+ updatedAt: string;
862
+ deletedAt: string | null;
863
863
  entity: string;
864
864
  }, {
865
865
  id: string;
866
866
  description: string | null;
867
- createdAt: Date;
868
- updatedAt: Date;
869
- deletedAt: Date | null;
867
+ createdAt: string;
868
+ updatedAt: string;
869
+ deletedAt: string | null;
870
870
  entity: string;
871
871
  }>;
872
872
  }, "strip", z.ZodTypeAny, {
873
873
  id: string;
874
874
  description: string;
875
- createdAt: Date;
876
- updatedAt: Date;
877
- deletedAt: Date | null;
875
+ createdAt: string;
876
+ updatedAt: string;
877
+ deletedAt: string | null;
878
878
  entityId: string;
879
879
  entityType: {
880
880
  id: string;
881
881
  description: string | null;
882
- createdAt: Date;
883
- updatedAt: Date;
884
- deletedAt: Date | null;
882
+ createdAt: string;
883
+ updatedAt: string;
884
+ deletedAt: string | null;
885
885
  entity: string;
886
886
  };
887
887
  }, {
888
888
  id: string;
889
889
  description: string;
890
- createdAt: Date;
891
- updatedAt: Date;
892
- deletedAt: Date | null;
890
+ createdAt: string;
891
+ updatedAt: string;
892
+ deletedAt: string | null;
893
893
  entityId: string;
894
894
  entityType: {
895
895
  id: string;
896
896
  description: string | null;
897
- createdAt: Date;
898
- updatedAt: Date;
899
- deletedAt: Date | null;
897
+ createdAt: string;
898
+ updatedAt: string;
899
+ deletedAt: string | null;
900
900
  entity: string;
901
901
  };
902
902
  }>, "many">>;
@@ -905,14 +905,14 @@ export declare const ContactSchema: z.ZodObject<{
905
905
  channel: string | null;
906
906
  address: string | null;
907
907
  name: string;
908
- createdAt: Date;
909
- updatedAt: Date;
910
- deletedAt: Date | null;
908
+ createdAt: string;
909
+ updatedAt: string;
910
+ deletedAt: string | null;
911
911
  customFields: {
912
912
  id: string;
913
- createdAt: Date;
914
- updatedAt: Date;
915
- deletedAt: Date | null;
913
+ createdAt: string;
914
+ updatedAt: string;
915
+ deletedAt: string | null;
916
916
  attribute: {
917
917
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
918
918
  id: string;
@@ -930,7 +930,7 @@ export declare const ContactSchema: z.ZodObject<{
930
930
  textValue: string | null;
931
931
  booleanValue: boolean | null;
932
932
  numberValue: number | null;
933
- dateValue: Date | null;
933
+ dateValue: string | null;
934
934
  uploads: {
935
935
  id: string;
936
936
  createdAt: string;
@@ -973,31 +973,31 @@ export declare const ContactSchema: z.ZodObject<{
973
973
  id: string;
974
974
  isPrimary: boolean;
975
975
  email: string;
976
- createdAt: Date;
977
- updatedAt: Date;
978
- deletedAt: Date | null;
976
+ createdAt: string;
977
+ updatedAt: string;
978
+ deletedAt: string | null;
979
979
  }[];
980
980
  contactPhones: {
981
981
  id: string;
982
982
  isPrimary: boolean;
983
- createdAt: Date;
984
- updatedAt: Date;
985
- deletedAt: Date | null;
983
+ createdAt: string;
984
+ updatedAt: string;
985
+ deletedAt: string | null;
986
986
  phone: string;
987
987
  }[];
988
988
  activityLogs?: {
989
989
  id: string;
990
990
  description: string;
991
- createdAt: Date;
992
- updatedAt: Date;
993
- deletedAt: Date | null;
991
+ createdAt: string;
992
+ updatedAt: string;
993
+ deletedAt: string | null;
994
994
  entityId: string;
995
995
  entityType: {
996
996
  id: string;
997
997
  description: string | null;
998
- createdAt: Date;
999
- updatedAt: Date;
1000
- deletedAt: Date | null;
998
+ createdAt: string;
999
+ updatedAt: string;
1000
+ deletedAt: string | null;
1001
1001
  entity: string;
1002
1002
  };
1003
1003
  }[] | undefined;
@@ -1006,14 +1006,14 @@ export declare const ContactSchema: z.ZodObject<{
1006
1006
  channel: string | null;
1007
1007
  address: string | null;
1008
1008
  name: string;
1009
- createdAt: Date;
1010
- updatedAt: Date;
1011
- deletedAt: Date | null;
1009
+ createdAt: string;
1010
+ updatedAt: string;
1011
+ deletedAt: string | null;
1012
1012
  customFields: {
1013
1013
  id: string;
1014
- createdAt: Date;
1015
- updatedAt: Date;
1016
- deletedAt: Date | null;
1014
+ createdAt: string;
1015
+ updatedAt: string;
1016
+ deletedAt: string | null;
1017
1017
  attribute: {
1018
1018
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1019
1019
  id: string;
@@ -1031,7 +1031,7 @@ export declare const ContactSchema: z.ZodObject<{
1031
1031
  textValue: string | null;
1032
1032
  booleanValue: boolean | null;
1033
1033
  numberValue: number | null;
1034
- dateValue: Date | null;
1034
+ dateValue: string | null;
1035
1035
  uploads: {
1036
1036
  id: string;
1037
1037
  createdAt: string;
@@ -1074,31 +1074,31 @@ export declare const ContactSchema: z.ZodObject<{
1074
1074
  id: string;
1075
1075
  isPrimary: boolean;
1076
1076
  email: string;
1077
- createdAt: Date;
1078
- updatedAt: Date;
1079
- deletedAt: Date | null;
1077
+ createdAt: string;
1078
+ updatedAt: string;
1079
+ deletedAt: string | null;
1080
1080
  }[];
1081
1081
  contactPhones: {
1082
1082
  id: string;
1083
1083
  isPrimary: boolean;
1084
- createdAt: Date;
1085
- updatedAt: Date;
1086
- deletedAt: Date | null;
1084
+ createdAt: string;
1085
+ updatedAt: string;
1086
+ deletedAt: string | null;
1087
1087
  phone: string;
1088
1088
  }[];
1089
1089
  activityLogs?: {
1090
1090
  id: string;
1091
1091
  description: string;
1092
- createdAt: Date;
1093
- updatedAt: Date;
1094
- deletedAt: Date | null;
1092
+ createdAt: string;
1093
+ updatedAt: string;
1094
+ deletedAt: string | null;
1095
1095
  entityId: string;
1096
1096
  entityType: {
1097
1097
  id: string;
1098
1098
  description: string | null;
1099
- createdAt: Date;
1100
- updatedAt: Date;
1101
- deletedAt: Date | null;
1099
+ createdAt: string;
1100
+ updatedAt: string;
1101
+ deletedAt: string | null;
1102
1102
  entity: string;
1103
1103
  };
1104
1104
  }[] | undefined;