@kl1/contracts 1.0.44 → 1.0.45

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 (47) hide show
  1. package/dist/index.js +97 -33
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +97 -33
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/chat/index.d.ts +193 -0
  6. package/dist/src/chat/index.d.ts.map +1 -1
  7. package/dist/src/chat/schema.d.ts +44 -0
  8. package/dist/src/chat/schema.d.ts.map +1 -1
  9. package/dist/src/chat/validation.d.ts +48 -0
  10. package/dist/src/chat/validation.d.ts.map +1 -1
  11. package/dist/src/comment/index.d.ts +1540 -150
  12. package/dist/src/comment/index.d.ts.map +1 -1
  13. package/dist/src/comment/schema.d.ts +424 -22
  14. package/dist/src/comment/schema.d.ts.map +1 -1
  15. package/dist/src/contact/index.d.ts +77 -0
  16. package/dist/src/contact/index.d.ts.map +1 -1
  17. package/dist/src/contact/schema.d.ts +16 -0
  18. package/dist/src/contact/schema.d.ts.map +1 -1
  19. package/dist/src/contact/validation.d.ts +63 -0
  20. package/dist/src/contact/validation.d.ts.map +1 -1
  21. package/dist/src/contract.d.ts +5337 -818
  22. package/dist/src/contract.d.ts.map +1 -1
  23. package/dist/src/cx-log/index.d.ts +54 -0
  24. package/dist/src/cx-log/index.d.ts.map +1 -1
  25. package/dist/src/cx-log/schema.d.ts +46 -0
  26. package/dist/src/cx-log/schema.d.ts.map +1 -1
  27. package/dist/src/mail/mail-contract.d.ts +7 -0
  28. package/dist/src/mail/mail-contract.d.ts.map +1 -1
  29. package/dist/src/mail/room-contract.d.ts +7 -0
  30. package/dist/src/mail/room-contract.d.ts.map +1 -1
  31. package/dist/src/mail/schemas/room.schema.d.ts +5 -0
  32. package/dist/src/mail/schemas/room.schema.d.ts.map +1 -1
  33. package/dist/src/messenger/index.d.ts +24 -0
  34. package/dist/src/messenger/index.d.ts.map +1 -1
  35. package/dist/src/telephony-cdr/call-report.schema.d.ts +334 -1
  36. package/dist/src/telephony-cdr/call-report.schema.d.ts.map +1 -1
  37. package/dist/src/telephony-cdr/index.d.ts +650 -1
  38. package/dist/src/telephony-cdr/index.d.ts.map +1 -1
  39. package/dist/src/telephony-cdr/schema.d.ts +670 -0
  40. package/dist/src/telephony-cdr/schema.d.ts.map +1 -1
  41. package/dist/src/ticket/index.d.ts +2338 -171
  42. package/dist/src/ticket/index.d.ts.map +1 -1
  43. package/dist/src/ticket/schema.d.ts +327 -12
  44. package/dist/src/ticket/schema.d.ts.map +1 -1
  45. package/dist/src/upload/schema.d.ts +3 -0
  46. package/dist/src/upload/schema.d.ts.map +1 -1
  47. package/package.json +1 -1
@@ -397,8 +397,212 @@ export declare const commentContract: {
397
397
  status: z.ZodString;
398
398
  contactId: z.ZodString;
399
399
  creatorId: z.ZodString;
400
+ creator: z.ZodNullable<z.ZodOptional<z.ZodObject<{
401
+ id: z.ZodString;
402
+ createdAt: z.ZodDate;
403
+ updatedAt: z.ZodDate;
404
+ deletedAt: z.ZodNullable<z.ZodDate>;
405
+ name: z.ZodString;
406
+ email: z.ZodString;
407
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
408
+ password: z.ZodString;
409
+ address: z.ZodNullable<z.ZodString>;
410
+ phone: z.ZodNullable<z.ZodString>;
411
+ notificationCount: z.ZodNullable<z.ZodNumber>;
412
+ roles: z.ZodArray<z.ZodObject<{
413
+ id: z.ZodString;
414
+ createdAt: z.ZodDate;
415
+ updatedAt: z.ZodDate;
416
+ deletedAt: z.ZodNullable<z.ZodDate>;
417
+ systemName: z.ZodString;
418
+ displayName: z.ZodString;
419
+ description: z.ZodNullable<z.ZodString>;
420
+ permissions: z.ZodArray<z.ZodObject<{
421
+ id: z.ZodString;
422
+ createdAt: z.ZodDate;
423
+ updatedAt: z.ZodDate;
424
+ deletedAt: z.ZodNullable<z.ZodDate>;
425
+ systemName: z.ZodString;
426
+ displayName: z.ZodString;
427
+ description: z.ZodNullable<z.ZodString>;
428
+ }, "strip", z.ZodTypeAny, {
429
+ id: string;
430
+ description: string | null;
431
+ createdAt: Date;
432
+ updatedAt: Date;
433
+ deletedAt: Date | null;
434
+ systemName: string;
435
+ displayName: string;
436
+ }, {
437
+ id: string;
438
+ description: string | null;
439
+ createdAt: Date;
440
+ updatedAt: Date;
441
+ deletedAt: Date | null;
442
+ systemName: string;
443
+ displayName: string;
444
+ }>, "many">;
445
+ }, "strip", z.ZodTypeAny, {
446
+ id: string;
447
+ description: string | null;
448
+ createdAt: Date;
449
+ updatedAt: Date;
450
+ deletedAt: Date | null;
451
+ systemName: string;
452
+ displayName: string;
453
+ permissions: {
454
+ id: string;
455
+ description: string | null;
456
+ createdAt: Date;
457
+ updatedAt: Date;
458
+ deletedAt: Date | null;
459
+ systemName: string;
460
+ displayName: string;
461
+ }[];
462
+ }, {
463
+ id: string;
464
+ description: string | null;
465
+ createdAt: Date;
466
+ updatedAt: Date;
467
+ deletedAt: Date | null;
468
+ systemName: string;
469
+ displayName: string;
470
+ permissions: {
471
+ id: string;
472
+ description: string | null;
473
+ createdAt: Date;
474
+ updatedAt: Date;
475
+ deletedAt: Date | null;
476
+ systemName: string;
477
+ displayName: string;
478
+ }[];
479
+ }>, "many">;
480
+ extension: z.ZodObject<{
481
+ id: z.ZodString;
482
+ createdAt: z.ZodDate;
483
+ updatedAt: z.ZodDate;
484
+ deletedAt: z.ZodNullable<z.ZodDate>;
485
+ userId: z.ZodNullable<z.ZodString>;
486
+ sipServerUrl: z.ZodString;
487
+ sipUserName: z.ZodString;
488
+ webphoneLoginUser: z.ZodString;
489
+ extensionId: z.ZodNumber;
490
+ extensionName: z.ZodString;
491
+ telephonySignature: z.ZodNullable<z.ZodString>;
492
+ }, "strip", z.ZodTypeAny, {
493
+ id: string;
494
+ createdAt: Date;
495
+ updatedAt: Date;
496
+ deletedAt: Date | null;
497
+ userId: string | null;
498
+ sipServerUrl: string;
499
+ sipUserName: string;
500
+ webphoneLoginUser: string;
501
+ extensionId: number;
502
+ extensionName: string;
503
+ telephonySignature: string | null;
504
+ }, {
505
+ id: string;
506
+ createdAt: Date;
507
+ updatedAt: Date;
508
+ deletedAt: Date | null;
509
+ userId: string | null;
510
+ sipServerUrl: string;
511
+ sipUserName: string;
512
+ webphoneLoginUser: string;
513
+ extensionId: number;
514
+ extensionName: string;
515
+ telephonySignature: string | null;
516
+ }>;
517
+ }, "strip", z.ZodTypeAny, {
518
+ id: string;
519
+ address: string | null;
520
+ name: string;
521
+ email: string;
522
+ createdAt: Date;
523
+ updatedAt: Date;
524
+ deletedAt: Date | null;
525
+ emailVerifiedAt: Date | null;
526
+ password: string;
527
+ phone: string | null;
528
+ notificationCount: number | null;
529
+ roles: {
530
+ id: string;
531
+ description: string | null;
532
+ createdAt: Date;
533
+ updatedAt: Date;
534
+ deletedAt: Date | null;
535
+ systemName: string;
536
+ displayName: string;
537
+ permissions: {
538
+ id: string;
539
+ description: string | null;
540
+ createdAt: Date;
541
+ updatedAt: Date;
542
+ deletedAt: Date | null;
543
+ systemName: string;
544
+ displayName: string;
545
+ }[];
546
+ }[];
547
+ extension: {
548
+ id: string;
549
+ createdAt: Date;
550
+ updatedAt: Date;
551
+ deletedAt: Date | null;
552
+ userId: string | null;
553
+ sipServerUrl: string;
554
+ sipUserName: string;
555
+ webphoneLoginUser: string;
556
+ extensionId: number;
557
+ extensionName: string;
558
+ telephonySignature: string | null;
559
+ };
560
+ }, {
561
+ id: string;
562
+ address: string | null;
563
+ name: string;
564
+ email: string;
565
+ createdAt: Date;
566
+ updatedAt: Date;
567
+ deletedAt: Date | null;
568
+ emailVerifiedAt: Date | null;
569
+ password: string;
570
+ phone: string | null;
571
+ notificationCount: number | null;
572
+ roles: {
573
+ id: string;
574
+ description: string | null;
575
+ createdAt: Date;
576
+ updatedAt: Date;
577
+ deletedAt: Date | null;
578
+ systemName: string;
579
+ displayName: string;
580
+ permissions: {
581
+ id: string;
582
+ description: string | null;
583
+ createdAt: Date;
584
+ updatedAt: Date;
585
+ deletedAt: Date | null;
586
+ systemName: string;
587
+ displayName: string;
588
+ }[];
589
+ }[];
590
+ extension: {
591
+ id: string;
592
+ createdAt: Date;
593
+ updatedAt: Date;
594
+ deletedAt: Date | null;
595
+ userId: string | null;
596
+ sipServerUrl: string;
597
+ sipUserName: string;
598
+ webphoneLoginUser: string;
599
+ extensionId: number;
600
+ extensionName: string;
601
+ telephonySignature: string | null;
602
+ };
603
+ }>>>;
400
604
  assigneeId: z.ZodString;
401
- assignee: z.ZodObject<{
605
+ assignee: z.ZodNullable<z.ZodOptional<z.ZodObject<{
402
606
  id: z.ZodString;
403
607
  createdAt: z.ZodDate;
404
608
  updatedAt: z.ZodDate;
@@ -601,7 +805,7 @@ export declare const commentContract: {
601
805
  extensionName: string;
602
806
  telephonySignature: string | null;
603
807
  };
604
- }>;
808
+ }>>>;
605
809
  reasonToAssign: z.ZodNullable<z.ZodString>;
606
810
  ticketNumber: z.ZodOptional<z.ZodNumber>;
607
811
  customFields: z.ZodArray<z.ZodObject<{
@@ -704,6 +908,7 @@ export declare const commentContract: {
704
908
  fileSize: z.ZodNumber;
705
909
  fileKey: z.ZodString;
706
910
  fileUrl: z.ZodNullable<z.ZodString>;
911
+ status: z.ZodOptional<z.ZodString>;
707
912
  }, "strip", z.ZodTypeAny, {
708
913
  id: string;
709
914
  createdAt: Date;
@@ -714,6 +919,7 @@ export declare const commentContract: {
714
919
  bucketName: string;
715
920
  fileSize: number;
716
921
  fileUrl: string | null;
922
+ status?: string | undefined;
717
923
  }, {
718
924
  id: string;
719
925
  createdAt: Date;
@@ -724,6 +930,7 @@ export declare const commentContract: {
724
930
  bucketName: string;
725
931
  fileSize: number;
726
932
  fileUrl: string | null;
933
+ status?: string | undefined;
727
934
  }>, "many">;
728
935
  }, "strip", z.ZodTypeAny, {
729
936
  id: string;
@@ -758,6 +965,7 @@ export declare const commentContract: {
758
965
  bucketName: string;
759
966
  fileSize: number;
760
967
  fileUrl: string | null;
968
+ status?: string | undefined;
761
969
  }[];
762
970
  }, {
763
971
  id: string;
@@ -792,6 +1000,7 @@ export declare const commentContract: {
792
1000
  bucketName: string;
793
1001
  fileSize: number;
794
1002
  fileUrl: string | null;
1003
+ status?: string | undefined;
795
1004
  }[];
796
1005
  }>, "many">;
797
1006
  tags: z.ZodArray<z.ZodObject<{
@@ -1214,6 +1423,7 @@ export declare const commentContract: {
1214
1423
  fileSize: z.ZodNumber;
1215
1424
  fileKey: z.ZodString;
1216
1425
  fileUrl: z.ZodNullable<z.ZodString>;
1426
+ status: z.ZodOptional<z.ZodString>;
1217
1427
  }, "strip", z.ZodTypeAny, {
1218
1428
  id: string;
1219
1429
  createdAt: Date;
@@ -1224,6 +1434,7 @@ export declare const commentContract: {
1224
1434
  bucketName: string;
1225
1435
  fileSize: number;
1226
1436
  fileUrl: string | null;
1437
+ status?: string | undefined;
1227
1438
  }, {
1228
1439
  id: string;
1229
1440
  createdAt: Date;
@@ -1234,6 +1445,7 @@ export declare const commentContract: {
1234
1445
  bucketName: string;
1235
1446
  fileSize: number;
1236
1447
  fileUrl: string | null;
1448
+ status?: string | undefined;
1237
1449
  }>;
1238
1450
  }, "strip", z.ZodTypeAny, {
1239
1451
  id: string;
@@ -1251,6 +1463,7 @@ export declare const commentContract: {
1251
1463
  bucketName: string;
1252
1464
  fileSize: number;
1253
1465
  fileUrl: string | null;
1466
+ status?: string | undefined;
1254
1467
  };
1255
1468
  }, {
1256
1469
  id: string;
@@ -1268,6 +1481,7 @@ export declare const commentContract: {
1268
1481
  bucketName: string;
1269
1482
  fileSize: number;
1270
1483
  fileUrl: string | null;
1484
+ status?: string | undefined;
1271
1485
  };
1272
1486
  }>, "many">;
1273
1487
  }, "strip", z.ZodTypeAny, {
@@ -1309,6 +1523,7 @@ export declare const commentContract: {
1309
1523
  bucketName: string;
1310
1524
  fileSize: number;
1311
1525
  fileUrl: string | null;
1526
+ status?: string | undefined;
1312
1527
  };
1313
1528
  }[];
1314
1529
  }, {
@@ -1350,6 +1565,7 @@ export declare const commentContract: {
1350
1565
  bucketName: string;
1351
1566
  fileSize: number;
1352
1567
  fileUrl: string | null;
1568
+ status?: string | undefined;
1353
1569
  };
1354
1570
  }[];
1355
1571
  }>, "many">;
@@ -1504,6 +1720,7 @@ export declare const commentContract: {
1504
1720
  bucketName: string;
1505
1721
  fileSize: number;
1506
1722
  fileUrl: string | null;
1723
+ status?: string | undefined;
1507
1724
  };
1508
1725
  }[];
1509
1726
  }[];
