@kl1/contracts 1.0.52 → 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 (50) hide show
  1. package/dist/index.js +1298 -1133
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +1296 -1133
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/channel/index.d.ts +2273 -1438
  6. package/dist/src/channel/index.d.ts.map +1 -1
  7. package/dist/src/chat/index.d.ts +6678 -1560
  8. package/dist/src/chat/index.d.ts.map +1 -1
  9. package/dist/src/chat/schema.d.ts +180 -180
  10. package/dist/src/chat/validation.d.ts +371 -440
  11. package/dist/src/chat/validation.d.ts.map +1 -1
  12. package/dist/src/comment/index.d.ts +3026 -1010
  13. package/dist/src/comment/index.d.ts.map +1 -1
  14. package/dist/src/comment/schema.d.ts +780 -188
  15. package/dist/src/comment/schema.d.ts.map +1 -1
  16. package/dist/src/contact/index.d.ts +296 -296
  17. package/dist/src/contact/schema.d.ts +20 -20
  18. package/dist/src/contact/validation.d.ts +150 -150
  19. package/dist/src/contract.d.ts +20591 -8915
  20. package/dist/src/contract.d.ts.map +1 -1
  21. package/dist/src/cx-log/index.d.ts +240 -240
  22. package/dist/src/cx-log/schema.d.ts +180 -180
  23. package/dist/src/index.d.ts +2 -0
  24. package/dist/src/index.d.ts.map +1 -1
  25. package/dist/src/instagram/index.d.ts +100 -100
  26. package/dist/src/line/index.d.ts +301 -6
  27. package/dist/src/line/index.d.ts.map +1 -1
  28. package/dist/src/line/schema.d.ts +301 -6
  29. package/dist/src/line/schema.d.ts.map +1 -1
  30. package/dist/src/messenger/index.d.ts +100 -100
  31. package/dist/src/telephony-cdr/index.d.ts +180 -180
  32. package/dist/src/telephony-cdr/schema.d.ts +40 -40
  33. package/dist/src/ticket/index.d.ts +4128 -1040
  34. package/dist/src/ticket/index.d.ts.map +1 -1
  35. package/dist/src/ticket/schema.d.ts +512 -40
  36. package/dist/src/ticket/schema.d.ts.map +1 -1
  37. package/dist/src/{mail/mail-server.d.ts → upload/index.d.ts} +72 -91
  38. package/dist/src/upload/index.d.ts.map +1 -0
  39. package/dist/src/upload/schema.d.ts +14 -0
  40. package/dist/src/upload/schema.d.ts.map +1 -1
  41. package/dist/src/upload/validation.d.ts +2 -0
  42. package/dist/src/upload/validation.d.ts.map +1 -0
  43. package/dist/src/user-presence-status-log/index.d.ts +63 -0
  44. package/dist/src/user-presence-status-log/index.d.ts.map +1 -1
  45. package/package.json +1 -1
  46. package/dist/src/app/index.d.ts +0 -17
  47. package/dist/src/app/index.d.ts.map +0 -1
  48. package/dist/src/mail/mail-server.d.ts.map +0 -1
  49. package/dist/src/platform-contact/schema.d.ts +0 -30
  50. package/dist/src/platform-contact/schema.d.ts.map +0 -1
@@ -678,16 +678,6 @@ export declare const telephonyCdrContract: {
678
678
  };
679
679
  }[];
680
680
  }[];
681
- notes: string | null;
682
- contactProfile: string | null;
683
- socialProfileUrl: string | null;
684
- tags: {
685
- id: string;
686
- name: string;
687
- createdAt: Date;
688
- updatedAt: Date;
689
- deletedAt: Date | null;
690
- }[];
691
681
  company: {
692
682
  id: string;
693
683
  createdAt: Date;
@@ -698,6 +688,16 @@ export declare const telephonyCdrContract: {
698
688
  phone?: string | null | undefined;
699
689
  industry?: string | null | undefined;
700
690
  } | null;
691
+ notes: string | null;
692
+ contactProfile: string | null;
693
+ socialProfileUrl: string | null;
694
+ tags: {
695
+ id: string;
696
+ name: string;
697
+ createdAt: Date;
698
+ updatedAt: Date;
699
+ deletedAt: Date | null;
700
+ }[];
701
701
  contactEmails: {
702
702
  id: string;
703
703
  isPrimary: boolean;
@@ -781,16 +781,6 @@ export declare const telephonyCdrContract: {
781
781
  };
782
782
  }[];
783
783
  }[];
