@kl1/contracts 1.0.53 → 1.0.54

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 (40) hide show
  1. package/dist/index.js +89 -10
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +88 -10
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/chat/index.d.ts +1058 -1058
  6. package/dist/src/chat/schema.d.ts +180 -180
  7. package/dist/src/chat/validation.d.ts +130 -130
  8. package/dist/src/comment/index.d.ts +3026 -1010
  9. package/dist/src/comment/index.d.ts.map +1 -1
  10. package/dist/src/comment/schema.d.ts +780 -188
  11. package/dist/src/comment/schema.d.ts.map +1 -1
  12. package/dist/src/contact/index.d.ts +296 -296
  13. package/dist/src/contact/schema.d.ts +20 -20
  14. package/dist/src/contact/validation.d.ts +150 -150
  15. package/dist/src/contract.d.ts +8509 -3213
  16. package/dist/src/contract.d.ts.map +1 -1
  17. package/dist/src/cx-log/index.d.ts +240 -240
  18. package/dist/src/cx-log/schema.d.ts +180 -180
  19. package/dist/src/index.d.ts +1 -0
  20. package/dist/src/index.d.ts.map +1 -1
  21. package/dist/src/instagram/index.d.ts +100 -100
  22. package/dist/src/messenger/index.d.ts +100 -100
  23. package/dist/src/telephony-cdr/index.d.ts +180 -180
  24. package/dist/src/telephony-cdr/schema.d.ts +40 -40
  25. package/dist/src/ticket/index.d.ts +4128 -1040
  26. package/dist/src/ticket/index.d.ts.map +1 -1
  27. package/dist/src/ticket/schema.d.ts +512 -40
  28. package/dist/src/ticket/schema.d.ts.map +1 -1
  29. package/dist/src/{mail/mail-server.d.ts → upload/index.d.ts} +72 -91
  30. package/dist/src/upload/index.d.ts.map +1 -0
  31. package/dist/src/upload/schema.d.ts +14 -0
  32. package/dist/src/upload/schema.d.ts.map +1 -1
  33. package/dist/src/upload/validation.d.ts +2 -0
  34. package/dist/src/upload/validation.d.ts.map +1 -0
  35. package/package.json +1 -1
  36. package/dist/src/app/index.d.ts +0 -17
  37. package/dist/src/app/index.d.ts.map +0 -1
  38. package/dist/src/mail/mail-server.d.ts.map +0 -1
  39. package/dist/src/platform-contact/schema.d.ts +0 -30
  40. package/dist/src/platform-contact/schema.d.ts.map +0 -1
@@ -659,16 +659,6 @@ export declare const PlatformContactSchema: z.ZodObject<{
659
659
  };
660
660
  }[];
661
661
  }[];
662
- notes: string | null;
663
- contactProfile: string | null;
664
- socialProfileUrl: string | null;
665
- tags: {
666
- id: string;
667
- name: string;
668
- createdAt: Date;
669
- updatedAt: Date;
670
- deletedAt: Date | null;
671
- }[];
672
662
  company: {
673
663
  id: string;
674
664
  createdAt: Date;
@@ -679,6 +669,16 @@ export declare const PlatformContactSchema: z.ZodObject<{
679
669
  phone?: string | null | undefined;
680
670
  industry?: string | null | undefined;
681
671
  } | null;
672
+ notes: string | null;
673
+ contactProfile: string | null;
674
+ socialProfileUrl: string | null;
675
+ tags: {
676
+ id: string;
677
+ name: string;
678
+ createdAt: Date;
679
+ updatedAt: Date;
680
+ deletedAt: Date | null;
681
+ }[];
682
682
  contactEmails: {
683
683
  id: string;
684
684
  isPrimary: boolean;
@@ -762,16 +762,6 @@ export declare const PlatformContactSchema: z.ZodObject<{
762
762
  };
763
763
  }[];
764
764
  }[];
