@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
@@ -1945,16 +1945,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
1945
1945
  };
1946
1946
  }[];
1947
1947
  }[];
1948
- notes: string | null;
1949
- contactProfile: string | null;
1950
- socialProfileUrl: string | null;
1951
- tags: {
1952
- id: string;
1953
- name: string;
1954
- createdAt: Date;
1955
- updatedAt: Date;
1956
- deletedAt: Date | null;
1957
- }[];
1958
1948
  company: {
1959
1949
  id: string;
1960
1950
  createdAt: Date;
@@ -1965,6 +1955,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
1965
1955
  phone?: string | null | undefined;
1966
1956
  industry?: string | null | undefined;
1967
1957
  } | null;
1958
+ notes: string | null;
1959
+ contactProfile: string | null;
1960
+ socialProfileUrl: string | null;
1961
+ tags: {
1962
+ id: string;
1963
+ name: string;
1964
+ createdAt: Date;
1965
+ updatedAt: Date;
1966
+ deletedAt: Date | null;
1967
+ }[];
1968
1968
  contactEmails: {
1969
1969
  id: string;
1970
1970
  isPrimary: boolean;
@@ -2048,16 +2048,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
2048
2048
  };
2049
2049
  }[];
2050
2050
  }[];
2051
- notes: string | null;
2052
- contactProfile: string | null;
2053
- socialProfileUrl: string | null;
2054
- tags: {
2055
- id: string;
2056
- name: string;
2057
- createdAt: Date;
2058
- updatedAt: Date;
2059
- deletedAt: Date | null;
2060
- }[];
2061
2051
  company: {
2062
2052
  id: string;
2063
2053
  createdAt: Date;
@@ -2068,6 +2058,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
2068
2058
  phone?: string | null | undefined;
2069
2059
  industry?: string | null | undefined;
2070
2060
  } | null;
2061
+ notes: string | null;
2062
+ contactProfile: string | null;
2063
+ socialProfileUrl: string | null;
2064
+ tags: {
2065
+ id: string;
2066
+ name: string;
2067
+ createdAt: Date;
2068
+ updatedAt: Date;
2069
+ deletedAt: Date | null;
2070
+ }[];
2071
2071
  contactEmails: {
2072
2072
  id: string;
2073
2073
  isPrimary: boolean;
@@ -2165,16 +2165,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
2165
2165
  };
2166
2166
  }[];
2167
2167
  }[];
2168
- notes: string | null;
2169
- contactProfile: string | null;
2170
- socialProfileUrl: string | null;
2171
- tags: {
2172
- id: string;
2173
- name: string;
2174
- createdAt: Date;
2175
- updatedAt: Date;
2176
- deletedAt: Date | null;
2177
- }[];
2178
2168
  company: {
2179
2169
  id: string;
2180
2170
  createdAt: Date;
@@ -2185,6 +2175,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
2185
2175
  phone?: string | null | undefined;
2186
2176
  industry?: string | null | undefined;
2187
2177
  } | null;
2178
+ notes: string | null;
2179
+ contactProfile: string | null;
2180
+ socialProfileUrl: string | null;
2181
+ tags: {
2182
+ id: string;
2183
+ name: string;
2184
+ createdAt: Date;
2185
+ updatedAt: Date;
2186
+ deletedAt: Date | null;
2187
+ }[];
2188
2188
  contactEmails: {
2189
2189
  id: string;
2190
2190
  isPrimary: boolean;
@@ -2283,16 +2283,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
2283
2283
  };
2284
2284
  }[];
2285
2285
  }[];
2286
- notes: string | null;
2287
- contactProfile: string | null;
2288
- socialProfileUrl: string | null;
2289
- tags: {
2290
- id: string;
2291
- name: string;
2292
- createdAt: Date;
2293
- updatedAt: Date;
2294
- deletedAt: Date | null;
2295
- }[];
2296
2286
  company: {
2297
2287
  id: string;
2298
2288
  createdAt: Date;
@@ -2303,6 +2293,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
2303
2293
  phone?: string | null | undefined;
2304
2294
  industry?: string | null | undefined;
2305
2295
  } | null;
2296
+ notes: string | null;
2297
+ contactProfile: string | null;
2298
+ socialProfileUrl: string | null;
2299
+ tags: {
2300
+ id: string;
2301
+ name: string;
2302
+ createdAt: Date;
2303
+ updatedAt: Date;
2304
+ deletedAt: Date | null;
2305
+ }[];
2306
2306
  contactEmails: {
2307
2307
  id: string;
2308
2308
  isPrimary: boolean;
@@ -3374,16 +3374,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3374
3374
  };
3375
3375
  }[];
3376
3376
  }[];