784
- notes: string | null;
785
- contactProfile: string | null;
786
- socialProfileUrl: string | null;
787
- tags: {
788
- id: string;
789
- name: string;
790
- createdAt: Date;
791
- updatedAt: Date;
792
- deletedAt: Date | null;
793
- }[];
794
784
  company: {
795
785
  id: string;
796
786
  createdAt: Date;
@@ -801,6 +791,16 @@ export declare const telephonyCdrContract: {
801
791
  phone?: string | null | undefined;
802
792
  industry?: string | null | undefined;
803
793
  } | null;
794
+ notes: string | null;
795
+ contactProfile: string | null;
796
+ socialProfileUrl: string | null;
797
+ tags: {
798
+ id: string;
799
+ name: string;
800
+ createdAt: Date;
801
+ updatedAt: Date;
802
+ deletedAt: Date | null;
803
+ }[];
804
804
  contactEmails: {
805
805
  id: string;
806
806
  isPrimary: boolean;
@@ -1311,16 +1311,6 @@ export declare const telephonyCdrContract: {
1311
1311
  };
1312
1312
  }[];
1313
1313
  }[];
1314
- notes: string | null;
1315
- contactProfile: string | null;
1316
- socialProfileUrl: string | null;
1317
- tags: {
1318
- id: string;
1319
- name: string;
1320
- createdAt: Date;
1321
- updatedAt: Date;
1322
- deletedAt: Date | null;
1323
- }[];
1324
1314
  company: {
1325
1315
  id: string;
1326
1316
  createdAt: Date;
@@ -1331,6 +1321,16 @@ export declare const telephonyCdrContract: {
1331
1321
  phone?: string | null | undefined;
1332
1322
  industry?: string | null | undefined;
1333
1323
  } | null;
1324
+ notes: string | null;
1325
+ contactProfile: string | null;
1326
+ socialProfileUrl: string | null;
1327
+ tags: {
1328
+ id: string;
1329
+ name: string;
1330
+ createdAt: Date;
1331
+ updatedAt: Date;
1332
+ deletedAt: Date | null;
1333
+ }[];
1334
1334
  contactEmails: {
1335
1335
  id: string;
1336
1336
  isPrimary: boolean;
@@ -1518,16 +1518,6 @@ export declare const telephonyCdrContract: {
1518
1518
  };
1519
1519
  }[];
1520
1520
  }[];
1521
- notes: string | null;
1522
- contactProfile: string | null;
1523
- socialProfileUrl: string | null;
1524
- tags: {
1525
- id: string;
1526
- name: string;
1527
- createdAt: Date;
1528
- updatedAt: Date;
1529
- deletedAt: Date | null;
1530
- }[];
1531
1521
  company: {
1532
1522
  id: string;
1533
1523
  createdAt: Date;
@@ -1538,6 +1528,16 @@ export declare const telephonyCdrContract: {
1538
1528
  phone?: string | null | undefined;
1539
1529
  industry?: string | null | undefined;
1540
1530
  } | null;
1531
+ notes: string | null;
1532
+ contactProfile: string | null;
1533
+ socialProfileUrl: string | null;
1534
+ tags: {
1535
+ id: string;
1536
+ name: string;
1537
+ createdAt: Date;
1538
+ updatedAt: Date;
1539
+ deletedAt: Date | null;
1540
+ }[];
1541
1541
  contactEmails: {
1542
1542
  id: string;
1543
1543
  isPrimary: boolean;
@@ -1731,16 +1731,6 @@ export declare const telephonyCdrContract: {
1731
1731
  };
1732
1732
  }[];
1733
1733
  }[];
