@kl1/contracts 1.0.53 → 1.0.55

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 (36) hide show
  1. package/dist/index.js +104 -14
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +103 -14
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/chat/index.d.ts +1033 -1033
  6. package/dist/src/chat/schema.d.ts +180 -180
  7. package/dist/src/chat/validation.d.ts +192 -192
  8. package/dist/src/chat/validation.d.ts.map +1 -1
  9. package/dist/src/comment/index.d.ts +3026 -1010
  10. package/dist/src/comment/index.d.ts.map +1 -1
  11. package/dist/src/comment/schema.d.ts +780 -188
  12. package/dist/src/comment/schema.d.ts.map +1 -1
  13. package/dist/src/contact/index.d.ts +296 -296
  14. package/dist/src/contact/schema.d.ts +20 -20
  15. package/dist/src/contact/validation.d.ts +150 -150
  16. package/dist/src/contract.d.ts +8513 -3217
  17. package/dist/src/contract.d.ts.map +1 -1
  18. package/dist/src/cx-log/index.d.ts +240 -240
  19. package/dist/src/cx-log/schema.d.ts +180 -180
  20. package/dist/src/index.d.ts +1 -0
  21. package/dist/src/index.d.ts.map +1 -1
  22. package/dist/src/instagram/index.d.ts +100 -100
  23. package/dist/src/messenger/index.d.ts +100 -100
  24. package/dist/src/telephony-cdr/index.d.ts +180 -180
  25. package/dist/src/telephony-cdr/schema.d.ts +40 -40
  26. package/dist/src/ticket/index.d.ts +3980 -892
  27. package/dist/src/ticket/index.d.ts.map +1 -1
  28. package/dist/src/ticket/schema.d.ts +512 -40
  29. package/dist/src/ticket/schema.d.ts.map +1 -1
  30. package/dist/src/upload/index.d.ts +197 -0
  31. package/dist/src/upload/index.d.ts.map +1 -0
  32. package/dist/src/upload/schema.d.ts +14 -0
  33. package/dist/src/upload/schema.d.ts.map +1 -1
  34. package/dist/src/upload/validation.d.ts +2 -0
  35. package/dist/src/upload/validation.d.ts.map +1 -0
  36. package/package.json +1 -1
@@ -979,16 +979,6 @@ export declare const ContactSchema: z.ZodObject<{
979
979
  };
980
980
  }[];
981
981
  }[];
982
- notes: string | null;
983
- contactProfile: string | null;
984
- socialProfileUrl: string | null;
985
- tags: {
986
- id: string;
987
- name: string;
988
- createdAt: Date;
989
- updatedAt: Date;
990
- deletedAt: Date | null;
991
- }[];
992
982
  company: {
993
983
  id: string;
994
984
  createdAt: Date;
@@ -999,6 +989,16 @@ export declare const ContactSchema: z.ZodObject<{
999
989
  phone?: string | null | undefined;
1000
990
  industry?: string | null | undefined;
1001
991
  } | null;
992
+ notes: string | null;
993
+ contactProfile: string | null;
994
+ socialProfileUrl: string | null;
995
+ tags: {
996
+ id: string;
997
+ name: string;
998
+ createdAt: Date;
999
+ updatedAt: Date;
1000
+ deletedAt: Date | null;
1001
+ }[];
1002
1002
  contactEmails: {
1003
1003
  id: string;
1004
1004
  isPrimary: boolean;
@@ -1082,16 +1082,6 @@ export declare const ContactSchema: z.ZodObject<{
1082
1082
  };
1083
1083
  }[];
1084
1084
  }[];