3377
- notes: string | null;
3378
- contactProfile: string | null;
3379
- socialProfileUrl: string | null;
3380
- tags: {
3381
- id: string;
3382
- name: string;
3383
- createdAt: Date;
3384
- updatedAt: Date;
3385
- deletedAt: Date | null;
3386
- }[];
3387
3377
  company: {
3388
3378
  id: string;
3389
3379
  createdAt: Date;
@@ -3394,6 +3384,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3394
3384
  phone?: string | null | undefined;
3395
3385
  industry?: string | null | undefined;
3396
3386
  } | null;
3387
+ notes: string | null;
3388
+ contactProfile: string | null;
3389
+ socialProfileUrl: string | null;
3390
+ tags: {
3391
+ id: string;
3392
+ name: string;
3393
+ createdAt: Date;
3394
+ updatedAt: Date;
3395
+ deletedAt: Date | null;
3396
+ }[];
3397
3397
  contactEmails: {
3398
3398
  id: string;
3399
3399
  isPrimary: boolean;
@@ -3693,16 +3693,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3693
3693
  };
3694
3694
  }[];
3695
3695
  }[];
3696
- notes: string | null;
3697
- contactProfile: string | null;
3698
- socialProfileUrl: string | null;
3699
- tags: {
3700
- id: string;
3701
- name: string;
3702
- createdAt: Date;
3703
- updatedAt: Date;
3704
- deletedAt: Date | null;
3705
- }[];
3706
3696
  company: {
3707
3697
  id: string;
3708
3698
  createdAt: Date;
@@ -3713,6 +3703,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3713
3703
  phone?: string | null | undefined;
3714
3704
  industry?: string | null | undefined;
3715
3705
  } | null;
3706
+ notes: string | null;
3707
+ contactProfile: string | null;
3708
+ socialProfileUrl: string | null;
3709
+ tags: {
3710
+ id: string;
3711
+ name: string;
3712
+ createdAt: Date;
3713
+ updatedAt: Date;
3714
+ deletedAt: Date | null;
3715
+ }[];
3716
3716
  contactEmails: {
3717
3717
  id: string;
3718
3718
  isPrimary: boolean;
@@ -4769,16 +4769,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4769
4769
  };
4770
4770
  }[];
4771
4771
  }[];
4772
- notes: string | null;
4773
- contactProfile: string | null;
4774
- socialProfileUrl: string | null;
4775
- tags: {
4776
- id: string;
4777
- name: string;
4778
- createdAt: Date;
4779
- updatedAt: Date;
4780
- deletedAt: Date | null;
4781
- }[];
4782
4772
  company: {
4783
4773
  id: string;
4784
4774
  createdAt: Date;
@@ -4789,6 +4779,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4789
4779
  phone?: string | null | undefined;
4790
4780
  industry?: string | null | undefined;
4791
4781
  } | null;
4782
+ notes: string | null;
4783
+ contactProfile: string | null;
4784
+ socialProfileUrl: string | null;
4785
+ tags: {
4786
+ id: string;
4787
+ name: string;
4788
+ createdAt: Date;
4789
+ updatedAt: Date;
4790
+ deletedAt: Date | null;
4791
+ }[];
4792
4792
  contactEmails: {
4793
4793
  id: string;
4794
4794
  isPrimary: boolean;
@@ -5251,16 +5251,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5251
5251
  };
5252
5252
  }[];
5253
5253
  }[];
5254
- notes: string | null;
5255
- contactProfile: string | null;
5256
- socialProfileUrl: string | null;
5257
- tags: {
5258
- id: string;
5259
- name: string;
5260
- createdAt: Date;
5261
- updatedAt: Date;
5262
- deletedAt: Date | null;
5263
- }[];
5264
5254
  company: {
5265
5255
  id: string;
5266
5256
  createdAt: Date;
@@ -5271,6 +5261,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5271
5261
  phone?: string | null | undefined;
5272
5262
  industry?: string | null | undefined;
5273
5263
  } | null;
5264
+ notes: string | null;
5265
+ contactProfile: string | null;
5266
+ socialProfileUrl: string | null;
5267
+ tags: {
5268
+ id: string;
5269
+ name: string;
5270
+ createdAt: Date;
5271
+ updatedAt: Date;
5272
+ deletedAt: Date | null;
5273
+ }[];
5274
5274
  contactEmails: {
5275
5275
  id: string;
5276
5276
  isPrimary: boolean;
@@ -5735,16 +5735,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5735
5735
  };
5736
5736
  }[];
5737
5737
  }[];