765
- notes: string | null;
766
- contactProfile: string | null;
767
- socialProfileUrl: string | null;
768
- tags: {
769
- id: string;
770
- name: string;
771
- createdAt: Date;
772
- updatedAt: Date;
773
- deletedAt: Date | null;
774
- }[];
775
765
  company: {
776
766
  id: string;
777
767
  createdAt: Date;
@@ -782,6 +772,16 @@ export declare const PlatformContactSchema: z.ZodObject<{
782
772
  phone?: string | null | undefined;
783
773
  industry?: string | null | undefined;
784
774
  } | null;
775
+ notes: string | null;
776
+ contactProfile: string | null;
777
+ socialProfileUrl: string | null;
778
+ tags: {
779
+ id: string;
780
+ name: string;
781
+ createdAt: Date;
782
+ updatedAt: Date;
783
+ deletedAt: Date | null;
784
+ }[];
785
785
  contactEmails: {
786
786
  id: string;
787
787
  isPrimary: boolean;
@@ -879,16 +879,6 @@ export declare const PlatformContactSchema: z.ZodObject<{
879
879
  };
880
880
  }[];
881
881
  }[];
882
- notes: string | null;
883
- contactProfile: string | null;
884
- socialProfileUrl: string | null;
885
- tags: {
886
- id: string;
887
- name: string;
888
- createdAt: Date;
889
- updatedAt: Date;
890
- deletedAt: Date | null;
891
- }[];
892
882
  company: {
893
883
  id: string;
894
884
  createdAt: Date;
@@ -899,6 +889,16 @@ export declare const PlatformContactSchema: z.ZodObject<{
899
889
  phone?: string | null | undefined;
900
890
  industry?: string | null | undefined;
901
891
  } | null;
892
+ notes: string | null;
893
+ contactProfile: string | null;
894
+ socialProfileUrl: string | null;
895
+ tags: {
896
+ id: string;
897
+ name: string;
898
+ createdAt: Date;
899
+ updatedAt: Date;
900
+ deletedAt: Date | null;
901
+ }[];
902
902
  contactEmails: {
903
903
  id: string;
904
904
  isPrimary: boolean;
@@ -997,16 +997,6 @@ export declare const PlatformContactSchema: z.ZodObject<{
997
997
  };
998
998
  }[];
999
999
  }[];
1000
- notes: string | null;
1001
- contactProfile: string | null;
1002
- socialProfileUrl: string | null;
1003
- tags: {
1004
- id: string;
1005
- name: string;
1006
- createdAt: Date;
1007
- updatedAt: Date;
1008
- deletedAt: Date | null;
1009
- }[];
1010
1000
  company: {
1011
1001
  id: string;
1012
1002
  createdAt: Date;
@@ -1017,6 +1007,16 @@ export declare const PlatformContactSchema: z.ZodObject<{
1017
1007
  phone?: string | null | undefined;
1018
1008
  industry?: string | null | undefined;
1019
1009
  } | null;
1010
+ notes: string | null;
1011
+ contactProfile: string | null;
1012
+ socialProfileUrl: string | null;
1013
+ tags: {
1014
+ id: string;
1015
+ name: string;
1016
+ createdAt: Date;
1017
+ updatedAt: Date;
1018
+ deletedAt: Date | null;
1019
+ }[];
1020
1020
  contactEmails: {
1021
1021
  id: string;
1022
1022
  isPrimary: boolean;
@@ -1694,16 +1694,6 @@ export declare const RoomSchema: z.ZodObject<{
1694
1694
  };
1695
1695
  }[];
1696
1696
  }[];
1697
- notes: string | null;
1698
- contactProfile: string | null;
1699
- socialProfileUrl: string | null;
1700
- tags: {
1701
- id: string;
1702
- name: string;
1703
- createdAt: Date;
1704
- updatedAt: Date;
1705
- deletedAt: Date | null;
1706
- }[];
1707
1697
  company: {
1708
1698
  id: string;
1709
1699
  createdAt: Date;
@@ -1714,6 +1704,16 @@ export declare const RoomSchema: z.ZodObject<{
1714
1704
  phone?: string | null | undefined;
1715
1705
  industry?: string | null | undefined;
1716
1706
  } | null;
1707
+ notes: string | null;
1708
+ contactProfile: string | null;
1709
+ socialProfileUrl: string | null;
1710
+ tags: {
1711
+ id: string;
1712
+ name: string;
1713
+ createdAt: Date;
1714
+ updatedAt: Date;
1715
+ deletedAt: Date | null;
1716
+ }[];
1717
1717
  contactEmails: {
1718
1718
  id: string;
1719
1719
  isPrimary: boolean;
@@ -1797,16 +1797,6 @@ export declare const RoomSchema: z.ZodObject<{
1797
1797
  };
1798
1798
  }[];
1799
1799
  }[];
