@kl1/contracts 1.0.69 → 1.0.71

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 (50) hide show
  1. package/dist/index.js +18 -19
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +18 -19
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/chat/index.d.ts +1110 -2579
  6. package/dist/src/chat/index.d.ts.map +1 -1
  7. package/dist/src/chat/schema.d.ts +222 -519
  8. package/dist/src/chat/schema.d.ts.map +1 -1
  9. package/dist/src/chat/validation.d.ts +228 -482
  10. package/dist/src/chat/validation.d.ts.map +1 -1
  11. package/dist/src/comment/index.d.ts +222 -547
  12. package/dist/src/comment/index.d.ts.map +1 -1
  13. package/dist/src/comment/schema.d.ts +66 -165
  14. package/dist/src/comment/schema.d.ts.map +1 -1
  15. package/dist/src/contact/index.d.ts +614 -999
  16. package/dist/src/contact/index.d.ts.map +1 -1
  17. package/dist/src/contact/schema.d.ts +72 -200
  18. package/dist/src/contact/schema.d.ts.map +1 -1
  19. package/dist/src/contact/validation.d.ts +317 -806
  20. package/dist/src/contact/validation.d.ts.map +1 -1
  21. package/dist/src/contract.d.ts +4727 -8439
  22. package/dist/src/contract.d.ts.map +1 -1
  23. package/dist/src/custom-field-upload/schema.d.ts +2 -2
  24. package/dist/src/cx-log/index.d.ts +234 -573
  25. package/dist/src/cx-log/index.d.ts.map +1 -1
  26. package/dist/src/cx-log/schema.d.ts +198 -495
  27. package/dist/src/cx-log/schema.d.ts.map +1 -1
  28. package/dist/src/instagram/index.d.ts +138 -265
  29. package/dist/src/instagram/index.d.ts.map +1 -1
  30. package/dist/src/line/index.d.ts +138 -265
  31. package/dist/src/line/index.d.ts.map +1 -1
  32. package/dist/src/mail/mail-contract.d.ts +1330 -1330
  33. package/dist/src/mail/message-contract.d.ts +56 -56
  34. package/dist/src/mail/room-contract.d.ts +1258 -1258
  35. package/dist/src/mail/schemas/message.schema.d.ts +33 -33
  36. package/dist/src/mail/schemas/room-validation.schema.d.ts +420 -420
  37. package/dist/src/mail/schemas/room.schema.d.ts +284 -284
  38. package/dist/src/messenger/index.d.ts +138 -265
  39. package/dist/src/messenger/index.d.ts.map +1 -1
  40. package/dist/src/telephony-cdr/index.d.ts +203 -500
  41. package/dist/src/telephony-cdr/index.d.ts.map +1 -1
  42. package/dist/src/telephony-cdr/schema.d.ts +60 -145
  43. package/dist/src/telephony-cdr/schema.d.ts.map +1 -1
  44. package/dist/src/ticket/index.d.ts +338 -818
  45. package/dist/src/ticket/index.d.ts.map +1 -1
  46. package/dist/src/ticket/schema.d.ts +54 -139
  47. package/dist/src/ticket/schema.d.ts.map +1 -1
  48. package/dist/src/viber/index.d.ts +141 -304
  49. package/dist/src/viber/index.d.ts.map +1 -1
  50. package/package.json +1 -1