1734
- notes: string | null;
1735
- contactProfile: string | null;
1736
- socialProfileUrl: string | null;
1737
- tags: {
1738
- id: string;
1739
- name: string;
1740
- createdAt: Date;
1741
- updatedAt: Date;
1742
- deletedAt: Date | null;
1743
- }[];
1744
1734
  company: {
1745
1735
  id: string;
1746
1736
  createdAt: Date;
@@ -1751,6 +1741,16 @@ export declare const telephonyCdrContract: {
1751
1741
  phone?: string | null | undefined;
1752
1742
  industry?: string | null | undefined;
1753
1743
  } | null;
1744
+ notes: string | null;
1745
+ contactProfile: string | null;
1746
+ socialProfileUrl: string | null;
1747
+ tags: {
1748
+ id: string;
1749
+ name: string;
1750
+ createdAt: Date;
1751
+ updatedAt: Date;
1752
+ deletedAt: Date | null;
1753
+ }[];
1754
1754
  contactEmails: {
1755
1755
  id: string;
1756
1756
  isPrimary: boolean;
@@ -1944,16 +1944,6 @@ export declare const telephonyCdrContract: {
1944
1944
  };
1945
1945
  }[];
1946
1946
  }[];
1947
- notes: string | null;
1948
- contactProfile: string | null;
1949
- socialProfileUrl: string | null;
1950
- tags: {
1951
- id: string;
1952
- name: string;
1953
- createdAt: Date;
1954
- updatedAt: Date;
1955
- deletedAt: Date | null;
1956
- }[];
1957
1947
  company: {
1958
1948
  id: string;
1959
1949
  createdAt: Date;
@@ -1964,6 +1954,16 @@ export declare const telephonyCdrContract: {
1964
1954
  phone?: string | null | undefined;
1965
1955
  industry?: string | null | undefined;
1966
1956
  } | null;
1957
+ notes: string | null;
1958
+ contactProfile: string | null;
1959
+ socialProfileUrl: string | null;
1960
+ tags: {
1961
+ id: string;
1962
+ name: string;
1963
+ createdAt: Date;
1964
+ updatedAt: Date;
1965
+ deletedAt: Date | null;
1966
+ }[];
1967
1967
  contactEmails: {
1968
1968
  id: string;
1969
1969
  isPrimary: boolean;
@@ -2759,16 +2759,6 @@ export declare const telephonyCdrContract: {
2759
2759
  };
2760
2760
  }[];
2761
2761
  }[];
2762
- notes: string | null;
2763
- contactProfile: string | null;
2764
- socialProfileUrl: string | null;
2765
- tags: {
2766
- id: string;
2767
- name: string;
2768
- createdAt: Date;
2769
- updatedAt: Date;
2770
- deletedAt: Date | null;
2771
- }[];
2772
2762
  company: {
2773
2763
  id: string;
2774
2764
  createdAt: Date;
@@ -2779,6 +2769,16 @@ export declare const telephonyCdrContract: {
2779
2769
  phone?: string | null | undefined;
2780
2770
  industry?: string | null | undefined;
2781
2771
  } | null;
2772
+ notes: string | null;
2773
+ contactProfile: string | null;
2774
+ socialProfileUrl: string | null;
2775
+ tags: {
2776
+ id: string;
2777
+ name: string;
2778
+ createdAt: Date;
2779
+ updatedAt: Date;
2780
+ deletedAt: Date | null;
2781
+ }[];
2782
2782
  contactEmails: {
2783
2783
  id: string;
2784
2784
  isPrimary: boolean;
@@ -2862,16 +2862,6 @@ export declare const telephonyCdrContract: {
2862
2862
  };
2863
2863
  }[];
2864
2864
  }[];
2865
- notes: string | null;
2866
- contactProfile: string | null;
2867
- socialProfileUrl: string | null;
2868
- tags: {
2869
- id: string;
2870
- name: string;
2871
- createdAt: Date;
2872
- updatedAt: Date;
2873
- deletedAt: Date | null;
2874
- }[];
2875
2865
  company: {
2876
2866
  id: string;
2877
2867
  createdAt: Date;
@@ -2882,6 +2872,16 @@ export declare const telephonyCdrContract: {
2882
2872
  phone?: string | null | undefined;
2883
2873
  industry?: string | null | undefined;
2884
2874
  } | null;
2875
+ notes: string | null;
2876
+ contactProfile: string | null;
2877
+ socialProfileUrl: string | null;
2878
+ tags: {
2879
+ id: string;
2880
+ name: string;
2881
+ createdAt: Date;
2882
+ updatedAt: Date;
2883
+ deletedAt: Date | null;
2884
+ }[];
2885
2885
  contactEmails: {
2886
2886
  id: string;
2887
2887
  isPrimary: boolean;
@@ -3392,16 +3392,6 @@ export declare const telephonyCdrContract: {
3392
3392
  };
3393
3393
  }[];
3394
3394
  }[];