1800
- notes: string | null;
1801
- contactProfile: string | null;
1802
- socialProfileUrl: string | null;
1803
- tags: {
1804
- id: string;
1805
- name: string;
1806
- createdAt: Date;
1807
- updatedAt: Date;
1808
- deletedAt: Date | null;
1809
- }[];
1810
1800
  company: {
1811
1801
  id: string;
1812
1802
  createdAt: Date;
@@ -1817,6 +1807,16 @@ export declare const RoomSchema: z.ZodObject<{
1817
1807
  phone?: string | null | undefined;
1818
1808
  industry?: string | null | undefined;
1819
1809
  } | null;
1810
+ notes: string | null;
1811
+ contactProfile: string | null;
1812
+ socialProfileUrl: string | null;
1813
+ tags: {
1814
+ id: string;
1815
+ name: string;
1816
+ createdAt: Date;
1817
+ updatedAt: Date;
1818
+ deletedAt: Date | null;
1819
+ }[];
1820
1820
  contactEmails: {
1821
1821
  id: string;
1822
1822
  isPrimary: boolean;
@@ -1914,16 +1914,6 @@ export declare const RoomSchema: z.ZodObject<{
1914
1914
  };
1915
1915
  }[];
1916
1916
  }[];
1917
- notes: string | null;
1918
- contactProfile: string | null;
1919
- socialProfileUrl: string | null;
1920
- tags: {
1921
- id: string;
1922
- name: string;
1923
- createdAt: Date;
1924
- updatedAt: Date;
1925
- deletedAt: Date | null;
1926
- }[];
1927
1917
  company: {
1928
1918
  id: string;
1929
1919
  createdAt: Date;
@@ -1934,6 +1924,16 @@ export declare const RoomSchema: z.ZodObject<{
1934
1924
  phone?: string | null | undefined;
1935
1925
  industry?: string | null | undefined;
1936
1926
  } | null;
1927
+ notes: string | null;
1928
+ contactProfile: string | null;
1929
+ socialProfileUrl: string | null;
1930
+ tags: {
1931
+ id: string;
1932
+ name: string;
1933
+ createdAt: Date;
1934
+ updatedAt: Date;
1935
+ deletedAt: Date | null;
1936
+ }[];
1937
1937
  contactEmails: {
1938
1938
  id: string;
1939
1939
  isPrimary: boolean;
@@ -2032,16 +2032,6 @@ export declare const RoomSchema: z.ZodObject<{
2032
2032
  };
2033
2033
  }[];
2034
2034
  }[];
2035
- notes: string | null;
2036
- contactProfile: string | null;
2037
- socialProfileUrl: string | null;
2038
- tags: {
2039
- id: string;
2040
- name: string;
2041
- createdAt: Date;
2042
- updatedAt: Date;
2043
- deletedAt: Date | null;
2044
- }[];
2045
2035
  company: {
2046
2036
  id: string;
2047
2037
  createdAt: Date;
@@ -2052,6 +2042,16 @@ export declare const RoomSchema: z.ZodObject<{
2052
2042
  phone?: string | null | undefined;
2053
2043
  industry?: string | null | undefined;
2054
2044
  } | null;
2045
+ notes: string | null;
2046
+ contactProfile: string | null;
2047
+ socialProfileUrl: string | null;
2048
+ tags: {
2049
+ id: string;
2050
+ name: string;
2051
+ createdAt: Date;
2052
+ updatedAt: Date;
2053
+ deletedAt: Date | null;
2054
+ }[];
2055
2055
  contactEmails: {
2056
2056
  id: string;
2057
2057
  isPrimary: boolean;
@@ -3126,16 +3126,6 @@ export declare const RoomSchema: z.ZodObject<{
3126
3126
  };
3127
3127
  }[];
3128
3128
  }[];