@@ -347,77 +347,34 @@ export declare const PlatformContactSchema: z.ZodObject<{
347
347
  createdAt: z.ZodDate;
348
348
  updatedAt: z.ZodDate;
349
349
  deletedAt: z.ZodNullable<z.ZodDate>;
350
- customFieldId: z.ZodString;
351
- upload: z.ZodObject<{
352
- id: z.ZodString;
353
- createdAt: z.ZodDate;
354
- updatedAt: z.ZodDate;
355
- deletedAt: z.ZodNullable<z.ZodDate>;
356
- bucketName: z.ZodString;
357
- fileName: z.ZodString;
358
- fileSize: z.ZodNumber;
359
- fileKey: z.ZodString;
360
- fileUrl: z.ZodNullable<z.ZodString>;
361
- status: z.ZodOptional<z.ZodString>;
362
- }, "strip", z.ZodTypeAny, {
363
- id: string;
364
- createdAt: Date;
365
- updatedAt: Date;
366
- deletedAt: Date | null;
367
- fileName: string;
368
- fileKey: string;
369
- bucketName: string;
370
- fileSize: number;
371
- fileUrl: string | null;
372
- status?: string | undefined;
373
- }, {
374
- id: string;
375
- createdAt: Date;
376
- updatedAt: Date;
377
- deletedAt: Date | null;
378
- fileName: string;
379
- fileKey: string;
380
- bucketName: string;
381
- fileSize: number;
382
- fileUrl: string | null;
383
- status?: string | undefined;
384
- }>;
350
+ bucketName: z.ZodString;
351
+ fileName: z.ZodString;
352
+ fileSize: z.ZodNumber;
353
+ fileKey: z.ZodString;
354
+ fileUrl: z.ZodNullable<z.ZodString>;
355
+ status: z.ZodOptional<z.ZodString>;
385
356
  }, "strip", z.ZodTypeAny, {
386
357
  id: string;
387
358
  createdAt: Date;
388
359
  updatedAt: Date;
389
360
  deletedAt: Date | null;
390
- customFieldId: string;
391
- upload: {
392
- id: string;
393
- createdAt: Date;
394
- updatedAt: Date;
395
- deletedAt: Date | null;
396
- fileName: string;
397
- fileKey: string;
398
- bucketName: string;
399
- fileSize: number;
400
- fileUrl: string | null;
401
- status?: string | undefined;
402
- };
361
+ fileName: string;
362
+ fileKey: string;
363
+ bucketName: string;
364
+ fileSize: number;
365
+ fileUrl: string | null;
366
+ status?: string | undefined;
403
367
  }, {
404
368
  id: string;
405
369
  createdAt: Date;
406
370
  updatedAt: Date;
407
371
  deletedAt: Date | null;
408
- customFieldId: string;
409
- upload: {
410
- id: string;
411
- createdAt: Date;
412
- updatedAt: Date;
413
- deletedAt: Date | null;
414
- fileName: string;
415
- fileKey: string;
416
- bucketName: string;
417
- fileSize: number;
418
- fileUrl: string | null;
419
- status?: string | undefined;
420
- };
372
+ fileName: string;
373
+ fileKey: string;
374
+ bucketName: string;
375
+ fileSize: number;
376
+ fileUrl: string | null;
377
+ status?: string | undefined;
421
378
  }>, "many">;
422
379
  }, "strip", z.ZodTypeAny, {
423
380
  id: string;
@@ -447,19 +404,12 @@ export declare const PlatformContactSchema: z.ZodObject<{
447
404
  createdAt: Date;
448
405
  updatedAt: Date;
449
406
  deletedAt: Date | null;
450
- customFieldId: string;
451
- upload: {
452
- id: string;
453
- createdAt: Date;
454
- updatedAt: Date;
455
- deletedAt: Date | null;
456
- fileName: string;
457
- fileKey: string;
458
- bucketName: string;
459
- fileSize: number;
460
- fileUrl: string | null;
461
- status?: string | undefined;
462
- };
407
+ fileName: string;
408
+ fileKey: string;
409
+ bucketName: string;
410
+ fileSize: number;
411
+ fileUrl: string | null;
412
+ status?: string | undefined;
463
413
  }[];
464
414
  }, {
465
415
  id: string;
@@ -489,19 +439,12 @@ export declare const PlatformContactSchema: z.ZodObject<{
489
439
  createdAt: Date;
490
440
  updatedAt: Date;
491
441
  deletedAt: Date | null;
492
- customFieldId: string;
493
- upload: {
494
- id: string;
495
- createdAt: Date;
496
- updatedAt: Date;
497
- deletedAt: Date | null;
498
- fileName: string;
499
- fileKey: string;
500
- bucketName: string;
501
- fileSize: number;
502
- fileUrl: string | null;
503
- status?: string | undefined;
504
- };
442
+ fileName: string;
443
+ fileKey: string;
444
+ bucketName: string;
445
+ fileSize: number;
446
+ fileUrl: string | null;
447
+ status?: string | undefined;
505
448
  }[];
506
449
  }>, "many">;
507
450
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -644,19 +587,12 @@ export declare const PlatformContactSchema: z.ZodObject<{
644
587
  createdAt: Date;
645
588
  updatedAt: Date;
646
589
  deletedAt: Date | null;
647
- customFieldId: string;
648
- upload: {
649
- id: string;
650
- createdAt: Date;
651
- updatedAt: Date;
652
- deletedAt: Date | null;
653
- fileName: string;
654
- fileKey: string;
655
- bucketName: string;
656
- fileSize: number;
657
- fileUrl: string | null;
658
- status?: string | undefined;
659
- };
590
+ fileName: string;
591
+ fileKey: string;
592
+ bucketName: string;
593
+ fileSize: number;
594
+ fileUrl: string | null;
595
+ status?: string | undefined;
660
596
  }[];
661
597
  }[];