@@ -1606,6 +1823,7 @@ export declare const commentContract: {
1606
1823
  bucketName: string;
1607
1824
  fileSize: number;
1608
1825
  fileUrl: string | null;
1826
+ status?: string | undefined;
1609
1827
  };
1610
1828
  }[];
1611
1829
  }[];
@@ -1742,6 +1960,7 @@ export declare const commentContract: {
1742
1960
  bucketName: string;
1743
1961
  fileSize: number;
1744
1962
  fileUrl: string | null;
1963
+ status?: string | undefined;
1745
1964
  };
1746
1965
  }[];
1747
1966
  }[];
@@ -1831,6 +2050,7 @@ export declare const commentContract: {
1831
2050
  bucketName: string;
1832
2051
  fileSize: number;
1833
2052
  fileUrl: string | null;
2053
+ status?: string | undefined;
1834
2054
  }[];
1835
2055
  }[];
1836
2056
  tags: {
@@ -1841,7 +2061,10 @@ export declare const commentContract: {
1841
2061
  deletedAt: Date | null;
1842
2062
  }[];
1843
2063
  contactId: string;
1844
- assignee: {
2064
+ assigneeId: string;
2065
+ creatorId: string;
2066
+ reasonToAssign: string | null;
2067
+ creator?: {
1845
2068
  id: string;
1846
2069
  address: string | null;
1847
2070
  name: string;
@@ -1884,10 +2107,51 @@ export declare const commentContract: {
1884
2107
  extensionName: string;
1885
2108
  telephonySignature: string | null;
1886
2109
  };
1887
- };
1888
- assigneeId: string;
1889
- creatorId: string;
1890
- reasonToAssign: string | null;
2110
+ } | null | undefined;
2111
+ assignee?: {
2112
+ id: string;
2113
+ address: string | null;
2114
+ name: string;
2115
+ email: string;
2116
+ createdAt: Date;
2117
+ updatedAt: Date;
2118
+ deletedAt: Date | null;
2119
+ emailVerifiedAt: Date | null;
2120
+ password: string;
2121
+ phone: string | null;
2122
+ notificationCount: number | null;
2123
+ roles: {
2124
+ id: string;
2125
+ description: string | null;
2126
+ createdAt: Date;
2127
+ updatedAt: Date;
2128
+ deletedAt: Date | null;
2129
+ systemName: string;
2130
+ displayName: string;
2131
+ permissions: {
2132
+ id: string;
2133
+ description: string | null;
2134
+ createdAt: Date;
2135
+ updatedAt: Date;
2136
+ deletedAt: Date | null;
2137
+ systemName: string;
2138
+ displayName: string;
2139
+ }[];
2140
+ }[];
2141
+ extension: {
2142
+ id: string;
2143
+ createdAt: Date;
2144
+ updatedAt: Date;
2145
+ deletedAt: Date | null;
2146
+ userId: string | null;
2147
+ sipServerUrl: string;
2148
+ sipUserName: string;
2149
+ webphoneLoginUser: string;
2150
+ extensionId: number;
2151
+ extensionName: string;
2152
+ telephonySignature: string | null;
2153
+ };
2154
+ } | null | undefined;
1891
2155
  ticketNumber?: number | undefined;
1892
2156
  }, {
1893
2157
  type: string;
@@ -1969,6 +2233,7 @@ export declare const commentContract: {
1969
2233
  bucketName: string;
1970
2234
  fileSize: number;
1971
2235
  fileUrl: string | null;
2236
+ status?: string | undefined;
1972
2237
  };
1973
2238
  }[];
1974
2239
  }[];
@@ -2058,6 +2323,7 @@ export declare const commentContract: {
2058
2323
  bucketName: string;
2059
2324
  fileSize: number;
2060
2325
  fileUrl: string | null;
2326
+ status?: string | undefined;
2061
2327
  }[];
2062
2328
  }[];
2063
2329
  tags: {
@@ -2068,7 +2334,10 @@ export declare const commentContract: {
2068
2334
  deletedAt: Date | null;
2069
2335
  }[];
2070
2336
  contactId: string;
2071
- assignee: {
2337
+ assigneeId: string;
2338
+ creatorId: string;
2339
+ reasonToAssign: string | null;
2340
+ creator?: {
2072
2341
  id: string;
2073
2342
  address: string | null;
2074
2343
  name: string;
@@ -2111,10 +2380,51 @@ export declare const commentContract: {
2111
2380
  extensionName: string;
2112
2381
  telephonySignature: string | null;
2113
2382
  };
2114
- };
2115
- assigneeId: string;
2116
- creatorId: string;
2117
- reasonToAssign: string | null;
2383
+ } | null | undefined;
2384
+ assignee?: {
2385
+ id: string;
2386
+ address: string | null;
2387
+ name: string;
2388
+ email: string;
2389
+ createdAt: Date;
2390
+ updatedAt: Date;
2391
+ deletedAt: Date | null;
2392
+ emailVerifiedAt: Date | null;
2393
+ password: string;
2394
+ phone: string | null;
2395
+ notificationCount: number | null;
2396
+ roles: {
2397
+ id: string;
2398
+ description: string | null;
2399
+ createdAt: Date;
2400
+ updatedAt: Date;
2401
+ deletedAt: Date | null;
2402
+ systemName: string;
2403
+ displayName: string;
2404
+ permissions: {
2405
+ id: string;
2406
+ description: string | null;
2407
+ createdAt: Date;
2408
+ updatedAt: Date;
2409
+ deletedAt: Date | null;
2410
+ systemName: string;
2411
+ displayName: string;
2412
+ }[];
2413
+ }[];
2414
+ extension: {
2415
+ id: string;
2416
+ createdAt: Date;
2417
+ updatedAt: Date;
2418
+ deletedAt: Date | null;
2419
+ userId: string | null;
2420
+ sipServerUrl: string;
2421
+ sipUserName: string;
2422
+ webphoneLoginUser: string;
2423
+ extensionId: number;
2424
+ extensionName: string;
2425
+ telephonySignature: string | null;
2426
+ };
2427
+ } | null | undefined;
2118
2428
  ticketNumber?: number | undefined;
2119
2429
  }>;
2120
2430
  agent: z.ZodObject<{
@@ -2510,6 +2820,7 @@ export declare const commentContract: {
2510
2820
  bucketName: string;
2511
2821
  fileSize: number;
2512
2822
  fileUrl: string | null;
2823
+ status?: string | undefined;
2513
2824
  };
2514
2825
  }[];
2515
2826
  }[];
@@ -2599,6 +2910,7 @@ export declare const commentContract: {
2599
2910
  bucketName: string;
2600
2911
  fileSize: number;
2601
2912
  fileUrl: string | null;
2913
+ status?: string | undefined;
2602
2914
  }[];
2603
2915
  }[];
2604
2916
  tags: {
@@ -2609,7 +2921,10 @@ export declare const commentContract: {
2609
2921
  deletedAt: Date | null;
2610
2922
  }[];
2611
2923
  contactId: string;
2612
- assignee: {
2924
+ assigneeId: string;
2925
+ creatorId: string;
2926
+ reasonToAssign: string | null;
2927
+ creator?: {
2613
2928
  id: string;
2614
2929
  address: string | null;
2615
2930
  name: string;
@@ -2652,10 +2967,51 @@ export declare const commentContract: {
2652
2967
  extensionName: string;
2653
2968
  telephonySignature: string | null;
2654
2969
  };
2655
- };
2656
- assigneeId: string;
2657
- creatorId: string;
2658
- reasonToAssign: string | null;
2970
+ } | null | undefined;
2971
+ assignee?: {
2972
+ id: string;
2973
+ address: string | null;
2974
+ name: string;
2975
+ email: string;
2976
+ createdAt: Date;
2977
+ updatedAt: Date;
2978
+ deletedAt: Date | null;
2979
+ emailVerifiedAt: Date | null;
2980
+ password: string;
2981
+ phone: string | null;
2982
+ notificationCount: number | null;
2983
+ roles: {
2984
+ id: string;
2985
+ description: string | null;
2986
+ createdAt: Date;
2987
+ updatedAt: Date;
2988
+ deletedAt: Date | null;
2989
+ systemName: string;
2990
+ displayName: string;
2991
+ permissions: {
2992
+ id: string;
2993
+ description: string | null;
2994
+ createdAt: Date;
2995
+ updatedAt: Date;
2996
+ deletedAt: Date | null;
2997
+ systemName: string;
2998
+ displayName: string;
2999
+ }[];
3000
+ }[];
3001
+ extension: {
3002
+ id: string;
3003
+ createdAt: Date;
3004
+ updatedAt: Date;
3005
+ deletedAt: Date | null;
3006
+ userId: string | null;
3007
+ sipServerUrl: string;
3008
+ sipUserName: string;
3009
+ webphoneLoginUser: string;
3010
+ extensionId: number;
3011
+ extensionName: string;
3012
+ telephonySignature: string | null;
3013
+ };
3014
+ } | null | undefined;
2659
3015
  ticketNumber?: number | undefined;
2660
3016
  };