3395
- notes: string | null;
3396
- contactProfile: string | null;
3397
- socialProfileUrl: string | null;
3398
- tags: {
3399
- id: string;
3400
- name: string;
3401
- createdAt: Date;
3402
- updatedAt: Date;
3403
- deletedAt: Date | null;
3404
- }[];
3405
3395
  company: {
3406
3396
  id: string;
3407
3397
  createdAt: Date;
@@ -3412,6 +3402,16 @@ export declare const telephonyCdrContract: {
3412
3402
  phone?: string | null | undefined;
3413
3403
  industry?: string | null | undefined;
3414
3404
  } | null;
3405
+ notes: string | null;
3406
+ contactProfile: string | null;
3407
+ socialProfileUrl: string | null;
3408
+ tags: {
3409
+ id: string;
3410
+ name: string;
3411
+ createdAt: Date;
3412
+ updatedAt: Date;
3413
+ deletedAt: Date | null;
3414
+ }[];
3415
3415
  contactEmails: {
3416
3416
  id: string;
3417
3417
  isPrimary: boolean;
@@ -3599,16 +3599,6 @@ export declare const telephonyCdrContract: {
3599
3599
  };
3600
3600
  }[];
3601
3601
  }[];
3602
- notes: string | null;
3603
- contactProfile: string | null;
3604
- socialProfileUrl: string | null;
3605
- tags: {
3606
- id: string;
3607
- name: string;
3608
- createdAt: Date;
3609
- updatedAt: Date;
3610
- deletedAt: Date | null;
3611
- }[];
3612
3602
  company: {
3613
3603
  id: string;
3614
3604
  createdAt: Date;
@@ -3619,6 +3609,16 @@ export declare const telephonyCdrContract: {
3619
3609
  phone?: string | null | undefined;
3620
3610
  industry?: string | null | undefined;
3621
3611
  } | null;
3612
+ notes: string | null;
3613
+ contactProfile: string | null;
3614
+ socialProfileUrl: string | null;
3615
+ tags: {
3616
+ id: string;
3617
+ name: string;
3618
+ createdAt: Date;
3619
+ updatedAt: Date;
3620
+ deletedAt: Date | null;
3621
+ }[];
3622
3622
  contactEmails: {
3623
3623
  id: string;
3624
3624
  isPrimary: boolean;
@@ -3812,16 +3812,6 @@ export declare const telephonyCdrContract: {
3812
3812
  };
3813
3813
  }[];
3814
3814
  }[];
3815
- notes: string | null;
3816
- contactProfile: string | null;
3817
- socialProfileUrl: string | null;
3818
- tags: {
3819
- id: string;
3820
- name: string;
3821
- createdAt: Date;
3822
- updatedAt: Date;
3823
- deletedAt: Date | null;
3824
- }[];
3825
3815
  company: {
3826
3816
  id: string;
3827
3817
  createdAt: Date;
@@ -3832,6 +3822,16 @@ export declare const telephonyCdrContract: {
3832
3822
  phone?: string | null | undefined;
3833
3823
  industry?: string | null | undefined;
3834
3824
  } | null;
3825
+ notes: string | null;
3826
+ contactProfile: string | null;
3827
+ socialProfileUrl: string | null;
3828
+ tags: {
3829
+ id: string;
3830
+ name: string;
3831
+ createdAt: Date;
3832
+ updatedAt: Date;
3833
+ deletedAt: Date | null;
3834
+ }[];
3835
3835
  contactEmails: {
3836
3836
  id: string;
3837
3837
  isPrimary: boolean;
@@ -4025,16 +4025,6 @@ export declare const telephonyCdrContract: {
4025
4025
  };
4026
4026
  }[];
4027
4027
  }[];