662
598
  company: {
@@ -747,19 +683,12 @@ export declare const PlatformContactSchema: z.ZodObject<{
747
683
  createdAt: Date;
748
684
  updatedAt: Date;
749
685
  deletedAt: Date | null;
750
- customFieldId: string;
751
- upload: {
752
- id: string;
753
- createdAt: Date;
754
- updatedAt: Date;
755
- deletedAt: Date | null;
756
- fileName: string;
757
- fileKey: string;
758
- bucketName: string;
759
- fileSize: number;
760
- fileUrl: string | null;
761
- status?: string | undefined;
762
- };
686
+ fileName: string;
687
+ fileKey: string;
688
+ bucketName: string;
689
+ fileSize: number;
690
+ fileUrl: string | null;
691
+ status?: string | undefined;
763
692
  }[];
764
693
  }[];
765
694
  company: {
@@ -863,19 +792,12 @@ export declare const PlatformContactSchema: z.ZodObject<{
863
792
  createdAt: Date;
864
793
  updatedAt: Date;
865
794
  deletedAt: Date | null;
866
- customFieldId: string;
867
- upload: {
868
- id: string;
869
- createdAt: Date;
870
- updatedAt: Date;
871
- deletedAt: Date | null;
872
- fileName: string;
873
- fileKey: string;
874
- bucketName: string;
875
- fileSize: number;
876
- fileUrl: string | null;
877
- status?: string | undefined;
878
- };
795
+ fileName: string;
796
+ fileKey: string;
797
+ bucketName: string;
798
+ fileSize: number;
799
+ fileUrl: string | null;
800
+ status?: string | undefined;
879
801
  }[];
880
802
  }[];
881
803
  company: {
@@ -981,19 +903,12 @@ export declare const PlatformContactSchema: z.ZodObject<{
981
903
  createdAt: Date;
982
904
  updatedAt: Date;
983
905
  deletedAt: Date | null;
984
- customFieldId: string;
985
- upload: {
986
- id: string;
987
- createdAt: Date;
988
- updatedAt: Date;
989
- deletedAt: Date | null;
990
- fileName: string;
991
- fileKey: string;
992
- bucketName: string;
993
- fileSize: number;
994
- fileUrl: string | null;
995
- status?: string | undefined;
996
- };
906
+ fileName: string;
907
+ fileKey: string;
908
+ bucketName: string;
909
+ fileSize: number;
910
+ fileUrl: string | null;
911
+ status?: string | undefined;
997
912
  }[];
998
913
  }[];
