@kl1/contracts 1.0.34 → 1.0.36

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 (79) hide show
  1. package/dist/index.js +1030 -924
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +1029 -924
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/activity-log/index.d.ts +17 -10
  6. package/dist/src/activity-log/index.d.ts.map +1 -1
  7. package/dist/src/activity-log/schema.d.ts +17 -10
  8. package/dist/src/activity-log/schema.d.ts.map +1 -1
  9. package/dist/src/auth/index.d.ts +17 -10
  10. package/dist/src/auth/index.d.ts.map +1 -1
  11. package/dist/src/channel/index.d.ts +650 -51
  12. package/dist/src/channel/index.d.ts.map +1 -1
  13. package/dist/src/channel/schema.d.ts +18 -12
  14. package/dist/src/channel/schema.d.ts.map +1 -1
  15. package/dist/src/chat/index.d.ts +12464 -12390
  16. package/dist/src/chat/index.d.ts.map +1 -1
  17. package/dist/src/chat/schema.d.ts +227 -110
  18. package/dist/src/chat/schema.d.ts.map +1 -1
  19. package/dist/src/chat/validation.d.ts +1158 -1545
  20. package/dist/src/chat/validation.d.ts.map +1 -1
  21. package/dist/src/comment/index.d.ts +1128 -491
  22. package/dist/src/comment/index.d.ts.map +1 -1
  23. package/dist/src/comment/schema.d.ts +319 -140
  24. package/dist/src/comment/schema.d.ts.map +1 -1
  25. package/dist/src/contact/index.d.ts +77 -0
  26. package/dist/src/contact/index.d.ts.map +1 -1
  27. package/dist/src/contact/schema.d.ts +16 -0
  28. package/dist/src/contact/schema.d.ts.map +1 -1
  29. package/dist/src/contact/validation.d.ts +63 -0
  30. package/dist/src/contact/validation.d.ts.map +1 -1
  31. package/dist/src/contract.d.ts +28088 -29053
  32. package/dist/src/contract.d.ts.map +1 -1
  33. package/dist/src/cx-log/index.d.ts +243 -72
  34. package/dist/src/cx-log/index.d.ts.map +1 -1
  35. package/dist/src/cx-log/schema.d.ts +193 -56
  36. package/dist/src/cx-log/schema.d.ts.map +1 -1
  37. package/dist/src/extension/index.d.ts +29 -120
  38. package/dist/src/extension/index.d.ts.map +1 -1
  39. package/dist/src/extension/schema.d.ts +3 -0
  40. package/dist/src/extension/schema.d.ts.map +1 -1
  41. package/dist/src/extension/validation.d.ts +6 -0
  42. package/dist/src/extension/validation.d.ts.map +1 -1
  43. package/dist/src/mail/mail-contract.d.ts +7 -0
  44. package/dist/src/mail/mail-contract.d.ts.map +1 -1
  45. package/dist/src/mail/room-contract.d.ts +7 -0
  46. package/dist/src/mail/room-contract.d.ts.map +1 -1
  47. package/dist/src/mail/schemas/room.schema.d.ts +5 -0
  48. package/dist/src/mail/schemas/room.schema.d.ts.map +1 -1
  49. package/dist/src/messenger/index.d.ts +442 -100
  50. package/dist/src/messenger/index.d.ts.map +1 -1
  51. package/dist/src/telephony-agent-presence-status/index.d.ts +57 -34
  52. package/dist/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  53. package/dist/src/telephony-agent-presence-status/schema.d.ts +17 -10
  54. package/dist/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  55. package/dist/src/telephony-cdr/schema.d.ts +53 -0
  56. package/dist/src/telephony-cdr/schema.d.ts.map +1 -1
  57. package/dist/src/telephony-extension/index.d.ts +2 -0
  58. package/dist/src/telephony-extension/index.d.ts.map +1 -1
  59. package/dist/src/ticket/index.d.ts +3022 -1253
  60. package/dist/src/ticket/index.d.ts.map +1 -1
  61. package/dist/src/ticket/schema.d.ts +236 -167
  62. package/dist/src/ticket/schema.d.ts.map +1 -1
  63. package/dist/src/upload/schema.d.ts +3 -0
  64. package/dist/src/upload/schema.d.ts.map +1 -1
  65. package/dist/src/user/index.d.ts +57 -34
  66. package/dist/src/user/index.d.ts.map +1 -1
  67. package/dist/src/user/schema.d.ts +11 -6
  68. package/dist/src/user/schema.d.ts.map +1 -1
  69. package/dist/src/user-presence-status-log/index.d.ts +12 -8
  70. package/dist/src/user-presence-status-log/index.d.ts.map +1 -1
  71. package/dist/src/user-presence-status-log/schema.d.ts +17 -10
  72. package/dist/src/user-presence-status-log/schema.d.ts.map +1 -1
  73. package/package.json +1 -1
  74. package/dist/src/app/index.d.ts +0 -17
  75. package/dist/src/app/index.d.ts.map +0 -1
  76. package/dist/src/mail/mail-server.d.ts +0 -216
  77. package/dist/src/mail/mail-server.d.ts.map +0 -1
  78. package/dist/src/platform-contact/schema.d.ts +0 -30
  79. package/dist/src/platform-contact/schema.d.ts.map +0 -1
