@kl1/contracts 1.0.77 → 1.0.79

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 (73) hide show
  1. package/dist/index.js +2391 -2040
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +2390 -2040
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/call-log/schema.d.ts +6 -6
  6. package/dist/src/call-log/validation.d.ts +4 -4
  7. package/dist/src/channel/index.d.ts +92 -88
  8. package/dist/src/channel/index.d.ts.map +1 -1
  9. package/dist/src/channel/schema.d.ts +4 -4
  10. package/dist/src/channel/schema.d.ts.map +1 -1
  11. package/dist/src/channel/validation.d.ts +3 -3
  12. package/dist/src/chat/index.d.ts +7108 -3826
  13. package/dist/src/chat/index.d.ts.map +1 -1
  14. package/dist/src/chat/schema.d.ts +3391 -1087
  15. package/dist/src/chat/schema.d.ts.map +1 -1
  16. package/dist/src/chat/validation.d.ts +1945 -304
  17. package/dist/src/chat/validation.d.ts.map +1 -1
  18. package/dist/src/comment/index.d.ts +584 -584
  19. package/dist/src/comment/schema.d.ts +144 -144
  20. package/dist/src/contact/index.d.ts +4 -1
  21. package/dist/src/contact/index.d.ts.map +1 -1
  22. package/dist/src/contact/schema.d.ts +156 -0
  23. package/dist/src/contact/schema.d.ts.map +1 -1
  24. package/dist/src/contract.d.ts +25050 -10486
  25. package/dist/src/contract.d.ts.map +1 -1
  26. package/dist/src/cx-log/index.d.ts +948 -205
  27. package/dist/src/cx-log/index.d.ts.map +1 -1
  28. package/dist/src/cx-log/schema.d.ts +920 -263
  29. package/dist/src/cx-log/schema.d.ts.map +1 -1
  30. package/dist/src/dashboard/index.d.ts +4 -4
  31. package/dist/src/dashboard/schema.d.ts +2 -2
  32. package/dist/src/index.d.ts +0 -1
  33. package/dist/src/index.d.ts.map +1 -1
  34. package/dist/src/instagram/index.d.ts +2162 -343
  35. package/dist/src/instagram/index.d.ts.map +1 -1
  36. package/dist/src/line/index.d.ts +1912 -271
  37. package/dist/src/line/index.d.ts.map +1 -1
  38. package/dist/src/mail/mail-contract.d.ts +130 -130
  39. package/dist/src/mail/message-contract.d.ts +6 -6
  40. package/dist/src/mail/room-contract.d.ts +124 -124
  41. package/dist/src/mail/schemas/message.schema.d.ts +4 -4
  42. package/dist/src/mail/schemas/room-validation.schema.d.ts +40 -40
  43. package/dist/src/mail/schemas/room.schema.d.ts +30 -30
  44. package/dist/src/messenger/index.d.ts +2520 -520
  45. package/dist/src/messenger/index.d.ts.map +1 -1
  46. package/dist/src/messenger/validation.d.ts +1523 -0
  47. package/dist/src/messenger/validation.d.ts.map +1 -1
  48. package/dist/src/notification/index.d.ts +742 -0
  49. package/dist/src/notification/index.d.ts.map +1 -0
  50. package/dist/src/notification/schema.d.ts +48 -0
  51. package/dist/src/notification/schema.d.ts.map +1 -0
  52. package/dist/src/notification/validation.d.ts +148 -0
  53. package/dist/src/notification/validation.d.ts.map +1 -0
  54. package/dist/src/telephony-cdr/index.d.ts +2376 -404
  55. package/dist/src/telephony-cdr/index.d.ts.map +1 -1
  56. package/dist/src/telephony-cdr/schema.d.ts +839 -63
  57. package/dist/src/telephony-cdr/schema.d.ts.map +1 -1
  58. package/dist/src/telephony-cdr/validation.d.ts +4 -4
  59. package/dist/src/ticket/index.d.ts +1106 -1106
  60. package/dist/src/ticket/schema.d.ts +72 -72
  61. package/dist/src/ticket/validation.d.ts +12 -12
  62. package/dist/src/viber/index.d.ts +3614 -1248
  63. package/dist/src/viber/index.d.ts.map +1 -1
  64. package/dist/src/wrap-up-form/index.d.ts +19 -19
  65. package/dist/src/wrap-up-form/schema.d.ts +2 -2
  66. package/dist/src/wrap-up-form/validation.d.ts +3 -3
  67. package/package.json +1 -1
  68. package/dist/src/app/index.d.ts +0 -17
  69. package/dist/src/app/index.d.ts.map +0 -1
  70. package/dist/src/mail/mail-server.d.ts +0 -216
  71. package/dist/src/mail/mail-server.d.ts.map +0 -1
  72. package/dist/src/platform-contact/schema.d.ts +0 -30
  73. package/dist/src/platform-contact/schema.d.ts.map +0 -1
@@ -1,9 +1,10 @@
1
1
  import z from 'zod';
2
2
  import { CreateTelephonyCdrSchema, GetAllTelephonyCdrSchema, GetExportTelephonyCdrSchema, GetRecentTelephonyCdrSchema, GetYeastarCallReportSchema } from './validation';
3
3
  import { ExtCallActivityListSchema, ExtCallStatisticsListSchema, ExtStatisticSchema, QueueAgentInOutCallsListSchema, QueueAgentMissCallsListSchema, QueueAvgWaitTalkTimeListSchema, QueuePerformanceListSchema, QueueSatisfactionSchema, SatisfactionListSchema, TrunkActivityListSchema, agentListSchema } from './call-report.schema';
4
- import { TelephonyCdrSchema, TelephonyExtensionListSchema, TelephonyExtensionSchema, TelephonyQueueListSchmea, TelephonyQueueSchema, TelephonyTrunkListSchema, TelephonyTrunkSchema } from './schema';
4
+ import { CallUserSchema, TelephonyCdrSchema, TelephonyExtensionListSchema, TelephonyExtensionSchema, TelephonyQueueListSchmea, TelephonyQueueSchema, TelephonyTrunkListSchema, TelephonyTrunkSchema } from './schema';
5
5
  export type CreateTelephonyCdrRequest = z.infer<typeof CreateTelephonyCdrSchema>;
6
6
  export type TelephonyCdr = z.infer<typeof TelephonyCdrSchema>;
7
+ export type CallUser = z.infer<typeof CallUserSchema>;
7
8
  export type GetTelephonyCdrQuery = z.infer<typeof GetAllTelephonyCdrSchema>;
8
9
  export type GetRecentTelephonyCdrQuery = z.infer<typeof GetRecentTelephonyCdrSchema>;
9
10
  export type GetExportTelephonyCdrQuery = z.infer<typeof GetExportTelephonyCdrSchema>;