2661
3017
  comment: string;
@@ -2849,6 +3205,7 @@ export declare const commentContract: {
2849
3205
  bucketName: string;
2850
3206
  fileSize: number;
2851
3207
  fileUrl: string | null;
3208
+ status?: string | undefined;
2852
3209
  };
2853
3210
  }[];
2854
3211
  }[];
@@ -2938,6 +3295,7 @@ export declare const commentContract: {
2938
3295
  bucketName: string;
2939
3296
  fileSize: number;
2940
3297
  fileUrl: string | null;
3298
+ status?: string | undefined;
2941
3299
  }[];
2942
3300
  }[];
2943
3301
  tags: {
@@ -2948,7 +3306,10 @@ export declare const commentContract: {
2948
3306
  deletedAt: Date | null;
2949
3307
  }[];
2950
3308
  contactId: string;
2951
- assignee: {
3309
+ assigneeId: string;
3310
+ creatorId: string;
3311
+ reasonToAssign: string | null;
3312
+ creator?: {
2952
3313
  id: string;
2953
3314
  address: string | null;
2954
3315
  name: string;
@@ -2991,10 +3352,51 @@ export declare const commentContract: {
2991
3352
  extensionName: string;
2992
3353
  telephonySignature: string | null;
2993
3354
  };
2994
- };
2995
- assigneeId: string;
2996
- creatorId: string;
2997
- reasonToAssign: string | null;
3355
+ } | null | undefined;
3356
+ assignee?: {
3357
+ id: string;
3358
+ address: string | null;
3359
+ name: string;
3360
+ email: string;
3361
+ createdAt: Date;
3362
+ updatedAt: Date;
3363
+ deletedAt: Date | null;
3364
+ emailVerifiedAt: Date | null;
3365
+ password: string;
3366
+ phone: string | null;
3367
+ notificationCount: number | null;
3368
+ roles: {
3369
+ id: string;
3370
+ description: string | null;
3371
+ createdAt: Date;
3372
+ updatedAt: Date;
3373
+ deletedAt: Date | null;
3374
+ systemName: string;
3375
+ displayName: string;
3376
+ permissions: {
3377
+ id: string;
3378
+ description: string | null;
3379
+ createdAt: Date;
3380
+ updatedAt: Date;
3381
+ deletedAt: Date | null;
3382
+ systemName: string;
3383
+ displayName: string;
3384
+ }[];
3385
+ }[];
3386
+ extension: {
3387
+ id: string;
3388
+ createdAt: Date;
3389
+ updatedAt: Date;
3390
+ deletedAt: Date | null;
3391
+ userId: string | null;
3392
+ sipServerUrl: string;
3393
+ sipUserName: string;
3394
+ webphoneLoginUser: string;
3395
+ extensionId: number;
3396
+ extensionName: string;
3397
+ telephonySignature: string | null;
3398
+ };
3399
+ } | null | undefined;
2998
3400
  ticketNumber?: number | undefined;
2999
3401
  };
3000
3402
  comment: string;
@@ -3191,6 +3593,7 @@ export declare const commentContract: {
3191
3593
  bucketName: string;
3192
3594
  fileSize: number;
3193
3595
  fileUrl: string | null;
3596
+ status?: string | undefined;
3194
3597
  };
3195
3598
  }[];
3196
3599
  }[];
@@ -3280,6 +3683,7 @@ export declare const commentContract: {
3280
3683
  bucketName: string;
3281
3684
  fileSize: number;
3282
3685
  fileUrl: string | null;
3686
+ status?: string | undefined;
3283
3687
  }[];
3284
3688
  }[];
3285
3689
  tags: {
@@ -3290,7 +3694,10 @@ export declare const commentContract: {
3290
3694
  deletedAt: Date | null;
3291
3695
  }[];
3292
3696
  contactId: string;
3293
- assignee: {
3697
+ assigneeId: string;
3698
+ creatorId: string;
3699
+ reasonToAssign: string | null;
3700
+ creator?: {
3294
3701
  id: string;
3295
3702
  address: string | null;
3296
3703
  name: string;
@@ -3333,10 +3740,51 @@ export declare const commentContract: {
3333
3740
  extensionName: string;
3334
3741
  telephonySignature: string | null;
3335
3742
  };
3336
- };
3337
- assigneeId: string;
3338
- creatorId: string;
3339
- reasonToAssign: string | null;
3743
+ } | null | undefined;
3744
+ assignee?: {
3745
+ id: string;
3746
+ address: string | null;
3747
+ name: string;
3748
+ email: string;
3749
+ createdAt: Date;
3750
+ updatedAt: Date;
3751
+ deletedAt: Date | null;
3752
+ emailVerifiedAt: Date | null;
3753
+ password: string;
3754
+ phone: string | null;
3755
+ notificationCount: number | null;
3756
+ roles: {
3757
+ id: string;
3758
+ description: string | null;
3759
+ createdAt: Date;
3760
+ updatedAt: Date;
3761
+ deletedAt: Date | null;
3762
+ systemName: string;
3763
+ displayName: string;
3764
+ permissions: {
3765
+ id: string;
3766
+ description: string | null;
3767
+ createdAt: Date;
3768
+ updatedAt: Date;
3769
+ deletedAt: Date | null;
3770
+ systemName: string;
3771
+ displayName: string;
3772
+ }[];
3773
+ }[];
3774
+ extension: {
3775
+ id: string;
3776
+ createdAt: Date;
3777
+ updatedAt: Date;
3778
+ deletedAt: Date | null;
3779
+ userId: string | null;
3780
+ sipServerUrl: string;
3781
+ sipUserName: string;
3782
+ webphoneLoginUser: string;
3783
+ extensionId: number;
3784
+ extensionName: string;
3785
+ telephonySignature: string | null;
3786
+ };
3787
+ } | null | undefined;
3340
3788
  ticketNumber?: number | undefined;
3341
3789
  };
3342
3790
  comment: string;
@@ -3533,6 +3981,7 @@ export declare const commentContract: {
3533
3981
  bucketName: string;
3534
3982
  fileSize: number;
3535
3983
  fileUrl: string | null;
3984
+ status?: string | undefined;
3536
3985
  };
3537
3986
  }[];
3538
3987
  }[];
@@ -3622,6 +4071,7 @@ export declare const commentContract: {
3622
4071
  bucketName: string;
3623
4072
  fileSize: number;
3624
4073
  fileUrl: string | null;
4074
+ status?: string | undefined;
3625
4075
  }[];
3626
4076
  }[];
3627
4077
  tags: {
@@ -3632,7 +4082,10 @@ export declare const commentContract: {
3632
4082
  deletedAt: Date | null;
3633
4083
  }[];
3634
4084
  contactId: string;
3635
- assignee: {
4085
+ assigneeId: string;
4086
+ creatorId: string;
4087
+ reasonToAssign: string | null;
4088
+ creator?: {
3636
4089
  id: string;
3637
4090
  address: string | null;
3638
4091
  name: string;
@@ -3675,10 +4128,51 @@ export declare const commentContract: {
3675
4128
  extensionName: string;
3676
4129
  telephonySignature: string | null;
3677
4130
  };
3678
- };
3679
- assigneeId: string;
3680
- creatorId: string;
3681
- reasonToAssign: string | null;
4131
+ } | null | undefined;
4132
+ assignee?: {
4133
+ id: string;
4134
+ address: string | null;
4135
+ name: string;
4136
+ email: string;
4137
+ createdAt: Date;
4138
+ updatedAt: Date;
4139
+ deletedAt: Date | null;
4140
+ emailVerifiedAt: Date | null;
4141
+ password: string;
4142
+ phone: string | null;
4143
+ notificationCount: number | null;
4144
+ roles: {
4145
+ id: string;
4146
+ description: string | null;
4147
+ createdAt: Date;
4148
+ updatedAt: Date;
4149
+ deletedAt: Date | null;
4150
+ systemName: string;
4151
+ displayName: string;
4152
+ permissions: {
4153
+ id: string;
4154
+ description: string | null;
4155
+ createdAt: Date;
4156
+ updatedAt: Date;
4157
+ deletedAt: Date | null;
4158
+ systemName: string;
4159
+ displayName: string;
4160
+ }[];
4161
+ }[];
4162
+ extension: {
4163
+ id: string;
4164
+ createdAt: Date;
4165
+ updatedAt: Date;
4166
+ deletedAt: Date | null;
4167
+ userId: string | null;
4168
+ sipServerUrl: string;
4169
+ sipUserName: string;
4170
+ webphoneLoginUser: string;
4171
+ extensionId: number;
4172
+ extensionName: string;
4173
+ telephonySignature: string | null;
4174
+ };
4175
+ } | null | undefined;
3682
4176
  ticketNumber?: number | undefined;
3683
4177
  };
3684
4178
  comment: string;
