@kl1/contracts 1.0.44 → 1.0.46
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.
- package/dist/index.js +117 -33
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +117 -33
- package/dist/index.mjs.map +1 -1
- package/dist/src/chat/index.d.ts +193 -0
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +44 -0
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +48 -0
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/comment/index.d.ts +1540 -150
- package/dist/src/comment/index.d.ts.map +1 -1
- package/dist/src/comment/schema.d.ts +424 -22
- package/dist/src/comment/schema.d.ts.map +1 -1
- package/dist/src/contact/index.d.ts +77 -0
- package/dist/src/contact/index.d.ts.map +1 -1
- package/dist/src/contact/schema.d.ts +16 -0
- package/dist/src/contact/schema.d.ts.map +1 -1
- package/dist/src/contact/validation.d.ts +63 -0
- package/dist/src/contact/validation.d.ts.map +1 -1
- package/dist/src/contract.d.ts +5278 -695
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/cx-log/index.d.ts +54 -0
- package/dist/src/cx-log/index.d.ts.map +1 -1
- package/dist/src/cx-log/schema.d.ts +46 -0
- package/dist/src/cx-log/schema.d.ts.map +1 -1
- package/dist/src/mail/mail-contract.d.ts +7 -0
- package/dist/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/src/mail/room-contract.d.ts +7 -0
- package/dist/src/mail/room-contract.d.ts.map +1 -1
- package/dist/src/mail/schemas/room.schema.d.ts +5 -0
- package/dist/src/mail/schemas/room.schema.d.ts.map +1 -1
- package/dist/src/messenger/index.d.ts +24 -0
- package/dist/src/messenger/index.d.ts.map +1 -1
- package/dist/src/telephony-cdr/call-report.schema.d.ts +334 -1
- package/dist/src/telephony-cdr/call-report.schema.d.ts.map +1 -1
- package/dist/src/telephony-cdr/index.d.ts +714 -1
- package/dist/src/telephony-cdr/index.d.ts.map +1 -1
- package/dist/src/telephony-cdr/schema.d.ts +698 -0
- package/dist/src/telephony-cdr/schema.d.ts.map +1 -1
- package/dist/src/ticket/index.d.ts +2338 -171
- package/dist/src/ticket/index.d.ts.map +1 -1
- package/dist/src/ticket/schema.d.ts +327 -12
- package/dist/src/ticket/schema.d.ts.map +1 -1
- package/dist/src/upload/schema.d.ts +3 -0
- package/dist/src/upload/schema.d.ts.map +1 -1
- package/package.json +1 -1
@@ -371,8 +371,212 @@ export declare const CommentSchema: z.ZodObject<{
|
|
371
371
|
status: z.ZodString;
|
372
372
|
contactId: z.ZodString;
|
373
373
|
creatorId: z.ZodString;
|
374
|
+
creator: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
375
|
+
id: z.ZodString;
|
376
|
+
createdAt: z.ZodDate;
|
377
|
+
updatedAt: z.ZodDate;
|
378
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
379
|
+
name: z.ZodString;
|
380
|
+
email: z.ZodString;
|
381
|
+
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
382
|
+
password: z.ZodString;
|
383
|
+
address: z.ZodNullable<z.ZodString>;
|
384
|
+
phone: z.ZodNullable<z.ZodString>;
|
385
|
+
notificationCount: z.ZodNullable<z.ZodNumber>;
|
386
|
+
roles: z.ZodArray<z.ZodObject<{
|
387
|
+
id: z.ZodString;
|
388
|
+
createdAt: z.ZodDate;
|
389
|
+
updatedAt: z.ZodDate;
|
390
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
391
|
+
systemName: z.ZodString;
|
392
|
+
displayName: z.ZodString;
|
393
|
+
description: z.ZodNullable<z.ZodString>;
|
394
|
+
permissions: z.ZodArray<z.ZodObject<{
|
395
|
+
id: z.ZodString;
|
396
|
+
createdAt: z.ZodDate;
|
397
|
+
updatedAt: z.ZodDate;
|
398
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
399
|
+
systemName: z.ZodString;
|
400
|
+
displayName: z.ZodString;
|
401
|
+
description: z.ZodNullable<z.ZodString>;
|
402
|
+
}, "strip", z.ZodTypeAny, {
|
403
|
+
id: string;
|
404
|
+
description: string | null;
|
405
|
+
createdAt: Date;
|
406
|
+
updatedAt: Date;
|
407
|
+
deletedAt: Date | null;
|
408
|
+
systemName: string;
|
409
|
+
displayName: string;
|
410
|
+
}, {
|
411
|
+
id: string;
|
412
|
+
description: string | null;
|
413
|
+
createdAt: Date;
|
414
|
+
updatedAt: Date;
|
415
|
+
deletedAt: Date | null;
|
416
|
+
systemName: string;
|
417
|
+
displayName: string;
|
418
|
+
}>, "many">;
|
419
|
+
}, "strip", z.ZodTypeAny, {
|
420
|
+
id: string;
|
421
|
+
description: string | null;
|
422
|
+
createdAt: Date;
|
423
|
+
updatedAt: Date;
|
424
|
+
deletedAt: Date | null;
|
425
|
+
systemName: string;
|
426
|
+
displayName: string;
|
427
|
+
permissions: {
|
428
|
+
id: string;
|
429
|
+
description: string | null;
|
430
|
+
createdAt: Date;
|
431
|
+
updatedAt: Date;
|
432
|
+
deletedAt: Date | null;
|
433
|
+
systemName: string;
|
434
|
+
displayName: string;
|
435
|
+
}[];
|
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
|
+
permissions: {
|
445
|
+
id: string;
|
446
|
+
description: string | null;
|
447
|
+
createdAt: Date;
|
448
|
+
updatedAt: Date;
|
449
|
+
deletedAt: Date | null;
|
450
|
+
systemName: string;
|
451
|
+
displayName: string;
|
452
|
+
}[];
|
453
|
+
}>, "many">;
|
454
|
+
extension: z.ZodObject<{
|
455
|
+
id: z.ZodString;
|
456
|
+
createdAt: z.ZodDate;
|
457
|
+
updatedAt: z.ZodDate;
|
458
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
459
|
+
userId: z.ZodNullable<z.ZodString>;
|
460
|
+
sipServerUrl: z.ZodString;
|
461
|
+
sipUserName: z.ZodString;
|
462
|
+
webphoneLoginUser: z.ZodString;
|
463
|
+
extensionId: z.ZodNumber;
|
464
|
+
extensionName: z.ZodString;
|
465
|
+
telephonySignature: z.ZodNullable<z.ZodString>;
|
466
|
+
}, "strip", z.ZodTypeAny, {
|
467
|
+
id: string;
|
468
|
+
createdAt: Date;
|
469
|
+
updatedAt: Date;
|
470
|
+
deletedAt: Date | null;
|
471
|
+
userId: string | null;
|
472
|
+
sipServerUrl: string;
|
473
|
+
sipUserName: string;
|
474
|
+
webphoneLoginUser: string;
|
475
|
+
extensionId: number;
|
476
|
+
extensionName: string;
|
477
|
+
telephonySignature: string | null;
|
478
|
+
}, {
|
479
|
+
id: string;
|
480
|
+
createdAt: Date;
|
481
|
+
updatedAt: Date;
|
482
|
+
deletedAt: Date | null;
|
483
|
+
userId: string | null;
|
484
|
+
sipServerUrl: string;
|
485
|
+
sipUserName: string;
|
486
|
+
webphoneLoginUser: string;
|
487
|
+
extensionId: number;
|
488
|
+
extensionName: string;
|
489
|
+
telephonySignature: string | null;
|
490
|
+
}>;
|
491
|
+
}, "strip", z.ZodTypeAny, {
|
492
|
+
id: string;
|
493
|
+
address: string | null;
|
494
|
+
name: string;
|
495
|
+
email: string;
|
496
|
+
createdAt: Date;
|
497
|
+
updatedAt: Date;
|
498
|
+
deletedAt: Date | null;
|
499
|
+
emailVerifiedAt: Date | null;
|
500
|
+
password: string;
|
501
|
+
phone: string | null;
|
502
|
+
notificationCount: number | null;
|
503
|
+
roles: {
|
504
|
+
id: string;
|
505
|
+
description: string | null;
|
506
|
+
createdAt: Date;
|
507
|
+
updatedAt: Date;
|
508
|
+
deletedAt: Date | null;
|
509
|
+
systemName: string;
|
510
|
+
displayName: string;
|
511
|
+
permissions: {
|
512
|
+
id: string;
|
513
|
+
description: string | null;
|
514
|
+
createdAt: Date;
|
515
|
+
updatedAt: Date;
|
516
|
+
deletedAt: Date | null;
|
517
|
+
systemName: string;
|
518
|
+
displayName: string;
|
519
|
+
}[];
|
520
|
+
}[];
|
521
|
+
extension: {
|
522
|
+
id: string;
|
523
|
+
createdAt: Date;
|
524
|
+
updatedAt: Date;
|
525
|
+
deletedAt: Date | null;
|
526
|
+
userId: string | null;
|
527
|
+
sipServerUrl: string;
|
528
|
+
sipUserName: string;
|
529
|
+
webphoneLoginUser: string;
|
530
|
+
extensionId: number;
|
531
|
+
extensionName: string;
|
532
|
+
telephonySignature: string | null;
|
533
|
+
};
|
534
|
+
}, {
|
535
|
+
id: string;
|
536
|
+
address: string | null;
|
537
|
+
name: string;
|
538
|
+
email: string;
|
539
|
+
createdAt: Date;
|
540
|
+
updatedAt: Date;
|
541
|
+
deletedAt: Date | null;
|
542
|
+
emailVerifiedAt: Date | null;
|
543
|
+
password: string;
|
544
|
+
phone: string | null;
|
545
|
+
notificationCount: number | null;
|
546
|
+
roles: {
|
547
|
+
id: string;
|
548
|
+
description: string | null;
|
549
|
+
createdAt: Date;
|
550
|
+
updatedAt: Date;
|
551
|
+
deletedAt: Date | null;
|
552
|
+
systemName: string;
|
553
|
+
displayName: string;
|
554
|
+
permissions: {
|
555
|
+
id: string;
|
556
|
+
description: string | null;
|
557
|
+
createdAt: Date;
|
558
|
+
updatedAt: Date;
|
559
|
+
deletedAt: Date | null;
|
560
|
+
systemName: string;
|
561
|
+
displayName: string;
|
562
|
+
}[];
|
563
|
+
}[];
|
564
|
+
extension: {
|
565
|
+
id: string;
|
566
|
+
createdAt: Date;
|
567
|
+
updatedAt: Date;
|
568
|
+
deletedAt: Date | null;
|
569
|
+
userId: string | null;
|
570
|
+
sipServerUrl: string;
|
571
|
+
sipUserName: string;
|
572
|
+
webphoneLoginUser: string;
|
573
|
+
extensionId: number;
|
574
|
+
extensionName: string;
|
575
|
+
telephonySignature: string | null;
|
576
|
+
};
|
577
|
+
}>>>;
|
374
578
|
assigneeId: z.ZodString;
|
375
|
-
assignee: z.ZodObject<{
|
579
|
+
assignee: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
376
580
|
id: z.ZodString;
|
377
581
|
createdAt: z.ZodDate;
|
378
582
|
updatedAt: z.ZodDate;
|
@@ -575,7 +779,7 @@ export declare const CommentSchema: z.ZodObject<{
|
|
575
779
|
extensionName: string;
|
576
780
|
telephonySignature: string | null;
|
577
781
|
};
|
578
|
-
}
|
782
|
+
}>>>;
|
579
783
|
reasonToAssign: z.ZodNullable<z.ZodString>;
|
580
784
|
ticketNumber: z.ZodOptional<z.ZodNumber>;
|
581
785
|
customFields: z.ZodArray<z.ZodObject<{
|
@@ -678,6 +882,7 @@ export declare const CommentSchema: z.ZodObject<{
|
|
678
882
|
fileSize: z.ZodNumber;
|
679
883
|
fileKey: z.ZodString;
|
680
884
|
fileUrl: z.ZodNullable<z.ZodString>;
|
885
|
+
status: z.ZodOptional<z.ZodString>;
|
681
886
|
}, "strip", z.ZodTypeAny, {
|
682
887
|
id: string;
|
683
888
|
createdAt: Date;
|
@@ -688,6 +893,7 @@ export declare const CommentSchema: z.ZodObject<{
|
|
688
893
|
bucketName: string;
|
689
894
|
fileSize: number;
|
690
895
|
fileUrl: string | null;
|
896
|
+
status?: string | undefined;
|
691
897
|
}, {
|
692
898
|
id: string;
|
693
899
|
createdAt: Date;
|
@@ -698,6 +904,7 @@ export declare const CommentSchema: z.ZodObject<{
|
|
698
904
|
bucketName: string;
|
699
905
|
fileSize: number;
|
700
906
|
fileUrl: string | null;
|
907
|
+
status?: string | undefined;
|
701
908
|
}>, "many">;
|
702
909
|
}, "strip", z.ZodTypeAny, {
|
703
910
|
id: string;
|
@@ -732,6 +939,7 @@ export declare const CommentSchema: z.ZodObject<{
|
|
732
939
|
bucketName: string;
|
733
940
|
fileSize: number;
|
734
941
|
fileUrl: string | null;
|
942
|
+
status?: string | undefined;
|
735
943
|
}[];
|
736
944
|
}, {
|
737
945
|
id: string;
|
@@ -766,6 +974,7 @@ export declare const CommentSchema: z.ZodObject<{
|
|
766
974
|
bucketName: string;
|
767
975
|
fileSize: number;
|
768
976
|
fileUrl: string | null;
|
977
|
+
status?: string | undefined;
|
769
978
|
}[];
|
770
979
|
}>, "many">;
|
771
980
|
tags: z.ZodArray<z.ZodObject<{
|
@@ -1188,6 +1397,7 @@ export declare const CommentSchema: z.ZodObject<{
|
|
1188
1397
|
fileSize: z.ZodNumber;
|
1189
1398
|
fileKey: z.ZodString;
|
1190
1399
|
fileUrl: z.ZodNullable<z.ZodString>;
|
1400
|
+
status: z.ZodOptional<z.ZodString>;
|
1191
1401
|
}, "strip", z.ZodTypeAny, {
|
1192
1402
|
id: string;
|
1193
1403
|
createdAt: Date;
|
@@ -1198,6 +1408,7 @@ export declare const CommentSchema: z.ZodObject<{
|
|
1198
1408
|
bucketName: string;
|
1199
1409
|
fileSize: number;
|
1200
1410
|
fileUrl: string | null;
|
1411
|
+
status?: string | undefined;
|
1201
1412
|
}, {
|
1202
1413
|
id: string;
|
1203
1414
|
createdAt: Date;
|
@@ -1208,6 +1419,7 @@ export declare const CommentSchema: z.ZodObject<{
|
|
1208
1419
|
bucketName: string;
|
1209
1420
|
fileSize: number;
|
1210
1421
|
fileUrl: string | null;
|
1422
|
+
status?: string | undefined;
|
1211
1423
|
}>;
|
1212
1424
|
}, "strip", z.ZodTypeAny, {
|
1213
1425
|
id: string;
|
@@ -1225,6 +1437,7 @@ export declare const CommentSchema: z.ZodObject<{
|
|
1225
1437
|
bucketName: string;
|
1226
1438
|
fileSize: number;
|
1227
1439
|
fileUrl: string | null;
|
1440
|
+
status?: string | undefined;
|
1228
1441
|
};
|
1229
1442
|
}, {
|
1230
1443
|
id: string;
|
@@ -1242,6 +1455,7 @@ export declare const CommentSchema: z.ZodObject<{
|
|
1242
1455
|
bucketName: string;
|
1243
1456
|
fileSize: number;
|
1244
1457
|
fileUrl: string | null;
|
1458
|
+
status?: string | undefined;
|
1245
1459
|
};
|
1246
1460
|
}>, "many">;
|
1247
1461
|
}, "strip", z.ZodTypeAny, {
|
@@ -1283,6 +1497,7 @@ export declare const CommentSchema: z.ZodObject<{
|
|
1283
1497
|
bucketName: string;
|
1284
1498
|
fileSize: number;
|
1285
1499
|
fileUrl: string | null;
|
1500
|
+
status?: string | undefined;
|
1286
1501
|
};
|
1287
1502
|
}[];
|
1288
1503
|
}, {
|
@@ -1324,6 +1539,7 @@ export declare const CommentSchema: z.ZodObject<{
|
|
1324
1539
|
bucketName: string;
|
1325
1540
|
fileSize: number;
|
1326
1541
|
fileUrl: string | null;
|
1542
|
+
status?: string | undefined;
|
1327
1543
|
};
|
1328
1544
|
}[];
|
1329
1545
|
}>, "many">;
|
@@ -1478,6 +1694,7 @@ export declare const CommentSchema: z.ZodObject<{
|
|
1478
1694
|
bucketName: string;
|
1479
1695
|
fileSize: number;
|
1480
1696
|
fileUrl: string | null;
|
1697
|
+
status?: string | undefined;
|
1481
1698
|
};
|
1482
1699
|
}[];
|
1483
1700
|
}[];
|
@@ -1580,6 +1797,7 @@ export declare const CommentSchema: z.ZodObject<{
|
|
1580
1797
|
bucketName: string;
|
1581
1798
|
fileSize: number;
|
1582
1799
|
fileUrl: string | null;
|
1800
|
+
status?: string | undefined;
|
1583
1801
|
};
|
1584
1802
|
}[];
|
1585
1803
|
}[];
|
@@ -1716,6 +1934,7 @@ export declare const CommentSchema: z.ZodObject<{
|
|
1716
1934
|
bucketName: string;
|
1717
1935
|
fileSize: number;
|
1718
1936
|
fileUrl: string | null;
|
1937
|
+
status?: string | undefined;
|
1719
1938
|
};
|
1720
1939
|
}[];
|
1721
1940
|
}[];
|
@@ -1805,6 +2024,7 @@ export declare const CommentSchema: z.ZodObject<{
|
|
1805
2024
|
bucketName: string;
|
1806
2025
|
fileSize: number;
|
1807
2026
|
fileUrl: string | null;
|
2027
|
+
status?: string | undefined;
|
1808
2028
|
}[];
|
1809
2029
|
}[];
|
1810
2030
|
tags: {
|
@@ -1815,7 +2035,10 @@ export declare const CommentSchema: z.ZodObject<{
|
|
1815
2035
|
deletedAt: Date | null;
|
1816
2036
|
}[];
|
1817
2037
|
contactId: string;
|
1818
|
-
|
2038
|
+
assigneeId: string;
|
2039
|
+
creatorId: string;
|
2040
|
+
reasonToAssign: string | null;
|
2041
|
+
creator?: {
|
1819
2042
|
id: string;
|
1820
2043
|
address: string | null;
|
1821
2044
|
name: string;
|
@@ -1858,10 +2081,51 @@ export declare const CommentSchema: z.ZodObject<{
|
|
1858
2081
|
extensionName: string;
|
1859
2082
|
telephonySignature: string | null;
|
1860
2083
|
};
|
1861
|
-
};
|
1862
|
-
|
1863
|
-
|
1864
|
-
|
2084
|
+
} | null | undefined;
|
2085
|
+
assignee?: {
|
2086
|
+
id: string;
|
2087
|
+
address: string | null;
|
2088
|
+
name: string;
|
2089
|
+
email: string;
|
2090
|
+
createdAt: Date;
|
2091
|
+
updatedAt: Date;
|
2092
|
+
deletedAt: Date | null;
|
2093
|
+
emailVerifiedAt: Date | null;
|
2094
|
+
password: string;
|
2095
|
+
phone: string | null;
|
2096
|
+
notificationCount: number | null;
|
2097
|
+
roles: {
|
2098
|
+
id: string;
|
2099
|
+
description: string | null;
|
2100
|
+
createdAt: Date;
|
2101
|
+
updatedAt: Date;
|
2102
|
+
deletedAt: Date | null;
|
2103
|
+
systemName: string;
|
2104
|
+
displayName: string;
|
2105
|
+
permissions: {
|
2106
|
+
id: string;
|
2107
|
+
description: string | null;
|
2108
|
+
createdAt: Date;
|
2109
|
+
updatedAt: Date;
|
2110
|
+
deletedAt: Date | null;
|
2111
|
+
systemName: string;
|
2112
|
+
displayName: string;
|
2113
|
+
}[];
|
2114
|
+
}[];
|
2115
|
+
extension: {
|
2116
|
+
id: string;
|
2117
|
+
createdAt: Date;
|
2118
|
+
updatedAt: Date;
|
2119
|
+
deletedAt: Date | null;
|
2120
|
+
userId: string | null;
|
2121
|
+
sipServerUrl: string;
|
2122
|
+
sipUserName: string;
|
2123
|
+
webphoneLoginUser: string;
|
2124
|
+
extensionId: number;
|
2125
|
+
extensionName: string;
|
2126
|
+
telephonySignature: string | null;
|
2127
|
+
};
|
2128
|
+
} | null | undefined;
|
1865
2129
|
ticketNumber?: number | undefined;
|
1866
2130
|
}, {
|
1867
2131
|
type: string;
|
@@ -1943,6 +2207,7 @@ export declare const CommentSchema: z.ZodObject<{
|
|
1943
2207
|
bucketName: string;
|
1944
2208
|
fileSize: number;
|
1945
2209
|
fileUrl: string | null;
|
2210
|
+
status?: string | undefined;
|
1946
2211
|
};
|
1947
2212
|
}[];
|
1948
2213
|
}[];
|
@@ -2032,6 +2297,7 @@ export declare const CommentSchema: z.ZodObject<{
|
|
2032
2297
|
bucketName: string;
|
2033
2298
|
fileSize: number;
|
2034
2299
|
fileUrl: string | null;
|
2300
|
+
status?: string | undefined;
|
2035
2301
|
}[];
|
2036
2302
|
}[];
|
2037
2303
|
tags: {
|
@@ -2042,7 +2308,10 @@ export declare const CommentSchema: z.ZodObject<{
|
|
2042
2308
|
deletedAt: Date | null;
|
2043
2309
|
}[];
|
2044
2310
|
contactId: string;
|
2045
|
-
|
2311
|
+
assigneeId: string;
|
2312
|
+
creatorId: string;
|
2313
|
+
reasonToAssign: string | null;
|
2314
|
+
creator?: {
|
2046
2315
|
id: string;
|
2047
2316
|
address: string | null;
|
2048
2317
|
name: string;
|
@@ -2085,10 +2354,51 @@ export declare const CommentSchema: z.ZodObject<{
|
|
2085
2354
|
extensionName: string;
|
2086
2355
|
telephonySignature: string | null;
|
2087
2356
|
};
|
2088
|
-
};
|
2089
|
-
|
2090
|
-
|
2091
|
-
|
2357
|
+
} | null | undefined;
|
2358
|
+
assignee?: {
|
2359
|
+
id: string;
|
2360
|
+
address: string | null;
|
2361
|
+
name: string;
|
2362
|
+
email: string;
|
2363
|
+
createdAt: Date;
|
2364
|
+
updatedAt: Date;
|
2365
|
+
deletedAt: Date | null;
|
2366
|
+
emailVerifiedAt: Date | null;
|
2367
|
+
password: string;
|
2368
|
+
phone: string | null;
|
2369
|
+
notificationCount: number | null;
|
2370
|
+
roles: {
|
2371
|
+
id: string;
|
2372
|
+
description: string | null;
|
2373
|
+
createdAt: Date;
|
2374
|
+
updatedAt: Date;
|
2375
|
+
deletedAt: Date | null;
|
2376
|
+
systemName: string;
|
2377
|
+
displayName: string;
|
2378
|
+
permissions: {
|
2379
|
+
id: string;
|
2380
|
+
description: string | null;
|
2381
|
+
createdAt: Date;
|
2382
|
+
updatedAt: Date;
|
2383
|
+
deletedAt: Date | null;
|
2384
|
+
systemName: string;
|
2385
|
+
displayName: string;
|
2386
|
+
}[];
|
2387
|
+
}[];
|
2388
|
+
extension: {
|
2389
|
+
id: string;
|
2390
|
+
createdAt: Date;
|
2391
|
+
updatedAt: Date;
|
2392
|
+
deletedAt: Date | null;
|
2393
|
+
userId: string | null;
|
2394
|
+
sipServerUrl: string;
|
2395
|
+
sipUserName: string;
|
2396
|
+
webphoneLoginUser: string;
|
2397
|
+
extensionId: number;
|
2398
|
+
extensionName: string;
|
2399
|
+
telephonySignature: string | null;
|
2400
|
+
};
|
2401
|
+
} | null | undefined;
|
2092
2402
|
ticketNumber?: number | undefined;
|
2093
2403
|
}>;
|
2094
2404
|
agent: z.ZodObject<{
|
@@ -2484,6 +2794,7 @@ export declare const CommentSchema: z.ZodObject<{
|
|
2484
2794
|
bucketName: string;
|
2485
2795
|
fileSize: number;
|
2486
2796
|
fileUrl: string | null;
|
2797
|
+
status?: string | undefined;
|
2487
2798
|
};
|
2488
2799
|
}[];
|
2489
2800
|
}[];
|
@@ -2573,6 +2884,7 @@ export declare const CommentSchema: z.ZodObject<{
|
|
2573
2884
|
bucketName: string;
|
2574
2885
|
fileSize: number;
|
2575
2886
|
fileUrl: string | null;
|
2887
|
+
status?: string | undefined;
|
2576
2888
|
}[];
|
2577
2889
|
}[];
|
2578
2890
|
tags: {
|
@@ -2583,7 +2895,10 @@ export declare const CommentSchema: z.ZodObject<{
|
|
2583
2895
|
deletedAt: Date | null;
|
2584
2896
|
}[];
|
2585
2897
|
contactId: string;
|
2586
|
-
|
2898
|
+
assigneeId: string;
|
2899
|
+
creatorId: string;
|
2900
|
+
reasonToAssign: string | null;
|
2901
|
+
creator?: {
|
2587
2902
|
id: string;
|
2588
2903
|
address: string | null;
|
2589
2904
|
name: string;
|
@@ -2626,10 +2941,51 @@ export declare const CommentSchema: z.ZodObject<{
|
|
2626
2941
|
extensionName: string;
|
2627
2942
|
telephonySignature: string | null;
|
2628
2943
|
};
|
2629
|
-
};
|
2630
|
-
|
2631
|
-
|
2632
|
-
|
2944
|
+
} | null | undefined;
|
2945
|
+
assignee?: {
|
2946
|
+
id: string;
|
2947
|
+
address: string | null;
|
2948
|
+
name: string;
|
2949
|
+
email: string;
|
2950
|
+
createdAt: Date;
|
2951
|
+
updatedAt: Date;
|
2952
|
+
deletedAt: Date | null;
|
2953
|
+
emailVerifiedAt: Date | null;
|
2954
|
+
password: string;
|
2955
|
+
phone: string | null;
|
2956
|
+
notificationCount: number | null;
|
2957
|
+
roles: {
|
2958
|
+
id: string;
|
2959
|
+
description: string | null;
|
2960
|
+
createdAt: Date;
|
2961
|
+
updatedAt: Date;
|
2962
|
+
deletedAt: Date | null;
|
2963
|
+
systemName: string;
|
2964
|
+
displayName: string;
|
2965
|
+
permissions: {
|
2966
|
+
id: string;
|
2967
|
+
description: string | null;
|
2968
|
+
createdAt: Date;
|
2969
|
+
updatedAt: Date;
|
2970
|
+
deletedAt: Date | null;
|
2971
|
+
systemName: string;
|
2972
|
+
displayName: string;
|
2973
|
+
}[];
|
2974
|
+
}[];
|
2975
|
+
extension: {
|
2976
|
+
id: string;
|
2977
|
+
createdAt: Date;
|
2978
|
+
updatedAt: Date;
|
2979
|
+
deletedAt: Date | null;
|
2980
|
+
userId: string | null;
|
2981
|
+
sipServerUrl: string;
|
2982
|
+
sipUserName: string;
|
2983
|
+
webphoneLoginUser: string;
|
2984
|
+
extensionId: number;
|
2985
|
+
extensionName: string;
|
2986
|
+
telephonySignature: string | null;
|
2987
|
+
};
|
2988
|
+
} | null | undefined;
|
2633
2989
|
ticketNumber?: number | undefined;
|
2634
2990
|
};
|
2635
2991
|
comment: string;
|
@@ -2823,6 +3179,7 @@ export declare const CommentSchema: z.ZodObject<{
|
|
2823
3179
|
bucketName: string;
|
2824
3180
|
fileSize: number;
|
2825
3181
|
fileUrl: string | null;
|
3182
|
+
status?: string | undefined;
|
2826
3183
|
};
|
2827
3184
|
}[];
|
2828
3185
|
}[];
|
@@ -2912,6 +3269,7 @@ export declare const CommentSchema: z.ZodObject<{
|
|
2912
3269
|
bucketName: string;
|
2913
3270
|
fileSize: number;
|
2914
3271
|
fileUrl: string | null;
|
3272
|
+
status?: string | undefined;
|
2915
3273
|
}[];
|
2916
3274
|
}[];
|
2917
3275
|
tags: {
|
@@ -2922,7 +3280,10 @@ export declare const CommentSchema: z.ZodObject<{
|
|
2922
3280
|
deletedAt: Date | null;
|
2923
3281
|
}[];
|
2924
3282
|
contactId: string;
|
2925
|
-
|
3283
|
+
assigneeId: string;
|
3284
|
+
creatorId: string;
|
3285
|
+
reasonToAssign: string | null;
|
3286
|
+
creator?: {
|
2926
3287
|
id: string;
|
2927
3288
|
address: string | null;
|
2928
3289
|
name: string;
|
@@ -2965,10 +3326,51 @@ export declare const CommentSchema: z.ZodObject<{
|
|
2965
3326
|
extensionName: string;
|
2966
3327
|
telephonySignature: string | null;
|
2967
3328
|
};
|
2968
|
-
};
|
2969
|
-
|
2970
|
-
|
2971
|
-
|
3329
|
+
} | null | undefined;
|
3330
|
+
assignee?: {
|
3331
|
+
id: string;
|
3332
|
+
address: string | null;
|
3333
|
+
name: string;
|
3334
|
+
email: string;
|
3335
|
+
createdAt: Date;
|
3336
|
+
updatedAt: Date;
|
3337
|
+
deletedAt: Date | null;
|
3338
|
+
emailVerifiedAt: Date | null;
|
3339
|
+
password: string;
|
3340
|
+
phone: string | null;
|
3341
|
+
notificationCount: number | null;
|
3342
|
+
roles: {
|
3343
|
+
id: string;
|
3344
|
+
description: string | null;
|
3345
|
+
createdAt: Date;
|
3346
|
+
updatedAt: Date;
|
3347
|
+
deletedAt: Date | null;
|
3348
|
+
systemName: string;
|
3349
|
+
displayName: string;
|
3350
|
+
permissions: {
|
3351
|
+
id: string;
|
3352
|
+
description: string | null;
|
3353
|
+
createdAt: Date;
|
3354
|
+
updatedAt: Date;
|
3355
|
+
deletedAt: Date | null;
|
3356
|
+
systemName: string;
|
3357
|
+
displayName: string;
|
3358
|
+
}[];
|
3359
|
+
}[];
|
3360
|
+
extension: {
|
3361
|
+
id: string;
|
3362
|
+
createdAt: Date;
|
3363
|
+
updatedAt: Date;
|
3364
|
+
deletedAt: Date | null;
|
3365
|
+
userId: string | null;
|
3366
|
+
sipServerUrl: string;
|
3367
|
+
sipUserName: string;
|
3368
|
+
webphoneLoginUser: string;
|
3369
|
+
extensionId: number;
|
3370
|
+
extensionName: string;
|
3371
|
+
telephonySignature: string | null;
|
3372
|
+
};
|
3373
|
+
} | null | undefined;
|
2972
3374
|
ticketNumber?: number | undefined;
|
2973
3375
|
};
|
2974
3376
|
comment: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/comment/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAKpB,eAAO,MAAM,aAAa
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/comment/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAKpB,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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