@@ -89,7 +89,7 @@ export declare const CommentSchema: z.ZodObject<{
89
89
  displayName: string;
90
90
  }[];
91
91
  }>, "many">;
92
- extension: z.ZodOptional<z.ZodObject<{
92
+ extension: z.ZodObject<{
93
93
  id: z.ZodString;
94
94
  createdAt: z.ZodDate;
95
95
  updatedAt: z.ZodDate;
@@ -97,6 +97,7 @@ export declare const CommentSchema: z.ZodObject<{
97
97
  userId: z.ZodNullable<z.ZodString>;
98
98
  sipServerUrl: z.ZodString;
99
99
  sipUserName: z.ZodString;
100
+ webphoneLoginUser: z.ZodString;
100
101
  extensionId: z.ZodNumber;
101
102
  extensionName: z.ZodString;
102
103
  telephonySignature: z.ZodNullable<z.ZodString>;
@@ -108,6 +109,7 @@ export declare const CommentSchema: z.ZodObject<{
108
109
  userId: string | null;
109
110
  sipServerUrl: string;
110
111
  sipUserName: string;
112
+ webphoneLoginUser: string;
111
113
  extensionId: number;
112
114
  extensionName: string;
113
115
  telephonySignature: string | null;
@@ -119,10 +121,11 @@ export declare const CommentSchema: z.ZodObject<{
119
121
  userId: string | null;
120
122
  sipServerUrl: string;
121
123
  sipUserName: string;
124
+ webphoneLoginUser: string;
122
125
  extensionId: number;
123
126
  extensionName: string;
124
127
  telephonySignature: string | null;
125
- }>>;
128
+ }>;
126
129
  }, "strip", z.ZodTypeAny, {
127
130
  id: string;
128
131
  address: string | null;
@@ -153,7 +156,7 @@ export declare const CommentSchema: z.ZodObject<{
153
156
  displayName: string;
154
157
  }[];
155
158
  }[];
156
- extension?: {
159
+ extension: {
157
160
  id: string;
158
161
  createdAt: Date;
159
162
  updatedAt: Date;
@@ -161,10 +164,11 @@ export declare const CommentSchema: z.ZodObject<{
161
164
  userId: string | null;
162
165
  sipServerUrl: string;
163
166
  sipUserName: string;
167
+ webphoneLoginUser: string;
164
168
  extensionId: number;
165
169
  extensionName: string;
166
170
  telephonySignature: string | null;
167
- } | undefined;
171
+ };
168
172
  }, {
169
173
  id: string;
170
174
  address: string | null;
@@ -195,7 +199,7 @@ export declare const CommentSchema: z.ZodObject<{
195
199
  displayName: string;
196
200
  }[];
197
201
  }[];
198
- extension?: {
202
+ extension: {
199
203
  id: string;
200
204
  createdAt: Date;
201
205
  updatedAt: Date;
@@ -203,10 +207,11 @@ export declare const CommentSchema: z.ZodObject<{
203
207
  userId: string | null;
204
208
  sipServerUrl: string;
205
209
  sipUserName: string;
210
+ webphoneLoginUser: string;
206
211
  extensionId: number;
207
212
  extensionName: string;
208
213
  telephonySignature: string | null;
209
- } | undefined;
214
+ };
210
215
  }>;
211
216
  entityId: z.ZodString;
212
217
  description: z.ZodString;
@@ -268,7 +273,7 @@ export declare const CommentSchema: z.ZodObject<{
268
273
  displayName: string;
269
274
  }[];
270
275
  }[];
271
- extension?: {
276
+ extension: {
272
277
  id: string;
273
278
  createdAt: Date;
274
279
  updatedAt: Date;
@@ -276,10 +281,11 @@ export declare const CommentSchema: z.ZodObject<{
276
281
  userId: string | null;
277
282
  sipServerUrl: string;
278
283
  sipUserName: string;
284
+ webphoneLoginUser: string;
279
285
  extensionId: number;
280
286
  extensionName: string;
281
287
  telephonySignature: string | null;
282
- } | undefined;
288
+ };
283
289
  };
284
290
  entityId: string;
285
291
  entityType: {
@@ -326,7 +332,7 @@ export declare const CommentSchema: z.ZodObject<{
326
332
  displayName: string;
327
333
  }[];
328
334
  }[];
329
- extension?: {
335
+ extension: {
330
336
  id: string;
331
337
  createdAt: Date;
332
338
  updatedAt: Date;
@@ -334,10 +340,11 @@ export declare const CommentSchema: z.ZodObject<{
334
340
  userId: string | null;
335
341
  sipServerUrl: string;
336
342
  sipUserName: string;
343
+ webphoneLoginUser: string;
337
344
  extensionId: number;
338
345
  extensionName: string;
339
346
  telephonySignature: string | null;
340
- } | undefined;
347
+ };
341
348
  };
342
349
  entityId: string;
343
350
  entityType: {
@@ -462,67 +469,31 @@ export declare const CommentSchema: z.ZodObject<{
462
469
  createdAt: z.ZodDate;
463
470
  updatedAt: z.ZodDate;
464
471
  deletedAt: z.ZodNullable<z.ZodDate>;
465
- customFieldId: z.ZodString;
466
- upload: z.ZodObject<{
467
- id: z.ZodString;
468
- createdAt: z.ZodDate;
469
- updatedAt: z.ZodDate;
470
- deletedAt: z.ZodNullable<z.ZodDate>;
471
- bucketName: z.ZodString;
472
- fileName: z.ZodString;
473
- fileSize: z.ZodNumber;
474
- fileKey: z.ZodString;
475
- }, "strip", z.ZodTypeAny, {
476
- id: string;
477
- createdAt: Date;
478
- updatedAt: Date;
479
- deletedAt: Date | null;
480
- fileName: string;
481
- fileKey: string;
482
- bucketName: string;
483
- fileSize: number;
484
- }, {
485
- id: string;
486
- createdAt: Date;
487
- updatedAt: Date;
488
- deletedAt: Date | null;
489
- fileName: string;
490
- fileKey: string;
491
- bucketName: string;
492
- fileSize: number;
493
- }>;
472
+ bucketName: z.ZodString;
473
+ fileName: z.ZodString;
474
+ fileSize: z.ZodNumber;
475
+ fileKey: z.ZodString;
476
+ fileUrl: z.ZodNullable<z.ZodString>;
494
477
  }, "strip", z.ZodTypeAny, {
495
478
  id: string;
496
479
  createdAt: Date;
497
480
  updatedAt: Date;
498
481
  deletedAt: Date | null;
499
- customFieldId: string;
500
- upload: {
501
- id: string;
502
- createdAt: Date;
503
- updatedAt: Date;
504
- deletedAt: Date | null;
505
- fileName: string;
506
- fileKey: string;
507
- bucketName: string;
508
- fileSize: number;
509
- };
482
+ fileName: string;
483
+ fileKey: string;
484
+ bucketName: string;
485
+ fileSize: number;
486
+ fileUrl: string | null;
510
487
  }, {
511
488
  id: string;
512
489
  createdAt: Date;
513
490
  updatedAt: Date;
514
491
  deletedAt: Date | null;
515
- customFieldId: string;
516
- upload: {
517
- id: string;
518
- createdAt: Date;
519
- updatedAt: Date;
520
- deletedAt: Date | null;
521
- fileName: string;
522
- fileKey: string;
523
- bucketName: string;
524
- fileSize: number;
525
- };
492
+ fileName: string;
493
+ fileKey: string;
494
+ bucketName: string;
495
+ fileSize: number;
496
+ fileUrl: string | null;
526
497
  }>, "many">;
527
498
  }, "strip", z.ZodTypeAny, {
528
499
  id: string;
@@ -552,17 +523,11 @@ export declare const CommentSchema: z.ZodObject<{
552
523
  createdAt: Date;
553
524
  updatedAt: Date;
554
525
  deletedAt: Date | null;
555
- customFieldId: string;
556
- upload: {
557
- id: string;
558
- createdAt: Date;
559
- updatedAt: Date;
560
- deletedAt: Date | null;
561
- fileName: string;
562
- fileKey: string;
563
- bucketName: string;
564
- fileSize: number;
565
- };
526
+ fileName: string;
527
+ fileKey: string;
528
+ bucketName: string;
529
+ fileSize: number;
530
+ fileUrl: string | null;
566
531
  }[];
567
532
  }, {
568
533
  id: string;
@@ -592,17 +557,130 @@ export declare const CommentSchema: z.ZodObject<{
592
557
  createdAt: Date;
593
558
  updatedAt: Date;
594
559
  deletedAt: Date | null;
595
- customFieldId: string;
596
- upload: {
560
+ fileName: string;
561
+ fileKey: string;
562
+ bucketName: string;
563
+ fileSize: number;
564
+ fileUrl: string | null;
565
+ }[];
566
+ }>, "many">;
567
+ tags: z.ZodArray<z.ZodObject<{
568
+ id: z.ZodString;
569
+ createdAt: z.ZodDate;
570
+ updatedAt: z.ZodDate;
571
+ deletedAt: z.ZodNullable<z.ZodDate>;
572
+ name: z.ZodString;
573
+ }, "strip", z.ZodTypeAny, {
574
+ id: string;
575
+ name: string;
576
+ createdAt: Date;
577
+ updatedAt: Date;
578
+ deletedAt: Date | null;
579
+ }, {
580
+ id: string;
581
+ name: string;
582
+ createdAt: Date;
583
+ updatedAt: Date;
584
+ deletedAt: Date | null;
585
+ }>, "many">;
586
+ categories: z.ZodArray<z.ZodObject<{
587
+ id: z.ZodString;
588
+ createdAt: z.ZodDate;
589
+ updatedAt: z.ZodDate;
590
+ deletedAt: z.ZodNullable<z.ZodDate>;
591
+ value: z.ZodString;
592
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
593
+ parentId: z.ZodNullable<z.ZodString>;
594
+ childCategoryList: z.ZodArray<z.ZodObject<{
595
+ id: z.ZodString;
596
+ value: z.ZodString;
597
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
598
+ parentId: z.ZodNullable<z.ZodString>;
599
+ childCategoryList: z.ZodArray<z.ZodObject<{
600
+ id: z.ZodString;
601
+ value: z.ZodString;
602
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
603
+ parentId: z.ZodNullable<z.ZodString>;
604
+ childCategoryList: z.ZodArray<z.ZodAny, "many">;
605
+ }, "strip", z.ZodTypeAny, {
597
606
  id: string;
598
- createdAt: Date;
599
- updatedAt: Date;
600
- deletedAt: Date | null;
601
- fileName: string;
602
- fileKey: string;
603
- bucketName: string;
604
- fileSize: number;
605
- };
607
+ value: string;
608
+ level: 2 | 1 | 3;
609
+ parentId: string | null;
610
+ childCategoryList: any[];
611
+ }, {
612
+ id: string;
613
+ value: string;
614
+ level: 2 | 1 | 3;
615
+ parentId: string | null;
616
+ childCategoryList: any[];
617
+ }>, "many">;
618
+ }, "strip", z.ZodTypeAny, {
619
+ id: string;
620
+ value: string;
621
+ level: 2 | 1 | 3;
622
+ parentId: string | null;
623
+ childCategoryList: {
624
+ id: string;
625
+ value: string;
626
+ level: 2 | 1 | 3;
627
+ parentId: string | null;
628
+ childCategoryList: any[];
629
+ }[];
630
+ }, {
631
+ id: string;
632
+ value: string;
633
+ level: 2 | 1 | 3;
634
+ parentId: string | null;
635
+ childCategoryList: {
636
+ id: string;
637
+ value: string;
638
+ level: 2 | 1 | 3;
639
+ parentId: string | null;
640
+ childCategoryList: any[];
641
+ }[];
642
+ }>, "many">;
643
+ }, "strip", z.ZodTypeAny, {
644
+ id: string;
645
+ value: string;
646
+ createdAt: Date;
647
+ updatedAt: Date;
648
+ deletedAt: Date | null;
649
+ level: 2 | 1 | 3;
650
+ parentId: string | null;
651
+ childCategoryList: {
652
+ id: string;
653
+ value: string;
654
+ level: 2 | 1 | 3;
655
+ parentId: string | null;
656
+ childCategoryList: {
657
+ id: string;
658
+ value: string;
659
+ level: 2 | 1 | 3;
660
+ parentId: string | null;
661
+ childCategoryList: any[];
662
+ }[];
663
+ }[];
664
+ }, {
665
+ id: string;
666
+ value: string;
667
+ createdAt: Date;
668
+ updatedAt: Date;
669
+ deletedAt: Date | null;
670
+ level: 2 | 1 | 3;
671
+ parentId: string | null;
672
+ childCategoryList: {
673
+ id: string;
674
+ value: string;
675
+ level: 2 | 1 | 3;
676
+ parentId: string | null;
677
+ childCategoryList: {
678
+ id: string;
679
+ value: string;
680
+ level: 2 | 1 | 3;
681
+ parentId: string | null;
682
+ childCategoryList: any[];
683
+ }[];
606
684
  }[];
607
685
  }>, "many">;
608
686
  }, "strip", z.ZodTypeAny, {
@@ -616,6 +694,28 @@ export declare const CommentSchema: z.ZodObject<{
616
694
  createdAt: Date;
617
695
  updatedAt: Date;
618
696
  deletedAt: Date | null;
697
+ categories: {
698
+ id: string;
699
+ value: string;
700
+ createdAt: Date;
701
+ updatedAt: Date;
702
+ deletedAt: Date | null;
703
+ level: 2 | 1 | 3;
704
+ parentId: string | null;
705
+ childCategoryList: {
706
+ id: string;
707
+ value: string;
708
+ level: 2 | 1 | 3;
709
+ parentId: string | null;
710
+ childCategoryList: {
711
+ id: string;
712
+ value: string;
713
+ level: 2 | 1 | 3;
714
+ parentId: string | null;
715
+ childCategoryList: any[];
716
+ }[];
717
+ }[];
718
+ }[];
619
719
  customFields: {
620
720
  id: string;
621
721
  createdAt: Date;
@@ -644,19 +744,20 @@ export declare const CommentSchema: z.ZodObject<{
644
744
  createdAt: Date;
645
745
  updatedAt: Date;
646
746
  deletedAt: Date | null;
647
- customFieldId: string;
648
- upload: {
649
- id: string;
650
- createdAt: Date;
651
- updatedAt: Date;
652
- deletedAt: Date | null;
653
- fileName: string;
654
- fileKey: string;
655
- bucketName: string;
656
- fileSize: number;
657
- };
747
+ fileName: string;
748
+ fileKey: string;
749
+ bucketName: string;
750
+ fileSize: number;
751
+ fileUrl: string | null;
658
752
  }[];
659
753
  }[];
754
+ tags: {
755
+ id: string;
756
+ name: string;
757
+ createdAt: Date;
758
+ updatedAt: Date;
759
+ deletedAt: Date | null;
760
+ }[];
660
761
  contactId: string;
661
762
  assigneeId: string;
662
763
  creatorId: string;
@@ -673,6 +774,28 @@ export declare const CommentSchema: z.ZodObject<{
673
774
  createdAt: Date;
674
775
  updatedAt: Date;
675
776
  deletedAt: Date | null;
777
+ categories: {
778
+ id: string;
779
+ value: string;
780
+ createdAt: Date;
781
+ updatedAt: Date;
782
+ deletedAt: Date | null;
783
+ level: 2 | 1 | 3;
784
+ parentId: string | null;
785
+ childCategoryList: {
786
+ id: string;
787
+ value: string;
788
+ level: 2 | 1 | 3;
789
+ parentId: string | null;
790
+ childCategoryList: {
791
+ id: string;
792
+ value: string;
793
+ level: 2 | 1 | 3;
794
+ parentId: string | null;
795
+ childCategoryList: any[];
796
+ }[];
797
+ }[];
798
+ }[];
676
799
  customFields: {
677
800
  id: string;
678
801
  createdAt: Date;
@@ -701,19 +824,20 @@ export declare const CommentSchema: z.ZodObject<{
701
824
  createdAt: Date;
702
825
  updatedAt: Date;
703
826
  deletedAt: Date | null;
704
- customFieldId: string;
705
- upload: {
706
- id: string;
707
- createdAt: Date;
708
- updatedAt: Date;
709
- deletedAt: Date | null;
710
- fileName: string;
711
- fileKey: string;
712
- bucketName: string;
713
- fileSize: number;
714
- };
827
+ fileName: string;
828
+ fileKey: string;
829
+ bucketName: string;
830
+ fileSize: number;
831
+ fileUrl: string | null;
715
832
  }[];
716
833
  }[];
834
+ tags: {
835
+ id: string;
836
+ name: string;
837
+ createdAt: Date;
838
+ updatedAt: Date;
839
+ deletedAt: Date | null;
840
+ }[];
717
841
  contactId: string;
718
842
  assigneeId: string;
719
843
  creatorId: string;
@@ -800,7 +924,7 @@ export declare const CommentSchema: z.ZodObject<{
800
924
  displayName: string;
801
925
  }[];
802
926
  }>, "many">;
803
- extension: z.ZodOptional<z.ZodObject<{
927
+ extension: z.ZodObject<{
804
928
  id: z.ZodString;
805
929
  createdAt: z.ZodDate;
806
930
  updatedAt: z.ZodDate;
@@ -808,6 +932,7 @@ export declare const CommentSchema: z.ZodObject<{
808
932
  userId: z.ZodNullable<z.ZodString>;
809
933
  sipServerUrl: z.ZodString;
810
934
  sipUserName: z.ZodString;
935
+ webphoneLoginUser: z.ZodString;
811
936
  extensionId: z.ZodNumber;
812
937
  extensionName: z.ZodString;
813
938
  telephonySignature: z.ZodNullable<z.ZodString>;
@@ -819,6 +944,7 @@ export declare const CommentSchema: z.ZodObject<{
819
944
  userId: string | null;
820
945
  sipServerUrl: string;
821
946
  sipUserName: string;
947
+ webphoneLoginUser: string;
822
948
  extensionId: number;
823
949
  extensionName: string;
824
950
  telephonySignature: string | null;
@@ -830,10 +956,11 @@ export declare const CommentSchema: z.ZodObject<{
830
956
  userId: string | null;
831
957
  sipServerUrl: string;
832
958
  sipUserName: string;
959
+ webphoneLoginUser: string;
833
960
  extensionId: number;
834
961
  extensionName: string;
835
962
  telephonySignature: string | null;
836
- }>>;
963
+ }>;
837
964
  }, "strip", z.ZodTypeAny, {
838
965
  id: string;
839
966
  address: string | null;
@@ -864,7 +991,7 @@ export declare const CommentSchema: z.ZodObject<{
864
991
  displayName: string;
865
992
  }[];
866
993
  }[];
867
- extension?: {
994
+ extension: {
868
995
  id: string;
869
996
  createdAt: Date;
870
997
  updatedAt: Date;
@@ -872,10 +999,11 @@ export declare const CommentSchema: z.ZodObject<{
872
999
  userId: string | null;
873
1000
  sipServerUrl: string;
874
1001
  sipUserName: string;
1002
+ webphoneLoginUser: string;
875
1003
  extensionId: number;
876
1004
  extensionName: string;
877
1005
  telephonySignature: string | null;
878
- } | undefined;
1006
+ };
879
1007
  }, {
880
1008
  id: string;
881
1009
  address: string | null;
@@ -906,7 +1034,7 @@ export declare const CommentSchema: z.ZodObject<{
906
1034
  displayName: string;
907
1035
  }[];
908
1036
  }[];
909
- extension?: {
1037
+ extension: {
910
1038
  id: string;
911
1039
  createdAt: Date;
912
1040
  updatedAt: Date;
@@ -914,10 +1042,11 @@ export declare const CommentSchema: z.ZodObject<{
914
1042
  userId: string | null;
915
1043
  sipServerUrl: string;
916
1044
  sipUserName: string;
1045
+ webphoneLoginUser: string;
917
1046
  extensionId: number;
918
1047
  extensionName: string;
919
1048
  telephonySignature: string | null;
920
- } | undefined;
1049
+ };
921
1050
  }>;
922
1051
  }, "strip", z.ZodTypeAny, {
923
1052
  id: string;
@@ -960,7 +1089,7 @@ export declare const CommentSchema: z.ZodObject<{
960
1089
  displayName: string;
961
1090
  }[];
962
1091
  }[];
963
- extension?: {
1092
+ extension: {
964
1093
  id: string;
965
1094
  createdAt: Date;
966
1095
  updatedAt: Date;
@@ -968,10 +1097,11 @@ export declare const CommentSchema: z.ZodObject<{
968
1097
  userId: string | null;
969
1098
  sipServerUrl: string;
970
1099
  sipUserName: string;
1100
+ webphoneLoginUser: string;
971
1101
  extensionId: number;
972
1102
  extensionName: string;
973
1103
  telephonySignature: string | null;
974
- } | undefined;
1104
+ };
975
1105
  };
976
1106
  entityId: string;
977
1107
  entityType: {
@@ -1013,7 +1143,7 @@ export declare const CommentSchema: z.ZodObject<{
1013
1143
  displayName: string;
1014
1144
  }[];
1015
1145
  }[];
1016
- extension?: {
1146
+ extension: {
1017
1147
  id: string;
1018
1148
  createdAt: Date;
1019
1149
  updatedAt: Date;
@@ -1021,10 +1151,11 @@ export declare const CommentSchema: z.ZodObject<{
1021
1151
  userId: string | null;
1022
1152
  sipServerUrl: string;
1023
1153
  sipUserName: string;
1154
+ webphoneLoginUser: string;
1024
1155
  extensionId: number;
1025
1156
  extensionName: string;
1026
1157
  telephonySignature: string | null;
1027
- } | undefined;
1158
+ };
1028
1159
  };
1029
1160
  ticket: {
1030
1161
  type: string;
@@ -1037,6 +1168,28 @@ export declare const CommentSchema: z.ZodObject<{
1037
1168
  createdAt: Date;
1038
1169
  updatedAt: Date;
1039
1170
  deletedAt: Date | null;
1171
+ categories: {
1172
+ id: string;
1173
+ value: string;
1174
+ createdAt: Date;
1175
+ updatedAt: Date;
1176
+ deletedAt: Date | null;
1177
+ level: 2 | 1 | 3;
1178
+ parentId: string | null;
1179
+ childCategoryList: {
1180
+ id: string;
1181
+ value: string;
1182
+ level: 2 | 1 | 3;
1183
+ parentId: string | null;
1184
+ childCategoryList: {
1185
+ id: string;
1186
+ value: string;
1187
+ level: 2 | 1 | 3;
1188
+ parentId: string | null;
1189
+ childCategoryList: any[];
1190
+ }[];
1191
+ }[];
1192
+ }[];
1040
1193
  customFields: {
1041
1194
  id: string;
1042
1195
  createdAt: Date;
@@ -1065,19 +1218,20 @@ export declare const CommentSchema: z.ZodObject<{
1065
1218
  createdAt: Date;
1066
1219
  updatedAt: Date;
1067
1220
  deletedAt: Date | null;
1068
- customFieldId: string;
1069
- upload: {
1070
- id: string;
1071
- createdAt: Date;
1072
- updatedAt: Date;
1073
- deletedAt: Date | null;
1074
- fileName: string;
1075
- fileKey: string;
1076
- bucketName: string;
1077
- fileSize: number;
1078
- };
1221
+ fileName: string;
1222
+ fileKey: string;
1223
+ bucketName: string;
1224
+ fileSize: number;
1225
+ fileUrl: string | null;
1079
1226
  }[];
1080
1227
  }[];
1228
+ tags: {
1229
+ id: string;
1230
+ name: string;
1231
+ createdAt: Date;
1232
+ updatedAt: Date;
1233
+ deletedAt: Date | null;
1234
+ }[];
1081
1235
  contactId: string;
1082
1236
  assigneeId: string;
1083
1237
  creatorId: string;
@@ -1127,7 +1281,7 @@ export declare const CommentSchema: z.ZodObject<{
1127
1281
  displayName: string;
1128
1282
  }[];
1129
1283
  }[];
1130
- extension?: {
1284
+ extension: {
1131
1285
  id: string;
1132
1286
  createdAt: Date;
1133
1287
  updatedAt: Date;
@@ -1135,10 +1289,11 @@ export declare const CommentSchema: z.ZodObject<{
1135
1289
  userId: string | null;
1136
1290
  sipServerUrl: string;
1137
1291
  sipUserName: string;
1292
+ webphoneLoginUser: string;
1138
1293
  extensionId: number;
1139
1294
  extensionName: string;
1140
1295
  telephonySignature: string | null;
1141
- } | undefined;
1296
+ };
1142
1297
  };
1143
1298
  entityId: string;
1144
1299
  entityType: {
@@ -1180,7 +1335,7 @@ export declare const CommentSchema: z.ZodObject<{
1180
1335
  displayName: string;
1181
1336
  }[];
1182
1337
  }[];
1183
- extension?: {
1338
+ extension: {
1184
1339
  id: string;
1185
1340
  createdAt: Date;
1186
1341
  updatedAt: Date;
@@ -1188,10 +1343,11 @@ export declare const CommentSchema: z.ZodObject<{
1188
1343
  userId: string | null;
1189
1344
  sipServerUrl: string;
1190
1345
  sipUserName: string;
1346
+ webphoneLoginUser: string;
1191
1347
  extensionId: number;
1192
1348
  extensionName: string;
1193
1349
  telephonySignature: string | null;
1194
- } | undefined;
1350
+ };
1195
1351
  };
1196
1352
  ticket: {
1197
1353
  type: string;
@@ -1204,6 +1360,28 @@ export declare const CommentSchema: z.ZodObject<{
1204
1360
  createdAt: Date;
1205
1361
  updatedAt: Date;
1206
1362
  deletedAt: Date | null;
1363
+ categories: {
1364
+ id: string;
1365
+ value: string;
1366
+ createdAt: Date;
1367
+ updatedAt: Date;
1368
+ deletedAt: Date | null;
1369
+ level: 2 | 1 | 3;
1370
+ parentId: string | null;
1371
+ childCategoryList: {
1372
+ id: string;
1373
+ value: string;
1374
+ level: 2 | 1 | 3;
1375
+ parentId: string | null;
1376
+ childCategoryList: {
1377
+ id: string;
1378
+ value: string;
1379
+ level: 2 | 1 | 3;
1380
+ parentId: string | null;
1381
+ childCategoryList: any[];
1382
+ }[];
1383
+ }[];
1384
+ }[];
1207
1385
  customFields: {
1208
1386
  id: string;
1209
1387
  createdAt: Date;
@@ -1232,19 +1410,20 @@ export declare const CommentSchema: z.ZodObject<{
1232
1410
  createdAt: Date;
1233
1411
  updatedAt: Date;
1234
1412
  deletedAt: Date | null;
1235
- customFieldId: string;
1236
- upload: {
1237
- id: string;
1238
- createdAt: Date;
1239
- updatedAt: Date;
1240
- deletedAt: Date | null;
1241
- fileName: string;
1242
- fileKey: string;
1243
- bucketName: string;
1244
- fileSize: number;
1245
- };
1413
+ fileName: string;
1414
+ fileKey: string;
1415
+ bucketName: string;
1416
+ fileSize: number;
1417
+ fileUrl: string | null;
1246
1418
  }[];
1247
1419
  }[];
1420
+ tags: {
1421
+ id: string;
1422
+ name: string;
1423
+ createdAt: Date;
1424
+ updatedAt: Date;
1425
+ deletedAt: Date | null;
1426
+ }[];
1248
1427
  contactId: string;
1249
1428
  assigneeId: string;
1250
1429
  creatorId: string;