@@ -3969,27 +4463,272 @@ export declare const commentContract: {
3969
4463
  entity: z.ZodString;
3970
4464
  description: z.ZodString;
3971
4465
  }, "strip", z.ZodTypeAny, {
3972
- id: string;
3973
- description: string;
3974
- createdAt: Date;
3975
- updatedAt: Date;
3976
- deletedAt: Date | null;
3977
- entity: string;
3978
- }, {
3979
- id: string;
3980
- description: string;
3981
- createdAt: Date;
3982
- updatedAt: Date;
3983
- deletedAt: Date | null;
3984
- entity: string;
3985
- }>;
3986
- }, "strip", z.ZodTypeAny, {
3987
- id: string;
3988
- description: string;
3989
- createdAt: Date;
3990
- updatedAt: Date;
3991
- deletedAt: Date | null;
3992
- actor: {
4466
+ id: string;
4467
+ description: string;
4468
+ createdAt: Date;
4469
+ updatedAt: Date;
4470
+ deletedAt: Date | null;
4471
+ entity: string;
4472
+ }, {
4473
+ id: string;
4474
+ description: string;
4475
+ createdAt: Date;
4476
+ updatedAt: Date;
4477
+ deletedAt: Date | null;
4478
+ entity: string;
4479
+ }>;
4480
+ }, "strip", z.ZodTypeAny, {
4481
+ id: string;
4482
+ description: string;
4483
+ createdAt: Date;
4484
+ updatedAt: Date;
4485
+ deletedAt: Date | null;
4486
+ actor: {
4487
+ id: string;
4488
+ address: string | null;
4489
+ name: string;
4490
+ email: string;
4491
+ createdAt: Date;
4492
+ updatedAt: Date;
4493
+ deletedAt: Date | null;
4494
+ emailVerifiedAt: Date | null;
4495
+ password: string;
4496
+ phone: string | null;
4497
+ notificationCount: number | null;
4498
+ roles: {
4499
+ id: string;
4500
+ description: string | null;
4501
+ createdAt: Date;
4502
+ updatedAt: Date;
4503
+ deletedAt: Date | null;
4504
+ systemName: string;
4505
+ displayName: string;
4506
+ permissions: {
4507
+ id: string;
4508
+ description: string | null;
4509
+ createdAt: Date;
4510
+ updatedAt: Date;
4511
+ deletedAt: Date | null;
4512
+ systemName: string;
4513
+ displayName: string;
4514
+ }[];
4515
+ }[];
4516
+ extension: {
4517
+ id: string;
4518
+ createdAt: Date;
4519
+ updatedAt: Date;
4520
+ deletedAt: Date | null;
4521
+ userId: string | null;
4522
+ sipServerUrl: string;
4523
+ sipUserName: string;
4524
+ webphoneLoginUser: string;
4525
+ extensionId: number;
4526
+ extensionName: string;
4527
+ telephonySignature: string | null;
4528
+ };
4529
+ };
4530
+ entityId: string;
4531
+ entityType: {
4532
+ id: string;
4533
+ description: string;
4534
+ createdAt: Date;
4535
+ updatedAt: Date;
4536
+ deletedAt: Date | null;
4537
+ entity: string;
4538
+ };
4539
+ }, {
4540
+ id: string;
4541
+ description: string;
4542
+ createdAt: Date;
4543
+ updatedAt: Date;
4544
+ deletedAt: Date | null;
4545
+ actor: {
4546
+ id: string;
4547
+ address: string | null;
4548
+ name: string;
4549
+ email: string;
4550
+ createdAt: Date;
4551
+ updatedAt: Date;
4552
+ deletedAt: Date | null;
4553
+ emailVerifiedAt: Date | null;
4554
+ password: string;
4555
+ phone: string | null;
4556
+ notificationCount: number | null;
4557
+ roles: {
4558
+ id: string;
4559
+ description: string | null;
4560
+ createdAt: Date;
4561
+ updatedAt: Date;
4562
+ deletedAt: Date | null;
4563
+ systemName: string;
4564
+ displayName: string;
4565
+ permissions: {
4566
+ id: string;
4567
+ description: string | null;
4568
+ createdAt: Date;
4569
+ updatedAt: Date;
4570
+ deletedAt: Date | null;
4571
+ systemName: string;
4572
+ displayName: string;
4573
+ }[];
4574
+ }[];
4575
+ extension: {
4576
+ id: string;
4577
+ createdAt: Date;
4578
+ updatedAt: Date;
4579
+ deletedAt: Date | null;
4580
+ userId: string | null;
4581
+ sipServerUrl: string;
4582
+ sipUserName: string;
4583
+ webphoneLoginUser: string;
4584
+ extensionId: number;
4585
+ extensionName: string;
4586
+ telephonySignature: string | null;
4587
+ };
4588
+ };
4589
+ entityId: string;
4590
+ entityType: {
4591
+ id: string;
4592
+ description: string;
4593
+ createdAt: Date;
4594
+ updatedAt: Date;
4595
+ deletedAt: Date | null;
4596
+ entity: string;
4597
+ };
4598
+ }>, "many">;
4599
+ comment: z.ZodString;
4600
+ mentions: z.ZodArray<z.ZodString, "many">;
4601
+ ticket: z.ZodObject<{
4602
+ id: z.ZodString;
4603
+ createdAt: z.ZodDate;
4604
+ updatedAt: z.ZodDate;
4605
+ deletedAt: z.ZodNullable<z.ZodDate>;
4606
+ title: z.ZodString;
4607
+ description: z.ZodNullable<z.ZodString>;
4608
+ type: z.ZodString;
4609
+ channel: z.ZodString;
4610
+ priority: z.ZodString;
4611
+ status: z.ZodString;
4612
+ contactId: z.ZodString;
4613
+ creatorId: z.ZodString;
4614
+ creator: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4615
+ id: z.ZodString;
4616
+ createdAt: z.ZodDate;
4617
+ updatedAt: z.ZodDate;
4618
+ deletedAt: z.ZodNullable<z.ZodDate>;
4619
+ name: z.ZodString;
4620
+ email: z.ZodString;
4621
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
4622
+ password: z.ZodString;
4623
+ address: z.ZodNullable<z.ZodString>;
4624
+ phone: z.ZodNullable<z.ZodString>;
4625
+ notificationCount: z.ZodNullable<z.ZodNumber>;
4626
+ roles: z.ZodArray<z.ZodObject<{
4627
+ id: z.ZodString;
4628
+ createdAt: z.ZodDate;
4629
+ updatedAt: z.ZodDate;
4630
+ deletedAt: z.ZodNullable<z.ZodDate>;
4631
+ systemName: z.ZodString;
4632
+ displayName: z.ZodString;
4633
+ description: z.ZodNullable<z.ZodString>;
4634
+ permissions: z.ZodArray<z.ZodObject<{
4635
+ id: z.ZodString;
4636
+ createdAt: z.ZodDate;
4637
+ updatedAt: z.ZodDate;
4638
+ deletedAt: z.ZodNullable<z.ZodDate>;
4639
+ systemName: z.ZodString;
4640
+ displayName: z.ZodString;
4641
+ description: z.ZodNullable<z.ZodString>;
4642
+ }, "strip", z.ZodTypeAny, {
4643
+ id: string;
4644
+ description: string | null;
4645
+ createdAt: Date;
4646
+ updatedAt: Date;
4647
+ deletedAt: Date | null;
4648
+ systemName: string;
4649
+ displayName: string;
4650
+ }, {
4651
+ id: string;
4652
+ description: string | null;
4653
+ createdAt: Date;
4654
+ updatedAt: Date;
4655
+ deletedAt: Date | null;
4656
+ systemName: string;
4657
+ displayName: string;
4658
+ }>, "many">;
4659
+ }, "strip", z.ZodTypeAny, {
4660
+ id: string;
4661
+ description: string | null;
4662
+ createdAt: Date;
4663
+ updatedAt: Date;
4664
+ deletedAt: Date | null;
4665
+ systemName: string;
4666
+ displayName: string;
4667
+ permissions: {
4668
+ id: string;
4669
+ description: string | null;
4670
+ createdAt: Date;
4671
+ updatedAt: Date;
4672
+ deletedAt: Date | null;
4673
+ systemName: string;
4674
+ displayName: string;
4675
+ }[];
4676
+ }, {
4677
+ id: string;
4678
+ description: string | null;
4679
+ createdAt: Date;
4680
+ updatedAt: Date;
4681
+ deletedAt: Date | null;
4682
+ systemName: string;
4683
+ displayName: string;
4684
+ permissions: {
4685
+ id: string;
4686
+ description: string | null;
4687
+ createdAt: Date;
4688
+ updatedAt: Date;
4689
+ deletedAt: Date | null;
4690
+ systemName: string;
4691
+ displayName: string;
4692
+ }[];
4693
+ }>, "many">;
4694
+ extension: z.ZodObject<{
4695
+ id: z.ZodString;
4696
+ createdAt: z.ZodDate;
4697
+ updatedAt: z.ZodDate;
4698
+ deletedAt: z.ZodNullable<z.ZodDate>;
4699
+ userId: z.ZodNullable<z.ZodString>;
4700
+ sipServerUrl: z.ZodString;
4701
+ sipUserName: z.ZodString;
4702
+ webphoneLoginUser: z.ZodString;
4703
+ extensionId: z.ZodNumber;
4704
+ extensionName: z.ZodString;
4705
+ telephonySignature: z.ZodNullable<z.ZodString>;
4706
+ }, "strip", z.ZodTypeAny, {
4707
+ id: string;
4708
+ createdAt: Date;
4709
+ updatedAt: Date;
4710
+ deletedAt: Date | null;
4711
+ userId: string | null;
4712
+ sipServerUrl: string;
4713
+ sipUserName: string;
4714
+ webphoneLoginUser: string;
4715
+ extensionId: number;
4716
+ extensionName: string;
4717
+ telephonySignature: string | null;
4718
+ }, {
4719
+ id: string;
4720
+ createdAt: Date;
4721
+ updatedAt: Date;
4722
+ deletedAt: Date | null;
4723
+ userId: string | null;
4724
+ sipServerUrl: string;
4725
+ sipUserName: string;
4726
+ webphoneLoginUser: string;
4727
+ extensionId: number;
4728
+ extensionName: string;
4729
+ telephonySignature: string | null;
4730
+ }>;
4731
+ }, "strip", z.ZodTypeAny, {
3993
4732
  id: string;
3994
4733
  address: string | null;
3995
4734
  name: string;
@@ -4032,23 +4771,7 @@ export declare const commentContract: {
4032
4771
  extensionName: string;
4033
4772
  telephonySignature: string | null;
4034
4773
  };
4035
- };
4036
- entityId: string;
4037
- entityType: {
4038
- id: string;
4039
- description: string;
4040
- createdAt: Date;
4041
- updatedAt: Date;
4042
- deletedAt: Date | null;
4043
- entity: string;
4044
- };
4045
- }, {
4046
- id: string;
4047
- description: string;
4048
- createdAt: Date;
4049
- updatedAt: Date;
4050
- deletedAt: Date | null;
4051
- actor: {
4774
+ }, {
4052
4775
  id: string;
4053
4776
  address: string | null;
4054
4777
  name: string;
@@ -4091,34 +4814,9 @@ export declare const commentContract: {
4091
4814
  extensionName: string;
4092
4815
  telephonySignature: string | null;
4093
4816
  };
4094
- };
4095
- entityId: string;
4096
- entityType: {
4097
- id: string;
4098
- description: string;
4099
- createdAt: Date;
4100
- updatedAt: Date;
4101
- deletedAt: Date | null;
4102
- entity: string;
4103
- };
4104
- }>, "many">;
4105
- comment: z.ZodString;
4106
- mentions: z.ZodArray<z.ZodString, "many">;
4107
- ticket: z.ZodObject<{
4108
- id: z.ZodString;
4109
- createdAt: z.ZodDate;
4110
- updatedAt: z.ZodDate;
4111
- deletedAt: z.ZodNullable<z.ZodDate>;
4112
- title: z.ZodString;
4113
- description: z.ZodNullable<z.ZodString>;
4114
- type: z.ZodString;
4115
- channel: z.ZodString;
4116
- priority: z.ZodString;
4117
- status: z.ZodString;
4118
- contactId: z.ZodString;
4119
- creatorId: z.ZodString;
4817
+ }>>>;
4120
4818
  assigneeId: z.ZodString;
4121
- assignee: z.ZodObject<{
4819
+ assignee: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4122
4820
  id: z.ZodString;
4123
4821
  createdAt: z.ZodDate;
4124
4822
  updatedAt: z.ZodDate;
@@ -4321,7 +5019,7 @@ export declare const commentContract: {
4321
5019
  extensionName: string;
4322
5020
  telephonySignature: string | null;
4323
5021
  };
4324
- }>;
5022
+ }>>>;
4325
5023
  reasonToAssign: z.ZodNullable<z.ZodString>;
4326
5024
  ticketNumber: z.ZodOptional<z.ZodNumber>;
