@kl1/contracts 1.0.43 → 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 (55) hide show
  1. package/dist/index.js +333 -25
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +333 -25
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/app/index.d.ts +17 -0
  6. package/dist/src/app/index.d.ts.map +1 -0
  7. package/dist/src/chat/index.d.ts +203 -0
  8. package/dist/src/chat/index.d.ts.map +1 -1
  9. package/dist/src/chat/schema.d.ts +44 -0
  10. package/dist/src/chat/schema.d.ts.map +1 -1
  11. package/dist/src/chat/validation.d.ts +48 -0
  12. package/dist/src/chat/validation.d.ts.map +1 -1
  13. package/dist/src/comment/index.d.ts +1540 -150
  14. package/dist/src/comment/index.d.ts.map +1 -1
  15. package/dist/src/comment/schema.d.ts +424 -22
  16. package/dist/src/comment/schema.d.ts.map +1 -1
  17. package/dist/src/contact/index.d.ts +77 -0
  18. package/dist/src/contact/index.d.ts.map +1 -1
  19. package/dist/src/contact/schema.d.ts +16 -0
  20. package/dist/src/contact/schema.d.ts.map +1 -1
  21. package/dist/src/contact/validation.d.ts +63 -0
  22. package/dist/src/contact/validation.d.ts.map +1 -1
  23. package/dist/src/contract.d.ts +9588 -950
  24. package/dist/src/contract.d.ts.map +1 -1
  25. package/dist/src/cx-log/index.d.ts +610 -0
  26. package/dist/src/cx-log/index.d.ts.map +1 -1
  27. package/dist/src/cx-log/schema.d.ts +514 -0
  28. package/dist/src/cx-log/schema.d.ts.map +1 -1
  29. package/dist/src/mail/mail-contract.d.ts +7 -0
  30. package/dist/src/mail/mail-contract.d.ts.map +1 -1
  31. package/dist/src/mail/mail-server.d.ts +216 -0
  32. package/dist/src/mail/mail-server.d.ts.map +1 -0
  33. package/dist/src/mail/room-contract.d.ts +7 -0
  34. package/dist/src/mail/room-contract.d.ts.map +1 -1
  35. package/dist/src/mail/schemas/room.schema.d.ts +5 -0
  36. package/dist/src/mail/schemas/room.schema.d.ts.map +1 -1
  37. package/dist/src/messenger/index.d.ts +24 -0
  38. package/dist/src/messenger/index.d.ts.map +1 -1
  39. package/dist/src/platform-contact/schema.d.ts +30 -0
  40. package/dist/src/platform-contact/schema.d.ts.map +1 -0
  41. package/dist/src/telephony-cdr/call-report.schema.d.ts +1753 -0
  42. package/dist/src/telephony-cdr/call-report.schema.d.ts.map +1 -0
  43. package/dist/src/telephony-cdr/index.d.ts +4378 -175
  44. package/dist/src/telephony-cdr/index.d.ts.map +1 -1
  45. package/dist/src/telephony-cdr/schema.d.ts +1050 -0
  46. package/dist/src/telephony-cdr/schema.d.ts.map +1 -1
  47. package/dist/src/telephony-cdr/validation.d.ts +56 -0
  48. package/dist/src/telephony-cdr/validation.d.ts.map +1 -1
  49. package/dist/src/ticket/index.d.ts +2338 -171
  50. package/dist/src/ticket/index.d.ts.map +1 -1
  51. package/dist/src/ticket/schema.d.ts +327 -12
  52. package/dist/src/ticket/schema.d.ts.map +1 -1
  53. package/dist/src/upload/schema.d.ts +3 -0
  54. package/dist/src/upload/schema.d.ts.map +1 -1
  55. package/package.json +1 -1
@@ -313,6 +313,7 @@ export declare const TelephonyCdrSchema: z.ZodObject<{
313
313
  fileSize: z.ZodNumber;
314
314
  fileKey: z.ZodString;
315
315
  fileUrl: z.ZodNullable<z.ZodString>;
316
+ status: z.ZodOptional<z.ZodString>;
316
317
  }, "strip", z.ZodTypeAny, {
317
318
  id: string;
318
319
  createdAt: Date;
@@ -323,6 +324,7 @@ export declare const TelephonyCdrSchema: z.ZodObject<{
323
324
  bucketName: string;
324
325
  fileSize: number;
325
326
  fileUrl: string | null;
327
+ status?: string | undefined;
326
328
  }, {
327
329
  id: string;
328
330
  createdAt: Date;
@@ -333,6 +335,7 @@ export declare const TelephonyCdrSchema: z.ZodObject<{
333
335
  bucketName: string;
334
336
  fileSize: number;
335
337
  fileUrl: string | null;
338
+ status?: string | undefined;
336
339
  }>;
337
340
  }, "strip", z.ZodTypeAny, {
338
341
  id: string;
@@ -350,6 +353,7 @@ export declare const TelephonyCdrSchema: z.ZodObject<{
350
353
  bucketName: string;
351
354
  fileSize: number;
352
355
  fileUrl: string | null;
356
+ status?: string | undefined;
353
357
  };
354
358
  }, {
355
359
  id: string;
@@ -367,6 +371,7 @@ export declare const TelephonyCdrSchema: z.ZodObject<{
367
371
  bucketName: string;
368
372
  fileSize: number;
369
373
  fileUrl: string | null;
374
+ status?: string | undefined;
370
375
  };
371
376
  }>, "many">;
372
377
  }, "strip", z.ZodTypeAny, {
@@ -408,6 +413,7 @@ export declare const TelephonyCdrSchema: z.ZodObject<{
408
413
  bucketName: string;
409
414
  fileSize: number;
410
415
  fileUrl: string | null;
416
+ status?: string | undefined;
411
417
  };
412
418
  }[];
413
419
  }, {
@@ -449,6 +455,7 @@ export declare const TelephonyCdrSchema: z.ZodObject<{
449
455
  bucketName: string;
450
456
  fileSize: number;
451
457
  fileUrl: string | null;
458
+ status?: string | undefined;
452
459
  };
453
460
  }[];
454
461
  }>, "many">;