999
914
  company: {
@@ -1382,77 +1297,34 @@ export declare const RoomSchema: z.ZodObject<{
1382
1297
  createdAt: z.ZodDate;
1383
1298
  updatedAt: z.ZodDate;
1384
1299
  deletedAt: z.ZodNullable<z.ZodDate>;
1385
- customFieldId: z.ZodString;
1386
- upload: z.ZodObject<{
1387
- id: z.ZodString;
1388
- createdAt: z.ZodDate;
1389
- updatedAt: z.ZodDate;
1390
- deletedAt: z.ZodNullable<z.ZodDate>;
1391
- bucketName: z.ZodString;
1392
- fileName: z.ZodString;
1393
- fileSize: z.ZodNumber;
1394
- fileKey: z.ZodString;
1395
- fileUrl: z.ZodNullable<z.ZodString>;
1396
- status: z.ZodOptional<z.ZodString>;
1397
- }, "strip", z.ZodTypeAny, {
1398
- id: string;
1399
- createdAt: Date;
1400
- updatedAt: Date;
1401
- deletedAt: Date | null;
1402
- fileName: string;
1403
- fileKey: string;
1404
- bucketName: string;
1405
- fileSize: number;
1406
- fileUrl: string | null;
1407
- status?: string | undefined;
1408
- }, {
1409
- id: string;
1410
- createdAt: Date;
1411
- updatedAt: Date;
1412
- deletedAt: Date | null;
1413
- fileName: string;
1414
- fileKey: string;
1415
- bucketName: string;
1416
- fileSize: number;
1417
- fileUrl: string | null;
1418
- status?: string | undefined;
1419
- }>;
1300
+ bucketName: z.ZodString;
1301
+ fileName: z.ZodString;
1302
+ fileSize: z.ZodNumber;
1303
+ fileKey: z.ZodString;
1304
+ fileUrl: z.ZodNullable<z.ZodString>;
1305
+ status: z.ZodOptional<z.ZodString>;
1420
1306
  }, "strip", z.ZodTypeAny, {
1421
1307
  id: string;
1422
1308
  createdAt: Date;
1423
1309
  updatedAt: Date;
1424
1310
  deletedAt: Date | null;
1425
- customFieldId: string;
1426
- upload: {
1427
- id: string;
1428
- createdAt: Date;
1429
- updatedAt: Date;
1430
- deletedAt: Date | null;
1431
- fileName: string;
1432
- fileKey: string;
1433
- bucketName: string;
1434
- fileSize: number;
1435
- fileUrl: string | null;
1436
- status?: string | undefined;
1437
- };
1311
+ fileName: string;
1312
+ fileKey: string;
1313
+ bucketName: string;
1314
+ fileSize: number;
1315
+ fileUrl: string | null;
1316
+ status?: string | undefined;
1438
1317
  }, {
1439
1318
  id: string;
1440
1319
  createdAt: Date;
1441
1320
  updatedAt: Date;
1442
1321
  deletedAt: Date | null;
1443
- customFieldId: string;
1444
- upload: {
1445
- id: string;
1446
- createdAt: Date;
1447
- updatedAt: Date;
1448
- deletedAt: Date | null;
1449
- fileName: string;
1450
- fileKey: string;
1451
- bucketName: string;
1452
- fileSize: number;
1453
- fileUrl: string | null;
1454
- status?: string | undefined;
1455
- };
1322
+ fileName: string;
1323
+ fileKey: string;
1324
+ bucketName: string;
1325
+ fileSize: number;
1326
+ fileUrl: string | null;
1327
+ status?: string | undefined;
1456
1328
  }>, "many">;
1457
1329
  }, "strip", z.ZodTypeAny, {
1458
1330
  id: string;
@@ -1482,19 +1354,12 @@ export declare const RoomSchema: z.ZodObject<{
1482
1354
  createdAt: Date;
1483
1355
  updatedAt: Date;
1484
1356
  deletedAt: Date | null;
1485
- customFieldId: string;
1486
- upload: {
1487
- id: string;
1488
- createdAt: Date;
1489
- updatedAt: Date;
1490
- deletedAt: Date | null;
1491
- fileName: string;
1492
- fileKey: string;
1493
- bucketName: string;
1494
- fileSize: number;
1495
- fileUrl: string | null;
1496
- status?: string | undefined;
1497
- };
1357
+ fileName: string;
1358
+ fileKey: string;
1359
+ bucketName: string;
1360
+ fileSize: number;
1361
+ fileUrl: string | null;
1362
+ status?: string | undefined;
1498
1363
  }[];
1499
1364
  }, {
1500
1365
  id: string;
@@ -1524,19 +1389,12 @@ export declare const RoomSchema: z.ZodObject<{
1524
1389
  createdAt: Date;
1525
1390
  updatedAt: Date;
1526
1391
  deletedAt: Date | null;
1527
- customFieldId: string;
1528
- upload: {
1529
- id: string;
1530
- createdAt: Date;
1531
- updatedAt: Date;
1532
- deletedAt: Date | null;
1533
- fileName: string;
1534
- fileKey: string;
1535
- bucketName: string;
1536
- fileSize: number;
1537
- fileUrl: string | null;
1538
- status?: string | undefined;
1539
- };
1392
+ fileName: string;
1393
+ fileKey: string;
1394
+ bucketName: string;
1395
+ fileSize: number;
1396
+ fileUrl: string | null;
1397
+ status?: string | undefined;
1540
1398
  }[];
1541
1399
  }>, "many">;
1542
1400
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -1679,19 +1537,12 @@ export declare const RoomSchema: z.ZodObject<{
1679
1537
  createdAt: Date;
1680
1538
  updatedAt: Date;
1681
1539
  deletedAt: Date | null;
1682
- customFieldId: string;
1683
- upload: {
1684
- id: string;
1685
- createdAt: Date;
1686
- updatedAt: Date;
1687
- deletedAt: Date | null;
1688
- fileName: string;
1689
- fileKey: string;
1690
- bucketName: string;
1691
- fileSize: number;
1692
- fileUrl: string | null;
1693
- status?: string | undefined;
1694
- };
1540
+ fileName: string;
1541
+ fileKey: string;
1542
+ bucketName: string;
1543
+ fileSize: number;
1544
+ fileUrl: string | null;
1545
+ status?: string | undefined;
1695
1546
  }[];
1696
1547
  }[];
1697
1548
  company: {
@@ -1782,19 +1633,12 @@ export declare const RoomSchema: z.ZodObject<{
1782
1633
  createdAt: Date;
1783
1634
  updatedAt: Date;
1784
1635
  deletedAt: Date | null;
1785
- customFieldId: string;
1786
- upload: {
1787
- id: string;
1788
- createdAt: Date;
1789
- updatedAt: Date;
1790
- deletedAt: Date | null;
1791
- fileName: string;
1792
- fileKey: string;
1793
- bucketName: string;
1794
- fileSize: number;
1795
- fileUrl: string | null;
1796
- status?: string | undefined;
1797
- };
1636
+ fileName: string;
1637
+ fileKey: string;
1638
+ bucketName: string;
1639
+ fileSize: number;
1640
+ fileUrl: string | null;
1641
+ status?: string | undefined;
1798
1642
  }[];
1799
1643
  }[];