4327
5025
  customFields: z.ZodArray<z.ZodObject<{
@@ -4424,6 +5122,7 @@ export declare const commentContract: {
4424
5122
  fileSize: z.ZodNumber;
4425
5123
  fileKey: z.ZodString;
4426
5124
  fileUrl: z.ZodNullable<z.ZodString>;
5125
+ status: z.ZodOptional<z.ZodString>;
4427
5126
  }, "strip", z.ZodTypeAny, {
4428
5127
  id: string;
4429
5128
  createdAt: Date;
@@ -4434,6 +5133,7 @@ export declare const commentContract: {
4434
5133
  bucketName: string;
4435
5134
  fileSize: number;
4436
5135
  fileUrl: string | null;
5136
+ status?: string | undefined;
4437
5137
  }, {
4438
5138
  id: string;
4439
5139
  createdAt: Date;
@@ -4444,6 +5144,7 @@ export declare const commentContract: {
4444
5144
  bucketName: string;
4445
5145
  fileSize: number;
4446
5146
  fileUrl: string | null;
5147
+ status?: string | undefined;
4447
5148
  }>, "many">;
4448
5149
  }, "strip", z.ZodTypeAny, {
4449
5150
  id: string;
@@ -4478,6 +5179,7 @@ export declare const commentContract: {
4478
5179
  bucketName: string;
4479
5180
  fileSize: number;
4480
5181
  fileUrl: string | null;
5182
+ status?: string | undefined;
4481
5183
  }[];
4482
5184
  }, {
4483
5185
  id: string;
@@ -4512,6 +5214,7 @@ export declare const commentContract: {
4512
5214
  bucketName: string;
4513
5215
  fileSize: number;
4514
5216
  fileUrl: string | null;
5217
+ status?: string | undefined;
4515
5218
  }[];
4516
5219
  }>, "many">;
4517
5220
  tags: z.ZodArray<z.ZodObject<{
@@ -4934,6 +5637,7 @@ export declare const commentContract: {
4934
5637
  fileSize: z.ZodNumber;
4935
5638
  fileKey: z.ZodString;
4936
5639
  fileUrl: z.ZodNullable<z.ZodString>;
5640
+ status: z.ZodOptional<z.ZodString>;
4937
5641
  }, "strip", z.ZodTypeAny, {
4938
5642
  id: string;
4939
5643
  createdAt: Date;
@@ -4944,6 +5648,7 @@ export declare const commentContract: {
4944
5648
  bucketName: string;
4945
5649
  fileSize: number;
4946
5650
  fileUrl: string | null;
5651
+ status?: string | undefined;
4947
5652
  }, {
4948
5653
  id: string;
4949
5654
  createdAt: Date;
@@ -4954,6 +5659,7 @@ export declare const commentContract: {
4954
5659
  bucketName: string;
4955
5660
  fileSize: number;
4956
5661
  fileUrl: string | null;
5662
+ status?: string | undefined;
4957
5663
  }>;
4958
5664
  }, "strip", z.ZodTypeAny, {
4959
5665
  id: string;
@@ -4971,6 +5677,7 @@ export declare const commentContract: {
4971
5677
  bucketName: string;
4972
5678
  fileSize: number;
4973
5679
  fileUrl: string | null;
5680
+ status?: string | undefined;
4974
5681
  };
4975
5682
  }, {
4976
5683
  id: string;
@@ -4988,6 +5695,7 @@ export declare const commentContract: {
4988
5695
  bucketName: string;
4989
5696
  fileSize: number;
4990
5697
  fileUrl: string | null;
5698
+ status?: string | undefined;
4991
5699
  };
4992
5700
  }>, "many">;
4993
5701
  }, "strip", z.ZodTypeAny, {
@@ -5029,6 +5737,7 @@ export declare const commentContract: {
5029
5737
  bucketName: string;
5030
5738
  fileSize: number;
5031
5739
  fileUrl: string | null;
5740
+ status?: string | undefined;
5032
5741
  };
5033
5742
  }[];
5034
5743
  }, {
@@ -5070,6 +5779,7 @@ export declare const commentContract: {
5070
5779
  bucketName: string;
5071
5780
  fileSize: number;
5072
5781
  fileUrl: string | null;
5782
+ status?: string | undefined;
5073
5783
  };
5074
5784
  }[];
5075
5785
  }>, "many">;
@@ -5224,6 +5934,7 @@ export declare const commentContract: {
5224
5934
  bucketName: string;
5225
5935
  fileSize: number;
5226
5936
  fileUrl: string | null;
5937
+ status?: string | undefined;
5227
5938
  };
5228
5939
  }[];
5229
5940
  }[];
@@ -5326,6 +6037,7 @@ export declare const commentContract: {
5326
6037
  bucketName: string;
5327
6038
  fileSize: number;
5328
6039
  fileUrl: string | null;
6040
+ status?: string | undefined;
5329
6041
  };
5330
6042
  }[];
5331
6043
  }[];
@@ -5462,6 +6174,7 @@ export declare const commentContract: {
5462
6174
  bucketName: string;
5463
6175
  fileSize: number;
5464
6176
  fileUrl: string | null;
6177
+ status?: string | undefined;
5465
6178
  };
5466
6179
  }[];
5467
6180
  }[];
@@ -5551,6 +6264,7 @@ export declare const commentContract: {
5551
6264
  bucketName: string;
5552
6265
  fileSize: number;
5553
6266
  fileUrl: string | null;
6267
+ status?: string | undefined;
5554
6268
  }[];
5555
6269
  }[];
5556
6270
  tags: {
@@ -5561,7 +6275,10 @@ export declare const commentContract: {
5561
6275
  deletedAt: Date | null;
5562
6276
  }[];
5563
6277
  contactId: string;
5564
- assignee: {
6278
+ assigneeId: string;
6279
+ creatorId: string;
6280
+ reasonToAssign: string | null;
6281
+ creator?: {
5565
6282
  id: string;
5566
6283
  address: string | null;
5567
6284
  name: string;
@@ -5604,10 +6321,51 @@ export declare const commentContract: {
5604
6321
  extensionName: string;
5605
6322
  telephonySignature: string | null;
5606
6323
  };
5607
- };
5608
- assigneeId: string;
5609
- creatorId: string;
5610
- reasonToAssign: string | null;
6324
+ } | null | undefined;
6325
+ assignee?: {
6326
+ id: string;
6327
+ address: string | null;
6328
+ name: string;
6329
+ email: string;
6330
+ createdAt: Date;
6331
+ updatedAt: Date;
6332
+ deletedAt: Date | null;
6333
+ emailVerifiedAt: Date | null;
6334
+ password: string;
6335
+ phone: string | null;
6336
+ notificationCount: number | null;
6337
+ roles: {
6338
+ id: string;
6339
+ description: string | null;
6340
+ createdAt: Date;
6341
+ updatedAt: Date;
6342
+ deletedAt: Date | null;
6343
+ systemName: string;
6344
+ displayName: string;
6345
+ permissions: {
6346
+ id: string;
6347
+ description: string | null;
6348
+ createdAt: Date;
6349
+ updatedAt: Date;
6350
+ deletedAt: Date | null;
6351
+ systemName: string;
6352
+ displayName: string;
6353
+ }[];
6354
+ }[];
6355
+ extension: {
6356
+ id: string;
6357
+ createdAt: Date;
6358
+ updatedAt: Date;
6359
+ deletedAt: Date | null;
6360
+ userId: string | null;
6361
+ sipServerUrl: string;
6362
+ sipUserName: string;
6363
+ webphoneLoginUser: string;
6364
+ extensionId: number;
6365
+ extensionName: string;
6366
+ telephonySignature: string | null;
6367
+ };
6368
+ } | null | undefined;
5611
6369
  ticketNumber?: number | undefined;
5612
6370
  }, {
5613
6371
  type: string;
@@ -5689,6 +6447,7 @@ export declare const commentContract: {
5689
6447
  bucketName: string;
5690
6448
  fileSize: number;
5691
6449
  fileUrl: string | null;
6450
+ status?: string | undefined;
5692
6451
  };
5693
6452
  }[];
5694
6453
  }[];
@@ -5778,6 +6537,7 @@ export declare const commentContract: {
5778
6537
  bucketName: string;
5779
6538
  fileSize: number;
5780
6539
  fileUrl: string | null;
6540
+ status?: string | undefined;
5781
6541
  }[];
5782
6542
  }[];
5783
6543
  tags: {
@@ -5788,7 +6548,10 @@ export declare const commentContract: {
5788
6548
  deletedAt: Date | null;
5789
6549
  }[];
5790
6550
  contactId: string;
5791
- assignee: {
6551
+ assigneeId: string;
6552
+ creatorId: string;
6553
+ reasonToAssign: string | null;
6554
+ creator?: {
5792
6555
  id: string;
5793
6556
  address: string | null;
5794
6557
  name: string;
@@ -5831,10 +6594,51 @@ export declare const commentContract: {
5831
6594
  extensionName: string;
5832
6595
  telephonySignature: string | null;
5833
6596
  };
5834
- };
5835
- assigneeId: string;
5836
- creatorId: string;
5837
- reasonToAssign: string | null;
6597
+ } | null | undefined;
6598
+ assignee?: {
6599
+ id: string;
6600
+ address: string | null;
6601
+ name: string;
6602
+ email: string;
6603
+ createdAt: Date;
6604
+ updatedAt: Date;
6605
+ deletedAt: Date | null;
6606
+ emailVerifiedAt: Date | null;
6607
+ password: string;
6608
+ phone: string | null;
6609
+ notificationCount: number | null;
6610
+ roles: {
6611
+ id: string;
6612
+ description: string | null;
6613
+ createdAt: Date;
6614
+ updatedAt: Date;
6615
+ deletedAt: Date | null;
6616
+ systemName: string;
6617
+ displayName: string;
6618
+ permissions: {
6619
+ id: string;
6620
+ description: string | null;
6621
+ createdAt: Date;
6622
+ updatedAt: Date;
6623
+ deletedAt: Date | null;
6624
+ systemName: string;
6625
+ displayName: string;
6626
+ }[];
6627
+ }[];
6628
+ extension: {
6629
+ id: string;
6630
+ createdAt: Date;
6631
+ updatedAt: Date;
6632
+ deletedAt: Date | null;
6633
+ userId: string | null;
6634
+ sipServerUrl: string;
6635
+ sipUserName: string;
6636
+ webphoneLoginUser: string;
6637
+ extensionId: number;
6638
+ extensionName: string;
6639
+ telephonySignature: string | null;
6640
+ };
6641
+ } | null | undefined;
5838
6642
  ticketNumber?: number | undefined;
5839
6643
  }>;
5840
6644
  agent: z.ZodObject<{
@@ -6230,6 +7034,7 @@ export declare const commentContract: {
6230
7034
  bucketName: string;
6231
7035
  fileSize: number;
6232
7036
  fileUrl: string | null;
7037
+ status?: string | undefined;
6233
7038
  };
6234
7039
  }[];
6235
7040
  }[];
@@ -6319,6 +7124,7 @@ export declare const commentContract: {
6319
7124
  bucketName: string;
6320
7125
  fileSize: number;
6321
7126
  fileUrl: string | null;
7127
+ status?: string | undefined;
6322
7128
  }[];
6323
7129
  }[];