4028
- notes: string | null;
4029
- contactProfile: string | null;
4030
- socialProfileUrl: string | null;
4031
- tags: {
4032
- id: string;
4033
- name: string;
4034
- createdAt: Date;
4035
- updatedAt: Date;
4036
- deletedAt: Date | null;
4037
- }[];
4038
4028
  company: {
4039
4029
  id: string;
4040
4030
  createdAt: Date;
@@ -4045,6 +4035,16 @@ export declare const telephonyCdrContract: {
4045
4035
  phone?: string | null | undefined;
4046
4036
  industry?: string | null | undefined;
4047
4037
  } | null;
4038
+ notes: string | null;
4039
+ contactProfile: string | null;
4040
+ socialProfileUrl: string | null;
4041
+ tags: {
4042
+ id: string;
4043
+ name: string;
4044
+ createdAt: Date;
4045
+ updatedAt: Date;
4046
+ deletedAt: Date | null;
4047
+ }[];
4048
4048
  contactEmails: {
4049
4049
  id: string;
4050
4050
  isPrimary: boolean;
@@ -4858,16 +4858,6 @@ export declare const telephonyCdrContract: {
4858
4858
  };
4859
4859
  }[];
4860
4860
  }[];
4861
- notes: string | null;
4862
- contactProfile: string | null;
4863
- socialProfileUrl: string | null;
4864
- tags: {
4865
- id: string;
4866
- name: string;
4867
- createdAt: Date;
4868
- updatedAt: Date;
4869
- deletedAt: Date | null;
4870
- }[];
4871
4861
  company: {
4872
4862
  id: string;
4873
4863
  createdAt: Date;
@@ -4878,6 +4868,16 @@ export declare const telephonyCdrContract: {
4878
4868
  phone?: string | null | undefined;
4879
4869
  industry?: string | null | undefined;
4880
4870
  } | null;
4871
+ notes: string | null;
4872
+ contactProfile: string | null;
4873
+ socialProfileUrl: string | null;
4874
+ tags: {
4875
+ id: string;
4876
+ name: string;
4877
+ createdAt: Date;
4878
+ updatedAt: Date;
4879
+ deletedAt: Date | null;
4880
+ }[];
4881
4881
  contactEmails: {
4882
4882
  id: string;
4883
4883
  isPrimary: boolean;
@@ -4961,16 +4961,6 @@ export declare const telephonyCdrContract: {
4961
4961
  };
4962
4962
  }[];
4963
4963
  }[];
4964
- notes: string | null;
4965
- contactProfile: string | null;
4966
- socialProfileUrl: string | null;
4967
- tags: {
4968
- id: string;
4969
- name: string;
4970
- createdAt: Date;
4971
- updatedAt: Date;
4972
- deletedAt: Date | null;
4973
- }[];
4974
4964
  company: {
4975
4965
  id: string;
4976
4966
  createdAt: Date;
@@ -4981,6 +4971,16 @@ export declare const telephonyCdrContract: {
4981
4971
  phone?: string | null | undefined;
4982
4972
  industry?: string | null | undefined;
4983
4973
  } | null;
4974
+ notes: string | null;
4975
+ contactProfile: string | null;
4976
+ socialProfileUrl: string | null;
4977
+ tags: {
4978
+ id: string;
4979
+ name: string;
4980
+ createdAt: Date;
4981
+ updatedAt: Date;
4982
+ deletedAt: Date | null;
4983
+ }[];
4984
4984
  contactEmails: {
4985
4985
  id: string;
4986
4986
  isPrimary: boolean;
@@ -5491,16 +5491,6 @@ export declare const telephonyCdrContract: {
5491
5491
  };
5492
5492
  }[];
5493
5493
  }[];