1800
1644
  company: {
@@ -1898,19 +1742,12 @@ export declare const RoomSchema: z.ZodObject<{
1898
1742
  createdAt: Date;
1899
1743
  updatedAt: Date;
1900
1744
  deletedAt: Date | null;
1901
- customFieldId: string;
1902
- upload: {
1903
- id: string;
1904
- createdAt: Date;
1905
- updatedAt: Date;
1906
- deletedAt: Date | null;
1907
- fileName: string;
1908
- fileKey: string;
1909
- bucketName: string;
1910
- fileSize: number;
1911
- fileUrl: string | null;
1912
- status?: string | undefined;
1913
- };
1745
+ fileName: string;
1746
+ fileKey: string;
1747
+ bucketName: string;
1748
+ fileSize: number;
1749
+ fileUrl: string | null;
1750
+ status?: string | undefined;
1914
1751
  }[];
1915
1752
  }[];
1916
1753
  company: {
@@ -2016,19 +1853,12 @@ export declare const RoomSchema: z.ZodObject<{
2016
1853
  createdAt: Date;
2017
1854
  updatedAt: Date;
2018
1855
  deletedAt: Date | null;
2019
- customFieldId: string;
2020
- upload: {
2021
- id: string;
2022
- createdAt: Date;
2023
- updatedAt: Date;
2024
- deletedAt: Date | null;
2025
- fileName: string;
2026
- fileKey: string;
2027
- bucketName: string;
2028
- fileSize: number;
2029
- fileUrl: string | null;
2030
- status?: string | undefined;
2031
- };
1856
+ fileName: string;
1857
+ fileKey: string;
1858
+ bucketName: string;
1859
+ fileSize: number;
1860
+ fileUrl: string | null;
1861
+ status?: string | undefined;
2032
1862
  }[];
2033
1863
  }[];
2034
1864
  company: {
@@ -3112,19 +2942,12 @@ export declare const RoomSchema: z.ZodObject<{
3112
2942
  createdAt: Date;
3113
2943
  updatedAt: Date;
3114
2944
  deletedAt: Date | null;
3115
- customFieldId: string;
3116
- upload: {
3117
- id: string;
3118
- createdAt: Date;
3119
- updatedAt: Date;
3120
- deletedAt: Date | null;
3121
- fileName: string;
3122
- fileKey: string;
3123
- bucketName: string;
3124
- fileSize: number;
3125
- fileUrl: string | null;
3126
- status?: string | undefined;
3127
- };
2945
+ fileName: string;
2946
+ fileKey: string;
2947
+ bucketName: string;
2948
+ fileSize: number;
2949
+ fileUrl: string | null;
2950
+ status?: string | undefined;
3128
2951
  }[];
3129
2952
  }[];
3130
2953
  company: {
@@ -3432,19 +3255,12 @@ export declare const RoomSchema: z.ZodObject<{
3432
3255
  createdAt: Date;
3433
3256
  updatedAt: Date;
3434
3257
  deletedAt: Date | null;
3435
- customFieldId: string;
3436
- upload: {
3437
- id: string;
3438
- createdAt: Date;
3439
- updatedAt: Date;
3440
- deletedAt: Date | null;
3441
- fileName: string;
3442
- fileKey: string;
3443
- bucketName: string;
3444
- fileSize: number;
3445
- fileUrl: string | null;
3446
- status?: string | undefined;
3447
- };
3258
+ fileName: string;
3259
+ fileKey: string;
3260
+ bucketName: string;
3261
+ fileSize: number;
3262
+ fileUrl: string | null;
3263
+ status?: string | undefined;
3448
3264
  }[];
3449
3265
  }[];