@@ -798,41 +799,526 @@ export declare const telephonyCdrContract: {
798
799
  didNumber: z.ZodNullable<z.ZodString>;
799
800
  agentRingTime: z.ZodNullable<z.ZodNumber>;
800
801
  uploadId: z.ZodNullable<z.ZodString>;
801
- upload: z.ZodNullable<z.ZodOptional<z.ZodObject<{
802
- id: z.ZodString;
803
- createdAt: z.ZodDate;
804
- updatedAt: z.ZodDate;
805
- deletedAt: z.ZodNullable<z.ZodDate>;
806
- bucketName: z.ZodString;
807
- fileName: z.ZodString;
808
- fileSize: z.ZodNumber;
809
- fileKey: z.ZodString;
810
- fileUrl: z.ZodNullable<z.ZodString>;
811
- status: z.ZodOptional<z.ZodString>;
802
+ serialNumber: z.ZodNullable<z.ZodString>;
803
+ callParticipants: z.ZodNullable<z.ZodObject<{
804
+ callTo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
805
+ id: z.ZodString;
806
+ user: z.ZodNullable<z.ZodObject<Omit<{
807
+ id: z.ZodString;
808
+ createdAt: z.ZodDate;
809
+ updatedAt: z.ZodDate;
810
+ deletedAt: z.ZodNullable<z.ZodDate>;
811
+ name: z.ZodString;
812
+ email: z.ZodString;
813
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
814
+ password: z.ZodString;
815
+ address: z.ZodNullable<z.ZodString>;
816
+ phone: z.ZodNullable<z.ZodString>;
817
+ notificationCount: z.ZodNullable<z.ZodNumber>;
818
+ roles: z.ZodArray<z.ZodObject<{
819
+ id: z.ZodString;
820
+ createdAt: z.ZodDate;
821
+ updatedAt: z.ZodDate;
822
+ deletedAt: z.ZodNullable<z.ZodDate>;
823
+ systemName: z.ZodString;
824
+ displayName: z.ZodString;
825
+ description: z.ZodNullable<z.ZodString>;
826
+ permissions: z.ZodArray<z.ZodObject<{
827
+ id: z.ZodString;
828
+ createdAt: z.ZodDate;
829
+ updatedAt: z.ZodDate;
830
+ deletedAt: z.ZodNullable<z.ZodDate>;
831
+ systemName: z.ZodString;
832
+ displayName: z.ZodString;
833
+ description: z.ZodNullable<z.ZodString>;
834
+ }, "strip", z.ZodTypeAny, {
835
+ id: string;
836
+ description: string | null;
837
+ createdAt: Date;
838
+ updatedAt: Date;
839
+ deletedAt: Date | null;
840
+ systemName: string;
841
+ displayName: string;
842
+ }, {
843
+ id: string;
844
+ description: string | null;
845
+ createdAt: Date;
846
+ updatedAt: Date;
847
+ deletedAt: Date | null;
848
+ systemName: string;
849
+ displayName: string;
850
+ }>, "many">;
851
+ }, "strip", z.ZodTypeAny, {
852
+ id: string;
853
+ description: string | null;
854
+ createdAt: Date;
855
+ updatedAt: Date;
856
+ deletedAt: Date | null;
857
+ systemName: string;
858
+ displayName: string;
859
+ permissions: {
860
+ id: string;
861
+ description: string | null;
862
+ createdAt: Date;
863
+ updatedAt: Date;
864
+ deletedAt: Date | null;
865
+ systemName: string;
866
+ displayName: string;
867
+ }[];
868
+ }, {
869
+ id: string;
870
+ description: string | null;
871
+ createdAt: Date;
872
+ updatedAt: Date;
873
+ deletedAt: Date | null;
874
+ systemName: string;
875
+ displayName: string;
876
+ permissions: {
877
+ id: string;
878
+ description: string | null;
879
+ createdAt: Date;
880
+ updatedAt: Date;
881
+ deletedAt: Date | null;
882
+ systemName: string;
883
+ displayName: string;
884
+ }[];
885
+ }>, "many">;
886
+ extension: z.ZodObject<{
887
+ id: z.ZodString;
888
+ createdAt: z.ZodDate;
889
+ updatedAt: z.ZodDate;
890
+ deletedAt: z.ZodNullable<z.ZodDate>;
891
+ userId: z.ZodNullable<z.ZodString>;
892
+ sipServerUrl: z.ZodString;
893
+ sipUserName: z.ZodString;
894
+ webphoneLoginUser: z.ZodString;
895
+ extensionId: z.ZodNullable<z.ZodString>;
896
+ extensionName: z.ZodString;
897
+ telephonySignature: z.ZodNullable<z.ZodString>;
898
+ }, "strip", z.ZodTypeAny, {
899
+ id: string;
900
+ createdAt: Date;
901
+ updatedAt: Date;
902
+ deletedAt: Date | null;
903
+ userId: string | null;
904
+ sipServerUrl: string;
905
+ sipUserName: string;
906
+ webphoneLoginUser: string;
907
+ extensionId: string | null;
908
+ extensionName: string;
909
+ telephonySignature: string | null;
910
+ }, {
911
+ id: string;
912
+ createdAt: Date;
913
+ updatedAt: Date;
914
+ deletedAt: Date | null;
915
+ userId: string | null;
916
+ sipServerUrl: string;
917
+ sipUserName: string;
918
+ webphoneLoginUser: string;
919
+ extensionId: string | null;
920
+ extensionName: string;
921
+ telephonySignature: string | null;
922
+ }>;
923
+ }, "roles" | "extension">, "strip", z.ZodTypeAny, {
924
+ id: string;
925
+ address: string | null;
926
+ name: string;
927
+ email: string;
928
+ createdAt: Date;
929
+ updatedAt: Date;
930
+ deletedAt: Date | null;
931
+ emailVerifiedAt: Date | null;
932
+ password: string;
933
+ phone: string | null;
934
+ notificationCount: number | null;
935
+ }, {
936
+ id: string;
937
+ address: string | null;
938
+ name: string;
939
+ email: string;
940
+ createdAt: Date;
941
+ updatedAt: Date;
942
+ deletedAt: Date | null;
943
+ emailVerifiedAt: Date | null;
944
+ password: string;
945
+ phone: string | null;
946
+ notificationCount: number | null;
947
+ }>>;
948
+ userId: z.ZodString;
949
+ createdAt: z.ZodOptional<z.ZodString>;
950
+ deletedAt: z.ZodNullable<z.ZodString>;
951
+ updatedAt: z.ZodOptional<z.ZodString>;
952
+ extensionId: z.ZodNullable<z.ZodString>;
953
+ sipUserName: z.ZodNullable<z.ZodString>;
954
+ sipServerUrl: z.ZodNullable<z.ZodString>;
955
+ extensionName: z.ZodNullable<z.ZodString>;
956
+ webphoneLoginUser: z.ZodNullable<z.ZodString>;
957
+ telephonySignature: z.ZodNullable<z.ZodString>;
958
+ }, "strip", z.ZodTypeAny, {
959
+ id: string;
960
+ user: {
961
+ id: string;
962
+ address: string | null;
963
+ name: string;
964
+ email: string;
965
+ createdAt: Date;
966
+ updatedAt: Date;
967
+ deletedAt: Date | null;
968
+ emailVerifiedAt: Date | null;
969
+ password: string;
970
+ phone: string | null;
971
+ notificationCount: number | null;
972
+ } | null;
973
+ deletedAt: string | null;
974
+ userId: string;
975
+ sipServerUrl: string | null;
976
+ sipUserName: string | null;
977
+ webphoneLoginUser: string | null;
978
+ extensionId: string | null;
979
+ extensionName: string | null;
980
+ telephonySignature: string | null;
981
+ createdAt?: string | undefined;
982
+ updatedAt?: string | undefined;
983
+ }, {
984
+ id: string;
985
+ user: {
986
+ id: string;
987
+ address: string | null;
988
+ name: string;
989
+ email: string;
990
+ createdAt: Date;
991
+ updatedAt: Date;
992
+ deletedAt: Date | null;
993
+ emailVerifiedAt: Date | null;
994
+ password: string;
995
+ phone: string | null;
996
+ notificationCount: number | null;
997
+ } | null;
998
+ deletedAt: string | null;
999
+ userId: string;
1000
+ sipServerUrl: string | null;
1001
+ sipUserName: string | null;
1002
+ webphoneLoginUser: string | null;
1003
+ extensionId: string | null;
1004
+ extensionName: string | null;
1005
+ telephonySignature: string | null;
1006
+ createdAt?: string | undefined;
1007
+ updatedAt?: string | undefined;
1008
+ }>>>;
1009
+ callFrom: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1010
+ id: z.ZodString;
1011
+ user: z.ZodNullable<z.ZodObject<Omit<{
1012
+ id: z.ZodString;
1013
+ createdAt: z.ZodDate;
1014
+ updatedAt: z.ZodDate;
1015
+ deletedAt: z.ZodNullable<z.ZodDate>;
1016
+ name: z.ZodString;
1017
+ email: z.ZodString;
1018
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
1019
+ password: z.ZodString;
1020
+ address: z.ZodNullable<z.ZodString>;
1021
+ phone: z.ZodNullable<z.ZodString>;
1022
+ notificationCount: z.ZodNullable<z.ZodNumber>;
1023
+ roles: z.ZodArray<z.ZodObject<{
1024
+ id: z.ZodString;
1025
+ createdAt: z.ZodDate;
1026
+ updatedAt: z.ZodDate;
1027
+ deletedAt: z.ZodNullable<z.ZodDate>;
1028
+ systemName: z.ZodString;
1029
+ displayName: z.ZodString;
1030
+ description: z.ZodNullable<z.ZodString>;
1031
+ permissions: z.ZodArray<z.ZodObject<{
1032
+ id: z.ZodString;
1033
+ createdAt: z.ZodDate;
1034
+ updatedAt: z.ZodDate;
1035
+ deletedAt: z.ZodNullable<z.ZodDate>;
1036
+ systemName: z.ZodString;
1037
+ displayName: z.ZodString;
1038
+ description: z.ZodNullable<z.ZodString>;
1039
+ }, "strip", z.ZodTypeAny, {
1040
+ id: string;
1041
+ description: string | null;
1042
+ createdAt: Date;
1043
+ updatedAt: Date;
1044
+ deletedAt: Date | null;
1045
+ systemName: string;
1046
+ displayName: string;
1047
+ }, {
1048
+ id: string;
1049
+ description: string | null;
1050
+ createdAt: Date;
1051
+ updatedAt: Date;
1052
+ deletedAt: Date | null;
1053
+ systemName: string;
1054
+ displayName: string;
1055
+ }>, "many">;
1056
+ }, "strip", z.ZodTypeAny, {
1057
+ id: string;
1058
+ description: string | null;
1059
+ createdAt: Date;
1060
+ updatedAt: Date;
1061
+ deletedAt: Date | null;
1062
+ systemName: string;
1063
+ displayName: string;
1064
+ permissions: {
1065
+ id: string;
1066
+ description: string | null;
1067
+ createdAt: Date;
1068
+ updatedAt: Date;
1069
+ deletedAt: Date | null;
1070
+ systemName: string;
1071
+ displayName: string;
1072
+ }[];
1073
+ }, {
1074
+ id: string;
1075
+ description: string | null;
1076
+ createdAt: Date;
1077
+ updatedAt: Date;
1078
+ deletedAt: Date | null;
1079
+ systemName: string;
1080
+ displayName: string;
1081
+ permissions: {
1082
+ id: string;
1083
+ description: string | null;
1084
+ createdAt: Date;
1085
+ updatedAt: Date;
1086
+ deletedAt: Date | null;
1087
+ systemName: string;
1088
+ displayName: string;
1089
+ }[];
1090
+ }>, "many">;
1091
+ extension: z.ZodObject<{
1092
+ id: z.ZodString;
1093
+ createdAt: z.ZodDate;
1094
+ updatedAt: z.ZodDate;
1095
+ deletedAt: z.ZodNullable<z.ZodDate>;
1096
+ userId: z.ZodNullable<z.ZodString>;
1097
+ sipServerUrl: z.ZodString;
1098
+ sipUserName: z.ZodString;
1099
+ webphoneLoginUser: z.ZodString;
1100
+ extensionId: z.ZodNullable<z.ZodString>;
1101
+ extensionName: z.ZodString;
1102
+ telephonySignature: z.ZodNullable<z.ZodString>;
1103
+ }, "strip", z.ZodTypeAny, {
1104
+ id: string;
1105
+ createdAt: Date;
1106
+ updatedAt: Date;
1107
+ deletedAt: Date | null;
1108
+ userId: string | null;
1109
+ sipServerUrl: string;
1110
+ sipUserName: string;
1111
+ webphoneLoginUser: string;
1112
+ extensionId: string | null;
1113
+ extensionName: string;
1114
+ telephonySignature: string | null;
1115
+ }, {
1116
+ id: string;
1117
+ createdAt: Date;
1118
+ updatedAt: Date;
1119
+ deletedAt: Date | null;
1120
+ userId: string | null;
1121
+ sipServerUrl: string;
1122
+ sipUserName: string;
1123
+ webphoneLoginUser: string;
1124
+ extensionId: string | null;
1125
+ extensionName: string;
1126
+ telephonySignature: string | null;
1127
+ }>;
1128
+ }, "roles" | "extension">, "strip", z.ZodTypeAny, {
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
+ }, {
1141
+ id: string;
1142
+ address: string | null;
1143
+ name: string;
1144
+ email: string;
1145
+ createdAt: Date;
1146
+ updatedAt: Date;
1147
+ deletedAt: Date | null;
1148
+ emailVerifiedAt: Date | null;
1149
+ password: string;
1150
+ phone: string | null;
1151
+ notificationCount: number | null;
1152
+ }>>;
1153
+ userId: z.ZodString;
1154
+ createdAt: z.ZodOptional<z.ZodString>;
1155
+ deletedAt: z.ZodNullable<z.ZodString>;
1156
+ updatedAt: z.ZodOptional<z.ZodString>;
1157
+ extensionId: z.ZodNullable<z.ZodString>;
1158
+ sipUserName: z.ZodNullable<z.ZodString>;
1159
+ sipServerUrl: z.ZodNullable<z.ZodString>;
1160
+ extensionName: z.ZodNullable<z.ZodString>;
1161
+ webphoneLoginUser: z.ZodNullable<z.ZodString>;
1162
+ telephonySignature: z.ZodNullable<z.ZodString>;
1163
+ }, "strip", z.ZodTypeAny, {
1164
+ id: string;
1165
+ user: {
1166
+ id: string;
1167
+ address: string | null;
1168
+ name: string;
1169
+ email: string;
1170
+ createdAt: Date;
1171
+ updatedAt: Date;
1172
+ deletedAt: Date | null;
1173
+ emailVerifiedAt: Date | null;
1174
+ password: string;
1175
+ phone: string | null;
1176
+ notificationCount: number | null;
1177
+ } | null;
1178
+ deletedAt: string | null;
1179
+ userId: string;
1180
+ sipServerUrl: string | null;
1181
+ sipUserName: string | null;
1182
+ webphoneLoginUser: string | null;
1183
+ extensionId: string | null;
1184
+ extensionName: string | null;
1185
+ telephonySignature: string | null;
1186
+ createdAt?: string | undefined;
1187
+ updatedAt?: string | undefined;
1188
+ }, {
1189
+ id: string;
1190
+ user: {
1191
+ id: string;
1192
+ address: string | null;
1193
+ name: string;
1194
+ email: string;
1195
+ createdAt: Date;
1196
+ updatedAt: Date;
1197
+ deletedAt: Date | null;
1198
+ emailVerifiedAt: Date | null;
1199
+ password: string;
1200
+ phone: string | null;
1201
+ notificationCount: number | null;
1202
+ } | null;
1203
+ deletedAt: string | null;
1204
+ userId: string;
1205
+ sipServerUrl: string | null;
1206
+ sipUserName: string | null;
1207
+ webphoneLoginUser: string | null;
1208
+ extensionId: string | null;
1209
+ extensionName: string | null;
1210
+ telephonySignature: string | null;
1211
+ createdAt?: string | undefined;
1212
+ updatedAt?: string | undefined;
1213
+ }>>>;
812
1214
  }, "strip", z.ZodTypeAny, {
813
- id: string;
814
- createdAt: Date;
815
- updatedAt: Date;
816
- deletedAt: Date | null;
817
- fileName: string;
818
- fileKey: string;
819
- bucketName: string;
820
- fileSize: number;
821
- fileUrl: string | null;
822
- status?: string | undefined;
1215
+ callTo?: {
1216
+ id: string;
1217
+ user: {
1218
+ id: string;
1219
+ address: string | null;
1220
+ name: string;
1221
+ email: string;
1222
+ createdAt: Date;
1223
+ updatedAt: Date;
1224
+ deletedAt: Date | null;
1225
+ emailVerifiedAt: Date | null;
1226
+ password: string;
1227
+ phone: string | null;
1228
+ notificationCount: number | null;
1229
+ } | null;
1230
+ deletedAt: string | null;
1231
+ userId: string;
1232
+ sipServerUrl: string | null;
1233
+ sipUserName: string | null;
1234
+ webphoneLoginUser: string | null;
1235
+ extensionId: string | null;
1236
+ extensionName: string | null;
1237
+ telephonySignature: string | null;
1238
+ createdAt?: string | undefined;
1239
+ updatedAt?: string | undefined;
1240
+ } | null | undefined;
1241
+ callFrom?: {
1242
+ id: string;
1243
+ user: {
1244
+ id: string;
1245
+ address: string | null;
1246
+ name: string;
1247
+ email: string;
1248
+ createdAt: Date;
1249
+ updatedAt: Date;
1250
+ deletedAt: Date | null;
1251
+ emailVerifiedAt: Date | null;
1252
+ password: string;
1253
+ phone: string | null;
1254
+ notificationCount: number | null;
1255
+ } | null;
1256
+ deletedAt: string | null;
1257
+ userId: string;
1258
+ sipServerUrl: string | null;
1259
+ sipUserName: string | null;
1260
+ webphoneLoginUser: string | null;
1261
+ extensionId: string | null;
1262
+ extensionName: string | null;
1263
+ telephonySignature: string | null;
1264
+ createdAt?: string | undefined;
1265
+ updatedAt?: string | undefined;
1266
+ } | null | undefined;
823
1267
  }, {
824
- id: string;
825
- createdAt: Date;
826
- updatedAt: Date;
827
- deletedAt: Date | null;
828
- fileName: string;
829
- fileKey: string;
830
- bucketName: string;
831
- fileSize: number;
832
- fileUrl: string | null;
833
- status?: string | undefined;
834
- }>>>;
835
- serialNumber: z.ZodNullable<z.ZodString>;
1268
+ callTo?: {
1269
+ id: string;
1270
+ user: {
1271
+ id: string;
1272
+ address: string | null;
1273
+ name: string;
1274
+ email: string;
1275
+ createdAt: Date;
1276
+ updatedAt: Date;
1277
+ deletedAt: Date | null;
1278
+ emailVerifiedAt: Date | null;
1279
+ password: string;
1280
+ phone: string | null;
1281
+ notificationCount: number | null;
1282
+ } | null;
1283
+ deletedAt: string | null;
1284
+ userId: string;
1285
+ sipServerUrl: string | null;
1286
+ sipUserName: string | null;
1287
+ webphoneLoginUser: string | null;
1288
+ extensionId: string | null;
1289
+ extensionName: string | null;
1290
+ telephonySignature: string | null;
1291
+ createdAt?: string | undefined;
1292
+ updatedAt?: string | undefined;
1293
+ } | null | undefined;
1294
+ callFrom?: {
1295
+ id: string;
1296
+ user: {
1297
+ id: string;
1298
+ address: string | null;
1299
+ name: string;
1300
+ email: string;
1301
+ createdAt: Date;
1302
+ updatedAt: Date;
1303
+ deletedAt: Date | null;
1304
+ emailVerifiedAt: Date | null;
1305
+ password: string;
1306
+ phone: string | null;
1307
+ notificationCount: number | null;
1308
+ } | null;
1309
+ deletedAt: string | null;
1310
+ userId: string;
1311
+ sipServerUrl: string | null;
1312
+ sipUserName: string | null;
1313
+ webphoneLoginUser: string | null;
1314
+ extensionId: string | null;
1315
+ extensionName: string | null;
1316
+ telephonySignature: string | null;
1317
+ createdAt?: string | undefined;
1318
+ updatedAt?: string | undefined;
1319
+ } | null | undefined;
1320
+ }>>;
1321
+ isQueueMissedCall: z.ZodBoolean;
836
1322
  extensionId: z.ZodNullable<z.ZodString>;