5738
- notes: string | null;
5739
- contactProfile: string | null;
5740
- socialProfileUrl: string | null;
5741
- tags: {
5742
- id: string;
5743
- name: string;
5744
- createdAt: Date;
5745
- updatedAt: Date;
5746
- deletedAt: Date | null;
5747
- }[];
5748
5738
  company: {
5749
5739
  id: string;
5750
5740
  createdAt: Date;
@@ -5755,6 +5745,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5755
5745
  phone?: string | null | undefined;
5756
5746
  industry?: string | null | undefined;
5757
5747
  } | null;
5748
+ notes: string | null;
5749
+ contactProfile: string | null;
5750
+ socialProfileUrl: string | null;
5751
+ tags: {
5752
+ id: string;
5753
+ name: string;
5754
+ createdAt: Date;
5755
+ updatedAt: Date;
5756
+ deletedAt: Date | null;
5757
+ }[];
5758
5758
  contactEmails: {
5759
5759
  id: string;
5760
5760
  isPrimary: boolean;
@@ -6220,16 +6220,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6220
6220
  };
6221
6221
  }[];
6222
6222
  }[];
6223
- notes: string | null;
6224
- contactProfile: string | null;
6225
- socialProfileUrl: string | null;
6226
- tags: {
6227
- id: string;
6228
- name: string;
6229
- createdAt: Date;
6230
- updatedAt: Date;
6231
- deletedAt: Date | null;
6232
- }[];
6233
6223
  company: {
6234
6224
  id: string;
6235
6225
  createdAt: Date;
@@ -6240,6 +6230,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6240
6230
  phone?: string | null | undefined;
6241
6231
  industry?: string | null | undefined;
6242
6232
  } | null;
