@dakkitor/api-contracts 1.1.128 → 1.1.130
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/abilities/admin.abilities.json +4 -0
- package/dist/abilities/kpi.abilities.json +9 -0
- package/dist/actives/actives.contract.d.ts +6485 -5013
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/actives/actives.contract.js +92 -92
- package/dist/agent-client-links/agent-client-links.contract.d.ts +721 -351
- package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -1
- package/dist/auth/auth.contract.d.ts +16 -16
- package/dist/bookings/bookings.contract.d.ts +24446 -18718
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/call-history/call-history.contract.d.ts +706 -428
- package/dist/call-history/call-history.contract.d.ts.map +1 -1
- package/dist/client-contacts/client-contacts.contract.d.ts +356 -356
- package/dist/clients/clients.contract.d.ts +106 -106
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +1813 -1197
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts.map +1 -1
- package/dist/collaborations/collaborations.contract.d.ts +1629 -1024
- package/dist/collaborations/collaborations.contract.d.ts.map +1 -1
- package/dist/curated-workers/curated-workers.contract.d.ts +350 -350
- package/dist/dashboards/dashboard-widgets.contract.d.ts +78 -78
- package/dist/dashboards/dashboard.contract.d.ts +26 -26
- package/dist/jobs/jobs.contract.d.ts +3290 -2230
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/lead-assignments/lead-assignments.contract.d.ts +636 -332
- package/dist/lead-assignments/lead-assignments.contract.d.ts.map +1 -1
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +296 -144
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts.map +1 -1
- package/dist/leads/leads.contract.d.ts +122 -122
- package/dist/monitoring/monitoring.contract.d.ts +138 -138
- package/dist/users/users.contract.d.ts +322 -158
- package/dist/users/users.contract.d.ts.map +1 -1
- package/dist/users/users.contract.js +133 -125
- package/dist/workers/workers.contract.d.ts +630 -412
- package/dist/workers/workers.contract.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -32,11 +32,11 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
32
32
|
name: z.ZodString;
|
|
33
33
|
phoneNumber: z.ZodString;
|
|
34
34
|
}, "strip", z.ZodTypeAny, {
|
|
35
|
-
name: string;
|
|
36
35
|
phoneNumber: string;
|
|
37
|
-
}, {
|
|
38
36
|
name: string;
|
|
37
|
+
}, {
|
|
39
38
|
phoneNumber: string;
|
|
39
|
+
name: string;
|
|
40
40
|
}>>;
|
|
41
41
|
agentId: z.ZodNullable<z.ZodString>;
|
|
42
42
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -62,30 +62,48 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
62
62
|
}>, "many">>>;
|
|
63
63
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
|
|
64
64
|
office: z.ZodOptional<z.ZodNullable<z.ZodEnum<["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"]>>>;
|
|
65
|
+
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
66
|
+
id: z.ZodString;
|
|
67
|
+
firstName: z.ZodString;
|
|
68
|
+
lastName: z.ZodString;
|
|
69
|
+
}, "strip", z.ZodTypeAny, {
|
|
70
|
+
lastName: string;
|
|
71
|
+
firstName: string;
|
|
72
|
+
id: string;
|
|
73
|
+
}, {
|
|
74
|
+
lastName: string;
|
|
75
|
+
firstName: string;
|
|
76
|
+
id: string;
|
|
77
|
+
}>, "many">>;
|
|
65
78
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
66
79
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
67
80
|
}, "strip", z.ZodTypeAny, {
|
|
68
|
-
id: string;
|
|
69
|
-
createdAt: string;
|
|
70
|
-
updatedAt: string;
|
|
71
|
-
firstName: string;
|
|
72
81
|
lastName: string;
|
|
82
|
+
firstName: string;
|
|
73
83
|
email: string;
|
|
84
|
+
createdAt: string;
|
|
85
|
+
id: string;
|
|
74
86
|
phoneNumbers: {
|
|
75
87
|
id: string;
|
|
76
88
|
phoneNumber: string;
|
|
77
89
|
isPrimary: boolean;
|
|
78
90
|
description?: string | null | undefined;
|
|
79
91
|
}[];
|
|
92
|
+
updatedAt: string;
|
|
80
93
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
81
94
|
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
|
+
canImpersonateUsers?: {
|
|
96
|
+
lastName: string;
|
|
97
|
+
firstName: string;
|
|
98
|
+
id: string;
|
|
99
|
+
}[] | undefined;
|
|
82
100
|
}, {
|
|
83
|
-
id: string;
|
|
84
|
-
createdAt: string | Date;
|
|
85
|
-
updatedAt: string | Date;
|
|
86
|
-
firstName: string;
|
|
87
101
|
lastName: string;
|
|
102
|
+
firstName: string;
|
|
88
103
|
email: string;
|
|
104
|
+
createdAt: string | Date;
|
|
105
|
+
id: string;
|
|
106
|
+
updatedAt: string | Date;
|
|
89
107
|
phoneNumbers?: {
|
|
90
108
|
id: string;
|
|
91
109
|
phoneNumber: string;
|
|
@@ -94,6 +112,11 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
94
112
|
}[] | undefined;
|
|
95
113
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
96
114
|
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
|
+
canImpersonateUsers?: {
|
|
116
|
+
lastName: string;
|
|
117
|
+
firstName: string;
|
|
118
|
+
id: string;
|
|
119
|
+
}[] | undefined;
|
|
97
120
|
}>>;
|
|
98
121
|
assignedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
99
122
|
assignedBy: z.ZodNullable<z.ZodString>;
|
|
@@ -105,77 +128,82 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
105
128
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
106
129
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
107
130
|
}, "strip", z.ZodTypeAny, {
|
|
108
|
-
id: string;
|
|
109
|
-
name: string;
|
|
110
131
|
createdAt: string;
|
|
111
|
-
updatedAt: string;
|
|
112
|
-
}, {
|
|
113
132
|
id: string;
|
|
133
|
+
updatedAt: string;
|
|
114
134
|
name: string;
|
|
135
|
+
}, {
|
|
115
136
|
createdAt: string | Date;
|
|
137
|
+
id: string;
|
|
116
138
|
updatedAt: string | Date;
|
|
139
|
+
name: string;
|
|
117
140
|
}>>>;
|
|
118
141
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
119
142
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
120
143
|
}, "strip", z.ZodTypeAny, {
|
|
144
|
+
createdAt: string;
|
|
121
145
|
id: string;
|
|
122
146
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
123
|
-
createdAt: string;
|
|
124
147
|
updatedAt: string;
|
|
125
|
-
leadId: string;
|
|
126
148
|
agentId: string | null;
|
|
127
149
|
companyId: string | null;
|
|
150
|
+
leadId: string;
|
|
128
151
|
assignedAt: string;
|
|
129
152
|
assignedBy: string | null;
|
|
130
153
|
company?: {
|
|
131
|
-
id: string;
|
|
132
|
-
name: string;
|
|
133
154
|
createdAt: string;
|
|
155
|
+
id: string;
|
|
134
156
|
updatedAt: string;
|
|
157
|
+
name: string;
|
|
135
158
|
} | null | undefined;
|
|
136
159
|
agent?: {
|
|
137
|
-
id: string;
|
|
138
|
-
createdAt: string;
|
|
139
|
-
updatedAt: string;
|
|
140
|
-
firstName: string;
|
|
141
160
|
lastName: string;
|
|
161
|
+
firstName: string;
|
|
142
162
|
email: string;
|
|
163
|
+
createdAt: string;
|
|
164
|
+
id: string;
|
|
143
165
|
phoneNumbers: {
|
|
144
166
|
id: string;
|
|
145
167
|
phoneNumber: string;
|
|
146
168
|
isPrimary: boolean;
|
|
147
169
|
description?: string | null | undefined;
|
|
148
170
|
}[];
|
|
171
|
+
updatedAt: string;
|
|
149
172
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
150
173
|
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
|
+
canImpersonateUsers?: {
|
|
175
|
+
lastName: string;
|
|
176
|
+
firstName: string;
|
|
177
|
+
id: string;
|
|
178
|
+
}[] | undefined;
|
|
151
179
|
} | undefined;
|
|
152
180
|
lead?: {
|
|
153
|
-
name: string;
|
|
154
181
|
phoneNumber: string;
|
|
182
|
+
name: string;
|
|
155
183
|
} | undefined;
|
|
156
184
|
}, {
|
|
185
|
+
createdAt: string | Date;
|
|
157
186
|
id: string;
|
|
158
187
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
159
|
-
createdAt: string | Date;
|
|
160
188
|
updatedAt: string | Date;
|
|
161
|
-
leadId: string;
|
|
162
189
|
agentId: string | null;
|
|
163
190
|
companyId: string | null;
|
|
191
|
+
leadId: string;
|
|
164
192
|
assignedAt: string | Date;
|
|
165
193
|
assignedBy: string | null;
|
|
166
194
|
company?: {
|
|
167
|
-
id: string;
|
|
168
|
-
name: string;
|
|
169
195
|
createdAt: string | Date;
|
|
196
|
+
id: string;
|
|
170
197
|
updatedAt: string | Date;
|
|
198
|
+
name: string;
|
|
171
199
|
} | null | undefined;
|
|
172
200
|
agent?: {
|
|
173
|
-
id: string;
|
|
174
|
-
createdAt: string | Date;
|
|
175
|
-
updatedAt: string | Date;
|
|
176
|
-
firstName: string;
|
|
177
201
|
lastName: string;
|
|
202
|
+
firstName: string;
|
|
178
203
|
email: string;
|
|
204
|
+
createdAt: string | Date;
|
|
205
|
+
id: string;
|
|
206
|
+
updatedAt: string | Date;
|
|
179
207
|
phoneNumbers?: {
|
|
180
208
|
id: string;
|
|
181
209
|
phoneNumber: string;
|
|
@@ -184,10 +212,15 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
184
212
|
}[] | undefined;
|
|
185
213
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
186
214
|
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
|
+
canImpersonateUsers?: {
|
|
216
|
+
lastName: string;
|
|
217
|
+
firstName: string;
|
|
218
|
+
id: string;
|
|
219
|
+
}[] | undefined;
|
|
187
220
|
} | undefined;
|
|
188
221
|
lead?: {
|
|
189
|
-
name: string;
|
|
190
222
|
phoneNumber: string;
|
|
223
|
+
name: string;
|
|
191
224
|
} | undefined;
|
|
192
225
|
}>>>;
|
|
193
226
|
callDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -198,89 +231,94 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
198
231
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
199
232
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
200
233
|
}, "strip", z.ZodTypeAny, {
|
|
201
|
-
id: string;
|
|
202
234
|
createdAt: string;
|
|
235
|
+
id: string;
|
|
203
236
|
updatedAt: string;
|
|
237
|
+
rating: CallRating;
|
|
238
|
+
notes: string | null;
|
|
204
239
|
assignmentId: string;
|
|
205
240
|
callDate: string;
|
|
206
241
|
callType: CallType;
|
|
207
|
-
rating: CallRating;
|
|
208
242
|
ratingWeight: number;
|
|
209
|
-
notes: string | null;
|
|
210
|
-
leadId?: string | undefined;
|
|
211
243
|
agentId?: string | undefined;
|
|
244
|
+
leadId?: string | undefined;
|
|
212
245
|
assignment?: {
|
|
246
|
+
createdAt: string;
|
|
213
247
|
id: string;
|
|
214
248
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
215
|
-
createdAt: string;
|
|
216
249
|
updatedAt: string;
|
|
217
|
-
leadId: string;
|
|
218
250
|
agentId: string | null;
|
|
219
251
|
companyId: string | null;
|
|
252
|
+
leadId: string;
|
|
220
253
|
assignedAt: string;
|
|
221
254
|
assignedBy: string | null;
|
|
222
255
|
company?: {
|
|
223
|
-
id: string;
|
|
224
|
-
name: string;
|
|
225
256
|
createdAt: string;
|
|
257
|
+
id: string;
|
|
226
258
|
updatedAt: string;
|
|
259
|
+
name: string;
|
|
227
260
|
} | null | undefined;
|
|
228
261
|
agent?: {
|
|
229
|
-
id: string;
|
|
230
|
-
createdAt: string;
|
|
231
|
-
updatedAt: string;
|
|
232
|
-
firstName: string;
|
|
233
262
|
lastName: string;
|
|
263
|
+
firstName: string;
|
|
234
264
|
email: string;
|
|
265
|
+
createdAt: string;
|
|
266
|
+
id: string;
|
|
235
267
|
phoneNumbers: {
|
|
236
268
|
id: string;
|
|
237
269
|
phoneNumber: string;
|
|
238
270
|
isPrimary: boolean;
|
|
239
271
|
description?: string | null | undefined;
|
|
240
272
|
}[];
|
|
273
|
+
updatedAt: string;
|
|
241
274
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
242
275
|
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
|
+
canImpersonateUsers?: {
|
|
277
|
+
lastName: string;
|
|
278
|
+
firstName: string;
|
|
279
|
+
id: string;
|
|
280
|
+
}[] | undefined;
|
|
243
281
|
} | undefined;
|
|
244
282
|
lead?: {
|
|
245
|
-
name: string;
|
|
246
283
|
phoneNumber: string;
|
|
284
|
+
name: string;
|
|
247
285
|
} | undefined;
|
|
248
286
|
} | null | undefined;
|
|
249
287
|
}, {
|
|
250
|
-
id: string;
|
|
251
288
|
createdAt: string | Date;
|
|
289
|
+
id: string;
|
|
252
290
|
updatedAt: string | Date;
|
|
291
|
+
rating: CallRating;
|
|
292
|
+
notes: string | null;
|
|
253
293
|
assignmentId: string;
|
|
254
294
|
callDate: string | Date;
|
|
255
295
|
callType: CallType;
|
|
256
|
-
rating: CallRating;
|
|
257
296
|
ratingWeight: number;
|
|
258
|
-
notes: string | null;
|
|
259
|
-
leadId?: string | undefined;
|
|
260
297
|
agentId?: string | undefined;
|
|
298
|
+
leadId?: string | undefined;
|
|
261
299
|
assignment?: {
|
|
300
|
+
createdAt: string | Date;
|
|
262
301
|
id: string;
|
|
263
302
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
264
|
-
createdAt: string | Date;
|
|
265
303
|
updatedAt: string | Date;
|
|
266
|
-
leadId: string;
|
|
267
304
|
agentId: string | null;
|
|
268
305
|
companyId: string | null;
|
|
306
|
+
leadId: string;
|
|
269
307
|
assignedAt: string | Date;
|
|
270
308
|
assignedBy: string | null;
|
|
271
309
|
company?: {
|
|
272
|
-
id: string;
|
|
273
|
-
name: string;
|
|
274
310
|
createdAt: string | Date;
|
|
311
|
+
id: string;
|
|
275
312
|
updatedAt: string | Date;
|
|
313
|
+
name: string;
|
|
276
314
|
} | null | undefined;
|
|
277
315
|
agent?: {
|
|
278
|
-
id: string;
|
|
279
|
-
createdAt: string | Date;
|
|
280
|
-
updatedAt: string | Date;
|
|
281
|
-
firstName: string;
|
|
282
316
|
lastName: string;
|
|
317
|
+
firstName: string;
|
|
283
318
|
email: string;
|
|
319
|
+
createdAt: string | Date;
|
|
320
|
+
id: string;
|
|
321
|
+
updatedAt: string | Date;
|
|
284
322
|
phoneNumbers?: {
|
|
285
323
|
id: string;
|
|
286
324
|
phoneNumber: string;
|
|
@@ -289,10 +327,15 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
289
327
|
}[] | undefined;
|
|
290
328
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
291
329
|
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
|
+
canImpersonateUsers?: {
|
|
331
|
+
lastName: string;
|
|
332
|
+
firstName: string;
|
|
333
|
+
id: string;
|
|
334
|
+
}[] | undefined;
|
|
292
335
|
} | undefined;
|
|
293
336
|
lead?: {
|
|
294
|
-
name: string;
|
|
295
337
|
phoneNumber: string;
|
|
338
|
+
name: string;
|
|
296
339
|
} | undefined;
|
|
297
340
|
} | null | undefined;
|
|
298
341
|
}>;
|
|
@@ -309,11 +352,11 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
309
352
|
name: z.ZodString;
|
|
310
353
|
phoneNumber: z.ZodString;
|
|
311
354
|
}, "strip", z.ZodTypeAny, {
|
|
312
|
-
name: string;
|
|
313
355
|
phoneNumber: string;
|
|
314
|
-
}, {
|
|
315
356
|
name: string;
|
|
357
|
+
}, {
|
|
316
358
|
phoneNumber: string;
|
|
359
|
+
name: string;
|
|
317
360
|
}>>;
|
|
318
361
|
agentId: z.ZodNullable<z.ZodString>;
|
|
319
362
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -339,30 +382,48 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
339
382
|
}>, "many">>>;
|
|
340
383
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
|
|
341
384
|
office: z.ZodOptional<z.ZodNullable<z.ZodEnum<["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"]>>>;
|
|
385
|
+
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
386
|
+
id: z.ZodString;
|
|
387
|
+
firstName: z.ZodString;
|
|
388
|
+
lastName: z.ZodString;
|
|
389
|
+
}, "strip", z.ZodTypeAny, {
|
|
390
|
+
lastName: string;
|
|
391
|
+
firstName: string;
|
|
392
|
+
id: string;
|
|
393
|
+
}, {
|
|
394
|
+
lastName: string;
|
|
395
|
+
firstName: string;
|
|
396
|
+
id: string;
|
|
397
|
+
}>, "many">>;
|
|
342
398
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
343
399
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
344
400
|
}, "strip", z.ZodTypeAny, {
|
|
345
|
-
id: string;
|
|
346
|
-
createdAt: string;
|
|
347
|
-
updatedAt: string;
|
|
348
|
-
firstName: string;
|
|
349
401
|
lastName: string;
|
|
402
|
+
firstName: string;
|
|
350
403
|
email: string;
|
|
404
|
+
createdAt: string;
|
|
405
|
+
id: string;
|
|
351
406
|
phoneNumbers: {
|
|
352
407
|
id: string;
|
|
353
408
|
phoneNumber: string;
|
|
354
409
|
isPrimary: boolean;
|
|
355
410
|
description?: string | null | undefined;
|
|
356
411
|
}[];
|
|
412
|
+
updatedAt: string;
|
|
357
413
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
358
414
|
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
|
+
canImpersonateUsers?: {
|
|
416
|
+
lastName: string;
|
|
417
|
+
firstName: string;
|
|
418
|
+
id: string;
|
|
419
|
+
}[] | undefined;
|
|
359
420
|
}, {
|
|
360
|
-
id: string;
|
|
361
|
-
createdAt: string | Date;
|
|
362
|
-
updatedAt: string | Date;
|
|
363
|
-
firstName: string;
|
|
364
421
|
lastName: string;
|
|
422
|
+
firstName: string;
|
|
365
423
|
email: string;
|
|
424
|
+
createdAt: string | Date;
|
|
425
|
+
id: string;
|
|
426
|
+
updatedAt: string | Date;
|
|
366
427
|
phoneNumbers?: {
|
|
367
428
|
id: string;
|
|
368
429
|
phoneNumber: string;
|
|
@@ -371,6 +432,11 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
371
432
|
}[] | undefined;
|
|
372
433
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
373
434
|
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
|
+
canImpersonateUsers?: {
|
|
436
|
+
lastName: string;
|
|
437
|
+
firstName: string;
|
|
438
|
+
id: string;
|
|
439
|
+
}[] | undefined;
|
|
374
440
|
}>>;
|
|
375
441
|
assignedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
376
442
|
assignedBy: z.ZodNullable<z.ZodString>;
|
|
@@ -382,77 +448,82 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
382
448
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
383
449
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
384
450
|
}, "strip", z.ZodTypeAny, {
|
|
385
|
-
id: string;
|
|
386
|
-
name: string;
|
|
387
451
|
createdAt: string;
|
|
388
|
-
updatedAt: string;
|
|
389
|
-
}, {
|
|
390
452
|
id: string;
|
|
453
|
+
updatedAt: string;
|
|
391
454
|
name: string;
|
|
455
|
+
}, {
|
|
392
456
|
createdAt: string | Date;
|
|
457
|
+
id: string;
|
|
393
458
|
updatedAt: string | Date;
|
|
459
|
+
name: string;
|
|
394
460
|
}>>>;
|
|
395
461
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
396
462
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
397
463
|
}, "strip", z.ZodTypeAny, {
|
|
464
|
+
createdAt: string;
|
|
398
465
|
id: string;
|
|
399
466
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
400
|
-
createdAt: string;
|
|
401
467
|
updatedAt: string;
|
|
402
|
-
leadId: string;
|
|
403
468
|
agentId: string | null;
|
|
404
469
|
companyId: string | null;
|
|
470
|
+
leadId: string;
|
|
405
471
|
assignedAt: string;
|
|
406
472
|
assignedBy: string | null;
|
|
407
473
|
company?: {
|
|
408
|
-
id: string;
|
|
409
|
-
name: string;
|
|
410
474
|
createdAt: string;
|
|
475
|
+
id: string;
|
|
411
476
|
updatedAt: string;
|
|
477
|
+
name: string;
|
|
412
478
|
} | null | undefined;
|
|
413
479
|
agent?: {
|
|
414
|
-
id: string;
|
|
415
|
-
createdAt: string;
|
|
416
|
-
updatedAt: string;
|
|
417
|
-
firstName: string;
|
|
418
480
|
lastName: string;
|
|
481
|
+
firstName: string;
|
|
419
482
|
email: string;
|
|
483
|
+
createdAt: string;
|
|
484
|
+
id: string;
|
|
420
485
|
phoneNumbers: {
|
|
421
486
|
id: string;
|
|
422
487
|
phoneNumber: string;
|
|
423
488
|
isPrimary: boolean;
|
|
424
489
|
description?: string | null | undefined;
|
|
425
490
|
}[];
|
|
491
|
+
updatedAt: string;
|
|
426
492
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
427
493
|
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
|
+
canImpersonateUsers?: {
|
|
495
|
+
lastName: string;
|
|
496
|
+
firstName: string;
|
|
497
|
+
id: string;
|
|
498
|
+
}[] | undefined;
|
|
428
499
|
} | undefined;
|
|
429
500
|
lead?: {
|
|
430
|
-
name: string;
|
|
431
501
|
phoneNumber: string;
|
|
502
|
+
name: string;
|
|
432
503
|
} | undefined;
|
|
433
504
|
}, {
|
|
505
|
+
createdAt: string | Date;
|
|
434
506
|
id: string;
|
|
435
507
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
436
|
-
createdAt: string | Date;
|
|
437
508
|
updatedAt: string | Date;
|
|
438
|
-
leadId: string;
|
|
439
509
|
agentId: string | null;
|
|
440
510
|
companyId: string | null;
|
|
511
|
+
leadId: string;
|
|
441
512
|
assignedAt: string | Date;
|
|
442
513
|
assignedBy: string | null;
|
|
443
514
|
company?: {
|
|
444
|
-
id: string;
|
|
445
|
-
name: string;
|
|
446
515
|
createdAt: string | Date;
|
|
516
|
+
id: string;
|
|
447
517
|
updatedAt: string | Date;
|
|
518
|
+
name: string;
|
|
448
519
|
} | null | undefined;
|
|
449
520
|
agent?: {
|
|
450
|
-
id: string;
|
|
451
|
-
createdAt: string | Date;
|
|
452
|
-
updatedAt: string | Date;
|
|
453
|
-
firstName: string;
|
|
454
521
|
lastName: string;
|
|
522
|
+
firstName: string;
|
|
455
523
|
email: string;
|
|
524
|
+
createdAt: string | Date;
|
|
525
|
+
id: string;
|
|
526
|
+
updatedAt: string | Date;
|
|
456
527
|
phoneNumbers?: {
|
|
457
528
|
id: string;
|
|
458
529
|
phoneNumber: string;
|
|
@@ -461,10 +532,15 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
461
532
|
}[] | undefined;
|
|
462
533
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
463
534
|
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
|
+
canImpersonateUsers?: {
|
|
536
|
+
lastName: string;
|
|
537
|
+
firstName: string;
|
|
538
|
+
id: string;
|
|
539
|
+
}[] | undefined;
|
|
464
540
|
} | undefined;
|
|
465
541
|
lead?: {
|
|
466
|
-
name: string;
|
|
467
542
|
phoneNumber: string;
|
|
543
|
+
name: string;
|
|
468
544
|
} | undefined;
|
|
469
545
|
}>>>;
|
|
470
546
|
callDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -475,89 +551,94 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
475
551
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
476
552
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
477
553
|
}, "strip", z.ZodTypeAny, {
|
|
478
|
-
id: string;
|
|
479
554
|
createdAt: string;
|
|
555
|
+
id: string;
|
|
480
556
|
updatedAt: string;
|
|
557
|
+
rating: CallRating;
|
|
558
|
+
notes: string | null;
|
|
481
559
|
assignmentId: string;
|
|
482
560
|
callDate: string;
|
|
483
561
|
callType: CallType;
|
|
484
|
-
rating: CallRating;
|
|
485
562
|
ratingWeight: number;
|
|
486
|
-
notes: string | null;
|
|
487
|
-
leadId?: string | undefined;
|
|
488
563
|
agentId?: string | undefined;
|
|
564
|
+
leadId?: string | undefined;
|
|
489
565
|
assignment?: {
|
|
566
|
+
createdAt: string;
|
|
490
567
|
id: string;
|
|
491
568
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
492
|
-
createdAt: string;
|
|
493
569
|
updatedAt: string;
|
|
494
|
-
leadId: string;
|
|
495
570
|
agentId: string | null;
|
|
496
571
|
companyId: string | null;
|
|
572
|
+
leadId: string;
|
|
497
573
|
assignedAt: string;
|
|
498
574
|
assignedBy: string | null;
|
|
499
575
|
company?: {
|
|
500
|
-
id: string;
|
|
501
|
-
name: string;
|
|
502
576
|
createdAt: string;
|
|
577
|
+
id: string;
|
|
503
578
|
updatedAt: string;
|
|
579
|
+
name: string;
|
|
504
580
|
} | null | undefined;
|
|
505
581
|
agent?: {
|
|
506
|
-
id: string;
|
|
507
|
-
createdAt: string;
|
|
508
|
-
updatedAt: string;
|
|
509
|
-
firstName: string;
|
|
510
582
|
lastName: string;
|
|
583
|
+
firstName: string;
|
|
511
584
|
email: string;
|
|
585
|
+
createdAt: string;
|
|
586
|
+
id: string;
|
|
512
587
|
phoneNumbers: {
|
|
513
588
|
id: string;
|
|
514
589
|
phoneNumber: string;
|
|
515
590
|
isPrimary: boolean;
|
|
516
591
|
description?: string | null | undefined;
|
|
517
592
|
}[];
|
|
593
|
+
updatedAt: string;
|
|
518
594
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
519
595
|
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
|
+
canImpersonateUsers?: {
|
|
597
|
+
lastName: string;
|
|
598
|
+
firstName: string;
|
|
599
|
+
id: string;
|
|
600
|
+
}[] | undefined;
|
|
520
601
|
} | undefined;
|
|
521
602
|
lead?: {
|
|
522
|
-
name: string;
|
|
523
603
|
phoneNumber: string;
|
|
604
|
+
name: string;
|
|
524
605
|
} | undefined;
|
|
525
606
|
} | null | undefined;
|
|
526
607
|
}, {
|
|
527
|
-
id: string;
|
|
528
608
|
createdAt: string | Date;
|
|
609
|
+
id: string;
|
|
529
610
|
updatedAt: string | Date;
|
|
611
|
+
rating: CallRating;
|
|
612
|
+
notes: string | null;
|
|
530
613
|
assignmentId: string;
|
|
531
614
|
callDate: string | Date;
|
|
532
615
|
callType: CallType;
|
|
533
|
-
rating: CallRating;
|
|
534
616
|
ratingWeight: number;
|
|
535
|
-
notes: string | null;
|
|
536
|
-
leadId?: string | undefined;
|
|
537
617
|
agentId?: string | undefined;
|
|
618
|
+
leadId?: string | undefined;
|
|
538
619
|
assignment?: {
|
|
620
|
+
createdAt: string | Date;
|
|
539
621
|
id: string;
|
|
540
622
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
541
|
-
createdAt: string | Date;
|
|
542
623
|
updatedAt: string | Date;
|
|
543
|
-
leadId: string;
|
|
544
624
|
agentId: string | null;
|
|
545
625
|
companyId: string | null;
|
|
626
|
+
leadId: string;
|
|
546
627
|
assignedAt: string | Date;
|
|
547
628
|
assignedBy: string | null;
|
|
548
629
|
company?: {
|
|
549
|
-
id: string;
|
|
550
|
-
name: string;
|
|
551
630
|
createdAt: string | Date;
|
|
631
|
+
id: string;
|
|
552
632
|
updatedAt: string | Date;
|
|
633
|
+
name: string;
|
|
553
634
|
} | null | undefined;
|
|
554
635
|
agent?: {
|
|
555
|
-
id: string;
|
|
556
|
-
createdAt: string | Date;
|
|
557
|
-
updatedAt: string | Date;
|
|
558
|
-
firstName: string;
|
|
559
636
|
lastName: string;
|
|
637
|
+
firstName: string;
|
|
560
638
|
email: string;
|
|
639
|
+
createdAt: string | Date;
|
|
640
|
+
id: string;
|
|
641
|
+
updatedAt: string | Date;
|
|
561
642
|
phoneNumbers?: {
|
|
562
643
|
id: string;
|
|
563
644
|
phoneNumber: string;
|
|
@@ -566,10 +647,15 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
566
647
|
}[] | undefined;
|
|
567
648
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
568
649
|
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
|
+
canImpersonateUsers?: {
|
|
651
|
+
lastName: string;
|
|
652
|
+
firstName: string;
|
|
653
|
+
id: string;
|
|
654
|
+
}[] | undefined;
|
|
569
655
|
} | undefined;
|
|
570
656
|
lead?: {
|
|
571
|
-
name: string;
|
|
572
657
|
phoneNumber: string;
|
|
658
|
+
name: string;
|
|
573
659
|
} | undefined;
|
|
574
660
|
} | null | undefined;
|
|
575
661
|
}>, "many">;
|
|
@@ -581,52 +667,57 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
581
667
|
}, "strip", z.ZodTypeAny, {
|
|
582
668
|
limit: number;
|
|
583
669
|
items: {
|
|
584
|
-
id: string;
|
|
585
670
|
createdAt: string;
|
|
671
|
+
id: string;
|
|
586
672
|
updatedAt: string;
|
|
673
|
+
rating: CallRating;
|
|
674
|
+
notes: string | null;
|
|
587
675
|
assignmentId: string;
|
|
588
676
|
callDate: string;
|
|
589
677
|
callType: CallType;
|
|
590
|
-
rating: CallRating;
|
|
591
678
|
ratingWeight: number;
|
|
592
|
-
notes: string | null;
|
|
593
|
-
leadId?: string | undefined;
|
|
594
679
|
agentId?: string | undefined;
|
|
680
|
+
leadId?: string | undefined;
|
|
595
681
|
assignment?: {
|
|
682
|
+
createdAt: string;
|
|
596
683
|
id: string;
|
|
597
684
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
598
|
-
createdAt: string;
|
|
599
685
|
updatedAt: string;
|
|
600
|
-
leadId: string;
|
|
601
686
|
agentId: string | null;
|
|
602
687
|
companyId: string | null;
|
|
688
|
+
leadId: string;
|
|
603
689
|
assignedAt: string;
|
|
604
690
|
assignedBy: string | null;
|
|
605
691
|
company?: {
|
|
606
|
-
id: string;
|
|
607
|
-
name: string;
|
|
608
692
|
createdAt: string;
|
|
693
|
+
id: string;
|
|
609
694
|
updatedAt: string;
|
|
695
|
+
name: string;
|
|
610
696
|
} | null | undefined;
|
|
611
697
|
agent?: {
|
|
612
|
-
id: string;
|
|
613
|
-
createdAt: string;
|
|
614
|
-
updatedAt: string;
|
|
615
|
-
firstName: string;
|
|
616
698
|
lastName: string;
|
|
699
|
+
firstName: string;
|
|
617
700
|
email: string;
|
|
701
|
+
createdAt: string;
|
|
702
|
+
id: string;
|
|
618
703
|
phoneNumbers: {
|
|
619
704
|
id: string;
|
|
620
705
|
phoneNumber: string;
|
|
621
706
|
isPrimary: boolean;
|
|
622
707
|
description?: string | null | undefined;
|
|
623
708
|
}[];
|
|
709
|
+
updatedAt: string;
|
|
624
710
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
625
711
|
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
|
+
canImpersonateUsers?: {
|
|
713
|
+
lastName: string;
|
|
714
|
+
firstName: string;
|
|
715
|
+
id: string;
|
|
716
|
+
}[] | undefined;
|
|
626
717
|
} | undefined;
|
|
627
718
|
lead?: {
|
|
628
|
-
name: string;
|
|
629
719
|
phoneNumber: string;
|
|
720
|
+
name: string;
|
|
630
721
|
} | undefined;
|
|
631
722
|
} | null | undefined;
|
|
632
723
|
}[];
|
|
@@ -637,40 +728,40 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
637
728
|
}, {
|
|
638
729
|
limit: number;
|
|
639
730
|
items: {
|
|
640
|
-
id: string;
|
|
641
731
|
createdAt: string | Date;
|
|
732
|
+
id: string;
|
|
642
733
|
updatedAt: string | Date;
|
|
734
|
+
rating: CallRating;
|
|
735
|
+
notes: string | null;
|
|
643
736
|
assignmentId: string;
|
|
644
737
|
callDate: string | Date;
|
|
645
738
|
callType: CallType;
|
|
646
|
-
rating: CallRating;
|
|
647
739
|
ratingWeight: number;
|
|
648
|
-
notes: string | null;
|
|
649
|
-
leadId?: string | undefined;
|
|
650
740
|
agentId?: string | undefined;
|
|
741
|
+
leadId?: string | undefined;
|
|
651
742
|
assignment?: {
|
|
743
|
+
createdAt: string | Date;
|
|
652
744
|
id: string;
|
|
653
745
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
654
|
-
createdAt: string | Date;
|
|
655
746
|
updatedAt: string | Date;
|
|
656
|
-
leadId: string;
|
|
657
747
|
agentId: string | null;
|
|
658
748
|
companyId: string | null;
|
|
749
|
+
leadId: string;
|
|
659
750
|
assignedAt: string | Date;
|
|
660
751
|
assignedBy: string | null;
|
|
661
752
|
company?: {
|
|
662
|
-
id: string;
|
|
663
|
-
name: string;
|
|
664
753
|
createdAt: string | Date;
|
|
754
|
+
id: string;
|
|
665
755
|
updatedAt: string | Date;
|
|
756
|
+
name: string;
|
|
666
757
|
} | null | undefined;
|
|
667
758
|
agent?: {
|
|
668
|
-
id: string;
|
|
669
|
-
createdAt: string | Date;
|
|
670
|
-
updatedAt: string | Date;
|
|
671
|
-
firstName: string;
|
|
672
759
|
lastName: string;
|
|
760
|
+
firstName: string;
|
|
673
761
|
email: string;
|
|
762
|
+
createdAt: string | Date;
|
|
763
|
+
id: string;
|
|
764
|
+
updatedAt: string | Date;
|
|
674
765
|
phoneNumbers?: {
|
|
675
766
|
id: string;
|
|
676
767
|
phoneNumber: string;
|
|
@@ -679,10 +770,15 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
679
770
|
}[] | undefined;
|
|
680
771
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
681
772
|
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
|
+
canImpersonateUsers?: {
|
|
774
|
+
lastName: string;
|
|
775
|
+
firstName: string;
|
|
776
|
+
id: string;
|
|
777
|
+
}[] | undefined;
|
|
682
778
|
} | undefined;
|
|
683
779
|
lead?: {
|
|
684
|
-
name: string;
|
|
685
780
|
phoneNumber: string;
|
|
781
|
+
name: string;
|
|
686
782
|
} | undefined;
|
|
687
783
|
} | null | undefined;
|
|
688
784
|
}[];
|
|
@@ -697,14 +793,14 @@ export declare const CreateCallHistorySchema: z.ZodObject<{
|
|
|
697
793
|
notes: z.ZodOptional<z.ZodString>;
|
|
698
794
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
699
795
|
}, "strip", z.ZodTypeAny, {
|
|
796
|
+
rating: CallRating;
|
|
700
797
|
assignmentId: string;
|
|
701
798
|
callType: CallType;
|
|
702
|
-
rating: CallRating;
|
|
703
799
|
notes?: string | undefined;
|
|
704
800
|
}, {
|
|
801
|
+
rating: CallRating;
|
|
705
802
|
assignmentId: string;
|
|
706
803
|
callType: CallType;
|
|
707
|
-
rating: CallRating;
|
|
708
804
|
notes?: string | undefined;
|
|
709
805
|
}>;
|
|
710
806
|
export declare const UpdateCallHistorySchema: z.ZodObject<{
|
|
@@ -712,13 +808,13 @@ export declare const UpdateCallHistorySchema: z.ZodObject<{
|
|
|
712
808
|
rating: z.ZodOptional<z.ZodNativeEnum<typeof CallRating>>;
|
|
713
809
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
714
810
|
}, "strip", z.ZodTypeAny, {
|
|
715
|
-
callDate?: string | undefined;
|
|
716
811
|
rating?: CallRating | undefined;
|
|
717
812
|
notes?: string | null | undefined;
|
|
718
|
-
}, {
|
|
719
813
|
callDate?: string | undefined;
|
|
814
|
+
}, {
|
|
720
815
|
rating?: CallRating | undefined;
|
|
721
816
|
notes?: string | null | undefined;
|
|
817
|
+
callDate?: string | undefined;
|
|
722
818
|
}>;
|
|
723
819
|
export declare const FilterCallHistorySchema: z.ZodObject<{
|
|
724
820
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
@@ -755,32 +851,32 @@ export declare const FilterCallHistorySchema: z.ZodObject<{
|
|
|
755
851
|
sortBy?: CallHistorySortableFields | undefined;
|
|
756
852
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
757
853
|
agentId?: string | undefined;
|
|
854
|
+
companyId?: string | undefined;
|
|
855
|
+
rating?: {
|
|
856
|
+
from?: CallRating | null | undefined;
|
|
857
|
+
to?: CallRating | null | undefined;
|
|
858
|
+
} | null | undefined;
|
|
758
859
|
callDate?: {
|
|
759
860
|
from?: string | null | undefined;
|
|
760
861
|
to?: string | null | undefined;
|
|
761
862
|
} | null | undefined;
|
|
762
863
|
callType?: CallType | undefined;
|
|
763
|
-
rating?: {
|
|
764
|
-
from?: CallRating | null | undefined;
|
|
765
|
-
to?: CallRating | null | undefined;
|
|
766
|
-
} | null | undefined;
|
|
767
|
-
companyId?: string | undefined;
|
|
768
864
|
}, {
|
|
769
865
|
limit?: number | undefined;
|
|
770
866
|
page?: number | undefined;
|
|
771
867
|
sortBy?: CallHistorySortableFields | undefined;
|
|
772
868
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
773
869
|
agentId?: string | undefined;
|
|
870
|
+
companyId?: string | undefined;
|
|
871
|
+
rating?: {
|
|
872
|
+
from?: unknown;
|
|
873
|
+
to?: unknown;
|
|
874
|
+
} | null | undefined;
|
|
774
875
|
callDate?: {
|
|
775
876
|
from?: string | null | undefined;
|
|
776
877
|
to?: string | null | undefined;
|
|
777
878
|
} | null | undefined;
|
|
778
879
|
callType?: CallType | undefined;
|
|
779
|
-
rating?: {
|
|
780
|
-
from?: unknown;
|
|
781
|
-
to?: unknown;
|
|
782
|
-
} | null | undefined;
|
|
783
|
-
companyId?: string | undefined;
|
|
784
880
|
}>;
|
|
785
881
|
export declare const CallHistoryStatsSchema: z.ZodObject<{
|
|
786
882
|
totalCalls: z.ZodNumber;
|
|
@@ -814,14 +910,14 @@ export declare const callHistoryContract: {
|
|
|
814
910
|
notes: z.ZodOptional<z.ZodString>;
|
|
815
911
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
816
912
|
}, "strip", z.ZodTypeAny, {
|
|
913
|
+
rating: CallRating;
|
|
817
914
|
assignmentId: string;
|
|
818
915
|
callType: CallType;
|
|
819
|
-
rating: CallRating;
|
|
820
916
|
notes?: string | undefined;
|
|
821
917
|
}, {
|
|
918
|
+
rating: CallRating;
|
|
822
919
|
assignmentId: string;
|
|
823
920
|
callType: CallType;
|
|
824
|
-
rating: CallRating;
|
|
825
921
|
notes?: string | undefined;
|
|
826
922
|
}>;
|
|
827
923
|
path: "/v2/call-history";
|
|
@@ -938,11 +1034,11 @@ export declare const callHistoryContract: {
|
|
|
938
1034
|
name: z.ZodString;
|
|
939
1035
|
phoneNumber: z.ZodString;
|
|
940
1036
|
}, "strip", z.ZodTypeAny, {
|
|
941
|
-
name: string;
|
|
942
1037
|
phoneNumber: string;
|
|
943
|
-
}, {
|
|
944
1038
|
name: string;
|
|
1039
|
+
}, {
|
|
945
1040
|
phoneNumber: string;
|
|
1041
|
+
name: string;
|
|
946
1042
|
}>>;
|
|
947
1043
|
agentId: z.ZodNullable<z.ZodString>;
|
|
948
1044
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -968,30 +1064,48 @@ export declare const callHistoryContract: {
|
|
|
968
1064
|
}>, "many">>>;
|
|
969
1065
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
|
|
970
1066
|
office: z.ZodOptional<z.ZodNullable<z.ZodEnum<["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"]>>>;
|
|
1067
|
+
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1068
|
+
id: z.ZodString;
|
|
1069
|
+
firstName: z.ZodString;
|
|
1070
|
+
lastName: z.ZodString;
|
|
1071
|
+
}, "strip", z.ZodTypeAny, {
|
|
1072
|
+
lastName: string;
|
|
1073
|
+
firstName: string;
|
|
1074
|
+
id: string;
|
|
1075
|
+
}, {
|
|
1076
|
+
lastName: string;
|
|
1077
|
+
firstName: string;
|
|
1078
|
+
id: string;
|
|
1079
|
+
}>, "many">>;
|
|
971
1080
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
972
1081
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
973
1082
|
}, "strip", z.ZodTypeAny, {
|
|
974
|
-
id: string;
|
|
975
|
-
createdAt: string;
|
|
976
|
-
updatedAt: string;
|
|
977
|
-
firstName: string;
|
|
978
1083
|
lastName: string;
|
|
1084
|
+
firstName: string;
|
|
979
1085
|
email: string;
|
|
1086
|
+
createdAt: string;
|
|
1087
|
+
id: string;
|
|
980
1088
|
phoneNumbers: {
|
|
981
1089
|
id: string;
|
|
982
1090
|
phoneNumber: string;
|
|
983
1091
|
isPrimary: boolean;
|
|
984
1092
|
description?: string | null | undefined;
|
|
985
1093
|
}[];
|
|
1094
|
+
updatedAt: string;
|
|
986
1095
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
987
1096
|
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
|
+
canImpersonateUsers?: {
|
|
1098
|
+
lastName: string;
|
|
1099
|
+
firstName: string;
|
|
1100
|
+
id: string;
|
|
1101
|
+
}[] | undefined;
|
|
988
1102
|
}, {
|
|
989
|
-
id: string;
|
|
990
|
-
createdAt: string | Date;
|
|
991
|
-
updatedAt: string | Date;
|
|
992
|
-
firstName: string;
|
|
993
1103
|
lastName: string;
|
|
1104
|
+
firstName: string;
|
|
994
1105
|
email: string;
|
|
1106
|
+
createdAt: string | Date;
|
|
1107
|
+
id: string;
|
|
1108
|
+
updatedAt: string | Date;
|
|
995
1109
|
phoneNumbers?: {
|
|
996
1110
|
id: string;
|
|
997
1111
|
phoneNumber: string;
|
|
@@ -1000,6 +1114,11 @@ export declare const callHistoryContract: {
|
|
|
1000
1114
|
}[] | undefined;
|
|
1001
1115
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1002
1116
|
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
|
+
canImpersonateUsers?: {
|
|
1118
|
+
lastName: string;
|
|
1119
|
+
firstName: string;
|
|
1120
|
+
id: string;
|
|
1121
|
+
}[] | undefined;
|
|
1003
1122
|
}>>;
|
|
1004
1123
|
assignedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1005
1124
|
assignedBy: z.ZodNullable<z.ZodString>;
|
|
@@ -1011,77 +1130,82 @@ export declare const callHistoryContract: {
|
|
|
1011
1130
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1012
1131
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1013
1132
|
}, "strip", z.ZodTypeAny, {
|
|
1014
|
-
id: string;
|
|
1015
|
-
name: string;
|
|
1016
1133
|
createdAt: string;
|
|
1017
|
-
updatedAt: string;
|
|
1018
|
-
}, {
|
|
1019
1134
|
id: string;
|
|
1135
|
+
updatedAt: string;
|
|
1020
1136
|
name: string;
|
|
1137
|
+
}, {
|
|
1021
1138
|
createdAt: string | Date;
|
|
1139
|
+
id: string;
|
|
1022
1140
|
updatedAt: string | Date;
|
|
1141
|
+
name: string;
|
|
1023
1142
|
}>>>;
|
|
1024
1143
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1025
1144
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1026
1145
|
}, "strip", z.ZodTypeAny, {
|
|
1146
|
+
createdAt: string;
|
|
1027
1147
|
id: string;
|
|
1028
1148
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1029
|
-
createdAt: string;
|
|
1030
1149
|
updatedAt: string;
|
|
1031
|
-
leadId: string;
|
|
1032
1150
|
agentId: string | null;
|
|
1033
1151
|
companyId: string | null;
|
|
1152
|
+
leadId: string;
|
|
1034
1153
|
assignedAt: string;
|
|
1035
1154
|
assignedBy: string | null;
|
|
1036
1155
|
company?: {
|
|
1037
|
-
id: string;
|
|
1038
|
-
name: string;
|
|
1039
1156
|
createdAt: string;
|
|
1157
|
+
id: string;
|
|
1040
1158
|
updatedAt: string;
|
|
1159
|
+
name: string;
|
|
1041
1160
|
} | null | undefined;
|
|
1042
1161
|
agent?: {
|
|
1043
|
-
id: string;
|
|
1044
|
-
createdAt: string;
|
|
1045
|
-
updatedAt: string;
|
|
1046
|
-
firstName: string;
|
|
1047
1162
|
lastName: string;
|
|
1163
|
+
firstName: string;
|
|
1048
1164
|
email: string;
|
|
1165
|
+
createdAt: string;
|
|
1166
|
+
id: string;
|
|
1049
1167
|
phoneNumbers: {
|
|
1050
1168
|
id: string;
|
|
1051
1169
|
phoneNumber: string;
|
|
1052
1170
|
isPrimary: boolean;
|
|
1053
1171
|
description?: string | null | undefined;
|
|
1054
1172
|
}[];
|
|
1173
|
+
updatedAt: string;
|
|
1055
1174
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1056
1175
|
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
|
+
canImpersonateUsers?: {
|
|
1177
|
+
lastName: string;
|
|
1178
|
+
firstName: string;
|
|
1179
|
+
id: string;
|
|
1180
|
+
}[] | undefined;
|
|
1057
1181
|
} | undefined;
|
|
1058
1182
|
lead?: {
|
|
1059
|
-
name: string;
|
|
1060
1183
|
phoneNumber: string;
|
|
1184
|
+
name: string;
|
|
1061
1185
|
} | undefined;
|
|
1062
1186
|
}, {
|
|
1187
|
+
createdAt: string | Date;
|
|
1063
1188
|
id: string;
|
|
1064
1189
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1065
|
-
createdAt: string | Date;
|
|
1066
1190
|
updatedAt: string | Date;
|
|
1067
|
-
leadId: string;
|
|
1068
1191
|
agentId: string | null;
|
|
1069
1192
|
companyId: string | null;
|
|
1193
|
+
leadId: string;
|
|
1070
1194
|
assignedAt: string | Date;
|
|
1071
1195
|
assignedBy: string | null;
|
|
1072
1196
|
company?: {
|
|
1073
|
-
id: string;
|
|
1074
|
-
name: string;
|
|
1075
1197
|
createdAt: string | Date;
|
|
1198
|
+
id: string;
|
|
1076
1199
|
updatedAt: string | Date;
|
|
1200
|
+
name: string;
|
|
1077
1201
|
} | null | undefined;
|
|
1078
1202
|
agent?: {
|
|
1079
|
-
id: string;
|
|
1080
|
-
createdAt: string | Date;
|
|
1081
|
-
updatedAt: string | Date;
|
|
1082
|
-
firstName: string;
|
|
1083
1203
|
lastName: string;
|
|
1204
|
+
firstName: string;
|
|
1084
1205
|
email: string;
|
|
1206
|
+
createdAt: string | Date;
|
|
1207
|
+
id: string;
|
|
1208
|
+
updatedAt: string | Date;
|
|
1085
1209
|
phoneNumbers?: {
|
|
1086
1210
|
id: string;
|
|
1087
1211
|
phoneNumber: string;
|
|
@@ -1090,10 +1214,15 @@ export declare const callHistoryContract: {
|
|
|
1090
1214
|
}[] | undefined;
|
|
1091
1215
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1092
1216
|
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
|
+
canImpersonateUsers?: {
|
|
1218
|
+
lastName: string;
|
|
1219
|
+
firstName: string;
|
|
1220
|
+
id: string;
|
|
1221
|
+
}[] | undefined;
|
|
1093
1222
|
} | undefined;
|
|
1094
1223
|
lead?: {
|
|
1095
|
-
name: string;
|
|
1096
1224
|
phoneNumber: string;
|
|
1225
|
+
name: string;
|
|
1097
1226
|
} | undefined;
|
|
1098
1227
|
}>>>;
|
|
1099
1228
|
callDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -1104,89 +1233,94 @@ export declare const callHistoryContract: {
|
|
|
1104
1233
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1105
1234
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1106
1235
|
}, "strip", z.ZodTypeAny, {
|
|
1107
|
-
id: string;
|
|
1108
1236
|
createdAt: string;
|
|
1237
|
+
id: string;
|
|
1109
1238
|
updatedAt: string;
|
|
1239
|
+
rating: CallRating;
|
|
1240
|
+
notes: string | null;
|
|
1110
1241
|
assignmentId: string;
|
|
1111
1242
|
callDate: string;
|
|
1112
1243
|
callType: CallType;
|
|
1113
|
-
rating: CallRating;
|
|
1114
1244
|
ratingWeight: number;
|
|
1115
|
-
notes: string | null;
|
|
1116
|
-
leadId?: string | undefined;
|
|
1117
1245
|
agentId?: string | undefined;
|
|
1246
|
+
leadId?: string | undefined;
|
|
1118
1247
|
assignment?: {
|
|
1248
|
+
createdAt: string;
|
|
1119
1249
|
id: string;
|
|
1120
1250
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1121
|
-
createdAt: string;
|
|
1122
1251
|
updatedAt: string;
|
|
1123
|
-
leadId: string;
|
|
1124
1252
|
agentId: string | null;
|
|
1125
1253
|
companyId: string | null;
|
|
1254
|
+
leadId: string;
|
|
1126
1255
|
assignedAt: string;
|
|
1127
1256
|
assignedBy: string | null;
|
|
1128
1257
|
company?: {
|
|
1129
|
-
id: string;
|
|
1130
|
-
name: string;
|
|
1131
1258
|
createdAt: string;
|
|
1259
|
+
id: string;
|
|
1132
1260
|
updatedAt: string;
|
|
1261
|
+
name: string;
|
|
1133
1262
|
} | null | undefined;
|
|
1134
1263
|
agent?: {
|
|
1135
|
-
id: string;
|
|
1136
|
-
createdAt: string;
|
|
1137
|
-
updatedAt: string;
|
|
1138
|
-
firstName: string;
|
|
1139
1264
|
lastName: string;
|
|
1265
|
+
firstName: string;
|
|
1140
1266
|
email: string;
|
|
1267
|
+
createdAt: string;
|
|
1268
|
+
id: string;
|
|
1141
1269
|
phoneNumbers: {
|
|
1142
1270
|
id: string;
|
|
1143
1271
|
phoneNumber: string;
|
|
1144
1272
|
isPrimary: boolean;
|
|
1145
1273
|
description?: string | null | undefined;
|
|
1146
1274
|
}[];
|
|
1275
|
+
updatedAt: string;
|
|
1147
1276
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1148
1277
|
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
|
+
canImpersonateUsers?: {
|
|
1279
|
+
lastName: string;
|
|
1280
|
+
firstName: string;
|
|
1281
|
+
id: string;
|
|
1282
|
+
}[] | undefined;
|
|
1149
1283
|
} | undefined;
|
|
1150
1284
|
lead?: {
|
|
1151
|
-
name: string;
|
|
1152
1285
|
phoneNumber: string;
|
|
1286
|
+
name: string;
|
|
1153
1287
|
} | undefined;
|
|
1154
1288
|
} | null | undefined;
|
|
1155
1289
|
}, {
|
|
1156
|
-
id: string;
|
|
1157
1290
|
createdAt: string | Date;
|
|
1291
|
+
id: string;
|
|
1158
1292
|
updatedAt: string | Date;
|
|
1293
|
+
rating: CallRating;
|
|
1294
|
+
notes: string | null;
|
|
1159
1295
|
assignmentId: string;
|
|
1160
1296
|
callDate: string | Date;
|
|
1161
1297
|
callType: CallType;
|
|
1162
|
-
rating: CallRating;
|
|
1163
1298
|
ratingWeight: number;
|
|
1164
|
-
notes: string | null;
|
|
1165
|
-
leadId?: string | undefined;
|
|
1166
1299
|
agentId?: string | undefined;
|
|
1300
|
+
leadId?: string | undefined;
|
|
1167
1301
|
assignment?: {
|
|
1302
|
+
createdAt: string | Date;
|
|
1168
1303
|
id: string;
|
|
1169
1304
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1170
|
-
createdAt: string | Date;
|
|
1171
1305
|
updatedAt: string | Date;
|
|
1172
|
-
leadId: string;
|
|
1173
1306
|
agentId: string | null;
|
|
1174
1307
|
companyId: string | null;
|
|
1308
|
+
leadId: string;
|
|
1175
1309
|
assignedAt: string | Date;
|
|
1176
1310
|
assignedBy: string | null;
|
|
1177
1311
|
company?: {
|
|
1178
|
-
id: string;
|
|
1179
|
-
name: string;
|
|
1180
1312
|
createdAt: string | Date;
|
|
1313
|
+
id: string;
|
|
1181
1314
|
updatedAt: string | Date;
|
|
1315
|
+
name: string;
|
|
1182
1316
|
} | null | undefined;
|
|
1183
1317
|
agent?: {
|
|
1184
|
-
id: string;
|
|
1185
|
-
createdAt: string | Date;
|
|
1186
|
-
updatedAt: string | Date;
|
|
1187
|
-
firstName: string;
|
|
1188
1318
|
lastName: string;
|
|
1319
|
+
firstName: string;
|
|
1189
1320
|
email: string;
|
|
1321
|
+
createdAt: string | Date;
|
|
1322
|
+
id: string;
|
|
1323
|
+
updatedAt: string | Date;
|
|
1190
1324
|
phoneNumbers?: {
|
|
1191
1325
|
id: string;
|
|
1192
1326
|
phoneNumber: string;
|
|
@@ -1195,10 +1329,15 @@ export declare const callHistoryContract: {
|
|
|
1195
1329
|
}[] | undefined;
|
|
1196
1330
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1197
1331
|
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
|
+
canImpersonateUsers?: {
|
|
1333
|
+
lastName: string;
|
|
1334
|
+
firstName: string;
|
|
1335
|
+
id: string;
|
|
1336
|
+
}[] | undefined;
|
|
1198
1337
|
} | undefined;
|
|
1199
1338
|
lead?: {
|
|
1200
|
-
name: string;
|
|
1201
1339
|
phoneNumber: string;
|
|
1340
|
+
name: string;
|
|
1202
1341
|
} | undefined;
|
|
1203
1342
|
} | null | undefined;
|
|
1204
1343
|
}>;
|
|
@@ -1268,32 +1407,32 @@ export declare const callHistoryContract: {
|
|
|
1268
1407
|
sortBy?: CallHistorySortableFields | undefined;
|
|
1269
1408
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1270
1409
|
agentId?: string | undefined;
|
|
1410
|
+
companyId?: string | undefined;
|
|
1411
|
+
rating?: {
|
|
1412
|
+
from?: CallRating | null | undefined;
|
|
1413
|
+
to?: CallRating | null | undefined;
|
|
1414
|
+
} | null | undefined;
|
|
1271
1415
|
callDate?: {
|
|
1272
1416
|
from?: string | null | undefined;
|
|
1273
1417
|
to?: string | null | undefined;
|
|
1274
1418
|
} | null | undefined;
|
|
1275
1419
|
callType?: CallType | undefined;
|
|
1276
|
-
rating?: {
|
|
1277
|
-
from?: CallRating | null | undefined;
|
|
1278
|
-
to?: CallRating | null | undefined;
|
|
1279
|
-
} | null | undefined;
|
|
1280
|
-
companyId?: string | undefined;
|
|
1281
1420
|
}, {
|
|
1282
1421
|
limit?: number | undefined;
|
|
1283
1422
|
page?: number | undefined;
|
|
1284
1423
|
sortBy?: CallHistorySortableFields | undefined;
|
|
1285
1424
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1286
1425
|
agentId?: string | undefined;
|
|
1426
|
+
companyId?: string | undefined;
|
|
1427
|
+
rating?: {
|
|
1428
|
+
from?: unknown;
|
|
1429
|
+
to?: unknown;
|
|
1430
|
+
} | null | undefined;
|
|
1287
1431
|
callDate?: {
|
|
1288
1432
|
from?: string | null | undefined;
|
|
1289
1433
|
to?: string | null | undefined;
|
|
1290
1434
|
} | null | undefined;
|
|
1291
1435
|
callType?: CallType | undefined;
|
|
1292
|
-
rating?: {
|
|
1293
|
-
from?: unknown;
|
|
1294
|
-
to?: unknown;
|
|
1295
|
-
} | null | undefined;
|
|
1296
|
-
companyId?: string | undefined;
|
|
1297
1436
|
}>;
|
|
1298
1437
|
summary: "Get call history records";
|
|
1299
1438
|
method: "GET";
|
|
@@ -1412,11 +1551,11 @@ export declare const callHistoryContract: {
|
|
|
1412
1551
|
name: z.ZodString;
|
|
1413
1552
|
phoneNumber: z.ZodString;
|
|
1414
1553
|
}, "strip", z.ZodTypeAny, {
|
|
1415
|
-
name: string;
|
|
1416
1554
|
phoneNumber: string;
|
|
1417
|
-
}, {
|
|
1418
1555
|
name: string;
|
|
1556
|
+
}, {
|
|
1419
1557
|
phoneNumber: string;
|
|
1558
|
+
name: string;
|
|
1420
1559
|
}>>;
|
|
1421
1560
|
agentId: z.ZodNullable<z.ZodString>;
|
|
1422
1561
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -1442,30 +1581,48 @@ export declare const callHistoryContract: {
|
|
|
1442
1581
|
}>, "many">>>;
|
|
1443
1582
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
|
|
1444
1583
|
office: z.ZodOptional<z.ZodNullable<z.ZodEnum<["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"]>>>;
|
|
1584
|
+
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1585
|
+
id: z.ZodString;
|
|
1586
|
+
firstName: z.ZodString;
|
|
1587
|
+
lastName: z.ZodString;
|
|
1588
|
+
}, "strip", z.ZodTypeAny, {
|
|
1589
|
+
lastName: string;
|
|
1590
|
+
firstName: string;
|
|
1591
|
+
id: string;
|
|
1592
|
+
}, {
|
|
1593
|
+
lastName: string;
|
|
1594
|
+
firstName: string;
|
|
1595
|
+
id: string;
|
|
1596
|
+
}>, "many">>;
|
|
1445
1597
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1446
1598
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1447
1599
|
}, "strip", z.ZodTypeAny, {
|
|
1448
|
-
id: string;
|
|
1449
|
-
createdAt: string;
|
|
1450
|
-
updatedAt: string;
|
|
1451
|
-
firstName: string;
|
|
1452
1600
|
lastName: string;
|
|
1601
|
+
firstName: string;
|
|
1453
1602
|
email: string;
|
|
1603
|
+
createdAt: string;
|
|
1604
|
+
id: string;
|
|
1454
1605
|
phoneNumbers: {
|
|
1455
1606
|
id: string;
|
|
1456
1607
|
phoneNumber: string;
|
|
1457
1608
|
isPrimary: boolean;
|
|
1458
1609
|
description?: string | null | undefined;
|
|
1459
1610
|
}[];
|
|
1611
|
+
updatedAt: string;
|
|
1460
1612
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1461
1613
|
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
|
+
canImpersonateUsers?: {
|
|
1615
|
+
lastName: string;
|
|
1616
|
+
firstName: string;
|
|
1617
|
+
id: string;
|
|
1618
|
+
}[] | undefined;
|
|
1462
1619
|
}, {
|
|
1463
|
-
id: string;
|
|
1464
|
-
createdAt: string | Date;
|
|
1465
|
-
updatedAt: string | Date;
|
|
1466
|
-
firstName: string;
|
|
1467
1620
|
lastName: string;
|
|
1621
|
+
firstName: string;
|
|
1468
1622
|
email: string;
|
|
1623
|
+
createdAt: string | Date;
|
|
1624
|
+
id: string;
|
|
1625
|
+
updatedAt: string | Date;
|
|
1469
1626
|
phoneNumbers?: {
|
|
1470
1627
|
id: string;
|
|
1471
1628
|
phoneNumber: string;
|
|
@@ -1474,6 +1631,11 @@ export declare const callHistoryContract: {
|
|
|
1474
1631
|
}[] | undefined;
|
|
1475
1632
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1476
1633
|
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
|
+
canImpersonateUsers?: {
|
|
1635
|
+
lastName: string;
|
|
1636
|
+
firstName: string;
|
|
1637
|
+
id: string;
|
|
1638
|
+
}[] | undefined;
|
|
1477
1639
|
}>>;
|
|
1478
1640
|
assignedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1479
1641
|
assignedBy: z.ZodNullable<z.ZodString>;
|
|
@@ -1485,77 +1647,82 @@ export declare const callHistoryContract: {
|
|
|
1485
1647
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1486
1648
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1487
1649
|
}, "strip", z.ZodTypeAny, {
|
|
1488
|
-
id: string;
|
|
1489
|
-
name: string;
|
|
1490
1650
|
createdAt: string;
|
|
1491
|
-
updatedAt: string;
|
|
1492
|
-
}, {
|
|
1493
1651
|
id: string;
|
|
1652
|
+
updatedAt: string;
|
|
1494
1653
|
name: string;
|
|
1654
|
+
}, {
|
|
1495
1655
|
createdAt: string | Date;
|
|
1656
|
+
id: string;
|
|
1496
1657
|
updatedAt: string | Date;
|
|
1658
|
+
name: string;
|
|
1497
1659
|
}>>>;
|
|
1498
1660
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1499
1661
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1500
1662
|
}, "strip", z.ZodTypeAny, {
|
|
1663
|
+
createdAt: string;
|
|
1501
1664
|
id: string;
|
|
1502
1665
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1503
|
-
createdAt: string;
|
|
1504
1666
|
updatedAt: string;
|
|
1505
|
-
leadId: string;
|
|
1506
1667
|
agentId: string | null;
|
|
1507
1668
|
companyId: string | null;
|
|
1669
|
+
leadId: string;
|
|
1508
1670
|
assignedAt: string;
|
|
1509
1671
|
assignedBy: string | null;
|
|
1510
1672
|
company?: {
|
|
1511
|
-
id: string;
|
|
1512
|
-
name: string;
|
|
1513
1673
|
createdAt: string;
|
|
1674
|
+
id: string;
|
|
1514
1675
|
updatedAt: string;
|
|
1676
|
+
name: string;
|
|
1515
1677
|
} | null | undefined;
|
|
1516
1678
|
agent?: {
|
|
1517
|
-
id: string;
|
|
1518
|
-
createdAt: string;
|
|
1519
|
-
updatedAt: string;
|
|
1520
|
-
firstName: string;
|
|
1521
1679
|
lastName: string;
|
|
1680
|
+
firstName: string;
|
|
1522
1681
|
email: string;
|
|
1682
|
+
createdAt: string;
|
|
1683
|
+
id: string;
|
|
1523
1684
|
phoneNumbers: {
|
|
1524
1685
|
id: string;
|
|
1525
1686
|
phoneNumber: string;
|
|
1526
1687
|
isPrimary: boolean;
|
|
1527
1688
|
description?: string | null | undefined;
|
|
1528
1689
|
}[];
|
|
1690
|
+
updatedAt: string;
|
|
1529
1691
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1530
1692
|
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
|
+
canImpersonateUsers?: {
|
|
1694
|
+
lastName: string;
|
|
1695
|
+
firstName: string;
|
|
1696
|
+
id: string;
|
|
1697
|
+
}[] | undefined;
|
|
1531
1698
|
} | undefined;
|
|
1532
1699
|
lead?: {
|
|
1533
|
-
name: string;
|
|
1534
1700
|
phoneNumber: string;
|
|
1701
|
+
name: string;
|
|
1535
1702
|
} | undefined;
|
|
1536
1703
|
}, {
|
|
1704
|
+
createdAt: string | Date;
|
|
1537
1705
|
id: string;
|
|
1538
1706
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1539
|
-
createdAt: string | Date;
|
|
1540
1707
|
updatedAt: string | Date;
|
|
1541
|
-
leadId: string;
|
|
1542
1708
|
agentId: string | null;
|
|
1543
1709
|
companyId: string | null;
|
|
1710
|
+
leadId: string;
|
|
1544
1711
|
assignedAt: string | Date;
|
|
1545
1712
|
assignedBy: string | null;
|
|
1546
1713
|
company?: {
|
|
1547
|
-
id: string;
|
|
1548
|
-
name: string;
|
|
1549
1714
|
createdAt: string | Date;
|
|
1715
|
+
id: string;
|
|
1550
1716
|
updatedAt: string | Date;
|
|
1717
|
+
name: string;
|
|
1551
1718
|
} | null | undefined;
|
|
1552
1719
|
agent?: {
|
|
1553
|
-
id: string;
|
|
1554
|
-
createdAt: string | Date;
|
|
1555
|
-
updatedAt: string | Date;
|
|
1556
|
-
firstName: string;
|
|
1557
1720
|
lastName: string;
|
|
1721
|
+
firstName: string;
|
|
1558
1722
|
email: string;
|
|
1723
|
+
createdAt: string | Date;
|
|
1724
|
+
id: string;
|
|
1725
|
+
updatedAt: string | Date;
|
|
1559
1726
|
phoneNumbers?: {
|
|
1560
1727
|
id: string;
|
|
1561
1728
|
phoneNumber: string;
|
|
@@ -1564,10 +1731,15 @@ export declare const callHistoryContract: {
|
|
|
1564
1731
|
}[] | undefined;
|
|
1565
1732
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1566
1733
|
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
|
+
canImpersonateUsers?: {
|
|
1735
|
+
lastName: string;
|
|
1736
|
+
firstName: string;
|
|
1737
|
+
id: string;
|
|
1738
|
+
}[] | undefined;
|
|
1567
1739
|
} | undefined;
|
|
1568
1740
|
lead?: {
|
|
1569
|
-
name: string;
|
|
1570
1741
|
phoneNumber: string;
|
|
1742
|
+
name: string;
|
|
1571
1743
|
} | undefined;
|
|
1572
1744
|
}>>>;
|
|
1573
1745
|
callDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -1578,89 +1750,94 @@ export declare const callHistoryContract: {
|
|
|
1578
1750
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1579
1751
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1580
1752
|
}, "strip", z.ZodTypeAny, {
|
|
1581
|
-
id: string;
|
|
1582
1753
|
createdAt: string;
|
|
1754
|
+
id: string;
|
|
1583
1755
|
updatedAt: string;
|
|
1756
|
+
rating: CallRating;
|
|
1757
|
+
notes: string | null;
|
|
1584
1758
|
assignmentId: string;
|
|
1585
1759
|
callDate: string;
|
|
1586
1760
|
callType: CallType;
|
|
1587
|
-
rating: CallRating;
|
|
1588
1761
|
ratingWeight: number;
|
|
1589
|
-
notes: string | null;
|
|
1590
|
-
leadId?: string | undefined;
|
|
1591
1762
|
agentId?: string | undefined;
|
|
1763
|
+
leadId?: string | undefined;
|
|
1592
1764
|
assignment?: {
|
|
1765
|
+
createdAt: string;
|
|
1593
1766
|
id: string;
|
|
1594
1767
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1595
|
-
createdAt: string;
|
|
1596
1768
|
updatedAt: string;
|
|
1597
|
-
leadId: string;
|
|
1598
1769
|
agentId: string | null;
|
|
1599
1770
|
companyId: string | null;
|
|
1771
|
+
leadId: string;
|
|
1600
1772
|
assignedAt: string;
|
|
1601
1773
|
assignedBy: string | null;
|
|
1602
1774
|
company?: {
|
|
1603
|
-
id: string;
|
|
1604
|
-
name: string;
|
|
1605
1775
|
createdAt: string;
|
|
1776
|
+
id: string;
|
|
1606
1777
|
updatedAt: string;
|
|
1778
|
+
name: string;
|
|
1607
1779
|
} | null | undefined;
|
|
1608
1780
|
agent?: {
|
|
1609
|
-
id: string;
|
|
1610
|
-
createdAt: string;
|
|
1611
|
-
updatedAt: string;
|
|
1612
|
-
firstName: string;
|
|
1613
1781
|
lastName: string;
|
|
1782
|
+
firstName: string;
|
|
1614
1783
|
email: string;
|
|
1784
|
+
createdAt: string;
|
|
1785
|
+
id: string;
|
|
1615
1786
|
phoneNumbers: {
|
|
1616
1787
|
id: string;
|
|
1617
1788
|
phoneNumber: string;
|
|
1618
1789
|
isPrimary: boolean;
|
|
1619
1790
|
description?: string | null | undefined;
|
|
1620
1791
|
}[];
|
|
1792
|
+
updatedAt: string;
|
|
1621
1793
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1622
1794
|
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
|
+
canImpersonateUsers?: {
|
|
1796
|
+
lastName: string;
|
|
1797
|
+
firstName: string;
|
|
1798
|
+
id: string;
|
|
1799
|
+
}[] | undefined;
|
|
1623
1800
|
} | undefined;
|
|
1624
1801
|
lead?: {
|
|
1625
|
-
name: string;
|
|
1626
1802
|
phoneNumber: string;
|
|
1803
|
+
name: string;
|
|
1627
1804
|
} | undefined;
|
|
1628
1805
|
} | null | undefined;
|
|
1629
1806
|
}, {
|
|
1630
|
-
id: string;
|
|
1631
1807
|
createdAt: string | Date;
|
|
1808
|
+
id: string;
|
|
1632
1809
|
updatedAt: string | Date;
|
|
1810
|
+
rating: CallRating;
|
|
1811
|
+
notes: string | null;
|
|
1633
1812
|
assignmentId: string;
|
|
1634
1813
|
callDate: string | Date;
|
|
1635
1814
|
callType: CallType;
|
|
1636
|
-
rating: CallRating;
|
|
1637
1815
|
ratingWeight: number;
|
|
1638
|
-
notes: string | null;
|
|
1639
|
-
leadId?: string | undefined;
|
|
1640
1816
|
agentId?: string | undefined;
|
|
1817
|
+
leadId?: string | undefined;
|
|
1641
1818
|
assignment?: {
|
|
1819
|
+
createdAt: string | Date;
|
|
1642
1820
|
id: string;
|
|
1643
1821
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1644
|
-
createdAt: string | Date;
|
|
1645
1822
|
updatedAt: string | Date;
|
|
1646
|
-
leadId: string;
|
|
1647
1823
|
agentId: string | null;
|
|
1648
1824
|
companyId: string | null;
|
|
1825
|
+
leadId: string;
|
|
1649
1826
|
assignedAt: string | Date;
|
|
1650
1827
|
assignedBy: string | null;
|
|
1651
1828
|
company?: {
|
|
1652
|
-
id: string;
|
|
1653
|
-
name: string;
|
|
1654
1829
|
createdAt: string | Date;
|
|
1830
|
+
id: string;
|
|
1655
1831
|
updatedAt: string | Date;
|
|
1832
|
+
name: string;
|
|
1656
1833
|
} | null | undefined;
|
|
1657
1834
|
agent?: {
|
|
1658
|
-
id: string;
|
|
1659
|
-
createdAt: string | Date;
|
|
1660
|
-
updatedAt: string | Date;
|
|
1661
|
-
firstName: string;
|
|
1662
1835
|
lastName: string;
|
|
1836
|
+
firstName: string;
|
|
1663
1837
|
email: string;
|
|
1838
|
+
createdAt: string | Date;
|
|
1839
|
+
id: string;
|
|
1840
|
+
updatedAt: string | Date;
|
|
1664
1841
|
phoneNumbers?: {
|
|
1665
1842
|
id: string;
|
|
1666
1843
|
phoneNumber: string;
|
|
@@ -1669,10 +1846,15 @@ export declare const callHistoryContract: {
|
|
|
1669
1846
|
}[] | undefined;
|
|
1670
1847
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1671
1848
|
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
|
+
canImpersonateUsers?: {
|
|
1850
|
+
lastName: string;
|
|
1851
|
+
firstName: string;
|
|
1852
|
+
id: string;
|
|
1853
|
+
}[] | undefined;
|
|
1672
1854
|
} | undefined;
|
|
1673
1855
|
lead?: {
|
|
1674
|
-
name: string;
|
|
1675
1856
|
phoneNumber: string;
|
|
1857
|
+
name: string;
|
|
1676
1858
|
} | undefined;
|
|
1677
1859
|
} | null | undefined;
|
|
1678
1860
|
}>, "many">;
|
|
@@ -1684,52 +1866,57 @@ export declare const callHistoryContract: {
|
|
|
1684
1866
|
}, "strip", z.ZodTypeAny, {
|
|
1685
1867
|
limit: number;
|
|
1686
1868
|
items: {
|
|
1687
|
-
id: string;
|
|
1688
1869
|
createdAt: string;
|
|
1870
|
+
id: string;
|
|
1689
1871
|
updatedAt: string;
|
|
1872
|
+
rating: CallRating;
|
|
1873
|
+
notes: string | null;
|
|
1690
1874
|
assignmentId: string;
|
|
1691
1875
|
callDate: string;
|
|
1692
1876
|
callType: CallType;
|
|
1693
|
-
rating: CallRating;
|
|
1694
1877
|
ratingWeight: number;
|
|
1695
|
-
notes: string | null;
|
|
1696
|
-
leadId?: string | undefined;
|
|
1697
1878
|
agentId?: string | undefined;
|
|
1879
|
+
leadId?: string | undefined;
|
|
1698
1880
|
assignment?: {
|
|
1881
|
+
createdAt: string;
|
|
1699
1882
|
id: string;
|
|
1700
1883
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1701
|
-
createdAt: string;
|
|
1702
1884
|
updatedAt: string;
|
|
1703
|
-
leadId: string;
|
|
1704
1885
|
agentId: string | null;
|
|
1705
1886
|
companyId: string | null;
|
|
1887
|
+
leadId: string;
|
|
1706
1888
|
assignedAt: string;
|
|
1707
1889
|
assignedBy: string | null;
|
|
1708
1890
|
company?: {
|
|
1709
|
-
id: string;
|
|
1710
|
-
name: string;
|
|
1711
1891
|
createdAt: string;
|
|
1892
|
+
id: string;
|
|
1712
1893
|
updatedAt: string;
|
|
1894
|
+
name: string;
|
|
1713
1895
|
} | null | undefined;
|
|
1714
1896
|
agent?: {
|
|
1715
|
-
id: string;
|
|
1716
|
-
createdAt: string;
|
|
1717
|
-
updatedAt: string;
|
|
1718
|
-
firstName: string;
|
|
1719
1897
|
lastName: string;
|
|
1898
|
+
firstName: string;
|
|
1720
1899
|
email: string;
|
|
1900
|
+
createdAt: string;
|
|
1901
|
+
id: string;
|
|
1721
1902
|
phoneNumbers: {
|
|
1722
1903
|
id: string;
|
|
1723
1904
|
phoneNumber: string;
|
|
1724
1905
|
isPrimary: boolean;
|
|
1725
1906
|
description?: string | null | undefined;
|
|
1726
1907
|
}[];
|
|
1908
|
+
updatedAt: string;
|
|
1727
1909
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1728
1910
|
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
|
+
canImpersonateUsers?: {
|
|
1912
|
+
lastName: string;
|
|
1913
|
+
firstName: string;
|
|
1914
|
+
id: string;
|
|
1915
|
+
}[] | undefined;
|
|
1729
1916
|
} | undefined;
|
|
1730
1917
|
lead?: {
|
|
1731
|
-
name: string;
|
|
1732
1918
|
phoneNumber: string;
|
|
1919
|
+
name: string;
|
|
1733
1920
|
} | undefined;
|
|
1734
1921
|
} | null | undefined;
|
|
1735
1922
|
}[];
|
|
@@ -1740,40 +1927,40 @@ export declare const callHistoryContract: {
|
|
|
1740
1927
|
}, {
|
|
1741
1928
|
limit: number;
|
|
1742
1929
|
items: {
|
|
1743
|
-
id: string;
|
|
1744
1930
|
createdAt: string | Date;
|
|
1931
|
+
id: string;
|
|
1745
1932
|
updatedAt: string | Date;
|
|
1933
|
+
rating: CallRating;
|
|
1934
|
+
notes: string | null;
|
|
1746
1935
|
assignmentId: string;
|
|
1747
1936
|
callDate: string | Date;
|
|
1748
1937
|
callType: CallType;
|
|
1749
|
-
rating: CallRating;
|
|
1750
1938
|
ratingWeight: number;
|
|
1751
|
-
notes: string | null;
|
|
1752
|
-
leadId?: string | undefined;
|
|
1753
1939
|
agentId?: string | undefined;
|
|
1940
|
+
leadId?: string | undefined;
|
|
1754
1941
|
assignment?: {
|
|
1942
|
+
createdAt: string | Date;
|
|
1755
1943
|
id: string;
|
|
1756
1944
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1757
|
-
createdAt: string | Date;
|
|
1758
1945
|
updatedAt: string | Date;
|
|
1759
|
-
leadId: string;
|
|
1760
1946
|
agentId: string | null;
|
|
1761
1947
|
companyId: string | null;
|
|
1948
|
+
leadId: string;
|
|
1762
1949
|
assignedAt: string | Date;
|
|
1763
1950
|
assignedBy: string | null;
|
|
1764
1951
|
company?: {
|
|
1765
|
-
id: string;
|
|
1766
|
-
name: string;
|
|
1767
1952
|
createdAt: string | Date;
|
|
1953
|
+
id: string;
|
|
1768
1954
|
updatedAt: string | Date;
|
|
1955
|
+
name: string;
|
|
1769
1956
|
} | null | undefined;
|
|
1770
1957
|
agent?: {
|
|
1771
|
-
id: string;
|
|
1772
|
-
createdAt: string | Date;
|
|
1773
|
-
updatedAt: string | Date;
|
|
1774
|
-
firstName: string;
|
|
1775
1958
|
lastName: string;
|
|
1959
|
+
firstName: string;
|
|
1776
1960
|
email: string;
|
|
1961
|
+
createdAt: string | Date;
|
|
1962
|
+
id: string;
|
|
1963
|
+
updatedAt: string | Date;
|
|
1777
1964
|
phoneNumbers?: {
|
|
1778
1965
|
id: string;
|
|
1779
1966
|
phoneNumber: string;
|
|
@@ -1782,10 +1969,15 @@ export declare const callHistoryContract: {
|
|
|
1782
1969
|
}[] | undefined;
|
|
1783
1970
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1784
1971
|
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
|
+
canImpersonateUsers?: {
|
|
1973
|
+
lastName: string;
|
|
1974
|
+
firstName: string;
|
|
1975
|
+
id: string;
|
|
1976
|
+
}[] | undefined;
|
|
1785
1977
|
} | undefined;
|
|
1786
1978
|
lead?: {
|
|
1787
|
-
name: string;
|
|
1788
1979
|
phoneNumber: string;
|
|
1980
|
+
name: string;
|
|
1789
1981
|
} | undefined;
|
|
1790
1982
|
} | null | undefined;
|
|
1791
1983
|
}[];
|
|
@@ -1923,11 +2115,11 @@ export declare const callHistoryContract: {
|
|
|
1923
2115
|
name: z.ZodString;
|
|
1924
2116
|
phoneNumber: z.ZodString;
|
|
1925
2117
|
}, "strip", z.ZodTypeAny, {
|
|
1926
|
-
name: string;
|
|
1927
2118
|
phoneNumber: string;
|
|
1928
|
-
}, {
|
|
1929
2119
|
name: string;
|
|
2120
|
+
}, {
|
|
1930
2121
|
phoneNumber: string;
|
|
2122
|
+
name: string;
|
|
1931
2123
|
}>>;
|
|
1932
2124
|
agentId: z.ZodNullable<z.ZodString>;
|
|
1933
2125
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -1953,30 +2145,48 @@ export declare const callHistoryContract: {
|
|
|
1953
2145
|
}>, "many">>>;
|
|
1954
2146
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
|
|
1955
2147
|
office: z.ZodOptional<z.ZodNullable<z.ZodEnum<["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"]>>>;
|
|
2148
|
+
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2149
|
+
id: z.ZodString;
|
|
2150
|
+
firstName: z.ZodString;
|
|
2151
|
+
lastName: z.ZodString;
|
|
2152
|
+
}, "strip", z.ZodTypeAny, {
|
|
2153
|
+
lastName: string;
|
|
2154
|
+
firstName: string;
|
|
2155
|
+
id: string;
|
|
2156
|
+
}, {
|
|
2157
|
+
lastName: string;
|
|
2158
|
+
firstName: string;
|
|
2159
|
+
id: string;
|
|
2160
|
+
}>, "many">>;
|
|
1956
2161
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1957
2162
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1958
2163
|
}, "strip", z.ZodTypeAny, {
|
|
1959
|
-
id: string;
|
|
1960
|
-
createdAt: string;
|
|
1961
|
-
updatedAt: string;
|
|
1962
|
-
firstName: string;
|
|
1963
2164
|
lastName: string;
|
|
2165
|
+
firstName: string;
|
|
1964
2166
|
email: string;
|
|
2167
|
+
createdAt: string;
|
|
2168
|
+
id: string;
|
|
1965
2169
|
phoneNumbers: {
|
|
1966
2170
|
id: string;
|
|
1967
2171
|
phoneNumber: string;
|
|
1968
2172
|
isPrimary: boolean;
|
|
1969
2173
|
description?: string | null | undefined;
|
|
1970
2174
|
}[];
|
|
2175
|
+
updatedAt: string;
|
|
1971
2176
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1972
2177
|
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
|
+
canImpersonateUsers?: {
|
|
2179
|
+
lastName: string;
|
|
2180
|
+
firstName: string;
|
|
2181
|
+
id: string;
|
|
2182
|
+
}[] | undefined;
|
|
1973
2183
|
}, {
|
|
1974
|
-
id: string;
|
|
1975
|
-
createdAt: string | Date;
|
|
1976
|
-
updatedAt: string | Date;
|
|
1977
|
-
firstName: string;
|
|
1978
2184
|
lastName: string;
|
|
2185
|
+
firstName: string;
|
|
1979
2186
|
email: string;
|
|
2187
|
+
createdAt: string | Date;
|
|
2188
|
+
id: string;
|
|
2189
|
+
updatedAt: string | Date;
|
|
1980
2190
|
phoneNumbers?: {
|
|
1981
2191
|
id: string;
|
|
1982
2192
|
phoneNumber: string;
|
|
@@ -1985,6 +2195,11 @@ export declare const callHistoryContract: {
|
|
|
1985
2195
|
}[] | undefined;
|
|
1986
2196
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1987
2197
|
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
|
+
canImpersonateUsers?: {
|
|
2199
|
+
lastName: string;
|
|
2200
|
+
firstName: string;
|
|
2201
|
+
id: string;
|
|
2202
|
+
}[] | undefined;
|
|
1988
2203
|
}>>;
|
|
1989
2204
|
assignedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1990
2205
|
assignedBy: z.ZodNullable<z.ZodString>;
|
|
@@ -1996,77 +2211,82 @@ export declare const callHistoryContract: {
|
|
|
1996
2211
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1997
2212
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1998
2213
|
}, "strip", z.ZodTypeAny, {
|
|
1999
|
-
id: string;
|
|
2000
|
-
name: string;
|
|
2001
2214
|
createdAt: string;
|
|
2002
|
-
updatedAt: string;
|
|
2003
|
-
}, {
|
|
2004
2215
|
id: string;
|
|
2216
|
+
updatedAt: string;
|
|
2005
2217
|
name: string;
|
|
2218
|
+
}, {
|
|
2006
2219
|
createdAt: string | Date;
|
|
2220
|
+
id: string;
|
|
2007
2221
|
updatedAt: string | Date;
|
|
2222
|
+
name: string;
|
|
2008
2223
|
}>>>;
|
|
2009
2224
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2010
2225
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2011
2226
|
}, "strip", z.ZodTypeAny, {
|
|
2227
|
+
createdAt: string;
|
|
2012
2228
|
id: string;
|
|
2013
2229
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2014
|
-
createdAt: string;
|
|
2015
2230
|
updatedAt: string;
|
|
2016
|
-
leadId: string;
|
|
2017
2231
|
agentId: string | null;
|
|
2018
2232
|
companyId: string | null;
|
|
2233
|
+
leadId: string;
|
|
2019
2234
|
assignedAt: string;
|
|
2020
2235
|
assignedBy: string | null;
|
|
2021
2236
|
company?: {
|
|
2022
|
-
id: string;
|
|
2023
|
-
name: string;
|
|
2024
2237
|
createdAt: string;
|
|
2238
|
+
id: string;
|
|
2025
2239
|
updatedAt: string;
|
|
2240
|
+
name: string;
|
|
2026
2241
|
} | null | undefined;
|
|
2027
2242
|
agent?: {
|
|
2028
|
-
id: string;
|
|
2029
|
-
createdAt: string;
|
|
2030
|
-
updatedAt: string;
|
|
2031
|
-
firstName: string;
|
|
2032
2243
|
lastName: string;
|
|
2244
|
+
firstName: string;
|
|
2033
2245
|
email: string;
|
|
2246
|
+
createdAt: string;
|
|
2247
|
+
id: string;
|
|
2034
2248
|
phoneNumbers: {
|
|
2035
2249
|
id: string;
|
|
2036
2250
|
phoneNumber: string;
|
|
2037
2251
|
isPrimary: boolean;
|
|
2038
2252
|
description?: string | null | undefined;
|
|
2039
2253
|
}[];
|
|
2254
|
+
updatedAt: string;
|
|
2040
2255
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2041
2256
|
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
|
+
canImpersonateUsers?: {
|
|
2258
|
+
lastName: string;
|
|
2259
|
+
firstName: string;
|
|
2260
|
+
id: string;
|
|
2261
|
+
}[] | undefined;
|
|
2042
2262
|
} | undefined;
|
|
2043
2263
|
lead?: {
|
|
2044
|
-
name: string;
|
|
2045
2264
|
phoneNumber: string;
|
|
2265
|
+
name: string;
|
|
2046
2266
|
} | undefined;
|
|
2047
2267
|
}, {
|
|
2268
|
+
createdAt: string | Date;
|
|
2048
2269
|
id: string;
|
|
2049
2270
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2050
|
-
createdAt: string | Date;
|
|
2051
2271
|
updatedAt: string | Date;
|
|
2052
|
-
leadId: string;
|
|
2053
2272
|
agentId: string | null;
|
|
2054
2273
|
companyId: string | null;
|
|
2274
|
+
leadId: string;
|
|
2055
2275
|
assignedAt: string | Date;
|
|
2056
2276
|
assignedBy: string | null;
|
|
2057
2277
|
company?: {
|
|
2058
|
-
id: string;
|
|
2059
|
-
name: string;
|
|
2060
2278
|
createdAt: string | Date;
|
|
2279
|
+
id: string;
|
|
2061
2280
|
updatedAt: string | Date;
|
|
2281
|
+
name: string;
|
|
2062
2282
|
} | null | undefined;
|
|
2063
2283
|
agent?: {
|
|
2064
|
-
id: string;
|
|
2065
|
-
createdAt: string | Date;
|
|
2066
|
-
updatedAt: string | Date;
|
|
2067
|
-
firstName: string;
|
|
2068
2284
|
lastName: string;
|
|
2285
|
+
firstName: string;
|
|
2069
2286
|
email: string;
|
|
2287
|
+
createdAt: string | Date;
|
|
2288
|
+
id: string;
|
|
2289
|
+
updatedAt: string | Date;
|
|
2070
2290
|
phoneNumbers?: {
|
|
2071
2291
|
id: string;
|
|
2072
2292
|
phoneNumber: string;
|
|
@@ -2075,10 +2295,15 @@ export declare const callHistoryContract: {
|
|
|
2075
2295
|
}[] | undefined;
|
|
2076
2296
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2077
2297
|
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
|
+
canImpersonateUsers?: {
|
|
2299
|
+
lastName: string;
|
|
2300
|
+
firstName: string;
|
|
2301
|
+
id: string;
|
|
2302
|
+
}[] | undefined;
|
|
2078
2303
|
} | undefined;
|
|
2079
2304
|
lead?: {
|
|
2080
|
-
name: string;
|
|
2081
2305
|
phoneNumber: string;
|
|
2306
|
+
name: string;
|
|
2082
2307
|
} | undefined;
|
|
2083
2308
|
}>>>;
|
|
2084
2309
|
callDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -2089,89 +2314,94 @@ export declare const callHistoryContract: {
|
|
|
2089
2314
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2090
2315
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2091
2316
|
}, "strip", z.ZodTypeAny, {
|
|
2092
|
-
id: string;
|
|
2093
2317
|
createdAt: string;
|
|
2318
|
+
id: string;
|
|
2094
2319
|
updatedAt: string;
|
|
2320
|
+
rating: CallRating;
|
|
2321
|
+
notes: string | null;
|
|
2095
2322
|
assignmentId: string;
|
|
2096
2323
|
callDate: string;
|
|
2097
2324
|
callType: CallType;
|
|
2098
|
-
rating: CallRating;
|
|
2099
2325
|
ratingWeight: number;
|
|
2100
|
-
notes: string | null;
|
|
2101
|
-
leadId?: string | undefined;
|
|
2102
2326
|
agentId?: string | undefined;
|
|
2327
|
+
leadId?: string | undefined;
|
|
2103
2328
|
assignment?: {
|
|
2329
|
+
createdAt: string;
|
|
2104
2330
|
id: string;
|
|
2105
2331
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2106
|
-
createdAt: string;
|
|
2107
2332
|
updatedAt: string;
|
|
2108
|
-
leadId: string;
|
|
2109
2333
|
agentId: string | null;
|
|
2110
2334
|
companyId: string | null;
|
|
2335
|
+
leadId: string;
|
|
2111
2336
|
assignedAt: string;
|
|
2112
2337
|
assignedBy: string | null;
|
|
2113
2338
|
company?: {
|
|
2114
|
-
id: string;
|
|
2115
|
-
name: string;
|
|
2116
2339
|
createdAt: string;
|
|
2340
|
+
id: string;
|
|
2117
2341
|
updatedAt: string;
|
|
2342
|
+
name: string;
|
|
2118
2343
|
} | null | undefined;
|
|
2119
2344
|
agent?: {
|
|
2120
|
-
id: string;
|
|
2121
|
-
createdAt: string;
|
|
2122
|
-
updatedAt: string;
|
|
2123
|
-
firstName: string;
|
|
2124
2345
|
lastName: string;
|
|
2346
|
+
firstName: string;
|
|
2125
2347
|
email: string;
|
|
2348
|
+
createdAt: string;
|
|
2349
|
+
id: string;
|
|
2126
2350
|
phoneNumbers: {
|
|
2127
2351
|
id: string;
|
|
2128
2352
|
phoneNumber: string;
|
|
2129
2353
|
isPrimary: boolean;
|
|
2130
2354
|
description?: string | null | undefined;
|
|
2131
2355
|
}[];
|
|
2356
|
+
updatedAt: string;
|
|
2132
2357
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2133
2358
|
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
|
+
canImpersonateUsers?: {
|
|
2360
|
+
lastName: string;
|
|
2361
|
+
firstName: string;
|
|
2362
|
+
id: string;
|
|
2363
|
+
}[] | undefined;
|
|
2134
2364
|
} | undefined;
|
|
2135
2365
|
lead?: {
|
|
2136
|
-
name: string;
|
|
2137
2366
|
phoneNumber: string;
|
|
2367
|
+
name: string;
|
|
2138
2368
|
} | undefined;
|
|
2139
2369
|
} | null | undefined;
|
|
2140
2370
|
}, {
|
|
2141
|
-
id: string;
|
|
2142
2371
|
createdAt: string | Date;
|
|
2372
|
+
id: string;
|
|
2143
2373
|
updatedAt: string | Date;
|
|
2374
|
+
rating: CallRating;
|
|
2375
|
+
notes: string | null;
|
|
2144
2376
|
assignmentId: string;
|
|
2145
2377
|
callDate: string | Date;
|
|
2146
2378
|
callType: CallType;
|
|
2147
|
-
rating: CallRating;
|
|
2148
2379
|
ratingWeight: number;
|
|
2149
|
-
notes: string | null;
|
|
2150
|
-
leadId?: string | undefined;
|
|
2151
2380
|
agentId?: string | undefined;
|
|
2381
|
+
leadId?: string | undefined;
|
|
2152
2382
|
assignment?: {
|
|
2383
|
+
createdAt: string | Date;
|
|
2153
2384
|
id: string;
|
|
2154
2385
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2155
|
-
createdAt: string | Date;
|
|
2156
2386
|
updatedAt: string | Date;
|
|
2157
|
-
leadId: string;
|
|
2158
2387
|
agentId: string | null;
|
|
2159
2388
|
companyId: string | null;
|
|
2389
|
+
leadId: string;
|
|
2160
2390
|
assignedAt: string | Date;
|
|
2161
2391
|
assignedBy: string | null;
|
|
2162
2392
|
company?: {
|
|
2163
|
-
id: string;
|
|
2164
|
-
name: string;
|
|
2165
2393
|
createdAt: string | Date;
|
|
2394
|
+
id: string;
|
|
2166
2395
|
updatedAt: string | Date;
|
|
2396
|
+
name: string;
|
|
2167
2397
|
} | null | undefined;
|
|
2168
2398
|
agent?: {
|
|
2169
|
-
id: string;
|
|
2170
|
-
createdAt: string | Date;
|
|
2171
|
-
updatedAt: string | Date;
|
|
2172
|
-
firstName: string;
|
|
2173
2399
|
lastName: string;
|
|
2400
|
+
firstName: string;
|
|
2174
2401
|
email: string;
|
|
2402
|
+
createdAt: string | Date;
|
|
2403
|
+
id: string;
|
|
2404
|
+
updatedAt: string | Date;
|
|
2175
2405
|
phoneNumbers?: {
|
|
2176
2406
|
id: string;
|
|
2177
2407
|
phoneNumber: string;
|
|
@@ -2180,10 +2410,15 @@ export declare const callHistoryContract: {
|
|
|
2180
2410
|
}[] | undefined;
|
|
2181
2411
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2182
2412
|
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
|
+
canImpersonateUsers?: {
|
|
2414
|
+
lastName: string;
|
|
2415
|
+
firstName: string;
|
|
2416
|
+
id: string;
|
|
2417
|
+
}[] | undefined;
|
|
2183
2418
|
} | undefined;
|
|
2184
2419
|
lead?: {
|
|
2185
|
-
name: string;
|
|
2186
2420
|
phoneNumber: string;
|
|
2421
|
+
name: string;
|
|
2187
2422
|
} | undefined;
|
|
2188
2423
|
} | null | undefined;
|
|
2189
2424
|
}>;
|
|
@@ -2232,13 +2467,13 @@ export declare const callHistoryContract: {
|
|
|
2232
2467
|
rating: z.ZodOptional<z.ZodNativeEnum<typeof CallRating>>;
|
|
2233
2468
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2234
2469
|
}, "strip", z.ZodTypeAny, {
|
|
2235
|
-
callDate?: string | undefined;
|
|
2236
2470
|
rating?: CallRating | undefined;
|
|
2237
2471
|
notes?: string | null | undefined;
|
|
2238
|
-
}, {
|
|
2239
2472
|
callDate?: string | undefined;
|
|
2473
|
+
}, {
|
|
2240
2474
|
rating?: CallRating | undefined;
|
|
2241
2475
|
notes?: string | null | undefined;
|
|
2476
|
+
callDate?: string | undefined;
|
|
2242
2477
|
}>;
|
|
2243
2478
|
path: "/v2/call-history/:id";
|
|
2244
2479
|
responses: {
|
|
@@ -2354,11 +2589,11 @@ export declare const callHistoryContract: {
|
|
|
2354
2589
|
name: z.ZodString;
|
|
2355
2590
|
phoneNumber: z.ZodString;
|
|
2356
2591
|
}, "strip", z.ZodTypeAny, {
|
|
2357
|
-
name: string;
|
|
2358
2592
|
phoneNumber: string;
|
|
2359
|
-
}, {
|
|
2360
2593
|
name: string;
|
|
2594
|
+
}, {
|
|
2361
2595
|
phoneNumber: string;
|
|
2596
|
+
name: string;
|
|
2362
2597
|
}>>;
|
|
2363
2598
|
agentId: z.ZodNullable<z.ZodString>;
|
|
2364
2599
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -2384,30 +2619,48 @@ export declare const callHistoryContract: {
|
|
|
2384
2619
|
}>, "many">>>;
|
|
2385
2620
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
|
|
2386
2621
|
office: z.ZodOptional<z.ZodNullable<z.ZodEnum<["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"]>>>;
|
|
2622
|
+
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2623
|
+
id: z.ZodString;
|
|
2624
|
+
firstName: z.ZodString;
|
|
2625
|
+
lastName: z.ZodString;
|
|
2626
|
+
}, "strip", z.ZodTypeAny, {
|
|
2627
|
+
lastName: string;
|
|
2628
|
+
firstName: string;
|
|
2629
|
+
id: string;
|
|
2630
|
+
}, {
|
|
2631
|
+
lastName: string;
|
|
2632
|
+
firstName: string;
|
|
2633
|
+
id: string;
|
|
2634
|
+
}>, "many">>;
|
|
2387
2635
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2388
2636
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2389
2637
|
}, "strip", z.ZodTypeAny, {
|
|
2390
|
-
id: string;
|
|
2391
|
-
createdAt: string;
|
|
2392
|
-
updatedAt: string;
|
|
2393
|
-
firstName: string;
|
|
2394
2638
|
lastName: string;
|
|
2639
|
+
firstName: string;
|
|
2395
2640
|
email: string;
|
|
2641
|
+
createdAt: string;
|
|
2642
|
+
id: string;
|
|
2396
2643
|
phoneNumbers: {
|
|
2397
2644
|
id: string;
|
|
2398
2645
|
phoneNumber: string;
|
|
2399
2646
|
isPrimary: boolean;
|
|
2400
2647
|
description?: string | null | undefined;
|
|
2401
2648
|
}[];
|
|
2649
|
+
updatedAt: string;
|
|
2402
2650
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2403
2651
|
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
|
+
canImpersonateUsers?: {
|
|
2653
|
+
lastName: string;
|
|
2654
|
+
firstName: string;
|
|
2655
|
+
id: string;
|
|
2656
|
+
}[] | undefined;
|
|
2404
2657
|
}, {
|
|
2405
|
-
id: string;
|
|
2406
|
-
createdAt: string | Date;
|
|
2407
|
-
updatedAt: string | Date;
|
|
2408
|
-
firstName: string;
|
|
2409
2658
|
lastName: string;
|
|
2659
|
+
firstName: string;
|
|
2410
2660
|
email: string;
|
|
2661
|
+
createdAt: string | Date;
|
|
2662
|
+
id: string;
|
|
2663
|
+
updatedAt: string | Date;
|
|
2411
2664
|
phoneNumbers?: {
|
|
2412
2665
|
id: string;
|
|
2413
2666
|
phoneNumber: string;
|
|
@@ -2416,6 +2669,11 @@ export declare const callHistoryContract: {
|
|
|
2416
2669
|
}[] | undefined;
|
|
2417
2670
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2418
2671
|
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
|
+
canImpersonateUsers?: {
|
|
2673
|
+
lastName: string;
|
|
2674
|
+
firstName: string;
|
|
2675
|
+
id: string;
|
|
2676
|
+
}[] | undefined;
|
|
2419
2677
|
}>>;
|
|
2420
2678
|
assignedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2421
2679
|
assignedBy: z.ZodNullable<z.ZodString>;
|
|
@@ -2427,77 +2685,82 @@ export declare const callHistoryContract: {
|
|
|
2427
2685
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2428
2686
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2429
2687
|
}, "strip", z.ZodTypeAny, {
|
|
2430
|
-
id: string;
|
|
2431
|
-
name: string;
|
|
2432
2688
|
createdAt: string;
|
|
2433
|
-
updatedAt: string;
|
|
2434
|
-
}, {
|
|
2435
2689
|
id: string;
|
|
2690
|
+
updatedAt: string;
|
|
2436
2691
|
name: string;
|
|
2692
|
+
}, {
|
|
2437
2693
|
createdAt: string | Date;
|
|
2694
|
+
id: string;
|
|
2438
2695
|
updatedAt: string | Date;
|
|
2696
|
+
name: string;
|
|
2439
2697
|
}>>>;
|
|
2440
2698
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2441
2699
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2442
2700
|
}, "strip", z.ZodTypeAny, {
|
|
2701
|
+
createdAt: string;
|
|
2443
2702
|
id: string;
|
|
2444
2703
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2445
|
-
createdAt: string;
|
|
2446
2704
|
updatedAt: string;
|
|
2447
|
-
leadId: string;
|
|
2448
2705
|
agentId: string | null;
|
|
2449
2706
|
companyId: string | null;
|
|
2707
|
+
leadId: string;
|
|
2450
2708
|
assignedAt: string;
|
|
2451
2709
|
assignedBy: string | null;
|
|
2452
2710
|
company?: {
|
|
2453
|
-
id: string;
|
|
2454
|
-
name: string;
|
|
2455
2711
|
createdAt: string;
|
|
2712
|
+
id: string;
|
|
2456
2713
|
updatedAt: string;
|
|
2714
|
+
name: string;
|
|
2457
2715
|
} | null | undefined;
|
|
2458
2716
|
agent?: {
|
|
2459
|
-
id: string;
|
|
2460
|
-
createdAt: string;
|
|
2461
|
-
updatedAt: string;
|
|
2462
|
-
firstName: string;
|
|
2463
2717
|
lastName: string;
|
|
2718
|
+
firstName: string;
|
|
2464
2719
|
email: string;
|
|
2720
|
+
createdAt: string;
|
|
2721
|
+
id: string;
|
|
2465
2722
|
phoneNumbers: {
|
|
2466
2723
|
id: string;
|
|
2467
2724
|
phoneNumber: string;
|
|
2468
2725
|
isPrimary: boolean;
|
|
2469
2726
|
description?: string | null | undefined;
|
|
2470
2727
|
}[];
|
|
2728
|
+
updatedAt: string;
|
|
2471
2729
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2472
2730
|
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
|
+
canImpersonateUsers?: {
|
|
2732
|
+
lastName: string;
|
|
2733
|
+
firstName: string;
|
|
2734
|
+
id: string;
|
|
2735
|
+
}[] | undefined;
|
|
2473
2736
|
} | undefined;
|
|
2474
2737
|
lead?: {
|
|
2475
|
-
name: string;
|
|
2476
2738
|
phoneNumber: string;
|
|
2739
|
+
name: string;
|
|
2477
2740
|
} | undefined;
|
|
2478
2741
|
}, {
|
|
2742
|
+
createdAt: string | Date;
|
|
2479
2743
|
id: string;
|
|
2480
2744
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2481
|
-
createdAt: string | Date;
|
|
2482
2745
|
updatedAt: string | Date;
|
|
2483
|
-
leadId: string;
|
|
2484
2746
|
agentId: string | null;
|
|
2485
2747
|
companyId: string | null;
|
|
2748
|
+
leadId: string;
|
|
2486
2749
|
assignedAt: string | Date;
|
|
2487
2750
|
assignedBy: string | null;
|
|
2488
2751
|
company?: {
|
|
2489
|
-
id: string;
|
|
2490
|
-
name: string;
|
|
2491
2752
|
createdAt: string | Date;
|
|
2753
|
+
id: string;
|
|
2492
2754
|
updatedAt: string | Date;
|
|
2755
|
+
name: string;
|
|
2493
2756
|
} | null | undefined;
|
|
2494
2757
|
agent?: {
|
|
2495
|
-
id: string;
|
|
2496
|
-
createdAt: string | Date;
|
|
2497
|
-
updatedAt: string | Date;
|
|
2498
|
-
firstName: string;
|
|
2499
2758
|
lastName: string;
|
|
2759
|
+
firstName: string;
|
|
2500
2760
|
email: string;
|
|
2761
|
+
createdAt: string | Date;
|
|
2762
|
+
id: string;
|
|
2763
|
+
updatedAt: string | Date;
|
|
2501
2764
|
phoneNumbers?: {
|
|
2502
2765
|
id: string;
|
|
2503
2766
|
phoneNumber: string;
|
|
@@ -2506,10 +2769,15 @@ export declare const callHistoryContract: {
|
|
|
2506
2769
|
}[] | undefined;
|
|
2507
2770
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2508
2771
|
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
|
+
canImpersonateUsers?: {
|
|
2773
|
+
lastName: string;
|
|
2774
|
+
firstName: string;
|
|
2775
|
+
id: string;
|
|
2776
|
+
}[] | undefined;
|
|
2509
2777
|
} | undefined;
|
|
2510
2778
|
lead?: {
|
|
2511
|
-
name: string;
|
|
2512
2779
|
phoneNumber: string;
|
|
2780
|
+
name: string;
|
|
2513
2781
|
} | undefined;
|
|
2514
2782
|
}>>>;
|
|
2515
2783
|
callDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -2520,89 +2788,94 @@ export declare const callHistoryContract: {
|
|
|
2520
2788
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2521
2789
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2522
2790
|
}, "strip", z.ZodTypeAny, {
|
|
2523
|
-
id: string;
|
|
2524
2791
|
createdAt: string;
|
|
2792
|
+
id: string;
|
|
2525
2793
|
updatedAt: string;
|
|
2794
|
+
rating: CallRating;
|
|
2795
|
+
notes: string | null;
|
|
2526
2796
|
assignmentId: string;
|
|
2527
2797
|
callDate: string;
|
|
2528
2798
|
callType: CallType;
|
|
2529
|
-
rating: CallRating;
|
|
2530
2799
|
ratingWeight: number;
|
|
2531
|
-
notes: string | null;
|
|
2532
|
-
leadId?: string | undefined;
|
|
2533
2800
|
agentId?: string | undefined;
|
|
2801
|
+
leadId?: string | undefined;
|
|
2534
2802
|
assignment?: {
|
|
2803
|
+
createdAt: string;
|
|
2535
2804
|
id: string;
|
|
2536
2805
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2537
|
-
createdAt: string;
|
|
2538
2806
|
updatedAt: string;
|
|
2539
|
-
leadId: string;
|
|
2540
2807
|
agentId: string | null;
|
|
2541
2808
|
companyId: string | null;
|
|
2809
|
+
leadId: string;
|
|
2542
2810
|
assignedAt: string;
|
|
2543
2811
|
assignedBy: string | null;
|
|
2544
2812
|
company?: {
|
|
2545
|
-
id: string;
|
|
2546
|
-
name: string;
|
|
2547
2813
|
createdAt: string;
|
|
2814
|
+
id: string;
|
|
2548
2815
|
updatedAt: string;
|
|
2816
|
+
name: string;
|
|
2549
2817
|
} | null | undefined;
|
|
2550
2818
|
agent?: {
|
|
2551
|
-
id: string;
|
|
2552
|
-
createdAt: string;
|
|
2553
|
-
updatedAt: string;
|
|
2554
|
-
firstName: string;
|
|
2555
2819
|
lastName: string;
|
|
2820
|
+
firstName: string;
|
|
2556
2821
|
email: string;
|
|
2822
|
+
createdAt: string;
|
|
2823
|
+
id: string;
|
|
2557
2824
|
phoneNumbers: {
|
|
2558
2825
|
id: string;
|
|
2559
2826
|
phoneNumber: string;
|
|
2560
2827
|
isPrimary: boolean;
|
|
2561
2828
|
description?: string | null | undefined;
|
|
2562
2829
|
}[];
|
|
2830
|
+
updatedAt: string;
|
|
2563
2831
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2564
2832
|
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
|
+
canImpersonateUsers?: {
|
|
2834
|
+
lastName: string;
|
|
2835
|
+
firstName: string;
|
|
2836
|
+
id: string;
|
|
2837
|
+
}[] | undefined;
|
|
2565
2838
|
} | undefined;
|
|
2566
2839
|
lead?: {
|
|
2567
|
-
name: string;
|
|
2568
2840
|
phoneNumber: string;
|
|
2841
|
+
name: string;
|
|
2569
2842
|
} | undefined;
|
|
2570
2843
|
} | null | undefined;
|
|
2571
2844
|
}, {
|
|
2572
|
-
id: string;
|
|
2573
2845
|
createdAt: string | Date;
|
|
2846
|
+
id: string;
|
|
2574
2847
|
updatedAt: string | Date;
|
|
2848
|
+
rating: CallRating;
|
|
2849
|
+
notes: string | null;
|
|
2575
2850
|
assignmentId: string;
|
|
2576
2851
|
callDate: string | Date;
|
|
2577
2852
|
callType: CallType;
|
|
2578
|
-
rating: CallRating;
|
|
2579
2853
|
ratingWeight: number;
|
|
2580
|
-
notes: string | null;
|
|
2581
|
-
leadId?: string | undefined;
|
|
2582
2854
|
agentId?: string | undefined;
|
|
2855
|
+
leadId?: string | undefined;
|
|
2583
2856
|
assignment?: {
|
|
2857
|
+
createdAt: string | Date;
|
|
2584
2858
|
id: string;
|
|
2585
2859
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2586
|
-
createdAt: string | Date;
|
|
2587
2860
|
updatedAt: string | Date;
|
|
2588
|
-
leadId: string;
|
|
2589
2861
|
agentId: string | null;
|
|
2590
2862
|
companyId: string | null;
|
|
2863
|
+
leadId: string;
|
|
2591
2864
|
assignedAt: string | Date;
|
|
2592
2865
|
assignedBy: string | null;
|
|
2593
2866
|
company?: {
|
|
2594
|
-
id: string;
|
|
2595
|
-
name: string;
|
|
2596
2867
|
createdAt: string | Date;
|
|
2868
|
+
id: string;
|
|
2597
2869
|
updatedAt: string | Date;
|
|
2870
|
+
name: string;
|
|
2598
2871
|
} | null | undefined;
|
|
2599
2872
|
agent?: {
|
|
2600
|
-
id: string;
|
|
2601
|
-
createdAt: string | Date;
|
|
2602
|
-
updatedAt: string | Date;
|
|
2603
|
-
firstName: string;
|
|
2604
2873
|
lastName: string;
|
|
2874
|
+
firstName: string;
|
|
2605
2875
|
email: string;
|
|
2876
|
+
createdAt: string | Date;
|
|
2877
|
+
id: string;
|
|
2878
|
+
updatedAt: string | Date;
|
|
2606
2879
|
phoneNumbers?: {
|
|
2607
2880
|
id: string;
|
|
2608
2881
|
phoneNumber: string;
|
|
@@ -2611,10 +2884,15 @@ export declare const callHistoryContract: {
|
|
|
2611
2884
|
}[] | undefined;
|
|
2612
2885
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2613
2886
|
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
|
+
canImpersonateUsers?: {
|
|
2888
|
+
lastName: string;
|
|
2889
|
+
firstName: string;
|
|
2890
|
+
id: string;
|
|
2891
|
+
}[] | undefined;
|
|
2614
2892
|
} | undefined;
|
|
2615
2893
|
lead?: {
|
|
2616
|
-
name: string;
|
|
2617
2894
|
phoneNumber: string;
|
|
2895
|
+
name: string;
|
|
2618
2896
|
} | undefined;
|
|
2619
2897
|
} | null | undefined;
|
|
2620
2898
|
}>;
|