6324
7130
  tags: {
@@ -6329,7 +7135,10 @@ export declare const commentContract: {
6329
7135
  deletedAt: Date | null;
6330
7136
  }[];
6331
7137
  contactId: string;
6332
- assignee: {
7138
+ assigneeId: string;
7139
+ creatorId: string;
7140
+ reasonToAssign: string | null;
7141
+ creator?: {
6333
7142
  id: string;
6334
7143
  address: string | null;
6335
7144
  name: string;
@@ -6372,10 +7181,51 @@ export declare const commentContract: {
6372
7181
  extensionName: string;
6373
7182
  telephonySignature: string | null;
6374
7183
  };
6375
- };
6376
- assigneeId: string;
6377
- creatorId: string;
6378
- reasonToAssign: string | null;
7184
+ } | null | undefined;
7185
+ assignee?: {
7186
+ id: string;
7187
+ address: string | null;
7188
+ name: string;
7189
+ email: string;
7190
+ createdAt: Date;
7191
+ updatedAt: Date;
7192
+ deletedAt: Date | null;
7193
+ emailVerifiedAt: Date | null;
7194
+ password: string;
7195
+ phone: string | null;
7196
+ notificationCount: number | null;
7197
+ roles: {
7198
+ id: string;
7199
+ description: string | null;
7200
+ createdAt: Date;
7201
+ updatedAt: Date;
7202
+ deletedAt: Date | null;
7203
+ systemName: string;
7204
+ displayName: string;
7205
+ permissions: {
7206
+ id: string;
7207
+ description: string | null;
7208
+ createdAt: Date;
7209
+ updatedAt: Date;
7210
+ deletedAt: Date | null;
7211
+ systemName: string;
7212
+ displayName: string;
7213
+ }[];
7214
+ }[];
7215
+ extension: {
7216
+ id: string;
7217
+ createdAt: Date;
7218
+ updatedAt: Date;
7219
+ deletedAt: Date | null;
7220
+ userId: string | null;
7221
+ sipServerUrl: string;
7222
+ sipUserName: string;
7223
+ webphoneLoginUser: string;
7224
+ extensionId: number;
7225
+ extensionName: string;
7226
+ telephonySignature: string | null;
7227
+ };
7228
+ } | null | undefined;
6379
7229
  ticketNumber?: number | undefined;
6380
7230
  };
6381
7231
  comment: string;
@@ -6569,6 +7419,7 @@ export declare const commentContract: {
6569
7419
  bucketName: string;
6570
7420
  fileSize: number;
6571
7421
  fileUrl: string | null;
7422
+ status?: string | undefined;
6572
7423
  };
6573
7424
  }[];
6574
7425
  }[];
@@ -6658,6 +7509,7 @@ export declare const commentContract: {
6658
7509
  bucketName: string;
6659
7510
  fileSize: number;
6660
7511
  fileUrl: string | null;
7512
+ status?: string | undefined;
6661
7513
  }[];
6662
7514
  }[];
6663
7515
  tags: {
@@ -6668,7 +7520,54 @@ export declare const commentContract: {
6668
7520
  deletedAt: Date | null;
6669
7521
  }[];
6670
7522
  contactId: string;
6671
- assignee: {
7523
+ assigneeId: string;
7524
+ creatorId: string;
7525
+ reasonToAssign: string | null;
7526
+ creator?: {
7527
+ id: string;
7528
+ address: string | null;
7529
+ name: string;
7530
+ email: string;
7531
+ createdAt: Date;
7532
+ updatedAt: Date;
7533
+ deletedAt: Date | null;
7534
+ emailVerifiedAt: Date | null;
7535
+ password: string;
7536
+ phone: string | null;
7537
+ notificationCount: number | null;
7538
+ roles: {
7539
+ id: string;
7540
+ description: string | null;
7541
+ createdAt: Date;
7542
+ updatedAt: Date;
7543
+ deletedAt: Date | null;
7544
+ systemName: string;
7545
+ displayName: string;
7546
+ permissions: {
7547
+ id: string;
7548
+ description: string | null;
7549
+ createdAt: Date;
7550
+ updatedAt: Date;
7551
+ deletedAt: Date | null;
7552
+ systemName: string;
7553
+ displayName: string;
7554
+ }[];
7555
+ }[];
7556
+ extension: {
7557
+ id: string;
7558
+ createdAt: Date;
7559
+ updatedAt: Date;
7560
+ deletedAt: Date | null;
7561
+ userId: string | null;
7562
+ sipServerUrl: string;
7563
+ sipUserName: string;
7564
+ webphoneLoginUser: string;
7565
+ extensionId: number;
7566
+ extensionName: string;
7567
+ telephonySignature: string | null;
7568
+ };
7569
+ } | null | undefined;
7570
+ assignee?: {
6672
7571
  id: string;
6673
7572
  address: string | null;
6674
7573
  name: string;
@@ -6711,10 +7610,7 @@ export declare const commentContract: {
6711
7610
  extensionName: string;
6712
7611
  telephonySignature: string | null;
6713
7612
  };
6714
- };
6715
- assigneeId: string;
6716
- creatorId: string;
6717
- reasonToAssign: string | null;
7613
+ } | null | undefined;
6718
7614
  ticketNumber?: number | undefined;
6719
7615
  };
6720
7616
  comment: string;
@@ -7164,8 +8060,212 @@ export declare const commentContract: {
7164
8060
  status: z.ZodString;
7165
8061
  contactId: z.ZodString;
7166
8062
  creatorId: z.ZodString;
8063
+ creator: z.ZodNullable<z.ZodOptional<z.ZodObject<{
8064
+ id: z.ZodString;
8065
+ createdAt: z.ZodDate;
8066
+ updatedAt: z.ZodDate;
8067
+ deletedAt: z.ZodNullable<z.ZodDate>;
8068
+ name: z.ZodString;
8069
+ email: z.ZodString;
8070
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
8071
+ password: z.ZodString;
8072
+ address: z.ZodNullable<z.ZodString>;
8073
+ phone: z.ZodNullable<z.ZodString>;
8074
+ notificationCount: z.ZodNullable<z.ZodNumber>;
8075
+ roles: z.ZodArray<z.ZodObject<{
8076
+ id: z.ZodString;
8077
+ createdAt: z.ZodDate;
8078
+ updatedAt: z.ZodDate;
8079
+ deletedAt: z.ZodNullable<z.ZodDate>;
8080
+ systemName: z.ZodString;
8081
+ displayName: z.ZodString;
8082
+ description: z.ZodNullable<z.ZodString>;
8083
+ permissions: z.ZodArray<z.ZodObject<{
8084
+ id: z.ZodString;
8085
+ createdAt: z.ZodDate;
8086
+ updatedAt: z.ZodDate;
8087
+ deletedAt: z.ZodNullable<z.ZodDate>;
8088
+ systemName: z.ZodString;
8089
+ displayName: z.ZodString;
8090
+ description: z.ZodNullable<z.ZodString>;
8091
+ }, "strip", z.ZodTypeAny, {
8092
+ id: string;
8093
+ description: string | null;
8094
+ createdAt: Date;
8095
+ updatedAt: Date;
8096
+ deletedAt: Date | null;
8097
+ systemName: string;
8098
+ displayName: string;
8099
+ }, {
8100
+ id: string;
8101
+ description: string | null;
8102
+ createdAt: Date;
8103
+ updatedAt: Date;
8104
+ deletedAt: Date | null;
8105
+ systemName: string;
8106
+ displayName: string;
8107
+ }>, "many">;
8108
+ }, "strip", z.ZodTypeAny, {
8109
+ id: string;
8110
+ description: string | null;
8111
+ createdAt: Date;
8112
+ updatedAt: Date;
8113
+ deletedAt: Date | null;
8114
+ systemName: string;
8115
+ displayName: string;
8116
+ permissions: {
8117
+ id: string;
8118
+ description: string | null;
8119
+ createdAt: Date;
8120
+ updatedAt: Date;
8121
+ deletedAt: Date | null;
8122
+ systemName: string;
8123
+ displayName: string;
8124
+ }[];
8125
+ }, {
8126
+ id: string;
8127
+ description: string | null;
8128
+ createdAt: Date;
8129
+ updatedAt: Date;
8130
+ deletedAt: Date | null;
8131
+ systemName: string;
8132
+ displayName: string;
8133
+ permissions: {
8134
+ id: string;
8135
+ description: string | null;
8136
+ createdAt: Date;
8137
+ updatedAt: Date;
8138
+ deletedAt: Date | null;
8139
+ systemName: string;
8140
+ displayName: string;
8141
+ }[];
8142
+ }>, "many">;
8143
+ extension: z.ZodObject<{
8144
+ id: z.ZodString;
8145
+ createdAt: z.ZodDate;
8146
+ updatedAt: z.ZodDate;
8147
+ deletedAt: z.ZodNullable<z.ZodDate>;
8148
+ userId: z.ZodNullable<z.ZodString>;
8149
+ sipServerUrl: z.ZodString;
8150
+ sipUserName: z.ZodString;
8151
+ webphoneLoginUser: z.ZodString;
8152
+ extensionId: z.ZodNumber;
8153
+ extensionName: z.ZodString;
8154
+ telephonySignature: z.ZodNullable<z.ZodString>;
8155
+ }, "strip", z.ZodTypeAny, {
8156
+ id: string;
8157
+ createdAt: Date;
8158
+ updatedAt: Date;
8159
+ deletedAt: Date | null;
8160
+ userId: string | null;
8161
+ sipServerUrl: string;
8162
+ sipUserName: string;
8163
+ webphoneLoginUser: string;
8164
+ extensionId: number;
8165
+ extensionName: string;
8166
+ telephonySignature: string | null;
8167
+ }, {
8168
+ id: string;
8169
+ createdAt: Date;
8170
+ updatedAt: Date;
8171
+ deletedAt: Date | null;
8172
+ userId: string | null;
8173
+ sipServerUrl: string;
8174
+ sipUserName: string;
8175
+ webphoneLoginUser: string;
8176
+ extensionId: number;
8177
+ extensionName: string;
8178
+ telephonySignature: string | null;
8179
+ }>;
8180
+ }, "strip", z.ZodTypeAny, {
8181
+ id: string;
8182
+ address: string | null;
8183
+ name: string;
8184
+ email: string;
8185
+ createdAt: Date;
8186
+ updatedAt: Date;
8187
+ deletedAt: Date | null;
8188
+ emailVerifiedAt: Date | null;
8189
+ password: string;
8190
+ phone: string | null;
8191
+ notificationCount: number | null;
8192
+ roles: {
8193
+ id: string;
8194
+ description: string | null;
8195
+ createdAt: Date;
8196
+ updatedAt: Date;
8197
+ deletedAt: Date | null;
8198
+ systemName: string;
8199
+ displayName: string;
8200
+ permissions: {
8201
+ id: string;
8202
+ description: string | null;
8203
+ createdAt: Date;
8204
+ updatedAt: Date;
8205
+ deletedAt: Date | null;
8206
+ systemName: string;
8207
+ displayName: string;
8208
+ }[];
8209
+ }[];
8210
+ extension: {
8211
+ id: string;
8212
+ createdAt: Date;
8213
+ updatedAt: Date;
8214
+ deletedAt: Date | null;
8215
+ userId: string | null;
8216
+ sipServerUrl: string;
8217
+ sipUserName: string;
8218
+ webphoneLoginUser: string;
8219
+ extensionId: number;
8220
+ extensionName: string;
8221
+ telephonySignature: string | null;
8222
+ };
8223
+ }, {
8224
+ id: string;
8225
+ address: string | null;
8226
+ name: string;
8227
+ email: string;
8228
+ createdAt: Date;
8229
+ updatedAt: Date;
8230
+ deletedAt: Date | null;
8231
+ emailVerifiedAt: Date | null;
8232
+ password: string;
8233
+ phone: string | null;
8234
+ notificationCount: number | null;
8235
+ roles: {
8236
+ id: string;
8237
+ description: string | null;
8238
+ createdAt: Date;
8239
+ updatedAt: Date;
8240
+ deletedAt: Date | null;
8241
+ systemName: string;
8242
+ displayName: string;
8243
+ permissions: {
8244
+ id: string;
8245
+ description: string | null;
8246
+ createdAt: Date;
8247
+ updatedAt: Date;
8248
+ deletedAt: Date | null;
8249
+ systemName: string;
8250
+ displayName: string;
8251
+ }[];
8252
+ }[];
8253
+ extension: {
8254
+ id: string;
8255
+ createdAt: Date;
8256
+ updatedAt: Date;
8257
+ deletedAt: Date | null;
8258
+ userId: string | null;
8259
+ sipServerUrl: string;
8260
+ sipUserName: string;
8261
+ webphoneLoginUser: string;
8262
+ extensionId: number;
8263
+ extensionName: string;
8264
+ telephonySignature: string | null;
8265
+ };
8266
+ }>>>;
7167
8267
  assigneeId: z.ZodString;
7168
- assignee: z.ZodObject<{
8268
+ assignee: z.ZodNullable<z.ZodOptional<z.ZodObject<{
7169
8269
  id: z.ZodString;
7170
8270
  createdAt: z.ZodDate;
7171
8271
  updatedAt: z.ZodDate;
@@ -7368,7 +8468,7 @@ export declare const commentContract: {
7368
8468
  extensionName: string;
7369
8469
  telephonySignature: string | null;
7370
8470
  };
7371
- }>;
8471
+ }>>>;
7372
8472
  reasonToAssign: z.ZodNullable<z.ZodString>;
7373
8473
  ticketNumber: z.ZodOptional<z.ZodNumber>;
7374
8474
  customFields: z.ZodArray<z.ZodObject<{
@@ -7471,6 +8571,7 @@ export declare const commentContract: {
7471
8571
  fileSize: z.ZodNumber;
7472
8572
  fileKey: z.ZodString;
7473
8573
  fileUrl: z.ZodNullable<z.ZodString>;
8574
+ status: z.ZodOptional<z.ZodString>;
7474
8575
  }, "strip", z.ZodTypeAny, {
7475
8576
  id: string;
7476
8577
  createdAt: Date;
@@ -7481,6 +8582,7 @@ export declare const commentContract: {
7481
8582
  bucketName: string;
7482
8583
  fileSize: number;
7483
8584
  fileUrl: string | null;
8585
+ status?: string | undefined;
7484
8586
  }, {
7485
8587
  id: string;
7486
8588
  createdAt: Date;
@@ -7491,6 +8593,7 @@ export declare const commentContract: {
7491
8593
  bucketName: string;
7492
8594
  fileSize: number;
7493
8595
  fileUrl: string | null;
8596
+ status?: string | undefined;
7494
8597
  }>, "many">;
7495
8598
  }, "strip", z.ZodTypeAny, {
7496
8599
  id: string;
@@ -7525,6 +8628,7 @@ export declare const commentContract: {
7525
8628
  bucketName: string;
7526
8629
  fileSize: number;
7527
8630
  fileUrl: string | null;
8631
+ status?: string | undefined;
7528
8632
  }[];
7529
8633
  }, {
7530
8634
  id: string;
@@ -7559,6 +8663,7 @@ export declare const commentContract: {
7559
8663
  bucketName: string;
7560
8664
  fileSize: number;
7561
8665
  fileUrl: string | null;
8666
+ status?: string | undefined;
7562
8667
  }[];
7563
8668
  }>, "many">;
7564
8669
  tags: z.ZodArray<z.ZodObject<{
@@ -7981,6 +9086,7 @@ export declare const commentContract: {
7981
9086
  fileSize: z.ZodNumber;
7982
9087
  fileKey: z.ZodString;
7983
9088
  fileUrl: z.ZodNullable<z.ZodString>;
9089
+ status: z.ZodOptional<z.ZodString>;
7984
9090
  }, "strip", z.ZodTypeAny, {
7985
9091
  id: string;
7986
9092
  createdAt: Date;
@@ -7991,6 +9097,7 @@ export declare const commentContract: {
7991
9097
  bucketName: string;
7992
9098
  fileSize: number;
7993
9099
  fileUrl: string | null;
9100
+ status?: string | undefined;
7994
9101
  }, {
7995
9102
  id: string;
7996
9103
  createdAt: Date;
@@ -8001,6 +9108,7 @@ export declare const commentContract: {
8001
9108
  bucketName: string;
8002
9109
  fileSize: number;
8003
9110
  fileUrl: string | null;
9111
+ status?: string | undefined;
8004
9112
  }>;
8005
9113
  }, "strip", z.ZodTypeAny, {
8006
9114
  id: string;
@@ -8018,6 +9126,7 @@ export declare const commentContract: {
8018
9126
  bucketName: string;
8019
9127
  fileSize: number;
8020
9128
  fileUrl: string | null;
9129
+ status?: string | undefined;
8021
9130
  };
8022
9131
  }, {
8023
9132
  id: string;
@@ -8035,6 +9144,7 @@ export declare const commentContract: {
8035
9144
  bucketName: string;
8036
9145
  fileSize: number;
8037
9146
  fileUrl: string | null;
9147
+ status?: string | undefined;
8038
9148
  };
8039
9149
  }>, "many">;
8040
9150
  }, "strip", z.ZodTypeAny, {
@@ -8076,6 +9186,7 @@ export declare const commentContract: {
8076
9186
  bucketName: string;
8077
9187
  fileSize: number;
8078
9188
  fileUrl: string | null;
9189
+ status?: string | undefined;
8079
9190
  };
8080
9191
  }[];
8081
9192
  }, {
@@ -8117,6 +9228,7 @@ export declare const commentContract: {
8117
9228
  bucketName: string;
8118
9229
  fileSize: number;
8119
9230
  fileUrl: string | null;
9231
+ status?: string | undefined;
8120
9232
  };
8121
9233
  }[];
8122
9234
  }>, "many">;
@@ -8271,6 +9383,7 @@ export declare const commentContract: {
8271
9383
  bucketName: string;
8272
9384
  fileSize: number;
8273
9385
  fileUrl: string | null;
9386
+ status?: string | undefined;
8274
9387
  };
8275
9388
  }[];
8276
9389
  }[];
