@dakkitor/api-contracts 1.1.129 → 1.1.131
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actives/actives.contract.d.ts +5833 -5833
- package/dist/actives/actives.contract.js +92 -92
- package/dist/bookings/bookings.contract.d.ts +22064 -22064
- package/dist/call-history/call-history.contract.d.ts +765 -717
- package/dist/call-history/call-history.contract.d.ts.map +1 -1
- package/dist/call-history/call-history.contract.js +84 -60
- package/dist/dashboards/dashboard-widgets.contract.d.ts +78 -78
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/leads/leads.contract.d.ts +160 -102
- package/dist/leads/leads.contract.d.ts.map +1 -1
- package/dist/leads/leads.contract.js +126 -116
- package/dist/own-research/own-research.contract.d.ts +1736 -0
- package/dist/own-research/own-research.contract.d.ts.map +1 -0
- package/dist/own-research/own-research.contract.js +189 -0
- package/package.json +1 -1
|
@@ -4,14 +4,21 @@
|
|
|
4
4
|
*
|
|
5
5
|
* Description: Contract definition for Call History V2 API.
|
|
6
6
|
*/
|
|
7
|
-
import { z } from
|
|
8
|
-
import { CallRating, CallRatingSchema } from
|
|
7
|
+
import { z } from "zod";
|
|
8
|
+
import { CallRating, CallRatingSchema } from "../common/call-rating.schema";
|
|
9
9
|
export { CallRating, CallRatingSchema };
|
|
10
10
|
export declare enum CallType {
|
|
11
11
|
ASSIGNMENT = "assignment",
|
|
12
12
|
AGENT_FOLLOW_UP = "agent_follow_up",
|
|
13
|
-
LEAD_CALLBACK = "lead_callback"
|
|
13
|
+
LEAD_CALLBACK = "lead_callback",
|
|
14
|
+
OWN_RESEARCH = "own_research"
|
|
14
15
|
}
|
|
16
|
+
export declare const CALL_TYPE_LABELS: Record<CallType, string>;
|
|
17
|
+
export declare enum LeadSource {
|
|
18
|
+
OWN_RESEARCH = "own_research",
|
|
19
|
+
LEADS_TABLE = "leads_table"
|
|
20
|
+
}
|
|
21
|
+
export declare const LEAD_SOURCE_LABELS: Record<LeadSource, string>;
|
|
15
22
|
export declare enum CallHistorySortableFields {
|
|
16
23
|
CREATED_AT = "createdAt",
|
|
17
24
|
CALL_DATE = "callDate",
|
|
@@ -19,6 +26,7 @@ export declare enum CallHistorySortableFields {
|
|
|
19
26
|
RATING_WEIGHT = "ratingWeight"
|
|
20
27
|
}
|
|
21
28
|
export declare const CallTypeSchema: z.ZodNativeEnum<typeof CallType>;
|
|
29
|
+
export declare const LeadSourceSchema: z.ZodNativeEnum<typeof LeadSource>;
|
|
22
30
|
export declare const CallHistorySortableFieldsSchema: z.ZodNativeEnum<typeof CallHistorySortableFields>;
|
|
23
31
|
export declare const CallHistorySchema: z.ZodObject<{
|
|
24
32
|
id: z.ZodString;
|
|
@@ -32,11 +40,11 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
32
40
|
name: z.ZodString;
|
|
33
41
|
phoneNumber: z.ZodString;
|
|
34
42
|
}, "strip", z.ZodTypeAny, {
|
|
35
|
-
phoneNumber: string;
|
|
36
43
|
name: string;
|
|
37
|
-
}, {
|
|
38
44
|
phoneNumber: string;
|
|
45
|
+
}, {
|
|
39
46
|
name: string;
|
|
47
|
+
phoneNumber: string;
|
|
40
48
|
}>>;
|
|
41
49
|
agentId: z.ZodNullable<z.ZodString>;
|
|
42
50
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -67,42 +75,42 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
67
75
|
firstName: z.ZodString;
|
|
68
76
|
lastName: z.ZodString;
|
|
69
77
|
}, "strip", z.ZodTypeAny, {
|
|
70
|
-
lastName: string;
|
|
71
|
-
firstName: string;
|
|
72
78
|
id: string;
|
|
73
|
-
}, {
|
|
74
|
-
lastName: string;
|
|
75
79
|
firstName: string;
|
|
80
|
+
lastName: string;
|
|
81
|
+
}, {
|
|
76
82
|
id: string;
|
|
83
|
+
firstName: string;
|
|
84
|
+
lastName: string;
|
|
77
85
|
}>, "many">>;
|
|
78
86
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
79
87
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
80
88
|
}, "strip", z.ZodTypeAny, {
|
|
81
|
-
|
|
89
|
+
id: string;
|
|
82
90
|
firstName: string;
|
|
91
|
+
lastName: string;
|
|
83
92
|
email: string;
|
|
84
|
-
createdAt: string;
|
|
85
|
-
id: string;
|
|
86
93
|
phoneNumbers: {
|
|
87
94
|
id: string;
|
|
88
95
|
phoneNumber: string;
|
|
89
96
|
isPrimary: boolean;
|
|
90
97
|
description?: string | null | undefined;
|
|
91
98
|
}[];
|
|
99
|
+
createdAt: string;
|
|
92
100
|
updatedAt: string;
|
|
93
101
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
94
102
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
95
103
|
canImpersonateUsers?: {
|
|
96
|
-
lastName: string;
|
|
97
|
-
firstName: string;
|
|
98
104
|
id: string;
|
|
105
|
+
firstName: string;
|
|
106
|
+
lastName: string;
|
|
99
107
|
}[] | undefined;
|
|
100
108
|
}, {
|
|
101
|
-
|
|
109
|
+
id: string;
|
|
102
110
|
firstName: string;
|
|
111
|
+
lastName: string;
|
|
103
112
|
email: string;
|
|
104
113
|
createdAt: string | Date;
|
|
105
|
-
id: string;
|
|
106
114
|
updatedAt: string | Date;
|
|
107
115
|
phoneNumbers?: {
|
|
108
116
|
id: string;
|
|
@@ -113,9 +121,9 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
113
121
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
114
122
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
115
123
|
canImpersonateUsers?: {
|
|
116
|
-
lastName: string;
|
|
117
|
-
firstName: string;
|
|
118
124
|
id: string;
|
|
125
|
+
firstName: string;
|
|
126
|
+
lastName: string;
|
|
119
127
|
}[] | undefined;
|
|
120
128
|
}>>;
|
|
121
129
|
assignedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -128,81 +136,79 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
128
136
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
129
137
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
130
138
|
}, "strip", z.ZodTypeAny, {
|
|
131
|
-
createdAt: string;
|
|
132
139
|
id: string;
|
|
133
|
-
updatedAt: string;
|
|
134
140
|
name: string;
|
|
141
|
+
createdAt: string;
|
|
142
|
+
updatedAt: string;
|
|
135
143
|
}, {
|
|
136
|
-
createdAt: string | Date;
|
|
137
144
|
id: string;
|
|
138
|
-
updatedAt: string | Date;
|
|
139
145
|
name: string;
|
|
146
|
+
createdAt: string | Date;
|
|
147
|
+
updatedAt: string | Date;
|
|
140
148
|
}>>>;
|
|
141
149
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
142
150
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
143
151
|
}, "strip", z.ZodTypeAny, {
|
|
144
|
-
createdAt: string;
|
|
145
152
|
id: string;
|
|
153
|
+
leadId: string;
|
|
154
|
+
agentId: string | null;
|
|
146
155
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
156
|
+
createdAt: string;
|
|
147
157
|
updatedAt: string;
|
|
148
|
-
agentId: string | null;
|
|
149
|
-
companyId: string | null;
|
|
150
|
-
leadId: string;
|
|
151
158
|
assignedAt: string;
|
|
152
159
|
assignedBy: string | null;
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
id: string;
|
|
156
|
-
updatedAt: string;
|
|
160
|
+
companyId: string | null;
|
|
161
|
+
lead?: {
|
|
157
162
|
name: string;
|
|
158
|
-
|
|
163
|
+
phoneNumber: string;
|
|
164
|
+
} | undefined;
|
|
159
165
|
agent?: {
|
|
160
|
-
|
|
166
|
+
id: string;
|
|
161
167
|
firstName: string;
|
|
168
|
+
lastName: string;
|
|
162
169
|
email: string;
|
|
163
|
-
createdAt: string;
|
|
164
|
-
id: string;
|
|
165
170
|
phoneNumbers: {
|
|
166
171
|
id: string;
|
|
167
172
|
phoneNumber: string;
|
|
168
173
|
isPrimary: boolean;
|
|
169
174
|
description?: string | null | undefined;
|
|
170
175
|
}[];
|
|
176
|
+
createdAt: string;
|
|
171
177
|
updatedAt: string;
|
|
172
178
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
173
179
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
174
180
|
canImpersonateUsers?: {
|
|
175
|
-
lastName: string;
|
|
176
|
-
firstName: string;
|
|
177
181
|
id: string;
|
|
182
|
+
firstName: string;
|
|
183
|
+
lastName: string;
|
|
178
184
|
}[] | undefined;
|
|
179
185
|
} | undefined;
|
|
180
|
-
|
|
181
|
-
|
|
186
|
+
company?: {
|
|
187
|
+
id: string;
|
|
182
188
|
name: string;
|
|
183
|
-
|
|
189
|
+
createdAt: string;
|
|
190
|
+
updatedAt: string;
|
|
191
|
+
} | null | undefined;
|
|
184
192
|
}, {
|
|
185
|
-
createdAt: string | Date;
|
|
186
193
|
id: string;
|
|
194
|
+
leadId: string;
|
|
195
|
+
agentId: string | null;
|
|
187
196
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
197
|
+
createdAt: string | Date;
|
|
188
198
|
updatedAt: string | Date;
|
|
189
|
-
agentId: string | null;
|
|
190
|
-
companyId: string | null;
|
|
191
|
-
leadId: string;
|
|
192
199
|
assignedAt: string | Date;
|
|
193
200
|
assignedBy: string | null;
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
id: string;
|
|
197
|
-
updatedAt: string | Date;
|
|
201
|
+
companyId: string | null;
|
|
202
|
+
lead?: {
|
|
198
203
|
name: string;
|
|
199
|
-
|
|
204
|
+
phoneNumber: string;
|
|
205
|
+
} | undefined;
|
|
200
206
|
agent?: {
|
|
201
|
-
|
|
207
|
+
id: string;
|
|
202
208
|
firstName: string;
|
|
209
|
+
lastName: string;
|
|
203
210
|
email: string;
|
|
204
211
|
createdAt: string | Date;
|
|
205
|
-
id: string;
|
|
206
212
|
updatedAt: string | Date;
|
|
207
213
|
phoneNumbers?: {
|
|
208
214
|
id: string;
|
|
@@ -213,111 +219,114 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
213
219
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
214
220
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
215
221
|
canImpersonateUsers?: {
|
|
216
|
-
lastName: string;
|
|
217
|
-
firstName: string;
|
|
218
222
|
id: string;
|
|
223
|
+
firstName: string;
|
|
224
|
+
lastName: string;
|
|
219
225
|
}[] | undefined;
|
|
220
226
|
} | undefined;
|
|
221
|
-
|
|
222
|
-
|
|
227
|
+
company?: {
|
|
228
|
+
id: string;
|
|
223
229
|
name: string;
|
|
224
|
-
|
|
230
|
+
createdAt: string | Date;
|
|
231
|
+
updatedAt: string | Date;
|
|
232
|
+
} | null | undefined;
|
|
225
233
|
}>>>;
|
|
226
234
|
callDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
227
235
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
236
|
+
leadSource: z.ZodNativeEnum<typeof LeadSource>;
|
|
228
237
|
rating: z.ZodNativeEnum<typeof CallRating>;
|
|
229
238
|
ratingWeight: z.ZodNumber;
|
|
230
239
|
notes: z.ZodNullable<z.ZodString>;
|
|
231
240
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
232
241
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
233
242
|
}, "strip", z.ZodTypeAny, {
|
|
234
|
-
createdAt: string;
|
|
235
243
|
id: string;
|
|
236
|
-
updatedAt: string;
|
|
237
|
-
rating: CallRating;
|
|
238
|
-
notes: string | null;
|
|
239
244
|
assignmentId: string;
|
|
245
|
+
createdAt: string;
|
|
246
|
+
updatedAt: string;
|
|
240
247
|
callDate: string;
|
|
241
248
|
callType: CallType;
|
|
249
|
+
leadSource: LeadSource;
|
|
250
|
+
rating: CallRating;
|
|
242
251
|
ratingWeight: number;
|
|
243
|
-
|
|
252
|
+
notes: string | null;
|
|
244
253
|
leadId?: string | undefined;
|
|
254
|
+
agentId?: string | undefined;
|
|
245
255
|
assignment?: {
|
|
246
|
-
createdAt: string;
|
|
247
256
|
id: string;
|
|
257
|
+
leadId: string;
|
|
258
|
+
agentId: string | null;
|
|
248
259
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
260
|
+
createdAt: string;
|
|
249
261
|
updatedAt: string;
|
|
250
|
-
agentId: string | null;
|
|
251
|
-
companyId: string | null;
|
|
252
|
-
leadId: string;
|
|
253
262
|
assignedAt: string;
|
|
254
263
|
assignedBy: string | null;
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
id: string;
|
|
258
|
-
updatedAt: string;
|
|
264
|
+
companyId: string | null;
|
|
265
|
+
lead?: {
|
|
259
266
|
name: string;
|
|
260
|
-
|
|
267
|
+
phoneNumber: string;
|
|
268
|
+
} | undefined;
|
|
261
269
|
agent?: {
|
|
262
|
-
|
|
270
|
+
id: string;
|
|
263
271
|
firstName: string;
|
|
272
|
+
lastName: string;
|
|
264
273
|
email: string;
|
|
265
|
-
createdAt: string;
|
|
266
|
-
id: string;
|
|
267
274
|
phoneNumbers: {
|
|
268
275
|
id: string;
|
|
269
276
|
phoneNumber: string;
|
|
270
277
|
isPrimary: boolean;
|
|
271
278
|
description?: string | null | undefined;
|
|
272
279
|
}[];
|
|
280
|
+
createdAt: string;
|
|
273
281
|
updatedAt: string;
|
|
274
282
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
275
283
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
276
284
|
canImpersonateUsers?: {
|
|
277
|
-
lastName: string;
|
|
278
|
-
firstName: string;
|
|
279
285
|
id: string;
|
|
286
|
+
firstName: string;
|
|
287
|
+
lastName: string;
|
|
280
288
|
}[] | undefined;
|
|
281
289
|
} | undefined;
|
|
282
|
-
|
|
283
|
-
|
|
290
|
+
company?: {
|
|
291
|
+
id: string;
|
|
284
292
|
name: string;
|
|
285
|
-
|
|
293
|
+
createdAt: string;
|
|
294
|
+
updatedAt: string;
|
|
295
|
+
} | null | undefined;
|
|
286
296
|
} | null | undefined;
|
|
287
297
|
}, {
|
|
288
|
-
createdAt: string | Date;
|
|
289
298
|
id: string;
|
|
290
|
-
updatedAt: string | Date;
|
|
291
|
-
rating: CallRating;
|
|
292
|
-
notes: string | null;
|
|
293
299
|
assignmentId: string;
|
|
300
|
+
createdAt: string | Date;
|
|
301
|
+
updatedAt: string | Date;
|
|
294
302
|
callDate: string | Date;
|
|
295
303
|
callType: CallType;
|
|
304
|
+
leadSource: LeadSource;
|
|
305
|
+
rating: CallRating;
|
|
296
306
|
ratingWeight: number;
|
|
297
|
-
|
|
307
|
+
notes: string | null;
|
|
298
308
|
leadId?: string | undefined;
|
|
309
|
+
agentId?: string | undefined;
|
|
299
310
|
assignment?: {
|
|
300
|
-
createdAt: string | Date;
|
|
301
311
|
id: string;
|
|
312
|
+
leadId: string;
|
|
313
|
+
agentId: string | null;
|
|
302
314
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
315
|
+
createdAt: string | Date;
|
|
303
316
|
updatedAt: string | Date;
|
|
304
|
-
agentId: string | null;
|
|
305
|
-
companyId: string | null;
|
|
306
|
-
leadId: string;
|
|
307
317
|
assignedAt: string | Date;
|
|
308
318
|
assignedBy: string | null;
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
id: string;
|
|
312
|
-
updatedAt: string | Date;
|
|
319
|
+
companyId: string | null;
|
|
320
|
+
lead?: {
|
|
313
321
|
name: string;
|
|
314
|
-
|
|
322
|
+
phoneNumber: string;
|
|
323
|
+
} | undefined;
|
|
315
324
|
agent?: {
|
|
316
|
-
|
|
325
|
+
id: string;
|
|
317
326
|
firstName: string;
|
|
327
|
+
lastName: string;
|
|
318
328
|
email: string;
|
|
319
329
|
createdAt: string | Date;
|
|
320
|
-
id: string;
|
|
321
330
|
updatedAt: string | Date;
|
|
322
331
|
phoneNumbers?: {
|
|
323
332
|
id: string;
|
|
@@ -328,15 +337,17 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
328
337
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
329
338
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
330
339
|
canImpersonateUsers?: {
|
|
331
|
-
lastName: string;
|
|
332
|
-
firstName: string;
|
|
333
340
|
id: string;
|
|
341
|
+
firstName: string;
|
|
342
|
+
lastName: string;
|
|
334
343
|
}[] | undefined;
|
|
335
344
|
} | undefined;
|
|
336
|
-
|
|
337
|
-
|
|
345
|
+
company?: {
|
|
346
|
+
id: string;
|
|
338
347
|
name: string;
|
|
339
|
-
|
|
348
|
+
createdAt: string | Date;
|
|
349
|
+
updatedAt: string | Date;
|
|
350
|
+
} | null | undefined;
|
|
340
351
|
} | null | undefined;
|
|
341
352
|
}>;
|
|
342
353
|
export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
@@ -352,11 +363,11 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
352
363
|
name: z.ZodString;
|
|
353
364
|
phoneNumber: z.ZodString;
|
|
354
365
|
}, "strip", z.ZodTypeAny, {
|
|
355
|
-
phoneNumber: string;
|
|
356
366
|
name: string;
|
|
357
|
-
}, {
|
|
358
367
|
phoneNumber: string;
|
|
368
|
+
}, {
|
|
359
369
|
name: string;
|
|
370
|
+
phoneNumber: string;
|
|
360
371
|
}>>;
|
|
361
372
|
agentId: z.ZodNullable<z.ZodString>;
|
|
362
373
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -387,42 +398,42 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
387
398
|
firstName: z.ZodString;
|
|
388
399
|
lastName: z.ZodString;
|
|
389
400
|
}, "strip", z.ZodTypeAny, {
|
|
390
|
-
lastName: string;
|
|
391
|
-
firstName: string;
|
|
392
401
|
id: string;
|
|
393
|
-
}, {
|
|
394
|
-
lastName: string;
|
|
395
402
|
firstName: string;
|
|
403
|
+
lastName: string;
|
|
404
|
+
}, {
|
|
396
405
|
id: string;
|
|
406
|
+
firstName: string;
|
|
407
|
+
lastName: string;
|
|
397
408
|
}>, "many">>;
|
|
398
409
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
399
410
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
400
411
|
}, "strip", z.ZodTypeAny, {
|
|
401
|
-
|
|
412
|
+
id: string;
|
|
402
413
|
firstName: string;
|
|
414
|
+
lastName: string;
|
|
403
415
|
email: string;
|
|
404
|
-
createdAt: string;
|
|
405
|
-
id: string;
|
|
406
416
|
phoneNumbers: {
|
|
407
417
|
id: string;
|
|
408
418
|
phoneNumber: string;
|
|
409
419
|
isPrimary: boolean;
|
|
410
420
|
description?: string | null | undefined;
|
|
411
421
|
}[];
|
|
422
|
+
createdAt: string;
|
|
412
423
|
updatedAt: string;
|
|
413
424
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
414
425
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
415
426
|
canImpersonateUsers?: {
|
|
416
|
-
lastName: string;
|
|
417
|
-
firstName: string;
|
|
418
427
|
id: string;
|
|
428
|
+
firstName: string;
|
|
429
|
+
lastName: string;
|
|
419
430
|
}[] | undefined;
|
|
420
431
|
}, {
|
|
421
|
-
|
|
432
|
+
id: string;
|
|
422
433
|
firstName: string;
|
|
434
|
+
lastName: string;
|
|
423
435
|
email: string;
|
|
424
436
|
createdAt: string | Date;
|
|
425
|
-
id: string;
|
|
426
437
|
updatedAt: string | Date;
|
|
427
438
|
phoneNumbers?: {
|
|
428
439
|
id: string;
|
|
@@ -433,9 +444,9 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
433
444
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
434
445
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
435
446
|
canImpersonateUsers?: {
|
|
436
|
-
lastName: string;
|
|
437
|
-
firstName: string;
|
|
438
447
|
id: string;
|
|
448
|
+
firstName: string;
|
|
449
|
+
lastName: string;
|
|
439
450
|
}[] | undefined;
|
|
440
451
|
}>>;
|
|
441
452
|
assignedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -448,81 +459,79 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
448
459
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
449
460
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
450
461
|
}, "strip", z.ZodTypeAny, {
|
|
451
|
-
createdAt: string;
|
|
452
462
|
id: string;
|
|
453
|
-
updatedAt: string;
|
|
454
463
|
name: string;
|
|
464
|
+
createdAt: string;
|
|
465
|
+
updatedAt: string;
|
|
455
466
|
}, {
|
|
456
|
-
createdAt: string | Date;
|
|
457
467
|
id: string;
|
|
458
|
-
updatedAt: string | Date;
|
|
459
468
|
name: string;
|
|
469
|
+
createdAt: string | Date;
|
|
470
|
+
updatedAt: string | Date;
|
|
460
471
|
}>>>;
|
|
461
472
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
462
473
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
463
474
|
}, "strip", z.ZodTypeAny, {
|
|
464
|
-
createdAt: string;
|
|
465
475
|
id: string;
|
|
476
|
+
leadId: string;
|
|
477
|
+
agentId: string | null;
|
|
466
478
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
479
|
+
createdAt: string;
|
|
467
480
|
updatedAt: string;
|
|
468
|
-
agentId: string | null;
|
|
469
|
-
companyId: string | null;
|
|
470
|
-
leadId: string;
|
|
471
481
|
assignedAt: string;
|
|
472
482
|
assignedBy: string | null;
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
id: string;
|
|
476
|
-
updatedAt: string;
|
|
483
|
+
companyId: string | null;
|
|
484
|
+
lead?: {
|
|
477
485
|
name: string;
|
|
478
|
-
|
|
486
|
+
phoneNumber: string;
|
|
487
|
+
} | undefined;
|
|
479
488
|
agent?: {
|
|
480
|
-
|
|
489
|
+
id: string;
|
|
481
490
|
firstName: string;
|
|
491
|
+
lastName: string;
|
|
482
492
|
email: string;
|
|
483
|
-
createdAt: string;
|
|
484
|
-
id: string;
|
|
485
493
|
phoneNumbers: {
|
|
486
494
|
id: string;
|
|
487
495
|
phoneNumber: string;
|
|
488
496
|
isPrimary: boolean;
|
|
489
497
|
description?: string | null | undefined;
|
|
490
498
|
}[];
|
|
499
|
+
createdAt: string;
|
|
491
500
|
updatedAt: string;
|
|
492
501
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
493
502
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
494
503
|
canImpersonateUsers?: {
|
|
495
|
-
lastName: string;
|
|
496
|
-
firstName: string;
|
|
497
504
|
id: string;
|
|
505
|
+
firstName: string;
|
|
506
|
+
lastName: string;
|
|
498
507
|
}[] | undefined;
|
|
499
508
|
} | undefined;
|
|
500
|
-
|
|
501
|
-
|
|
509
|
+
company?: {
|
|
510
|
+
id: string;
|
|
502
511
|
name: string;
|
|
503
|
-
|
|
512
|
+
createdAt: string;
|
|
513
|
+
updatedAt: string;
|
|
514
|
+
} | null | undefined;
|
|
504
515
|
}, {
|
|
505
|
-
createdAt: string | Date;
|
|
506
516
|
id: string;
|
|
517
|
+
leadId: string;
|
|
518
|
+
agentId: string | null;
|
|
507
519
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
520
|
+
createdAt: string | Date;
|
|
508
521
|
updatedAt: string | Date;
|
|
509
|
-
agentId: string | null;
|
|
510
|
-
companyId: string | null;
|
|
511
|
-
leadId: string;
|
|
512
522
|
assignedAt: string | Date;
|
|
513
523
|
assignedBy: string | null;
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
id: string;
|
|
517
|
-
updatedAt: string | Date;
|
|
524
|
+
companyId: string | null;
|
|
525
|
+
lead?: {
|
|
518
526
|
name: string;
|
|
519
|
-
|
|
527
|
+
phoneNumber: string;
|
|
528
|
+
} | undefined;
|
|
520
529
|
agent?: {
|
|
521
|
-
|
|
530
|
+
id: string;
|
|
522
531
|
firstName: string;
|
|
532
|
+
lastName: string;
|
|
523
533
|
email: string;
|
|
524
534
|
createdAt: string | Date;
|
|
525
|
-
id: string;
|
|
526
535
|
updatedAt: string | Date;
|
|
527
536
|
phoneNumbers?: {
|
|
528
537
|
id: string;
|
|
@@ -533,111 +542,114 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
533
542
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
534
543
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
535
544
|
canImpersonateUsers?: {
|
|
536
|
-
lastName: string;
|
|
537
|
-
firstName: string;
|
|
538
545
|
id: string;
|
|
546
|
+
firstName: string;
|
|
547
|
+
lastName: string;
|
|
539
548
|
}[] | undefined;
|
|
540
549
|
} | undefined;
|
|
541
|
-
|
|
542
|
-
|
|
550
|
+
company?: {
|
|
551
|
+
id: string;
|
|
543
552
|
name: string;
|
|
544
|
-
|
|
553
|
+
createdAt: string | Date;
|
|
554
|
+
updatedAt: string | Date;
|
|
555
|
+
} | null | undefined;
|
|
545
556
|
}>>>;
|
|
546
557
|
callDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
547
558
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
559
|
+
leadSource: z.ZodNativeEnum<typeof LeadSource>;
|
|
548
560
|
rating: z.ZodNativeEnum<typeof CallRating>;
|
|
549
561
|
ratingWeight: z.ZodNumber;
|
|
550
562
|
notes: z.ZodNullable<z.ZodString>;
|
|
551
563
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
552
564
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
553
565
|
}, "strip", z.ZodTypeAny, {
|
|
554
|
-
createdAt: string;
|
|
555
566
|
id: string;
|
|
556
|
-
updatedAt: string;
|
|
557
|
-
rating: CallRating;
|
|
558
|
-
notes: string | null;
|
|
559
567
|
assignmentId: string;
|
|
568
|
+
createdAt: string;
|
|
569
|
+
updatedAt: string;
|
|
560
570
|
callDate: string;
|
|
561
571
|
callType: CallType;
|
|
572
|
+
leadSource: LeadSource;
|
|
573
|
+
rating: CallRating;
|
|
562
574
|
ratingWeight: number;
|
|
563
|
-
|
|
575
|
+
notes: string | null;
|
|
564
576
|
leadId?: string | undefined;
|
|
577
|
+
agentId?: string | undefined;
|
|
565
578
|
assignment?: {
|
|
566
|
-
createdAt: string;
|
|
567
579
|
id: string;
|
|
580
|
+
leadId: string;
|
|
581
|
+
agentId: string | null;
|
|
568
582
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
583
|
+
createdAt: string;
|
|
569
584
|
updatedAt: string;
|
|
570
|
-
agentId: string | null;
|
|
571
|
-
companyId: string | null;
|
|
572
|
-
leadId: string;
|
|
573
585
|
assignedAt: string;
|
|
574
586
|
assignedBy: string | null;
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
id: string;
|
|
578
|
-
updatedAt: string;
|
|
587
|
+
companyId: string | null;
|
|
588
|
+
lead?: {
|
|
579
589
|
name: string;
|
|
580
|
-
|
|
590
|
+
phoneNumber: string;
|
|
591
|
+
} | undefined;
|
|
581
592
|
agent?: {
|
|
582
|
-
|
|
593
|
+
id: string;
|
|
583
594
|
firstName: string;
|
|
595
|
+
lastName: string;
|
|
584
596
|
email: string;
|
|
585
|
-
createdAt: string;
|
|
586
|
-
id: string;
|
|
587
597
|
phoneNumbers: {
|
|
588
598
|
id: string;
|
|
589
599
|
phoneNumber: string;
|
|
590
600
|
isPrimary: boolean;
|
|
591
601
|
description?: string | null | undefined;
|
|
592
602
|
}[];
|
|
603
|
+
createdAt: string;
|
|
593
604
|
updatedAt: string;
|
|
594
605
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
595
606
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
596
607
|
canImpersonateUsers?: {
|
|
597
|
-
lastName: string;
|
|
598
|
-
firstName: string;
|
|
599
608
|
id: string;
|
|
609
|
+
firstName: string;
|
|
610
|
+
lastName: string;
|
|
600
611
|
}[] | undefined;
|
|
601
612
|
} | undefined;
|
|
602
|
-
|
|
603
|
-
|
|
613
|
+
company?: {
|
|
614
|
+
id: string;
|
|
604
615
|
name: string;
|
|
605
|
-
|
|
616
|
+
createdAt: string;
|
|
617
|
+
updatedAt: string;
|
|
618
|
+
} | null | undefined;
|
|
606
619
|
} | null | undefined;
|
|
607
620
|
}, {
|
|
608
|
-
createdAt: string | Date;
|
|
609
621
|
id: string;
|
|
610
|
-
updatedAt: string | Date;
|
|
611
|
-
rating: CallRating;
|
|
612
|
-
notes: string | null;
|
|
613
622
|
assignmentId: string;
|
|
623
|
+
createdAt: string | Date;
|
|
624
|
+
updatedAt: string | Date;
|
|
614
625
|
callDate: string | Date;
|
|
615
626
|
callType: CallType;
|
|
627
|
+
leadSource: LeadSource;
|
|
628
|
+
rating: CallRating;
|
|
616
629
|
ratingWeight: number;
|
|
617
|
-
|
|
630
|
+
notes: string | null;
|
|
618
631
|
leadId?: string | undefined;
|
|
632
|
+
agentId?: string | undefined;
|
|
619
633
|
assignment?: {
|
|
620
|
-
createdAt: string | Date;
|
|
621
634
|
id: string;
|
|
635
|
+
leadId: string;
|
|
636
|
+
agentId: string | null;
|
|
622
637
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
638
|
+
createdAt: string | Date;
|
|
623
639
|
updatedAt: string | Date;
|
|
624
|
-
agentId: string | null;
|
|
625
|
-
companyId: string | null;
|
|
626
|
-
leadId: string;
|
|
627
640
|
assignedAt: string | Date;
|
|
628
641
|
assignedBy: string | null;
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
id: string;
|
|
632
|
-
updatedAt: string | Date;
|
|
642
|
+
companyId: string | null;
|
|
643
|
+
lead?: {
|
|
633
644
|
name: string;
|
|
634
|
-
|
|
645
|
+
phoneNumber: string;
|
|
646
|
+
} | undefined;
|
|
635
647
|
agent?: {
|
|
636
|
-
|
|
648
|
+
id: string;
|
|
637
649
|
firstName: string;
|
|
650
|
+
lastName: string;
|
|
638
651
|
email: string;
|
|
639
652
|
createdAt: string | Date;
|
|
640
|
-
id: string;
|
|
641
653
|
updatedAt: string | Date;
|
|
642
654
|
phoneNumbers?: {
|
|
643
655
|
id: string;
|
|
@@ -648,15 +660,17 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
648
660
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
649
661
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
650
662
|
canImpersonateUsers?: {
|
|
651
|
-
lastName: string;
|
|
652
|
-
firstName: string;
|
|
653
663
|
id: string;
|
|
664
|
+
firstName: string;
|
|
665
|
+
lastName: string;
|
|
654
666
|
}[] | undefined;
|
|
655
667
|
} | undefined;
|
|
656
|
-
|
|
657
|
-
|
|
668
|
+
company?: {
|
|
669
|
+
id: string;
|
|
658
670
|
name: string;
|
|
659
|
-
|
|
671
|
+
createdAt: string | Date;
|
|
672
|
+
updatedAt: string | Date;
|
|
673
|
+
} | null | undefined;
|
|
660
674
|
} | null | undefined;
|
|
661
675
|
}>, "many">;
|
|
662
676
|
totalCount: z.ZodNumber;
|
|
@@ -665,102 +679,101 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
665
679
|
currentPage: z.ZodNumber;
|
|
666
680
|
totalPages: z.ZodNumber;
|
|
667
681
|
}, "strip", z.ZodTypeAny, {
|
|
668
|
-
limit: number;
|
|
669
682
|
items: {
|
|
670
|
-
createdAt: string;
|
|
671
683
|
id: string;
|
|
672
|
-
updatedAt: string;
|
|
673
|
-
rating: CallRating;
|
|
674
|
-
notes: string | null;
|
|
675
684
|
assignmentId: string;
|
|
685
|
+
createdAt: string;
|
|
686
|
+
updatedAt: string;
|
|
676
687
|
callDate: string;
|
|
677
688
|
callType: CallType;
|
|
689
|
+
leadSource: LeadSource;
|
|
690
|
+
rating: CallRating;
|
|
678
691
|
ratingWeight: number;
|
|
679
|
-
|
|
692
|
+
notes: string | null;
|
|
680
693
|
leadId?: string | undefined;
|
|
694
|
+
agentId?: string | undefined;
|
|
681
695
|
assignment?: {
|
|
682
|
-
createdAt: string;
|
|
683
696
|
id: string;
|
|
697
|
+
leadId: string;
|
|
698
|
+
agentId: string | null;
|
|
684
699
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
700
|
+
createdAt: string;
|
|
685
701
|
updatedAt: string;
|
|
686
|
-
agentId: string | null;
|
|
687
|
-
companyId: string | null;
|
|
688
|
-
leadId: string;
|
|
689
702
|
assignedAt: string;
|
|
690
703
|
assignedBy: string | null;
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
id: string;
|
|
694
|
-
updatedAt: string;
|
|
704
|
+
companyId: string | null;
|
|
705
|
+
lead?: {
|
|
695
706
|
name: string;
|
|
696
|
-
|
|
707
|
+
phoneNumber: string;
|
|
708
|
+
} | undefined;
|
|
697
709
|
agent?: {
|
|
698
|
-
|
|
710
|
+
id: string;
|
|
699
711
|
firstName: string;
|
|
712
|
+
lastName: string;
|
|
700
713
|
email: string;
|
|
701
|
-
createdAt: string;
|
|
702
|
-
id: string;
|
|
703
714
|
phoneNumbers: {
|
|
704
715
|
id: string;
|
|
705
716
|
phoneNumber: string;
|
|
706
717
|
isPrimary: boolean;
|
|
707
718
|
description?: string | null | undefined;
|
|
708
719
|
}[];
|
|
720
|
+
createdAt: string;
|
|
709
721
|
updatedAt: string;
|
|
710
722
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
711
723
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
712
724
|
canImpersonateUsers?: {
|
|
713
|
-
lastName: string;
|
|
714
|
-
firstName: string;
|
|
715
725
|
id: string;
|
|
726
|
+
firstName: string;
|
|
727
|
+
lastName: string;
|
|
716
728
|
}[] | undefined;
|
|
717
729
|
} | undefined;
|
|
718
|
-
|
|
719
|
-
|
|
730
|
+
company?: {
|
|
731
|
+
id: string;
|
|
720
732
|
name: string;
|
|
721
|
-
|
|
733
|
+
createdAt: string;
|
|
734
|
+
updatedAt: string;
|
|
735
|
+
} | null | undefined;
|
|
722
736
|
} | null | undefined;
|
|
723
737
|
}[];
|
|
724
738
|
totalCount: number;
|
|
739
|
+
limit: number;
|
|
725
740
|
skip: number;
|
|
726
741
|
currentPage: number;
|
|
727
742
|
totalPages: number;
|
|
728
743
|
}, {
|
|
729
|
-
limit: number;
|
|
730
744
|
items: {
|
|
731
|
-
createdAt: string | Date;
|
|
732
745
|
id: string;
|
|
733
|
-
updatedAt: string | Date;
|
|
734
|
-
rating: CallRating;
|
|
735
|
-
notes: string | null;
|
|
736
746
|
assignmentId: string;
|
|
747
|
+
createdAt: string | Date;
|
|
748
|
+
updatedAt: string | Date;
|
|
737
749
|
callDate: string | Date;
|
|
738
750
|
callType: CallType;
|
|
751
|
+
leadSource: LeadSource;
|
|
752
|
+
rating: CallRating;
|
|
739
753
|
ratingWeight: number;
|
|
740
|
-
|
|
754
|
+
notes: string | null;
|
|
741
755
|
leadId?: string | undefined;
|
|
756
|
+
agentId?: string | undefined;
|
|
742
757
|
assignment?: {
|
|
743
|
-
createdAt: string | Date;
|
|
744
758
|
id: string;
|
|
759
|
+
leadId: string;
|
|
760
|
+
agentId: string | null;
|
|
745
761
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
762
|
+
createdAt: string | Date;
|
|
746
763
|
updatedAt: string | Date;
|
|
747
|
-
agentId: string | null;
|
|
748
|
-
companyId: string | null;
|
|
749
|
-
leadId: string;
|
|
750
764
|
assignedAt: string | Date;
|
|
751
765
|
assignedBy: string | null;
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
id: string;
|
|
755
|
-
updatedAt: string | Date;
|
|
766
|
+
companyId: string | null;
|
|
767
|
+
lead?: {
|
|
756
768
|
name: string;
|
|
757
|
-
|
|
769
|
+
phoneNumber: string;
|
|
770
|
+
} | undefined;
|
|
758
771
|
agent?: {
|
|
759
|
-
|
|
772
|
+
id: string;
|
|
760
773
|
firstName: string;
|
|
774
|
+
lastName: string;
|
|
761
775
|
email: string;
|
|
762
776
|
createdAt: string | Date;
|
|
763
|
-
id: string;
|
|
764
777
|
updatedAt: string | Date;
|
|
765
778
|
phoneNumbers?: {
|
|
766
779
|
id: string;
|
|
@@ -771,18 +784,21 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
771
784
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
772
785
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
773
786
|
canImpersonateUsers?: {
|
|
774
|
-
lastName: string;
|
|
775
|
-
firstName: string;
|
|
776
787
|
id: string;
|
|
788
|
+
firstName: string;
|
|
789
|
+
lastName: string;
|
|
777
790
|
}[] | undefined;
|
|
778
791
|
} | undefined;
|
|
779
|
-
|
|
780
|
-
|
|
792
|
+
company?: {
|
|
793
|
+
id: string;
|
|
781
794
|
name: string;
|
|
782
|
-
|
|
795
|
+
createdAt: string | Date;
|
|
796
|
+
updatedAt: string | Date;
|
|
797
|
+
} | null | undefined;
|
|
783
798
|
} | null | undefined;
|
|
784
799
|
}[];
|
|
785
800
|
totalCount: number;
|
|
801
|
+
limit: number;
|
|
786
802
|
skip: number;
|
|
787
803
|
currentPage: number;
|
|
788
804
|
totalPages: number;
|
|
@@ -793,14 +809,14 @@ export declare const CreateCallHistorySchema: z.ZodObject<{
|
|
|
793
809
|
notes: z.ZodOptional<z.ZodString>;
|
|
794
810
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
795
811
|
}, "strip", z.ZodTypeAny, {
|
|
796
|
-
rating: CallRating;
|
|
797
812
|
assignmentId: string;
|
|
798
813
|
callType: CallType;
|
|
814
|
+
rating: CallRating;
|
|
799
815
|
notes?: string | undefined;
|
|
800
816
|
}, {
|
|
801
|
-
rating: CallRating;
|
|
802
817
|
assignmentId: string;
|
|
803
818
|
callType: CallType;
|
|
819
|
+
rating: CallRating;
|
|
804
820
|
notes?: string | undefined;
|
|
805
821
|
}>;
|
|
806
822
|
export declare const UpdateCallHistorySchema: z.ZodObject<{
|
|
@@ -808,18 +824,28 @@ export declare const UpdateCallHistorySchema: z.ZodObject<{
|
|
|
808
824
|
rating: z.ZodOptional<z.ZodNativeEnum<typeof CallRating>>;
|
|
809
825
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
810
826
|
}, "strip", z.ZodTypeAny, {
|
|
827
|
+
callDate?: string | undefined;
|
|
811
828
|
rating?: CallRating | undefined;
|
|
812
829
|
notes?: string | null | undefined;
|
|
813
|
-
callDate?: string | undefined;
|
|
814
830
|
}, {
|
|
831
|
+
callDate?: string | undefined;
|
|
815
832
|
rating?: CallRating | undefined;
|
|
816
833
|
notes?: string | null | undefined;
|
|
817
|
-
callDate?: string | undefined;
|
|
818
834
|
}>;
|
|
819
835
|
export declare const FilterCallHistorySchema: z.ZodObject<{
|
|
820
836
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
821
837
|
page: z.ZodDefault<z.ZodNumber>;
|
|
822
838
|
} & {
|
|
839
|
+
callDate: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
840
|
+
from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
841
|
+
to: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
842
|
+
}, "strip", z.ZodTypeAny, {
|
|
843
|
+
from?: string | null | undefined;
|
|
844
|
+
to?: string | null | undefined;
|
|
845
|
+
}, {
|
|
846
|
+
from?: string | null | undefined;
|
|
847
|
+
to?: string | null | undefined;
|
|
848
|
+
}>>>;
|
|
823
849
|
agentId: z.ZodOptional<z.ZodString>;
|
|
824
850
|
companyId: z.ZodOptional<z.ZodString>;
|
|
825
851
|
rating: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
@@ -833,50 +859,49 @@ export declare const FilterCallHistorySchema: z.ZodObject<{
|
|
|
833
859
|
to?: unknown;
|
|
834
860
|
}>>>;
|
|
835
861
|
callType: z.ZodOptional<z.ZodNativeEnum<typeof CallType>>;
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
}, "strip", z.ZodTypeAny, {
|
|
840
|
-
from?: string | null | undefined;
|
|
841
|
-
to?: string | null | undefined;
|
|
842
|
-
}, {
|
|
843
|
-
from?: string | null | undefined;
|
|
844
|
-
to?: string | null | undefined;
|
|
845
|
-
}>>>;
|
|
862
|
+
leadSource: z.ZodOptional<z.ZodNativeEnum<typeof LeadSource>>;
|
|
863
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
864
|
+
leadName: z.ZodOptional<z.ZodString>;
|
|
846
865
|
sortBy: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof CallHistorySortableFields>>>;
|
|
847
866
|
sortOrder: z.ZodOptional<z.ZodDefault<z.ZodEnum<["ASC", "DESC"]>>>;
|
|
848
867
|
}, "strip", z.ZodTypeAny, {
|
|
849
868
|
limit: number;
|
|
850
869
|
page: number;
|
|
851
|
-
sortBy?: CallHistorySortableFields | undefined;
|
|
852
|
-
sortOrder?: "ASC" | "DESC" | undefined;
|
|
853
870
|
agentId?: string | undefined;
|
|
871
|
+
phoneNumber?: string | undefined;
|
|
854
872
|
companyId?: string | undefined;
|
|
855
|
-
rating?: {
|
|
856
|
-
from?: CallRating | null | undefined;
|
|
857
|
-
to?: CallRating | null | undefined;
|
|
858
|
-
} | null | undefined;
|
|
859
873
|
callDate?: {
|
|
860
874
|
from?: string | null | undefined;
|
|
861
875
|
to?: string | null | undefined;
|
|
862
876
|
} | null | undefined;
|
|
863
877
|
callType?: CallType | undefined;
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
878
|
+
leadSource?: LeadSource | undefined;
|
|
879
|
+
rating?: {
|
|
880
|
+
from?: CallRating | null | undefined;
|
|
881
|
+
to?: CallRating | null | undefined;
|
|
882
|
+
} | null | undefined;
|
|
883
|
+
leadName?: string | undefined;
|
|
867
884
|
sortBy?: CallHistorySortableFields | undefined;
|
|
868
885
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
886
|
+
}, {
|
|
869
887
|
agentId?: string | undefined;
|
|
888
|
+
phoneNumber?: string | undefined;
|
|
870
889
|
companyId?: string | undefined;
|
|
871
|
-
rating?: {
|
|
872
|
-
from?: unknown;
|
|
873
|
-
to?: unknown;
|
|
874
|
-
} | null | undefined;
|
|
875
890
|
callDate?: {
|
|
876
891
|
from?: string | null | undefined;
|
|
877
892
|
to?: string | null | undefined;
|
|
878
893
|
} | null | undefined;
|
|
879
894
|
callType?: CallType | undefined;
|
|
895
|
+
leadSource?: LeadSource | undefined;
|
|
896
|
+
rating?: {
|
|
897
|
+
from?: unknown;
|
|
898
|
+
to?: unknown;
|
|
899
|
+
} | null | undefined;
|
|
900
|
+
limit?: number | undefined;
|
|
901
|
+
page?: number | undefined;
|
|
902
|
+
leadName?: string | undefined;
|
|
903
|
+
sortBy?: CallHistorySortableFields | undefined;
|
|
904
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
880
905
|
}>;
|
|
881
906
|
export declare const CallHistoryStatsSchema: z.ZodObject<{
|
|
882
907
|
totalCalls: z.ZodNumber;
|
|
@@ -910,14 +935,14 @@ export declare const callHistoryContract: {
|
|
|
910
935
|
notes: z.ZodOptional<z.ZodString>;
|
|
911
936
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
912
937
|
}, "strip", z.ZodTypeAny, {
|
|
913
|
-
rating: CallRating;
|
|
914
938
|
assignmentId: string;
|
|
915
939
|
callType: CallType;
|
|
940
|
+
rating: CallRating;
|
|
916
941
|
notes?: string | undefined;
|
|
917
942
|
}, {
|
|
918
|
-
rating: CallRating;
|
|
919
943
|
assignmentId: string;
|
|
920
944
|
callType: CallType;
|
|
945
|
+
rating: CallRating;
|
|
921
946
|
notes?: string | undefined;
|
|
922
947
|
}>;
|
|
923
948
|
path: "/v2/call-history";
|
|
@@ -1034,11 +1059,11 @@ export declare const callHistoryContract: {
|
|
|
1034
1059
|
name: z.ZodString;
|
|
1035
1060
|
phoneNumber: z.ZodString;
|
|
1036
1061
|
}, "strip", z.ZodTypeAny, {
|
|
1037
|
-
phoneNumber: string;
|
|
1038
1062
|
name: string;
|
|
1039
|
-
}, {
|
|
1040
1063
|
phoneNumber: string;
|
|
1064
|
+
}, {
|
|
1041
1065
|
name: string;
|
|
1066
|
+
phoneNumber: string;
|
|
1042
1067
|
}>>;
|
|
1043
1068
|
agentId: z.ZodNullable<z.ZodString>;
|
|
1044
1069
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -1069,42 +1094,42 @@ export declare const callHistoryContract: {
|
|
|
1069
1094
|
firstName: z.ZodString;
|
|
1070
1095
|
lastName: z.ZodString;
|
|
1071
1096
|
}, "strip", z.ZodTypeAny, {
|
|
1072
|
-
lastName: string;
|
|
1073
|
-
firstName: string;
|
|
1074
1097
|
id: string;
|
|
1075
|
-
}, {
|
|
1076
|
-
lastName: string;
|
|
1077
1098
|
firstName: string;
|
|
1099
|
+
lastName: string;
|
|
1100
|
+
}, {
|
|
1078
1101
|
id: string;
|
|
1102
|
+
firstName: string;
|
|
1103
|
+
lastName: string;
|
|
1079
1104
|
}>, "many">>;
|
|
1080
1105
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1081
1106
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1082
1107
|
}, "strip", z.ZodTypeAny, {
|
|
1083
|
-
|
|
1108
|
+
id: string;
|
|
1084
1109
|
firstName: string;
|
|
1110
|
+
lastName: string;
|
|
1085
1111
|
email: string;
|
|
1086
|
-
createdAt: string;
|
|
1087
|
-
id: string;
|
|
1088
1112
|
phoneNumbers: {
|
|
1089
1113
|
id: string;
|
|
1090
1114
|
phoneNumber: string;
|
|
1091
1115
|
isPrimary: boolean;
|
|
1092
1116
|
description?: string | null | undefined;
|
|
1093
1117
|
}[];
|
|
1118
|
+
createdAt: string;
|
|
1094
1119
|
updatedAt: string;
|
|
1095
1120
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1096
1121
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1097
1122
|
canImpersonateUsers?: {
|
|
1098
|
-
lastName: string;
|
|
1099
|
-
firstName: string;
|
|
1100
1123
|
id: string;
|
|
1124
|
+
firstName: string;
|
|
1125
|
+
lastName: string;
|
|
1101
1126
|
}[] | undefined;
|
|
1102
1127
|
}, {
|
|
1103
|
-
|
|
1128
|
+
id: string;
|
|
1104
1129
|
firstName: string;
|
|
1130
|
+
lastName: string;
|
|
1105
1131
|
email: string;
|
|
1106
1132
|
createdAt: string | Date;
|
|
1107
|
-
id: string;
|
|
1108
1133
|
updatedAt: string | Date;
|
|
1109
1134
|
phoneNumbers?: {
|
|
1110
1135
|
id: string;
|
|
@@ -1115,9 +1140,9 @@ export declare const callHistoryContract: {
|
|
|
1115
1140
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1116
1141
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1117
1142
|
canImpersonateUsers?: {
|
|
1118
|
-
lastName: string;
|
|
1119
|
-
firstName: string;
|
|
1120
1143
|
id: string;
|
|
1144
|
+
firstName: string;
|
|
1145
|
+
lastName: string;
|
|
1121
1146
|
}[] | undefined;
|
|
1122
1147
|
}>>;
|
|
1123
1148
|
assignedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -1130,81 +1155,79 @@ export declare const callHistoryContract: {
|
|
|
1130
1155
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1131
1156
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1132
1157
|
}, "strip", z.ZodTypeAny, {
|
|
1133
|
-
createdAt: string;
|
|
1134
1158
|
id: string;
|
|
1135
|
-
updatedAt: string;
|
|
1136
1159
|
name: string;
|
|
1160
|
+
createdAt: string;
|
|
1161
|
+
updatedAt: string;
|
|
1137
1162
|
}, {
|
|
1138
|
-
createdAt: string | Date;
|
|
1139
1163
|
id: string;
|
|
1140
|
-
updatedAt: string | Date;
|
|
1141
1164
|
name: string;
|
|
1165
|
+
createdAt: string | Date;
|
|
1166
|
+
updatedAt: string | Date;
|
|
1142
1167
|
}>>>;
|
|
1143
1168
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1144
1169
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1145
1170
|
}, "strip", z.ZodTypeAny, {
|
|
1146
|
-
createdAt: string;
|
|
1147
1171
|
id: string;
|
|
1172
|
+
leadId: string;
|
|
1173
|
+
agentId: string | null;
|
|
1148
1174
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1175
|
+
createdAt: string;
|
|
1149
1176
|
updatedAt: string;
|
|
1150
|
-
agentId: string | null;
|
|
1151
|
-
companyId: string | null;
|
|
1152
|
-
leadId: string;
|
|
1153
1177
|
assignedAt: string;
|
|
1154
1178
|
assignedBy: string | null;
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
id: string;
|
|
1158
|
-
updatedAt: string;
|
|
1179
|
+
companyId: string | null;
|
|
1180
|
+
lead?: {
|
|
1159
1181
|
name: string;
|
|
1160
|
-
|
|
1182
|
+
phoneNumber: string;
|
|
1183
|
+
} | undefined;
|
|
1161
1184
|
agent?: {
|
|
1162
|
-
|
|
1185
|
+
id: string;
|
|
1163
1186
|
firstName: string;
|
|
1187
|
+
lastName: string;
|
|
1164
1188
|
email: string;
|
|
1165
|
-
createdAt: string;
|
|
1166
|
-
id: string;
|
|
1167
1189
|
phoneNumbers: {
|
|
1168
1190
|
id: string;
|
|
1169
1191
|
phoneNumber: string;
|
|
1170
1192
|
isPrimary: boolean;
|
|
1171
1193
|
description?: string | null | undefined;
|
|
1172
1194
|
}[];
|
|
1195
|
+
createdAt: string;
|
|
1173
1196
|
updatedAt: string;
|
|
1174
1197
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1175
1198
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1176
1199
|
canImpersonateUsers?: {
|
|
1177
|
-
lastName: string;
|
|
1178
|
-
firstName: string;
|
|
1179
1200
|
id: string;
|
|
1201
|
+
firstName: string;
|
|
1202
|
+
lastName: string;
|
|
1180
1203
|
}[] | undefined;
|
|
1181
1204
|
} | undefined;
|
|
1182
|
-
|
|
1183
|
-
|
|
1205
|
+
company?: {
|
|
1206
|
+
id: string;
|
|
1184
1207
|
name: string;
|
|
1185
|
-
|
|
1208
|
+
createdAt: string;
|
|
1209
|
+
updatedAt: string;
|
|
1210
|
+
} | null | undefined;
|
|
1186
1211
|
}, {
|
|
1187
|
-
createdAt: string | Date;
|
|
1188
1212
|
id: string;
|
|
1213
|
+
leadId: string;
|
|
1214
|
+
agentId: string | null;
|
|
1189
1215
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1216
|
+
createdAt: string | Date;
|
|
1190
1217
|
updatedAt: string | Date;
|
|
1191
|
-
agentId: string | null;
|
|
1192
|
-
companyId: string | null;
|
|
1193
|
-
leadId: string;
|
|
1194
1218
|
assignedAt: string | Date;
|
|
1195
1219
|
assignedBy: string | null;
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
id: string;
|
|
1199
|
-
updatedAt: string | Date;
|
|
1220
|
+
companyId: string | null;
|
|
1221
|
+
lead?: {
|
|
1200
1222
|
name: string;
|
|
1201
|
-
|
|
1223
|
+
phoneNumber: string;
|
|
1224
|
+
} | undefined;
|
|
1202
1225
|
agent?: {
|
|
1203
|
-
|
|
1226
|
+
id: string;
|
|
1204
1227
|
firstName: string;
|
|
1228
|
+
lastName: string;
|
|
1205
1229
|
email: string;
|
|
1206
1230
|
createdAt: string | Date;
|
|
1207
|
-
id: string;
|
|
1208
1231
|
updatedAt: string | Date;
|
|
1209
1232
|
phoneNumbers?: {
|
|
1210
1233
|
id: string;
|
|
@@ -1215,111 +1238,114 @@ export declare const callHistoryContract: {
|
|
|
1215
1238
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1216
1239
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1217
1240
|
canImpersonateUsers?: {
|
|
1218
|
-
lastName: string;
|
|
1219
|
-
firstName: string;
|
|
1220
1241
|
id: string;
|
|
1242
|
+
firstName: string;
|
|
1243
|
+
lastName: string;
|
|
1221
1244
|
}[] | undefined;
|
|
1222
1245
|
} | undefined;
|
|
1223
|
-
|
|
1224
|
-
|
|
1246
|
+
company?: {
|
|
1247
|
+
id: string;
|
|
1225
1248
|
name: string;
|
|
1226
|
-
|
|
1249
|
+
createdAt: string | Date;
|
|
1250
|
+
updatedAt: string | Date;
|
|
1251
|
+
} | null | undefined;
|
|
1227
1252
|
}>>>;
|
|
1228
1253
|
callDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1229
1254
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
1255
|
+
leadSource: z.ZodNativeEnum<typeof LeadSource>;
|
|
1230
1256
|
rating: z.ZodNativeEnum<typeof CallRating>;
|
|
1231
1257
|
ratingWeight: z.ZodNumber;
|
|
1232
1258
|
notes: z.ZodNullable<z.ZodString>;
|
|
1233
1259
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1234
1260
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1235
1261
|
}, "strip", z.ZodTypeAny, {
|
|
1236
|
-
createdAt: string;
|
|
1237
1262
|
id: string;
|
|
1238
|
-
updatedAt: string;
|
|
1239
|
-
rating: CallRating;
|
|
1240
|
-
notes: string | null;
|
|
1241
1263
|
assignmentId: string;
|
|
1264
|
+
createdAt: string;
|
|
1265
|
+
updatedAt: string;
|
|
1242
1266
|
callDate: string;
|
|
1243
1267
|
callType: CallType;
|
|
1268
|
+
leadSource: LeadSource;
|
|
1269
|
+
rating: CallRating;
|
|
1244
1270
|
ratingWeight: number;
|
|
1245
|
-
|
|
1271
|
+
notes: string | null;
|
|
1246
1272
|
leadId?: string | undefined;
|
|
1273
|
+
agentId?: string | undefined;
|
|
1247
1274
|
assignment?: {
|
|
1248
|
-
createdAt: string;
|
|
1249
1275
|
id: string;
|
|
1276
|
+
leadId: string;
|
|
1277
|
+
agentId: string | null;
|
|
1250
1278
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1279
|
+
createdAt: string;
|
|
1251
1280
|
updatedAt: string;
|
|
1252
|
-
agentId: string | null;
|
|
1253
|
-
companyId: string | null;
|
|
1254
|
-
leadId: string;
|
|
1255
1281
|
assignedAt: string;
|
|
1256
1282
|
assignedBy: string | null;
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
id: string;
|
|
1260
|
-
updatedAt: string;
|
|
1283
|
+
companyId: string | null;
|
|
1284
|
+
lead?: {
|
|
1261
1285
|
name: string;
|
|
1262
|
-
|
|
1286
|
+
phoneNumber: string;
|
|
1287
|
+
} | undefined;
|
|
1263
1288
|
agent?: {
|
|
1264
|
-
|
|
1289
|
+
id: string;
|
|
1265
1290
|
firstName: string;
|
|
1291
|
+
lastName: string;
|
|
1266
1292
|
email: string;
|
|
1267
|
-
createdAt: string;
|
|
1268
|
-
id: string;
|
|
1269
1293
|
phoneNumbers: {
|
|
1270
1294
|
id: string;
|
|
1271
1295
|
phoneNumber: string;
|
|
1272
1296
|
isPrimary: boolean;
|
|
1273
1297
|
description?: string | null | undefined;
|
|
1274
1298
|
}[];
|
|
1299
|
+
createdAt: string;
|
|
1275
1300
|
updatedAt: string;
|
|
1276
1301
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1277
1302
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1278
1303
|
canImpersonateUsers?: {
|
|
1279
|
-
lastName: string;
|
|
1280
|
-
firstName: string;
|
|
1281
1304
|
id: string;
|
|
1305
|
+
firstName: string;
|
|
1306
|
+
lastName: string;
|
|
1282
1307
|
}[] | undefined;
|
|
1283
1308
|
} | undefined;
|
|
1284
|
-
|
|
1285
|
-
|
|
1309
|
+
company?: {
|
|
1310
|
+
id: string;
|
|
1286
1311
|
name: string;
|
|
1287
|
-
|
|
1312
|
+
createdAt: string;
|
|
1313
|
+
updatedAt: string;
|
|
1314
|
+
} | null | undefined;
|
|
1288
1315
|
} | null | undefined;
|
|
1289
1316
|
}, {
|
|
1290
|
-
createdAt: string | Date;
|
|
1291
1317
|
id: string;
|
|
1292
|
-
updatedAt: string | Date;
|
|
1293
|
-
rating: CallRating;
|
|
1294
|
-
notes: string | null;
|
|
1295
1318
|
assignmentId: string;
|
|
1319
|
+
createdAt: string | Date;
|
|
1320
|
+
updatedAt: string | Date;
|
|
1296
1321
|
callDate: string | Date;
|
|
1297
1322
|
callType: CallType;
|
|
1323
|
+
leadSource: LeadSource;
|
|
1324
|
+
rating: CallRating;
|
|
1298
1325
|
ratingWeight: number;
|
|
1299
|
-
|
|
1326
|
+
notes: string | null;
|
|
1300
1327
|
leadId?: string | undefined;
|
|
1328
|
+
agentId?: string | undefined;
|
|
1301
1329
|
assignment?: {
|
|
1302
|
-
createdAt: string | Date;
|
|
1303
1330
|
id: string;
|
|
1331
|
+
leadId: string;
|
|
1332
|
+
agentId: string | null;
|
|
1304
1333
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1334
|
+
createdAt: string | Date;
|
|
1305
1335
|
updatedAt: string | Date;
|
|
1306
|
-
agentId: string | null;
|
|
1307
|
-
companyId: string | null;
|
|
1308
|
-
leadId: string;
|
|
1309
1336
|
assignedAt: string | Date;
|
|
1310
1337
|
assignedBy: string | null;
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
id: string;
|
|
1314
|
-
updatedAt: string | Date;
|
|
1338
|
+
companyId: string | null;
|
|
1339
|
+
lead?: {
|
|
1315
1340
|
name: string;
|
|
1316
|
-
|
|
1341
|
+
phoneNumber: string;
|
|
1342
|
+
} | undefined;
|
|
1317
1343
|
agent?: {
|
|
1318
|
-
|
|
1344
|
+
id: string;
|
|
1319
1345
|
firstName: string;
|
|
1346
|
+
lastName: string;
|
|
1320
1347
|
email: string;
|
|
1321
1348
|
createdAt: string | Date;
|
|
1322
|
-
id: string;
|
|
1323
1349
|
updatedAt: string | Date;
|
|
1324
1350
|
phoneNumbers?: {
|
|
1325
1351
|
id: string;
|
|
@@ -1330,15 +1356,17 @@ export declare const callHistoryContract: {
|
|
|
1330
1356
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1331
1357
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1332
1358
|
canImpersonateUsers?: {
|
|
1333
|
-
lastName: string;
|
|
1334
|
-
firstName: string;
|
|
1335
1359
|
id: string;
|
|
1360
|
+
firstName: string;
|
|
1361
|
+
lastName: string;
|
|
1336
1362
|
}[] | undefined;
|
|
1337
1363
|
} | undefined;
|
|
1338
|
-
|
|
1339
|
-
|
|
1364
|
+
company?: {
|
|
1365
|
+
id: string;
|
|
1340
1366
|
name: string;
|
|
1341
|
-
|
|
1367
|
+
createdAt: string | Date;
|
|
1368
|
+
updatedAt: string | Date;
|
|
1369
|
+
} | null | undefined;
|
|
1342
1370
|
} | null | undefined;
|
|
1343
1371
|
}>;
|
|
1344
1372
|
409: z.ZodObject<{
|
|
@@ -1376,6 +1404,16 @@ export declare const callHistoryContract: {
|
|
|
1376
1404
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
1377
1405
|
page: z.ZodDefault<z.ZodNumber>;
|
|
1378
1406
|
} & {
|
|
1407
|
+
callDate: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1408
|
+
from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1409
|
+
to: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1410
|
+
}, "strip", z.ZodTypeAny, {
|
|
1411
|
+
from?: string | null | undefined;
|
|
1412
|
+
to?: string | null | undefined;
|
|
1413
|
+
}, {
|
|
1414
|
+
from?: string | null | undefined;
|
|
1415
|
+
to?: string | null | undefined;
|
|
1416
|
+
}>>>;
|
|
1379
1417
|
agentId: z.ZodOptional<z.ZodString>;
|
|
1380
1418
|
companyId: z.ZodOptional<z.ZodString>;
|
|
1381
1419
|
rating: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
@@ -1389,50 +1427,49 @@ export declare const callHistoryContract: {
|
|
|
1389
1427
|
to?: unknown;
|
|
1390
1428
|
}>>>;
|
|
1391
1429
|
callType: z.ZodOptional<z.ZodNativeEnum<typeof CallType>>;
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
}, "strip", z.ZodTypeAny, {
|
|
1396
|
-
from?: string | null | undefined;
|
|
1397
|
-
to?: string | null | undefined;
|
|
1398
|
-
}, {
|
|
1399
|
-
from?: string | null | undefined;
|
|
1400
|
-
to?: string | null | undefined;
|
|
1401
|
-
}>>>;
|
|
1430
|
+
leadSource: z.ZodOptional<z.ZodNativeEnum<typeof LeadSource>>;
|
|
1431
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
1432
|
+
leadName: z.ZodOptional<z.ZodString>;
|
|
1402
1433
|
sortBy: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof CallHistorySortableFields>>>;
|
|
1403
1434
|
sortOrder: z.ZodOptional<z.ZodDefault<z.ZodEnum<["ASC", "DESC"]>>>;
|
|
1404
1435
|
}, "strip", z.ZodTypeAny, {
|
|
1405
1436
|
limit: number;
|
|
1406
1437
|
page: number;
|
|
1407
|
-
sortBy?: CallHistorySortableFields | undefined;
|
|
1408
|
-
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1409
1438
|
agentId?: string | undefined;
|
|
1439
|
+
phoneNumber?: string | undefined;
|
|
1410
1440
|
companyId?: string | undefined;
|
|
1411
|
-
rating?: {
|
|
1412
|
-
from?: CallRating | null | undefined;
|
|
1413
|
-
to?: CallRating | null | undefined;
|
|
1414
|
-
} | null | undefined;
|
|
1415
1441
|
callDate?: {
|
|
1416
1442
|
from?: string | null | undefined;
|
|
1417
1443
|
to?: string | null | undefined;
|
|
1418
1444
|
} | null | undefined;
|
|
1419
1445
|
callType?: CallType | undefined;
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1446
|
+
leadSource?: LeadSource | undefined;
|
|
1447
|
+
rating?: {
|
|
1448
|
+
from?: CallRating | null | undefined;
|
|
1449
|
+
to?: CallRating | null | undefined;
|
|
1450
|
+
} | null | undefined;
|
|
1451
|
+
leadName?: string | undefined;
|
|
1423
1452
|
sortBy?: CallHistorySortableFields | undefined;
|
|
1424
1453
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1454
|
+
}, {
|
|
1425
1455
|
agentId?: string | undefined;
|
|
1456
|
+
phoneNumber?: string | undefined;
|
|
1426
1457
|
companyId?: string | undefined;
|
|
1427
|
-
rating?: {
|
|
1428
|
-
from?: unknown;
|
|
1429
|
-
to?: unknown;
|
|
1430
|
-
} | null | undefined;
|
|
1431
1458
|
callDate?: {
|
|
1432
1459
|
from?: string | null | undefined;
|
|
1433
1460
|
to?: string | null | undefined;
|
|
1434
1461
|
} | null | undefined;
|
|
1435
1462
|
callType?: CallType | undefined;
|
|
1463
|
+
leadSource?: LeadSource | undefined;
|
|
1464
|
+
rating?: {
|
|
1465
|
+
from?: unknown;
|
|
1466
|
+
to?: unknown;
|
|
1467
|
+
} | null | undefined;
|
|
1468
|
+
limit?: number | undefined;
|
|
1469
|
+
page?: number | undefined;
|
|
1470
|
+
leadName?: string | undefined;
|
|
1471
|
+
sortBy?: CallHistorySortableFields | undefined;
|
|
1472
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1436
1473
|
}>;
|
|
1437
1474
|
summary: "Get call history records";
|
|
1438
1475
|
method: "GET";
|
|
@@ -1551,11 +1588,11 @@ export declare const callHistoryContract: {
|
|
|
1551
1588
|
name: z.ZodString;
|
|
1552
1589
|
phoneNumber: z.ZodString;
|
|
1553
1590
|
}, "strip", z.ZodTypeAny, {
|
|
1554
|
-
phoneNumber: string;
|
|
1555
1591
|
name: string;
|
|
1556
|
-
}, {
|
|
1557
1592
|
phoneNumber: string;
|
|
1593
|
+
}, {
|
|
1558
1594
|
name: string;
|
|
1595
|
+
phoneNumber: string;
|
|
1559
1596
|
}>>;
|
|
1560
1597
|
agentId: z.ZodNullable<z.ZodString>;
|
|
1561
1598
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -1586,42 +1623,42 @@ export declare const callHistoryContract: {
|
|
|
1586
1623
|
firstName: z.ZodString;
|
|
1587
1624
|
lastName: z.ZodString;
|
|
1588
1625
|
}, "strip", z.ZodTypeAny, {
|
|
1589
|
-
lastName: string;
|
|
1590
|
-
firstName: string;
|
|
1591
1626
|
id: string;
|
|
1592
|
-
}, {
|
|
1593
|
-
lastName: string;
|
|
1594
1627
|
firstName: string;
|
|
1628
|
+
lastName: string;
|
|
1629
|
+
}, {
|
|
1595
1630
|
id: string;
|
|
1631
|
+
firstName: string;
|
|
1632
|
+
lastName: string;
|
|
1596
1633
|
}>, "many">>;
|
|
1597
1634
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1598
1635
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1599
1636
|
}, "strip", z.ZodTypeAny, {
|
|
1600
|
-
|
|
1637
|
+
id: string;
|
|
1601
1638
|
firstName: string;
|
|
1639
|
+
lastName: string;
|
|
1602
1640
|
email: string;
|
|
1603
|
-
createdAt: string;
|
|
1604
|
-
id: string;
|
|
1605
1641
|
phoneNumbers: {
|
|
1606
1642
|
id: string;
|
|
1607
1643
|
phoneNumber: string;
|
|
1608
1644
|
isPrimary: boolean;
|
|
1609
1645
|
description?: string | null | undefined;
|
|
1610
1646
|
}[];
|
|
1647
|
+
createdAt: string;
|
|
1611
1648
|
updatedAt: string;
|
|
1612
1649
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1613
1650
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1614
1651
|
canImpersonateUsers?: {
|
|
1615
|
-
lastName: string;
|
|
1616
|
-
firstName: string;
|
|
1617
1652
|
id: string;
|
|
1653
|
+
firstName: string;
|
|
1654
|
+
lastName: string;
|
|
1618
1655
|
}[] | undefined;
|
|
1619
1656
|
}, {
|
|
1620
|
-
|
|
1657
|
+
id: string;
|
|
1621
1658
|
firstName: string;
|
|
1659
|
+
lastName: string;
|
|
1622
1660
|
email: string;
|
|
1623
1661
|
createdAt: string | Date;
|
|
1624
|
-
id: string;
|
|
1625
1662
|
updatedAt: string | Date;
|
|
1626
1663
|
phoneNumbers?: {
|
|
1627
1664
|
id: string;
|
|
@@ -1632,9 +1669,9 @@ export declare const callHistoryContract: {
|
|
|
1632
1669
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1633
1670
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1634
1671
|
canImpersonateUsers?: {
|
|
1635
|
-
lastName: string;
|
|
1636
|
-
firstName: string;
|
|
1637
1672
|
id: string;
|
|
1673
|
+
firstName: string;
|
|
1674
|
+
lastName: string;
|
|
1638
1675
|
}[] | undefined;
|
|
1639
1676
|
}>>;
|
|
1640
1677
|
assignedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -1647,81 +1684,79 @@ export declare const callHistoryContract: {
|
|
|
1647
1684
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1648
1685
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1649
1686
|
}, "strip", z.ZodTypeAny, {
|
|
1650
|
-
createdAt: string;
|
|
1651
1687
|
id: string;
|
|
1652
|
-
updatedAt: string;
|
|
1653
1688
|
name: string;
|
|
1689
|
+
createdAt: string;
|
|
1690
|
+
updatedAt: string;
|
|
1654
1691
|
}, {
|
|
1655
|
-
createdAt: string | Date;
|
|
1656
1692
|
id: string;
|
|
1657
|
-
updatedAt: string | Date;
|
|
1658
1693
|
name: string;
|
|
1694
|
+
createdAt: string | Date;
|
|
1695
|
+
updatedAt: string | Date;
|
|
1659
1696
|
}>>>;
|
|
1660
1697
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1661
1698
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1662
1699
|
}, "strip", z.ZodTypeAny, {
|
|
1663
|
-
createdAt: string;
|
|
1664
1700
|
id: string;
|
|
1701
|
+
leadId: string;
|
|
1702
|
+
agentId: string | null;
|
|
1665
1703
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1704
|
+
createdAt: string;
|
|
1666
1705
|
updatedAt: string;
|
|
1667
|
-
agentId: string | null;
|
|
1668
|
-
companyId: string | null;
|
|
1669
|
-
leadId: string;
|
|
1670
1706
|
assignedAt: string;
|
|
1671
1707
|
assignedBy: string | null;
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
id: string;
|
|
1675
|
-
updatedAt: string;
|
|
1708
|
+
companyId: string | null;
|
|
1709
|
+
lead?: {
|
|
1676
1710
|
name: string;
|
|
1677
|
-
|
|
1711
|
+
phoneNumber: string;
|
|
1712
|
+
} | undefined;
|
|
1678
1713
|
agent?: {
|
|
1679
|
-
|
|
1714
|
+
id: string;
|
|
1680
1715
|
firstName: string;
|
|
1716
|
+
lastName: string;
|
|
1681
1717
|
email: string;
|
|
1682
|
-
createdAt: string;
|
|
1683
|
-
id: string;
|
|
1684
1718
|
phoneNumbers: {
|
|
1685
1719
|
id: string;
|
|
1686
1720
|
phoneNumber: string;
|
|
1687
1721
|
isPrimary: boolean;
|
|
1688
1722
|
description?: string | null | undefined;
|
|
1689
1723
|
}[];
|
|
1724
|
+
createdAt: string;
|
|
1690
1725
|
updatedAt: string;
|
|
1691
1726
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1692
1727
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1693
1728
|
canImpersonateUsers?: {
|
|
1694
|
-
lastName: string;
|
|
1695
|
-
firstName: string;
|
|
1696
1729
|
id: string;
|
|
1730
|
+
firstName: string;
|
|
1731
|
+
lastName: string;
|
|
1697
1732
|
}[] | undefined;
|
|
1698
1733
|
} | undefined;
|
|
1699
|
-
|
|
1700
|
-
|
|
1734
|
+
company?: {
|
|
1735
|
+
id: string;
|
|
1701
1736
|
name: string;
|
|
1702
|
-
|
|
1737
|
+
createdAt: string;
|
|
1738
|
+
updatedAt: string;
|
|
1739
|
+
} | null | undefined;
|
|
1703
1740
|
}, {
|
|
1704
|
-
createdAt: string | Date;
|
|
1705
1741
|
id: string;
|
|
1742
|
+
leadId: string;
|
|
1743
|
+
agentId: string | null;
|
|
1706
1744
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1745
|
+
createdAt: string | Date;
|
|
1707
1746
|
updatedAt: string | Date;
|
|
1708
|
-
agentId: string | null;
|
|
1709
|
-
companyId: string | null;
|
|
1710
|
-
leadId: string;
|
|
1711
1747
|
assignedAt: string | Date;
|
|
1712
1748
|
assignedBy: string | null;
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
id: string;
|
|
1716
|
-
updatedAt: string | Date;
|
|
1749
|
+
companyId: string | null;
|
|
1750
|
+
lead?: {
|
|
1717
1751
|
name: string;
|
|
1718
|
-
|
|
1752
|
+
phoneNumber: string;
|
|
1753
|
+
} | undefined;
|
|
1719
1754
|
agent?: {
|
|
1720
|
-
|
|
1755
|
+
id: string;
|
|
1721
1756
|
firstName: string;
|
|
1757
|
+
lastName: string;
|
|
1722
1758
|
email: string;
|
|
1723
1759
|
createdAt: string | Date;
|
|
1724
|
-
id: string;
|
|
1725
1760
|
updatedAt: string | Date;
|
|
1726
1761
|
phoneNumbers?: {
|
|
1727
1762
|
id: string;
|
|
@@ -1732,111 +1767,114 @@ export declare const callHistoryContract: {
|
|
|
1732
1767
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1733
1768
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1734
1769
|
canImpersonateUsers?: {
|
|
1735
|
-
lastName: string;
|
|
1736
|
-
firstName: string;
|
|
1737
1770
|
id: string;
|
|
1771
|
+
firstName: string;
|
|
1772
|
+
lastName: string;
|
|
1738
1773
|
}[] | undefined;
|
|
1739
1774
|
} | undefined;
|
|
1740
|
-
|
|
1741
|
-
|
|
1775
|
+
company?: {
|
|
1776
|
+
id: string;
|
|
1742
1777
|
name: string;
|
|
1743
|
-
|
|
1778
|
+
createdAt: string | Date;
|
|
1779
|
+
updatedAt: string | Date;
|
|
1780
|
+
} | null | undefined;
|
|
1744
1781
|
}>>>;
|
|
1745
1782
|
callDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1746
1783
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
1784
|
+
leadSource: z.ZodNativeEnum<typeof LeadSource>;
|
|
1747
1785
|
rating: z.ZodNativeEnum<typeof CallRating>;
|
|
1748
1786
|
ratingWeight: z.ZodNumber;
|
|
1749
1787
|
notes: z.ZodNullable<z.ZodString>;
|
|
1750
1788
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1751
1789
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1752
1790
|
}, "strip", z.ZodTypeAny, {
|
|
1753
|
-
createdAt: string;
|
|
1754
1791
|
id: string;
|
|
1755
|
-
updatedAt: string;
|
|
1756
|
-
rating: CallRating;
|
|
1757
|
-
notes: string | null;
|
|
1758
1792
|
assignmentId: string;
|
|
1793
|
+
createdAt: string;
|
|
1794
|
+
updatedAt: string;
|
|
1759
1795
|
callDate: string;
|
|
1760
1796
|
callType: CallType;
|
|
1797
|
+
leadSource: LeadSource;
|
|
1798
|
+
rating: CallRating;
|
|
1761
1799
|
ratingWeight: number;
|
|
1762
|
-
|
|
1800
|
+
notes: string | null;
|
|
1763
1801
|
leadId?: string | undefined;
|
|
1802
|
+
agentId?: string | undefined;
|
|
1764
1803
|
assignment?: {
|
|
1765
|
-
createdAt: string;
|
|
1766
1804
|
id: string;
|
|
1805
|
+
leadId: string;
|
|
1806
|
+
agentId: string | null;
|
|
1767
1807
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1808
|
+
createdAt: string;
|
|
1768
1809
|
updatedAt: string;
|
|
1769
|
-
agentId: string | null;
|
|
1770
|
-
companyId: string | null;
|
|
1771
|
-
leadId: string;
|
|
1772
1810
|
assignedAt: string;
|
|
1773
1811
|
assignedBy: string | null;
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
id: string;
|
|
1777
|
-
updatedAt: string;
|
|
1812
|
+
companyId: string | null;
|
|
1813
|
+
lead?: {
|
|
1778
1814
|
name: string;
|
|
1779
|
-
|
|
1815
|
+
phoneNumber: string;
|
|
1816
|
+
} | undefined;
|
|
1780
1817
|
agent?: {
|
|
1781
|
-
|
|
1818
|
+
id: string;
|
|
1782
1819
|
firstName: string;
|
|
1820
|
+
lastName: string;
|
|
1783
1821
|
email: string;
|
|
1784
|
-
createdAt: string;
|
|
1785
|
-
id: string;
|
|
1786
1822
|
phoneNumbers: {
|
|
1787
1823
|
id: string;
|
|
1788
1824
|
phoneNumber: string;
|
|
1789
1825
|
isPrimary: boolean;
|
|
1790
1826
|
description?: string | null | undefined;
|
|
1791
1827
|
}[];
|
|
1828
|
+
createdAt: string;
|
|
1792
1829
|
updatedAt: string;
|
|
1793
1830
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1794
1831
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1795
1832
|
canImpersonateUsers?: {
|
|
1796
|
-
lastName: string;
|
|
1797
|
-
firstName: string;
|
|
1798
1833
|
id: string;
|
|
1834
|
+
firstName: string;
|
|
1835
|
+
lastName: string;
|
|
1799
1836
|
}[] | undefined;
|
|
1800
1837
|
} | undefined;
|
|
1801
|
-
|
|
1802
|
-
|
|
1838
|
+
company?: {
|
|
1839
|
+
id: string;
|
|
1803
1840
|
name: string;
|
|
1804
|
-
|
|
1841
|
+
createdAt: string;
|
|
1842
|
+
updatedAt: string;
|
|
1843
|
+
} | null | undefined;
|
|
1805
1844
|
} | null | undefined;
|
|
1806
1845
|
}, {
|
|
1807
|
-
createdAt: string | Date;
|
|
1808
1846
|
id: string;
|
|
1809
|
-
updatedAt: string | Date;
|
|
1810
|
-
rating: CallRating;
|
|
1811
|
-
notes: string | null;
|
|
1812
1847
|
assignmentId: string;
|
|
1848
|
+
createdAt: string | Date;
|
|
1849
|
+
updatedAt: string | Date;
|
|
1813
1850
|
callDate: string | Date;
|
|
1814
1851
|
callType: CallType;
|
|
1852
|
+
leadSource: LeadSource;
|
|
1853
|
+
rating: CallRating;
|
|
1815
1854
|
ratingWeight: number;
|
|
1816
|
-
|
|
1855
|
+
notes: string | null;
|
|
1817
1856
|
leadId?: string | undefined;
|
|
1857
|
+
agentId?: string | undefined;
|
|
1818
1858
|
assignment?: {
|
|
1819
|
-
createdAt: string | Date;
|
|
1820
1859
|
id: string;
|
|
1860
|
+
leadId: string;
|
|
1861
|
+
agentId: string | null;
|
|
1821
1862
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1863
|
+
createdAt: string | Date;
|
|
1822
1864
|
updatedAt: string | Date;
|
|
1823
|
-
agentId: string | null;
|
|
1824
|
-
companyId: string | null;
|
|
1825
|
-
leadId: string;
|
|
1826
1865
|
assignedAt: string | Date;
|
|
1827
1866
|
assignedBy: string | null;
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
id: string;
|
|
1831
|
-
updatedAt: string | Date;
|
|
1867
|
+
companyId: string | null;
|
|
1868
|
+
lead?: {
|
|
1832
1869
|
name: string;
|
|
1833
|
-
|
|
1870
|
+
phoneNumber: string;
|
|
1871
|
+
} | undefined;
|
|
1834
1872
|
agent?: {
|
|
1835
|
-
|
|
1873
|
+
id: string;
|
|
1836
1874
|
firstName: string;
|
|
1875
|
+
lastName: string;
|
|
1837
1876
|
email: string;
|
|
1838
1877
|
createdAt: string | Date;
|
|
1839
|
-
id: string;
|
|
1840
1878
|
updatedAt: string | Date;
|
|
1841
1879
|
phoneNumbers?: {
|
|
1842
1880
|
id: string;
|
|
@@ -1847,15 +1885,17 @@ export declare const callHistoryContract: {
|
|
|
1847
1885
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1848
1886
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1849
1887
|
canImpersonateUsers?: {
|
|
1850
|
-
lastName: string;
|
|
1851
|
-
firstName: string;
|
|
1852
1888
|
id: string;
|
|
1889
|
+
firstName: string;
|
|
1890
|
+
lastName: string;
|
|
1853
1891
|
}[] | undefined;
|
|
1854
1892
|
} | undefined;
|
|
1855
|
-
|
|
1856
|
-
|
|
1893
|
+
company?: {
|
|
1894
|
+
id: string;
|
|
1857
1895
|
name: string;
|
|
1858
|
-
|
|
1896
|
+
createdAt: string | Date;
|
|
1897
|
+
updatedAt: string | Date;
|
|
1898
|
+
} | null | undefined;
|
|
1859
1899
|
} | null | undefined;
|
|
1860
1900
|
}>, "many">;
|
|
1861
1901
|
totalCount: z.ZodNumber;
|
|
@@ -1864,102 +1904,101 @@ export declare const callHistoryContract: {
|
|
|
1864
1904
|
currentPage: z.ZodNumber;
|
|
1865
1905
|
totalPages: z.ZodNumber;
|
|
1866
1906
|
}, "strip", z.ZodTypeAny, {
|
|
1867
|
-
limit: number;
|
|
1868
1907
|
items: {
|
|
1869
|
-
createdAt: string;
|
|
1870
1908
|
id: string;
|
|
1871
|
-
updatedAt: string;
|
|
1872
|
-
rating: CallRating;
|
|
1873
|
-
notes: string | null;
|
|
1874
1909
|
assignmentId: string;
|
|
1910
|
+
createdAt: string;
|
|
1911
|
+
updatedAt: string;
|
|
1875
1912
|
callDate: string;
|
|
1876
1913
|
callType: CallType;
|
|
1914
|
+
leadSource: LeadSource;
|
|
1915
|
+
rating: CallRating;
|
|
1877
1916
|
ratingWeight: number;
|
|
1878
|
-
|
|
1917
|
+
notes: string | null;
|
|
1879
1918
|
leadId?: string | undefined;
|
|
1919
|
+
agentId?: string | undefined;
|
|
1880
1920
|
assignment?: {
|
|
1881
|
-
createdAt: string;
|
|
1882
1921
|
id: string;
|
|
1922
|
+
leadId: string;
|
|
1923
|
+
agentId: string | null;
|
|
1883
1924
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1925
|
+
createdAt: string;
|
|
1884
1926
|
updatedAt: string;
|
|
1885
|
-
agentId: string | null;
|
|
1886
|
-
companyId: string | null;
|
|
1887
|
-
leadId: string;
|
|
1888
1927
|
assignedAt: string;
|
|
1889
1928
|
assignedBy: string | null;
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
id: string;
|
|
1893
|
-
updatedAt: string;
|
|
1929
|
+
companyId: string | null;
|
|
1930
|
+
lead?: {
|
|
1894
1931
|
name: string;
|
|
1895
|
-
|
|
1932
|
+
phoneNumber: string;
|
|
1933
|
+
} | undefined;
|
|
1896
1934
|
agent?: {
|
|
1897
|
-
|
|
1935
|
+
id: string;
|
|
1898
1936
|
firstName: string;
|
|
1937
|
+
lastName: string;
|
|
1899
1938
|
email: string;
|
|
1900
|
-
createdAt: string;
|
|
1901
|
-
id: string;
|
|
1902
1939
|
phoneNumbers: {
|
|
1903
1940
|
id: string;
|
|
1904
1941
|
phoneNumber: string;
|
|
1905
1942
|
isPrimary: boolean;
|
|
1906
1943
|
description?: string | null | undefined;
|
|
1907
1944
|
}[];
|
|
1945
|
+
createdAt: string;
|
|
1908
1946
|
updatedAt: string;
|
|
1909
1947
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1910
1948
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1911
1949
|
canImpersonateUsers?: {
|
|
1912
|
-
lastName: string;
|
|
1913
|
-
firstName: string;
|
|
1914
1950
|
id: string;
|
|
1951
|
+
firstName: string;
|
|
1952
|
+
lastName: string;
|
|
1915
1953
|
}[] | undefined;
|
|
1916
1954
|
} | undefined;
|
|
1917
|
-
|
|
1918
|
-
|
|
1955
|
+
company?: {
|
|
1956
|
+
id: string;
|
|
1919
1957
|
name: string;
|
|
1920
|
-
|
|
1958
|
+
createdAt: string;
|
|
1959
|
+
updatedAt: string;
|
|
1960
|
+
} | null | undefined;
|
|
1921
1961
|
} | null | undefined;
|
|
1922
1962
|
}[];
|
|
1923
1963
|
totalCount: number;
|
|
1964
|
+
limit: number;
|
|
1924
1965
|
skip: number;
|
|
1925
1966
|
currentPage: number;
|
|
1926
1967
|
totalPages: number;
|
|
1927
1968
|
}, {
|
|
1928
|
-
limit: number;
|
|
1929
1969
|
items: {
|
|
1930
|
-
createdAt: string | Date;
|
|
1931
1970
|
id: string;
|
|
1932
|
-
updatedAt: string | Date;
|
|
1933
|
-
rating: CallRating;
|
|
1934
|
-
notes: string | null;
|
|
1935
1971
|
assignmentId: string;
|
|
1972
|
+
createdAt: string | Date;
|
|
1973
|
+
updatedAt: string | Date;
|
|
1936
1974
|
callDate: string | Date;
|
|
1937
1975
|
callType: CallType;
|
|
1976
|
+
leadSource: LeadSource;
|
|
1977
|
+
rating: CallRating;
|
|
1938
1978
|
ratingWeight: number;
|
|
1939
|
-
|
|
1979
|
+
notes: string | null;
|
|
1940
1980
|
leadId?: string | undefined;
|
|
1981
|
+
agentId?: string | undefined;
|
|
1941
1982
|
assignment?: {
|
|
1942
|
-
createdAt: string | Date;
|
|
1943
1983
|
id: string;
|
|
1984
|
+
leadId: string;
|
|
1985
|
+
agentId: string | null;
|
|
1944
1986
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1987
|
+
createdAt: string | Date;
|
|
1945
1988
|
updatedAt: string | Date;
|
|
1946
|
-
agentId: string | null;
|
|
1947
|
-
companyId: string | null;
|
|
1948
|
-
leadId: string;
|
|
1949
1989
|
assignedAt: string | Date;
|
|
1950
1990
|
assignedBy: string | null;
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
id: string;
|
|
1954
|
-
updatedAt: string | Date;
|
|
1991
|
+
companyId: string | null;
|
|
1992
|
+
lead?: {
|
|
1955
1993
|
name: string;
|
|
1956
|
-
|
|
1994
|
+
phoneNumber: string;
|
|
1995
|
+
} | undefined;
|
|
1957
1996
|
agent?: {
|
|
1958
|
-
|
|
1997
|
+
id: string;
|
|
1959
1998
|
firstName: string;
|
|
1999
|
+
lastName: string;
|
|
1960
2000
|
email: string;
|
|
1961
2001
|
createdAt: string | Date;
|
|
1962
|
-
id: string;
|
|
1963
2002
|
updatedAt: string | Date;
|
|
1964
2003
|
phoneNumbers?: {
|
|
1965
2004
|
id: string;
|
|
@@ -1970,18 +2009,21 @@ export declare const callHistoryContract: {
|
|
|
1970
2009
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1971
2010
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1972
2011
|
canImpersonateUsers?: {
|
|
1973
|
-
lastName: string;
|
|
1974
|
-
firstName: string;
|
|
1975
2012
|
id: string;
|
|
2013
|
+
firstName: string;
|
|
2014
|
+
lastName: string;
|
|
1976
2015
|
}[] | undefined;
|
|
1977
2016
|
} | undefined;
|
|
1978
|
-
|
|
1979
|
-
|
|
2017
|
+
company?: {
|
|
2018
|
+
id: string;
|
|
1980
2019
|
name: string;
|
|
1981
|
-
|
|
2020
|
+
createdAt: string | Date;
|
|
2021
|
+
updatedAt: string | Date;
|
|
2022
|
+
} | null | undefined;
|
|
1982
2023
|
} | null | undefined;
|
|
1983
2024
|
}[];
|
|
1984
2025
|
totalCount: number;
|
|
2026
|
+
limit: number;
|
|
1985
2027
|
skip: number;
|
|
1986
2028
|
currentPage: number;
|
|
1987
2029
|
totalPages: number;
|
|
@@ -2115,11 +2157,11 @@ export declare const callHistoryContract: {
|
|
|
2115
2157
|
name: z.ZodString;
|
|
2116
2158
|
phoneNumber: z.ZodString;
|
|
2117
2159
|
}, "strip", z.ZodTypeAny, {
|
|
2118
|
-
phoneNumber: string;
|
|
2119
2160
|
name: string;
|
|
2120
|
-
}, {
|
|
2121
2161
|
phoneNumber: string;
|
|
2162
|
+
}, {
|
|
2122
2163
|
name: string;
|
|
2164
|
+
phoneNumber: string;
|
|
2123
2165
|
}>>;
|
|
2124
2166
|
agentId: z.ZodNullable<z.ZodString>;
|
|
2125
2167
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -2150,42 +2192,42 @@ export declare const callHistoryContract: {
|
|
|
2150
2192
|
firstName: z.ZodString;
|
|
2151
2193
|
lastName: z.ZodString;
|
|
2152
2194
|
}, "strip", z.ZodTypeAny, {
|
|
2153
|
-
lastName: string;
|
|
2154
|
-
firstName: string;
|
|
2155
2195
|
id: string;
|
|
2156
|
-
}, {
|
|
2157
|
-
lastName: string;
|
|
2158
2196
|
firstName: string;
|
|
2197
|
+
lastName: string;
|
|
2198
|
+
}, {
|
|
2159
2199
|
id: string;
|
|
2200
|
+
firstName: string;
|
|
2201
|
+
lastName: string;
|
|
2160
2202
|
}>, "many">>;
|
|
2161
2203
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2162
2204
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2163
2205
|
}, "strip", z.ZodTypeAny, {
|
|
2164
|
-
|
|
2206
|
+
id: string;
|
|
2165
2207
|
firstName: string;
|
|
2208
|
+
lastName: string;
|
|
2166
2209
|
email: string;
|
|
2167
|
-
createdAt: string;
|
|
2168
|
-
id: string;
|
|
2169
2210
|
phoneNumbers: {
|
|
2170
2211
|
id: string;
|
|
2171
2212
|
phoneNumber: string;
|
|
2172
2213
|
isPrimary: boolean;
|
|
2173
2214
|
description?: string | null | undefined;
|
|
2174
2215
|
}[];
|
|
2216
|
+
createdAt: string;
|
|
2175
2217
|
updatedAt: string;
|
|
2176
2218
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2177
2219
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
2178
2220
|
canImpersonateUsers?: {
|
|
2179
|
-
lastName: string;
|
|
2180
|
-
firstName: string;
|
|
2181
2221
|
id: string;
|
|
2222
|
+
firstName: string;
|
|
2223
|
+
lastName: string;
|
|
2182
2224
|
}[] | undefined;
|
|
2183
2225
|
}, {
|
|
2184
|
-
|
|
2226
|
+
id: string;
|
|
2185
2227
|
firstName: string;
|
|
2228
|
+
lastName: string;
|
|
2186
2229
|
email: string;
|
|
2187
2230
|
createdAt: string | Date;
|
|
2188
|
-
id: string;
|
|
2189
2231
|
updatedAt: string | Date;
|
|
2190
2232
|
phoneNumbers?: {
|
|
2191
2233
|
id: string;
|
|
@@ -2196,9 +2238,9 @@ export declare const callHistoryContract: {
|
|
|
2196
2238
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2197
2239
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
2198
2240
|
canImpersonateUsers?: {
|
|
2199
|
-
lastName: string;
|
|
2200
|
-
firstName: string;
|
|
2201
2241
|
id: string;
|
|
2242
|
+
firstName: string;
|
|
2243
|
+
lastName: string;
|
|
2202
2244
|
}[] | undefined;
|
|
2203
2245
|
}>>;
|
|
2204
2246
|
assignedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -2211,81 +2253,79 @@ export declare const callHistoryContract: {
|
|
|
2211
2253
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2212
2254
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2213
2255
|
}, "strip", z.ZodTypeAny, {
|
|
2214
|
-
createdAt: string;
|
|
2215
2256
|
id: string;
|
|
2216
|
-
updatedAt: string;
|
|
2217
2257
|
name: string;
|
|
2258
|
+
createdAt: string;
|
|
2259
|
+
updatedAt: string;
|
|
2218
2260
|
}, {
|
|
2219
|
-
createdAt: string | Date;
|
|
2220
2261
|
id: string;
|
|
2221
|
-
updatedAt: string | Date;
|
|
2222
2262
|
name: string;
|
|
2263
|
+
createdAt: string | Date;
|
|
2264
|
+
updatedAt: string | Date;
|
|
2223
2265
|
}>>>;
|
|
2224
2266
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2225
2267
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2226
2268
|
}, "strip", z.ZodTypeAny, {
|
|
2227
|
-
createdAt: string;
|
|
2228
2269
|
id: string;
|
|
2270
|
+
leadId: string;
|
|
2271
|
+
agentId: string | null;
|
|
2229
2272
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2273
|
+
createdAt: string;
|
|
2230
2274
|
updatedAt: string;
|
|
2231
|
-
agentId: string | null;
|
|
2232
|
-
companyId: string | null;
|
|
2233
|
-
leadId: string;
|
|
2234
2275
|
assignedAt: string;
|
|
2235
2276
|
assignedBy: string | null;
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
id: string;
|
|
2239
|
-
updatedAt: string;
|
|
2277
|
+
companyId: string | null;
|
|
2278
|
+
lead?: {
|
|
2240
2279
|
name: string;
|
|
2241
|
-
|
|
2280
|
+
phoneNumber: string;
|
|
2281
|
+
} | undefined;
|
|
2242
2282
|
agent?: {
|
|
2243
|
-
|
|
2283
|
+
id: string;
|
|
2244
2284
|
firstName: string;
|
|
2285
|
+
lastName: string;
|
|
2245
2286
|
email: string;
|
|
2246
|
-
createdAt: string;
|
|
2247
|
-
id: string;
|
|
2248
2287
|
phoneNumbers: {
|
|
2249
2288
|
id: string;
|
|
2250
2289
|
phoneNumber: string;
|
|
2251
2290
|
isPrimary: boolean;
|
|
2252
2291
|
description?: string | null | undefined;
|
|
2253
2292
|
}[];
|
|
2293
|
+
createdAt: string;
|
|
2254
2294
|
updatedAt: string;
|
|
2255
2295
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2256
2296
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
2257
2297
|
canImpersonateUsers?: {
|
|
2258
|
-
lastName: string;
|
|
2259
|
-
firstName: string;
|
|
2260
2298
|
id: string;
|
|
2299
|
+
firstName: string;
|
|
2300
|
+
lastName: string;
|
|
2261
2301
|
}[] | undefined;
|
|
2262
2302
|
} | undefined;
|
|
2263
|
-
|
|
2264
|
-
|
|
2303
|
+
company?: {
|
|
2304
|
+
id: string;
|
|
2265
2305
|
name: string;
|
|
2266
|
-
|
|
2306
|
+
createdAt: string;
|
|
2307
|
+
updatedAt: string;
|
|
2308
|
+
} | null | undefined;
|
|
2267
2309
|
}, {
|
|
2268
|
-
createdAt: string | Date;
|
|
2269
2310
|
id: string;
|
|
2311
|
+
leadId: string;
|
|
2312
|
+
agentId: string | null;
|
|
2270
2313
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2314
|
+
createdAt: string | Date;
|
|
2271
2315
|
updatedAt: string | Date;
|
|
2272
|
-
agentId: string | null;
|
|
2273
|
-
companyId: string | null;
|
|
2274
|
-
leadId: string;
|
|
2275
2316
|
assignedAt: string | Date;
|
|
2276
2317
|
assignedBy: string | null;
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
id: string;
|
|
2280
|
-
updatedAt: string | Date;
|
|
2318
|
+
companyId: string | null;
|
|
2319
|
+
lead?: {
|
|
2281
2320
|
name: string;
|
|
2282
|
-
|
|
2321
|
+
phoneNumber: string;
|
|
2322
|
+
} | undefined;
|
|
2283
2323
|
agent?: {
|
|
2284
|
-
|
|
2324
|
+
id: string;
|
|
2285
2325
|
firstName: string;
|
|
2326
|
+
lastName: string;
|
|
2286
2327
|
email: string;
|
|
2287
2328
|
createdAt: string | Date;
|
|
2288
|
-
id: string;
|
|
2289
2329
|
updatedAt: string | Date;
|
|
2290
2330
|
phoneNumbers?: {
|
|
2291
2331
|
id: string;
|
|
@@ -2296,111 +2336,114 @@ export declare const callHistoryContract: {
|
|
|
2296
2336
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2297
2337
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
2298
2338
|
canImpersonateUsers?: {
|
|
2299
|
-
lastName: string;
|
|
2300
|
-
firstName: string;
|
|
2301
2339
|
id: string;
|
|
2340
|
+
firstName: string;
|
|
2341
|
+
lastName: string;
|
|
2302
2342
|
}[] | undefined;
|
|
2303
2343
|
} | undefined;
|
|
2304
|
-
|
|
2305
|
-
|
|
2344
|
+
company?: {
|
|
2345
|
+
id: string;
|
|
2306
2346
|
name: string;
|
|
2307
|
-
|
|
2347
|
+
createdAt: string | Date;
|
|
2348
|
+
updatedAt: string | Date;
|
|
2349
|
+
} | null | undefined;
|
|
2308
2350
|
}>>>;
|
|
2309
2351
|
callDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2310
2352
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
2353
|
+
leadSource: z.ZodNativeEnum<typeof LeadSource>;
|
|
2311
2354
|
rating: z.ZodNativeEnum<typeof CallRating>;
|
|
2312
2355
|
ratingWeight: z.ZodNumber;
|
|
2313
2356
|
notes: z.ZodNullable<z.ZodString>;
|
|
2314
2357
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2315
2358
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2316
2359
|
}, "strip", z.ZodTypeAny, {
|
|
2317
|
-
createdAt: string;
|
|
2318
2360
|
id: string;
|
|
2319
|
-
updatedAt: string;
|
|
2320
|
-
rating: CallRating;
|
|
2321
|
-
notes: string | null;
|
|
2322
2361
|
assignmentId: string;
|
|
2362
|
+
createdAt: string;
|
|
2363
|
+
updatedAt: string;
|
|
2323
2364
|
callDate: string;
|
|
2324
2365
|
callType: CallType;
|
|
2366
|
+
leadSource: LeadSource;
|
|
2367
|
+
rating: CallRating;
|
|
2325
2368
|
ratingWeight: number;
|
|
2326
|
-
|
|
2369
|
+
notes: string | null;
|
|
2327
2370
|
leadId?: string | undefined;
|
|
2371
|
+
agentId?: string | undefined;
|
|
2328
2372
|
assignment?: {
|
|
2329
|
-
createdAt: string;
|
|
2330
2373
|
id: string;
|
|
2374
|
+
leadId: string;
|
|
2375
|
+
agentId: string | null;
|
|
2331
2376
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2377
|
+
createdAt: string;
|
|
2332
2378
|
updatedAt: string;
|
|
2333
|
-
agentId: string | null;
|
|
2334
|
-
companyId: string | null;
|
|
2335
|
-
leadId: string;
|
|
2336
2379
|
assignedAt: string;
|
|
2337
2380
|
assignedBy: string | null;
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
id: string;
|
|
2341
|
-
updatedAt: string;
|
|
2381
|
+
companyId: string | null;
|
|
2382
|
+
lead?: {
|
|
2342
2383
|
name: string;
|
|
2343
|
-
|
|
2384
|
+
phoneNumber: string;
|
|
2385
|
+
} | undefined;
|
|
2344
2386
|
agent?: {
|
|
2345
|
-
|
|
2387
|
+
id: string;
|
|
2346
2388
|
firstName: string;
|
|
2389
|
+
lastName: string;
|
|
2347
2390
|
email: string;
|
|
2348
|
-
createdAt: string;
|
|
2349
|
-
id: string;
|
|
2350
2391
|
phoneNumbers: {
|
|
2351
2392
|
id: string;
|
|
2352
2393
|
phoneNumber: string;
|
|
2353
2394
|
isPrimary: boolean;
|
|
2354
2395
|
description?: string | null | undefined;
|
|
2355
2396
|
}[];
|
|
2397
|
+
createdAt: string;
|
|
2356
2398
|
updatedAt: string;
|
|
2357
2399
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2358
2400
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
2359
2401
|
canImpersonateUsers?: {
|
|
2360
|
-
lastName: string;
|
|
2361
|
-
firstName: string;
|
|
2362
2402
|
id: string;
|
|
2403
|
+
firstName: string;
|
|
2404
|
+
lastName: string;
|
|
2363
2405
|
}[] | undefined;
|
|
2364
2406
|
} | undefined;
|
|
2365
|
-
|
|
2366
|
-
|
|
2407
|
+
company?: {
|
|
2408
|
+
id: string;
|
|
2367
2409
|
name: string;
|
|
2368
|
-
|
|
2410
|
+
createdAt: string;
|
|
2411
|
+
updatedAt: string;
|
|
2412
|
+
} | null | undefined;
|
|
2369
2413
|
} | null | undefined;
|
|
2370
2414
|
}, {
|
|
2371
|
-
createdAt: string | Date;
|
|
2372
2415
|
id: string;
|
|
2373
|
-
updatedAt: string | Date;
|
|
2374
|
-
rating: CallRating;
|
|
2375
|
-
notes: string | null;
|
|
2376
2416
|
assignmentId: string;
|
|
2417
|
+
createdAt: string | Date;
|
|
2418
|
+
updatedAt: string | Date;
|
|
2377
2419
|
callDate: string | Date;
|
|
2378
2420
|
callType: CallType;
|
|
2421
|
+
leadSource: LeadSource;
|
|
2422
|
+
rating: CallRating;
|
|
2379
2423
|
ratingWeight: number;
|
|
2380
|
-
|
|
2424
|
+
notes: string | null;
|
|
2381
2425
|
leadId?: string | undefined;
|
|
2426
|
+
agentId?: string | undefined;
|
|
2382
2427
|
assignment?: {
|
|
2383
|
-
createdAt: string | Date;
|
|
2384
2428
|
id: string;
|
|
2429
|
+
leadId: string;
|
|
2430
|
+
agentId: string | null;
|
|
2385
2431
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2432
|
+
createdAt: string | Date;
|
|
2386
2433
|
updatedAt: string | Date;
|
|
2387
|
-
agentId: string | null;
|
|
2388
|
-
companyId: string | null;
|
|
2389
|
-
leadId: string;
|
|
2390
2434
|
assignedAt: string | Date;
|
|
2391
2435
|
assignedBy: string | null;
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
id: string;
|
|
2395
|
-
updatedAt: string | Date;
|
|
2436
|
+
companyId: string | null;
|
|
2437
|
+
lead?: {
|
|
2396
2438
|
name: string;
|
|
2397
|
-
|
|
2439
|
+
phoneNumber: string;
|
|
2440
|
+
} | undefined;
|
|
2398
2441
|
agent?: {
|
|
2399
|
-
|
|
2442
|
+
id: string;
|
|
2400
2443
|
firstName: string;
|
|
2444
|
+
lastName: string;
|
|
2401
2445
|
email: string;
|
|
2402
2446
|
createdAt: string | Date;
|
|
2403
|
-
id: string;
|
|
2404
2447
|
updatedAt: string | Date;
|
|
2405
2448
|
phoneNumbers?: {
|
|
2406
2449
|
id: string;
|
|
@@ -2411,15 +2454,17 @@ export declare const callHistoryContract: {
|
|
|
2411
2454
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2412
2455
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
2413
2456
|
canImpersonateUsers?: {
|
|
2414
|
-
lastName: string;
|
|
2415
|
-
firstName: string;
|
|
2416
2457
|
id: string;
|
|
2458
|
+
firstName: string;
|
|
2459
|
+
lastName: string;
|
|
2417
2460
|
}[] | undefined;
|
|
2418
2461
|
} | undefined;
|
|
2419
|
-
|
|
2420
|
-
|
|
2462
|
+
company?: {
|
|
2463
|
+
id: string;
|
|
2421
2464
|
name: string;
|
|
2422
|
-
|
|
2465
|
+
createdAt: string | Date;
|
|
2466
|
+
updatedAt: string | Date;
|
|
2467
|
+
} | null | undefined;
|
|
2423
2468
|
} | null | undefined;
|
|
2424
2469
|
}>;
|
|
2425
2470
|
404: z.ZodObject<{
|
|
@@ -2467,13 +2512,13 @@ export declare const callHistoryContract: {
|
|
|
2467
2512
|
rating: z.ZodOptional<z.ZodNativeEnum<typeof CallRating>>;
|
|
2468
2513
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2469
2514
|
}, "strip", z.ZodTypeAny, {
|
|
2515
|
+
callDate?: string | undefined;
|
|
2470
2516
|
rating?: CallRating | undefined;
|
|
2471
2517
|
notes?: string | null | undefined;
|
|
2472
|
-
callDate?: string | undefined;
|
|
2473
2518
|
}, {
|
|
2519
|
+
callDate?: string | undefined;
|
|
2474
2520
|
rating?: CallRating | undefined;
|
|
2475
2521
|
notes?: string | null | undefined;
|
|
2476
|
-
callDate?: string | undefined;
|
|
2477
2522
|
}>;
|
|
2478
2523
|
path: "/v2/call-history/:id";
|
|
2479
2524
|
responses: {
|
|
@@ -2589,11 +2634,11 @@ export declare const callHistoryContract: {
|
|
|
2589
2634
|
name: z.ZodString;
|
|
2590
2635
|
phoneNumber: z.ZodString;
|
|
2591
2636
|
}, "strip", z.ZodTypeAny, {
|
|
2592
|
-
phoneNumber: string;
|
|
2593
2637
|
name: string;
|
|
2594
|
-
}, {
|
|
2595
2638
|
phoneNumber: string;
|
|
2639
|
+
}, {
|
|
2596
2640
|
name: string;
|
|
2641
|
+
phoneNumber: string;
|
|
2597
2642
|
}>>;
|
|
2598
2643
|
agentId: z.ZodNullable<z.ZodString>;
|
|
2599
2644
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -2624,42 +2669,42 @@ export declare const callHistoryContract: {
|
|
|
2624
2669
|
firstName: z.ZodString;
|
|
2625
2670
|
lastName: z.ZodString;
|
|
2626
2671
|
}, "strip", z.ZodTypeAny, {
|
|
2627
|
-
lastName: string;
|
|
2628
|
-
firstName: string;
|
|
2629
2672
|
id: string;
|
|
2630
|
-
}, {
|
|
2631
|
-
lastName: string;
|
|
2632
2673
|
firstName: string;
|
|
2674
|
+
lastName: string;
|
|
2675
|
+
}, {
|
|
2633
2676
|
id: string;
|
|
2677
|
+
firstName: string;
|
|
2678
|
+
lastName: string;
|
|
2634
2679
|
}>, "many">>;
|
|
2635
2680
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2636
2681
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2637
2682
|
}, "strip", z.ZodTypeAny, {
|
|
2638
|
-
|
|
2683
|
+
id: string;
|
|
2639
2684
|
firstName: string;
|
|
2685
|
+
lastName: string;
|
|
2640
2686
|
email: string;
|
|
2641
|
-
createdAt: string;
|
|
2642
|
-
id: string;
|
|
2643
2687
|
phoneNumbers: {
|
|
2644
2688
|
id: string;
|
|
2645
2689
|
phoneNumber: string;
|
|
2646
2690
|
isPrimary: boolean;
|
|
2647
2691
|
description?: string | null | undefined;
|
|
2648
2692
|
}[];
|
|
2693
|
+
createdAt: string;
|
|
2649
2694
|
updatedAt: string;
|
|
2650
2695
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2651
2696
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
2652
2697
|
canImpersonateUsers?: {
|
|
2653
|
-
lastName: string;
|
|
2654
|
-
firstName: string;
|
|
2655
2698
|
id: string;
|
|
2699
|
+
firstName: string;
|
|
2700
|
+
lastName: string;
|
|
2656
2701
|
}[] | undefined;
|
|
2657
2702
|
}, {
|
|
2658
|
-
|
|
2703
|
+
id: string;
|
|
2659
2704
|
firstName: string;
|
|
2705
|
+
lastName: string;
|
|
2660
2706
|
email: string;
|
|
2661
2707
|
createdAt: string | Date;
|
|
2662
|
-
id: string;
|
|
2663
2708
|
updatedAt: string | Date;
|
|
2664
2709
|
phoneNumbers?: {
|
|
2665
2710
|
id: string;
|
|
@@ -2670,9 +2715,9 @@ export declare const callHistoryContract: {
|
|
|
2670
2715
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2671
2716
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
2672
2717
|
canImpersonateUsers?: {
|
|
2673
|
-
lastName: string;
|
|
2674
|
-
firstName: string;
|
|
2675
2718
|
id: string;
|
|
2719
|
+
firstName: string;
|
|
2720
|
+
lastName: string;
|
|
2676
2721
|
}[] | undefined;
|
|
2677
2722
|
}>>;
|
|
2678
2723
|
assignedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -2685,81 +2730,79 @@ export declare const callHistoryContract: {
|
|
|
2685
2730
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2686
2731
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2687
2732
|
}, "strip", z.ZodTypeAny, {
|
|
2688
|
-
createdAt: string;
|
|
2689
2733
|
id: string;
|
|
2690
|
-
updatedAt: string;
|
|
2691
2734
|
name: string;
|
|
2735
|
+
createdAt: string;
|
|
2736
|
+
updatedAt: string;
|
|
2692
2737
|
}, {
|
|
2693
|
-
createdAt: string | Date;
|
|
2694
2738
|
id: string;
|
|
2695
|
-
updatedAt: string | Date;
|
|
2696
2739
|
name: string;
|
|
2740
|
+
createdAt: string | Date;
|
|
2741
|
+
updatedAt: string | Date;
|
|
2697
2742
|
}>>>;
|
|
2698
2743
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2699
2744
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2700
2745
|
}, "strip", z.ZodTypeAny, {
|
|
2701
|
-
createdAt: string;
|
|
2702
2746
|
id: string;
|
|
2747
|
+
leadId: string;
|
|
2748
|
+
agentId: string | null;
|
|
2703
2749
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2750
|
+
createdAt: string;
|
|
2704
2751
|
updatedAt: string;
|
|
2705
|
-
agentId: string | null;
|
|
2706
|
-
companyId: string | null;
|
|
2707
|
-
leadId: string;
|
|
2708
2752
|
assignedAt: string;
|
|
2709
2753
|
assignedBy: string | null;
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
id: string;
|
|
2713
|
-
updatedAt: string;
|
|
2754
|
+
companyId: string | null;
|
|
2755
|
+
lead?: {
|
|
2714
2756
|
name: string;
|
|
2715
|
-
|
|
2757
|
+
phoneNumber: string;
|
|
2758
|
+
} | undefined;
|
|
2716
2759
|
agent?: {
|
|
2717
|
-
|
|
2760
|
+
id: string;
|
|
2718
2761
|
firstName: string;
|
|
2762
|
+
lastName: string;
|
|
2719
2763
|
email: string;
|
|
2720
|
-
createdAt: string;
|
|
2721
|
-
id: string;
|
|
2722
2764
|
phoneNumbers: {
|
|
2723
2765
|
id: string;
|
|
2724
2766
|
phoneNumber: string;
|
|
2725
2767
|
isPrimary: boolean;
|
|
2726
2768
|
description?: string | null | undefined;
|
|
2727
2769
|
}[];
|
|
2770
|
+
createdAt: string;
|
|
2728
2771
|
updatedAt: string;
|
|
2729
2772
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2730
2773
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
2731
2774
|
canImpersonateUsers?: {
|
|
2732
|
-
lastName: string;
|
|
2733
|
-
firstName: string;
|
|
2734
2775
|
id: string;
|
|
2776
|
+
firstName: string;
|
|
2777
|
+
lastName: string;
|
|
2735
2778
|
}[] | undefined;
|
|
2736
2779
|
} | undefined;
|
|
2737
|
-
|
|
2738
|
-
|
|
2780
|
+
company?: {
|
|
2781
|
+
id: string;
|
|
2739
2782
|
name: string;
|
|
2740
|
-
|
|
2783
|
+
createdAt: string;
|
|
2784
|
+
updatedAt: string;
|
|
2785
|
+
} | null | undefined;
|
|
2741
2786
|
}, {
|
|
2742
|
-
createdAt: string | Date;
|
|
2743
2787
|
id: string;
|
|
2788
|
+
leadId: string;
|
|
2789
|
+
agentId: string | null;
|
|
2744
2790
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2791
|
+
createdAt: string | Date;
|
|
2745
2792
|
updatedAt: string | Date;
|
|
2746
|
-
agentId: string | null;
|
|
2747
|
-
companyId: string | null;
|
|
2748
|
-
leadId: string;
|
|
2749
2793
|
assignedAt: string | Date;
|
|
2750
2794
|
assignedBy: string | null;
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
id: string;
|
|
2754
|
-
updatedAt: string | Date;
|
|
2795
|
+
companyId: string | null;
|
|
2796
|
+
lead?: {
|
|
2755
2797
|
name: string;
|
|
2756
|
-
|
|
2798
|
+
phoneNumber: string;
|
|
2799
|
+
} | undefined;
|
|
2757
2800
|
agent?: {
|
|
2758
|
-
|
|
2801
|
+
id: string;
|
|
2759
2802
|
firstName: string;
|
|
2803
|
+
lastName: string;
|
|
2760
2804
|
email: string;
|
|
2761
2805
|
createdAt: string | Date;
|
|
2762
|
-
id: string;
|
|
2763
2806
|
updatedAt: string | Date;
|
|
2764
2807
|
phoneNumbers?: {
|
|
2765
2808
|
id: string;
|
|
@@ -2770,111 +2813,114 @@ export declare const callHistoryContract: {
|
|
|
2770
2813
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2771
2814
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
2772
2815
|
canImpersonateUsers?: {
|
|
2773
|
-
lastName: string;
|
|
2774
|
-
firstName: string;
|
|
2775
2816
|
id: string;
|
|
2817
|
+
firstName: string;
|
|
2818
|
+
lastName: string;
|
|
2776
2819
|
}[] | undefined;
|
|
2777
2820
|
} | undefined;
|
|
2778
|
-
|
|
2779
|
-
|
|
2821
|
+
company?: {
|
|
2822
|
+
id: string;
|
|
2780
2823
|
name: string;
|
|
2781
|
-
|
|
2824
|
+
createdAt: string | Date;
|
|
2825
|
+
updatedAt: string | Date;
|
|
2826
|
+
} | null | undefined;
|
|
2782
2827
|
}>>>;
|
|
2783
2828
|
callDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2784
2829
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
2830
|
+
leadSource: z.ZodNativeEnum<typeof LeadSource>;
|
|
2785
2831
|
rating: z.ZodNativeEnum<typeof CallRating>;
|
|
2786
2832
|
ratingWeight: z.ZodNumber;
|
|
2787
2833
|
notes: z.ZodNullable<z.ZodString>;
|
|
2788
2834
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2789
2835
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2790
2836
|
}, "strip", z.ZodTypeAny, {
|
|
2791
|
-
createdAt: string;
|
|
2792
2837
|
id: string;
|
|
2793
|
-
updatedAt: string;
|
|
2794
|
-
rating: CallRating;
|
|
2795
|
-
notes: string | null;
|
|
2796
2838
|
assignmentId: string;
|
|
2839
|
+
createdAt: string;
|
|
2840
|
+
updatedAt: string;
|
|
2797
2841
|
callDate: string;
|
|
2798
2842
|
callType: CallType;
|
|
2843
|
+
leadSource: LeadSource;
|
|
2844
|
+
rating: CallRating;
|
|
2799
2845
|
ratingWeight: number;
|
|
2800
|
-
|
|
2846
|
+
notes: string | null;
|
|
2801
2847
|
leadId?: string | undefined;
|
|
2848
|
+
agentId?: string | undefined;
|
|
2802
2849
|
assignment?: {
|
|
2803
|
-
createdAt: string;
|
|
2804
2850
|
id: string;
|
|
2851
|
+
leadId: string;
|
|
2852
|
+
agentId: string | null;
|
|
2805
2853
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2854
|
+
createdAt: string;
|
|
2806
2855
|
updatedAt: string;
|
|
2807
|
-
agentId: string | null;
|
|
2808
|
-
companyId: string | null;
|
|
2809
|
-
leadId: string;
|
|
2810
2856
|
assignedAt: string;
|
|
2811
2857
|
assignedBy: string | null;
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
id: string;
|
|
2815
|
-
updatedAt: string;
|
|
2858
|
+
companyId: string | null;
|
|
2859
|
+
lead?: {
|
|
2816
2860
|
name: string;
|
|
2817
|
-
|
|
2861
|
+
phoneNumber: string;
|
|
2862
|
+
} | undefined;
|
|
2818
2863
|
agent?: {
|
|
2819
|
-
|
|
2864
|
+
id: string;
|
|
2820
2865
|
firstName: string;
|
|
2866
|
+
lastName: string;
|
|
2821
2867
|
email: string;
|
|
2822
|
-
createdAt: string;
|
|
2823
|
-
id: string;
|
|
2824
2868
|
phoneNumbers: {
|
|
2825
2869
|
id: string;
|
|
2826
2870
|
phoneNumber: string;
|
|
2827
2871
|
isPrimary: boolean;
|
|
2828
2872
|
description?: string | null | undefined;
|
|
2829
2873
|
}[];
|
|
2874
|
+
createdAt: string;
|
|
2830
2875
|
updatedAt: string;
|
|
2831
2876
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2832
2877
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
2833
2878
|
canImpersonateUsers?: {
|
|
2834
|
-
lastName: string;
|
|
2835
|
-
firstName: string;
|
|
2836
2879
|
id: string;
|
|
2880
|
+
firstName: string;
|
|
2881
|
+
lastName: string;
|
|
2837
2882
|
}[] | undefined;
|
|
2838
2883
|
} | undefined;
|
|
2839
|
-
|
|
2840
|
-
|
|
2884
|
+
company?: {
|
|
2885
|
+
id: string;
|
|
2841
2886
|
name: string;
|
|
2842
|
-
|
|
2887
|
+
createdAt: string;
|
|
2888
|
+
updatedAt: string;
|
|
2889
|
+
} | null | undefined;
|
|
2843
2890
|
} | null | undefined;
|
|
2844
2891
|
}, {
|
|
2845
|
-
createdAt: string | Date;
|
|
2846
2892
|
id: string;
|
|
2847
|
-
updatedAt: string | Date;
|
|
2848
|
-
rating: CallRating;
|
|
2849
|
-
notes: string | null;
|
|
2850
2893
|
assignmentId: string;
|
|
2894
|
+
createdAt: string | Date;
|
|
2895
|
+
updatedAt: string | Date;
|
|
2851
2896
|
callDate: string | Date;
|
|
2852
2897
|
callType: CallType;
|
|
2898
|
+
leadSource: LeadSource;
|
|
2899
|
+
rating: CallRating;
|
|
2853
2900
|
ratingWeight: number;
|
|
2854
|
-
|
|
2901
|
+
notes: string | null;
|
|
2855
2902
|
leadId?: string | undefined;
|
|
2903
|
+
agentId?: string | undefined;
|
|
2856
2904
|
assignment?: {
|
|
2857
|
-
createdAt: string | Date;
|
|
2858
2905
|
id: string;
|
|
2906
|
+
leadId: string;
|
|
2907
|
+
agentId: string | null;
|
|
2859
2908
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2909
|
+
createdAt: string | Date;
|
|
2860
2910
|
updatedAt: string | Date;
|
|
2861
|
-
agentId: string | null;
|
|
2862
|
-
companyId: string | null;
|
|
2863
|
-
leadId: string;
|
|
2864
2911
|
assignedAt: string | Date;
|
|
2865
2912
|
assignedBy: string | null;
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
id: string;
|
|
2869
|
-
updatedAt: string | Date;
|
|
2913
|
+
companyId: string | null;
|
|
2914
|
+
lead?: {
|
|
2870
2915
|
name: string;
|
|
2871
|
-
|
|
2916
|
+
phoneNumber: string;
|
|
2917
|
+
} | undefined;
|
|
2872
2918
|
agent?: {
|
|
2873
|
-
|
|
2919
|
+
id: string;
|
|
2874
2920
|
firstName: string;
|
|
2921
|
+
lastName: string;
|
|
2875
2922
|
email: string;
|
|
2876
2923
|
createdAt: string | Date;
|
|
2877
|
-
id: string;
|
|
2878
2924
|
updatedAt: string | Date;
|
|
2879
2925
|
phoneNumbers?: {
|
|
2880
2926
|
id: string;
|
|
@@ -2885,15 +2931,17 @@ export declare const callHistoryContract: {
|
|
|
2885
2931
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2886
2932
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
2887
2933
|
canImpersonateUsers?: {
|
|
2888
|
-
lastName: string;
|
|
2889
|
-
firstName: string;
|
|
2890
2934
|
id: string;
|
|
2935
|
+
firstName: string;
|
|
2936
|
+
lastName: string;
|
|
2891
2937
|
}[] | undefined;
|
|
2892
2938
|
} | undefined;
|
|
2893
|
-
|
|
2894
|
-
|
|
2939
|
+
company?: {
|
|
2940
|
+
id: string;
|
|
2895
2941
|
name: string;
|
|
2896
|
-
|
|
2942
|
+
createdAt: string | Date;
|
|
2943
|
+
updatedAt: string | Date;
|
|
2944
|
+
} | null | undefined;
|
|
2897
2945
|
} | null | undefined;
|
|
2898
2946
|
}>;
|
|
2899
2947
|
404: z.ZodObject<{
|