@@ -603,6 +610,7 @@ export declare const TelephonyCdrSchema: z.ZodObject<{
603
610
  bucketName: string;
604
611
  fileSize: number;
605
612
  fileUrl: string | null;
613
+ status?: string | undefined;
606
614
  };
607
615
  }[];
608
616
  }[];
@@ -705,6 +713,7 @@ export declare const TelephonyCdrSchema: z.ZodObject<{
705
713
  bucketName: string;
706
714
  fileSize: number;
707
715
  fileUrl: string | null;
716
+ status?: string | undefined;
708
717
  };
709
718
  }[];
710
719
  }[];
@@ -806,6 +815,7 @@ export declare const TelephonyCdrSchema: z.ZodObject<{
806
815
  fileSize: z.ZodNumber;
807
816
  fileKey: z.ZodString;
808
817
  fileUrl: z.ZodNullable<z.ZodString>;
818
+ status: z.ZodOptional<z.ZodString>;
809
819
  }, "strip", z.ZodTypeAny, {
810
820
  id: string;
811
821
  createdAt: Date;
@@ -816,6 +826,7 @@ export declare const TelephonyCdrSchema: z.ZodObject<{
816
826
  bucketName: string;
817
827
  fileSize: number;
818
828
  fileUrl: string | null;
829
+ status?: string | undefined;
819
830
  }, {
820
831
  id: string;
821
832
  createdAt: Date;
@@ -826,6 +837,7 @@ export declare const TelephonyCdrSchema: z.ZodObject<{
826
837
  bucketName: string;
827
838
  fileSize: number;
828
839
  fileUrl: string | null;
840
+ status?: string | undefined;
829
841
  }>>>;
830
842
  serialNumber: z.ZodNullable<z.ZodString>;
831
843
  extensionId: z.ZodNullable<z.ZodString>;
@@ -841,6 +853,210 @@ export declare const TelephonyCdrSchema: z.ZodObject<{
841
853
  extensionId: z.ZodNumber;
842
854
  extensionName: z.ZodString;
843
855
  telephonySignature: z.ZodNullable<z.ZodString>;
856
+ user: z.ZodNullable<z.ZodOptional<z.ZodObject<{
857
+ id: z.ZodString;
858
+ createdAt: z.ZodDate;
859
+ updatedAt: z.ZodDate;
860
+ deletedAt: z.ZodNullable<z.ZodDate>;
861
+ name: z.ZodString;
862
+ email: z.ZodString;
863
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
864
+ password: z.ZodString;
865
+ address: z.ZodNullable<z.ZodString>;
866
+ phone: z.ZodNullable<z.ZodString>;
867
+ notificationCount: z.ZodNullable<z.ZodNumber>;
868
+ roles: z.ZodArray<z.ZodObject<{
869
+ id: z.ZodString;
870
+ createdAt: z.ZodDate;
871
+ updatedAt: z.ZodDate;
872
+ deletedAt: z.ZodNullable<z.ZodDate>;
873
+ systemName: z.ZodString;
874
+ displayName: z.ZodString;
875
+ description: z.ZodNullable<z.ZodString>;
876
+ permissions: z.ZodArray<z.ZodObject<{
877
+ id: z.ZodString;
878
+ createdAt: z.ZodDate;
879
+ updatedAt: z.ZodDate;
880
+ deletedAt: z.ZodNullable<z.ZodDate>;
881
+ systemName: z.ZodString;
882
+ displayName: z.ZodString;
883
+ description: z.ZodNullable<z.ZodString>;
884
+ }, "strip", z.ZodTypeAny, {
885
+ id: string;
886
+ description: string | null;
887
+ createdAt: Date;
888
+ updatedAt: Date;
889
+ deletedAt: Date | null;
890
+ systemName: string;
891
+ displayName: string;
892
+ }, {
893
+ id: string;
894
+ description: string | null;
895
+ createdAt: Date;
896
+ updatedAt: Date;
897
+ deletedAt: Date | null;
898
+ systemName: string;
899
+ displayName: string;
900
+ }>, "many">;
901
+ }, "strip", z.ZodTypeAny, {
902
+ id: string;
903
+ description: string | null;
904
+ createdAt: Date;
905
+ updatedAt: Date;
906
+ deletedAt: Date | null;
907
+ systemName: string;
908
+ displayName: string;
909
+ permissions: {
910
+ id: string;
911
+ description: string | null;
912
+ createdAt: Date;
913
+ updatedAt: Date;
914
+ deletedAt: Date | null;
915
+ systemName: string;
916
+ displayName: string;
917
+ }[];
918
+ }, {
919
+ id: string;
920
+ description: string | null;
921
+ createdAt: Date;
922
+ updatedAt: Date;
923
+ deletedAt: Date | null;
924
+ systemName: string;
925
+ displayName: string;
926
+ permissions: {
927
+ id: string;
928
+ description: string | null;
929
+ createdAt: Date;
930
+ updatedAt: Date;
931
+ deletedAt: Date | null;
932
+ systemName: string;
933
+ displayName: string;
934
+ }[];
935
+ }>, "many">;
936
+ extension: z.ZodObject<{
937
+ id: z.ZodString;
938
+ createdAt: z.ZodDate;
939
+ updatedAt: z.ZodDate;
940
+ deletedAt: z.ZodNullable<z.ZodDate>;
941
+ userId: z.ZodNullable<z.ZodString>;
942
+ sipServerUrl: z.ZodString;
943
+ sipUserName: z.ZodString;
944
+ webphoneLoginUser: z.ZodString;
945
+ extensionId: z.ZodNumber;
946
+ extensionName: z.ZodString;
947
+ telephonySignature: z.ZodNullable<z.ZodString>;
948
+ }, "strip", z.ZodTypeAny, {
949
+ id: string;
950
+ createdAt: Date;
951
+ updatedAt: Date;
952
+ deletedAt: Date | null;
953
+ userId: string | null;
954
+ sipServerUrl: string;
955
+ sipUserName: string;
956
+ webphoneLoginUser: string;
957
+ extensionId: number;
958
+ extensionName: string;
959
+ telephonySignature: string | null;
960
+ }, {
961
+ id: string;
962
+ createdAt: Date;
963
+ updatedAt: Date;
964
+ deletedAt: Date | null;
965
+ userId: string | null;
966
+ sipServerUrl: string;
967
+ sipUserName: string;
968
+ webphoneLoginUser: string;
969
+ extensionId: number;
970
+ extensionName: string;
971
+ telephonySignature: string | null;
972
+ }>;
973
+ }, "strip", z.ZodTypeAny, {
974
+ id: string;
975
+ address: string | null;
976
+ name: string;
977
+ email: string;
978
+ createdAt: Date;
979
+ updatedAt: Date;
980
+ deletedAt: Date | null;
981
+ emailVerifiedAt: Date | null;
982
+ password: string;
983
+ phone: string | null;
984
+ notificationCount: number | null;
985
+ roles: {
986
+ id: string;
987
+ description: string | null;
988
+ createdAt: Date;
989
+ updatedAt: Date;
990
+ deletedAt: Date | null;
991
+ systemName: string;
992
+ displayName: string;
993
+ permissions: {
994
+ id: string;
995
+ description: string | null;
996
+ createdAt: Date;
997
+ updatedAt: Date;
998
+ deletedAt: Date | null;
999
+ systemName: string;
1000
+ displayName: string;
1001
+ }[];
1002
+ }[];
1003
+ extension: {
1004
+ id: string;
1005
+ createdAt: Date;
1006
+ updatedAt: Date;
1007
+ deletedAt: Date | null;
1008
+ userId: string | null;
1009
+ sipServerUrl: string;
1010
+ sipUserName: string;
1011
+ webphoneLoginUser: string;
1012
+ extensionId: number;
1013
+ extensionName: string;
1014
+ telephonySignature: string | null;
1015
+ };
1016
+ }, {
1017
+ id: string;
1018
+ address: string | null;
1019
+ name: string;
1020
+ email: string;
1021
+ createdAt: Date;
1022
+ updatedAt: Date;
1023
+ deletedAt: Date | null;
1024
+ emailVerifiedAt: Date | null;
1025
+ password: string;
1026
+ phone: string | null;
1027
+ notificationCount: number | null;
1028
+ roles: {
1029
+ id: string;
1030
+ description: string | null;
1031
+ createdAt: Date;
1032
+ updatedAt: Date;
1033
+ deletedAt: Date | null;
1034
+ systemName: string;
1035
+ displayName: string;
1036
+ permissions: {
1037
+ id: string;
1038
+ description: string | null;
1039
+ createdAt: Date;
1040
+ updatedAt: Date;
1041
+ deletedAt: Date | null;
1042
+ systemName: string;
1043
+ displayName: string;
1044
+ }[];
1045
+ }[];
1046
+ extension: {
1047
+ id: string;
1048
+ createdAt: Date;
1049
+ updatedAt: Date;
1050
+ deletedAt: Date | null;
1051
+ userId: string | null;
1052
+ sipServerUrl: string;
1053
+ sipUserName: string;
1054
+ webphoneLoginUser: string;
1055
+ extensionId: number;
1056
+ extensionName: string;
1057
+ telephonySignature: string | null;
1058
+ };
1059
+ }>>>;
844
1060
  }, "strip", z.ZodTypeAny, {
845
1061
  id: string;
846
1062
  createdAt: Date;
@@ -853,6 +1069,50 @@ export declare const TelephonyCdrSchema: z.ZodObject<{
853
1069
  extensionId: number;
854
1070
  extensionName: string;
855
1071
  telephonySignature: string | null;
1072
+ user?: {
1073
+ id: string;
1074
+ address: string | null;
1075
+ name: string;
1076
+ email: string;
1077
+ createdAt: Date;
1078
+ updatedAt: Date;
1079
+ deletedAt: Date | null;
1080
+ emailVerifiedAt: Date | null;
1081
+ password: string;
1082
+ phone: string | null;
1083
+ notificationCount: number | null;
1084
+ roles: {
1085
+ id: string;
1086
+ description: string | null;
1087
+ createdAt: Date;
1088
+ updatedAt: Date;
1089
+ deletedAt: Date | null;
1090
+ systemName: string;
1091
+ displayName: string;
1092
+ permissions: {
1093
+ id: string;
1094
+ description: string | null;
1095
+ createdAt: Date;
1096
+ updatedAt: Date;
1097
+ deletedAt: Date | null;
1098
+ systemName: string;
1099
+ displayName: string;
1100
+ }[];
1101
+ }[];
1102
+ extension: {
1103
+ id: string;
1104
+ createdAt: Date;
1105
+ updatedAt: Date;
1106
+ deletedAt: Date | null;
1107
+ userId: string | null;
1108
+ sipServerUrl: string;
1109
+ sipUserName: string;
1110
+ webphoneLoginUser: string;
1111
+ extensionId: number;
1112
+ extensionName: string;
1113
+ telephonySignature: string | null;
1114
+ };
1115
+ } | null | undefined;
856
1116
  }, {
857
1117
  id: string;
858
1118
  createdAt: Date;
@@ -865,6 +1125,50 @@ export declare const TelephonyCdrSchema: z.ZodObject<{
865
1125
  extensionId: number;
866
1126
  extensionName: string;
867
1127
  telephonySignature: string | null;
1128
+ user?: {
1129
+ id: string;
1130
+ address: string | null;
1131
+ name: string;
1132
+ email: string;
1133
+ createdAt: Date;
1134
+ updatedAt: Date;
1135
+ deletedAt: Date | null;
1136
+ emailVerifiedAt: Date | null;
1137
+ password: string;
1138
+ phone: string | null;
1139
+ notificationCount: number | null;
1140
+ roles: {
1141
+ id: string;
1142
+ description: string | null;
1143
+ createdAt: Date;
1144
+ updatedAt: Date;
1145
+ deletedAt: Date | null;
1146
+ systemName: string;
1147
+ displayName: string;
1148
+ permissions: {
1149
+ id: string;
1150
+ description: string | null;
1151
+ createdAt: Date;
1152
+ updatedAt: Date;
1153
+ deletedAt: Date | null;
1154
+ systemName: string;
1155
+ displayName: string;
1156
+ }[];
1157
+ }[];
1158
+ extension: {
1159
+ id: string;
1160
+ createdAt: Date;
1161
+ updatedAt: Date;
1162
+ deletedAt: Date | null;
1163
+ userId: string | null;
1164
+ sipServerUrl: string;
1165
+ sipUserName: string;
1166
+ webphoneLoginUser: string;
1167
+ extensionId: number;
1168
+ extensionName: string;
1169
+ telephonySignature: string | null;
1170
+ };
1171
+ } | null | undefined;
868
1172
  }>>>;
869
1173
  telephonyQueueId: z.ZodNullable<z.ZodString>;
870
1174
  contactId: z.ZodNullable<z.ZodString>;
@@ -939,6 +1243,7 @@ export declare const TelephonyCdrSchema: z.ZodObject<{
939
1243
  bucketName: string;
940
1244
  fileSize: number;
941
1245
  fileUrl: string | null;
1246
+ status?: string | undefined;
942
1247
  };
943
1248
  }[];
944
1249
  }[];
@@ -1015,6 +1320,7 @@ export declare const TelephonyCdrSchema: z.ZodObject<{
1015
1320
  bucketName: string;
1016
1321
  fileSize: number;
1017
1322
  fileUrl: string | null;
1323
+ status?: string | undefined;
1018
1324
  } | null | undefined;
1019
1325
  extension?: {
1020
1326
  id: string;
@@ -1028,6 +1334,50 @@ export declare const TelephonyCdrSchema: z.ZodObject<{
1028
1334
  extensionId: number;
1029
1335
  extensionName: string;
1030
1336
  telephonySignature: string | null;
1337
+ user?: {
1338
+ id: string;
1339
+ address: string | null;
1340
+ name: string;
1341
+ email: string;
1342
+ createdAt: Date;
1343
+ updatedAt: Date;
1344
+ deletedAt: Date | null;
1345
+ emailVerifiedAt: Date | null;
1346
+ password: string;
1347
+ phone: string | null;
1348
+ notificationCount: number | null;
1349
+ roles: {
1350
+ id: string;
1351
+ description: string | null;
1352
+ createdAt: Date;
1353
+ updatedAt: Date;
1354
+ deletedAt: Date | null;
1355
+ systemName: string;
1356
+ displayName: string;
1357
+ permissions: {
1358
+ id: string;
1359
+ description: string | null;
1360
+ createdAt: Date;
1361
+ updatedAt: Date;
1362
+ deletedAt: Date | null;
1363
+ systemName: string;
1364
+ displayName: string;
1365
+ }[];
1366
+ }[];
1367
+ extension: {
1368
+ id: string;
1369
+ createdAt: Date;
1370
+ updatedAt: Date;
1371
+ deletedAt: Date | null;
1372
+ userId: string | null;
1373
+ sipServerUrl: string;
1374
+ sipUserName: string;
1375
+ webphoneLoginUser: string;
1376
+ extensionId: number;
1377
+ extensionName: string;
1378
+ telephonySignature: string | null;
1379
+ };
1380
+ } | null | undefined;
1031
1381
  } | null | undefined;
1032
1382
  }, {
1033
1383
  type: string;
@@ -1100,6 +1450,7 @@ export declare const TelephonyCdrSchema: z.ZodObject<{
1100
1450
  bucketName: string;
1101
1451
  fileSize: number;
1102
1452
  fileUrl: string | null;
1453
+ status?: string | undefined;
1103
1454
  };
1104
1455
  }[];
1105
1456
  }[];
@@ -1176,6 +1527,7 @@ export declare const TelephonyCdrSchema: z.ZodObject<{
1176
1527
  bucketName: string;
1177
1528
  fileSize: number;
1178
1529
  fileUrl: string | null;
1530
+ status?: string | undefined;
1179
1531
  } | null | undefined;
1180
1532
  extension?: {
1181
1533
  id: string;
@@ -1189,6 +1541,704 @@ export declare const TelephonyCdrSchema: z.ZodObject<{
1189
1541
  extensionId: number;
1190
1542
  extensionName: string;
1191
1543
  telephonySignature: string | null;
1544
+ user?: {
1545
+ id: string;
1546
+ address: string | null;
1547
+ name: string;
1548
+ email: string;
1549
+ createdAt: Date;
1550
+ updatedAt: Date;
1551
+ deletedAt: Date | null;
1552
+ emailVerifiedAt: Date | null;
1553
+ password: string;
1554
+ phone: string | null;
1555
+ notificationCount: number | null;
1556
+ roles: {
1557
+ id: string;
1558
+ description: string | null;
1559
+ createdAt: Date;
1560
+ updatedAt: Date;
1561
+ deletedAt: Date | null;
1562
+ systemName: string;
1563
+ displayName: string;
1564
+ permissions: {
1565
+ id: string;
1566
+ description: string | null;
1567
+ createdAt: Date;
1568
+ updatedAt: Date;
1569
+ deletedAt: Date | null;
1570
+ systemName: string;
1571
+ displayName: string;
1572
+ }[];
1573
+ }[];
1574
+ extension: {
1575
+ id: string;
1576
+ createdAt: Date;
1577
+ updatedAt: Date;
1578
+ deletedAt: Date | null;
1579
+ userId: string | null;
1580
+ sipServerUrl: string;
1581
+ sipUserName: string;
1582
+ webphoneLoginUser: string;
1583
+ extensionId: number;
1584
+ extensionName: string;
1585
+ telephonySignature: string | null;
1586
+ };
1587
+ } | null | undefined;
1192
1588
  } | null | undefined;
1193
1589
  }>;
1590
+ export declare const TelephonyTrunkSchema: z.ZodObject<{
1591
+ id: z.ZodString;
1592
+ createdAt: z.ZodDate;
1593
+ updatedAt: z.ZodDate;
1594
+ deletedAt: z.ZodNullable<z.ZodDate>;
1595
+ trunkId: z.ZodNullable<z.ZodString>;
1596
+ trunk: z.ZodNullable<z.ZodString>;
1597
+ }, "strip", z.ZodTypeAny, {
1598
+ id: string;
1599
+ createdAt: Date;
1600
+ updatedAt: Date;
1601
+ deletedAt: Date | null;
1602
+ trunkId: string | null;
1603
+ trunk: string | null;
1604
+ }, {
1605
+ id: string;
1606
+ createdAt: Date;
1607
+ updatedAt: Date;
1608
+ deletedAt: Date | null;
1609
+ trunkId: string | null;
1610
+ trunk: string | null;
1611
+ }>;
1612
+ export declare const TelephonyTrunkListSchema: z.ZodArray<z.ZodObject<{
1613
+ id: z.ZodString;
1614
+ createdAt: z.ZodDate;
1615
+ updatedAt: z.ZodDate;
1616
+ deletedAt: z.ZodNullable<z.ZodDate>;
1617
+ trunkId: z.ZodNullable<z.ZodString>;
1618
+ trunk: z.ZodNullable<z.ZodString>;
1619
+ }, "strip", z.ZodTypeAny, {
1620
+ id: string;
1621
+ createdAt: Date;
1622
+ updatedAt: Date;
1623
+ deletedAt: Date | null;
1624
+ trunkId: string | null;
1625
+ trunk: string | null;
1626
+ }, {
1627
+ id: string;
1628
+ createdAt: Date;
1629
+ updatedAt: Date;
1630
+ deletedAt: Date | null;
1631
+ trunkId: string | null;
1632
+ trunk: string | null;
1633
+ }>, "many">;
1634
+ export declare const TelephonyQueueSchema: z.ZodObject<{
1635
+ id: z.ZodString;
1636
+ createdAt: z.ZodDate;
1637
+ updatedAt: z.ZodDate;
1638
+ deletedAt: z.ZodNullable<z.ZodDate>;
1639
+ queueId: z.ZodNumber;
1640
+ queueName: z.ZodString;
1641
+ queueNumber: z.ZodString;
1642
+ maximumWaitingTime: z.ZodNumber;
1643
+ }, "strip", z.ZodTypeAny, {
1644
+ id: string;
1645
+ createdAt: Date;
1646
+ updatedAt: Date;
1647
+ deletedAt: Date | null;
1648
+ queueId: number;
1649
+ queueName: string;
1650
+ queueNumber: string;
1651
+ maximumWaitingTime: number;
1652
+ }, {
1653
+ id: string;
1654
+ createdAt: Date;
1655
+ updatedAt: Date;
1656
+ deletedAt: Date | null;
1657
+ queueId: number;
1658
+ queueName: string;
1659
+ queueNumber: string;
1660
+ maximumWaitingTime: number;
1661
+ }>;
1662
+ export declare const TelephonyQueueListSchmea: z.ZodArray<z.ZodObject<{
1663
+ id: z.ZodString;
1664
+ createdAt: z.ZodDate;
1665
+ updatedAt: z.ZodDate;
1666
+ deletedAt: z.ZodNullable<z.ZodDate>;
1667
+ queueId: z.ZodNumber;
1668
+ queueName: z.ZodString;
1669
+ queueNumber: z.ZodString;
1670
+ maximumWaitingTime: z.ZodNumber;
1671
+ }, "strip", z.ZodTypeAny, {
1672
+ id: string;
1673
+ createdAt: Date;
1674
+ updatedAt: Date;
1675
+ deletedAt: Date | null;
1676
+ queueId: number;
1677
+ queueName: string;
1678
+ queueNumber: string;
1679
+ maximumWaitingTime: number;
1680
+ }, {
1681
+ id: string;
1682
+ createdAt: Date;
1683
+ updatedAt: Date;
1684
+ deletedAt: Date | null;
1685
+ queueId: number;
1686
+ queueName: string;
1687
+ queueNumber: string;
1688
+ maximumWaitingTime: number;
1689
+ }>, "many">;
1690
+ export declare const TelephonyExtensionSchema: z.ZodObject<{
1691
+ id: z.ZodString;
1692
+ createdAt: z.ZodDate;
1693
+ updatedAt: z.ZodDate;
1694
+ deletedAt: z.ZodNullable<z.ZodDate>;
1695
+ user: z.ZodNullable<z.ZodOptional<z.ZodObject<Omit<{
1696
+ id: z.ZodString;
1697
+ createdAt: z.ZodDate;
1698
+ updatedAt: z.ZodDate;
1699
+ deletedAt: z.ZodNullable<z.ZodDate>;
1700
+ name: z.ZodString;
1701
+ email: z.ZodString;
1702
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
1703
+ password: z.ZodString;
1704
+ address: z.ZodNullable<z.ZodString>;
1705
+ phone: z.ZodNullable<z.ZodString>;
1706
+ notificationCount: z.ZodNullable<z.ZodNumber>;
1707
+ roles: z.ZodArray<z.ZodObject<{
1708
+ id: z.ZodString;
1709
+ createdAt: z.ZodDate;
1710
+ updatedAt: z.ZodDate;
1711
+ deletedAt: z.ZodNullable<z.ZodDate>;
1712
+ systemName: z.ZodString;
1713
+ displayName: z.ZodString;
1714
+ description: z.ZodNullable<z.ZodString>;
1715
+ permissions: z.ZodArray<z.ZodObject<{
1716
+ id: z.ZodString;
1717
+ createdAt: z.ZodDate;
1718
+ updatedAt: z.ZodDate;
1719
+ deletedAt: z.ZodNullable<z.ZodDate>;
1720
+ systemName: z.ZodString;
1721
+ displayName: z.ZodString;
1722
+ description: z.ZodNullable<z.ZodString>;
1723
+ }, "strip", z.ZodTypeAny, {
1724
+ id: string;
1725
+ description: string | null;
1726
+ createdAt: Date;
1727
+ updatedAt: Date;
1728
+ deletedAt: Date | null;
1729
+ systemName: string;
1730
+ displayName: string;
1731
+ }, {
1732
+ id: string;
1733
+ description: string | null;
1734
+ createdAt: Date;
1735
+ updatedAt: Date;
1736
+ deletedAt: Date | null;
1737
+ systemName: string;
1738
+ displayName: string;
1739
+ }>, "many">;
1740
+ }, "strip", z.ZodTypeAny, {
1741
+ id: string;
1742
+ description: string | null;
1743
+ createdAt: Date;
1744
+ updatedAt: Date;
1745
+ deletedAt: Date | null;
1746
+ systemName: string;
1747
+ displayName: string;
1748
+ permissions: {
1749
+ id: string;
1750
+ description: string | null;
1751
+ createdAt: Date;
1752
+ updatedAt: Date;
1753
+ deletedAt: Date | null;
1754
+ systemName: string;
1755
+ displayName: string;
1756
+ }[];
1757
+ }, {
1758
+ id: string;
1759
+ description: string | null;
1760
+ createdAt: Date;
1761
+ updatedAt: Date;
1762
+ deletedAt: Date | null;
1763
+ systemName: string;
1764
+ displayName: string;
1765
+ permissions: {
1766
+ id: string;
1767
+ description: string | null;
1768
+ createdAt: Date;
1769
+ updatedAt: Date;
1770
+ deletedAt: Date | null;
1771
+ systemName: string;
1772
+ displayName: string;
1773
+ }[];
1774
+ }>, "many">;
1775
+ extension: z.ZodObject<{
1776
+ id: z.ZodString;
1777
+ createdAt: z.ZodDate;
1778
+ updatedAt: z.ZodDate;
1779
+ deletedAt: z.ZodNullable<z.ZodDate>;
1780
+ userId: z.ZodNullable<z.ZodString>;
1781
+ sipServerUrl: z.ZodString;
1782
+ sipUserName: z.ZodString;
1783
+ webphoneLoginUser: z.ZodString;
1784
+ extensionId: z.ZodNumber;
1785
+ extensionName: z.ZodString;
1786
+ telephonySignature: z.ZodNullable<z.ZodString>;
1787
+ }, "strip", z.ZodTypeAny, {
1788
+ id: string;
1789
+ createdAt: Date;
1790
+ updatedAt: Date;
1791
+ deletedAt: Date | null;
1792
+ userId: string | null;
1793
+ sipServerUrl: string;
1794
+ sipUserName: string;
1795
+ webphoneLoginUser: string;
1796
+ extensionId: number;
1797
+ extensionName: string;
1798
+ telephonySignature: string | null;
1799
+ }, {
1800
+ id: string;
1801
+ createdAt: Date;
1802
+ updatedAt: Date;
1803
+ deletedAt: Date | null;
1804
+ userId: string | null;
1805
+ sipServerUrl: string;
1806
+ sipUserName: string;
1807
+ webphoneLoginUser: string;
1808
+ extensionId: number;
1809
+ extensionName: string;
1810
+ telephonySignature: string | null;
1811
+ }>;
1812
+ }, "extension">, "strip", z.ZodTypeAny, {
1813
+ id: string;
1814
+ address: string | null;
1815
+ name: string;
1816
+ email: string;
1817
+ createdAt: Date;
1818
+ updatedAt: Date;
1819
+ deletedAt: Date | null;
1820
+ emailVerifiedAt: Date | null;
1821
+ password: string;
1822
+ phone: string | null;
1823
+ notificationCount: number | null;
1824
+ roles: {
1825
+ id: string;
1826
+ description: string | null;
1827
+ createdAt: Date;
1828
+ updatedAt: Date;
1829
+ deletedAt: Date | null;
1830
+ systemName: string;
1831
+ displayName: string;
1832
+ permissions: {
1833
+ id: string;
1834
+ description: string | null;
1835
+ createdAt: Date;
1836
+ updatedAt: Date;
1837
+ deletedAt: Date | null;
1838
+ systemName: string;
1839
+ displayName: string;
1840
+ }[];
1841
+ }[];
1842
+ }, {
1843
+ id: string;
1844
+ address: string | null;
1845
+ name: string;
1846
+ email: string;
1847
+ createdAt: Date;
1848
+ updatedAt: Date;
1849
+ deletedAt: Date | null;
1850
+ emailVerifiedAt: Date | null;
1851
+ password: string;
1852
+ phone: string | null;
1853
+ notificationCount: number | null;
1854
+ roles: {
1855
+ id: string;
1856
+ description: string | null;
1857
+ createdAt: Date;
1858
+ updatedAt: Date;
1859
+ deletedAt: Date | null;
1860
+ systemName: string;
1861
+ displayName: string;
1862
+ permissions: {
1863
+ id: string;
1864
+ description: string | null;
1865
+ createdAt: Date;
1866
+ updatedAt: Date;
1867
+ deletedAt: Date | null;
1868
+ systemName: string;
1869
+ displayName: string;
1870
+ }[];
1871
+ }[];
1872
+ }>>>;
1873
+ sipServerUrl: z.ZodNullable<z.ZodString>;
1874
+ sipUserName: z.ZodNullable<z.ZodString>;
1875
+ sipPassword: z.ZodNullable<z.ZodString>;
1876
+ yeastarSignature: z.ZodNullable<z.ZodString>;
1877
+ userId: z.ZodNullable<z.ZodString>;
1878
+ extensionId: z.ZodNullable<z.ZodString>;
1879
+ extensionName: z.ZodNullable<z.ZodString>;
1880
+ }, "strip", z.ZodTypeAny, {
1881
+ id: string;
1882
+ createdAt: Date;
1883
+ updatedAt: Date;
1884
+ deletedAt: Date | null;
1885
+ userId: string | null;
1886
+ sipServerUrl: string | null;
1887
+ sipUserName: string | null;
1888
+ extensionId: string | null;
1889
+ extensionName: string | null;
1890
+ sipPassword: string | null;
1891
+ yeastarSignature: string | null;
1892
+ user?: {
1893
+ id: string;
1894
+ address: string | null;
1895
+ name: string;
1896
+ email: string;
1897
+ createdAt: Date;
1898
+ updatedAt: Date;
1899
+ deletedAt: Date | null;
1900
+ emailVerifiedAt: Date | null;
1901
+ password: string;
1902
+ phone: string | null;
1903
+ notificationCount: number | null;
1904
+ roles: {
1905
+ id: string;
1906
+ description: string | null;
1907
+ createdAt: Date;
1908
+ updatedAt: Date;
1909
+ deletedAt: Date | null;
1910
+ systemName: string;
1911
+ displayName: string;
1912
+ permissions: {
1913
+ id: string;
1914
+ description: string | null;
1915
+ createdAt: Date;
1916
+ updatedAt: Date;
1917
+ deletedAt: Date | null;
1918
+ systemName: string;
1919
+ displayName: string;
1920
+ }[];
1921
+ }[];
1922
+ } | null | undefined;
1923
+ }, {
1924
+ id: string;
1925
+ createdAt: Date;
1926
+ updatedAt: Date;
1927
+ deletedAt: Date | null;
1928
+ userId: string | null;
1929
+ sipServerUrl: string | null;
1930
+ sipUserName: string | null;
1931
+ extensionId: string | null;
1932
+ extensionName: string | null;
1933
+ sipPassword: string | null;
1934
+ yeastarSignature: string | null;
1935
+ user?: {
1936
+ id: string;
1937
+ address: string | null;
1938
+ name: string;
1939
+ email: string;
1940
+ createdAt: Date;
1941
+ updatedAt: Date;
1942
+ deletedAt: Date | null;
1943
+ emailVerifiedAt: Date | null;
1944
+ password: string;
1945
+ phone: string | null;
1946
+ notificationCount: number | null;
1947
+ roles: {
1948
+ id: string;
1949
+ description: string | null;
1950
+ createdAt: Date;
1951
+ updatedAt: Date;
1952
+ deletedAt: Date | null;
1953
+ systemName: string;
1954
+ displayName: string;
1955
+ permissions: {
1956
+ id: string;
1957
+ description: string | null;
1958
+ createdAt: Date;
1959
+ updatedAt: Date;
1960
+ deletedAt: Date | null;
1961
+ systemName: string;
1962
+ displayName: string;
1963
+ }[];
1964
+ }[];
1965
+ } | null | undefined;
1966
+ }>;
1967
+ export declare const TelephonyExtensionListSchema: z.ZodArray<z.ZodObject<{
1968
+ id: z.ZodString;
1969
+ createdAt: z.ZodDate;
1970
+ updatedAt: z.ZodDate;
1971
+ deletedAt: z.ZodNullable<z.ZodDate>;
1972
+ user: z.ZodNullable<z.ZodOptional<z.ZodObject<Omit<{
1973
+ id: z.ZodString;
1974
+ createdAt: z.ZodDate;
1975
+ updatedAt: z.ZodDate;
1976
+ deletedAt: z.ZodNullable<z.ZodDate>;
1977
+ name: z.ZodString;
1978
+ email: z.ZodString;
1979
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
1980
+ password: z.ZodString;
1981
+ address: z.ZodNullable<z.ZodString>;
1982
+ phone: z.ZodNullable<z.ZodString>;
1983
+ notificationCount: z.ZodNullable<z.ZodNumber>;
1984
+ roles: z.ZodArray<z.ZodObject<{
1985
+ id: z.ZodString;
1986
+ createdAt: z.ZodDate;
1987
+ updatedAt: z.ZodDate;
1988
+ deletedAt: z.ZodNullable<z.ZodDate>;
1989
+ systemName: z.ZodString;
1990
+ displayName: z.ZodString;
1991
+ description: z.ZodNullable<z.ZodString>;
1992
+ permissions: z.ZodArray<z.ZodObject<{
1993
+ id: z.ZodString;
1994
+ createdAt: z.ZodDate;
1995
+ updatedAt: z.ZodDate;
1996
+ deletedAt: z.ZodNullable<z.ZodDate>;
1997
+ systemName: z.ZodString;
1998
+ displayName: z.ZodString;
1999
+ description: z.ZodNullable<z.ZodString>;
2000
+ }, "strip", z.ZodTypeAny, {
2001
+ id: string;
2002
+ description: string | null;
2003
+ createdAt: Date;
2004
+ updatedAt: Date;
2005
+ deletedAt: Date | null;
2006
+ systemName: string;
2007
+ displayName: string;
2008
+ }, {
2009
+ id: string;
2010
+ description: string | null;
2011
+ createdAt: Date;
2012
+ updatedAt: Date;
2013
+ deletedAt: Date | null;
2014
+ systemName: string;
2015
+ displayName: string;
2016
+ }>, "many">;
2017
+ }, "strip", z.ZodTypeAny, {
2018
+ id: string;
2019
+ description: string | null;
2020
+ createdAt: Date;
2021
+ updatedAt: Date;
2022
+ deletedAt: Date | null;
2023
+ systemName: string;
2024
+ displayName: string;
2025
+ permissions: {
2026
+ id: string;
2027
+ description: string | null;
2028
+ createdAt: Date;
2029
+ updatedAt: Date;
2030
+ deletedAt: Date | null;
2031
+ systemName: string;
2032
+ displayName: string;
2033
+ }[];
2034
+ }, {
2035
+ id: string;
2036
+ description: string | null;
2037
+ createdAt: Date;
2038
+ updatedAt: Date;
2039
+ deletedAt: Date | null;
2040
+ systemName: string;
2041
+ displayName: string;
2042
+ permissions: {
2043
+ id: string;
2044
+ description: string | null;
2045
+ createdAt: Date;
2046
+ updatedAt: Date;
2047
+ deletedAt: Date | null;
2048
+ systemName: string;
2049
+ displayName: string;
2050
+ }[];
2051
+ }>, "many">;
2052
+ extension: z.ZodObject<{
2053
+ id: z.ZodString;
2054
+ createdAt: z.ZodDate;
2055
+ updatedAt: z.ZodDate;
2056
+ deletedAt: z.ZodNullable<z.ZodDate>;
2057
+ userId: z.ZodNullable<z.ZodString>;
2058
+ sipServerUrl: z.ZodString;
2059
+ sipUserName: z.ZodString;
2060
+ webphoneLoginUser: z.ZodString;
2061
+ extensionId: z.ZodNumber;
2062
+ extensionName: z.ZodString;
2063
+ telephonySignature: z.ZodNullable<z.ZodString>;
2064
+ }, "strip", z.ZodTypeAny, {
2065
+ id: string;
2066
+ createdAt: Date;
2067
+ updatedAt: Date;
2068
+ deletedAt: Date | null;
2069
+ userId: string | null;
2070
+ sipServerUrl: string;
2071
+ sipUserName: string;
2072
+ webphoneLoginUser: string;
2073
+ extensionId: number;
2074
+ extensionName: string;
2075
+ telephonySignature: string | null;
2076
+ }, {
2077
+ id: string;
2078
+ createdAt: Date;
2079
+ updatedAt: Date;
2080
+ deletedAt: Date | null;
2081
+ userId: string | null;
2082
+ sipServerUrl: string;
2083
+ sipUserName: string;
2084
+ webphoneLoginUser: string;
2085
+ extensionId: number;
2086
+ extensionName: string;
2087
+ telephonySignature: string | null;
2088
+ }>;
2089
+ }, "extension">, "strip", z.ZodTypeAny, {
2090
+ id: string;
2091
+ address: string | null;
2092
+ name: string;
2093
+ email: string;
2094
+ createdAt: Date;
2095
+ updatedAt: Date;
2096
+ deletedAt: Date | null;
2097
+ emailVerifiedAt: Date | null;
2098
+ password: string;
2099
+ phone: string | null;
2100
+ notificationCount: number | null;
2101
+ roles: {
2102
+ id: string;
2103
+ description: string | null;
2104
+ createdAt: Date;
2105
+ updatedAt: Date;
2106
+ deletedAt: Date | null;
2107
+ systemName: string;
2108
+ displayName: string;
2109
+ permissions: {
2110
+ id: string;
2111
+ description: string | null;
2112
+ createdAt: Date;
2113
+ updatedAt: Date;
2114
+ deletedAt: Date | null;
2115
+ systemName: string;
2116
+ displayName: string;
2117
+ }[];
2118
+ }[];
2119
+ }, {
2120
+ id: string;
2121
+ address: string | null;
2122
+ name: string;
2123
+ email: string;
2124
+ createdAt: Date;
2125
+ updatedAt: Date;
2126
+ deletedAt: Date | null;
2127
+ emailVerifiedAt: Date | null;
2128
+ password: string;
2129
+ phone: string | null;
2130
+ notificationCount: number | null;
2131
+ roles: {
2132
+ id: string;
2133
+ description: string | null;
2134
+ createdAt: Date;
2135
+ updatedAt: Date;
2136
+ deletedAt: Date | null;
2137
+ systemName: string;
2138
+ displayName: string;
2139
+ permissions: {
2140
+ id: string;
2141
+ description: string | null;
2142
+ createdAt: Date;
2143
+ updatedAt: Date;
2144
+ deletedAt: Date | null;
2145
+ systemName: string;
2146
+ displayName: string;
2147
+ }[];
2148
+ }[];
2149
+ }>>>;
2150
+ sipServerUrl: z.ZodNullable<z.ZodString>;
2151
+ sipUserName: z.ZodNullable<z.ZodString>;
2152
+ sipPassword: z.ZodNullable<z.ZodString>;
2153
+ yeastarSignature: z.ZodNullable<z.ZodString>;
2154
+ userId: z.ZodNullable<z.ZodString>;
2155
+ extensionId: z.ZodNullable<z.ZodString>;
2156
+ extensionName: z.ZodNullable<z.ZodString>;
2157
+ }, "strip", z.ZodTypeAny, {
2158
+ id: string;
2159
+ createdAt: Date;
2160
+ updatedAt: Date;
2161
+ deletedAt: Date | null;
2162
+ userId: string | null;
2163
+ sipServerUrl: string | null;
2164
+ sipUserName: string | null;
2165
+ extensionId: string | null;
2166
+ extensionName: string | null;
2167
+ sipPassword: string | null;
2168
+ yeastarSignature: string | null;
2169
+ user?: {
2170
+ id: string;
2171
+ address: string | null;
2172
+ name: string;
2173
+ email: string;
2174
+ createdAt: Date;
2175
+ updatedAt: Date;
2176
+ deletedAt: Date | null;
2177
+ emailVerifiedAt: Date | null;
2178
+ password: string;
2179
+ phone: string | null;
2180
+ notificationCount: number | null;
2181
+ roles: {
2182
+ id: string;
2183
+ description: string | null;
2184
+ createdAt: Date;
2185
+ updatedAt: Date;
2186
+ deletedAt: Date | null;
2187
+ systemName: string;
2188
+ displayName: string;
2189
+ permissions: {
2190
+ id: string;
2191
+ description: string | null;
2192
+ createdAt: Date;
2193
+ updatedAt: Date;
2194
+ deletedAt: Date | null;
2195
+ systemName: string;
2196
+ displayName: string;
2197
+ }[];
2198
+ }[];
2199
+ } | null | undefined;
2200
+ }, {
2201
+ id: string;
2202
+ createdAt: Date;
2203
+ updatedAt: Date;
2204
+ deletedAt: Date | null;
2205
+ userId: string | null;
2206
+ sipServerUrl: string | null;
2207
+ sipUserName: string | null;
2208
+ extensionId: string | null;
2209
+ extensionName: string | null;
2210
+ sipPassword: string | null;
2211
+ yeastarSignature: string | null;
2212
+ user?: {
2213
+ id: string;
2214
+ address: string | null;
2215
+ name: string;
2216
+ email: string;
2217
+ createdAt: Date;
2218
+ updatedAt: Date;
2219
+ deletedAt: Date | null;
2220
+ emailVerifiedAt: Date | null;
2221
+ password: string;
2222
+ phone: string | null;
2223
+ notificationCount: number | null;
2224
+ roles: {
2225
+ id: string;
2226
+ description: string | null;
2227
+ createdAt: Date;
2228
+ updatedAt: Date;
2229
+ deletedAt: Date | null;
2230
+ systemName: string;
2231
+ displayName: string;
2232
+ permissions: {
2233
+ id: string;
2234
+ description: string | null;
2235
+ createdAt: Date;
2236
+ updatedAt: Date;
2237
+ deletedAt: Date | null;
2238
+ systemName: string;
2239
+ displayName: string;
2240
+ }[];
2241
+ }[];
2242
+ } | null | undefined;
2243
+ }>, "many">;
1194
2244
  //# sourceMappingURL=schema.d.ts.map