@@ -8373,6 +9486,7 @@ export declare const commentContract: {
8373
9486
  bucketName: string;
8374
9487
  fileSize: number;
8375
9488
  fileUrl: string | null;
9489
+ status?: string | undefined;
8376
9490
  };
8377
9491
  }[];
8378
9492
  }[];
@@ -8509,6 +9623,7 @@ export declare const commentContract: {
8509
9623
  bucketName: string;
8510
9624
  fileSize: number;
8511
9625
  fileUrl: string | null;
9626
+ status?: string | undefined;
8512
9627
  };
8513
9628
  }[];
8514
9629
  }[];
@@ -8598,6 +9713,7 @@ export declare const commentContract: {
8598
9713
  bucketName: string;
8599
9714
  fileSize: number;
8600
9715
  fileUrl: string | null;
9716
+ status?: string | undefined;
8601
9717
  }[];
8602
9718
  }[];
8603
9719
  tags: {
@@ -8608,7 +9724,54 @@ export declare const commentContract: {
8608
9724
  deletedAt: Date | null;
8609
9725
  }[];
8610
9726
  contactId: string;
8611
- assignee: {
9727
+ assigneeId: string;
9728
+ creatorId: string;
9729
+ reasonToAssign: string | null;
9730
+ creator?: {
9731
+ id: string;
9732
+ address: string | null;
9733
+ name: string;
9734
+ email: string;
9735
+ createdAt: Date;
9736
+ updatedAt: Date;
9737
+ deletedAt: Date | null;
9738
+ emailVerifiedAt: Date | null;
9739
+ password: string;
9740
+ phone: string | null;
9741
+ notificationCount: number | null;
9742
+ roles: {
9743
+ id: string;
9744
+ description: string | null;
9745
+ createdAt: Date;
9746
+ updatedAt: Date;
9747
+ deletedAt: Date | null;
9748
+ systemName: string;
9749
+ displayName: string;
9750
+ permissions: {
9751
+ id: string;
9752
+ description: string | null;
9753
+ createdAt: Date;
9754
+ updatedAt: Date;
9755
+ deletedAt: Date | null;
9756
+ systemName: string;
9757
+ displayName: string;
9758
+ }[];
9759
+ }[];
9760
+ extension: {
9761
+ id: string;
9762
+ createdAt: Date;
9763
+ updatedAt: Date;
9764
+ deletedAt: Date | null;
9765
+ userId: string | null;
9766
+ sipServerUrl: string;
9767
+ sipUserName: string;
9768
+ webphoneLoginUser: string;
9769
+ extensionId: number;
9770
+ extensionName: string;
9771
+ telephonySignature: string | null;
9772
+ };
9773
+ } | null | undefined;
9774
+ assignee?: {
8612
9775
  id: string;
8613
9776
  address: string | null;
8614
9777
  name: string;
@@ -8651,10 +9814,7 @@ export declare const commentContract: {
8651
9814
  extensionName: string;
8652
9815
  telephonySignature: string | null;
8653
9816
  };
8654
- };
8655
- assigneeId: string;
8656
- creatorId: string;
8657
- reasonToAssign: string | null;
9817
+ } | null | undefined;
8658
9818
  ticketNumber?: number | undefined;
8659
9819
  }, {
8660
9820
  type: string;
@@ -8736,6 +9896,7 @@ export declare const commentContract: {
8736
9896
  bucketName: string;
8737
9897
  fileSize: number;
8738
9898
  fileUrl: string | null;
9899
+ status?: string | undefined;
8739
9900
  };
8740
9901
  }[];
8741
9902
  }[];
@@ -8825,6 +9986,7 @@ export declare const commentContract: {
8825
9986
  bucketName: string;
8826
9987
  fileSize: number;
8827
9988
  fileUrl: string | null;
9989
+ status?: string | undefined;
8828
9990
  }[];
8829
9991
  }[];
8830
9992
  tags: {
@@ -8835,7 +9997,10 @@ export declare const commentContract: {
8835
9997
  deletedAt: Date | null;
8836
9998
  }[];
8837
9999
  contactId: string;
8838
- assignee: {
10000
+ assigneeId: string;
10001
+ creatorId: string;
10002
+ reasonToAssign: string | null;
10003
+ creator?: {
8839
10004
  id: string;
8840
10005
  address: string | null;
8841
10006
  name: string;
@@ -8878,10 +10043,51 @@ export declare const commentContract: {
8878
10043
  extensionName: string;
8879
10044
  telephonySignature: string | null;
8880
10045
  };
8881
- };
8882
- assigneeId: string;
8883
- creatorId: string;
8884
- reasonToAssign: string | null;
10046
+ } | null | undefined;
10047
+ assignee?: {
10048
+ id: string;
10049
+ address: string | null;
10050
+ name: string;
10051
+ email: string;
10052
+ createdAt: Date;
10053
+ updatedAt: Date;
10054
+ deletedAt: Date | null;
10055
+ emailVerifiedAt: Date | null;
10056
+ password: string;
10057
+ phone: string | null;
10058
+ notificationCount: number | null;
10059
+ roles: {
10060
+ id: string;
10061
+ description: string | null;
10062
+ createdAt: Date;
10063
+ updatedAt: Date;
10064
+ deletedAt: Date | null;
10065
+ systemName: string;
10066
+ displayName: string;
10067
+ permissions: {
10068
+ id: string;
10069
+ description: string | null;
10070
+ createdAt: Date;
10071
+ updatedAt: Date;
10072
+ deletedAt: Date | null;
10073
+ systemName: string;
10074
+ displayName: string;
10075
+ }[];
10076
+ }[];
10077
+ extension: {
10078
+ id: string;
10079
+ createdAt: Date;
10080
+ updatedAt: Date;
10081
+ deletedAt: Date | null;
10082
+ userId: string | null;
10083
+ sipServerUrl: string;
10084
+ sipUserName: string;
10085
+ webphoneLoginUser: string;
10086
+ extensionId: number;
10087
+ extensionName: string;
10088
+ telephonySignature: string | null;
10089
+ };
10090
+ } | null | undefined;
8885
10091
  ticketNumber?: number | undefined;
8886
10092
  }>;