3129
- notes: string | null;
3130
- contactProfile: string | null;
3131
- socialProfileUrl: string | null;
3132
- tags: {
3133
- id: string;
3134
- name: string;
3135
- createdAt: Date;
3136
- updatedAt: Date;
3137
- deletedAt: Date | null;
3138
- }[];
3139
3129
  company: {
3140
3130
  id: string;
3141
3131
  createdAt: Date;
@@ -3146,6 +3136,16 @@ export declare const RoomSchema: z.ZodObject<{
3146
3136
  phone?: string | null | undefined;
3147
3137
  industry?: string | null | undefined;
3148
3138
  } | null;
3139
+ notes: string | null;
3140
+ contactProfile: string | null;
3141
+ socialProfileUrl: string | null;
3142
+ tags: {
3143
+ id: string;
3144
+ name: string;
3145
+ createdAt: Date;
3146
+ updatedAt: Date;
3147
+ deletedAt: Date | null;
3148
+ }[];
3149
3149
  contactEmails: {
3150
3150
  id: string;
3151
3151
  isPrimary: boolean;
@@ -3445,16 +3445,6 @@ export declare const RoomSchema: z.ZodObject<{
3445
3445
  };
3446
3446
  }[];
3447
3447
  }[];
3448
- notes: string | null;
3449
- contactProfile: string | null;
3450
- socialProfileUrl: string | null;
3451
- tags: {
3452
- id: string;
3453
- name: string;
3454
- createdAt: Date;
3455
- updatedAt: Date;
3456
- deletedAt: Date | null;
3457
- }[];
3458
3448
  company: {
3459
3449
  id: string;
3460
3450
  createdAt: Date;
@@ -3465,6 +3455,16 @@ export declare const RoomSchema: z.ZodObject<{
3465
3455
  phone?: string | null | undefined;
3466
3456
  industry?: string | null | undefined;
3467
3457
  } | null;
3458
+ notes: string | null;
3459
+ contactProfile: string | null;
3460
+ socialProfileUrl: string | null;
3461
+ tags: {
3462
+ id: string;
3463
+ name: string;
3464
+ createdAt: Date;
3465
+ updatedAt: Date;
3466
+ deletedAt: Date | null;
3467
+ }[];
3468
3468
  contactEmails: {
3469
3469
  id: string;
3470
3470
  isPrimary: boolean;
@@ -4304,16 +4304,6 @@ export declare const MessageSchema: z.ZodObject<{
4304
4304
  };
4305
4305
  }[];
4306
4306
  }[];
4307
- notes: string | null;
4308
- contactProfile: string | null;
4309
- socialProfileUrl: string | null;
4310
- tags: {
4311
- id: string;
4312
- name: string;
4313
- createdAt: Date;
4314
- updatedAt: Date;
4315
- deletedAt: Date | null;
4316
- }[];
4317
4307
  company: {
4318
4308
  id: string;
4319
4309
  createdAt: Date;
@@ -4324,6 +4314,16 @@ export declare const MessageSchema: z.ZodObject<{
4324
4314
  phone?: string | null | undefined;
4325
4315
  industry?: string | null | undefined;
4326
4316
  } | null;
4317
+ notes: string | null;
4318
+ contactProfile: string | null;
4319
+ socialProfileUrl: string | null;
4320
+ tags: {
4321
+ id: string;
4322
+ name: string;
4323
+ createdAt: Date;
4324
+ updatedAt: Date;
4325
+ deletedAt: Date | null;
4326
+ }[];
4327
4327
  contactEmails: {
4328
4328
  id: string;
4329
4329
  isPrimary: boolean;
@@ -4407,16 +4407,6 @@ export declare const MessageSchema: z.ZodObject<{
4407
4407
  };
4408
4408
  }[];
4409
4409
  }[];