1085
- notes: string | null;
1086
- contactProfile: string | null;
1087
- socialProfileUrl: string | null;
1088
- tags: {
1089
- id: string;
1090
- name: string;
1091
- createdAt: Date;
1092
- updatedAt: Date;
1093
- deletedAt: Date | null;
1094
- }[];
1095
1085
  company: {
1096
1086
  id: string;
1097
1087
  createdAt: Date;
@@ -1102,6 +1092,16 @@ export declare const ContactSchema: z.ZodObject<{
1102
1092
  phone?: string | null | undefined;
1103
1093
  industry?: string | null | undefined;
1104
1094
  } | null;
1095
+ notes: string | null;
1096
+ contactProfile: string | null;
1097
+ socialProfileUrl: string | null;
1098
+ tags: {
1099
+ id: string;
1100
+ name: string;
1101
+ createdAt: Date;
1102
+ updatedAt: Date;
1103
+ deletedAt: Date | null;
1104
+ }[];
1105
1105
  contactEmails: {
1106
1106
  id: string;
1107
1107
  isPrimary: boolean;
@@ -196,18 +196,18 @@ export declare const ContactContractValidationSchema: {
196
196
  attributeId: string;
197
197
  isDefaultAttribute: boolean;
198
198
  }[];
199
- notes: {
199
+ company: {
200
200
  value: string;
201
201
  isRequired: boolean;
202
202
  attributeId: string;
203
203
  };
204
- tags: {
205
- value: string[];
204
+ notes: {
205
+ value: string;
206
206
  isRequired: boolean;
207
207
  attributeId: string;
208
208
  };
209
- company: {
210
- value: string;
209
+ tags: {
210
+ value: string[];
211
211
  isRequired: boolean;
212
212
  attributeId: string;
213
213
  };
@@ -250,18 +250,18 @@ export declare const ContactContractValidationSchema: {
250
250
  attributeId: string;
251
251
  isDefaultAttribute: boolean;
252
252
  }[];
253
- notes: {
253
+ company: {
254
254
  value: string;
255
255
  isRequired: boolean;
256
256
  attributeId: string;
257
257
  };
258
- tags: {
259
- value: string[];
258
+ notes: {
259
+ value: string;
260
260
  isRequired: boolean;
261
261
  attributeId: string;
262
262
  };
263
- company: {
264
- value: string;
263
+ tags: {
264
+ value: string[];
265
265
  isRequired: boolean;
266
266
  attributeId: string;
267
267
  };
@@ -886,16 +886,6 @@ export declare const ContactContractValidationSchema: {
886
886
  };
887
887
  }[];
888
888
  }[];
889
- notes: string | null;
890
- contactProfile: string | null;
891
- socialProfileUrl: string | null;
892
- tags: {
893
- id: string;
894
- name: string;
895
- createdAt: Date;
896
- updatedAt: Date;
897
- deletedAt: Date | null;
898
- }[];
899
889
  company: {
900
890
  id: string;
901
891
  createdAt: Date;
@@ -906,6 +896,16 @@ export declare const ContactContractValidationSchema: {
906
896
  phone?: string | null | undefined;
907
897
  industry?: string | null | undefined;
908
898
  } | null;
899
+ notes: string | null;
900
+ contactProfile: string | null;
901
+ socialProfileUrl: string | null;
902
+ tags: {
903
+ id: string;
904
+ name: string;
905
+ createdAt: Date;
906
+ updatedAt: Date;
907
+ deletedAt: Date | null;
908
+ }[];
909
909
  contactEmails: {
910
910
  id: string;
911
911
  isPrimary: boolean;
@@ -989,16 +989,6 @@ export declare const ContactContractValidationSchema: {
989
989
  };
990
990
  }[];
991
991
  }[];
992
- notes: string | null;
993
- contactProfile: string | null;
994
- socialProfileUrl: string | null;
995
- tags: {
996
- id: string;
997
- name: string;
998
- createdAt: Date;
999
- updatedAt: Date;
1000
- deletedAt: Date | null;
1001
- }[];
1002
992
  company: {
1003
993
  id: string;
1004
994
  createdAt: Date;
@@ -1009,6 +999,16 @@ export declare const ContactContractValidationSchema: {
1009
999
  phone?: string | null | undefined;
1010
1000
  industry?: string | null | undefined;
1011
1001
  } | null;
1002
+ notes: string | null;
1003
+ contactProfile: string | null;
1004
+ socialProfileUrl: string | null;
1005
+ tags: {
1006
+ id: string;
1007
+ name: string;
1008
+ createdAt: Date;
1009
+ updatedAt: Date;
1010
+ deletedAt: Date | null;
1011
+ }[];
1012
1012
  contactEmails: {
1013
1013
  id: string;
1014
1014
  isPrimary: boolean;
@@ -1724,16 +1724,6 @@ export declare const ContactContractValidationSchema: {
1724
1724
  };
1725
1725
  }[];
1726
1726
  }[];
1727
- notes: string | null;
1728
- contactProfile: string | null;
1729
- socialProfileUrl: string | null;
1730
- tags: {
1731
- id: string;
1732
- name: string;
1733
- createdAt: Date;
1734
- updatedAt: Date;
1735
- deletedAt: Date | null;
1736
- }[];
1737
1727
  company: {
1738
1728
  id: string;
1739
1729
  createdAt: Date;
@@ -1744,6 +1734,16 @@ export declare const ContactContractValidationSchema: {
1744
1734
  phone?: string | null | undefined;
1745
1735
  industry?: string | null | undefined;
1746
1736
  } | null;
1737
+ notes: string | null;
1738
+ contactProfile: string | null;
1739
+ socialProfileUrl: string | null;
1740
+ tags: {
1741
+ id: string;
1742
+ name: string;
1743
+ createdAt: Date;
1744
+ updatedAt: Date;
1745
+ deletedAt: Date | null;
1746
+ }[];
1747
1747
  contactEmails: {
1748
1748
  id: string;
1749
1749
  isPrimary: boolean;
@@ -1827,16 +1827,6 @@ export declare const ContactContractValidationSchema: {
1827
1827
  };
1828
1828
  }[];
1829
1829
  }[];
1830
- notes: string | null;
1831
- contactProfile: string | null;
1832
- socialProfileUrl: string | null;
1833
- tags: {
1834
- id: string;
1835
- name: string;
1836
- createdAt: Date;
1837
- updatedAt: Date;
1838
- deletedAt: Date | null;
1839
- }[];
1840
1830
  company: {
1841
1831
  id: string;
1842
1832
  createdAt: Date;
@@ -1847,6 +1837,16 @@ export declare const ContactContractValidationSchema: {
1847
1837
  phone?: string | null | undefined;
1848
1838
  industry?: string | null | undefined;
1849
1839
  } | null;
1840
+ notes: string | null;
1841
+ contactProfile: string | null;
1842
+ socialProfileUrl: string | null;
1843
+ tags: {
1844
+ id: string;
1845
+ name: string;
1846
+ createdAt: Date;
1847
+ updatedAt: Date;
1848
+ deletedAt: Date | null;
1849
+ }[];
1850
1850
  contactEmails: {
1851
1851
  id: string;
1852
1852
  isPrimary: boolean;
@@ -2492,16 +2492,6 @@ export declare const ContactContractValidationSchema: {
2492
2492
  };
2493
2493
  }[];
2494
2494
  }[];
2495
- notes: string | null;
2496
- contactProfile: string | null;
2497
- socialProfileUrl: string | null;
2498
- tags: {
2499
- id: string;
2500
- name: string;
2501
- createdAt: Date;
2502
- updatedAt: Date;
2503
- deletedAt: Date | null;
2504
- }[];
2505
2495
  company: {
2506
2496
  id: string;
2507
2497
  createdAt: Date;
@@ -2512,6 +2502,16 @@ export declare const ContactContractValidationSchema: {
2512
2502
  phone?: string | null | undefined;
2513
2503
  industry?: string | null | undefined;
2514
2504
  } | null;
2505
+ notes: string | null;
2506
+ contactProfile: string | null;
2507
+ socialProfileUrl: string | null;
2508
+ tags: {
2509
+ id: string;
2510
+ name: string;
2511
+ createdAt: Date;
2512
+ updatedAt: Date;
2513
+ deletedAt: Date | null;
2514
+ }[];
2515
2515
  contactEmails: {
2516
2516
  id: string;
2517
2517
  isPrimary: boolean;
@@ -2595,16 +2595,6 @@ export declare const ContactContractValidationSchema: {
2595
2595
  };
2596
2596
  }[];
2597
2597
  }[];
2598
- notes: string | null;
2599
- contactProfile: string | null;
2600
- socialProfileUrl: string | null;
2601
- tags: {
2602
- id: string;
2603
- name: string;
2604
- createdAt: Date;
2605
- updatedAt: Date;
2606
- deletedAt: Date | null;
2607
- }[];
2608
2598
  company: {
2609
2599
  id: string;
2610
2600
  createdAt: Date;
@@ -2615,6 +2605,16 @@ export declare const ContactContractValidationSchema: {
2615
2605
  phone?: string | null | undefined;
2616
2606
  industry?: string | null | undefined;
2617
2607
  } | null;
2608
+ notes: string | null;
2609
+ contactProfile: string | null;
2610
+ socialProfileUrl: string | null;
2611
+ tags: {
2612
+ id: string;
2613
+ name: string;
2614
+ createdAt: Date;
2615
+ updatedAt: Date;
2616
+ deletedAt: Date | null;
2617
+ }[];
2618
2618
  contactEmails: {
2619
2619
  id: string;
2620
2620
  isPrimary: boolean;
@@ -3259,16 +3259,6 @@ export declare const ContactContractValidationSchema: {
3259
3259
  };
3260
3260
  }[];
3261
3261
  }[];
3262
- notes: string | null;
3263
- contactProfile: string | null;
3264
- socialProfileUrl: string | null;
3265
- tags: {
3266
- id: string;
3267
- name: string;
3268
- createdAt: Date;
3269
- updatedAt: Date;
3270
- deletedAt: Date | null;
3271
- }[];
3272
3262
  company: {
3273
3263
  id: string;
3274
3264
  createdAt: Date;
@@ -3279,6 +3269,16 @@ export declare const ContactContractValidationSchema: {
3279
3269
  phone?: string | null | undefined;
3280
3270
  industry?: string | null | undefined;
3281
3271
  } | null;
3272
+ notes: string | null;
3273
+ contactProfile: string | null;
3274
+ socialProfileUrl: string | null;
3275
+ tags: {
3276
+ id: string;
3277
+ name: string;
3278
+ createdAt: Date;
3279
+ updatedAt: Date;
3280
+ deletedAt: Date | null;
3281
+ }[];
3282
3282
  contactEmails: {
3283
3283
  id: string;
3284
3284
  isPrimary: boolean;
@@ -3362,16 +3362,6 @@ export declare const ContactContractValidationSchema: {
3362
3362
  };
3363
3363
  }[];
3364
3364
  }[];
3365
- notes: string | null;
3366
- contactProfile: string | null;
3367
- socialProfileUrl: string | null;
3368
- tags: {
3369
- id: string;
3370
- name: string;
3371
- createdAt: Date;
3372
- updatedAt: Date;
3373
- deletedAt: Date | null;
3374
- }[];
3375
3365
  company: {
3376
3366
  id: string;
3377
3367
  createdAt: Date;
@@ -3382,6 +3372,16 @@ export declare const ContactContractValidationSchema: {
3382
3372
  phone?: string | null | undefined;
3383
3373
  industry?: string | null | undefined;
3384
3374
  } | null;
3375
+ notes: string | null;
3376
+ contactProfile: string | null;
3377
+ socialProfileUrl: string | null;
3378
+ tags: {
3379
+ id: string;
3380
+ name: string;
3381
+ createdAt: Date;
3382
+ updatedAt: Date;
3383
+ deletedAt: Date | null;
3384
+ }[];
3385
3385
  contactEmails: {
3386
3386
  id: string;
3387
3387
  isPrimary: boolean;
@@ -4029,16 +4029,6 @@ export declare const ContactContractValidationSchema: {
4029
4029
  };
4030
4030
  }[];
4031
4031
  }[];
4032
- notes: string | null;
4033
- contactProfile: string | null;
4034
- socialProfileUrl: string | null;
4035
- tags: {
4036
- id: string;
4037
- name: string;
4038
- createdAt: Date;
4039
- updatedAt: Date;
4040
- deletedAt: Date | null;
4041
- }[];
4042
4032
  company: {
4043
4033
  id: string;
4044
4034
  createdAt: Date;
@@ -4049,6 +4039,16 @@ export declare const ContactContractValidationSchema: {
4049
4039
  phone?: string | null | undefined;
4050
4040
  industry?: string | null | undefined;
4051
4041
  } | null;
4042
+ notes: string | null;
4043
+ contactProfile: string | null;
4044
+ socialProfileUrl: string | null;
4045
+ tags: {
4046
+ id: string;
4047
+ name: string;
4048
+ createdAt: Date;
4049
+ updatedAt: Date;
4050
+ deletedAt: Date | null;
4051
+ }[];
4052
4052
  contactEmails: {
4053
4053
  id: string;
4054
4054
  isPrimary: boolean;
@@ -4132,16 +4132,6 @@ export declare const ContactContractValidationSchema: {
4132
4132
  };
4133
4133
  }[];
4134
4134
  }[];
4135
- notes: string | null;
4136
- contactProfile: string | null;
4137
- socialProfileUrl: string | null;
4138
- tags: {
4139
- id: string;
4140
- name: string;
4141
- createdAt: Date;
4142
- updatedAt: Date;
4143
- deletedAt: Date | null;
4144
- }[];
4145
4135
  company: {
4146
4136
  id: string;
4147
4137
  createdAt: Date;
@@ -4152,6 +4142,16 @@ export declare const ContactContractValidationSchema: {
4152
4142
  phone?: string | null | undefined;
4153
4143
  industry?: string | null | undefined;
4154
4144
  } | null;
4145
+ notes: string | null;
4146
+ contactProfile: string | null;
4147
+ socialProfileUrl: string | null;
4148
+ tags: {
4149
+ id: string;
4150
+ name: string;
4151
+ createdAt: Date;
4152
+ updatedAt: Date;
4153
+ deletedAt: Date | null;
4154
+ }[];
4155
4155
  contactEmails: {
4156
4156
  id: string;
4157
4157
  isPrimary: boolean;
@@ -4835,16 +4835,6 @@ export declare const ContactContractValidationSchema: {
4835
4835
  };
4836
4836
  }[];
4837
4837
  }[];
4838
- notes: string | null;
4839
- contactProfile: string | null;
4840
- socialProfileUrl: string | null;
4841
- tags: {
4842
- id: string;
4843
- name: string;
4844
- createdAt: Date;
4845
- updatedAt: Date;
4846
- deletedAt: Date | null;
4847
- }[];
4848
4838
  company: {
4849
4839
  id: string;
4850
4840
  createdAt: Date;
@@ -4855,6 +4845,16 @@ export declare const ContactContractValidationSchema: {
4855
4845
  phone?: string | null | undefined;
4856
4846
  industry?: string | null | undefined;
4857
4847
  } | null;
4848
+ notes: string | null;
4849
+ contactProfile: string | null;
4850
+ socialProfileUrl: string | null;
4851
+ tags: {
4852
+ id: string;
4853
+ name: string;
4854
+ createdAt: Date;
4855
+ updatedAt: Date;
4856
+ deletedAt: Date | null;
4857
+ }[];
4858
4858
  contactEmails: {
4859
4859
  id: string;
4860
4860
  isPrimary: boolean;
@@ -4938,16 +4938,6 @@ export declare const ContactContractValidationSchema: {
4938
4938
  };
4939
4939
  }[];
4940
4940
  }[];
4941
- notes: string | null;
4942
- contactProfile: string | null;
4943
- socialProfileUrl: string | null;
4944
- tags: {
4945
- id: string;
4946
- name: string;
4947
- createdAt: Date;
4948
- updatedAt: Date;
4949
- deletedAt: Date | null;
4950
- }[];
4951
4941
  company: {
4952
4942
  id: string;
4953
4943
  createdAt: Date;
@@ -4958,6 +4948,16 @@ export declare const ContactContractValidationSchema: {
4958
4948
  phone?: string | null | undefined;
4959
4949
  industry?: string | null | undefined;
4960
4950
  } | null;
4951
+ notes: string | null;
4952
+ contactProfile: string | null;
4953
+ socialProfileUrl: string | null;
4954
+ tags: {
4955
+ id: string;
4956
+ name: string;
4957
+ createdAt: Date;
4958
+ updatedAt: Date;
4959
+ deletedAt: Date | null;
4960
+ }[];
4961
4961
  contactEmails: {
4962
4962
  id: string;
4963
4963
  isPrimary: boolean;
@@ -5639,16 +5639,6 @@ export declare const ContactContractValidationSchema: {
5639
5639
  };
5640
5640
  }[];
5641
5641
  }[];
5642
- notes: string | null;
5643
- contactProfile: string | null;
5644
- socialProfileUrl: string | null;
5645
- tags: {
5646
- id: string;
5647
- name: string;
5648
- createdAt: Date;
5649
- updatedAt: Date;
5650
- deletedAt: Date | null;
5651
- }[];
5652
5642
  company: {
5653
5643
  id: string;
5654
5644
  createdAt: Date;
@@ -5659,6 +5649,16 @@ export declare const ContactContractValidationSchema: {
5659
5649
  phone?: string | null | undefined;
5660
5650
  industry?: string | null | undefined;
5661
5651
  } | null;
5652
+ notes: string | null;
5653
+ contactProfile: string | null;
5654
+ socialProfileUrl: string | null;
5655
+ tags: {
5656
+ id: string;
5657
+ name: string;
5658
+ createdAt: Date;
5659
+ updatedAt: Date;
5660
+ deletedAt: Date | null;
5661
+ }[];
5662
5662
  contactEmails: {
5663
5663
  id: string;
5664
5664
  isPrimary: boolean;
@@ -5742,16 +5742,6 @@ export declare const ContactContractValidationSchema: {
5742
5742
  };
5743
5743
  }[];
5744
5744
  }[];
5745
- notes: string | null;
5746
- contactProfile: string | null;
5747
- socialProfileUrl: string | null;
5748
- tags: {
5749
- id: string;
5750
- name: string;
5751
- createdAt: Date;
5752
- updatedAt: Date;
5753
- deletedAt: Date | null;
5754
- }[];
5755
5745
  company: {
5756
5746
  id: string;
5757
5747
  createdAt: Date;
@@ -5762,6 +5752,16 @@ export declare const ContactContractValidationSchema: {
5762
5752
  phone?: string | null | undefined;
5763
5753
  industry?: string | null | undefined;
5764
5754
  } | null;
5755
+ notes: string | null;
5756
+ contactProfile: string | null;
5757
+ socialProfileUrl: string | null;
5758
+ tags: {
5759
+ id: string;
5760
+ name: string;
5761
+ createdAt: Date;
5762
+ updatedAt: Date;
5763
+ deletedAt: Date | null;
5764
+ }[];
5765
5765
  contactEmails: {
5766
5766
  id: string;
5767
5767
  isPrimary: boolean;