@kl1/contracts 1.0.78 → 1.0.80

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 (66) hide show
  1. package/dist/index.js +1746 -1392
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +1745 -1392
  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 +59 -59
  8. package/dist/src/channel/schema.d.ts +4 -4
  9. package/dist/src/channel/schema.d.ts.map +1 -1
  10. package/dist/src/channel/validation.d.ts +3 -3
  11. package/dist/src/chat/index.d.ts +6967 -3685
  12. package/dist/src/chat/index.d.ts.map +1 -1
  13. package/dist/src/chat/schema.d.ts +3294 -990
  14. package/dist/src/chat/schema.d.ts.map +1 -1
  15. package/dist/src/chat/validation.d.ts +1947 -306
  16. package/dist/src/chat/validation.d.ts.map +1 -1
  17. package/dist/src/comment/index.d.ts +584 -584
  18. package/dist/src/comment/schema.d.ts +144 -144
  19. package/dist/src/contact/index.d.ts +4 -1
  20. package/dist/src/contact/index.d.ts.map +1 -1
  21. package/dist/src/contact/schema.d.ts +156 -0
  22. package/dist/src/contact/schema.d.ts.map +1 -1
  23. package/dist/src/contract.d.ts +35549 -20637
  24. package/dist/src/contract.d.ts.map +1 -1
  25. package/dist/src/cx-log/index.d.ts +950 -101
  26. package/dist/src/cx-log/index.d.ts.map +1 -1
  27. package/dist/src/cx-log/schema.d.ts +810 -71
  28. package/dist/src/cx-log/schema.d.ts.map +1 -1
  29. package/dist/src/dashboard/index.d.ts +4 -4
  30. package/dist/src/dashboard/schema.d.ts +2 -2
  31. package/dist/src/index.d.ts +0 -1
  32. package/dist/src/index.d.ts.map +1 -1
  33. package/dist/src/instagram/index.d.ts +2162 -343
  34. package/dist/src/instagram/index.d.ts.map +1 -1
  35. package/dist/src/line/index.d.ts +1919 -278
  36. package/dist/src/line/index.d.ts.map +1 -1
  37. package/dist/src/mail/mail-contract.d.ts +130 -130
  38. package/dist/src/mail/message-contract.d.ts +6 -6
  39. package/dist/src/mail/room-contract.d.ts +124 -124
  40. package/dist/src/mail/schemas/message.schema.d.ts +4 -4
  41. package/dist/src/mail/schemas/room-validation.schema.d.ts +40 -40
  42. package/dist/src/mail/schemas/room.schema.d.ts +30 -30
  43. package/dist/src/messenger/index.d.ts +2516 -516
  44. package/dist/src/messenger/index.d.ts.map +1 -1
  45. package/dist/src/messenger/validation.d.ts +1523 -0
  46. package/dist/src/messenger/validation.d.ts.map +1 -1
  47. package/dist/src/notification/index.d.ts +742 -0
  48. package/dist/src/notification/index.d.ts.map +1 -0
  49. package/dist/src/notification/schema.d.ts +48 -0
  50. package/dist/src/notification/schema.d.ts.map +1 -0
  51. package/dist/src/notification/validation.d.ts +148 -0
  52. package/dist/src/notification/validation.d.ts.map +1 -0
  53. package/dist/src/telephony-cdr/index.d.ts +3036 -818
  54. package/dist/src/telephony-cdr/index.d.ts.map +1 -1
  55. package/dist/src/telephony-cdr/schema.d.ts +841 -7
  56. package/dist/src/telephony-cdr/schema.d.ts.map +1 -1
  57. package/dist/src/telephony-cdr/validation.d.ts +4 -4
  58. package/dist/src/ticket/index.d.ts +1106 -1106
  59. package/dist/src/ticket/schema.d.ts +72 -72
  60. package/dist/src/ticket/validation.d.ts +12 -12
  61. package/dist/src/viber/index.d.ts +3525 -1159
  62. package/dist/src/viber/index.d.ts.map +1 -1
  63. package/dist/src/wrap-up-form/index.d.ts +19 -19
  64. package/dist/src/wrap-up-form/schema.d.ts +2 -2
  65. package/dist/src/wrap-up-form/validation.d.ts +3 -3
  66. package/package.json +1 -1
@@ -1,4 +1,209 @@
1
1
  import z from 'zod';