4410
- notes: string | null;
4411
- contactProfile: string | null;
4412
- socialProfileUrl: string | null;
4413
- tags: {
4414
- id: string;
4415
- name: string;
4416
- createdAt: Date;
4417
- updatedAt: Date;
4418
- deletedAt: Date | null;
4419
- }[];
4420
4410
  company: {
4421
4411
  id: string;
4422
4412
  createdAt: Date;
@@ -4427,6 +4417,16 @@ export declare const MessageSchema: z.ZodObject<{
4427
4417
  phone?: string | null | undefined;
4428
4418
  industry?: string | null | undefined;
4429
4419
  } | null;
4420
+ notes: string | null;
4421
+ contactProfile: string | null;
4422
+ socialProfileUrl: string | null;
4423
+ tags: {
4424
+ id: string;
4425
+ name: string;
4426
+ createdAt: Date;
4427
+ updatedAt: Date;
4428
+ deletedAt: Date | null;
4429
+ }[];
4430
4430
  contactEmails: {
4431
4431
  id: string;
4432
4432
  isPrimary: boolean;
@@ -4524,16 +4524,6 @@ export declare const MessageSchema: z.ZodObject<{
4524
4524
  };
4525
4525
  }[];
4526
4526
  }[];
4527
- notes: string | null;
4528
- contactProfile: string | null;
4529
- socialProfileUrl: string | null;
4530
- tags: {
4531
- id: string;
4532
- name: string;
4533
- createdAt: Date;
4534
- updatedAt: Date;
4535
- deletedAt: Date | null;
4536
- }[];
4537
4527
  company: {
4538
4528
  id: string;
4539
4529
  createdAt: Date;
@@ -4544,6 +4534,16 @@ export declare const MessageSchema: z.ZodObject<{
4544
4534
  phone?: string | null | undefined;
4545
4535
  industry?: string | null | undefined;
4546
4536
  } | null;
4537
+ notes: string | null;
4538
+ contactProfile: string | null;
4539
+ socialProfileUrl: string | null;
4540
+ tags: {
4541
+ id: string;
4542
+ name: string;
4543
+ createdAt: Date;
4544
+ updatedAt: Date;
4545
+ deletedAt: Date | null;
4546
+ }[];
4547
4547
  contactEmails: {
4548
4548
  id: string;
4549
4549
  isPrimary: boolean;
@@ -4642,16 +4642,6 @@ export declare const MessageSchema: z.ZodObject<{
4642
4642
  };
4643
4643
  }[];
4644
4644
  }[];
4645
- notes: string | null;
4646
- contactProfile: string | null;
4647
- socialProfileUrl: string | null;
4648
- tags: {
4649
- id: string;
4650
- name: string;
4651
- createdAt: Date;
4652
- updatedAt: Date;
4653
- deletedAt: Date | null;
4654
- }[];
4655
4645
  company: {
4656
4646
  id: string;
4657
4647
  createdAt: Date;
@@ -4662,6 +4652,16 @@ export declare const MessageSchema: z.ZodObject<{
4662
4652
  phone?: string | null | undefined;
4663
4653
  industry?: string | null | undefined;
4664
4654
  } | null;
4655
+ notes: string | null;
4656
+ contactProfile: string | null;
4657
+ socialProfileUrl: string | null;
4658
+ tags: {
4659
+ id: string;
4660
+ name: string;
4661
+ createdAt: Date;
4662
+ updatedAt: Date;
4663
+ deletedAt: Date | null;
4664
+ }[];
4665
4665
  contactEmails: {
4666
4666
  id: string;
4667
4667
  isPrimary: boolean;
@@ -5736,16 +5736,6 @@ export declare const MessageSchema: z.ZodObject<{
5736
5736
  };
5737
5737
  }[];
5738
5738
  }[];
5739
- notes: string | null;
5740
- contactProfile: string | null;
5741
- socialProfileUrl: string | null;
5742
- tags: {
5743
- id: string;
5744
- name: string;
5745
- createdAt: Date;
5746
- updatedAt: Date;
5747
- deletedAt: Date | null;
5748
- }[];
5749
5739
  company: {
5750
5740
  id: string;
5751
5741
  createdAt: Date;
@@ -5756,6 +5746,16 @@ export declare const MessageSchema: z.ZodObject<{
5756
5746
  phone?: string | null | undefined;
5757
5747
  industry?: string | null | undefined;
5758
5748
  } | null;
5749
+ notes: string | null;
5750
+ contactProfile: string | null;
5751
+ socialProfileUrl: string | null;
5752
+ tags: {
5753
+ id: string;
5754
+ name: string;
5755
+ createdAt: Date;
5756
+ updatedAt: Date;
5757
+ deletedAt: Date | null;
5758
+ }[];
5759
5759
  contactEmails: {
5760
5760
  id: string;
5761
5761
  isPrimary: boolean;
@@ -6055,16 +6055,6 @@ export declare const MessageSchema: z.ZodObject<{
6055
6055
  };
6056
6056
  }[];
6057
6057
  }[];