3450
3266
  company: {
@@ -3996,77 +3812,34 @@ export declare const MessageSchema: z.ZodObject<{
3996
3812
  createdAt: z.ZodDate;
3997
3813
  updatedAt: z.ZodDate;
3998
3814
  deletedAt: z.ZodNullable<z.ZodDate>;
3999
- customFieldId: z.ZodString;
4000
- upload: z.ZodObject<{
4001
- id: z.ZodString;
4002
- createdAt: z.ZodDate;
4003
- updatedAt: z.ZodDate;
4004
- deletedAt: z.ZodNullable<z.ZodDate>;
4005
- bucketName: z.ZodString;
4006
- fileName: z.ZodString;
4007
- fileSize: z.ZodNumber;
4008
- fileKey: z.ZodString;
4009
- fileUrl: z.ZodNullable<z.ZodString>;
4010
- status: z.ZodOptional<z.ZodString>;
4011
- }, "strip", z.ZodTypeAny, {
4012
- id: string;
4013
- createdAt: Date;
4014
- updatedAt: Date;
4015
- deletedAt: Date | null;
4016
- fileName: string;
4017
- fileKey: string;
4018
- bucketName: string;
4019
- fileSize: number;
4020
- fileUrl: string | null;
4021
- status?: string | undefined;
4022
- }, {
4023
- id: string;
4024
- createdAt: Date;
4025
- updatedAt: Date;
4026
- deletedAt: Date | null;
4027
- fileName: string;
4028
- fileKey: string;
4029
- bucketName: string;
4030
- fileSize: number;
4031
- fileUrl: string | null;
4032
- status?: string | undefined;
4033
- }>;
3815
+ bucketName: z.ZodString;
3816
+ fileName: z.ZodString;
3817
+ fileSize: z.ZodNumber;
3818
+ fileKey: z.ZodString;
3819
+ fileUrl: z.ZodNullable<z.ZodString>;
3820
+ status: z.ZodOptional<z.ZodString>;
4034
3821
  }, "strip", z.ZodTypeAny, {
4035
3822
  id: string;
4036
3823
  createdAt: Date;
4037
3824
  updatedAt: Date;
4038
3825
  deletedAt: Date | null;
4039
- customFieldId: string;
4040
- upload: {
4041
- id: string;
4042
- createdAt: Date;
4043
- updatedAt: Date;
4044
- deletedAt: Date | null;
4045
- fileName: string;
4046
- fileKey: string;
4047
- bucketName: string;
4048
- fileSize: number;
4049
- fileUrl: string | null;
4050
- status?: string | undefined;
4051
- };
3826
+ fileName: string;
3827
+ fileKey: string;
3828
+ bucketName: string;
3829
+ fileSize: number;
3830
+ fileUrl: string | null;
3831
+ status?: string | undefined;
4052
3832
  }, {
4053
3833
  id: string;
4054
3834
  createdAt: Date;
4055
3835
  updatedAt: Date;
4056
3836
  deletedAt: Date | null;
4057
- customFieldId: string;
4058
- upload: {
4059
- id: string;
4060
- createdAt: Date;
4061
- updatedAt: Date;
4062
- deletedAt: Date | null;
4063
- fileName: string;
4064
- fileKey: string;
4065
- bucketName: string;
4066
- fileSize: number;
4067
- fileUrl: string | null;
4068
- status?: string | undefined;
4069
- };
3837
+ fileName: string;
3838
+ fileKey: string;
3839
+ bucketName: string;
3840
+ fileSize: number;
3841
+ fileUrl: string | null;
3842
+ status?: string | undefined;
4070
3843
  }>, "many">;
4071
3844
  }, "strip", z.ZodTypeAny, {
4072
3845
  id: string;
@@ -4096,19 +3869,12 @@ export declare const MessageSchema: z.ZodObject<{
4096
3869
  createdAt: Date;
4097
3870
  updatedAt: Date;
4098
3871
  deletedAt: Date | null;
4099
- customFieldId: string;
4100
- upload: {
4101
- id: string;
4102
- createdAt: Date;
4103
- updatedAt: Date;
4104
- deletedAt: Date | null;
4105
- fileName: string;
4106
- fileKey: string;
4107
- bucketName: string;
4108
- fileSize: number;
4109
- fileUrl: string | null;
4110
- status?: string | undefined;
4111
- };
3872
+ fileName: string;
3873
+ fileKey: string;
3874
+ bucketName: string;
3875
+ fileSize: number;
3876
+ fileUrl: string | null;
3877
+ status?: string | undefined;
4112
3878
  }[];
4113
3879
  }, {
4114
3880
  id: string;
@@ -4138,19 +3904,12 @@ export declare const MessageSchema: z.ZodObject<{
4138
3904
  createdAt: Date;
4139
3905
  updatedAt: Date;
4140
3906
  deletedAt: Date | null;
4141
- customFieldId: string;
4142
- upload: {
4143
- id: string;
4144
- createdAt: Date;
4145
- updatedAt: Date;
4146
- deletedAt: Date | null;
4147
- fileName: string;
4148
- fileKey: string;
4149
- bucketName: string;
4150
- fileSize: number;
4151
- fileUrl: string | null;
4152
- status?: string | undefined;
4153
- };
3907
+ fileName: string;
3908
+ fileKey: string;
3909
+ bucketName: string;
3910
+ fileSize: number;
3911
+ fileUrl: string | null;
3912
+ status?: string | undefined;
4154
3913
  }[];
4155
3914
  }>, "many">;