8887
10093
  agent: z.ZodObject<{
@@ -9277,6 +10483,7 @@ export declare const commentContract: {
9277
10483
  bucketName: string;
9278
10484
  fileSize: number;
9279
10485
  fileUrl: string | null;
10486
+ status?: string | undefined;
9280
10487
  };
9281
10488
  }[];
9282
10489
  }[];
@@ -9366,6 +10573,7 @@ export declare const commentContract: {
9366
10573
  bucketName: string;
9367
10574
  fileSize: number;
9368
10575
  fileUrl: string | null;
10576
+ status?: string | undefined;
9369
10577
  }[];
9370
10578
  }[];
9371
10579
  tags: {
@@ -9376,7 +10584,10 @@ export declare const commentContract: {
9376
10584
  deletedAt: Date | null;
9377
10585
  }[];
9378
10586
  contactId: string;
9379
- assignee: {
10587
+ assigneeId: string;
10588
+ creatorId: string;
10589
+ reasonToAssign: string | null;
10590
+ creator?: {
9380
10591
  id: string;
9381
10592
  address: string | null;
9382
10593
  name: string;
@@ -9419,10 +10630,51 @@ export declare const commentContract: {
9419
10630
  extensionName: string;
9420
10631
  telephonySignature: string | null;
9421
10632
  };
9422
- };
9423
- assigneeId: string;
9424
- creatorId: string;
9425
- reasonToAssign: string | null;
10633
+ } | null | undefined;
10634
+ assignee?: {
10635
+ id: string;
10636
+ address: string | null;
10637
+ name: string;
10638
+ email: string;
10639
+ createdAt: Date;
10640
+ updatedAt: Date;
10641
+ deletedAt: Date | null;
10642
+ emailVerifiedAt: Date | null;
10643
+ password: string;
10644
+ phone: string | null;
10645
+ notificationCount: number | null;
10646
+ roles: {
10647
+ id: string;
10648
+ description: string | null;
10649
+ createdAt: Date;
10650
+ updatedAt: Date;
10651
+ deletedAt: Date | null;
10652
+ systemName: string;
10653
+ displayName: string;
10654
+ permissions: {
10655
+ id: string;
10656
+ description: string | null;
10657
+ createdAt: Date;
10658
+ updatedAt: Date;
10659
+ deletedAt: Date | null;
10660
+ systemName: string;
10661
+ displayName: string;
10662
+ }[];
10663
+ }[];
10664
+ extension: {
10665
+ id: string;
10666
+ createdAt: Date;
10667
+ updatedAt: Date;
10668
+ deletedAt: Date | null;
10669
+ userId: string | null;
10670
+ sipServerUrl: string;
10671
+ sipUserName: string;
10672
+ webphoneLoginUser: string;
10673
+ extensionId: number;
10674
+ extensionName: string;
10675
+ telephonySignature: string | null;
10676
+ };
10677
+ } | null | undefined;
9426
10678
  ticketNumber?: number | undefined;
9427
10679
  };
9428
10680
  comment: string;
@@ -9616,6 +10868,7 @@ export declare const commentContract: {
9616
10868
  bucketName: string;
9617
10869
  fileSize: number;
9618
10870
  fileUrl: string | null;
10871
+ status?: string | undefined;
9619
10872
  };
9620
10873
  }[];
9621
10874
  }[];
@@ -9705,6 +10958,7 @@ export declare const commentContract: {
9705
10958
  bucketName: string;
9706
10959
  fileSize: number;
9707
10960
  fileUrl: string | null;
10961
+ status?: string | undefined;
9708
10962
  }[];
9709
10963
  }[];
9710
10964
  tags: {
@@ -9715,7 +10969,10 @@ export declare const commentContract: {
9715
10969
  deletedAt: Date | null;
9716
10970
  }[];
9717
10971
  contactId: string;
9718
- assignee: {
10972
+ assigneeId: string;
10973
+ creatorId: string;
10974
+ reasonToAssign: string | null;
10975
+ creator?: {
9719
10976
  id: string;
9720
10977
  address: string | null;
9721
10978
  name: string;
@@ -9758,10 +11015,51 @@ export declare const commentContract: {
9758
11015
  extensionName: string;
9759
11016
  telephonySignature: string | null;
9760
11017
  };
9761
- };
9762
- assigneeId: string;
9763
- creatorId: string;
9764
- reasonToAssign: string | null;
11018
+ } | null | undefined;
11019
+ assignee?: {
11020
+ id: string;
11021
+ address: string | null;
11022
+ name: string;
11023
+ email: string;
11024
+ createdAt: Date;
11025
+ updatedAt: Date;
11026
+ deletedAt: Date | null;
11027
+ emailVerifiedAt: Date | null;
11028
+ password: string;
11029
+ phone: string | null;
11030
+ notificationCount: number | null;
11031
+ roles: {
11032
+ id: string;
11033
+ description: string | null;
11034
+ createdAt: Date;
11035
+ updatedAt: Date;
11036
+ deletedAt: Date | null;
11037
+ systemName: string;
11038
+ displayName: string;
11039
+ permissions: {
11040
+ id: string;
11041
+ description: string | null;
11042
+ createdAt: Date;
11043
+ updatedAt: Date;
11044
+ deletedAt: Date | null;
11045
+ systemName: string;
11046
+ displayName: string;
11047
+ }[];
11048
+ }[];
11049
+ extension: {
11050
+ id: string;
11051
+ createdAt: Date;
11052
+ updatedAt: Date;
11053
+ deletedAt: Date | null;
11054
+ userId: string | null;
11055
+ sipServerUrl: string;
11056
+ sipUserName: string;
11057
+ webphoneLoginUser: string;
11058
+ extensionId: number;
11059
+ extensionName: string;
11060
+ telephonySignature: string | null;
11061
+ };
11062
+ } | null | undefined;
9765
11063
  ticketNumber?: number | undefined;
9766
11064
  };
9767
11065
  comment: string;
@@ -9958,6 +11256,7 @@ export declare const commentContract: {
9958
11256
  bucketName: string;
9959
11257
  fileSize: number;
9960
11258
  fileUrl: string | null;
11259
+ status?: string | undefined;
9961
11260
  };
9962
11261
  }[];
9963
11262
  }[];
@@ -10047,6 +11346,7 @@ export declare const commentContract: {
10047
11346
  bucketName: string;
10048
11347
  fileSize: number;
10049
11348
  fileUrl: string | null;
11349
+ status?: string | undefined;
10050
11350
  }[];
10051
11351
  }[];
10052
11352
  tags: {
@@ -10057,7 +11357,10 @@ export declare const commentContract: {
10057
11357
  deletedAt: Date | null;
10058
11358
  }[];
10059
11359
  contactId: string;
10060
- assignee: {
11360
+ assigneeId: string;
11361
+ creatorId: string;
11362
+ reasonToAssign: string | null;
11363
+ creator?: {
10061
11364
  id: string;
10062
11365
  address: string | null;
10063
11366
  name: string;
@@ -10100,10 +11403,51 @@ export declare const commentContract: {
10100
11403
  extensionName: string;
10101
11404
  telephonySignature: string | null;
10102
11405
  };
10103
- };
10104
- assigneeId: string;
10105
- creatorId: string;
10106
- reasonToAssign: string | null;
11406
+ } | null | undefined;
11407
+ assignee?: {
11408
+ id: string;
11409
+ address: string | null;
11410
+ name: string;
11411
+ email: string;
11412
+ createdAt: Date;
11413
+ updatedAt: Date;
11414
+ deletedAt: Date | null;
11415
+ emailVerifiedAt: Date | null;
11416
+ password: string;
11417
+ phone: string | null;
11418
+ notificationCount: number | null;
11419
+ roles: {
11420
+ id: string;
11421
+ description: string | null;
11422
+ createdAt: Date;
11423
+ updatedAt: Date;
11424
+ deletedAt: Date | null;
11425
+ systemName: string;
11426
+ displayName: string;
11427
+ permissions: {
11428
+ id: string;
11429
+ description: string | null;
11430
+ createdAt: Date;
11431
+ updatedAt: Date;
11432
+ deletedAt: Date | null;
11433
+ systemName: string;
11434
+ displayName: string;
11435
+ }[];
11436
+ }[];
11437
+ extension: {
11438
+ id: string;
11439
+ createdAt: Date;
11440
+ updatedAt: Date;
11441
+ deletedAt: Date | null;
11442
+ userId: string | null;
11443
+ sipServerUrl: string;
11444
+ sipUserName: string;
11445
+ webphoneLoginUser: string;
11446
+ extensionId: number;
11447
+ extensionName: string;
11448
+ telephonySignature: string | null;
11449
+ };
11450
+ } | null | undefined;
10107
11451
  ticketNumber?: number | undefined;
10108
11452
  };
10109
11453
  comment: string;
@@ -10300,6 +11644,7 @@ export declare const commentContract: {
10300
11644
  bucketName: string;
10301
11645
  fileSize: number;
10302
11646
  fileUrl: string | null;
11647
+ status?: string | undefined;
10303
11648
  };
10304
11649
  }[];
10305
11650
  }[];
@@ -10389,6 +11734,7 @@ export declare const commentContract: {
10389
11734
  bucketName: string;
10390
11735
  fileSize: number;
10391
11736
  fileUrl: string | null;
11737
+ status?: string | undefined;
10392
11738
  }[];
10393
11739
  }[];
10394
11740
  tags: {
@@ -10399,7 +11745,10 @@ export declare const commentContract: {
10399
11745
  deletedAt: Date | null;
10400
11746
  }[];
10401
11747
  contactId: string;
10402
- assignee: {
11748
+ assigneeId: string;
11749
+ creatorId: string;
11750
+ reasonToAssign: string | null;
11751
+ creator?: {
10403
11752
  id: string;
10404
11753
  address: string | null;
10405
11754
  name: string;
@@ -10442,10 +11791,51 @@ export declare const commentContract: {
10442
11791
  extensionName: string;
10443
11792
  telephonySignature: string | null;
10444
11793
  };
10445
- };
10446
- assigneeId: string;
10447
- creatorId: string;
10448
- reasonToAssign: string | null;
11794
+ } | null | undefined;
11795
+ assignee?: {
11796
+ id: string;
11797
+ address: string | null;
11798
+ name: string;
11799
+ email: string;
11800
+ createdAt: Date;
11801
+ updatedAt: Date;
11802
+ deletedAt: Date | null;
11803
+ emailVerifiedAt: Date | null;
11804
+ password: string;
11805
+ phone: string | null;
11806
+ notificationCount: number | null;
11807
+ roles: {
11808
+ id: string;
11809
+ description: string | null;
11810
+ createdAt: Date;
11811
+ updatedAt: Date;
11812
+ deletedAt: Date | null;
11813
+ systemName: string;
11814
+ displayName: string;
11815
+ permissions: {
11816
+ id: string;
11817
+ description: string | null;
11818
+ createdAt: Date;
11819
+ updatedAt: Date;
11820
+ deletedAt: Date | null;
11821
+ systemName: string;
11822
+ displayName: string;
11823
+ }[];
11824
+ }[];
11825
+ extension: {
11826
+ id: string;
11827
+ createdAt: Date;
11828
+ updatedAt: Date;
11829
+ deletedAt: Date | null;
11830
+ userId: string | null;
11831
+ sipServerUrl: string;
11832
+ sipUserName: string;
11833
+ webphoneLoginUser: string;
11834
+ extensionId: number;
11835
+ extensionName: string;
11836
+ telephonySignature: string | null;
11837
+ };
11838
+ } | null | undefined;
10449
11839
  ticketNumber?: number | undefined;
10450
11840
  };
10451
11841
  comment: string;