2
+ export declare const CallUserSchema: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3
+ id: z.ZodString;
4
+ user: z.ZodNullable<z.ZodObject<Omit<{
5
+ id: z.ZodString;
6
+ createdAt: z.ZodDate;
7
+ updatedAt: z.ZodDate;
8
+ deletedAt: z.ZodNullable<z.ZodDate>;
9
+ name: z.ZodString;
10
+ email: z.ZodString;
11
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
12
+ password: z.ZodString;
13
+ address: z.ZodNullable<z.ZodString>;
14
+ phone: z.ZodNullable<z.ZodString>;
15
+ notificationCount: z.ZodNullable<z.ZodNumber>;
16
+ roles: z.ZodArray<z.ZodObject<{
17
+ id: z.ZodString;
18
+ createdAt: z.ZodDate;
19
+ updatedAt: z.ZodDate;
20
+ deletedAt: z.ZodNullable<z.ZodDate>;
21
+ systemName: z.ZodString;
22
+ displayName: z.ZodString;
23
+ description: z.ZodNullable<z.ZodString>;
24
+ permissions: z.ZodArray<z.ZodObject<{
25
+ id: z.ZodString;
26
+ createdAt: z.ZodDate;
27
+ updatedAt: z.ZodDate;
28
+ deletedAt: z.ZodNullable<z.ZodDate>;
29
+ systemName: z.ZodString;
30
+ displayName: z.ZodString;
31
+ description: z.ZodNullable<z.ZodString>;
32
+ }, "strip", z.ZodTypeAny, {
33
+ id: string;
34
+ description: string | null;
35
+ createdAt: Date;
36
+ updatedAt: Date;
37
+ deletedAt: Date | null;
38
+ systemName: string;
39
+ displayName: string;
40
+ }, {
41
+ id: string;
42
+ description: string | null;
43
+ createdAt: Date;
44
+ updatedAt: Date;
45
+ deletedAt: Date | null;
46
+ systemName: string;
47
+ displayName: string;
48
+ }>, "many">;
49
+ }, "strip", z.ZodTypeAny, {
50
+ id: string;
51
+ description: string | null;
52
+ createdAt: Date;
53
+ updatedAt: Date;
54
+ deletedAt: Date | null;
55
+ systemName: string;
56
+ displayName: string;
57
+ permissions: {
58
+ id: string;
59
+ description: string | null;
60
+ createdAt: Date;
61
+ updatedAt: Date;
62
+ deletedAt: Date | null;
63
+ systemName: string;
64
+ displayName: string;
65
+ }[];
66
+ }, {
67
+ id: string;
68
+ description: string | null;
69
+ createdAt: Date;
70
+ updatedAt: Date;
71
+ deletedAt: Date | null;
72
+ systemName: string;
73
+ displayName: string;
74
+ permissions: {
75
+ id: string;
76
+ description: string | null;
77
+ createdAt: Date;
78
+ updatedAt: Date;
79
+ deletedAt: Date | null;
80
+ systemName: string;
81
+ displayName: string;
82
+ }[];
83
+ }>, "many">;
84
+ extension: z.ZodObject<{
85
+ id: z.ZodString;
86
+ createdAt: z.ZodDate;
87
+ updatedAt: z.ZodDate;
88
+ deletedAt: z.ZodNullable<z.ZodDate>;
89
+ userId: z.ZodNullable<z.ZodString>;
90
+ sipServerUrl: z.ZodString;
91
+ sipUserName: z.ZodString;
92
+ webphoneLoginUser: z.ZodString;
93
+ extensionId: z.ZodNullable<z.ZodString>;
94
+ extensionName: z.ZodString;
95
+ telephonySignature: z.ZodNullable<z.ZodString>;
96
+ }, "strip", z.ZodTypeAny, {
97
+ id: string;
98
+ createdAt: Date;
99
+ updatedAt: Date;
100
+ deletedAt: Date | null;
101
+ userId: string | null;
102
+ sipServerUrl: string;
103
+ sipUserName: string;
104
+ webphoneLoginUser: string;
105
+ extensionId: string | null;
106
+ extensionName: string;
107
+ telephonySignature: string | null;
108
+ }, {
109
+ id: string;
110
+ createdAt: Date;
111
+ updatedAt: Date;
112
+ deletedAt: Date | null;
113
+ userId: string | null;
114
+ sipServerUrl: string;
115
+ sipUserName: string;
116
+ webphoneLoginUser: string;
117
+ extensionId: string | null;
118
+ extensionName: string;
119
+ telephonySignature: string | null;
120
+ }>;
121
+ }, "roles" | "extension">, "strip", z.ZodTypeAny, {
122
+ id: string;
123
+ address: string | null;
124
+ name: string;
125
+ email: string;
126
+ createdAt: Date;
127
+ updatedAt: Date;
128
+ deletedAt: Date | null;
129
+ emailVerifiedAt: Date | null;
130
+ password: string;
131
+ phone: string | null;
132
+ notificationCount: number | null;
133
+ }, {
134
+ id: string;
135
+ address: string | null;
136
+ name: string;
137
+ email: string;
138
+ createdAt: Date;
139
+ updatedAt: Date;
140
+ deletedAt: Date | null;
141
+ emailVerifiedAt: Date | null;
142
+ password: string;
143
+ phone: string | null;
144
+ notificationCount: number | null;
145
+ }>>;
146
+ userId: z.ZodString;
147
+ createdAt: z.ZodOptional<z.ZodString>;
148
+ deletedAt: z.ZodNullable<z.ZodString>;
149
+ updatedAt: z.ZodOptional<z.ZodString>;
150
+ extensionId: z.ZodNullable<z.ZodString>;
151
+ sipUserName: z.ZodNullable<z.ZodString>;
152
+ sipServerUrl: z.ZodNullable<z.ZodString>;
153
+ extensionName: z.ZodNullable<z.ZodString>;
154
+ webphoneLoginUser: z.ZodNullable<z.ZodString>;
155
+ telephonySignature: z.ZodNullable<z.ZodString>;
156
+ }, "strip", z.ZodTypeAny, {
157
+ id: string;
158
+ user: {
159
+ id: string;
160
+ address: string | null;
161
+ name: string;
162
+ email: string;
163
+ createdAt: Date;
164
+ updatedAt: Date;
165
+ deletedAt: Date | null;
166
+ emailVerifiedAt: Date | null;
167
+ password: string;
168
+ phone: string | null;
169
+ notificationCount: number | null;
170
+ } | null;
171
+ deletedAt: string | null;
172
+ userId: string;
173
+ sipServerUrl: string | null;
174
+ sipUserName: string | null;
175
+ webphoneLoginUser: string | null;
176
+ extensionId: string | null;
177
+ extensionName: string | null;
178
+ telephonySignature: string | null;
179
+ createdAt?: string | undefined;
180
+ updatedAt?: string | undefined;
181
+ }, {
182
+ id: string;
183
+ user: {
184
+ id: string;
185
+ address: string | null;
186
+ name: string;
187
+ email: string;
188
+ createdAt: Date;
189
+ updatedAt: Date;
190
+ deletedAt: Date | null;
191
+ emailVerifiedAt: Date | null;
192
+ password: string;
193
+ phone: string | null;
194
+ notificationCount: number | null;
195
+ } | null;
196
+ deletedAt: string | null;
197
+ userId: string;
198
+ sipServerUrl: string | null;
199
+ sipUserName: string | null;
200
+ webphoneLoginUser: string | null;
201
+ extensionId: string | null;
202
+ extensionName: string | null;
203
+ telephonySignature: string | null;
204
+ createdAt?: string | undefined;
205
+ updatedAt?: string | undefined;
206
+ }>>>;
2
207
  export declare const TelephonyCdrSchema: z.ZodObject<{
3
208
  id: z.ZodString;
4
209
  createdAt: z.ZodDate;
@@ -734,6 +939,7 @@ export declare const TelephonyCdrSchema: z.ZodObject<{
734
939
  didNumber: z.ZodNullable<z.ZodString>;
735
940
  agentRingTime: z.ZodNullable<z.ZodNumber>;
736
941
  uploadId: z.ZodNullable<z.ZodString>;
942
+ serialNumber: z.ZodNullable<z.ZodString>;
737
943
  upload: z.ZodNullable<z.ZodOptional<z.ZodObject<{
738
944
  id: z.ZodString;
739
945
  createdAt: z.ZodDate;
@@ -768,7 +974,525 @@ export declare const TelephonyCdrSchema: z.ZodObject<{
768
974
  fileUrl: string | null;
769
975
  status?: string | undefined;
770
976
  }>>>;
771
- serialNumber: z.ZodNullable<z.ZodString>;
977
+ callParticipants: z.ZodNullable<z.ZodObject<{
978
+ callTo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
979
+ id: z.ZodString;
980
+ user: z.ZodNullable<z.ZodObject<Omit<{
981
+ id: z.ZodString;
982
+ createdAt: z.ZodDate;
983
+ updatedAt: z.ZodDate;
984
+ deletedAt: z.ZodNullable<z.ZodDate>;
985
+ name: z.ZodString;
986
+ email: z.ZodString;
987
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
988
+ password: z.ZodString;
989
+ address: z.ZodNullable<z.ZodString>;
990
+ phone: z.ZodNullable<z.ZodString>;
991
+ notificationCount: z.ZodNullable<z.ZodNumber>;
992
+ roles: z.ZodArray<z.ZodObject<{
993
+ id: z.ZodString;
994
+ createdAt: z.ZodDate;
995
+ updatedAt: z.ZodDate;
996
+ deletedAt: z.ZodNullable<z.ZodDate>;
997
+ systemName: z.ZodString;
998
+ displayName: z.ZodString;
999
+ description: z.ZodNullable<z.ZodString>;
1000
+ permissions: z.ZodArray<z.ZodObject<{
1001
+ id: z.ZodString;
1002
+ createdAt: z.ZodDate;
1003
+ updatedAt: z.ZodDate;
1004
+ deletedAt: z.ZodNullable<z.ZodDate>;
1005
+ systemName: z.ZodString;
1006
+ displayName: z.ZodString;
1007
+ description: z.ZodNullable<z.ZodString>;
1008
+ }, "strip", z.ZodTypeAny, {
1009
+ id: string;
1010
+ description: string | null;
1011
+ createdAt: Date;
1012
+ updatedAt: Date;
1013
+ deletedAt: Date | null;
1014
+ systemName: string;
1015
+ displayName: string;
1016
+ }, {
1017
+ id: string;
1018
+ description: string | null;
1019
+ createdAt: Date;
1020
+ updatedAt: Date;
1021
+ deletedAt: Date | null;
1022
+ systemName: string;
1023
+ displayName: string;
1024
+ }>, "many">;
1025
+ }, "strip", z.ZodTypeAny, {
1026
+ id: string;
1027
+ description: string | null;
1028
+ createdAt: Date;
1029
+ updatedAt: Date;
1030
+ deletedAt: Date | null;
1031
+ systemName: string;
1032
+ displayName: string;
1033
+ permissions: {
1034
+ id: string;
1035
+ description: string | null;
1036
+ createdAt: Date;
1037
+ updatedAt: Date;
1038
+ deletedAt: Date | null;
1039
+ systemName: string;
1040
+ displayName: string;
1041
+ }[];
1042
+ }, {
1043
+ id: string;
1044
+ description: string | null;
1045
+ createdAt: Date;
1046
+ updatedAt: Date;
1047
+ deletedAt: Date | null;
1048
+ systemName: string;
1049
+ displayName: string;
1050
+ permissions: {
1051
+ id: string;
1052
+ description: string | null;
1053
+ createdAt: Date;
1054
+ updatedAt: Date;
1055
+ deletedAt: Date | null;
1056
+ systemName: string;
1057
+ displayName: string;
1058
+ }[];
1059
+ }>, "many">;
1060
+ extension: z.ZodObject<{
1061
+ id: z.ZodString;
1062
+ createdAt: z.ZodDate;
1063
+ updatedAt: z.ZodDate;
1064
+ deletedAt: z.ZodNullable<z.ZodDate>;
1065
+ userId: z.ZodNullable<z.ZodString>;
1066
+ sipServerUrl: z.ZodString;
1067
+ sipUserName: z.ZodString;
1068
+ webphoneLoginUser: z.ZodString;
1069
+ extensionId: z.ZodNullable<z.ZodString>;
1070
+ extensionName: z.ZodString;
1071
+ telephonySignature: z.ZodNullable<z.ZodString>;
1072
+ }, "strip", z.ZodTypeAny, {
1073
+ id: string;
1074
+ createdAt: Date;
1075
+ updatedAt: Date;
1076
+ deletedAt: Date | null;
1077
+ userId: string | null;
1078
+ sipServerUrl: string;
1079
+ sipUserName: string;
1080
+ webphoneLoginUser: string;
1081
+ extensionId: string | null;
1082
+ extensionName: string;
1083
+ telephonySignature: string | null;
1084
+ }, {
1085
+ id: string;
1086
+ createdAt: Date;
1087
+ updatedAt: Date;
1088
+ deletedAt: Date | null;
1089
+ userId: string | null;
1090
+ sipServerUrl: string;
1091
+ sipUserName: string;
1092
+ webphoneLoginUser: string;
1093
+ extensionId: string | null;
1094
+ extensionName: string;
1095
+ telephonySignature: string | null;
1096
+ }>;
1097
+ }, "roles" | "extension">, "strip", z.ZodTypeAny, {
1098
+ id: string;
1099
+ address: string | null;
1100
+ name: string;
1101
+ email: string;
1102
+ createdAt: Date;
1103
+ updatedAt: Date;
1104
+ deletedAt: Date | null;
1105
+ emailVerifiedAt: Date | null;
1106
+ password: string;
1107
+ phone: string | null;
1108
+ notificationCount: number | null;
1109
+ }, {
1110
+ id: string;
1111
+ address: string | null;
1112
+ name: string;
1113
+ email: string;
1114
+ createdAt: Date;
1115
+ updatedAt: Date;
1116
+ deletedAt: Date | null;
1117
+ emailVerifiedAt: Date | null;
1118
+ password: string;
1119
+ phone: string | null;
1120
+ notificationCount: number | null;
1121
+ }>>;
1122
+ userId: z.ZodString;
1123
+ createdAt: z.ZodOptional<z.ZodString>;
1124
+ deletedAt: z.ZodNullable<z.ZodString>;
1125
+ updatedAt: z.ZodOptional<z.ZodString>;
1126
+ extensionId: z.ZodNullable<z.ZodString>;
1127
+ sipUserName: z.ZodNullable<z.ZodString>;
1128
+ sipServerUrl: z.ZodNullable<z.ZodString>;
1129
+ extensionName: z.ZodNullable<z.ZodString>;
1130
+ webphoneLoginUser: z.ZodNullable<z.ZodString>;
1131
+ telephonySignature: z.ZodNullable<z.ZodString>;
1132
+ }, "strip", z.ZodTypeAny, {
1133
+ id: string;
1134
+ user: {
1135
+ id: string;
1136
+ address: string | null;
1137
+ name: string;
1138
+ email: string;
1139
+ createdAt: Date;
1140
+ updatedAt: Date;
1141
+ deletedAt: Date | null;
1142
+ emailVerifiedAt: Date | null;
1143
+ password: string;
1144
+ phone: string | null;
1145
+ notificationCount: number | null;
1146
+ } | null;
1147
+ deletedAt: string | null;
1148
+ userId: string;
1149
+ sipServerUrl: string | null;
1150
+ sipUserName: string | null;
1151
+ webphoneLoginUser: string | null;
1152
+ extensionId: string | null;
1153
+ extensionName: string | null;
1154
+ telephonySignature: string | null;
1155
+ createdAt?: string | undefined;
1156
+ updatedAt?: string | undefined;
1157
+ }, {
1158
+ id: string;
1159
+ user: {
1160
+ id: string;
1161
+ address: string | null;
1162
+ name: string;
1163
+ email: string;
1164
+ createdAt: Date;
1165
+ updatedAt: Date;
1166
+ deletedAt: Date | null;
1167
+ emailVerifiedAt: Date | null;
1168
+ password: string;
1169
+ phone: string | null;
1170
+ notificationCount: number | null;
1171
+ } | null;
1172
+ deletedAt: string | null;
1173
+ userId: string;
1174
+ sipServerUrl: string | null;
1175
+ sipUserName: string | null;
1176
+ webphoneLoginUser: string | null;
1177
+ extensionId: string | null;
1178
+ extensionName: string | null;
1179
+ telephonySignature: string | null;
1180
+ createdAt?: string | undefined;
1181
+ updatedAt?: string | undefined;
1182
+ }>>>;
1183
+ callFrom: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1184
+ id: z.ZodString;
1185
+ user: z.ZodNullable<z.ZodObject<Omit<{
1186
+ id: z.ZodString;
1187
+ createdAt: z.ZodDate;
1188
+ updatedAt: z.ZodDate;
1189
+ deletedAt: z.ZodNullable<z.ZodDate>;
1190
+ name: z.ZodString;
1191
+ email: z.ZodString;
1192
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
1193
+ password: z.ZodString;
1194
+ address: z.ZodNullable<z.ZodString>;
1195
+ phone: z.ZodNullable<z.ZodString>;
1196
+ notificationCount: z.ZodNullable<z.ZodNumber>;
1197
+ roles: z.ZodArray<z.ZodObject<{
1198
+ id: z.ZodString;
1199
+ createdAt: z.ZodDate;
1200
+ updatedAt: z.ZodDate;
1201
+ deletedAt: z.ZodNullable<z.ZodDate>;
1202
+ systemName: z.ZodString;
1203
+ displayName: z.ZodString;
1204
+ description: z.ZodNullable<z.ZodString>;
1205
+ permissions: z.ZodArray<z.ZodObject<{
1206
+ id: z.ZodString;
1207
+ createdAt: z.ZodDate;
1208
+ updatedAt: z.ZodDate;
1209
+ deletedAt: z.ZodNullable<z.ZodDate>;
1210
+ systemName: z.ZodString;
1211
+ displayName: z.ZodString;
1212
+ description: z.ZodNullable<z.ZodString>;
1213
+ }, "strip", z.ZodTypeAny, {
1214
+ id: string;
1215
+ description: string | null;
1216
+ createdAt: Date;
1217
+ updatedAt: Date;
1218
+ deletedAt: Date | null;
1219
+ systemName: string;
1220
+ displayName: string;
1221
+ }, {
1222
+ id: string;
1223
+ description: string | null;
1224
+ createdAt: Date;
1225
+ updatedAt: Date;
1226
+ deletedAt: Date | null;
1227
+ systemName: string;
1228
+ displayName: string;
1229
+ }>, "many">;
1230
+ }, "strip", z.ZodTypeAny, {
1231
+ id: string;
1232
+ description: string | null;
1233
+ createdAt: Date;
1234
+ updatedAt: Date;
1235
+ deletedAt: Date | null;
1236
+ systemName: string;
1237
+ displayName: string;
1238
+ permissions: {
1239
+ id: string;
1240
+ description: string | null;
1241
+ createdAt: Date;
1242
+ updatedAt: Date;
1243
+ deletedAt: Date | null;
1244
+ systemName: string;
1245
+ displayName: string;
1246
+ }[];
1247
+ }, {
1248
+ id: string;
1249
+ description: string | null;
1250
+ createdAt: Date;
1251
+ updatedAt: Date;
1252
+ deletedAt: Date | null;
1253
+ systemName: string;
1254
+ displayName: string;
1255
+ permissions: {
1256
+ id: string;
1257
+ description: string | null;
1258
+ createdAt: Date;
1259
+ updatedAt: Date;
1260
+ deletedAt: Date | null;
1261
+ systemName: string;
1262
+ displayName: string;
1263
+ }[];
1264
+ }>, "many">;
1265
+ extension: z.ZodObject<{
1266
+ id: z.ZodString;
1267
+ createdAt: z.ZodDate;
1268
+ updatedAt: z.ZodDate;
1269
+ deletedAt: z.ZodNullable<z.ZodDate>;
1270
+ userId: z.ZodNullable<z.ZodString>;
1271
+ sipServerUrl: z.ZodString;
1272
+ sipUserName: z.ZodString;
1273
+ webphoneLoginUser: z.ZodString;
1274
+ extensionId: z.ZodNullable<z.ZodString>;
1275
+ extensionName: z.ZodString;
1276
+ telephonySignature: z.ZodNullable<z.ZodString>;
1277
+ }, "strip", z.ZodTypeAny, {
1278
+ id: string;
1279
+ createdAt: Date;
1280
+ updatedAt: Date;
1281
+ deletedAt: Date | null;
1282
+ userId: string | null;
1283
+ sipServerUrl: string;
1284
+ sipUserName: string;
1285
+ webphoneLoginUser: string;
1286
+ extensionId: string | null;
1287
+ extensionName: string;
1288
+ telephonySignature: string | null;
1289
+ }, {
1290
+ id: string;
1291
+ createdAt: Date;
1292
+ updatedAt: Date;
1293
+ deletedAt: Date | null;
1294
+ userId: string | null;
1295
+ sipServerUrl: string;
1296
+ sipUserName: string;
1297
+ webphoneLoginUser: string;
1298
+ extensionId: string | null;
1299
+ extensionName: string;
1300
+ telephonySignature: string | null;
1301
+ }>;
1302
+ }, "roles" | "extension">, "strip", z.ZodTypeAny, {
1303
+ id: string;
1304
+ address: string | null;
1305
+ name: string;
1306
+ email: string;
1307
+ createdAt: Date;
1308
+ updatedAt: Date;
1309
+ deletedAt: Date | null;
1310
+ emailVerifiedAt: Date | null;
1311
+ password: string;
1312
+ phone: string | null;
1313
+ notificationCount: number | null;
1314
+ }, {
1315
+ id: string;
1316
+ address: string | null;
1317
+ name: string;
1318
+ email: string;
1319
+ createdAt: Date;
1320
+ updatedAt: Date;
1321
+ deletedAt: Date | null;
1322
+ emailVerifiedAt: Date | null;
1323
+ password: string;
1324
+ phone: string | null;
1325
+ notificationCount: number | null;
1326
+ }>>;
1327
+ userId: z.ZodString;
1328
+ createdAt: z.ZodOptional<z.ZodString>;
1329
+ deletedAt: z.ZodNullable<z.ZodString>;
1330
+ updatedAt: z.ZodOptional<z.ZodString>;
1331
+ extensionId: z.ZodNullable<z.ZodString>;
1332
+ sipUserName: z.ZodNullable<z.ZodString>;
1333
+ sipServerUrl: z.ZodNullable<z.ZodString>;
1334
+ extensionName: z.ZodNullable<z.ZodString>;
1335
+ webphoneLoginUser: z.ZodNullable<z.ZodString>;
1336
+ telephonySignature: z.ZodNullable<z.ZodString>;
1337
+ }, "strip", z.ZodTypeAny, {
1338
+ id: string;
1339
+ user: {
1340
+ id: string;
1341
+ address: string | null;
1342
+ name: string;
1343
+ email: string;
1344
+ createdAt: Date;
1345
+ updatedAt: Date;
1346
+ deletedAt: Date | null;
1347
+ emailVerifiedAt: Date | null;
1348
+ password: string;
1349
+ phone: string | null;
1350
+ notificationCount: number | null;
1351
+ } | null;
1352
+ deletedAt: string | null;
1353
+ userId: string;
1354
+ sipServerUrl: string | null;
1355
+ sipUserName: string | null;
1356
+ webphoneLoginUser: string | null;
1357
+ extensionId: string | null;
1358
+ extensionName: string | null;
1359
+ telephonySignature: string | null;
1360
+ createdAt?: string | undefined;
1361
+ updatedAt?: string | undefined;
1362
+ }, {
1363
+ id: string;
1364
+ user: {
1365
+ id: string;
1366
+ address: string | null;
1367
+ name: string;
1368
+ email: string;
1369
+ createdAt: Date;
1370
+ updatedAt: Date;
1371
+ deletedAt: Date | null;
1372
+ emailVerifiedAt: Date | null;
1373
+ password: string;
1374
+ phone: string | null;
1375
+ notificationCount: number | null;
1376
+ } | null;
1377
+ deletedAt: string | null;
1378
+ userId: string;
1379
+ sipServerUrl: string | null;
1380
+ sipUserName: string | null;
1381
+ webphoneLoginUser: string | null;
1382
+ extensionId: string | null;
1383
+ extensionName: string | null;
1384
+ telephonySignature: string | null;
1385
+ createdAt?: string | undefined;
1386
+ updatedAt?: string | undefined;
1387
+ }>>>;
1388
+ }, "strip", z.ZodTypeAny, {
1389
+ callTo?: {
1390
+ id: string;
1391
+ user: {
1392
+ id: string;
1393
+ address: string | null;
1394
+ name: string;
1395
+ email: string;
1396
+ createdAt: Date;
1397
+ updatedAt: Date;
1398
+ deletedAt: Date | null;
1399
+ emailVerifiedAt: Date | null;
1400
+ password: string;
1401
+ phone: string | null;
1402
+ notificationCount: number | null;
1403
+ } | null;
1404
+ deletedAt: string | null;
1405
+ userId: string;
1406
+ sipServerUrl: string | null;
1407
+ sipUserName: string | null;
1408
+ webphoneLoginUser: string | null;
1409
+ extensionId: string | null;
1410
+ extensionName: string | null;
1411
+ telephonySignature: string | null;
1412
+ createdAt?: string | undefined;
1413
+ updatedAt?: string | undefined;
1414
+ } | null | undefined;
1415
+ callFrom?: {
1416
+ id: string;
1417
+ user: {
1418
+ id: string;
1419
+ address: string | null;
1420
+ name: string;
1421
+ email: string;
1422
+ createdAt: Date;
1423
+ updatedAt: Date;
1424
+ deletedAt: Date | null;
1425
+ emailVerifiedAt: Date | null;
1426
+ password: string;
1427
+ phone: string | null;
1428
+ notificationCount: number | null;
1429
+ } | null;
1430
+ deletedAt: string | null;
1431
+ userId: string;
1432
+ sipServerUrl: string | null;
1433
+ sipUserName: string | null;
1434
+ webphoneLoginUser: string | null;
1435
+ extensionId: string | null;
1436
+ extensionName: string | null;
1437
+ telephonySignature: string | null;
1438
+ createdAt?: string | undefined;
1439
+ updatedAt?: string | undefined;
1440
+ } | null | undefined;
1441
+ }, {
1442
+ callTo?: {
1443
+ id: string;
1444
+ user: {
1445
+ id: string;
1446
+ address: string | null;
1447
+ name: string;
1448
+ email: string;
1449
+ createdAt: Date;
1450
+ updatedAt: Date;
1451
+ deletedAt: Date | null;
1452
+ emailVerifiedAt: Date | null;
1453
+ password: string;
1454
+ phone: string | null;
1455
+ notificationCount: number | null;
1456
+ } | null;
1457
+ deletedAt: string | null;
1458
+ userId: string;
1459
+ sipServerUrl: string | null;
1460
+ sipUserName: string | null;
1461
+ webphoneLoginUser: string | null;
1462
+ extensionId: string | null;
1463
+ extensionName: string | null;
1464
+ telephonySignature: string | null;
1465
+ createdAt?: string | undefined;
1466
+ updatedAt?: string | undefined;
1467
+ } | null | undefined;
1468
+ callFrom?: {
1469
+ id: string;
1470
+ user: {
1471
+ id: string;
1472
+ address: string | null;
1473
+ name: string;
1474
+ email: string;
1475
+ createdAt: Date;
1476
+ updatedAt: Date;
1477
+ deletedAt: Date | null;
1478
+ emailVerifiedAt: Date | null;
1479
+ password: string;
1480
+ phone: string | null;
1481
+ notificationCount: number | null;
1482
+ } | null;
1483
+ deletedAt: string | null;
1484
+ userId: string;
1485
+ sipServerUrl: string | null;
1486
+ sipUserName: string | null;
1487
+ webphoneLoginUser: string | null;
1488
+ extensionId: string | null;
1489
+ extensionName: string | null;
1490
+ telephonySignature: string | null;
1491
+ createdAt?: string | undefined;
1492
+ updatedAt?: string | undefined;
1493
+ } | null | undefined;
1494
+ }>>;
1495
+ isQueueMissedCall: z.ZodBoolean;
772
1496
  extensionId: z.ZodNullable<z.ZodString>;
773
1497
  extension: z.ZodNullable<z.ZodOptional<z.ZodObject<{
774
1498
  id: z.ZodString;
@@ -1110,11 +1834,10 @@ export declare const TelephonyCdrSchema: z.ZodObject<{
1110
1834
  updatedAt: Date;
1111
1835
  deletedAt: Date | null;
1112
1836
  extensionId: string | null;
1113
- contactId: string | null;
1114
- callFrom: string;
1115
- callTo: string;
1116
1837
  uniqueCallId: string;
1117
1838
  timeStart: string;
1839
+ callFrom: string;
1840
+ callTo: string;
1118
1841
  callDuration: number | null;
1119
1842
  talkDuration: number | null;
1120
1843
  srcTrunkName: string | null;
@@ -1124,7 +1847,63 @@ export declare const TelephonyCdrSchema: z.ZodObject<{
1124
1847
  agentRingTime: number | null;
1125
1848
  uploadId: string | null;
1126
1849
  serialNumber: string | null;
1850
+ callParticipants: {
1851
+ callTo?: {
1852
+ id: string;
1853
+ user: {
1854
+ id: string;
1855
+ address: string | null;
1856
+ name: string;
1857
+ email: string;
1858
+ createdAt: Date;
1859
+ updatedAt: Date;
1860
+ deletedAt: Date | null;
1861
+ emailVerifiedAt: Date | null;
1862
+ password: string;
1863
+ phone: string | null;
1864
+ notificationCount: number | null;
1865
+ } | null;
1866
+ deletedAt: string | null;
1867
+ userId: string;
1868
+ sipServerUrl: string | null;
1869
+ sipUserName: string | null;
1870
+ webphoneLoginUser: string | null;
1871
+ extensionId: string | null;
1872
+ extensionName: string | null;
1873
+ telephonySignature: string | null;
1874
+ createdAt?: string | undefined;
1875
+ updatedAt?: string | undefined;
1876
+ } | null | undefined;
1877
+ callFrom?: {
1878
+ id: string;
1879
+ user: {
1880
+ id: string;
1881
+ address: string | null;
1882
+ name: string;
1883
+ email: string;
1884
+ createdAt: Date;
1885
+ updatedAt: Date;
1886
+ deletedAt: Date | null;
1887
+ emailVerifiedAt: Date | null;
1888
+ password: string;
1889
+ phone: string | null;
1890
+ notificationCount: number | null;
1891
+ } | null;
1892
+ deletedAt: string | null;
1893
+ userId: string;
1894
+ sipServerUrl: string | null;
1895
+ sipUserName: string | null;
1896
+ webphoneLoginUser: string | null;
1897
+ extensionId: string | null;
1898
+ extensionName: string | null;
1899
+ telephonySignature: string | null;
1900
+ createdAt?: string | undefined;
1901
+ updatedAt?: string | undefined;
1902
+ } | null | undefined;
1903
+ } | null;
1904
+ isQueueMissedCall: boolean;
1127
1905
  telephonyQueueId: string | null;
1906
+ contactId: string | null;
1128
1907
  contact?: {
1129
1908
  id: string;
1130
1909
  channel: string | null;
@@ -1310,11 +2089,10 @@ export declare const TelephonyCdrSchema: z.ZodObject<{
1310
2089
  updatedAt: Date;
1311
2090
  deletedAt: Date | null;
1312
2091
  extensionId: string | null;
1313
- contactId: string | null;
1314
- callFrom: string;
1315
- callTo: string;
1316
2092
  uniqueCallId: string;
1317
2093
  timeStart: string;
2094
+ callFrom: string;
2095
+ callTo: string;
1318
2096
  callDuration: number | null;
1319
2097
  talkDuration: number | null;
1320
2098
  srcTrunkName: string | null;
@@ -1324,7 +2102,63 @@ export declare const TelephonyCdrSchema: z.ZodObject<{
1324
2102
  agentRingTime: number | null;
1325
2103
  uploadId: string | null;
1326
2104
  serialNumber: string | null;
2105
+ callParticipants: {
2106
+ callTo?: {
2107
+ id: string;
2108
+ user: {
2109
+ id: string;
2110
+ address: string | null;
2111
+ name: string;
2112
+ email: string;
2113
+ createdAt: Date;
2114
+ updatedAt: Date;
2115
+ deletedAt: Date | null;
2116
+ emailVerifiedAt: Date | null;
2117
+ password: string;
2118
+ phone: string | null;
2119
+ notificationCount: number | null;
2120
+ } | null;
2121
+ deletedAt: string | null;
2122
+ userId: string;
2123
+ sipServerUrl: string | null;
2124
+ sipUserName: string | null;
2125
+ webphoneLoginUser: string | null;
2126
+ extensionId: string | null;
2127
+ extensionName: string | null;
2128
+ telephonySignature: string | null;
2129
+ createdAt?: string | undefined;
2130
+ updatedAt?: string | undefined;
2131
+ } | null | undefined;
2132
+ callFrom?: {
2133
+ id: string;
2134
+ user: {
2135
+ id: string;
2136
+ address: string | null;
2137
+ name: string;
2138
+ email: string;
2139
+ createdAt: Date;
2140
+ updatedAt: Date;
2141
+ deletedAt: Date | null;
2142
+ emailVerifiedAt: Date | null;
2143
+ password: string;
2144
+ phone: string | null;
2145
+ notificationCount: number | null;
2146
+ } | null;
2147
+ deletedAt: string | null;
2148
+ userId: string;
2149
+ sipServerUrl: string | null;
2150
+ sipUserName: string | null;
2151
+ webphoneLoginUser: string | null;
2152
+ extensionId: string | null;
2153
+ extensionName: string | null;
2154
+ telephonySignature: string | null;
2155
+ createdAt?: string | undefined;
2156
+ updatedAt?: string | undefined;
2157
+ } | null | undefined;
2158
+ } | null;
2159
+ isQueueMissedCall: boolean;
1327
2160
  telephonyQueueId: string | null;
2161
+ contactId: string | null;
1328
2162
  contact?: {
1329
2163
  id: string;
1330
2164
  channel: string | null;