6233
+ notes: string | null;
6234
+ contactProfile: string | null;
6235
+ socialProfileUrl: string | null;
6236
+ tags: {
6237
+ id: string;
6238
+ name: string;
6239
+ createdAt: Date;
6240
+ updatedAt: Date;
6241
+ deletedAt: Date | null;
6242
+ }[];
6243
6243
  contactEmails: {
6244
6244
  id: string;
6245
6245
  isPrimary: boolean;
@@ -7207,9 +7207,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
7207
7207
  channel: string | null;
7208
7208
  address: string | null;
7209
7209
  name: string;
7210
- notes: string | null;
7211
- contactProfile: string | null;
7212
- socialProfileUrl: string | null;
7213
7210
  company: {
7214
7211
  id: string;
7215
7212
  createdAt: Date;
@@ -7220,6 +7217,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
7220
7217
  phone?: string | null | undefined;
7221
7218
  industry?: string | null | undefined;
7222
7219
  } | null;
7220
+ notes: string | null;
7221
+ contactProfile: string | null;
7222
+ socialProfileUrl: string | null;
7223
7223
  tags?: {
7224
7224
  id: string;
7225
7225
  name: string;
@@ -7307,9 +7307,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
7307
7307
  channel: string | null;
7308
7308
  address: string | null;
7309
7309
  name: string;
7310
- notes: string | null;
7311
- contactProfile: string | null;
7312
- socialProfileUrl: string | null;
7313
7310
  company: {
7314
7311
  id: string;
7315
7312
  createdAt: Date;
@@ -7320,6 +7317,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
7320
7317
  phone?: string | null | undefined;
7321
7318
  industry?: string | null | undefined;
7322
7319
  } | null;
7320
+ notes: string | null;
7321
+ contactProfile: string | null;
7322
+ socialProfileUrl: string | null;
7323
7323
  tags?: {
7324
7324
  id: string;
7325
7325
  name: string;
@@ -7417,9 +7417,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
7417
7417
  channel: string | null;
7418
7418
  address: string | null;
7419
7419
  name: string;
7420
- notes: string | null;
7421
- contactProfile: string | null;
7422
- socialProfileUrl: string | null;
7423
7420
  company: {
7424
7421
  id: string;
7425
7422
  createdAt: Date;
@@ -7430,6 +7427,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
7430
7427
  phone?: string | null | undefined;
7431
7428
  industry?: string | null | undefined;
7432
7429
  } | null;
7430
+ notes: string | null;
7431
+ contactProfile: string | null;
7432
+ socialProfileUrl: string | null;
7433
7433
  tags?: {
7434
7434
  id: string;
7435
7435
  name: string;
@@ -7528,9 +7528,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
7528
7528
  channel: string | null;
7529
7529
  address: string | null;
7530
7530
  name: string;
7531
- notes: string | null;
7532
- contactProfile: string | null;
7533
- socialProfileUrl: string | null;
7534
7531
  company: {
7535
7532
  id: string;
7536
7533
  createdAt: Date;
@@ -7541,6 +7538,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
7541
7538
  phone?: string | null | undefined;
7542
7539
  industry?: string | null | undefined;
7543
7540
  } | null;
7541
+ notes: string | null;
7542
+ contactProfile: string | null;
7543
+ socialProfileUrl: string | null;
7544
7544
  tags?: {
7545
7545
  id: string;
7546
7546
  name: string;
@@ -8290,9 +8290,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8290
8290
  channel: string | null;
8291
8291
  address: string | null;
8292
8292
  name: string;
8293
- notes: string | null;
8294
- contactProfile: string | null;
8295
- socialProfileUrl: string | null;
8296
8293
  company: {
8297
8294
  id: string;
8298
8295
  createdAt: Date;
@@ -8303,6 +8300,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8303
8300
  phone?: string | null | undefined;
8304
8301
  industry?: string | null | undefined;
8305
8302
  } | null;
8303
+ notes: string | null;
8304
+ contactProfile: string | null;
8305
+ socialProfileUrl: string | null;
8306
8306
  tags?: {
8307
8307
  id: string;
8308
8308
  name: string;
@@ -8556,9 +8556,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8556
8556
  channel: string | null;
8557
8557
  address: string | null;
8558
8558
  name: string;
8559
- notes: string | null;
8560
- contactProfile: string | null;
8561
- socialProfileUrl: string | null;
8562
8559
  company: {
8563
8560
  id: string;
8564
8561
  createdAt: Date;
@@ -8569,6 +8566,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8569
8566
  phone?: string | null | undefined;
8570
8567
  industry?: string | null | undefined;
8571
8568
  } | null;
8569
+ notes: string | null;
8570
+ contactProfile: string | null;
8571
+ socialProfileUrl: string | null;
8572
8572
  tags?: {
8573
8573
  id: string;
8574
8574
  name: string;
@@ -9474,9 +9474,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
9474
9474
  channel: string | null;
9475
9475
  address: string | null;
9476
9476
  name: string;
9477
- notes: string | null;
9478
- contactProfile: string | null;
9479
- socialProfileUrl: string | null;
9480
9477
  company: {
9481
9478
  id: string;
9482
9479
  createdAt: Date;
@@ -9487,6 +9484,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
9487
9484
  phone?: string | null | undefined;
9488
9485
  industry?: string | null | undefined;
9489
9486
  } | null;
9487
+ notes: string | null;
9488
+ contactProfile: string | null;
9489
+ socialProfileUrl: string | null;
9490
9490
  tags?: {
9491
9491
  id: string;
9492
9492
  name: string;
@@ -9898,9 +9898,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
9898
9898
  channel: string | null;
9899
9899
  address: string | null;
9900
9900
  name: string;
9901
- notes: string | null;
9902
- contactProfile: string | null;
9903
- socialProfileUrl: string | null;
9904
9901
  company: {
9905
9902
  id: string;
9906
9903
  createdAt: Date;
@@ -9911,6 +9908,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
9911
9908
  phone?: string | null | undefined;
9912
9909
  industry?: string | null | undefined;
9913
9910
  } | null;
9911
+ notes: string | null;
9912
+ contactProfile: string | null;
9913
+ socialProfileUrl: string | null;
9914
9914
  tags?: {
9915
9915
  id: string;
9916
9916
  name: string;
@@ -10324,9 +10324,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10324
10324
  channel: string | null;
10325
10325
  address: string | null;
10326
10326
  name: string;
10327
- notes: string | null;
10328
- contactProfile: string | null;
10329
- socialProfileUrl: string | null;
10330
10327
  company: {
10331
10328
  id: string;
10332
10329
  createdAt: Date;
@@ -10337,6 +10334,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10337
10334
  phone?: string | null | undefined;
10338
10335
  industry?: string | null | undefined;
10339
10336
  } | null;
10337
+ notes: string | null;
10338
+ contactProfile: string | null;
10339
+ socialProfileUrl: string | null;
10340
10340
  tags?: {
10341
10341
  id: string;
10342
10342
  name: string;
@@ -10750,9 +10750,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10750
10750
  channel: string | null;
10751
10751
  address: string | null;
10752
10752
  name: string;
10753
- notes: string | null;
10754
- contactProfile: string | null;
10755
- socialProfileUrl: string | null;
10756
10753
  company: {
10757
10754
  id: string;
10758
10755
  createdAt: Date;
@@ -10763,6 +10760,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10763
10760
  phone?: string | null | undefined;
10764
10761
  industry?: string | null | undefined;
10765
10762
  } | null;
10763
+ notes: string | null;
10764
+ contactProfile: string | null;
10765
+ socialProfileUrl: string | null;
10766
10766
  tags?: {
10767
10767
  id: string;
10768
10768
  name: string;