5494
- notes: string | null;
5495
- contactProfile: string | null;
5496
- socialProfileUrl: string | null;
5497
- tags: {
5498
- id: string;
5499
- name: string;
5500
- createdAt: Date;
5501
- updatedAt: Date;
5502
- deletedAt: Date | null;
5503
- }[];
5504
5494
  company: {
5505
5495
  id: string;
5506
5496
  createdAt: Date;
@@ -5511,6 +5501,16 @@ export declare const telephonyCdrContract: {
5511
5501
  phone?: string | null | undefined;
5512
5502
  industry?: string | null | undefined;
5513
5503
  } | null;
5504
+ notes: string | null;
5505
+ contactProfile: string | null;
5506
+ socialProfileUrl: string | null;
5507
+ tags: {
5508
+ id: string;
5509
+ name: string;
5510
+ createdAt: Date;
5511
+ updatedAt: Date;
5512
+ deletedAt: Date | null;
5513
+ }[];
5514
5514
  contactEmails: {
5515
5515
  id: string;
5516
5516
  isPrimary: boolean;
@@ -5698,16 +5698,6 @@ export declare const telephonyCdrContract: {
5698
5698
  };
5699
5699
  }[];
5700
5700
  }[];
5701
- notes: string | null;
5702
- contactProfile: string | null;
5703
- socialProfileUrl: string | null;
5704
- tags: {
5705
- id: string;
5706
- name: string;
5707
- createdAt: Date;
5708
- updatedAt: Date;
5709
- deletedAt: Date | null;
5710
- }[];
5711
5701
  company: {
5712
5702
  id: string;
5713
5703
  createdAt: Date;
@@ -5718,6 +5708,16 @@ export declare const telephonyCdrContract: {
5718
5708
  phone?: string | null | undefined;
5719
5709
  industry?: string | null | undefined;
5720
5710
  } | null;
5711
+ notes: string | null;
5712
+ contactProfile: string | null;
5713
+ socialProfileUrl: string | null;
5714
+ tags: {
5715
+ id: string;
5716
+ name: string;
5717
+ createdAt: Date;
5718
+ updatedAt: Date;
5719
+ deletedAt: Date | null;
5720
+ }[];
5721
5721
  contactEmails: {
5722
5722
  id: string;
5723
5723
  isPrimary: boolean;
@@ -5911,16 +5911,6 @@ export declare const telephonyCdrContract: {
5911
5911
  };
5912
5912
  }[];
5913
5913
  }[];
5914
- notes: string | null;
5915
- contactProfile: string | null;
5916
- socialProfileUrl: string | null;
5917
- tags: {
5918
- id: string;
5919
- name: string;
5920
- createdAt: Date;
5921
- updatedAt: Date;
5922
- deletedAt: Date | null;
5923
- }[];
5924
5914
  company: {
5925
5915
  id: string;
5926
5916
  createdAt: Date;
@@ -5931,6 +5921,16 @@ export declare const telephonyCdrContract: {
5931
5921
  phone?: string | null | undefined;
5932
5922
  industry?: string | null | undefined;
5933
5923
  } | null;
5924
+ notes: string | null;
5925
+ contactProfile: string | null;
5926
+ socialProfileUrl: string | null;
5927
+ tags: {
5928
+ id: string;
5929
+ name: string;
5930
+ createdAt: Date;
5931
+ updatedAt: Date;
5932
+ deletedAt: Date | null;
5933
+ }[];
5934
5934
  contactEmails: {
5935
5935
  id: string;
5936
5936
  isPrimary: boolean;
@@ -6124,16 +6124,6 @@ export declare const telephonyCdrContract: {
6124
6124
  };
6125
6125
  }[];
6126
6126
  }[];
6127
- notes: string | null;
6128
- contactProfile: string | null;
6129
- socialProfileUrl: string | null;
6130
- tags: {
6131
- id: string;
6132
- name: string;
6133
- createdAt: Date;
6134
- updatedAt: Date;
6135
- deletedAt: Date | null;
6136
- }[];
6137
6127
  company: {
6138
6128
  id: string;
6139
6129
  createdAt: Date;
@@ -6144,6 +6134,16 @@ export declare const telephonyCdrContract: {
6144
6134
  phone?: string | null | undefined;
6145
6135
  industry?: string | null | undefined;
6146
6136
  } | null;
6137
+ notes: string | null;
6138
+ contactProfile: string | null;
6139
+ socialProfileUrl: string | null;
6140
+ tags: {
6141
+ id: string;
6142
+ name: string;
6143
+ createdAt: Date;
6144
+ updatedAt: Date;
6145
+ deletedAt: Date | null;
6146
+ }[];
6147
6147
  contactEmails: {
6148
6148
  id: string;
6149
6149
  isPrimary: boolean;