6058
- notes: string | null;
6059
- contactProfile: string | null;
6060
- socialProfileUrl: string | null;
6061
- tags: {
6062
- id: string;
6063
- name: string;
6064
- createdAt: Date;
6065
- updatedAt: Date;
6066
- deletedAt: Date | null;
6067
- }[];
6068
6058
  company: {
6069
6059
  id: string;
6070
6060
  createdAt: Date;
@@ -6075,6 +6065,16 @@ export declare const MessageSchema: z.ZodObject<{
6075
6065
  phone?: string | null | undefined;
6076
6066
  industry?: string | null | undefined;
6077
6067
  } | null;
6068
+ notes: string | null;
6069
+ contactProfile: string | null;
6070
+ socialProfileUrl: string | null;
6071
+ tags: {
6072
+ id: string;
6073
+ name: string;
6074
+ createdAt: Date;
6075
+ updatedAt: Date;
6076
+ deletedAt: Date | null;
6077
+ }[];
6078
6078
  contactEmails: {
6079
6079
  id: string;
6080
6080
  isPrimary: boolean;
@@ -7131,16 +7131,6 @@ export declare const MessageSchema: z.ZodObject<{
7131
7131
  };
7132
7132
  }[];
7133
7133
  }[];
7134
- notes: string | null;
7135
- contactProfile: string | null;
7136
- socialProfileUrl: string | null;
7137
- tags: {
7138
- id: string;
7139
- name: string;
7140
- createdAt: Date;
7141
- updatedAt: Date;
7142
- deletedAt: Date | null;
7143
- }[];
7144
7134
  company: {
7145
7135
  id: string;
7146
7136
  createdAt: Date;
@@ -7151,6 +7141,16 @@ export declare const MessageSchema: z.ZodObject<{
7151
7141
  phone?: string | null | undefined;
7152
7142
  industry?: string | null | undefined;
7153
7143
  } | null;
7144
+ notes: string | null;
7145
+ contactProfile: string | null;
7146
+ socialProfileUrl: string | null;
7147
+ tags: {
7148
+ id: string;
7149
+ name: string;
7150
+ createdAt: Date;
7151
+ updatedAt: Date;
7152
+ deletedAt: Date | null;
7153
+ }[];
7154
7154
  contactEmails: {
7155
7155
  id: string;
7156
7156
  isPrimary: boolean;
@@ -7613,16 +7613,6 @@ export declare const MessageSchema: z.ZodObject<{
7613
7613
  };
7614
7614
  }[];
7615
7615
  }[];
7616
- notes: string | null;
7617
- contactProfile: string | null;
7618
- socialProfileUrl: string | null;
7619
- tags: {
7620
- id: string;
7621
- name: string;
7622
- createdAt: Date;
7623
- updatedAt: Date;
7624
- deletedAt: Date | null;
7625
- }[];
7626
7616
  company: {
7627
7617
  id: string;
7628
7618
  createdAt: Date;
@@ -7633,6 +7623,16 @@ export declare const MessageSchema: z.ZodObject<{
7633
7623
  phone?: string | null | undefined;
7634
7624
  industry?: string | null | undefined;
7635
7625
  } | null;
7626
+ notes: string | null;
7627
+ contactProfile: string | null;
7628
+ socialProfileUrl: string | null;
7629
+ tags: {
7630
+ id: string;
7631
+ name: string;
7632
+ createdAt: Date;
7633
+ updatedAt: Date;
7634
+ deletedAt: Date | null;
7635
+ }[];
7636
7636
  contactEmails: {
7637
7637
  id: string;
7638
7638
  isPrimary: boolean;