4156
3915
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -4293,19 +4052,12 @@ export declare const MessageSchema: z.ZodObject<{
4293
4052
  createdAt: Date;
4294
4053
  updatedAt: Date;
4295
4054
  deletedAt: Date | null;
4296
- customFieldId: string;
4297
- upload: {
4298
- id: string;
4299
- createdAt: Date;
4300
- updatedAt: Date;
4301
- deletedAt: Date | null;
4302
- fileName: string;
4303
- fileKey: string;
4304
- bucketName: string;
4305
- fileSize: number;
4306
- fileUrl: string | null;
4307
- status?: string | undefined;
4308
- };
4055
+ fileName: string;
4056
+ fileKey: string;
4057
+ bucketName: string;
4058
+ fileSize: number;
4059
+ fileUrl: string | null;
4060
+ status?: string | undefined;
4309
4061
  }[];
4310
4062
  }[];
4311
4063
  company: {
@@ -4396,19 +4148,12 @@ export declare const MessageSchema: z.ZodObject<{
4396
4148
  createdAt: Date;
4397
4149
  updatedAt: Date;
4398
4150
  deletedAt: Date | null;
4399
- customFieldId: string;
4400
- upload: {
4401
- id: string;
4402
- createdAt: Date;
4403
- updatedAt: Date;
4404
- deletedAt: Date | null;
4405
- fileName: string;
4406
- fileKey: string;
4407
- bucketName: string;
4408
- fileSize: number;
4409
- fileUrl: string | null;
4410
- status?: string | undefined;
4411
- };
4151
+ fileName: string;
4152
+ fileKey: string;
4153
+ bucketName: string;
4154
+ fileSize: number;
4155
+ fileUrl: string | null;
4156
+ status?: string | undefined;
4412
4157
  }[];
4413
4158
  }[];
4414
4159
  company: {
@@ -4512,19 +4257,12 @@ export declare const MessageSchema: z.ZodObject<{
4512
4257
  createdAt: Date;
4513
4258
  updatedAt: Date;
4514
4259
  deletedAt: Date | null;
4515
- customFieldId: string;
4516
- upload: {
4517
- id: string;
4518
- createdAt: Date;
4519
- updatedAt: Date;
4520
- deletedAt: Date | null;
4521
- fileName: string;
4522
- fileKey: string;
4523
- bucketName: string;
4524
- fileSize: number;
4525
- fileUrl: string | null;
4526
- status?: string | undefined;
4527
- };
4260
+ fileName: string;
4261
+ fileKey: string;
4262
+ bucketName: string;
4263
+ fileSize: number;
4264
+ fileUrl: string | null;
4265
+ status?: string | undefined;
4528
4266
  }[];
4529
4267
  }[];
4530
4268
  company: {
@@ -4630,19 +4368,12 @@ export declare const MessageSchema: z.ZodObject<{
4630
4368
  createdAt: Date;
4631
4369
  updatedAt: Date;
4632
4370
  deletedAt: Date | null;
4633
- customFieldId: string;
4634
- upload: {
4635
- id: string;
4636
- createdAt: Date;
4637
- updatedAt: Date;
4638
- deletedAt: Date | null;
4639
- fileName: string;
4640
- fileKey: string;
4641
- bucketName: string;
4642
- fileSize: number;
4643
- fileUrl: string | null;
4644
- status?: string | undefined;
4645
- };
4371
+ fileName: string;
4372
+ fileKey: string;
4373
+ bucketName: string;
4374
+ fileSize: number;
4375
+ fileUrl: string | null;
4376
+ status?: string | undefined;
4646
4377
  }[];
4647
4378
  }[];
4648
4379
  company: {
@@ -5726,19 +5457,12 @@ export declare const MessageSchema: z.ZodObject<{
5726
5457
  createdAt: Date;
5727
5458
  updatedAt: Date;
5728
5459
  deletedAt: Date | null;
5729
- customFieldId: string;
5730
- upload: {
5731
- id: string;
5732
- createdAt: Date;
5733
- updatedAt: Date;
5734
- deletedAt: Date | null;
5735
- fileName: string;
5736
- fileKey: string;
5737
- bucketName: string;
5738
- fileSize: number;
5739
- fileUrl: string | null;
5740
- status?: string | undefined;
5741
- };
5460
+ fileName: string;
5461
+ fileKey: string;
5462
+ bucketName: string;
5463
+ fileSize: number;
5464
+ fileUrl: string | null;
5465
+ status?: string | undefined;
5742
5466
  }[];
5743
5467
  }[];
5744
5468
  company: {
@@ -6046,19 +5770,12 @@ export declare const MessageSchema: z.ZodObject<{
6046
5770
  createdAt: Date;
6047
5771
  updatedAt: Date;
6048
5772
  deletedAt: Date | null;
6049
- customFieldId: string;
6050
- upload: {
6051
- id: string;
6052
- createdAt: Date;
6053
- updatedAt: Date;
6054
- deletedAt: Date | null;
6055
- fileName: string;
6056
- fileKey: string;
6057
- bucketName: string;
6058
- fileSize: number;
6059
- fileUrl: string | null;
6060
- status?: string | undefined;
6061
- };
5773
+ fileName: string;
5774
+ fileKey: string;
5775
+ bucketName: string;
5776
+ fileSize: number;
5777
+ fileUrl: string | null;
5778
+ status?: string | undefined;
6062
5779
  }[];
6063
5780
  }[];