837
1323
  extension: z.ZodNullable<z.ZodOptional<z.ZodObject<{
838
1324
  id: z.ZodString;
@@ -1174,11 +1660,10 @@ export declare const telephonyCdrContract: {
1174
1660
  updatedAt: Date;
1175
1661
  deletedAt: Date | null;
1176
1662
  extensionId: string | null;
1177
- contactId: string | null;
1178
- callFrom: string;
1179
- callTo: string;
1180
1663
  uniqueCallId: string;
1181
1664
  timeStart: string;
1665
+ callFrom: string;
1666
+ callTo: string;
1182
1667
  callDuration: number | null;
1183
1668
  talkDuration: number | null;
1184
1669
  srcTrunkName: string | null;
@@ -1188,7 +1673,63 @@ export declare const telephonyCdrContract: {
1188
1673
  agentRingTime: number | null;
1189
1674
  uploadId: string | null;
1190
1675
  serialNumber: string | null;
1676
+ callParticipants: {
1677
+ callTo?: {
1678
+ id: string;
1679
+ user: {
1680
+ id: string;
1681
+ address: string | null;
1682
+ name: string;
1683
+ email: string;
1684
+ createdAt: Date;
1685
+ updatedAt: Date;
1686
+ deletedAt: Date | null;
1687
+ emailVerifiedAt: Date | null;
1688
+ password: string;
1689
+ phone: string | null;
1690
+ notificationCount: number | null;
1691
+ } | null;
1692
+ deletedAt: string | null;
1693
+ userId: string;
1694
+ sipServerUrl: string | null;
1695
+ sipUserName: string | null;
1696
+ webphoneLoginUser: string | null;
1697
+ extensionId: string | null;
1698
+ extensionName: string | null;
1699
+ telephonySignature: string | null;
1700
+ createdAt?: string | undefined;
1701
+ updatedAt?: string | undefined;
1702
+ } | null | undefined;
1703
+ callFrom?: {
1704
+ id: string;
1705
+ user: {
1706
+ id: string;
1707
+ address: string | null;
1708
+ name: string;
1709
+ email: string;
1710
+ createdAt: Date;
1711
+ updatedAt: Date;
1712
+ deletedAt: Date | null;
1713
+ emailVerifiedAt: Date | null;
1714
+ password: string;
1715
+ phone: string | null;
1716
+ notificationCount: number | null;
1717
+ } | null;
1718
+ deletedAt: string | null;
1719
+ userId: string;
1720
+ sipServerUrl: string | null;
1721
+ sipUserName: string | null;
1722
+ webphoneLoginUser: string | null;
1723
+ extensionId: string | null;
1724
+ extensionName: string | null;
1725
+ telephonySignature: string | null;
1726
+ createdAt?: string | undefined;
1727
+ updatedAt?: string | undefined;
1728
+ } | null | undefined;
1729
+ } | null;
1730
+ isQueueMissedCall: boolean;
1191
1731
  telephonyQueueId: string | null;
1732
+ contactId: string | null;
1192
1733
  contact?: {
1193
1734
  id: string;
1194
1735
  channel: string | null;
@@ -1296,18 +1837,6 @@ export declare const telephonyCdrContract: {
1296
1837
  queueNumber: string;
1297
1838
  maximumWaitingTime: number;
1298
1839
  } | null | undefined;
1299
- upload?: {
1300
- id: string;
1301
- createdAt: Date;
1302
- updatedAt: Date;
1303
- deletedAt: Date | null;
1304
- fileName: string;
1305
- fileKey: string;
1306
- bucketName: string;
1307
- fileSize: number;
1308
- fileUrl: string | null;
1309
- status?: string | undefined;
1310
- } | null | undefined;
1311
1840
  extension?: {
1312
1841
  id: string;
1313
1842
  createdAt: Date;
@@ -1374,11 +1903,10 @@ export declare const telephonyCdrContract: {
1374
1903
  updatedAt: Date;
1375
1904
  deletedAt: Date | null;
1376
1905
  extensionId: string | null;
1377
- contactId: string | null;
1378
- callFrom: string;
1379
- callTo: string;
1380
1906
  uniqueCallId: string;
1381
1907
  timeStart: string;
1908
+ callFrom: string;
1909
+ callTo: string;
1382
1910
  callDuration: number | null;
1383
1911
  talkDuration: number | null;
1384
1912
  srcTrunkName: string | null;
@@ -1388,7 +1916,63 @@ export declare const telephonyCdrContract: {
1388
1916
  agentRingTime: number | null;
1389
1917
  uploadId: string | null;
1390
1918
  serialNumber: string | null;
1919
+ callParticipants: {
1920
+ callTo?: {
1921
+ id: string;
1922
+ user: {
1923
+ id: string;
1924
+ address: string | null;
1925
+ name: string;
1926
+ email: string;
1927
+ createdAt: Date;
1928
+ updatedAt: Date;
1929
+ deletedAt: Date | null;
1930
+ emailVerifiedAt: Date | null;
1931
+ password: string;
1932
+ phone: string | null;
1933
+ notificationCount: number | null;
1934
+ } | null;
1935
+ deletedAt: string | null;
1936
+ userId: string;
1937
+ sipServerUrl: string | null;
1938
+ sipUserName: string | null;
1939
+ webphoneLoginUser: string | null;
1940
+ extensionId: string | null;
1941
+ extensionName: string | null;
1942
+ telephonySignature: string | null;
1943
+ createdAt?: string | undefined;
1944
+ updatedAt?: string | undefined;
1945
+ } | null | undefined;
1946
+ callFrom?: {
1947
+ id: string;
1948
+ user: {
1949
+ id: string;
1950
+ address: string | null;
1951
+ name: string;
1952
+ email: string;
1953
+ createdAt: Date;
1954
+ updatedAt: Date;
1955
+ deletedAt: Date | null;
1956
+ emailVerifiedAt: Date | null;
1957
+ password: string;
1958
+ phone: string | null;
1959
+ notificationCount: number | null;
1960
+ } | null;
1961
+ deletedAt: string | null;
1962
+ userId: string;
1963
+ sipServerUrl: string | null;
1964
+ sipUserName: string | null;
1965
+ webphoneLoginUser: string | null;
1966
+ extensionId: string | null;
1967
+ extensionName: string | null;
1968
+ telephonySignature: string | null;
1969
+ createdAt?: string | undefined;
1970
+ updatedAt?: string | undefined;
1971
+ } | null | undefined;
1972
+ } | null;
1973
+ isQueueMissedCall: boolean;
1391
1974
  telephonyQueueId: string | null;
1975
+ contactId: string | null;
1392
1976
  contact?: {
1393
1977
  id: string;
1394
1978
  channel: string | null;
@@ -1496,18 +2080,6 @@ export declare const telephonyCdrContract: {
1496
2080
  queueNumber: string;
1497
2081
  maximumWaitingTime: number;
1498
2082
  } | null | undefined;
1499
- upload?: {
1500
- id: string;
1501
- createdAt: Date;
1502
- updatedAt: Date;
1503
- deletedAt: Date | null;
1504
- fileName: string;
1505
- fileKey: string;
1506
- bucketName: string;
1507
- fileSize: number;
1508
- fileUrl: string | null;
1509
- status?: string | undefined;
1510
- } | null | undefined;
1511
2083
  extension?: {
1512
2084
  id: string;
1513
2085
  createdAt: Date;
@@ -1580,11 +2152,10 @@ export declare const telephonyCdrContract: {
1580
2152
  updatedAt: Date;
1581
2153
  deletedAt: Date | null;
1582
2154
  extensionId: string | null;
1583
- contactId: string | null;
1584
- callFrom: string;
1585
- callTo: string;
1586
2155
  uniqueCallId: string;
1587
2156
  timeStart: string;
2157
+ callFrom: string;
2158
+ callTo: string;
1588
2159
  callDuration: number | null;
1589
2160
  talkDuration: number | null;
1590
2161
  srcTrunkName: string | null;
@@ -1594,7 +2165,63 @@ export declare const telephonyCdrContract: {
1594
2165
  agentRingTime: number | null;
1595
2166
  uploadId: string | null;
1596
2167
  serialNumber: string | null;
2168
+ callParticipants: {
2169
+ callTo?: {
2170
+ id: string;
2171
+ user: {
2172
+ id: string;
2173
+ address: string | null;
2174
+ name: string;
2175
+ email: string;
2176
+ createdAt: Date;
2177
+ updatedAt: Date;
2178
+ deletedAt: Date | null;
2179
+ emailVerifiedAt: Date | null;
2180
+ password: string;
2181
+ phone: string | null;
2182
+ notificationCount: number | null;
2183
+ } | null;
2184
+ deletedAt: string | null;
2185
+ userId: string;
2186
+ sipServerUrl: string | null;
2187
+ sipUserName: string | null;
2188
+ webphoneLoginUser: string | null;
2189
+ extensionId: string | null;
2190
+ extensionName: string | null;
2191
+ telephonySignature: string | null;
2192
+ createdAt?: string | undefined;
2193
+ updatedAt?: string | undefined;
2194
+ } | null | undefined;
2195
+ callFrom?: {
2196
+ id: string;
2197
+ user: {
2198
+ id: string;
2199
+ address: string | null;
2200
+ name: string;
2201
+ email: string;
2202
+ createdAt: Date;
2203
+ updatedAt: Date;
2204
+ deletedAt: Date | null;
2205
+ emailVerifiedAt: Date | null;
2206
+ password: string;
2207
+ phone: string | null;
2208
+ notificationCount: number | null;
2209
+ } | null;
2210
+ deletedAt: string | null;
2211
+ userId: string;
2212
+ sipServerUrl: string | null;
2213
+ sipUserName: string | null;
2214
+ webphoneLoginUser: string | null;
2215
+ extensionId: string | null;
2216
+ extensionName: string | null;
2217
+ telephonySignature: string | null;
2218
+ createdAt?: string | undefined;
2219
+ updatedAt?: string | undefined;
2220
+ } | null | undefined;
2221
+ } | null;
2222
+ isQueueMissedCall: boolean;
1597
2223
  telephonyQueueId: string | null;
2224
+ contactId: string | null;
1598
2225
  contact?: {
1599
2226
  id: string;
1600
2227
  channel: string | null;
@@ -1702,18 +2329,6 @@ export declare const telephonyCdrContract: {
1702
2329
  queueNumber: string;
1703
2330
  maximumWaitingTime: number;
1704
2331
  } | null | undefined;
1705
- upload?: {
1706
- id: string;
1707
- createdAt: Date;
1708
- updatedAt: Date;
1709
- deletedAt: Date | null;
1710
- fileName: string;
1711
- fileKey: string;
1712
- bucketName: string;
1713
- fileSize: number;
1714
- fileUrl: string | null;
1715
- status?: string | undefined;
1716
- } | null | undefined;
1717
2332
  extension?: {
1718
2333
  id: string;
1719
2334
  createdAt: Date;
@@ -1786,11 +2401,10 @@ export declare const telephonyCdrContract: {
1786
2401
  updatedAt: Date;
1787
2402
  deletedAt: Date | null;
1788
2403
  extensionId: string | null;
1789
- contactId: string | null;
1790
- callFrom: string;
1791
- callTo: string;
1792
2404
  uniqueCallId: string;
1793
2405
  timeStart: string;
2406
+ callFrom: string;
2407
+ callTo: string;
1794
2408
  callDuration: number | null;
1795
2409
  talkDuration: number | null;
1796
2410
  srcTrunkName: string | null;
@@ -1800,7 +2414,63 @@ export declare const telephonyCdrContract: {
1800
2414
  agentRingTime: number | null;
1801
2415
  uploadId: string | null;
1802
2416
  serialNumber: string | null;
2417
+ callParticipants: {
2418
+ callTo?: {
2419
+ id: string;
2420
+ user: {
2421
+ id: string;
2422
+ address: string | null;
2423
+ name: string;
2424
+ email: string;
2425
+ createdAt: Date;
2426
+ updatedAt: Date;
2427
+ deletedAt: Date | null;
2428
+ emailVerifiedAt: Date | null;
2429
+ password: string;
2430
+ phone: string | null;
2431
+ notificationCount: number | null;
2432
+ } | null;
2433
+ deletedAt: string | null;
2434
+ userId: string;
2435
+ sipServerUrl: string | null;
2436
+ sipUserName: string | null;
2437
+ webphoneLoginUser: string | null;
2438
+ extensionId: string | null;
2439
+ extensionName: string | null;
2440
+ telephonySignature: string | null;
2441
+ createdAt?: string | undefined;
2442
+ updatedAt?: string | undefined;
2443
+ } | null | undefined;
2444
+ callFrom?: {
2445
+ id: string;
2446
+ user: {
2447
+ id: string;
2448
+ address: string | null;
2449
+ name: string;
2450
+ email: string;
2451
+ createdAt: Date;
2452
+ updatedAt: Date;
2453
+ deletedAt: Date | null;
2454
+ emailVerifiedAt: Date | null;
2455
+ password: string;
2456
+ phone: string | null;
2457
+ notificationCount: number | null;
2458
+ } | null;
2459
+ deletedAt: string | null;
2460
+ userId: string;
2461
+ sipServerUrl: string | null;
2462
+ sipUserName: string | null;
2463
+ webphoneLoginUser: string | null;
2464
+ extensionId: string | null;
2465
+ extensionName: string | null;
2466
+ telephonySignature: string | null;
2467
+ createdAt?: string | undefined;
2468
+ updatedAt?: string | undefined;
2469
+ } | null | undefined;
2470
+ } | null;
2471
+ isQueueMissedCall: boolean;
1803
2472
  telephonyQueueId: string | null;
2473
+ contactId: string | null;
1804
2474
  contact?: {
1805
2475
  id: string;
1806
2476
  channel: string | null;
@@ -1908,18 +2578,6 @@ export declare const telephonyCdrContract: {
1908
2578
  queueNumber: string;
1909
2579
  maximumWaitingTime: number;
1910
2580
  } | null | undefined;
1911
- upload?: {
1912
- id: string;
1913
- createdAt: Date;
1914
- updatedAt: Date;
1915
- deletedAt: Date | null;
1916
- fileName: string;
1917
- fileKey: string;
1918
- bucketName: string;
1919
- fileSize: number;
1920
- fileUrl: string | null;
1921
- status?: string | undefined;
1922
- } | null | undefined;
1923
2581
  extension?: {
1924
2582
  id: string;
1925
2583
  createdAt: Date;
@@ -2780,41 +3438,526 @@ export declare const telephonyCdrContract: {
2780
3438
  didNumber: z.ZodNullable<z.ZodString>;
2781
3439
  agentRingTime: z.ZodNullable<z.ZodNumber>;
2782
3440
  uploadId: z.ZodNullable<z.ZodString>;
2783
- upload: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2784
- id: z.ZodString;
2785
- createdAt: z.ZodDate;
2786
- updatedAt: z.ZodDate;
2787
- deletedAt: z.ZodNullable<z.ZodDate>;
2788
- bucketName: z.ZodString;
2789
- fileName: z.ZodString;
2790
- fileSize: z.ZodNumber;
2791
- fileKey: z.ZodString;
2792
- fileUrl: z.ZodNullable<z.ZodString>;
2793
- status: z.ZodOptional<z.ZodString>;
3441
+ serialNumber: z.ZodNullable<z.ZodString>;
3442
+ callParticipants: z.ZodNullable<z.ZodObject<{
3443
+ callTo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3444
+ id: z.ZodString;
3445
+ user: z.ZodNullable<z.ZodObject<Omit<{
3446
+ id: z.ZodString;
3447
+ createdAt: z.ZodDate;
3448
+ updatedAt: z.ZodDate;
3449
+ deletedAt: z.ZodNullable<z.ZodDate>;
3450
+ name: z.ZodString;
3451
+ email: z.ZodString;
3452
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
3453
+ password: z.ZodString;
3454
+ address: z.ZodNullable<z.ZodString>;
3455
+ phone: z.ZodNullable<z.ZodString>;
3456
+ notificationCount: z.ZodNullable<z.ZodNumber>;
3457
+ roles: z.ZodArray<z.ZodObject<{
3458
+ id: z.ZodString;
3459
+ createdAt: z.ZodDate;
3460
+ updatedAt: z.ZodDate;
3461
+ deletedAt: z.ZodNullable<z.ZodDate>;
3462
+ systemName: z.ZodString;
3463
+ displayName: z.ZodString;
3464
+ description: z.ZodNullable<z.ZodString>;
3465
+ permissions: z.ZodArray<z.ZodObject<{
3466
+ id: z.ZodString;
3467
+ createdAt: z.ZodDate;
3468
+ updatedAt: z.ZodDate;
3469
+ deletedAt: z.ZodNullable<z.ZodDate>;
3470
+ systemName: z.ZodString;
3471
+ displayName: z.ZodString;
3472
+ description: z.ZodNullable<z.ZodString>;
3473
+ }, "strip", z.ZodTypeAny, {
3474
+ id: string;
3475
+ description: string | null;
3476
+ createdAt: Date;
3477
+ updatedAt: Date;
3478
+ deletedAt: Date | null;
3479
+ systemName: string;
3480
+ displayName: string;
3481
+ }, {
3482
+ id: string;
3483
+ description: string | null;
3484
+ createdAt: Date;
3485
+ updatedAt: Date;
3486
+ deletedAt: Date | null;
3487
+ systemName: string;
3488
+ displayName: string;
3489
+ }>, "many">;
3490
+ }, "strip", z.ZodTypeAny, {
3491
+ id: string;
3492
+ description: string | null;
3493
+ createdAt: Date;
3494
+ updatedAt: Date;
3495
+ deletedAt: Date | null;
3496
+ systemName: string;
3497
+ displayName: string;
3498
+ permissions: {
3499
+ id: string;
3500
+ description: string | null;
3501
+ createdAt: Date;
3502
+ updatedAt: Date;
3503
+ deletedAt: Date | null;
3504
+ systemName: string;
3505
+ displayName: string;
3506
+ }[];
3507
+ }, {
3508
+ id: string;
3509
+ description: string | null;
3510
+ createdAt: Date;
3511
+ updatedAt: Date;
3512
+ deletedAt: Date | null;
3513
+ systemName: string;
3514
+ displayName: string;
3515
+ permissions: {
3516
+ id: string;
3517
+ description: string | null;
3518
+ createdAt: Date;
3519
+ updatedAt: Date;
3520
+ deletedAt: Date | null;
3521
+ systemName: string;
3522
+ displayName: string;
3523
+ }[];
3524
+ }>, "many">;
3525
+ extension: z.ZodObject<{
3526
+ id: z.ZodString;
3527
+ createdAt: z.ZodDate;
3528
+ updatedAt: z.ZodDate;
3529
+ deletedAt: z.ZodNullable<z.ZodDate>;
3530
+ userId: z.ZodNullable<z.ZodString>;
3531
+ sipServerUrl: z.ZodString;
3532
+ sipUserName: z.ZodString;
3533
+ webphoneLoginUser: z.ZodString;
3534
+ extensionId: z.ZodNullable<z.ZodString>;
3535
+ extensionName: z.ZodString;
3536
+ telephonySignature: z.ZodNullable<z.ZodString>;
3537
+ }, "strip", z.ZodTypeAny, {
3538
+ id: string;
3539
+ createdAt: Date;
3540
+ updatedAt: Date;
3541
+ deletedAt: Date | null;
3542
+ userId: string | null;
3543
+ sipServerUrl: string;
3544
+ sipUserName: string;
3545
+ webphoneLoginUser: string;
3546
+ extensionId: string | null;
3547
+ extensionName: string;
3548
+ telephonySignature: string | null;
3549
+ }, {
3550
+ id: string;
3551
+ createdAt: Date;
3552
+ updatedAt: Date;
3553
+ deletedAt: Date | null;
3554
+ userId: string | null;
3555
+ sipServerUrl: string;
3556
+ sipUserName: string;
3557
+ webphoneLoginUser: string;
3558
+ extensionId: string | null;
3559
+ extensionName: string;
3560
+ telephonySignature: string | null;
3561
+ }>;
3562
+ }, "roles" | "extension">, "strip", z.ZodTypeAny, {
3563
+ id: string;
3564
+ address: string | null;
3565
+ name: string;
3566
+ email: string;
3567
+ createdAt: Date;
3568
+ updatedAt: Date;
3569
+ deletedAt: Date | null;
3570
+ emailVerifiedAt: Date | null;
3571
+ password: string;
3572
+ phone: string | null;
3573
+ notificationCount: number | null;
3574
+ }, {
3575
+ id: string;
3576
+ address: string | null;
3577
+ name: string;
3578
+ email: string;
3579
+ createdAt: Date;
3580
+ updatedAt: Date;
3581
+ deletedAt: Date | null;
3582
+ emailVerifiedAt: Date | null;
3583
+ password: string;
3584
+ phone: string | null;
3585
+ notificationCount: number | null;
3586
+ }>>;
3587
+ userId: z.ZodString;
3588
+ createdAt: z.ZodOptional<z.ZodString>;
3589
+ deletedAt: z.ZodNullable<z.ZodString>;
3590
+ updatedAt: z.ZodOptional<z.ZodString>;
3591
+ extensionId: z.ZodNullable<z.ZodString>;
3592
+ sipUserName: z.ZodNullable<z.ZodString>;
3593
+ sipServerUrl: z.ZodNullable<z.ZodString>;
3594
+ extensionName: z.ZodNullable<z.ZodString>;
3595
+ webphoneLoginUser: z.ZodNullable<z.ZodString>;
3596
+ telephonySignature: z.ZodNullable<z.ZodString>;
3597
+ }, "strip", z.ZodTypeAny, {
3598
+ id: string;
3599
+ user: {
3600
+ id: string;
3601
+ address: string | null;
3602
+ name: string;
3603
+ email: string;
3604
+ createdAt: Date;
3605
+ updatedAt: Date;
3606
+ deletedAt: Date | null;
3607
+ emailVerifiedAt: Date | null;
3608
+ password: string;
3609
+ phone: string | null;
3610
+ notificationCount: number | null;
3611
+ } | null;
3612
+ deletedAt: string | null;
3613
+ userId: string;
3614
+ sipServerUrl: string | null;
3615
+ sipUserName: string | null;
3616
+ webphoneLoginUser: string | null;
3617
+ extensionId: string | null;
3618
+ extensionName: string | null;
3619
+ telephonySignature: string | null;
3620
+ createdAt?: string | undefined;
3621
+ updatedAt?: string | undefined;
3622
+ }, {
3623
+ id: string;
3624
+ user: {
3625
+ id: string;
3626
+ address: string | null;
3627
+ name: string;
3628
+ email: string;
3629
+ createdAt: Date;
3630
+ updatedAt: Date;
3631
+ deletedAt: Date | null;
3632
+ emailVerifiedAt: Date | null;
3633
+ password: string;
3634
+ phone: string | null;
3635
+ notificationCount: number | null;
3636
+ } | null;
3637
+ deletedAt: string | null;
3638
+ userId: string;
3639
+ sipServerUrl: string | null;
3640
+ sipUserName: string | null;
3641
+ webphoneLoginUser: string | null;
3642
+ extensionId: string | null;
3643
+ extensionName: string | null;
3644
+ telephonySignature: string | null;
3645
+ createdAt?: string | undefined;
3646
+ updatedAt?: string | undefined;
3647
+ }>>>;
3648
+ callFrom: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3649
+ id: z.ZodString;
3650
+ user: z.ZodNullable<z.ZodObject<Omit<{
3651
+ id: z.ZodString;
3652
+ createdAt: z.ZodDate;
3653
+ updatedAt: z.ZodDate;
3654
+ deletedAt: z.ZodNullable<z.ZodDate>;
3655
+ name: z.ZodString;
3656
+ email: z.ZodString;
3657
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
3658
+ password: z.ZodString;
3659
+ address: z.ZodNullable<z.ZodString>;
3660
+ phone: z.ZodNullable<z.ZodString>;
3661
+ notificationCount: z.ZodNullable<z.ZodNumber>;
3662
+ roles: z.ZodArray<z.ZodObject<{
3663
+ id: z.ZodString;
3664
+ createdAt: z.ZodDate;
3665
+ updatedAt: z.ZodDate;
3666
+ deletedAt: z.ZodNullable<z.ZodDate>;
3667
+ systemName: z.ZodString;
3668
+ displayName: z.ZodString;
3669
+ description: z.ZodNullable<z.ZodString>;
3670
+ permissions: z.ZodArray<z.ZodObject<{
3671
+ id: z.ZodString;
3672
+ createdAt: z.ZodDate;
3673
+ updatedAt: z.ZodDate;
3674
+ deletedAt: z.ZodNullable<z.ZodDate>;
3675
+ systemName: z.ZodString;
3676
+ displayName: z.ZodString;
3677
+ description: z.ZodNullable<z.ZodString>;
3678
+ }, "strip", z.ZodTypeAny, {
3679
+ id: string;
3680
+ description: string | null;
3681
+ createdAt: Date;
3682
+ updatedAt: Date;
3683
+ deletedAt: Date | null;
3684
+ systemName: string;
3685
+ displayName: string;
3686
+ }, {
3687
+ id: string;
3688
+ description: string | null;
3689
+ createdAt: Date;
3690
+ updatedAt: Date;
3691
+ deletedAt: Date | null;
3692
+ systemName: string;
3693
+ displayName: string;
3694
+ }>, "many">;
3695
+ }, "strip", z.ZodTypeAny, {
3696
+ id: string;
3697
+ description: string | null;
3698
+ createdAt: Date;
3699
+ updatedAt: Date;
3700
+ deletedAt: Date | null;
3701
+ systemName: string;
3702
+ displayName: string;
3703
+ permissions: {
3704
+ id: string;
3705
+ description: string | null;
3706
+ createdAt: Date;
3707
+ updatedAt: Date;
3708
+ deletedAt: Date | null;
3709
+ systemName: string;
3710
+ displayName: string;
3711
+ }[];
3712
+ }, {
3713
+ id: string;
3714
+ description: string | null;
3715
+ createdAt: Date;
3716
+ updatedAt: Date;
3717
+ deletedAt: Date | null;
3718
+ systemName: string;
3719
+ displayName: string;
3720
+ permissions: {
3721
+ id: string;
3722
+ description: string | null;
3723
+ createdAt: Date;
3724
+ updatedAt: Date;
3725
+ deletedAt: Date | null;
3726
+ systemName: string;
3727
+ displayName: string;
3728
+ }[];
3729
+ }>, "many">;
3730
+ extension: z.ZodObject<{
3731
+ id: z.ZodString;
3732
+ createdAt: z.ZodDate;
3733
+ updatedAt: z.ZodDate;
3734
+ deletedAt: z.ZodNullable<z.ZodDate>;
3735
+ userId: z.ZodNullable<z.ZodString>;
3736
+ sipServerUrl: z.ZodString;
3737
+ sipUserName: z.ZodString;
3738
+ webphoneLoginUser: z.ZodString;
3739
+ extensionId: z.ZodNullable<z.ZodString>;
3740
+ extensionName: z.ZodString;
3741
+ telephonySignature: z.ZodNullable<z.ZodString>;
3742
+ }, "strip", z.ZodTypeAny, {
3743
+ id: string;
3744
+ createdAt: Date;
3745
+ updatedAt: Date;
3746
+ deletedAt: Date | null;
3747
+ userId: string | null;
3748
+ sipServerUrl: string;
3749
+ sipUserName: string;
3750
+ webphoneLoginUser: string;
3751
+ extensionId: string | null;
3752
+ extensionName: string;
3753
+ telephonySignature: string | null;
3754
+ }, {
3755
+ id: string;
3756
+ createdAt: Date;
3757
+ updatedAt: Date;
3758
+ deletedAt: Date | null;
3759
+ userId: string | null;
3760
+ sipServerUrl: string;
3761
+ sipUserName: string;
3762
+ webphoneLoginUser: string;
3763
+ extensionId: string | null;
3764
+ extensionName: string;
3765
+ telephonySignature: string | null;
3766
+ }>;
3767
+ }, "roles" | "extension">, "strip", z.ZodTypeAny, {
3768
+ id: string;
3769
+ address: string | null;
3770
+ name: string;
3771
+ email: string;
3772
+ createdAt: Date;
3773
+ updatedAt: Date;
3774
+ deletedAt: Date | null;
3775
+ emailVerifiedAt: Date | null;
3776
+ password: string;
3777
+ phone: string | null;
3778
+ notificationCount: number | null;
3779
+ }, {
3780
+ id: string;
3781
+ address: string | null;
3782
+ name: string;
3783
+ email: string;
3784
+ createdAt: Date;
3785
+ updatedAt: Date;
3786
+ deletedAt: Date | null;
3787
+ emailVerifiedAt: Date | null;
3788
+ password: string;
3789
+ phone: string | null;
3790
+ notificationCount: number | null;
3791
+ }>>;
3792
+ userId: z.ZodString;
3793
+ createdAt: z.ZodOptional<z.ZodString>;
3794
+ deletedAt: z.ZodNullable<z.ZodString>;
3795
+ updatedAt: z.ZodOptional<z.ZodString>;
3796
+ extensionId: z.ZodNullable<z.ZodString>;
3797
+ sipUserName: z.ZodNullable<z.ZodString>;
3798
+ sipServerUrl: z.ZodNullable<z.ZodString>;
3799
+ extensionName: z.ZodNullable<z.ZodString>;
3800
+ webphoneLoginUser: z.ZodNullable<z.ZodString>;
3801
+ telephonySignature: z.ZodNullable<z.ZodString>;
3802
+ }, "strip", z.ZodTypeAny, {
3803
+ id: string;
3804
+ user: {
3805
+ id: string;
3806
+ address: string | null;
3807
+ name: string;
3808
+ email: string;
3809
+ createdAt: Date;
3810
+ updatedAt: Date;
3811
+ deletedAt: Date | null;
3812
+ emailVerifiedAt: Date | null;
3813
+ password: string;
3814
+ phone: string | null;
3815
+ notificationCount: number | null;
3816
+ } | null;
3817
+ deletedAt: string | null;
3818
+ userId: string;
3819
+ sipServerUrl: string | null;
3820
+ sipUserName: string | null;
3821
+ webphoneLoginUser: string | null;
3822
+ extensionId: string | null;
3823
+ extensionName: string | null;
3824
+ telephonySignature: string | null;
3825
+ createdAt?: string | undefined;
3826
+ updatedAt?: string | undefined;
3827
+ }, {
3828
+ id: string;
3829
+ user: {
3830
+ id: string;
3831
+ address: string | null;
3832
+ name: string;
3833
+ email: string;
3834
+ createdAt: Date;
3835
+ updatedAt: Date;
3836
+ deletedAt: Date | null;
3837
+ emailVerifiedAt: Date | null;
3838
+ password: string;
3839
+ phone: string | null;
3840
+ notificationCount: number | null;
3841
+ } | null;
3842
+ deletedAt: string | null;
3843
+ userId: string;
3844
+ sipServerUrl: string | null;
3845
+ sipUserName: string | null;
3846
+ webphoneLoginUser: string | null;
3847
+ extensionId: string | null;
3848
+ extensionName: string | null;
3849
+ telephonySignature: string | null;
3850
+ createdAt?: string | undefined;
3851
+ updatedAt?: string | undefined;
3852
+ }>>>;
2794
3853
  }, "strip", z.ZodTypeAny, {
2795
- id: string;
2796
- createdAt: Date;
2797
- updatedAt: Date;
2798
- deletedAt: Date | null;
2799
- fileName: string;
2800
- fileKey: string;
2801
- bucketName: string;
2802
- fileSize: number;
2803
- fileUrl: string | null;
2804
- status?: string | undefined;
3854
+ callTo?: {
3855
+ id: string;
3856
+ user: {
3857
+ id: string;
3858
+ address: string | null;
3859
+ name: string;
3860
+ email: string;
3861
+ createdAt: Date;
3862
+ updatedAt: Date;
3863
+ deletedAt: Date | null;
3864
+ emailVerifiedAt: Date | null;
3865
+ password: string;
3866
+ phone: string | null;
3867
+ notificationCount: number | null;
3868
+ } | null;
3869
+ deletedAt: string | null;
3870
+ userId: string;
3871
+ sipServerUrl: string | null;
3872
+ sipUserName: string | null;
3873
+ webphoneLoginUser: string | null;
3874
+ extensionId: string | null;
3875
+ extensionName: string | null;
3876
+ telephonySignature: string | null;
3877
+ createdAt?: string | undefined;
3878
+ updatedAt?: string | undefined;
3879
+ } | null | undefined;
3880
+ callFrom?: {
3881
+ id: string;
3882
+ user: {
3883
+ id: string;
3884
+ address: string | null;
3885
+ name: string;
3886
+ email: string;
3887
+ createdAt: Date;
3888
+ updatedAt: Date;
3889
+ deletedAt: Date | null;
3890
+ emailVerifiedAt: Date | null;
3891
+ password: string;
3892
+ phone: string | null;
3893
+ notificationCount: number | null;
3894
+ } | null;
3895
+ deletedAt: string | null;
3896
+ userId: string;
3897
+ sipServerUrl: string | null;
3898
+ sipUserName: string | null;
3899
+ webphoneLoginUser: string | null;
3900
+ extensionId: string | null;
3901
+ extensionName: string | null;
3902
+ telephonySignature: string | null;
3903
+ createdAt?: string | undefined;
3904
+ updatedAt?: string | undefined;
3905
+ } | null | undefined;
2805
3906
  }, {
2806
- id: string;
2807
- createdAt: Date;
2808
- updatedAt: Date;
2809
- deletedAt: Date | null;
2810
- fileName: string;
2811
- fileKey: string;
2812
- bucketName: string;
2813
- fileSize: number;
2814
- fileUrl: string | null;
2815
- status?: string | undefined;
2816
- }>>>;
2817
- serialNumber: z.ZodNullable<z.ZodString>;
3907
+ callTo?: {
3908
+ id: string;
3909
+ user: {
3910
+ id: string;
3911
+ address: string | null;
3912
+ name: string;
3913
+ email: string;
3914
+ createdAt: Date;
3915
+ updatedAt: Date;
3916
+ deletedAt: Date | null;
3917
+ emailVerifiedAt: Date | null;
3918
+ password: string;
3919
+ phone: string | null;
3920
+ notificationCount: number | null;
3921
+ } | null;
3922
+ deletedAt: string | null;
3923
+ userId: string;
3924
+ sipServerUrl: string | null;
3925
+ sipUserName: string | null;
3926
+ webphoneLoginUser: string | null;
3927
+ extensionId: string | null;
3928
+ extensionName: string | null;
3929
+ telephonySignature: string | null;
3930
+ createdAt?: string | undefined;
3931
+ updatedAt?: string | undefined;
3932
+ } | null | undefined;
3933
+ callFrom?: {
3934
+ id: string;
3935
+ user: {
3936
+ id: string;
3937
+ address: string | null;
3938
+ name: string;
3939
+ email: string;
3940
+ createdAt: Date;
3941
+ updatedAt: Date;
3942
+ deletedAt: Date | null;
3943
+ emailVerifiedAt: Date | null;
3944
+ password: string;
3945
+ phone: string | null;
3946
+ notificationCount: number | null;
3947
+ } | null;
3948
+ deletedAt: string | null;
3949
+ userId: string;
3950
+ sipServerUrl: string | null;
3951
+ sipUserName: string | null;
3952
+ webphoneLoginUser: string | null;
3953
+ extensionId: string | null;
3954
+ extensionName: string | null;
3955
+ telephonySignature: string | null;
3956
+ createdAt?: string | undefined;
3957
+ updatedAt?: string | undefined;
3958
+ } | null | undefined;
3959
+ }>>;
3960
+ isQueueMissedCall: z.ZodBoolean;
2818
3961
  extensionId: z.ZodNullable<z.ZodString>;
2819
3962
  extension: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2820
3963
  id: z.ZodString;
@@ -3156,11 +4299,10 @@ export declare const telephonyCdrContract: {
3156
4299
  updatedAt: Date;
3157
4300
  deletedAt: Date | null;
3158
4301
  extensionId: string | null;
3159
- contactId: string | null;
3160
- callFrom: string;
3161
- callTo: string;
3162
4302
  uniqueCallId: string;
3163
4303
  timeStart: string;
4304
+ callFrom: string;
4305
+ callTo: string;
3164
4306
  callDuration: number | null;
3165
4307
  talkDuration: number | null;
3166
4308
  srcTrunkName: string | null;
@@ -3170,7 +4312,63 @@ export declare const telephonyCdrContract: {
3170
4312
  agentRingTime: number | null;
3171
4313
  uploadId: string | null;
3172
4314
  serialNumber: string | null;
4315
+ callParticipants: {
4316
+ callTo?: {
4317
+ id: string;
4318
+ user: {
4319
+ id: string;
4320
+ address: string | null;
4321
+ name: string;
4322
+ email: string;
4323
+ createdAt: Date;
4324
+ updatedAt: Date;
4325
+ deletedAt: Date | null;
4326
+ emailVerifiedAt: Date | null;
4327
+ password: string;
4328
+ phone: string | null;
4329
+ notificationCount: number | null;
4330
+ } | null;
4331
+ deletedAt: string | null;
4332
+ userId: string;
4333
+ sipServerUrl: string | null;
4334
+ sipUserName: string | null;
4335
+ webphoneLoginUser: string | null;
4336
+ extensionId: string | null;
4337
+ extensionName: string | null;
4338
+ telephonySignature: string | null;
4339
+ createdAt?: string | undefined;
4340
+ updatedAt?: string | undefined;
4341
+ } | null | undefined;
4342
+ callFrom?: {
4343
+ id: string;
4344
+ user: {
4345
+ id: string;
4346
+ address: string | null;
4347
+ name: string;
4348
+ email: string;
4349
+ createdAt: Date;
4350
+ updatedAt: Date;
4351
+ deletedAt: Date | null;
4352
+ emailVerifiedAt: Date | null;
4353
+ password: string;
4354
+ phone: string | null;
4355
+ notificationCount: number | null;
4356
+ } | null;
4357
+ deletedAt: string | null;
4358
+ userId: string;
4359
+ sipServerUrl: string | null;
4360
+ sipUserName: string | null;
4361
+ webphoneLoginUser: string | null;
4362
+ extensionId: string | null;
4363
+ extensionName: string | null;
4364
+ telephonySignature: string | null;
4365
+ createdAt?: string | undefined;
4366
+ updatedAt?: string | undefined;
4367
+ } | null | undefined;
4368
+ } | null;
4369
+ isQueueMissedCall: boolean;
3173
4370
  telephonyQueueId: string | null;
4371
+ contactId: string | null;
3174
4372
  contact?: {
3175
4373
  id: string;
3176
4374
  channel: string | null;
@@ -3278,18 +4476,6 @@ export declare const telephonyCdrContract: {
3278
4476
  queueNumber: string;
3279
4477
  maximumWaitingTime: number;
3280
4478
  } | null | undefined;
3281
- upload?: {
3282
- id: string;
3283
- createdAt: Date;
3284
- updatedAt: Date;
3285
- deletedAt: Date | null;
3286
- fileName: string;
3287
- fileKey: string;
3288
- bucketName: string;
3289
- fileSize: number;
3290
- fileUrl: string | null;
3291
- status?: string | undefined;
3292
- } | null | undefined;
3293
4479
  extension?: {
3294
4480
  id: string;
3295
4481
  createdAt: Date;
@@ -3356,11 +4542,10 @@ export declare const telephonyCdrContract: {
3356
4542
  updatedAt: Date;
3357
4543
  deletedAt: Date | null;
3358
4544
  extensionId: string | null;
3359
- contactId: string | null;
3360
- callFrom: string;
3361
- callTo: string;
3362
4545
  uniqueCallId: string;
3363
4546
  timeStart: string;
4547
+ callFrom: string;
4548
+ callTo: string;
3364
4549
  callDuration: number | null;
3365
4550
  talkDuration: number | null;
3366
4551
  srcTrunkName: string | null;
@@ -3370,7 +4555,63 @@ export declare const telephonyCdrContract: {
3370
4555
  agentRingTime: number | null;
3371
4556
  uploadId: string | null;
3372
4557
  serialNumber: string | null;
4558
+ callParticipants: {
4559
+ callTo?: {
4560
+ id: string;
4561
+ user: {
4562
+ id: string;
4563
+ address: string | null;
4564
+ name: string;
4565
+ email: string;
4566
+ createdAt: Date;
4567
+ updatedAt: Date;
4568
+ deletedAt: Date | null;
4569
+ emailVerifiedAt: Date | null;
4570
+ password: string;
4571
+ phone: string | null;
4572
+ notificationCount: number | null;
4573
+ } | null;
4574
+ deletedAt: string | null;
4575
+ userId: string;
4576
+ sipServerUrl: string | null;
4577
+ sipUserName: string | null;
4578
+ webphoneLoginUser: string | null;
4579
+ extensionId: string | null;
4580
+ extensionName: string | null;
4581
+ telephonySignature: string | null;
4582
+ createdAt?: string | undefined;
4583
+ updatedAt?: string | undefined;
4584
+ } | null | undefined;
4585
+ callFrom?: {
4586
+ id: string;
4587
+ user: {
4588
+ id: string;
4589
+ address: string | null;
4590
+ name: string;
4591
+ email: string;
4592
+ createdAt: Date;
4593
+ updatedAt: Date;
4594
+ deletedAt: Date | null;
4595
+ emailVerifiedAt: Date | null;
4596
+ password: string;
4597
+ phone: string | null;
4598
+ notificationCount: number | null;
4599
+ } | null;
4600
+ deletedAt: string | null;
4601
+ userId: string;
4602
+ sipServerUrl: string | null;
4603
+ sipUserName: string | null;
4604
+ webphoneLoginUser: string | null;
4605
+ extensionId: string | null;
4606
+ extensionName: string | null;
4607
+ telephonySignature: string | null;
4608
+ createdAt?: string | undefined;
4609
+ updatedAt?: string | undefined;
4610
+ } | null | undefined;
4611
+ } | null;
4612
+ isQueueMissedCall: boolean;
3373
4613
  telephonyQueueId: string | null;
4614
+ contactId: string | null;
3374
4615
  contact?: {
3375
4616
  id: string;
3376
4617
  channel: string | null;
@@ -3478,18 +4719,6 @@ export declare const telephonyCdrContract: {
3478
4719
  queueNumber: string;
3479
4720
  maximumWaitingTime: number;
3480
4721
  } | null | undefined;
3481
- upload?: {
3482
- id: string;
3483
- createdAt: Date;
3484
- updatedAt: Date;
3485
- deletedAt: Date | null;
3486
- fileName: string;
3487
- fileKey: string;
3488
- bucketName: string;
3489
- fileSize: number;
3490
- fileUrl: string | null;
3491
- status?: string | undefined;
3492
- } | null | undefined;
3493
4722
  extension?: {
3494
4723
  id: string;
3495
4724
  createdAt: Date;
@@ -3562,11 +4791,10 @@ export declare const telephonyCdrContract: {
3562
4791
  updatedAt: Date;
3563
4792
  deletedAt: Date | null;
3564
4793
  extensionId: string | null;
3565
- contactId: string | null;
3566
- callFrom: string;
3567
- callTo: string;
3568
4794
  uniqueCallId: string;
3569
4795
  timeStart: string;
4796
+ callFrom: string;
4797
+ callTo: string;
3570
4798
  callDuration: number | null;
3571
4799
  talkDuration: number | null;
3572
4800
  srcTrunkName: string | null;
@@ -3576,7 +4804,63 @@ export declare const telephonyCdrContract: {
3576
4804
  agentRingTime: number | null;
3577
4805
  uploadId: string | null;
3578
4806
  serialNumber: string | null;
4807
+ callParticipants: {
4808
+ callTo?: {
4809
+ id: string;
4810
+ user: {
4811
+ id: string;
4812
+ address: string | null;
4813
+ name: string;
4814
+ email: string;
4815
+ createdAt: Date;
4816
+ updatedAt: Date;
4817
+ deletedAt: Date | null;
4818
+ emailVerifiedAt: Date | null;
4819
+ password: string;
4820
+ phone: string | null;
4821
+ notificationCount: number | null;
4822
+ } | null;
4823
+ deletedAt: string | null;
4824
+ userId: string;
4825
+ sipServerUrl: string | null;
4826
+ sipUserName: string | null;
4827
+ webphoneLoginUser: string | null;
4828
+ extensionId: string | null;
4829
+ extensionName: string | null;
4830
+ telephonySignature: string | null;
4831
+ createdAt?: string | undefined;
4832
+ updatedAt?: string | undefined;
4833
+ } | null | undefined;
4834
+ callFrom?: {
4835
+ id: string;
4836
+ user: {
4837
+ id: string;
4838
+ address: string | null;
4839
+ name: string;
4840
+ email: string;
4841
+ createdAt: Date;
4842
+ updatedAt: Date;
4843
+ deletedAt: Date | null;
4844
+ emailVerifiedAt: Date | null;
4845
+ password: string;
4846
+ phone: string | null;
4847
+ notificationCount: number | null;
4848
+ } | null;
4849
+ deletedAt: string | null;
4850
+ userId: string;
4851
+ sipServerUrl: string | null;
4852
+ sipUserName: string | null;
4853
+ webphoneLoginUser: string | null;
4854
+ extensionId: string | null;
4855
+ extensionName: string | null;
4856
+ telephonySignature: string | null;
4857
+ createdAt?: string | undefined;
4858
+ updatedAt?: string | undefined;
4859
+ } | null | undefined;
4860
+ } | null;
4861
+ isQueueMissedCall: boolean;
3579
4862
  telephonyQueueId: string | null;
4863
+ contactId: string | null;
3580
4864
  contact?: {
3581
4865
  id: string;
3582
4866
  channel: string | null;
@@ -3684,18 +4968,6 @@ export declare const telephonyCdrContract: {
3684
4968
  queueNumber: string;
3685
4969
  maximumWaitingTime: number;
3686
4970
  } | null | undefined;
3687
- upload?: {
3688
- id: string;
3689
- createdAt: Date;
3690
- updatedAt: Date;
3691
- deletedAt: Date | null;
3692
- fileName: string;
3693
- fileKey: string;
3694
- bucketName: string;
3695
- fileSize: number;
3696
- fileUrl: string | null;
3697
- status?: string | undefined;
3698
- } | null | undefined;
3699
4971
  extension?: {
3700
4972
  id: string;
3701
4973
  createdAt: Date;
@@ -3768,11 +5040,10 @@ export declare const telephonyCdrContract: {
3768
5040
  updatedAt: Date;
3769
5041
  deletedAt: Date | null;
3770
5042
  extensionId: string | null;
3771
- contactId: string | null;
3772
- callFrom: string;
3773
- callTo: string;
3774
5043
  uniqueCallId: string;
3775
5044
  timeStart: string;
5045
+ callFrom: string;
5046
+ callTo: string;
3776
5047
  callDuration: number | null;
3777
5048
  talkDuration: number | null;
3778
5049
  srcTrunkName: string | null;
@@ -3782,7 +5053,63 @@ export declare const telephonyCdrContract: {
3782
5053
  agentRingTime: number | null;
3783
5054
  uploadId: string | null;
3784
5055
  serialNumber: string | null;
5056
+ callParticipants: {
5057
+ callTo?: {
5058
+ id: string;
5059
+ user: {
5060
+ id: string;
5061
+ address: string | null;
5062
+ name: string;
5063
+ email: string;
5064
+ createdAt: Date;
5065
+ updatedAt: Date;
5066
+ deletedAt: Date | null;
5067
+ emailVerifiedAt: Date | null;
5068
+ password: string;
5069
+ phone: string | null;
5070
+ notificationCount: number | null;
5071
+ } | null;
5072
+ deletedAt: string | null;
5073
+ userId: string;
5074
+ sipServerUrl: string | null;
5075
+ sipUserName: string | null;
5076
+ webphoneLoginUser: string | null;
5077
+ extensionId: string | null;
5078
+ extensionName: string | null;
5079
+ telephonySignature: string | null;
5080
+ createdAt?: string | undefined;
5081
+ updatedAt?: string | undefined;
5082
+ } | null | undefined;
5083
+ callFrom?: {
5084
+ id: string;
5085
+ user: {
5086
+ id: string;
5087
+ address: string | null;
5088
+ name: string;
5089
+ email: string;
5090
+ createdAt: Date;
5091
+ updatedAt: Date;
5092
+ deletedAt: Date | null;
5093
+ emailVerifiedAt: Date | null;
5094
+ password: string;
5095
+ phone: string | null;
5096
+ notificationCount: number | null;
5097
+ } | null;
5098
+ deletedAt: string | null;
5099
+ userId: string;
5100
+ sipServerUrl: string | null;
5101
+ sipUserName: string | null;
5102
+ webphoneLoginUser: string | null;
5103
+ extensionId: string | null;
5104
+ extensionName: string | null;
5105
+ telephonySignature: string | null;
5106
+ createdAt?: string | undefined;
5107
+ updatedAt?: string | undefined;
5108
+ } | null | undefined;
5109
+ } | null;
5110
+ isQueueMissedCall: boolean;
3785
5111
  telephonyQueueId: string | null;
5112
+ contactId: string | null;
3786
5113
  contact?: {
3787
5114
  id: string;
3788
5115
  channel: string | null;
@@ -3890,18 +5217,6 @@ export declare const telephonyCdrContract: {
3890
5217
  queueNumber: string;
3891
5218
  maximumWaitingTime: number;
3892
5219
  } | null | undefined;
3893
- upload?: {
3894
- id: string;
3895
- createdAt: Date;
3896
- updatedAt: Date;
3897
- deletedAt: Date | null;
3898
- fileName: string;
3899
- fileKey: string;
3900
- bucketName: string;
3901
- fileSize: number;
3902
- fileUrl: string | null;
3903
- status?: string | undefined;
3904
- } | null | undefined;
3905
5220
  extension?: {
3906
5221
  id: string;
3907
5222
  createdAt: Date;
@@ -4527,16 +5842,112 @@ export declare const telephonyCdrContract: {
4527
5842
  createdAt: Date;
4528
5843
  updatedAt: Date;
4529
5844
  deletedAt: Date | null;
4530
- entityId: string;
4531
- entityType: {
4532
- id: string;
4533
- description: string | null;
4534
- createdAt: Date;
4535
- updatedAt: Date;
4536
- deletedAt: Date | null;
4537
- entity: string;
4538
- };
4539
- }, {
5845
+ entityId: string;
5846
+ entityType: {
5847
+ id: string;
5848
+ description: string | null;
5849
+ createdAt: Date;
5850
+ updatedAt: Date;
5851
+ deletedAt: Date | null;
5852
+ entity: string;
5853
+ };
5854
+ }, {
5855
+ id: string;
5856
+ description: string;
5857
+ createdAt: Date;
5858
+ updatedAt: Date;
5859
+ deletedAt: Date | null;
5860
+ entityId: string;
5861
+ entityType: {
5862
+ id: string;
5863
+ description: string | null;
5864
+ createdAt: Date;
5865
+ updatedAt: Date;
5866
+ deletedAt: Date | null;
5867
+ entity: string;
5868
+ };
5869
+ }>, "many">>;
5870
+ }, "strip", z.ZodTypeAny, {
5871
+ id: string;
5872
+ channel: string | null;
5873
+ address: string | null;
5874
+ name: string;
5875
+ createdAt: Date;
5876
+ updatedAt: Date;
5877
+ deletedAt: Date | null;
5878
+ customFields: {
5879
+ id: string;
5880
+ createdAt: Date;
5881
+ updatedAt: Date;
5882
+ deletedAt: Date | null;
5883
+ attribute: {
5884
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
5885
+ id: string;
5886
+ position: number;
5887
+ createdAt: Date;
5888
+ updatedAt: Date;
5889
+ deletedAt: Date | null;
5890
+ systemName: string;
5891
+ displayName: string;
5892
+ isDefault: boolean;
5893
+ isArchived: boolean;
5894
+ isRequired: boolean;
5895
+ isUnique: boolean;
5896
+ };
5897
+ textValue: string | null;
5898
+ booleanValue: boolean | null;
5899
+ numberValue: number | null;
5900
+ dateValue: Date | null;
5901
+ uploads: {
5902
+ id: string;
5903
+ createdAt: Date;
5904
+ updatedAt: Date;
5905
+ deletedAt: Date | null;
5906
+ fileName: string;
5907
+ fileKey: string;
5908
+ bucketName: string;
5909
+ fileSize: number;
5910
+ fileUrl: string | null;
5911
+ status?: string | undefined;
5912
+ }[];
5913
+ }[];
5914
+ company: {
5915
+ id: string;
5916
+ createdAt: Date;
5917
+ updatedAt: Date;
5918
+ deletedAt: Date | null;
5919
+ address?: string | null | undefined;
5920
+ name?: string | undefined;
5921
+ phone?: string | null | undefined;
5922
+ industry?: string | null | undefined;
5923
+ } | null;
5924
+ notes: string | null;
5925
+ contactProfile: string | null;
5926
+ socialProfileUrl: string | null;
5927
+ tags: {
5928
+ id: string;
5929
+ name: string;
5930
+ createdAt: Date;
5931
+ updatedAt: Date;
5932
+ deletedAt: Date | null;
5933
+ }[];
5934
+ contactEmails: {
5935
+ id: string;
5936
+ isPrimary: boolean;
5937
+ email: string;
5938
+ createdAt: Date;
5939
+ updatedAt: Date;
5940
+ deletedAt: Date | null;
5941
+ }[];
5942
+ contactPhones: {
5943
+ id: string;
5944
+ isPrimary: boolean;
5945
+ createdAt: Date;
5946
+ updatedAt: Date;
5947
+ deletedAt: Date | null;
5948
+ phone: string;
5949
+ }[];
5950
+ activityLogs?: {
4540
5951
  id: string;
4541
5952
  description: string;
4542
5953
  createdAt: Date;
@@ -4551,8 +5962,8 @@ export declare const telephonyCdrContract: {
4551
5962
  deletedAt: Date | null;
4552
5963
  entity: string;
4553
5964
  };
4554
- }>, "many">>;
4555
- }, "strip", z.ZodTypeAny, {
5965
+ }[] | undefined;
5966
+ }, {
4556
5967
  id: string;
4557
5968
  channel: string | null;
4558
5969
  address: string | null;
@@ -4648,173 +6059,562 @@ export declare const telephonyCdrContract: {
4648
6059
  entity: string;
4649
6060
  };
4650
6061
  }[] | undefined;
6062
+ }>>;
6063
+ telephonyQueue: z.ZodNullable<z.ZodOptional<z.ZodObject<{
6064
+ id: z.ZodString;
6065
+ createdAt: z.ZodDate;
6066
+ updatedAt: z.ZodDate;
6067
+ deletedAt: z.ZodNullable<z.ZodDate>;
6068
+ queueId: z.ZodNumber;
6069
+ queueName: z.ZodString;
6070
+ queueNumber: z.ZodString;
6071
+ maximumWaitingTime: z.ZodNumber;
6072
+ }, "strip", z.ZodTypeAny, {
6073
+ id: string;
6074
+ createdAt: Date;
6075
+ updatedAt: Date;
6076
+ deletedAt: Date | null;
6077
+ queueId: number;
6078
+ queueName: string;
6079
+ queueNumber: string;
6080
+ maximumWaitingTime: number;
4651
6081
  }, {
4652
6082
  id: string;
4653
- channel: string | null;
4654
- address: string | null;
4655
- name: string;
4656
6083
  createdAt: Date;
4657
6084
  updatedAt: Date;
4658
6085
  deletedAt: Date | null;
4659
- customFields: {
6086
+ queueId: number;
6087
+ queueName: string;
6088
+ queueNumber: string;
6089
+ maximumWaitingTime: number;
6090
+ }>>>;
6091
+ pinCode: z.ZodNullable<z.ZodString>;
6092
+ status: z.ZodString;
6093
+ type: z.ZodString;
6094
+ recording: z.ZodNullable<z.ZodString>;
6095
+ didNumber: z.ZodNullable<z.ZodString>;
6096
+ agentRingTime: z.ZodNullable<z.ZodNumber>;
6097
+ uploadId: z.ZodNullable<z.ZodString>;
6098
+ serialNumber: z.ZodNullable<z.ZodString>;
6099
+ callParticipants: z.ZodNullable<z.ZodObject<{
6100
+ callTo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6101
+ id: z.ZodString;
6102
+ user: z.ZodNullable<z.ZodObject<Omit<{
6103
+ id: z.ZodString;
6104
+ createdAt: z.ZodDate;
6105
+ updatedAt: z.ZodDate;
6106
+ deletedAt: z.ZodNullable<z.ZodDate>;
6107
+ name: z.ZodString;
6108
+ email: z.ZodString;
6109
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
6110
+ password: z.ZodString;
6111
+ address: z.ZodNullable<z.ZodString>;
6112
+ phone: z.ZodNullable<z.ZodString>;
6113
+ notificationCount: z.ZodNullable<z.ZodNumber>;
6114
+ roles: z.ZodArray<z.ZodObject<{
6115
+ id: z.ZodString;
6116
+ createdAt: z.ZodDate;
6117
+ updatedAt: z.ZodDate;
6118
+ deletedAt: z.ZodNullable<z.ZodDate>;
6119
+ systemName: z.ZodString;
6120
+ displayName: z.ZodString;
6121
+ description: z.ZodNullable<z.ZodString>;
6122
+ permissions: z.ZodArray<z.ZodObject<{
6123
+ id: z.ZodString;
6124
+ createdAt: z.ZodDate;
6125
+ updatedAt: z.ZodDate;
6126
+ deletedAt: z.ZodNullable<z.ZodDate>;
6127
+ systemName: z.ZodString;
6128
+ displayName: z.ZodString;
6129
+ description: z.ZodNullable<z.ZodString>;
6130
+ }, "strip", z.ZodTypeAny, {
6131
+ id: string;
6132
+ description: string | null;
6133
+ createdAt: Date;
6134
+ updatedAt: Date;
6135
+ deletedAt: Date | null;
6136
+ systemName: string;
6137
+ displayName: string;
6138
+ }, {
6139
+ id: string;
6140
+ description: string | null;
6141
+ createdAt: Date;
6142
+ updatedAt: Date;
6143
+ deletedAt: Date | null;
6144
+ systemName: string;
6145
+ displayName: string;
6146
+ }>, "many">;
6147
+ }, "strip", z.ZodTypeAny, {
6148
+ id: string;
6149
+ description: string | null;
6150
+ createdAt: Date;
6151
+ updatedAt: Date;
6152
+ deletedAt: Date | null;
6153
+ systemName: string;
6154
+ displayName: string;
6155
+ permissions: {
6156
+ id: string;
6157
+ description: string | null;
6158
+ createdAt: Date;
6159
+ updatedAt: Date;
6160
+ deletedAt: Date | null;
6161
+ systemName: string;
6162
+ displayName: string;
6163
+ }[];
6164
+ }, {
6165
+ id: string;
6166
+ description: string | null;
6167
+ createdAt: Date;
6168
+ updatedAt: Date;
6169
+ deletedAt: Date | null;
6170
+ systemName: string;
6171
+ displayName: string;
6172
+ permissions: {
6173
+ id: string;
6174
+ description: string | null;
6175
+ createdAt: Date;
6176
+ updatedAt: Date;
6177
+ deletedAt: Date | null;
6178
+ systemName: string;
6179
+ displayName: string;
6180
+ }[];
6181
+ }>, "many">;
6182
+ extension: z.ZodObject<{
6183
+ id: z.ZodString;
6184
+ createdAt: z.ZodDate;
6185
+ updatedAt: z.ZodDate;
6186
+ deletedAt: z.ZodNullable<z.ZodDate>;
6187
+ userId: z.ZodNullable<z.ZodString>;
6188
+ sipServerUrl: z.ZodString;
6189
+ sipUserName: z.ZodString;
6190
+ webphoneLoginUser: z.ZodString;
6191
+ extensionId: z.ZodNullable<z.ZodString>;
6192
+ extensionName: z.ZodString;
6193
+ telephonySignature: z.ZodNullable<z.ZodString>;
6194
+ }, "strip", z.ZodTypeAny, {
6195
+ id: string;
6196
+ createdAt: Date;
6197
+ updatedAt: Date;
6198
+ deletedAt: Date | null;
6199
+ userId: string | null;
6200
+ sipServerUrl: string;
6201
+ sipUserName: string;
6202
+ webphoneLoginUser: string;
6203
+ extensionId: string | null;
6204
+ extensionName: string;
6205
+ telephonySignature: string | null;
6206
+ }, {
6207
+ id: string;
6208
+ createdAt: Date;
6209
+ updatedAt: Date;
6210
+ deletedAt: Date | null;
6211
+ userId: string | null;
6212
+ sipServerUrl: string;
6213
+ sipUserName: string;
6214
+ webphoneLoginUser: string;
6215
+ extensionId: string | null;
6216
+ extensionName: string;
6217
+ telephonySignature: string | null;
6218
+ }>;
6219
+ }, "roles" | "extension">, "strip", z.ZodTypeAny, {
6220
+ id: string;
6221
+ address: string | null;
6222
+ name: string;
6223
+ email: string;
6224
+ createdAt: Date;
6225
+ updatedAt: Date;
6226
+ deletedAt: Date | null;
6227
+ emailVerifiedAt: Date | null;
6228
+ password: string;
6229
+ phone: string | null;
6230
+ notificationCount: number | null;
6231
+ }, {
6232
+ id: string;
6233
+ address: string | null;
6234
+ name: string;
6235
+ email: string;
6236
+ createdAt: Date;
6237
+ updatedAt: Date;
6238
+ deletedAt: Date | null;
6239
+ emailVerifiedAt: Date | null;
6240
+ password: string;
6241
+ phone: string | null;
6242
+ notificationCount: number | null;
6243
+ }>>;
6244
+ userId: z.ZodString;
6245
+ createdAt: z.ZodOptional<z.ZodString>;
6246
+ deletedAt: z.ZodNullable<z.ZodString>;
6247
+ updatedAt: z.ZodOptional<z.ZodString>;
6248
+ extensionId: z.ZodNullable<z.ZodString>;
6249
+ sipUserName: z.ZodNullable<z.ZodString>;
6250
+ sipServerUrl: z.ZodNullable<z.ZodString>;
6251
+ extensionName: z.ZodNullable<z.ZodString>;
6252
+ webphoneLoginUser: z.ZodNullable<z.ZodString>;
6253
+ telephonySignature: z.ZodNullable<z.ZodString>;
6254
+ }, "strip", z.ZodTypeAny, {
6255
+ id: string;
6256
+ user: {
6257
+ id: string;
6258
+ address: string | null;
6259
+ name: string;
6260
+ email: string;
6261
+ createdAt: Date;
6262
+ updatedAt: Date;
6263
+ deletedAt: Date | null;
6264
+ emailVerifiedAt: Date | null;
6265
+ password: string;
6266
+ phone: string | null;
6267
+ notificationCount: number | null;
6268
+ } | null;
6269
+ deletedAt: string | null;
6270
+ userId: string;
6271
+ sipServerUrl: string | null;
6272
+ sipUserName: string | null;
6273
+ webphoneLoginUser: string | null;
6274
+ extensionId: string | null;
6275
+ extensionName: string | null;
6276
+ telephonySignature: string | null;
6277
+ createdAt?: string | undefined;
6278
+ updatedAt?: string | undefined;
6279
+ }, {
6280
+ id: string;
6281
+ user: {
6282
+ id: string;
6283
+ address: string | null;
6284
+ name: string;
6285
+ email: string;
6286
+ createdAt: Date;
6287
+ updatedAt: Date;
6288
+ deletedAt: Date | null;
6289
+ emailVerifiedAt: Date | null;
6290
+ password: string;
6291
+ phone: string | null;
6292
+ notificationCount: number | null;
6293
+ } | null;
6294
+ deletedAt: string | null;
6295
+ userId: string;
6296
+ sipServerUrl: string | null;
6297
+ sipUserName: string | null;
6298
+ webphoneLoginUser: string | null;
6299
+ extensionId: string | null;
6300
+ extensionName: string | null;
6301
+ telephonySignature: string | null;
6302
+ createdAt?: string | undefined;
6303
+ updatedAt?: string | undefined;
6304
+ }>>>;
6305
+ callFrom: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6306
+ id: z.ZodString;
6307
+ user: z.ZodNullable<z.ZodObject<Omit<{
6308
+ id: z.ZodString;
6309
+ createdAt: z.ZodDate;
6310
+ updatedAt: z.ZodDate;
6311
+ deletedAt: z.ZodNullable<z.ZodDate>;
6312
+ name: z.ZodString;
6313
+ email: z.ZodString;
6314
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
6315
+ password: z.ZodString;
6316
+ address: z.ZodNullable<z.ZodString>;
6317
+ phone: z.ZodNullable<z.ZodString>;
6318
+ notificationCount: z.ZodNullable<z.ZodNumber>;
6319
+ roles: z.ZodArray<z.ZodObject<{
6320
+ id: z.ZodString;
6321
+ createdAt: z.ZodDate;
6322
+ updatedAt: z.ZodDate;
6323
+ deletedAt: z.ZodNullable<z.ZodDate>;
6324
+ systemName: z.ZodString;
6325
+ displayName: z.ZodString;
6326
+ description: z.ZodNullable<z.ZodString>;
6327
+ permissions: z.ZodArray<z.ZodObject<{
6328
+ id: z.ZodString;
6329
+ createdAt: z.ZodDate;
6330
+ updatedAt: z.ZodDate;
6331
+ deletedAt: z.ZodNullable<z.ZodDate>;
6332
+ systemName: z.ZodString;
6333
+ displayName: z.ZodString;
6334
+ description: z.ZodNullable<z.ZodString>;
6335
+ }, "strip", z.ZodTypeAny, {
6336
+ id: string;
6337
+ description: string | null;
6338
+ createdAt: Date;
6339
+ updatedAt: Date;
6340
+ deletedAt: Date | null;
6341
+ systemName: string;
6342
+ displayName: string;
6343
+ }, {
6344
+ id: string;
6345
+ description: string | null;
6346
+ createdAt: Date;
6347
+ updatedAt: Date;
6348
+ deletedAt: Date | null;
6349
+ systemName: string;
6350
+ displayName: string;
6351
+ }>, "many">;
6352
+ }, "strip", z.ZodTypeAny, {
6353
+ id: string;
6354
+ description: string | null;
6355
+ createdAt: Date;
6356
+ updatedAt: Date;
6357
+ deletedAt: Date | null;
6358
+ systemName: string;
6359
+ displayName: string;
6360
+ permissions: {
6361
+ id: string;
6362
+ description: string | null;
6363
+ createdAt: Date;
6364
+ updatedAt: Date;
6365
+ deletedAt: Date | null;
6366
+ systemName: string;
6367
+ displayName: string;
6368
+ }[];
6369
+ }, {
6370
+ id: string;
6371
+ description: string | null;
6372
+ createdAt: Date;
6373
+ updatedAt: Date;
6374
+ deletedAt: Date | null;
6375
+ systemName: string;
6376
+ displayName: string;
6377
+ permissions: {
6378
+ id: string;
6379
+ description: string | null;
6380
+ createdAt: Date;
6381
+ updatedAt: Date;
6382
+ deletedAt: Date | null;
6383
+ systemName: string;
6384
+ displayName: string;
6385
+ }[];
6386
+ }>, "many">;
6387
+ extension: z.ZodObject<{
6388
+ id: z.ZodString;
6389
+ createdAt: z.ZodDate;
6390
+ updatedAt: z.ZodDate;
6391
+ deletedAt: z.ZodNullable<z.ZodDate>;
6392
+ userId: z.ZodNullable<z.ZodString>;
6393
+ sipServerUrl: z.ZodString;
6394
+ sipUserName: z.ZodString;
6395
+ webphoneLoginUser: z.ZodString;
6396
+ extensionId: z.ZodNullable<z.ZodString>;
6397
+ extensionName: z.ZodString;
6398
+ telephonySignature: z.ZodNullable<z.ZodString>;
6399
+ }, "strip", z.ZodTypeAny, {
6400
+ id: string;
6401
+ createdAt: Date;
6402
+ updatedAt: Date;
6403
+ deletedAt: Date | null;
6404
+ userId: string | null;
6405
+ sipServerUrl: string;
6406
+ sipUserName: string;
6407
+ webphoneLoginUser: string;
6408
+ extensionId: string | null;
6409
+ extensionName: string;
6410
+ telephonySignature: string | null;
6411
+ }, {
6412
+ id: string;
6413
+ createdAt: Date;
6414
+ updatedAt: Date;
6415
+ deletedAt: Date | null;
6416
+ userId: string | null;
6417
+ sipServerUrl: string;
6418
+ sipUserName: string;
6419
+ webphoneLoginUser: string;
6420
+ extensionId: string | null;
6421
+ extensionName: string;
6422
+ telephonySignature: string | null;
6423
+ }>;
6424
+ }, "roles" | "extension">, "strip", z.ZodTypeAny, {
6425
+ id: string;
6426
+ address: string | null;
6427
+ name: string;
6428
+ email: string;
6429
+ createdAt: Date;
6430
+ updatedAt: Date;
6431
+ deletedAt: Date | null;
6432
+ emailVerifiedAt: Date | null;
6433
+ password: string;
6434
+ phone: string | null;
6435
+ notificationCount: number | null;
6436
+ }, {
6437
+ id: string;
6438
+ address: string | null;
6439
+ name: string;
6440
+ email: string;
6441
+ createdAt: Date;
6442
+ updatedAt: Date;
6443
+ deletedAt: Date | null;
6444
+ emailVerifiedAt: Date | null;
6445
+ password: string;
6446
+ phone: string | null;
6447
+ notificationCount: number | null;
6448
+ }>>;
6449
+ userId: z.ZodString;
6450
+ createdAt: z.ZodOptional<z.ZodString>;
6451
+ deletedAt: z.ZodNullable<z.ZodString>;
6452
+ updatedAt: z.ZodOptional<z.ZodString>;
6453
+ extensionId: z.ZodNullable<z.ZodString>;
6454
+ sipUserName: z.ZodNullable<z.ZodString>;
6455
+ sipServerUrl: z.ZodNullable<z.ZodString>;
6456
+ extensionName: z.ZodNullable<z.ZodString>;
6457
+ webphoneLoginUser: z.ZodNullable<z.ZodString>;
6458
+ telephonySignature: z.ZodNullable<z.ZodString>;
6459
+ }, "strip", z.ZodTypeAny, {
6460
+ id: string;
6461
+ user: {
6462
+ id: string;
6463
+ address: string | null;
6464
+ name: string;
6465
+ email: string;
6466
+ createdAt: Date;
6467
+ updatedAt: Date;
6468
+ deletedAt: Date | null;
6469
+ emailVerifiedAt: Date | null;
6470
+ password: string;
6471
+ phone: string | null;
6472
+ notificationCount: number | null;
6473
+ } | null;
6474
+ deletedAt: string | null;
6475
+ userId: string;
6476
+ sipServerUrl: string | null;
6477
+ sipUserName: string | null;
6478
+ webphoneLoginUser: string | null;
6479
+ extensionId: string | null;
6480
+ extensionName: string | null;
6481
+ telephonySignature: string | null;
6482
+ createdAt?: string | undefined;
6483
+ updatedAt?: string | undefined;
6484
+ }, {
4660
6485
  id: string;
4661
- createdAt: Date;
4662
- updatedAt: Date;
4663
- deletedAt: Date | null;
4664
- attribute: {
4665
- type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
6486
+ user: {
4666
6487
  id: string;
4667
- position: number;
6488
+ address: string | null;
6489
+ name: string;
6490
+ email: string;
4668
6491
  createdAt: Date;
4669
6492
  updatedAt: Date;
4670
6493
  deletedAt: Date | null;
4671
- systemName: string;
4672
- displayName: string;
4673
- isDefault: boolean;
4674
- isArchived: boolean;
4675
- isRequired: boolean;
4676
- isUnique: boolean;
4677
- };
4678
- textValue: string | null;
4679
- booleanValue: boolean | null;
4680
- numberValue: number | null;
4681
- dateValue: Date | null;
4682
- uploads: {
6494
+ emailVerifiedAt: Date | null;
6495
+ password: string;
6496
+ phone: string | null;
6497
+ notificationCount: number | null;
6498
+ } | null;
6499
+ deletedAt: string | null;
6500
+ userId: string;
6501
+ sipServerUrl: string | null;
6502
+ sipUserName: string | null;
6503
+ webphoneLoginUser: string | null;
6504
+ extensionId: string | null;
6505
+ extensionName: string | null;
6506
+ telephonySignature: string | null;
6507
+ createdAt?: string | undefined;
6508
+ updatedAt?: string | undefined;
6509
+ }>>>;
6510
+ }, "strip", z.ZodTypeAny, {
6511
+ callTo?: {
6512
+ id: string;
6513
+ user: {
4683
6514
  id: string;
6515
+ address: string | null;
6516
+ name: string;
6517
+ email: string;
4684
6518
  createdAt: Date;
4685
6519
  updatedAt: Date;
4686
6520
  deletedAt: Date | null;
4687
- fileName: string;
4688
- fileKey: string;
4689
- bucketName: string;
4690
- fileSize: number;
4691
- fileUrl: string | null;
4692
- status?: string | undefined;
4693
- }[];
4694
- }[];
4695
- company: {
4696
- id: string;
4697
- createdAt: Date;
4698
- updatedAt: Date;
4699
- deletedAt: Date | null;
4700
- address?: string | null | undefined;
4701
- name?: string | undefined;
4702
- phone?: string | null | undefined;
4703
- industry?: string | null | undefined;
4704
- } | null;
4705
- notes: string | null;
4706
- contactProfile: string | null;
4707
- socialProfileUrl: string | null;
4708
- tags: {
4709
- id: string;
4710
- name: string;
4711
- createdAt: Date;
4712
- updatedAt: Date;
4713
- deletedAt: Date | null;
4714
- }[];
4715
- contactEmails: {
6521
+ emailVerifiedAt: Date | null;
6522
+ password: string;
6523
+ phone: string | null;
6524
+ notificationCount: number | null;
6525
+ } | null;
6526
+ deletedAt: string | null;
6527
+ userId: string;
6528
+ sipServerUrl: string | null;
6529
+ sipUserName: string | null;
6530
+ webphoneLoginUser: string | null;
6531
+ extensionId: string | null;
6532
+ extensionName: string | null;
6533
+ telephonySignature: string | null;
6534
+ createdAt?: string | undefined;
6535
+ updatedAt?: string | undefined;
6536
+ } | null | undefined;
6537
+ callFrom?: {
4716
6538
  id: string;
4717
- isPrimary: boolean;
4718
- email: string;
4719
- createdAt: Date;
4720
- updatedAt: Date;
4721
- deletedAt: Date | null;
4722
- }[];
4723
- contactPhones: {
6539
+ user: {
6540
+ id: string;
6541
+ address: string | null;
6542
+ name: string;
6543
+ email: string;
6544
+ createdAt: Date;
6545
+ updatedAt: Date;
6546
+ deletedAt: Date | null;
6547
+ emailVerifiedAt: Date | null;
6548
+ password: string;
6549
+ phone: string | null;
6550
+ notificationCount: number | null;
6551
+ } | null;
6552
+ deletedAt: string | null;
6553
+ userId: string;
6554
+ sipServerUrl: string | null;
6555
+ sipUserName: string | null;
6556
+ webphoneLoginUser: string | null;
6557
+ extensionId: string | null;
6558
+ extensionName: string | null;
6559
+ telephonySignature: string | null;
6560
+ createdAt?: string | undefined;
6561
+ updatedAt?: string | undefined;
6562
+ } | null | undefined;
6563
+ }, {
6564
+ callTo?: {
4724
6565
  id: string;
4725
- isPrimary: boolean;
4726
- createdAt: Date;
4727
- updatedAt: Date;
4728
- deletedAt: Date | null;
4729
- phone: string;
4730
- }[];
4731
- activityLogs?: {
6566
+ user: {
6567
+ id: string;
6568
+ address: string | null;
6569
+ name: string;
6570
+ email: string;
6571
+ createdAt: Date;
6572
+ updatedAt: Date;
6573
+ deletedAt: Date | null;
6574
+ emailVerifiedAt: Date | null;
6575
+ password: string;
6576
+ phone: string | null;
6577
+ notificationCount: number | null;
6578
+ } | null;
6579
+ deletedAt: string | null;
6580
+ userId: string;
6581
+ sipServerUrl: string | null;
6582
+ sipUserName: string | null;
6583
+ webphoneLoginUser: string | null;
6584
+ extensionId: string | null;
6585
+ extensionName: string | null;
6586
+ telephonySignature: string | null;
6587
+ createdAt?: string | undefined;
6588
+ updatedAt?: string | undefined;
6589
+ } | null | undefined;
6590
+ callFrom?: {
4732
6591
  id: string;
4733
- description: string;
4734
- createdAt: Date;
4735
- updatedAt: Date;
4736
- deletedAt: Date | null;
4737
- entityId: string;
4738
- entityType: {
6592
+ user: {
4739
6593
  id: string;
4740
- description: string | null;
6594
+ address: string | null;
6595
+ name: string;
6596
+ email: string;
4741
6597
  createdAt: Date;
4742
6598
  updatedAt: Date;
4743
6599
  deletedAt: Date | null;
4744
- entity: string;
4745
- };
4746
- }[] | undefined;
6600
+ emailVerifiedAt: Date | null;
6601
+ password: string;
6602
+ phone: string | null;
6603
+ notificationCount: number | null;
6604
+ } | null;
6605
+ deletedAt: string | null;
6606
+ userId: string;
6607
+ sipServerUrl: string | null;
6608
+ sipUserName: string | null;
6609
+ webphoneLoginUser: string | null;
6610
+ extensionId: string | null;
6611
+ extensionName: string | null;
6612
+ telephonySignature: string | null;
6613
+ createdAt?: string | undefined;
6614
+ updatedAt?: string | undefined;
6615
+ } | null | undefined;
4747
6616
  }>>;
4748
- telephonyQueue: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4749
- id: z.ZodString;
4750
- createdAt: z.ZodDate;
4751
- updatedAt: z.ZodDate;
4752
- deletedAt: z.ZodNullable<z.ZodDate>;
4753
- queueId: z.ZodNumber;
4754
- queueName: z.ZodString;
4755
- queueNumber: z.ZodString;
4756
- maximumWaitingTime: z.ZodNumber;
4757
- }, "strip", z.ZodTypeAny, {
4758
- id: string;
4759
- createdAt: Date;
4760
- updatedAt: Date;
4761
- deletedAt: Date | null;
4762
- queueId: number;
4763
- queueName: string;
4764
- queueNumber: string;
4765
- maximumWaitingTime: number;
4766
- }, {
4767
- id: string;
4768
- createdAt: Date;
4769
- updatedAt: Date;
4770
- deletedAt: Date | null;
4771
- queueId: number;
4772
- queueName: string;
4773
- queueNumber: string;
4774
- maximumWaitingTime: number;
4775
- }>>>;
4776
- pinCode: z.ZodNullable<z.ZodString>;
4777
- status: z.ZodString;
4778
- type: z.ZodString;
4779
- recording: z.ZodNullable<z.ZodString>;
4780
- didNumber: z.ZodNullable<z.ZodString>;
4781
- agentRingTime: z.ZodNullable<z.ZodNumber>;
4782
- uploadId: z.ZodNullable<z.ZodString>;
4783
- upload: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4784
- id: z.ZodString;
4785
- createdAt: z.ZodDate;
4786
- updatedAt: z.ZodDate;
4787
- deletedAt: z.ZodNullable<z.ZodDate>;
4788
- bucketName: z.ZodString;
4789
- fileName: z.ZodString;
4790
- fileSize: z.ZodNumber;
4791
- fileKey: z.ZodString;
4792
- fileUrl: z.ZodNullable<z.ZodString>;
4793
- status: z.ZodOptional<z.ZodString>;
4794
- }, "strip", z.ZodTypeAny, {
4795
- id: string;
4796
- createdAt: Date;
4797
- updatedAt: Date;
4798
- deletedAt: Date | null;
4799
- fileName: string;
4800
- fileKey: string;
4801
- bucketName: string;
4802
- fileSize: number;
4803
- fileUrl: string | null;
4804
- status?: string | undefined;
4805
- }, {
4806
- id: string;
4807
- createdAt: Date;
4808
- updatedAt: Date;
4809
- deletedAt: Date | null;
4810
- fileName: string;
4811
- fileKey: string;
4812
- bucketName: string;
4813
- fileSize: number;
4814
- fileUrl: string | null;
4815
- status?: string | undefined;
4816
- }>>>;
4817
- serialNumber: z.ZodNullable<z.ZodString>;
6617
+ isQueueMissedCall: z.ZodBoolean;
4818
6618
  extensionId: z.ZodNullable<z.ZodString>;
4819
6619
  extension: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4820
6620
  id: z.ZodString;
@@ -5156,11 +6956,10 @@ export declare const telephonyCdrContract: {
5156
6956
  updatedAt: Date;
5157
6957
  deletedAt: Date | null;
5158
6958
  extensionId: string | null;
5159
- contactId: string | null;
5160
- callFrom: string;
5161
- callTo: string;
5162
6959
  uniqueCallId: string;
5163
6960
  timeStart: string;
6961
+ callFrom: string;
6962
+ callTo: string;
5164
6963
  callDuration: number | null;
5165
6964
  talkDuration: number | null;
5166
6965
  srcTrunkName: string | null;
@@ -5170,7 +6969,63 @@ export declare const telephonyCdrContract: {
5170
6969
  agentRingTime: number | null;
5171
6970
  uploadId: string | null;
5172
6971
  serialNumber: string | null;
6972
+ callParticipants: {
6973
+ callTo?: {
6974
+ id: string;
6975
+ user: {
6976
+ id: string;
6977
+ address: string | null;
6978
+ name: string;
6979
+ email: string;
6980
+ createdAt: Date;
6981
+ updatedAt: Date;
6982
+ deletedAt: Date | null;
6983
+ emailVerifiedAt: Date | null;
6984
+ password: string;
6985
+ phone: string | null;
6986
+ notificationCount: number | null;
6987
+ } | null;
6988
+ deletedAt: string | null;
6989
+ userId: string;
6990
+ sipServerUrl: string | null;
6991
+ sipUserName: string | null;
6992
+ webphoneLoginUser: string | null;
6993
+ extensionId: string | null;
6994
+ extensionName: string | null;
6995
+ telephonySignature: string | null;
6996
+ createdAt?: string | undefined;
6997
+ updatedAt?: string | undefined;
6998
+ } | null | undefined;
6999
+ callFrom?: {
7000
+ id: string;
7001
+ user: {
7002
+ id: string;
7003
+ address: string | null;
7004
+ name: string;
7005
+ email: string;
7006
+ createdAt: Date;
7007
+ updatedAt: Date;
7008
+ deletedAt: Date | null;
7009
+ emailVerifiedAt: Date | null;
7010
+ password: string;
7011
+ phone: string | null;
7012
+ notificationCount: number | null;
7013
+ } | null;
7014
+ deletedAt: string | null;
7015
+ userId: string;
7016
+ sipServerUrl: string | null;
7017
+ sipUserName: string | null;
7018
+ webphoneLoginUser: string | null;
7019
+ extensionId: string | null;
7020
+ extensionName: string | null;
7021
+ telephonySignature: string | null;
7022
+ createdAt?: string | undefined;
7023
+ updatedAt?: string | undefined;
7024
+ } | null | undefined;
7025
+ } | null;
7026
+ isQueueMissedCall: boolean;
5173
7027
  telephonyQueueId: string | null;
7028
+ contactId: string | null;
5174
7029
  contact?: {
5175
7030
  id: string;
5176
7031
  channel: string | null;
@@ -5278,18 +7133,6 @@ export declare const telephonyCdrContract: {
5278
7133
  queueNumber: string;
5279
7134
  maximumWaitingTime: number;
5280
7135
  } | null | undefined;
5281
- upload?: {
5282
- id: string;
5283
- createdAt: Date;
5284
- updatedAt: Date;
5285
- deletedAt: Date | null;
5286
- fileName: string;
5287
- fileKey: string;
5288
- bucketName: string;
5289
- fileSize: number;
5290
- fileUrl: string | null;
5291
- status?: string | undefined;
5292
- } | null | undefined;
5293
7136
  extension?: {
5294
7137
  id: string;
5295
7138
  createdAt: Date;
@@ -5356,11 +7199,10 @@ export declare const telephonyCdrContract: {
5356
7199
  updatedAt: Date;
5357
7200
  deletedAt: Date | null;
5358
7201
  extensionId: string | null;
5359
- contactId: string | null;
5360
- callFrom: string;
5361
- callTo: string;
5362
7202
  uniqueCallId: string;
5363
7203
  timeStart: string;
7204
+ callFrom: string;
7205
+ callTo: string;
5364
7206
  callDuration: number | null;
5365
7207
  talkDuration: number | null;
5366
7208
  srcTrunkName: string | null;
@@ -5370,7 +7212,63 @@ export declare const telephonyCdrContract: {
5370
7212
  agentRingTime: number | null;
5371
7213
  uploadId: string | null;
5372
7214
  serialNumber: string | null;
7215
+ callParticipants: {
7216
+ callTo?: {
7217
+ id: string;
7218
+ user: {
7219
+ id: string;
7220
+ address: string | null;
7221
+ name: string;
7222
+ email: string;
7223
+ createdAt: Date;
7224
+ updatedAt: Date;
7225
+ deletedAt: Date | null;
7226
+ emailVerifiedAt: Date | null;
7227
+ password: string;
7228
+ phone: string | null;
7229
+ notificationCount: number | null;
7230
+ } | null;
7231
+ deletedAt: string | null;
7232
+ userId: string;
7233
+ sipServerUrl: string | null;
7234
+ sipUserName: string | null;
7235
+ webphoneLoginUser: string | null;
7236
+ extensionId: string | null;
7237
+ extensionName: string | null;
7238
+ telephonySignature: string | null;
7239
+ createdAt?: string | undefined;
7240
+ updatedAt?: string | undefined;
7241
+ } | null | undefined;
7242
+ callFrom?: {
7243
+ id: string;
7244
+ user: {
7245
+ id: string;
7246
+ address: string | null;
7247
+ name: string;
7248
+ email: string;
7249
+ createdAt: Date;
7250
+ updatedAt: Date;
7251
+ deletedAt: Date | null;
7252
+ emailVerifiedAt: Date | null;
7253
+ password: string;
7254
+ phone: string | null;
7255
+ notificationCount: number | null;
7256
+ } | null;
7257
+ deletedAt: string | null;
7258
+ userId: string;
7259
+ sipServerUrl: string | null;
7260
+ sipUserName: string | null;
7261
+ webphoneLoginUser: string | null;
7262
+ extensionId: string | null;
7263
+ extensionName: string | null;
7264
+ telephonySignature: string | null;
7265
+ createdAt?: string | undefined;
7266
+ updatedAt?: string | undefined;
7267
+ } | null | undefined;
7268
+ } | null;
7269
+ isQueueMissedCall: boolean;
5373
7270
  telephonyQueueId: string | null;
7271
+ contactId: string | null;
5374
7272
  contact?: {
5375
7273
  id: string;
5376
7274
  channel: string | null;
@@ -5478,18 +7376,6 @@ export declare const telephonyCdrContract: {
5478
7376
  queueNumber: string;
5479
7377
  maximumWaitingTime: number;
5480
7378
  } | null | undefined;
5481
- upload?: {
5482
- id: string;
5483
- createdAt: Date;
5484
- updatedAt: Date;
5485
- deletedAt: Date | null;
5486
- fileName: string;
5487
- fileKey: string;
5488
- bucketName: string;
5489
- fileSize: number;
5490
- fileUrl: string | null;
5491
- status?: string | undefined;
5492
- } | null | undefined;
5493
7379
  extension?: {
5494
7380
  id: string;
5495
7381
  createdAt: Date;
@@ -5562,11 +7448,10 @@ export declare const telephonyCdrContract: {
5562
7448
  updatedAt: Date;
5563
7449
  deletedAt: Date | null;
5564
7450
  extensionId: string | null;
5565
- contactId: string | null;
5566
- callFrom: string;
5567
- callTo: string;
5568
7451
  uniqueCallId: string;
5569
7452
  timeStart: string;
7453
+ callFrom: string;
7454
+ callTo: string;
5570
7455
  callDuration: number | null;
5571
7456
  talkDuration: number | null;
5572
7457
  srcTrunkName: string | null;
@@ -5576,7 +7461,63 @@ export declare const telephonyCdrContract: {
5576
7461
  agentRingTime: number | null;
5577
7462
  uploadId: string | null;
5578
7463
  serialNumber: string | null;
7464
+ callParticipants: {
7465
+ callTo?: {
7466
+ id: string;
7467
+ user: {
7468
+ id: string;
7469
+ address: string | null;
7470
+ name: string;
7471
+ email: string;
7472
+ createdAt: Date;
7473
+ updatedAt: Date;
7474
+ deletedAt: Date | null;
7475
+ emailVerifiedAt: Date | null;
7476
+ password: string;
7477
+ phone: string | null;
7478
+ notificationCount: number | null;
7479
+ } | null;
7480
+ deletedAt: string | null;
7481
+ userId: string;
7482
+ sipServerUrl: string | null;
7483
+ sipUserName: string | null;
7484
+ webphoneLoginUser: string | null;
7485
+ extensionId: string | null;
7486
+ extensionName: string | null;
7487
+ telephonySignature: string | null;
7488
+ createdAt?: string | undefined;
7489
+ updatedAt?: string | undefined;
7490
+ } | null | undefined;
7491
+ callFrom?: {
7492
+ id: string;
7493
+ user: {
7494
+ id: string;
7495
+ address: string | null;
7496
+ name: string;
7497
+ email: string;
7498
+ createdAt: Date;
7499
+ updatedAt: Date;
7500
+ deletedAt: Date | null;
7501
+ emailVerifiedAt: Date | null;
7502
+ password: string;
7503
+ phone: string | null;
7504
+ notificationCount: number | null;
7505
+ } | null;
7506
+ deletedAt: string | null;
7507
+ userId: string;
7508
+ sipServerUrl: string | null;
7509
+ sipUserName: string | null;
7510
+ webphoneLoginUser: string | null;
7511
+ extensionId: string | null;
7512
+ extensionName: string | null;
7513
+ telephonySignature: string | null;
7514
+ createdAt?: string | undefined;
7515
+ updatedAt?: string | undefined;
7516
+ } | null | undefined;
7517
+ } | null;
7518
+ isQueueMissedCall: boolean;
5579
7519
  telephonyQueueId: string | null;
7520
+ contactId: string | null;
5580
7521
  contact?: {
5581
7522
  id: string;
5582
7523
  channel: string | null;
@@ -5684,18 +7625,6 @@ export declare const telephonyCdrContract: {
5684
7625
  queueNumber: string;
5685
7626
  maximumWaitingTime: number;
5686
7627
  } | null | undefined;
5687
- upload?: {
5688
- id: string;
5689
- createdAt: Date;
5690
- updatedAt: Date;
5691
- deletedAt: Date | null;
5692
- fileName: string;
5693
- fileKey: string;
5694
- bucketName: string;
5695
- fileSize: number;
5696
- fileUrl: string | null;
5697
- status?: string | undefined;
5698
- } | null | undefined;
5699
7628
  extension?: {
5700
7629
  id: string;
5701
7630
  createdAt: Date;
@@ -5768,11 +7697,10 @@ export declare const telephonyCdrContract: {
5768
7697
  updatedAt: Date;
5769
7698
  deletedAt: Date | null;
5770
7699
  extensionId: string | null;
5771
- contactId: string | null;
5772
- callFrom: string;
5773
- callTo: string;
5774
7700
  uniqueCallId: string;
5775
7701
  timeStart: string;
7702
+ callFrom: string;
7703
+ callTo: string;
5776
7704
  callDuration: number | null;
5777
7705
  talkDuration: number | null;
5778
7706
  srcTrunkName: string | null;
@@ -5782,7 +7710,63 @@ export declare const telephonyCdrContract: {
5782
7710
  agentRingTime: number | null;
5783
7711
  uploadId: string | null;
5784
7712
  serialNumber: string | null;
7713
+ callParticipants: {
7714
+ callTo?: {
7715
+ id: string;
7716
+ user: {
7717
+ id: string;
7718
+ address: string | null;
7719
+ name: string;
7720
+ email: string;
7721
+ createdAt: Date;
7722
+ updatedAt: Date;
7723
+ deletedAt: Date | null;
7724
+ emailVerifiedAt: Date | null;
7725
+ password: string;
7726
+ phone: string | null;
7727
+ notificationCount: number | null;
7728
+ } | null;
7729
+ deletedAt: string | null;
7730
+ userId: string;
7731
+ sipServerUrl: string | null;
7732
+ sipUserName: string | null;
7733
+ webphoneLoginUser: string | null;
7734
+ extensionId: string | null;
7735
+ extensionName: string | null;
7736
+ telephonySignature: string | null;
7737
+ createdAt?: string | undefined;
7738
+ updatedAt?: string | undefined;
7739
+ } | null | undefined;
7740
+ callFrom?: {
7741
+ id: string;
7742
+ user: {
7743
+ id: string;
7744
+ address: string | null;
7745
+ name: string;
7746
+ email: string;
7747
+ createdAt: Date;
7748
+ updatedAt: Date;
7749
+ deletedAt: Date | null;
7750
+ emailVerifiedAt: Date | null;
7751
+ password: string;
7752
+ phone: string | null;
7753
+ notificationCount: number | null;
7754
+ } | null;
7755
+ deletedAt: string | null;
7756
+ userId: string;
7757
+ sipServerUrl: string | null;
7758
+ sipUserName: string | null;
7759
+ webphoneLoginUser: string | null;
7760
+ extensionId: string | null;
7761
+ extensionName: string | null;
7762
+ telephonySignature: string | null;
7763
+ createdAt?: string | undefined;
7764
+ updatedAt?: string | undefined;
7765
+ } | null | undefined;
7766
+ } | null;
7767
+ isQueueMissedCall: boolean;
5785
7768
  telephonyQueueId: string | null;
7769
+ contactId: string | null;
5786
7770
  contact?: {
5787
7771
  id: string;
5788
7772
  channel: string | null;
@@ -5890,18 +7874,6 @@ export declare const telephonyCdrContract: {
5890
7874
  queueNumber: string;
5891
7875
  maximumWaitingTime: number;
5892
7876
  } | null | undefined;
5893
- upload?: {
5894
- id: string;
5895
- createdAt: Date;
5896
- updatedAt: Date;
5897
- deletedAt: Date | null;
5898
- fileName: string;
5899
- fileKey: string;
5900
- bucketName: string;
5901
- fileSize: number;
5902
- fileUrl: string | null;
5903
- status?: string | undefined;
5904
- } | null | undefined;
5905
7877
  extension?: {
5906
7878
  id: string;
5907
7879
  createdAt: Date;