6064
5781
  company: {
@@ -6962,18 +6679,6 @@ export declare const MessageSchema: z.ZodObject<{
6962
6679
  };
6963
6680
  };
6964
6681
  platformId: string;
6965
- upload: {
6966
- id: string;
6967
- createdAt: Date;
6968
- updatedAt: Date;
6969
- deletedAt: Date | null;
6970
- fileName: string;
6971
- fileKey: string;
6972
- bucketName: string;
6973
- fileSize: number;
6974
- fileUrl: string | null;
6975
- status?: string | undefined;
6976
- };
6977
6682
  assignee: {
6978
6683
  id: string;
6979
6684
  address: string | null;
@@ -7129,19 +6834,12 @@ export declare const MessageSchema: z.ZodObject<{
7129
6834
  createdAt: Date;
7130
6835
  updatedAt: Date;
7131
6836
  deletedAt: Date | null;
7132
- customFieldId: string;
7133
- upload: {
7134
- id: string;
7135
- createdAt: Date;
7136
- updatedAt: Date;
7137
- deletedAt: Date | null;
7138
- fileName: string;
7139
- fileKey: string;
7140
- bucketName: string;
7141
- fileSize: number;
7142
- fileUrl: string | null;
7143
- status?: string | undefined;
7144
- };
6837
+ fileName: string;
6838
+ fileKey: string;
6839
+ bucketName: string;
6840
+ fileSize: number;
6841
+ fileUrl: string | null;
6842
+ status?: string | undefined;
7145
6843
  }[];
7146
6844
  }[];
7147
6845
  company: {
@@ -7345,6 +7043,18 @@ export declare const MessageSchema: z.ZodObject<{
7345
7043
  } | undefined;
7346
7044
  } | undefined;
7347
7045
  };
7046
+ upload: {
7047
+ id: string;
7048
+ createdAt: Date;
7049
+ updatedAt: Date;
7050
+ deletedAt: Date | null;
7051
+ fileName: string;
7052
+ fileKey: string;
7053
+ bucketName: string;
7054
+ fileSize: number;
7055
+ fileUrl: string | null;
7056
+ status?: string | undefined;
7057
+ };
7348
7058
  sender: {
7349
7059
  id: string;
7350
7060
  address: string | null;
@@ -7445,18 +7155,6 @@ export declare const MessageSchema: z.ZodObject<{
7445
7155
  };
7446
7156
  };
7447
7157
  platformId: string;
7448
- upload: {
7449
- id: string;
7450
- createdAt: Date;
7451
- updatedAt: Date;
7452
- deletedAt: Date | null;
7453
- fileName: string;
7454
- fileKey: string;
7455
- bucketName: string;
7456
- fileSize: number;
7457
- fileUrl: string | null;
7458
- status?: string | undefined;
7459
- };
7460
7158
  assignee: {
7461
7159
  id: string;
7462
7160
  address: string | null;
@@ -7612,19 +7310,12 @@ export declare const MessageSchema: z.ZodObject<{
7612
7310
  createdAt: Date;
7613
7311
  updatedAt: Date;
7614
7312
  deletedAt: Date | null;
7615
- customFieldId: string;
7616
- upload: {
7617
- id: string;
7618
- createdAt: Date;
7619
- updatedAt: Date;
7620
- deletedAt: Date | null;
7621
- fileName: string;
7622
- fileKey: string;
7623
- bucketName: string;
7624
- fileSize: number;
7625
- fileUrl: string | null;
7626
- status?: string | undefined;
7627
- };
7313
+ fileName: string;
7314
+ fileKey: string;
7315
+ bucketName: string;
7316
+ fileSize: number;
7317
+ fileUrl: string | null;
7318
+ status?: string | undefined;
7628
7319
  }[];
7629
7320
  }[];
7630
7321
  company: {
@@ -7828,6 +7519,18 @@ export declare const MessageSchema: z.ZodObject<{
7828
7519
  } | undefined;
7829
7520
  } | undefined;
7830
7521
  };
7522
+ upload: {
7523
+ id: string;
7524
+ createdAt: Date;
7525
+ updatedAt: Date;
7526
+ deletedAt: Date | null;
7527
+ fileName: string;
7528
+ fileKey: string;
7529
+ bucketName: string;
7530
+ fileSize: number;
7531
+ fileUrl: string | null;
7532
+ status?: string | undefined;
7533
+ };
7831
7534
  sender: {
7832
7535
  id: string;
7833
7536
  address: string | null;