@dakkitor/api-contracts 1.1.131 → 1.1.133
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/abilities.contract.d.ts +19 -13
- package/dist/abilities/abilities.contract.js +33 -18
- package/dist/abilities/first-agent.abilities.json +68 -56
- package/dist/abilities/second-agent.abilities.json +3 -3
- package/dist/abilities/team-leads.json +3 -6
- package/dist/actives/actives.contract.d.ts +6313 -6313
- package/dist/actives/actives.contract.js +92 -92
- package/dist/agent-client-links/agent-client-links.contract.d.ts +511 -511
- package/dist/auth/auth.contract.d.ts +16 -16
- package/dist/bookings/bookings.contract.d.ts +23378 -23378
- package/dist/call-history/call-history.contract.d.ts +366 -366
- package/dist/call-history/call-history.contract.js +67 -67
- package/dist/client-contacts/client-contacts.contract.d.ts +159 -159
- package/dist/clients/clients.contract.d.ts +72 -72
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +1330 -1330
- package/dist/collaborations/collaborations.contract.d.ts +1198 -1198
- package/dist/common/call-rating.schema.d.ts +12 -12
- package/dist/common/call-rating.schema.js +48 -40
- package/dist/common/common-schemas.d.ts +4 -4
- package/dist/common/common-schemas.d.ts.map +1 -1
- package/dist/common/common-schemas.js +1 -2
- package/dist/common/error-schemas.d.ts +11 -5
- package/dist/common/error-schemas.js +11 -8
- package/dist/common/openapi-metadata.d.ts +54 -44
- package/dist/common/openapi-metadata.js +135 -129
- package/dist/common/pagination-query.schema.d.ts +11 -5
- package/dist/common/pagination-query.schema.js +11 -8
- package/dist/companies/companies.contract.d.ts +40 -40
- package/dist/cron-executions/cron-executions.contract.d.ts +14 -14
- package/dist/curated-workers/curated-workers.contract.d.ts +211 -211
- package/dist/dashboards/agent-daily-metrics.contract.d.ts +798 -616
- package/dist/dashboards/agent-daily-metrics.contract.js +100 -89
- package/dist/dashboards/dashboard-widgets.contract.d.ts +75 -75
- package/dist/dashboards/dashboard-widgets.contract.js +89 -89
- package/dist/dashboards/dashboard.contract.d.ts +305 -215
- package/dist/files/files.contract.d.ts +1544 -1177
- package/dist/files/files.contract.js +177 -162
- package/dist/health/health.contract.d.ts +191 -144
- package/dist/health/health.contract.js +53 -40
- package/dist/index.d.ts +67 -67
- package/dist/jobs/jobs.contract.d.ts +2553 -2553
- package/dist/jobs/jobs.contract.js +150 -150
- package/dist/lead-assignments/lead-assignments.contract.d.ts +587 -587
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +239 -239
- package/dist/lead-distribution/lead-distribution-config.contract.d.ts +25 -25
- package/dist/leads/leads.contract.d.ts +108 -108
- package/dist/leads/leads.contract.js +119 -119
- package/dist/locations/locations.contract.d.ts +7 -7
- package/dist/monitoring/monitoring.contract.d.ts +13 -13
- package/dist/monitoring/monitoring.contract.js +37 -37
- package/dist/own-research/own-research.contract.d.ts +535 -134
- package/dist/own-research/own-research.contract.d.ts.map +1 -1
- package/dist/own-research/own-research.contract.js +88 -56
- package/dist/postcodes/postcodes.contract.d.ts +24 -24
- package/dist/qualifications/qualifications.contract.d.ts +1898 -1387
- package/dist/qualifications/qualifications.contract.js +193 -171
- package/dist/trades/trades.contract.d.ts +991 -763
- package/dist/trades/trades.contract.js +111 -89
- package/dist/users/users.contract.d.ts +202 -202
- package/dist/users/users.contract.js +121 -121
- package/dist/workers/workers.contract.d.ts +710 -710
- package/dist/workers/workers.contract.js +150 -150
- package/package.json +1 -1
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
*
|
|
5
5
|
* Description: Contract definition for Call History V2 API.
|
|
6
6
|
*/
|
|
7
|
-
import { z } from
|
|
8
|
-
import { CallRating, CallRatingSchema } from
|
|
7
|
+
import { z } from 'zod';
|
|
8
|
+
import { CallRating, CallRatingSchema } from '../common/call-rating.schema';
|
|
9
9
|
export { CallRating, CallRatingSchema };
|
|
10
10
|
export declare enum CallType {
|
|
11
11
|
ASSIGNMENT = "assignment",
|
|
@@ -86,18 +86,18 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
86
86
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
87
87
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
88
88
|
}, "strip", z.ZodTypeAny, {
|
|
89
|
+
email: string;
|
|
89
90
|
id: string;
|
|
91
|
+
createdAt: string;
|
|
92
|
+
updatedAt: string;
|
|
90
93
|
firstName: string;
|
|
91
94
|
lastName: string;
|
|
92
|
-
email: string;
|
|
93
95
|
phoneNumbers: {
|
|
94
96
|
id: string;
|
|
95
97
|
phoneNumber: string;
|
|
96
98
|
isPrimary: boolean;
|
|
97
99
|
description?: string | null | undefined;
|
|
98
100
|
}[];
|
|
99
|
-
createdAt: string;
|
|
100
|
-
updatedAt: string;
|
|
101
101
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
102
102
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
103
103
|
canImpersonateUsers?: {
|
|
@@ -106,19 +106,19 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
106
106
|
lastName: string;
|
|
107
107
|
}[] | undefined;
|
|
108
108
|
}, {
|
|
109
|
-
id: string;
|
|
110
|
-
firstName: string;
|
|
111
|
-
lastName: string;
|
|
112
109
|
email: string;
|
|
110
|
+
id: string;
|
|
113
111
|
createdAt: string | Date;
|
|
114
112
|
updatedAt: string | Date;
|
|
113
|
+
firstName: string;
|
|
114
|
+
lastName: string;
|
|
115
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
115
116
|
phoneNumbers?: {
|
|
116
117
|
id: string;
|
|
117
118
|
phoneNumber: string;
|
|
118
119
|
description?: string | null | undefined;
|
|
119
120
|
isPrimary?: boolean | undefined;
|
|
120
121
|
}[] | undefined;
|
|
121
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
122
122
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
123
123
|
canImpersonateUsers?: {
|
|
124
124
|
id: string;
|
|
@@ -136,13 +136,13 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
136
136
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
137
137
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
138
138
|
}, "strip", z.ZodTypeAny, {
|
|
139
|
-
id: string;
|
|
140
139
|
name: string;
|
|
140
|
+
id: string;
|
|
141
141
|
createdAt: string;
|
|
142
142
|
updatedAt: string;
|
|
143
143
|
}, {
|
|
144
|
-
id: string;
|
|
145
144
|
name: string;
|
|
145
|
+
id: string;
|
|
146
146
|
createdAt: string | Date;
|
|
147
147
|
updatedAt: string | Date;
|
|
148
148
|
}>>>;
|
|
@@ -150,11 +150,11 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
150
150
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
151
151
|
}, "strip", z.ZodTypeAny, {
|
|
152
152
|
id: string;
|
|
153
|
-
leadId: string;
|
|
154
|
-
agentId: string | null;
|
|
155
153
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
154
|
+
agentId: string | null;
|
|
156
155
|
createdAt: string;
|
|
157
156
|
updatedAt: string;
|
|
157
|
+
leadId: string;
|
|
158
158
|
assignedAt: string;
|
|
159
159
|
assignedBy: string | null;
|
|
160
160
|
companyId: string | null;
|
|
@@ -163,18 +163,18 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
163
163
|
phoneNumber: string;
|
|
164
164
|
} | undefined;
|
|
165
165
|
agent?: {
|
|
166
|
+
email: string;
|
|
166
167
|
id: string;
|
|
168
|
+
createdAt: string;
|
|
169
|
+
updatedAt: string;
|
|
167
170
|
firstName: string;
|
|
168
171
|
lastName: string;
|
|
169
|
-
email: string;
|
|
170
172
|
phoneNumbers: {
|
|
171
173
|
id: string;
|
|
172
174
|
phoneNumber: string;
|
|
173
175
|
isPrimary: boolean;
|
|
174
176
|
description?: string | null | undefined;
|
|
175
177
|
}[];
|
|
176
|
-
createdAt: string;
|
|
177
|
-
updatedAt: string;
|
|
178
178
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
179
179
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
180
180
|
canImpersonateUsers?: {
|
|
@@ -184,18 +184,18 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
184
184
|
}[] | undefined;
|
|
185
185
|
} | undefined;
|
|
186
186
|
company?: {
|
|
187
|
-
id: string;
|
|
188
187
|
name: string;
|
|
188
|
+
id: string;
|
|
189
189
|
createdAt: string;
|
|
190
190
|
updatedAt: string;
|
|
191
191
|
} | null | undefined;
|
|
192
192
|
}, {
|
|
193
193
|
id: string;
|
|
194
|
-
leadId: string;
|
|
195
|
-
agentId: string | null;
|
|
196
194
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
195
|
+
agentId: string | null;
|
|
197
196
|
createdAt: string | Date;
|
|
198
197
|
updatedAt: string | Date;
|
|
198
|
+
leadId: string;
|
|
199
199
|
assignedAt: string | Date;
|
|
200
200
|
assignedBy: string | null;
|
|
201
201
|
companyId: string | null;
|
|
@@ -204,19 +204,19 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
204
204
|
phoneNumber: string;
|
|
205
205
|
} | undefined;
|
|
206
206
|
agent?: {
|
|
207
|
-
id: string;
|
|
208
|
-
firstName: string;
|
|
209
|
-
lastName: string;
|
|
210
207
|
email: string;
|
|
208
|
+
id: string;
|
|
211
209
|
createdAt: string | Date;
|
|
212
210
|
updatedAt: string | Date;
|
|
211
|
+
firstName: string;
|
|
212
|
+
lastName: string;
|
|
213
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
213
214
|
phoneNumbers?: {
|
|
214
215
|
id: string;
|
|
215
216
|
phoneNumber: string;
|
|
216
217
|
description?: string | null | undefined;
|
|
217
218
|
isPrimary?: boolean | undefined;
|
|
218
219
|
}[] | undefined;
|
|
219
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
220
220
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
221
221
|
canImpersonateUsers?: {
|
|
222
222
|
id: string;
|
|
@@ -225,8 +225,8 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
225
225
|
}[] | undefined;
|
|
226
226
|
} | undefined;
|
|
227
227
|
company?: {
|
|
228
|
-
id: string;
|
|
229
228
|
name: string;
|
|
229
|
+
id: string;
|
|
230
230
|
createdAt: string | Date;
|
|
231
231
|
updatedAt: string | Date;
|
|
232
232
|
} | null | undefined;
|
|
@@ -241,24 +241,24 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
241
241
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
242
242
|
}, "strip", z.ZodTypeAny, {
|
|
243
243
|
id: string;
|
|
244
|
-
assignmentId: string;
|
|
245
244
|
createdAt: string;
|
|
246
245
|
updatedAt: string;
|
|
246
|
+
rating: CallRating;
|
|
247
|
+
notes: string | null;
|
|
248
|
+
assignmentId: string;
|
|
247
249
|
callDate: string;
|
|
248
250
|
callType: CallType;
|
|
249
|
-
leadSource: LeadSource;
|
|
250
|
-
rating: CallRating;
|
|
251
251
|
ratingWeight: number;
|
|
252
|
-
|
|
253
|
-
leadId?: string | undefined;
|
|
252
|
+
leadSource: LeadSource;
|
|
254
253
|
agentId?: string | undefined;
|
|
254
|
+
leadId?: string | undefined;
|
|
255
255
|
assignment?: {
|
|
256
256
|
id: string;
|
|
257
|
-
leadId: string;
|
|
258
|
-
agentId: string | null;
|
|
259
257
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
258
|
+
agentId: string | null;
|
|
260
259
|
createdAt: string;
|
|
261
260
|
updatedAt: string;
|
|
261
|
+
leadId: string;
|
|
262
262
|
assignedAt: string;
|
|
263
263
|
assignedBy: string | null;
|
|
264
264
|
companyId: string | null;
|
|
@@ -267,18 +267,18 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
267
267
|
phoneNumber: string;
|
|
268
268
|
} | undefined;
|
|
269
269
|
agent?: {
|
|
270
|
+
email: string;
|
|
270
271
|
id: string;
|
|
272
|
+
createdAt: string;
|
|
273
|
+
updatedAt: string;
|
|
271
274
|
firstName: string;
|
|
272
275
|
lastName: string;
|
|
273
|
-
email: string;
|
|
274
276
|
phoneNumbers: {
|
|
275
277
|
id: string;
|
|
276
278
|
phoneNumber: string;
|
|
277
279
|
isPrimary: boolean;
|
|
278
280
|
description?: string | null | undefined;
|
|
279
281
|
}[];
|
|
280
|
-
createdAt: string;
|
|
281
|
-
updatedAt: string;
|
|
282
282
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
283
283
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
284
284
|
canImpersonateUsers?: {
|
|
@@ -288,32 +288,32 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
288
288
|
}[] | undefined;
|
|
289
289
|
} | undefined;
|
|
290
290
|
company?: {
|
|
291
|
-
id: string;
|
|
292
291
|
name: string;
|
|
292
|
+
id: string;
|
|
293
293
|
createdAt: string;
|
|
294
294
|
updatedAt: string;
|
|
295
295
|
} | null | undefined;
|
|
296
296
|
} | null | undefined;
|
|
297
297
|
}, {
|
|
298
298
|
id: string;
|
|
299
|
-
assignmentId: string;
|
|
300
299
|
createdAt: string | Date;
|
|
301
300
|
updatedAt: string | Date;
|
|
301
|
+
rating: CallRating;
|
|
302
|
+
notes: string | null;
|
|
303
|
+
assignmentId: string;
|
|
302
304
|
callDate: string | Date;
|
|
303
305
|
callType: CallType;
|
|
304
|
-
leadSource: LeadSource;
|
|
305
|
-
rating: CallRating;
|
|
306
306
|
ratingWeight: number;
|
|
307
|
-
|
|
308
|
-
leadId?: string | undefined;
|
|
307
|
+
leadSource: LeadSource;
|
|
309
308
|
agentId?: string | undefined;
|
|
309
|
+
leadId?: string | undefined;
|
|
310
310
|
assignment?: {
|
|
311
311
|
id: string;
|
|
312
|
-
leadId: string;
|
|
313
|
-
agentId: string | null;
|
|
314
312
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
313
|
+
agentId: string | null;
|
|
315
314
|
createdAt: string | Date;
|
|
316
315
|
updatedAt: string | Date;
|
|
316
|
+
leadId: string;
|
|
317
317
|
assignedAt: string | Date;
|
|
318
318
|
assignedBy: string | null;
|
|
319
319
|
companyId: string | null;
|
|
@@ -322,19 +322,19 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
322
322
|
phoneNumber: string;
|
|
323
323
|
} | undefined;
|
|
324
324
|
agent?: {
|
|
325
|
-
id: string;
|
|
326
|
-
firstName: string;
|
|
327
|
-
lastName: string;
|
|
328
325
|
email: string;
|
|
326
|
+
id: string;
|
|
329
327
|
createdAt: string | Date;
|
|
330
328
|
updatedAt: string | Date;
|
|
329
|
+
firstName: string;
|
|
330
|
+
lastName: string;
|
|
331
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
331
332
|
phoneNumbers?: {
|
|
332
333
|
id: string;
|
|
333
334
|
phoneNumber: string;
|
|
334
335
|
description?: string | null | undefined;
|
|
335
336
|
isPrimary?: boolean | undefined;
|
|
336
337
|
}[] | undefined;
|
|
337
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
338
338
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
339
339
|
canImpersonateUsers?: {
|
|
340
340
|
id: string;
|
|
@@ -343,8 +343,8 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
343
343
|
}[] | undefined;
|
|
344
344
|
} | undefined;
|
|
345
345
|
company?: {
|
|
346
|
-
id: string;
|
|
347
346
|
name: string;
|
|
347
|
+
id: string;
|
|
348
348
|
createdAt: string | Date;
|
|
349
349
|
updatedAt: string | Date;
|
|
350
350
|
} | null | undefined;
|
|
@@ -409,18 +409,18 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
409
409
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
410
410
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
411
411
|
}, "strip", z.ZodTypeAny, {
|
|
412
|
+
email: string;
|
|
412
413
|
id: string;
|
|
414
|
+
createdAt: string;
|
|
415
|
+
updatedAt: string;
|
|
413
416
|
firstName: string;
|
|
414
417
|
lastName: string;
|
|
415
|
-
email: string;
|
|
416
418
|
phoneNumbers: {
|
|
417
419
|
id: string;
|
|
418
420
|
phoneNumber: string;
|
|
419
421
|
isPrimary: boolean;
|
|
420
422
|
description?: string | null | undefined;
|
|
421
423
|
}[];
|
|
422
|
-
createdAt: string;
|
|
423
|
-
updatedAt: string;
|
|
424
424
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
425
425
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
426
426
|
canImpersonateUsers?: {
|
|
@@ -429,19 +429,19 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
429
429
|
lastName: string;
|
|
430
430
|
}[] | undefined;
|
|
431
431
|
}, {
|
|
432
|
-
id: string;
|
|
433
|
-
firstName: string;
|
|
434
|
-
lastName: string;
|
|
435
432
|
email: string;
|
|
433
|
+
id: string;
|
|
436
434
|
createdAt: string | Date;
|
|
437
435
|
updatedAt: string | Date;
|
|
436
|
+
firstName: string;
|
|
437
|
+
lastName: string;
|
|
438
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
438
439
|
phoneNumbers?: {
|
|
439
440
|
id: string;
|
|
440
441
|
phoneNumber: string;
|
|
441
442
|
description?: string | null | undefined;
|
|
442
443
|
isPrimary?: boolean | undefined;
|
|
443
444
|
}[] | undefined;
|
|
444
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
445
445
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
446
446
|
canImpersonateUsers?: {
|
|
447
447
|
id: string;
|
|
@@ -459,13 +459,13 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
459
459
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
460
460
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
461
461
|
}, "strip", z.ZodTypeAny, {
|
|
462
|
-
id: string;
|
|
463
462
|
name: string;
|
|
463
|
+
id: string;
|
|
464
464
|
createdAt: string;
|
|
465
465
|
updatedAt: string;
|
|
466
466
|
}, {
|
|
467
|
-
id: string;
|
|
468
467
|
name: string;
|
|
468
|
+
id: string;
|
|
469
469
|
createdAt: string | Date;
|
|
470
470
|
updatedAt: string | Date;
|
|
471
471
|
}>>>;
|
|
@@ -473,11 +473,11 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
473
473
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
474
474
|
}, "strip", z.ZodTypeAny, {
|
|
475
475
|
id: string;
|
|
476
|
-
leadId: string;
|
|
477
|
-
agentId: string | null;
|
|
478
476
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
477
|
+
agentId: string | null;
|
|
479
478
|
createdAt: string;
|
|
480
479
|
updatedAt: string;
|
|
480
|
+
leadId: string;
|
|
481
481
|
assignedAt: string;
|
|
482
482
|
assignedBy: string | null;
|
|
483
483
|
companyId: string | null;
|
|
@@ -486,18 +486,18 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
486
486
|
phoneNumber: string;
|
|
487
487
|
} | undefined;
|
|
488
488
|
agent?: {
|
|
489
|
+
email: string;
|
|
489
490
|
id: string;
|
|
491
|
+
createdAt: string;
|
|
492
|
+
updatedAt: string;
|
|
490
493
|
firstName: string;
|
|
491
494
|
lastName: string;
|
|
492
|
-
email: string;
|
|
493
495
|
phoneNumbers: {
|
|
494
496
|
id: string;
|
|
495
497
|
phoneNumber: string;
|
|
496
498
|
isPrimary: boolean;
|
|
497
499
|
description?: string | null | undefined;
|
|
498
500
|
}[];
|
|
499
|
-
createdAt: string;
|
|
500
|
-
updatedAt: string;
|
|
501
501
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
502
502
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
503
503
|
canImpersonateUsers?: {
|
|
@@ -507,18 +507,18 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
507
507
|
}[] | undefined;
|
|
508
508
|
} | undefined;
|
|
509
509
|
company?: {
|
|
510
|
-
id: string;
|
|
511
510
|
name: string;
|
|
511
|
+
id: string;
|
|
512
512
|
createdAt: string;
|
|
513
513
|
updatedAt: string;
|
|
514
514
|
} | null | undefined;
|
|
515
515
|
}, {
|
|
516
516
|
id: string;
|
|
517
|
-
leadId: string;
|
|
518
|
-
agentId: string | null;
|
|
519
517
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
518
|
+
agentId: string | null;
|
|
520
519
|
createdAt: string | Date;
|
|
521
520
|
updatedAt: string | Date;
|
|
521
|
+
leadId: string;
|
|
522
522
|
assignedAt: string | Date;
|
|
523
523
|
assignedBy: string | null;
|
|
524
524
|
companyId: string | null;
|
|
@@ -527,19 +527,19 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
527
527
|
phoneNumber: string;
|
|
528
528
|
} | undefined;
|
|
529
529
|
agent?: {
|
|
530
|
-
id: string;
|
|
531
|
-
firstName: string;
|
|
532
|
-
lastName: string;
|
|
533
530
|
email: string;
|
|
531
|
+
id: string;
|
|
534
532
|
createdAt: string | Date;
|
|
535
533
|
updatedAt: string | Date;
|
|
534
|
+
firstName: string;
|
|
535
|
+
lastName: string;
|
|
536
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
536
537
|
phoneNumbers?: {
|
|
537
538
|
id: string;
|
|
538
539
|
phoneNumber: string;
|
|
539
540
|
description?: string | null | undefined;
|
|
540
541
|
isPrimary?: boolean | undefined;
|
|
541
542
|
}[] | undefined;
|
|
542
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
543
543
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
544
544
|
canImpersonateUsers?: {
|
|
545
545
|
id: string;
|
|
@@ -548,8 +548,8 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
548
548
|
}[] | undefined;
|
|
549
549
|
} | undefined;
|
|
550
550
|
company?: {
|
|
551
|
-
id: string;
|
|
552
551
|
name: string;
|
|
552
|
+
id: string;
|
|
553
553
|
createdAt: string | Date;
|
|
554
554
|
updatedAt: string | Date;
|
|
555
555
|
} | null | undefined;
|
|
@@ -564,24 +564,24 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
564
564
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
565
565
|
}, "strip", z.ZodTypeAny, {
|
|
566
566
|
id: string;
|
|
567
|
-
assignmentId: string;
|
|
568
567
|
createdAt: string;
|
|
569
568
|
updatedAt: string;
|
|
569
|
+
rating: CallRating;
|
|
570
|
+
notes: string | null;
|
|
571
|
+
assignmentId: string;
|
|
570
572
|
callDate: string;
|
|
571
573
|
callType: CallType;
|
|
572
|
-
leadSource: LeadSource;
|
|
573
|
-
rating: CallRating;
|
|
574
574
|
ratingWeight: number;
|
|
575
|
-
|
|
576
|
-
leadId?: string | undefined;
|
|
575
|
+
leadSource: LeadSource;
|
|
577
576
|
agentId?: string | undefined;
|
|
577
|
+
leadId?: string | undefined;
|
|
578
578
|
assignment?: {
|
|
579
579
|
id: string;
|
|
580
|
-
leadId: string;
|
|
581
|
-
agentId: string | null;
|
|
582
580
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
581
|
+
agentId: string | null;
|
|
583
582
|
createdAt: string;
|
|
584
583
|
updatedAt: string;
|
|
584
|
+
leadId: string;
|
|
585
585
|
assignedAt: string;
|
|
586
586
|
assignedBy: string | null;
|
|
587
587
|
companyId: string | null;
|
|
@@ -590,18 +590,18 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
590
590
|
phoneNumber: string;
|
|
591
591
|
} | undefined;
|
|
592
592
|
agent?: {
|
|
593
|
+
email: string;
|
|
593
594
|
id: string;
|
|
595
|
+
createdAt: string;
|
|
596
|
+
updatedAt: string;
|
|
594
597
|
firstName: string;
|
|
595
598
|
lastName: string;
|
|
596
|
-
email: string;
|
|
597
599
|
phoneNumbers: {
|
|
598
600
|
id: string;
|
|
599
601
|
phoneNumber: string;
|
|
600
602
|
isPrimary: boolean;
|
|
601
603
|
description?: string | null | undefined;
|
|
602
604
|
}[];
|
|
603
|
-
createdAt: string;
|
|
604
|
-
updatedAt: string;
|
|
605
605
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
606
606
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
607
607
|
canImpersonateUsers?: {
|
|
@@ -611,32 +611,32 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
611
611
|
}[] | undefined;
|
|
612
612
|
} | undefined;
|
|
613
613
|
company?: {
|
|
614
|
-
id: string;
|
|
615
614
|
name: string;
|
|
615
|
+
id: string;
|
|
616
616
|
createdAt: string;
|
|
617
617
|
updatedAt: string;
|
|
618
618
|
} | null | undefined;
|
|
619
619
|
} | null | undefined;
|
|
620
620
|
}, {
|
|
621
621
|
id: string;
|
|
622
|
-
assignmentId: string;
|
|
623
622
|
createdAt: string | Date;
|
|
624
623
|
updatedAt: string | Date;
|
|
624
|
+
rating: CallRating;
|
|
625
|
+
notes: string | null;
|
|
626
|
+
assignmentId: string;
|
|
625
627
|
callDate: string | Date;
|
|
626
628
|
callType: CallType;
|
|
627
|
-
leadSource: LeadSource;
|
|
628
|
-
rating: CallRating;
|
|
629
629
|
ratingWeight: number;
|
|
630
|
-
|
|
631
|
-
leadId?: string | undefined;
|
|
630
|
+
leadSource: LeadSource;
|
|
632
631
|
agentId?: string | undefined;
|
|
632
|
+
leadId?: string | undefined;
|
|
633
633
|
assignment?: {
|
|
634
634
|
id: string;
|
|
635
|
-
leadId: string;
|
|
636
|
-
agentId: string | null;
|
|
637
635
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
636
|
+
agentId: string | null;
|
|
638
637
|
createdAt: string | Date;
|
|
639
638
|
updatedAt: string | Date;
|
|
639
|
+
leadId: string;
|
|
640
640
|
assignedAt: string | Date;
|
|
641
641
|
assignedBy: string | null;
|
|
642
642
|
companyId: string | null;
|
|
@@ -645,19 +645,19 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
645
645
|
phoneNumber: string;
|
|
646
646
|
} | undefined;
|
|
647
647
|
agent?: {
|
|
648
|
-
id: string;
|
|
649
|
-
firstName: string;
|
|
650
|
-
lastName: string;
|
|
651
648
|
email: string;
|
|
649
|
+
id: string;
|
|
652
650
|
createdAt: string | Date;
|
|
653
651
|
updatedAt: string | Date;
|
|
652
|
+
firstName: string;
|
|
653
|
+
lastName: string;
|
|
654
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
654
655
|
phoneNumbers?: {
|
|
655
656
|
id: string;
|
|
656
657
|
phoneNumber: string;
|
|
657
658
|
description?: string | null | undefined;
|
|
658
659
|
isPrimary?: boolean | undefined;
|
|
659
660
|
}[] | undefined;
|
|
660
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
661
661
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
662
662
|
canImpersonateUsers?: {
|
|
663
663
|
id: string;
|
|
@@ -666,8 +666,8 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
666
666
|
}[] | undefined;
|
|
667
667
|
} | undefined;
|
|
668
668
|
company?: {
|
|
669
|
-
id: string;
|
|
670
669
|
name: string;
|
|
670
|
+
id: string;
|
|
671
671
|
createdAt: string | Date;
|
|
672
672
|
updatedAt: string | Date;
|
|
673
673
|
} | null | undefined;
|
|
@@ -679,26 +679,27 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
679
679
|
currentPage: z.ZodNumber;
|
|
680
680
|
totalPages: z.ZodNumber;
|
|
681
681
|
}, "strip", z.ZodTypeAny, {
|
|
682
|
+
limit: number;
|
|
682
683
|
items: {
|
|
683
684
|
id: string;
|
|
684
|
-
assignmentId: string;
|
|
685
685
|
createdAt: string;
|
|
686
686
|
updatedAt: string;
|
|
687
|
+
rating: CallRating;
|
|
688
|
+
notes: string | null;
|
|
689
|
+
assignmentId: string;
|
|
687
690
|
callDate: string;
|
|
688
691
|
callType: CallType;
|
|
689
|
-
leadSource: LeadSource;
|
|
690
|
-
rating: CallRating;
|
|
691
692
|
ratingWeight: number;
|
|
692
|
-
|
|
693
|
-
leadId?: string | undefined;
|
|
693
|
+
leadSource: LeadSource;
|
|
694
694
|
agentId?: string | undefined;
|
|
695
|
+
leadId?: string | undefined;
|
|
695
696
|
assignment?: {
|
|
696
697
|
id: string;
|
|
697
|
-
leadId: string;
|
|
698
|
-
agentId: string | null;
|
|
699
698
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
699
|
+
agentId: string | null;
|
|
700
700
|
createdAt: string;
|
|
701
701
|
updatedAt: string;
|
|
702
|
+
leadId: string;
|
|
702
703
|
assignedAt: string;
|
|
703
704
|
assignedBy: string | null;
|
|
704
705
|
companyId: string | null;
|
|
@@ -707,18 +708,18 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
707
708
|
phoneNumber: string;
|
|
708
709
|
} | undefined;
|
|
709
710
|
agent?: {
|
|
711
|
+
email: string;
|
|
710
712
|
id: string;
|
|
713
|
+
createdAt: string;
|
|
714
|
+
updatedAt: string;
|
|
711
715
|
firstName: string;
|
|
712
716
|
lastName: string;
|
|
713
|
-
email: string;
|
|
714
717
|
phoneNumbers: {
|
|
715
718
|
id: string;
|
|
716
719
|
phoneNumber: string;
|
|
717
720
|
isPrimary: boolean;
|
|
718
721
|
description?: string | null | undefined;
|
|
719
722
|
}[];
|
|
720
|
-
createdAt: string;
|
|
721
|
-
updatedAt: string;
|
|
722
723
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
723
724
|
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;
|
|
724
725
|
canImpersonateUsers?: {
|
|
@@ -728,39 +729,39 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
728
729
|
}[] | undefined;
|
|
729
730
|
} | undefined;
|
|
730
731
|
company?: {
|
|
731
|
-
id: string;
|
|
732
732
|
name: string;
|
|
733
|
+
id: string;
|
|
733
734
|
createdAt: string;
|
|
734
735
|
updatedAt: string;
|
|
735
736
|
} | null | undefined;
|
|
736
737
|
} | null | undefined;
|
|
737
738
|
}[];
|
|
738
739
|
totalCount: number;
|
|
739
|
-
limit: number;
|
|
740
740
|
skip: number;
|
|
741
741
|
currentPage: number;
|
|
742
742
|
totalPages: number;
|
|
743
743
|
}, {
|
|
744
|
+
limit: number;
|
|
744
745
|
items: {
|
|
745
746
|
id: string;
|
|
746
|
-
assignmentId: string;
|
|
747
747
|
createdAt: string | Date;
|
|
748
748
|
updatedAt: string | Date;
|
|
749
|
+
rating: CallRating;
|
|
750
|
+
notes: string | null;
|
|
751
|
+
assignmentId: string;
|
|
749
752
|
callDate: string | Date;
|
|
750
753
|
callType: CallType;
|
|
751
|
-
leadSource: LeadSource;
|
|
752
|
-
rating: CallRating;
|
|
753
754
|
ratingWeight: number;
|
|
754
|
-
|
|
755
|
-
leadId?: string | undefined;
|
|
755
|
+
leadSource: LeadSource;
|
|
756
756
|
agentId?: string | undefined;
|
|
757
|
+
leadId?: string | undefined;
|
|
757
758
|
assignment?: {
|
|
758
759
|
id: string;
|
|
759
|
-
leadId: string;
|
|
760
|
-
agentId: string | null;
|
|
761
760
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
761
|
+
agentId: string | null;
|
|
762
762
|
createdAt: string | Date;
|
|
763
763
|
updatedAt: string | Date;
|
|
764
|
+
leadId: string;
|
|
764
765
|
assignedAt: string | Date;
|
|
765
766
|
assignedBy: string | null;
|
|
766
767
|
companyId: string | null;
|
|
@@ -769,19 +770,19 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
769
770
|
phoneNumber: string;
|
|
770
771
|
} | undefined;
|
|
771
772
|
agent?: {
|
|
772
|
-
id: string;
|
|
773
|
-
firstName: string;
|
|
774
|
-
lastName: string;
|
|
775
773
|
email: string;
|
|
774
|
+
id: string;
|
|
776
775
|
createdAt: string | Date;
|
|
777
776
|
updatedAt: string | Date;
|
|
777
|
+
firstName: string;
|
|
778
|
+
lastName: string;
|
|
779
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
778
780
|
phoneNumbers?: {
|
|
779
781
|
id: string;
|
|
780
782
|
phoneNumber: string;
|
|
781
783
|
description?: string | null | undefined;
|
|
782
784
|
isPrimary?: boolean | undefined;
|
|
783
785
|
}[] | undefined;
|
|
784
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
785
786
|
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;
|
|
786
787
|
canImpersonateUsers?: {
|
|
787
788
|
id: string;
|
|
@@ -790,15 +791,14 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
790
791
|
}[] | undefined;
|
|
791
792
|
} | undefined;
|
|
792
793
|
company?: {
|
|
793
|
-
id: string;
|
|
794
794
|
name: string;
|
|
795
|
+
id: string;
|
|
795
796
|
createdAt: string | Date;
|
|
796
797
|
updatedAt: string | Date;
|
|
797
798
|
} | null | undefined;
|
|
798
799
|
} | null | undefined;
|
|
799
800
|
}[];
|
|
800
801
|
totalCount: number;
|
|
801
|
-
limit: number;
|
|
802
802
|
skip: number;
|
|
803
803
|
currentPage: number;
|
|
804
804
|
totalPages: number;
|
|
@@ -809,14 +809,14 @@ export declare const CreateCallHistorySchema: z.ZodObject<{
|
|
|
809
809
|
notes: z.ZodOptional<z.ZodString>;
|
|
810
810
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
811
811
|
}, "strip", z.ZodTypeAny, {
|
|
812
|
+
rating: CallRating;
|
|
812
813
|
assignmentId: string;
|
|
813
814
|
callType: CallType;
|
|
814
|
-
rating: CallRating;
|
|
815
815
|
notes?: string | undefined;
|
|
816
816
|
}, {
|
|
817
|
+
rating: CallRating;
|
|
817
818
|
assignmentId: string;
|
|
818
819
|
callType: CallType;
|
|
819
|
-
rating: CallRating;
|
|
820
820
|
notes?: string | undefined;
|
|
821
821
|
}>;
|
|
822
822
|
export declare const UpdateCallHistorySchema: z.ZodObject<{
|
|
@@ -824,13 +824,13 @@ export declare const UpdateCallHistorySchema: z.ZodObject<{
|
|
|
824
824
|
rating: z.ZodOptional<z.ZodNativeEnum<typeof CallRating>>;
|
|
825
825
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
826
826
|
}, "strip", z.ZodTypeAny, {
|
|
827
|
-
callDate?: string | undefined;
|
|
828
827
|
rating?: CallRating | undefined;
|
|
829
828
|
notes?: string | null | undefined;
|
|
830
|
-
}, {
|
|
831
829
|
callDate?: string | undefined;
|
|
830
|
+
}, {
|
|
832
831
|
rating?: CallRating | undefined;
|
|
833
832
|
notes?: string | null | undefined;
|
|
833
|
+
callDate?: string | undefined;
|
|
834
834
|
}>;
|
|
835
835
|
export declare const FilterCallHistorySchema: z.ZodObject<{
|
|
836
836
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
@@ -865,10 +865,16 @@ export declare const FilterCallHistorySchema: z.ZodObject<{
|
|
|
865
865
|
sortBy: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof CallHistorySortableFields>>>;
|
|
866
866
|
sortOrder: z.ZodOptional<z.ZodDefault<z.ZodEnum<["ASC", "DESC"]>>>;
|
|
867
867
|
}, "strip", z.ZodTypeAny, {
|
|
868
|
-
limit: number;
|
|
869
868
|
page: number;
|
|
870
|
-
|
|
869
|
+
limit: number;
|
|
870
|
+
sortBy?: CallHistorySortableFields | undefined;
|
|
871
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
871
872
|
phoneNumber?: string | undefined;
|
|
873
|
+
agentId?: string | undefined;
|
|
874
|
+
rating?: {
|
|
875
|
+
from?: CallRating | null | undefined;
|
|
876
|
+
to?: CallRating | null | undefined;
|
|
877
|
+
} | null | undefined;
|
|
872
878
|
companyId?: string | undefined;
|
|
873
879
|
callDate?: {
|
|
874
880
|
from?: string | null | undefined;
|
|
@@ -876,16 +882,18 @@ export declare const FilterCallHistorySchema: z.ZodObject<{
|
|
|
876
882
|
} | null | undefined;
|
|
877
883
|
callType?: CallType | undefined;
|
|
878
884
|
leadSource?: LeadSource | undefined;
|
|
879
|
-
rating?: {
|
|
880
|
-
from?: CallRating | null | undefined;
|
|
881
|
-
to?: CallRating | null | undefined;
|
|
882
|
-
} | null | undefined;
|
|
883
885
|
leadName?: string | undefined;
|
|
886
|
+
}, {
|
|
884
887
|
sortBy?: CallHistorySortableFields | undefined;
|
|
885
888
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
886
|
-
|
|
887
|
-
|
|
889
|
+
page?: number | undefined;
|
|
890
|
+
limit?: number | undefined;
|
|
888
891
|
phoneNumber?: string | undefined;
|
|
892
|
+
agentId?: string | undefined;
|
|
893
|
+
rating?: {
|
|
894
|
+
from?: unknown;
|
|
895
|
+
to?: unknown;
|
|
896
|
+
} | null | undefined;
|
|
889
897
|
companyId?: string | undefined;
|
|
890
898
|
callDate?: {
|
|
891
899
|
from?: string | null | undefined;
|
|
@@ -893,15 +901,7 @@ export declare const FilterCallHistorySchema: z.ZodObject<{
|
|
|
893
901
|
} | null | undefined;
|
|
894
902
|
callType?: CallType | undefined;
|
|
895
903
|
leadSource?: LeadSource | undefined;
|
|
896
|
-
rating?: {
|
|
897
|
-
from?: unknown;
|
|
898
|
-
to?: unknown;
|
|
899
|
-
} | null | undefined;
|
|
900
|
-
limit?: number | undefined;
|
|
901
|
-
page?: number | undefined;
|
|
902
904
|
leadName?: string | undefined;
|
|
903
|
-
sortBy?: CallHistorySortableFields | undefined;
|
|
904
|
-
sortOrder?: "ASC" | "DESC" | undefined;
|
|
905
905
|
}>;
|
|
906
906
|
export declare const CallHistoryStatsSchema: z.ZodObject<{
|
|
907
907
|
totalCalls: z.ZodNumber;
|
|
@@ -935,14 +935,14 @@ export declare const callHistoryContract: {
|
|
|
935
935
|
notes: z.ZodOptional<z.ZodString>;
|
|
936
936
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
937
937
|
}, "strip", z.ZodTypeAny, {
|
|
938
|
+
rating: CallRating;
|
|
938
939
|
assignmentId: string;
|
|
939
940
|
callType: CallType;
|
|
940
|
-
rating: CallRating;
|
|
941
941
|
notes?: string | undefined;
|
|
942
942
|
}, {
|
|
943
|
+
rating: CallRating;
|
|
943
944
|
assignmentId: string;
|
|
944
945
|
callType: CallType;
|
|
945
|
-
rating: CallRating;
|
|
946
946
|
notes?: string | undefined;
|
|
947
947
|
}>;
|
|
948
948
|
path: "/v2/call-history";
|
|
@@ -1105,18 +1105,18 @@ export declare const callHistoryContract: {
|
|
|
1105
1105
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1106
1106
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1107
1107
|
}, "strip", z.ZodTypeAny, {
|
|
1108
|
+
email: string;
|
|
1108
1109
|
id: string;
|
|
1110
|
+
createdAt: string;
|
|
1111
|
+
updatedAt: string;
|
|
1109
1112
|
firstName: string;
|
|
1110
1113
|
lastName: string;
|
|
1111
|
-
email: string;
|
|
1112
1114
|
phoneNumbers: {
|
|
1113
1115
|
id: string;
|
|
1114
1116
|
phoneNumber: string;
|
|
1115
1117
|
isPrimary: boolean;
|
|
1116
1118
|
description?: string | null | undefined;
|
|
1117
1119
|
}[];
|
|
1118
|
-
createdAt: string;
|
|
1119
|
-
updatedAt: string;
|
|
1120
1120
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1121
1121
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1122
1122
|
canImpersonateUsers?: {
|
|
@@ -1125,19 +1125,19 @@ export declare const callHistoryContract: {
|
|
|
1125
1125
|
lastName: string;
|
|
1126
1126
|
}[] | undefined;
|
|
1127
1127
|
}, {
|
|
1128
|
-
id: string;
|
|
1129
|
-
firstName: string;
|
|
1130
|
-
lastName: string;
|
|
1131
1128
|
email: string;
|
|
1129
|
+
id: string;
|
|
1132
1130
|
createdAt: string | Date;
|
|
1133
1131
|
updatedAt: string | Date;
|
|
1132
|
+
firstName: string;
|
|
1133
|
+
lastName: string;
|
|
1134
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1134
1135
|
phoneNumbers?: {
|
|
1135
1136
|
id: string;
|
|
1136
1137
|
phoneNumber: string;
|
|
1137
1138
|
description?: string | null | undefined;
|
|
1138
1139
|
isPrimary?: boolean | undefined;
|
|
1139
1140
|
}[] | undefined;
|
|
1140
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1141
1141
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1142
1142
|
canImpersonateUsers?: {
|
|
1143
1143
|
id: string;
|
|
@@ -1155,13 +1155,13 @@ export declare const callHistoryContract: {
|
|
|
1155
1155
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1156
1156
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1157
1157
|
}, "strip", z.ZodTypeAny, {
|
|
1158
|
-
id: string;
|
|
1159
1158
|
name: string;
|
|
1159
|
+
id: string;
|
|
1160
1160
|
createdAt: string;
|
|
1161
1161
|
updatedAt: string;
|
|
1162
1162
|
}, {
|
|
1163
|
-
id: string;
|
|
1164
1163
|
name: string;
|
|
1164
|
+
id: string;
|
|
1165
1165
|
createdAt: string | Date;
|
|
1166
1166
|
updatedAt: string | Date;
|
|
1167
1167
|
}>>>;
|
|
@@ -1169,11 +1169,11 @@ export declare const callHistoryContract: {
|
|
|
1169
1169
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1170
1170
|
}, "strip", z.ZodTypeAny, {
|
|
1171
1171
|
id: string;
|
|
1172
|
-
leadId: string;
|
|
1173
|
-
agentId: string | null;
|
|
1174
1172
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1173
|
+
agentId: string | null;
|
|
1175
1174
|
createdAt: string;
|
|
1176
1175
|
updatedAt: string;
|
|
1176
|
+
leadId: string;
|
|
1177
1177
|
assignedAt: string;
|
|
1178
1178
|
assignedBy: string | null;
|
|
1179
1179
|
companyId: string | null;
|
|
@@ -1182,18 +1182,18 @@ export declare const callHistoryContract: {
|
|
|
1182
1182
|
phoneNumber: string;
|
|
1183
1183
|
} | undefined;
|
|
1184
1184
|
agent?: {
|
|
1185
|
+
email: string;
|
|
1185
1186
|
id: string;
|
|
1187
|
+
createdAt: string;
|
|
1188
|
+
updatedAt: string;
|
|
1186
1189
|
firstName: string;
|
|
1187
1190
|
lastName: string;
|
|
1188
|
-
email: string;
|
|
1189
1191
|
phoneNumbers: {
|
|
1190
1192
|
id: string;
|
|
1191
1193
|
phoneNumber: string;
|
|
1192
1194
|
isPrimary: boolean;
|
|
1193
1195
|
description?: string | null | undefined;
|
|
1194
1196
|
}[];
|
|
1195
|
-
createdAt: string;
|
|
1196
|
-
updatedAt: string;
|
|
1197
1197
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1198
1198
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1199
1199
|
canImpersonateUsers?: {
|
|
@@ -1203,18 +1203,18 @@ export declare const callHistoryContract: {
|
|
|
1203
1203
|
}[] | undefined;
|
|
1204
1204
|
} | undefined;
|
|
1205
1205
|
company?: {
|
|
1206
|
-
id: string;
|
|
1207
1206
|
name: string;
|
|
1207
|
+
id: string;
|
|
1208
1208
|
createdAt: string;
|
|
1209
1209
|
updatedAt: string;
|
|
1210
1210
|
} | null | undefined;
|
|
1211
1211
|
}, {
|
|
1212
1212
|
id: string;
|
|
1213
|
-
leadId: string;
|
|
1214
|
-
agentId: string | null;
|
|
1215
1213
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1214
|
+
agentId: string | null;
|
|
1216
1215
|
createdAt: string | Date;
|
|
1217
1216
|
updatedAt: string | Date;
|
|
1217
|
+
leadId: string;
|
|
1218
1218
|
assignedAt: string | Date;
|
|
1219
1219
|
assignedBy: string | null;
|
|
1220
1220
|
companyId: string | null;
|
|
@@ -1223,19 +1223,19 @@ export declare const callHistoryContract: {
|
|
|
1223
1223
|
phoneNumber: string;
|
|
1224
1224
|
} | undefined;
|
|
1225
1225
|
agent?: {
|
|
1226
|
-
id: string;
|
|
1227
|
-
firstName: string;
|
|
1228
|
-
lastName: string;
|
|
1229
1226
|
email: string;
|
|
1227
|
+
id: string;
|
|
1230
1228
|
createdAt: string | Date;
|
|
1231
1229
|
updatedAt: string | Date;
|
|
1230
|
+
firstName: string;
|
|
1231
|
+
lastName: string;
|
|
1232
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1232
1233
|
phoneNumbers?: {
|
|
1233
1234
|
id: string;
|
|
1234
1235
|
phoneNumber: string;
|
|
1235
1236
|
description?: string | null | undefined;
|
|
1236
1237
|
isPrimary?: boolean | undefined;
|
|
1237
1238
|
}[] | undefined;
|
|
1238
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1239
1239
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1240
1240
|
canImpersonateUsers?: {
|
|
1241
1241
|
id: string;
|
|
@@ -1244,8 +1244,8 @@ export declare const callHistoryContract: {
|
|
|
1244
1244
|
}[] | undefined;
|
|
1245
1245
|
} | undefined;
|
|
1246
1246
|
company?: {
|
|
1247
|
-
id: string;
|
|
1248
1247
|
name: string;
|
|
1248
|
+
id: string;
|
|
1249
1249
|
createdAt: string | Date;
|
|
1250
1250
|
updatedAt: string | Date;
|
|
1251
1251
|
} | null | undefined;
|
|
@@ -1260,24 +1260,24 @@ export declare const callHistoryContract: {
|
|
|
1260
1260
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1261
1261
|
}, "strip", z.ZodTypeAny, {
|
|
1262
1262
|
id: string;
|
|
1263
|
-
assignmentId: string;
|
|
1264
1263
|
createdAt: string;
|
|
1265
1264
|
updatedAt: string;
|
|
1265
|
+
rating: CallRating;
|
|
1266
|
+
notes: string | null;
|
|
1267
|
+
assignmentId: string;
|
|
1266
1268
|
callDate: string;
|
|
1267
1269
|
callType: CallType;
|
|
1268
|
-
leadSource: LeadSource;
|
|
1269
|
-
rating: CallRating;
|
|
1270
1270
|
ratingWeight: number;
|
|
1271
|
-
|
|
1272
|
-
leadId?: string | undefined;
|
|
1271
|
+
leadSource: LeadSource;
|
|
1273
1272
|
agentId?: string | undefined;
|
|
1273
|
+
leadId?: string | undefined;
|
|
1274
1274
|
assignment?: {
|
|
1275
1275
|
id: string;
|
|
1276
|
-
leadId: string;
|
|
1277
|
-
agentId: string | null;
|
|
1278
1276
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1277
|
+
agentId: string | null;
|
|
1279
1278
|
createdAt: string;
|
|
1280
1279
|
updatedAt: string;
|
|
1280
|
+
leadId: string;
|
|
1281
1281
|
assignedAt: string;
|
|
1282
1282
|
assignedBy: string | null;
|
|
1283
1283
|
companyId: string | null;
|
|
@@ -1286,18 +1286,18 @@ export declare const callHistoryContract: {
|
|
|
1286
1286
|
phoneNumber: string;
|
|
1287
1287
|
} | undefined;
|
|
1288
1288
|
agent?: {
|
|
1289
|
+
email: string;
|
|
1289
1290
|
id: string;
|
|
1291
|
+
createdAt: string;
|
|
1292
|
+
updatedAt: string;
|
|
1290
1293
|
firstName: string;
|
|
1291
1294
|
lastName: string;
|
|
1292
|
-
email: string;
|
|
1293
1295
|
phoneNumbers: {
|
|
1294
1296
|
id: string;
|
|
1295
1297
|
phoneNumber: string;
|
|
1296
1298
|
isPrimary: boolean;
|
|
1297
1299
|
description?: string | null | undefined;
|
|
1298
1300
|
}[];
|
|
1299
|
-
createdAt: string;
|
|
1300
|
-
updatedAt: string;
|
|
1301
1301
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1302
1302
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1303
1303
|
canImpersonateUsers?: {
|
|
@@ -1307,32 +1307,32 @@ export declare const callHistoryContract: {
|
|
|
1307
1307
|
}[] | undefined;
|
|
1308
1308
|
} | undefined;
|
|
1309
1309
|
company?: {
|
|
1310
|
-
id: string;
|
|
1311
1310
|
name: string;
|
|
1311
|
+
id: string;
|
|
1312
1312
|
createdAt: string;
|
|
1313
1313
|
updatedAt: string;
|
|
1314
1314
|
} | null | undefined;
|
|
1315
1315
|
} | null | undefined;
|
|
1316
1316
|
}, {
|
|
1317
1317
|
id: string;
|
|
1318
|
-
assignmentId: string;
|
|
1319
1318
|
createdAt: string | Date;
|
|
1320
1319
|
updatedAt: string | Date;
|
|
1320
|
+
rating: CallRating;
|
|
1321
|
+
notes: string | null;
|
|
1322
|
+
assignmentId: string;
|
|
1321
1323
|
callDate: string | Date;
|
|
1322
1324
|
callType: CallType;
|
|
1323
|
-
leadSource: LeadSource;
|
|
1324
|
-
rating: CallRating;
|
|
1325
1325
|
ratingWeight: number;
|
|
1326
|
-
|
|
1327
|
-
leadId?: string | undefined;
|
|
1326
|
+
leadSource: LeadSource;
|
|
1328
1327
|
agentId?: string | undefined;
|
|
1328
|
+
leadId?: string | undefined;
|
|
1329
1329
|
assignment?: {
|
|
1330
1330
|
id: string;
|
|
1331
|
-
leadId: string;
|
|
1332
|
-
agentId: string | null;
|
|
1333
1331
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1332
|
+
agentId: string | null;
|
|
1334
1333
|
createdAt: string | Date;
|
|
1335
1334
|
updatedAt: string | Date;
|
|
1335
|
+
leadId: string;
|
|
1336
1336
|
assignedAt: string | Date;
|
|
1337
1337
|
assignedBy: string | null;
|
|
1338
1338
|
companyId: string | null;
|
|
@@ -1341,19 +1341,19 @@ export declare const callHistoryContract: {
|
|
|
1341
1341
|
phoneNumber: string;
|
|
1342
1342
|
} | undefined;
|
|
1343
1343
|
agent?: {
|
|
1344
|
-
id: string;
|
|
1345
|
-
firstName: string;
|
|
1346
|
-
lastName: string;
|
|
1347
1344
|
email: string;
|
|
1345
|
+
id: string;
|
|
1348
1346
|
createdAt: string | Date;
|
|
1349
1347
|
updatedAt: string | Date;
|
|
1348
|
+
firstName: string;
|
|
1349
|
+
lastName: string;
|
|
1350
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1350
1351
|
phoneNumbers?: {
|
|
1351
1352
|
id: string;
|
|
1352
1353
|
phoneNumber: string;
|
|
1353
1354
|
description?: string | null | undefined;
|
|
1354
1355
|
isPrimary?: boolean | undefined;
|
|
1355
1356
|
}[] | undefined;
|
|
1356
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1357
1357
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1358
1358
|
canImpersonateUsers?: {
|
|
1359
1359
|
id: string;
|
|
@@ -1362,8 +1362,8 @@ export declare const callHistoryContract: {
|
|
|
1362
1362
|
}[] | undefined;
|
|
1363
1363
|
} | undefined;
|
|
1364
1364
|
company?: {
|
|
1365
|
-
id: string;
|
|
1366
1365
|
name: string;
|
|
1366
|
+
id: string;
|
|
1367
1367
|
createdAt: string | Date;
|
|
1368
1368
|
updatedAt: string | Date;
|
|
1369
1369
|
} | null | undefined;
|
|
@@ -1397,9 +1397,6 @@ export declare const callHistoryContract: {
|
|
|
1397
1397
|
};
|
|
1398
1398
|
};
|
|
1399
1399
|
findAll: {
|
|
1400
|
-
metadata: {
|
|
1401
|
-
tags: string[];
|
|
1402
|
-
};
|
|
1403
1400
|
query: z.ZodObject<{
|
|
1404
1401
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
1405
1402
|
page: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1433,10 +1430,16 @@ export declare const callHistoryContract: {
|
|
|
1433
1430
|
sortBy: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof CallHistorySortableFields>>>;
|
|
1434
1431
|
sortOrder: z.ZodOptional<z.ZodDefault<z.ZodEnum<["ASC", "DESC"]>>>;
|
|
1435
1432
|
}, "strip", z.ZodTypeAny, {
|
|
1436
|
-
limit: number;
|
|
1437
1433
|
page: number;
|
|
1438
|
-
|
|
1434
|
+
limit: number;
|
|
1435
|
+
sortBy?: CallHistorySortableFields | undefined;
|
|
1436
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1439
1437
|
phoneNumber?: string | undefined;
|
|
1438
|
+
agentId?: string | undefined;
|
|
1439
|
+
rating?: {
|
|
1440
|
+
from?: CallRating | null | undefined;
|
|
1441
|
+
to?: CallRating | null | undefined;
|
|
1442
|
+
} | null | undefined;
|
|
1440
1443
|
companyId?: string | undefined;
|
|
1441
1444
|
callDate?: {
|
|
1442
1445
|
from?: string | null | undefined;
|
|
@@ -1444,16 +1447,18 @@ export declare const callHistoryContract: {
|
|
|
1444
1447
|
} | null | undefined;
|
|
1445
1448
|
callType?: CallType | undefined;
|
|
1446
1449
|
leadSource?: LeadSource | undefined;
|
|
1447
|
-
rating?: {
|
|
1448
|
-
from?: CallRating | null | undefined;
|
|
1449
|
-
to?: CallRating | null | undefined;
|
|
1450
|
-
} | null | undefined;
|
|
1451
1450
|
leadName?: string | undefined;
|
|
1451
|
+
}, {
|
|
1452
1452
|
sortBy?: CallHistorySortableFields | undefined;
|
|
1453
1453
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1454
|
-
|
|
1455
|
-
|
|
1454
|
+
page?: number | undefined;
|
|
1455
|
+
limit?: number | undefined;
|
|
1456
1456
|
phoneNumber?: string | undefined;
|
|
1457
|
+
agentId?: string | undefined;
|
|
1458
|
+
rating?: {
|
|
1459
|
+
from?: unknown;
|
|
1460
|
+
to?: unknown;
|
|
1461
|
+
} | null | undefined;
|
|
1457
1462
|
companyId?: string | undefined;
|
|
1458
1463
|
callDate?: {
|
|
1459
1464
|
from?: string | null | undefined;
|
|
@@ -1461,16 +1466,11 @@ export declare const callHistoryContract: {
|
|
|
1461
1466
|
} | null | undefined;
|
|
1462
1467
|
callType?: CallType | undefined;
|
|
1463
1468
|
leadSource?: LeadSource | undefined;
|
|
1464
|
-
rating?: {
|
|
1465
|
-
from?: unknown;
|
|
1466
|
-
to?: unknown;
|
|
1467
|
-
} | null | undefined;
|
|
1468
|
-
limit?: number | undefined;
|
|
1469
|
-
page?: number | undefined;
|
|
1470
1469
|
leadName?: string | undefined;
|
|
1471
|
-
sortBy?: CallHistorySortableFields | undefined;
|
|
1472
|
-
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1473
1470
|
}>;
|
|
1471
|
+
metadata: {
|
|
1472
|
+
tags: string[];
|
|
1473
|
+
};
|
|
1474
1474
|
summary: "Get call history records";
|
|
1475
1475
|
method: "GET";
|
|
1476
1476
|
path: "/v2/call-history";
|
|
@@ -1634,18 +1634,18 @@ export declare const callHistoryContract: {
|
|
|
1634
1634
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1635
1635
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1636
1636
|
}, "strip", z.ZodTypeAny, {
|
|
1637
|
+
email: string;
|
|
1637
1638
|
id: string;
|
|
1639
|
+
createdAt: string;
|
|
1640
|
+
updatedAt: string;
|
|
1638
1641
|
firstName: string;
|
|
1639
1642
|
lastName: string;
|
|
1640
|
-
email: string;
|
|
1641
1643
|
phoneNumbers: {
|
|
1642
1644
|
id: string;
|
|
1643
1645
|
phoneNumber: string;
|
|
1644
1646
|
isPrimary: boolean;
|
|
1645
1647
|
description?: string | null | undefined;
|
|
1646
1648
|
}[];
|
|
1647
|
-
createdAt: string;
|
|
1648
|
-
updatedAt: string;
|
|
1649
1649
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1650
1650
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1651
1651
|
canImpersonateUsers?: {
|
|
@@ -1654,19 +1654,19 @@ export declare const callHistoryContract: {
|
|
|
1654
1654
|
lastName: string;
|
|
1655
1655
|
}[] | undefined;
|
|
1656
1656
|
}, {
|
|
1657
|
-
id: string;
|
|
1658
|
-
firstName: string;
|
|
1659
|
-
lastName: string;
|
|
1660
1657
|
email: string;
|
|
1658
|
+
id: string;
|
|
1661
1659
|
createdAt: string | Date;
|
|
1662
1660
|
updatedAt: string | Date;
|
|
1661
|
+
firstName: string;
|
|
1662
|
+
lastName: string;
|
|
1663
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1663
1664
|
phoneNumbers?: {
|
|
1664
1665
|
id: string;
|
|
1665
1666
|
phoneNumber: string;
|
|
1666
1667
|
description?: string | null | undefined;
|
|
1667
1668
|
isPrimary?: boolean | undefined;
|
|
1668
1669
|
}[] | undefined;
|
|
1669
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1670
1670
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1671
1671
|
canImpersonateUsers?: {
|
|
1672
1672
|
id: string;
|
|
@@ -1684,13 +1684,13 @@ export declare const callHistoryContract: {
|
|
|
1684
1684
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1685
1685
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1686
1686
|
}, "strip", z.ZodTypeAny, {
|
|
1687
|
-
id: string;
|
|
1688
1687
|
name: string;
|
|
1688
|
+
id: string;
|
|
1689
1689
|
createdAt: string;
|
|
1690
1690
|
updatedAt: string;
|
|
1691
1691
|
}, {
|
|
1692
|
-
id: string;
|
|
1693
1692
|
name: string;
|
|
1693
|
+
id: string;
|
|
1694
1694
|
createdAt: string | Date;
|
|
1695
1695
|
updatedAt: string | Date;
|
|
1696
1696
|
}>>>;
|
|
@@ -1698,11 +1698,11 @@ export declare const callHistoryContract: {
|
|
|
1698
1698
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1699
1699
|
}, "strip", z.ZodTypeAny, {
|
|
1700
1700
|
id: string;
|
|
1701
|
-
leadId: string;
|
|
1702
|
-
agentId: string | null;
|
|
1703
1701
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1702
|
+
agentId: string | null;
|
|
1704
1703
|
createdAt: string;
|
|
1705
1704
|
updatedAt: string;
|
|
1705
|
+
leadId: string;
|
|
1706
1706
|
assignedAt: string;
|
|
1707
1707
|
assignedBy: string | null;
|
|
1708
1708
|
companyId: string | null;
|
|
@@ -1711,18 +1711,18 @@ export declare const callHistoryContract: {
|
|
|
1711
1711
|
phoneNumber: string;
|
|
1712
1712
|
} | undefined;
|
|
1713
1713
|
agent?: {
|
|
1714
|
+
email: string;
|
|
1714
1715
|
id: string;
|
|
1716
|
+
createdAt: string;
|
|
1717
|
+
updatedAt: string;
|
|
1715
1718
|
firstName: string;
|
|
1716
1719
|
lastName: string;
|
|
1717
|
-
email: string;
|
|
1718
1720
|
phoneNumbers: {
|
|
1719
1721
|
id: string;
|
|
1720
1722
|
phoneNumber: string;
|
|
1721
1723
|
isPrimary: boolean;
|
|
1722
1724
|
description?: string | null | undefined;
|
|
1723
1725
|
}[];
|
|
1724
|
-
createdAt: string;
|
|
1725
|
-
updatedAt: string;
|
|
1726
1726
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1727
1727
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1728
1728
|
canImpersonateUsers?: {
|
|
@@ -1732,18 +1732,18 @@ export declare const callHistoryContract: {
|
|
|
1732
1732
|
}[] | undefined;
|
|
1733
1733
|
} | undefined;
|
|
1734
1734
|
company?: {
|
|
1735
|
-
id: string;
|
|
1736
1735
|
name: string;
|
|
1736
|
+
id: string;
|
|
1737
1737
|
createdAt: string;
|
|
1738
1738
|
updatedAt: string;
|
|
1739
1739
|
} | null | undefined;
|
|
1740
1740
|
}, {
|
|
1741
1741
|
id: string;
|
|
1742
|
-
leadId: string;
|
|
1743
|
-
agentId: string | null;
|
|
1744
1742
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1743
|
+
agentId: string | null;
|
|
1745
1744
|
createdAt: string | Date;
|
|
1746
1745
|
updatedAt: string | Date;
|
|
1746
|
+
leadId: string;
|
|
1747
1747
|
assignedAt: string | Date;
|
|
1748
1748
|
assignedBy: string | null;
|
|
1749
1749
|
companyId: string | null;
|
|
@@ -1752,19 +1752,19 @@ export declare const callHistoryContract: {
|
|
|
1752
1752
|
phoneNumber: string;
|
|
1753
1753
|
} | undefined;
|
|
1754
1754
|
agent?: {
|
|
1755
|
-
id: string;
|
|
1756
|
-
firstName: string;
|
|
1757
|
-
lastName: string;
|
|
1758
1755
|
email: string;
|
|
1756
|
+
id: string;
|
|
1759
1757
|
createdAt: string | Date;
|
|
1760
1758
|
updatedAt: string | Date;
|
|
1759
|
+
firstName: string;
|
|
1760
|
+
lastName: string;
|
|
1761
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1761
1762
|
phoneNumbers?: {
|
|
1762
1763
|
id: string;
|
|
1763
1764
|
phoneNumber: string;
|
|
1764
1765
|
description?: string | null | undefined;
|
|
1765
1766
|
isPrimary?: boolean | undefined;
|
|
1766
1767
|
}[] | undefined;
|
|
1767
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1768
1768
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1769
1769
|
canImpersonateUsers?: {
|
|
1770
1770
|
id: string;
|
|
@@ -1773,8 +1773,8 @@ export declare const callHistoryContract: {
|
|
|
1773
1773
|
}[] | undefined;
|
|
1774
1774
|
} | undefined;
|
|
1775
1775
|
company?: {
|
|
1776
|
-
id: string;
|
|
1777
1776
|
name: string;
|
|
1777
|
+
id: string;
|
|
1778
1778
|
createdAt: string | Date;
|
|
1779
1779
|
updatedAt: string | Date;
|
|
1780
1780
|
} | null | undefined;
|
|
@@ -1789,24 +1789,24 @@ export declare const callHistoryContract: {
|
|
|
1789
1789
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1790
1790
|
}, "strip", z.ZodTypeAny, {
|
|
1791
1791
|
id: string;
|
|
1792
|
-
assignmentId: string;
|
|
1793
1792
|
createdAt: string;
|
|
1794
1793
|
updatedAt: string;
|
|
1794
|
+
rating: CallRating;
|
|
1795
|
+
notes: string | null;
|
|
1796
|
+
assignmentId: string;
|
|
1795
1797
|
callDate: string;
|
|
1796
1798
|
callType: CallType;
|
|
1797
|
-
leadSource: LeadSource;
|
|
1798
|
-
rating: CallRating;
|
|
1799
1799
|
ratingWeight: number;
|
|
1800
|
-
|
|
1801
|
-
leadId?: string | undefined;
|
|
1800
|
+
leadSource: LeadSource;
|
|
1802
1801
|
agentId?: string | undefined;
|
|
1802
|
+
leadId?: string | undefined;
|
|
1803
1803
|
assignment?: {
|
|
1804
1804
|
id: string;
|
|
1805
|
-
leadId: string;
|
|
1806
|
-
agentId: string | null;
|
|
1807
1805
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1806
|
+
agentId: string | null;
|
|
1808
1807
|
createdAt: string;
|
|
1809
1808
|
updatedAt: string;
|
|
1809
|
+
leadId: string;
|
|
1810
1810
|
assignedAt: string;
|
|
1811
1811
|
assignedBy: string | null;
|
|
1812
1812
|
companyId: string | null;
|
|
@@ -1815,18 +1815,18 @@ export declare const callHistoryContract: {
|
|
|
1815
1815
|
phoneNumber: string;
|
|
1816
1816
|
} | undefined;
|
|
1817
1817
|
agent?: {
|
|
1818
|
+
email: string;
|
|
1818
1819
|
id: string;
|
|
1820
|
+
createdAt: string;
|
|
1821
|
+
updatedAt: string;
|
|
1819
1822
|
firstName: string;
|
|
1820
1823
|
lastName: string;
|
|
1821
|
-
email: string;
|
|
1822
1824
|
phoneNumbers: {
|
|
1823
1825
|
id: string;
|
|
1824
1826
|
phoneNumber: string;
|
|
1825
1827
|
isPrimary: boolean;
|
|
1826
1828
|
description?: string | null | undefined;
|
|
1827
1829
|
}[];
|
|
1828
|
-
createdAt: string;
|
|
1829
|
-
updatedAt: string;
|
|
1830
1830
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1831
1831
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1832
1832
|
canImpersonateUsers?: {
|
|
@@ -1836,32 +1836,32 @@ export declare const callHistoryContract: {
|
|
|
1836
1836
|
}[] | undefined;
|
|
1837
1837
|
} | undefined;
|
|
1838
1838
|
company?: {
|
|
1839
|
-
id: string;
|
|
1840
1839
|
name: string;
|
|
1840
|
+
id: string;
|
|
1841
1841
|
createdAt: string;
|
|
1842
1842
|
updatedAt: string;
|
|
1843
1843
|
} | null | undefined;
|
|
1844
1844
|
} | null | undefined;
|
|
1845
1845
|
}, {
|
|
1846
1846
|
id: string;
|
|
1847
|
+
createdAt: string | Date;
|
|
1848
|
+
updatedAt: string | Date;
|
|
1849
|
+
rating: CallRating;
|
|
1850
|
+
notes: string | null;
|
|
1847
1851
|
assignmentId: string;
|
|
1848
|
-
createdAt: string | Date;
|
|
1849
|
-
updatedAt: string | Date;
|
|
1850
1852
|
callDate: string | Date;
|
|
1851
1853
|
callType: CallType;
|
|
1852
|
-
leadSource: LeadSource;
|
|
1853
|
-
rating: CallRating;
|
|
1854
1854
|
ratingWeight: number;
|
|
1855
|
-
|
|
1856
|
-
leadId?: string | undefined;
|
|
1855
|
+
leadSource: LeadSource;
|
|
1857
1856
|
agentId?: string | undefined;
|
|
1857
|
+
leadId?: string | undefined;
|
|
1858
1858
|
assignment?: {
|
|
1859
1859
|
id: string;
|
|
1860
|
-
leadId: string;
|
|
1861
|
-
agentId: string | null;
|
|
1862
1860
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1861
|
+
agentId: string | null;
|
|
1863
1862
|
createdAt: string | Date;
|
|
1864
1863
|
updatedAt: string | Date;
|
|
1864
|
+
leadId: string;
|
|
1865
1865
|
assignedAt: string | Date;
|
|
1866
1866
|
assignedBy: string | null;
|
|
1867
1867
|
companyId: string | null;
|
|
@@ -1870,19 +1870,19 @@ export declare const callHistoryContract: {
|
|
|
1870
1870
|
phoneNumber: string;
|
|
1871
1871
|
} | undefined;
|
|
1872
1872
|
agent?: {
|
|
1873
|
-
id: string;
|
|
1874
|
-
firstName: string;
|
|
1875
|
-
lastName: string;
|
|
1876
1873
|
email: string;
|
|
1874
|
+
id: string;
|
|
1877
1875
|
createdAt: string | Date;
|
|
1878
1876
|
updatedAt: string | Date;
|
|
1877
|
+
firstName: string;
|
|
1878
|
+
lastName: string;
|
|
1879
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1879
1880
|
phoneNumbers?: {
|
|
1880
1881
|
id: string;
|
|
1881
1882
|
phoneNumber: string;
|
|
1882
1883
|
description?: string | null | undefined;
|
|
1883
1884
|
isPrimary?: boolean | undefined;
|
|
1884
1885
|
}[] | undefined;
|
|
1885
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1886
1886
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1887
1887
|
canImpersonateUsers?: {
|
|
1888
1888
|
id: string;
|
|
@@ -1891,8 +1891,8 @@ export declare const callHistoryContract: {
|
|
|
1891
1891
|
}[] | undefined;
|
|
1892
1892
|
} | undefined;
|
|
1893
1893
|
company?: {
|
|
1894
|
-
id: string;
|
|
1895
1894
|
name: string;
|
|
1895
|
+
id: string;
|
|
1896
1896
|
createdAt: string | Date;
|
|
1897
1897
|
updatedAt: string | Date;
|
|
1898
1898
|
} | null | undefined;
|
|
@@ -1904,26 +1904,27 @@ export declare const callHistoryContract: {
|
|
|
1904
1904
|
currentPage: z.ZodNumber;
|
|
1905
1905
|
totalPages: z.ZodNumber;
|
|
1906
1906
|
}, "strip", z.ZodTypeAny, {
|
|
1907
|
+
limit: number;
|
|
1907
1908
|
items: {
|
|
1908
1909
|
id: string;
|
|
1909
|
-
assignmentId: string;
|
|
1910
1910
|
createdAt: string;
|
|
1911
1911
|
updatedAt: string;
|
|
1912
|
+
rating: CallRating;
|
|
1913
|
+
notes: string | null;
|
|
1914
|
+
assignmentId: string;
|
|
1912
1915
|
callDate: string;
|
|
1913
1916
|
callType: CallType;
|
|
1914
|
-
leadSource: LeadSource;
|
|
1915
|
-
rating: CallRating;
|
|
1916
1917
|
ratingWeight: number;
|
|
1917
|
-
|
|
1918
|
-
leadId?: string | undefined;
|
|
1918
|
+
leadSource: LeadSource;
|
|
1919
1919
|
agentId?: string | undefined;
|
|
1920
|
+
leadId?: string | undefined;
|
|
1920
1921
|
assignment?: {
|
|
1921
1922
|
id: string;
|
|
1922
|
-
leadId: string;
|
|
1923
|
-
agentId: string | null;
|
|
1924
1923
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1924
|
+
agentId: string | null;
|
|
1925
1925
|
createdAt: string;
|
|
1926
1926
|
updatedAt: string;
|
|
1927
|
+
leadId: string;
|
|
1927
1928
|
assignedAt: string;
|
|
1928
1929
|
assignedBy: string | null;
|
|
1929
1930
|
companyId: string | null;
|
|
@@ -1932,18 +1933,18 @@ export declare const callHistoryContract: {
|
|
|
1932
1933
|
phoneNumber: string;
|
|
1933
1934
|
} | undefined;
|
|
1934
1935
|
agent?: {
|
|
1936
|
+
email: string;
|
|
1935
1937
|
id: string;
|
|
1938
|
+
createdAt: string;
|
|
1939
|
+
updatedAt: string;
|
|
1936
1940
|
firstName: string;
|
|
1937
1941
|
lastName: string;
|
|
1938
|
-
email: string;
|
|
1939
1942
|
phoneNumbers: {
|
|
1940
1943
|
id: string;
|
|
1941
1944
|
phoneNumber: string;
|
|
1942
1945
|
isPrimary: boolean;
|
|
1943
1946
|
description?: string | null | undefined;
|
|
1944
1947
|
}[];
|
|
1945
|
-
createdAt: string;
|
|
1946
|
-
updatedAt: string;
|
|
1947
1948
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1948
1949
|
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;
|
|
1949
1950
|
canImpersonateUsers?: {
|
|
@@ -1953,39 +1954,39 @@ export declare const callHistoryContract: {
|
|
|
1953
1954
|
}[] | undefined;
|
|
1954
1955
|
} | undefined;
|
|
1955
1956
|
company?: {
|
|
1956
|
-
id: string;
|
|
1957
1957
|
name: string;
|
|
1958
|
+
id: string;
|
|
1958
1959
|
createdAt: string;
|
|
1959
1960
|
updatedAt: string;
|
|
1960
1961
|
} | null | undefined;
|
|
1961
1962
|
} | null | undefined;
|
|
1962
1963
|
}[];
|
|
1963
1964
|
totalCount: number;
|
|
1964
|
-
limit: number;
|
|
1965
1965
|
skip: number;
|
|
1966
1966
|
currentPage: number;
|
|
1967
1967
|
totalPages: number;
|
|
1968
1968
|
}, {
|
|
1969
|
+
limit: number;
|
|
1969
1970
|
items: {
|
|
1970
1971
|
id: string;
|
|
1971
|
-
assignmentId: string;
|
|
1972
1972
|
createdAt: string | Date;
|
|
1973
1973
|
updatedAt: string | Date;
|
|
1974
|
+
rating: CallRating;
|
|
1975
|
+
notes: string | null;
|
|
1976
|
+
assignmentId: string;
|
|
1974
1977
|
callDate: string | Date;
|
|
1975
1978
|
callType: CallType;
|
|
1976
|
-
leadSource: LeadSource;
|
|
1977
|
-
rating: CallRating;
|
|
1978
1979
|
ratingWeight: number;
|
|
1979
|
-
|
|
1980
|
-
leadId?: string | undefined;
|
|
1980
|
+
leadSource: LeadSource;
|
|
1981
1981
|
agentId?: string | undefined;
|
|
1982
|
+
leadId?: string | undefined;
|
|
1982
1983
|
assignment?: {
|
|
1983
1984
|
id: string;
|
|
1984
|
-
leadId: string;
|
|
1985
|
-
agentId: string | null;
|
|
1986
1985
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1986
|
+
agentId: string | null;
|
|
1987
1987
|
createdAt: string | Date;
|
|
1988
1988
|
updatedAt: string | Date;
|
|
1989
|
+
leadId: string;
|
|
1989
1990
|
assignedAt: string | Date;
|
|
1990
1991
|
assignedBy: string | null;
|
|
1991
1992
|
companyId: string | null;
|
|
@@ -1994,19 +1995,19 @@ export declare const callHistoryContract: {
|
|
|
1994
1995
|
phoneNumber: string;
|
|
1995
1996
|
} | undefined;
|
|
1996
1997
|
agent?: {
|
|
1997
|
-
id: string;
|
|
1998
|
-
firstName: string;
|
|
1999
|
-
lastName: string;
|
|
2000
1998
|
email: string;
|
|
1999
|
+
id: string;
|
|
2001
2000
|
createdAt: string | Date;
|
|
2002
2001
|
updatedAt: string | Date;
|
|
2002
|
+
firstName: string;
|
|
2003
|
+
lastName: string;
|
|
2004
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2003
2005
|
phoneNumbers?: {
|
|
2004
2006
|
id: string;
|
|
2005
2007
|
phoneNumber: string;
|
|
2006
2008
|
description?: string | null | undefined;
|
|
2007
2009
|
isPrimary?: boolean | undefined;
|
|
2008
2010
|
}[] | undefined;
|
|
2009
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2010
2011
|
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;
|
|
2011
2012
|
canImpersonateUsers?: {
|
|
2012
2013
|
id: string;
|
|
@@ -2015,15 +2016,14 @@ export declare const callHistoryContract: {
|
|
|
2015
2016
|
}[] | undefined;
|
|
2016
2017
|
} | undefined;
|
|
2017
2018
|
company?: {
|
|
2018
|
-
id: string;
|
|
2019
2019
|
name: string;
|
|
2020
|
+
id: string;
|
|
2020
2021
|
createdAt: string | Date;
|
|
2021
2022
|
updatedAt: string | Date;
|
|
2022
2023
|
} | null | undefined;
|
|
2023
2024
|
} | null | undefined;
|
|
2024
2025
|
}[];
|
|
2025
2026
|
totalCount: number;
|
|
2026
|
-
limit: number;
|
|
2027
2027
|
skip: number;
|
|
2028
2028
|
currentPage: number;
|
|
2029
2029
|
totalPages: number;
|
|
@@ -2203,18 +2203,18 @@ export declare const callHistoryContract: {
|
|
|
2203
2203
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2204
2204
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2205
2205
|
}, "strip", z.ZodTypeAny, {
|
|
2206
|
+
email: string;
|
|
2206
2207
|
id: string;
|
|
2208
|
+
createdAt: string;
|
|
2209
|
+
updatedAt: string;
|
|
2207
2210
|
firstName: string;
|
|
2208
2211
|
lastName: string;
|
|
2209
|
-
email: string;
|
|
2210
2212
|
phoneNumbers: {
|
|
2211
2213
|
id: string;
|
|
2212
2214
|
phoneNumber: string;
|
|
2213
2215
|
isPrimary: boolean;
|
|
2214
2216
|
description?: string | null | undefined;
|
|
2215
2217
|
}[];
|
|
2216
|
-
createdAt: string;
|
|
2217
|
-
updatedAt: string;
|
|
2218
2218
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2219
2219
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
2220
2220
|
canImpersonateUsers?: {
|
|
@@ -2223,19 +2223,19 @@ export declare const callHistoryContract: {
|
|
|
2223
2223
|
lastName: string;
|
|
2224
2224
|
}[] | undefined;
|
|
2225
2225
|
}, {
|
|
2226
|
-
id: string;
|
|
2227
|
-
firstName: string;
|
|
2228
|
-
lastName: string;
|
|
2229
2226
|
email: string;
|
|
2227
|
+
id: string;
|
|
2230
2228
|
createdAt: string | Date;
|
|
2231
2229
|
updatedAt: string | Date;
|
|
2230
|
+
firstName: string;
|
|
2231
|
+
lastName: string;
|
|
2232
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2232
2233
|
phoneNumbers?: {
|
|
2233
2234
|
id: string;
|
|
2234
2235
|
phoneNumber: string;
|
|
2235
2236
|
description?: string | null | undefined;
|
|
2236
2237
|
isPrimary?: boolean | undefined;
|
|
2237
2238
|
}[] | undefined;
|
|
2238
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2239
2239
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
2240
2240
|
canImpersonateUsers?: {
|
|
2241
2241
|
id: string;
|
|
@@ -2253,13 +2253,13 @@ export declare const callHistoryContract: {
|
|
|
2253
2253
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2254
2254
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2255
2255
|
}, "strip", z.ZodTypeAny, {
|
|
2256
|
-
id: string;
|
|
2257
2256
|
name: string;
|
|
2257
|
+
id: string;
|
|
2258
2258
|
createdAt: string;
|
|
2259
2259
|
updatedAt: string;
|
|
2260
2260
|
}, {
|
|
2261
|
-
id: string;
|
|
2262
2261
|
name: string;
|
|
2262
|
+
id: string;
|
|
2263
2263
|
createdAt: string | Date;
|
|
2264
2264
|
updatedAt: string | Date;
|
|
2265
2265
|
}>>>;
|
|
@@ -2267,11 +2267,11 @@ export declare const callHistoryContract: {
|
|
|
2267
2267
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2268
2268
|
}, "strip", z.ZodTypeAny, {
|
|
2269
2269
|
id: string;
|
|
2270
|
-
leadId: string;
|
|
2271
|
-
agentId: string | null;
|
|
2272
2270
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2271
|
+
agentId: string | null;
|
|
2273
2272
|
createdAt: string;
|
|
2274
2273
|
updatedAt: string;
|
|
2274
|
+
leadId: string;
|
|
2275
2275
|
assignedAt: string;
|
|
2276
2276
|
assignedBy: string | null;
|
|
2277
2277
|
companyId: string | null;
|
|
@@ -2280,18 +2280,18 @@ export declare const callHistoryContract: {
|
|
|
2280
2280
|
phoneNumber: string;
|
|
2281
2281
|
} | undefined;
|
|
2282
2282
|
agent?: {
|
|
2283
|
+
email: string;
|
|
2283
2284
|
id: string;
|
|
2285
|
+
createdAt: string;
|
|
2286
|
+
updatedAt: string;
|
|
2284
2287
|
firstName: string;
|
|
2285
2288
|
lastName: string;
|
|
2286
|
-
email: string;
|
|
2287
2289
|
phoneNumbers: {
|
|
2288
2290
|
id: string;
|
|
2289
2291
|
phoneNumber: string;
|
|
2290
2292
|
isPrimary: boolean;
|
|
2291
2293
|
description?: string | null | undefined;
|
|
2292
2294
|
}[];
|
|
2293
|
-
createdAt: string;
|
|
2294
|
-
updatedAt: string;
|
|
2295
2295
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2296
2296
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
2297
2297
|
canImpersonateUsers?: {
|
|
@@ -2301,18 +2301,18 @@ export declare const callHistoryContract: {
|
|
|
2301
2301
|
}[] | undefined;
|
|
2302
2302
|
} | undefined;
|
|
2303
2303
|
company?: {
|
|
2304
|
-
id: string;
|
|
2305
2304
|
name: string;
|
|
2305
|
+
id: string;
|
|
2306
2306
|
createdAt: string;
|
|
2307
2307
|
updatedAt: string;
|
|
2308
2308
|
} | null | undefined;
|
|
2309
2309
|
}, {
|
|
2310
2310
|
id: string;
|
|
2311
|
-
leadId: string;
|
|
2312
|
-
agentId: string | null;
|
|
2313
2311
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2312
|
+
agentId: string | null;
|
|
2314
2313
|
createdAt: string | Date;
|
|
2315
2314
|
updatedAt: string | Date;
|
|
2315
|
+
leadId: string;
|
|
2316
2316
|
assignedAt: string | Date;
|
|
2317
2317
|
assignedBy: string | null;
|
|
2318
2318
|
companyId: string | null;
|
|
@@ -2321,19 +2321,19 @@ export declare const callHistoryContract: {
|
|
|
2321
2321
|
phoneNumber: string;
|
|
2322
2322
|
} | undefined;
|
|
2323
2323
|
agent?: {
|
|
2324
|
-
id: string;
|
|
2325
|
-
firstName: string;
|
|
2326
|
-
lastName: string;
|
|
2327
2324
|
email: string;
|
|
2325
|
+
id: string;
|
|
2328
2326
|
createdAt: string | Date;
|
|
2329
2327
|
updatedAt: string | Date;
|
|
2328
|
+
firstName: string;
|
|
2329
|
+
lastName: string;
|
|
2330
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2330
2331
|
phoneNumbers?: {
|
|
2331
2332
|
id: string;
|
|
2332
2333
|
phoneNumber: string;
|
|
2333
2334
|
description?: string | null | undefined;
|
|
2334
2335
|
isPrimary?: boolean | undefined;
|
|
2335
2336
|
}[] | undefined;
|
|
2336
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2337
2337
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
2338
2338
|
canImpersonateUsers?: {
|
|
2339
2339
|
id: string;
|
|
@@ -2342,8 +2342,8 @@ export declare const callHistoryContract: {
|
|
|
2342
2342
|
}[] | undefined;
|
|
2343
2343
|
} | undefined;
|
|
2344
2344
|
company?: {
|
|
2345
|
-
id: string;
|
|
2346
2345
|
name: string;
|
|
2346
|
+
id: string;
|
|
2347
2347
|
createdAt: string | Date;
|
|
2348
2348
|
updatedAt: string | Date;
|
|
2349
2349
|
} | null | undefined;
|
|
@@ -2358,24 +2358,24 @@ export declare const callHistoryContract: {
|
|
|
2358
2358
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2359
2359
|
}, "strip", z.ZodTypeAny, {
|
|
2360
2360
|
id: string;
|
|
2361
|
-
assignmentId: string;
|
|
2362
2361
|
createdAt: string;
|
|
2363
2362
|
updatedAt: string;
|
|
2363
|
+
rating: CallRating;
|
|
2364
|
+
notes: string | null;
|
|
2365
|
+
assignmentId: string;
|
|
2364
2366
|
callDate: string;
|
|
2365
2367
|
callType: CallType;
|
|
2366
|
-
leadSource: LeadSource;
|
|
2367
|
-
rating: CallRating;
|
|
2368
2368
|
ratingWeight: number;
|
|
2369
|
-
|
|
2370
|
-
leadId?: string | undefined;
|
|
2369
|
+
leadSource: LeadSource;
|
|
2371
2370
|
agentId?: string | undefined;
|
|
2371
|
+
leadId?: string | undefined;
|
|
2372
2372
|
assignment?: {
|
|
2373
2373
|
id: string;
|
|
2374
|
-
leadId: string;
|
|
2375
|
-
agentId: string | null;
|
|
2376
2374
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2375
|
+
agentId: string | null;
|
|
2377
2376
|
createdAt: string;
|
|
2378
2377
|
updatedAt: string;
|
|
2378
|
+
leadId: string;
|
|
2379
2379
|
assignedAt: string;
|
|
2380
2380
|
assignedBy: string | null;
|
|
2381
2381
|
companyId: string | null;
|
|
@@ -2384,18 +2384,18 @@ export declare const callHistoryContract: {
|
|
|
2384
2384
|
phoneNumber: string;
|
|
2385
2385
|
} | undefined;
|
|
2386
2386
|
agent?: {
|
|
2387
|
+
email: string;
|
|
2387
2388
|
id: string;
|
|
2389
|
+
createdAt: string;
|
|
2390
|
+
updatedAt: string;
|
|
2388
2391
|
firstName: string;
|
|
2389
2392
|
lastName: string;
|
|
2390
|
-
email: string;
|
|
2391
2393
|
phoneNumbers: {
|
|
2392
2394
|
id: string;
|
|
2393
2395
|
phoneNumber: string;
|
|
2394
2396
|
isPrimary: boolean;
|
|
2395
2397
|
description?: string | null | undefined;
|
|
2396
2398
|
}[];
|
|
2397
|
-
createdAt: string;
|
|
2398
|
-
updatedAt: string;
|
|
2399
2399
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2400
2400
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
2401
2401
|
canImpersonateUsers?: {
|
|
@@ -2405,32 +2405,32 @@ export declare const callHistoryContract: {
|
|
|
2405
2405
|
}[] | undefined;
|
|
2406
2406
|
} | undefined;
|
|
2407
2407
|
company?: {
|
|
2408
|
-
id: string;
|
|
2409
2408
|
name: string;
|
|
2409
|
+
id: string;
|
|
2410
2410
|
createdAt: string;
|
|
2411
2411
|
updatedAt: string;
|
|
2412
2412
|
} | null | undefined;
|
|
2413
2413
|
} | null | undefined;
|
|
2414
2414
|
}, {
|
|
2415
2415
|
id: string;
|
|
2416
|
-
assignmentId: string;
|
|
2417
2416
|
createdAt: string | Date;
|
|
2418
2417
|
updatedAt: string | Date;
|
|
2418
|
+
rating: CallRating;
|
|
2419
|
+
notes: string | null;
|
|
2420
|
+
assignmentId: string;
|
|
2419
2421
|
callDate: string | Date;
|
|
2420
2422
|
callType: CallType;
|
|
2421
|
-
leadSource: LeadSource;
|
|
2422
|
-
rating: CallRating;
|
|
2423
2423
|
ratingWeight: number;
|
|
2424
|
-
|
|
2425
|
-
leadId?: string | undefined;
|
|
2424
|
+
leadSource: LeadSource;
|
|
2426
2425
|
agentId?: string | undefined;
|
|
2426
|
+
leadId?: string | undefined;
|
|
2427
2427
|
assignment?: {
|
|
2428
2428
|
id: string;
|
|
2429
|
-
leadId: string;
|
|
2430
|
-
agentId: string | null;
|
|
2431
2429
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2430
|
+
agentId: string | null;
|
|
2432
2431
|
createdAt: string | Date;
|
|
2433
2432
|
updatedAt: string | Date;
|
|
2433
|
+
leadId: string;
|
|
2434
2434
|
assignedAt: string | Date;
|
|
2435
2435
|
assignedBy: string | null;
|
|
2436
2436
|
companyId: string | null;
|
|
@@ -2439,19 +2439,19 @@ export declare const callHistoryContract: {
|
|
|
2439
2439
|
phoneNumber: string;
|
|
2440
2440
|
} | undefined;
|
|
2441
2441
|
agent?: {
|
|
2442
|
-
id: string;
|
|
2443
|
-
firstName: string;
|
|
2444
|
-
lastName: string;
|
|
2445
2442
|
email: string;
|
|
2443
|
+
id: string;
|
|
2446
2444
|
createdAt: string | Date;
|
|
2447
2445
|
updatedAt: string | Date;
|
|
2446
|
+
firstName: string;
|
|
2447
|
+
lastName: string;
|
|
2448
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2448
2449
|
phoneNumbers?: {
|
|
2449
2450
|
id: string;
|
|
2450
2451
|
phoneNumber: string;
|
|
2451
2452
|
description?: string | null | undefined;
|
|
2452
2453
|
isPrimary?: boolean | undefined;
|
|
2453
2454
|
}[] | undefined;
|
|
2454
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2455
2455
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
2456
2456
|
canImpersonateUsers?: {
|
|
2457
2457
|
id: string;
|
|
@@ -2460,8 +2460,8 @@ export declare const callHistoryContract: {
|
|
|
2460
2460
|
}[] | undefined;
|
|
2461
2461
|
} | undefined;
|
|
2462
2462
|
company?: {
|
|
2463
|
-
id: string;
|
|
2464
2463
|
name: string;
|
|
2464
|
+
id: string;
|
|
2465
2465
|
createdAt: string | Date;
|
|
2466
2466
|
updatedAt: string | Date;
|
|
2467
2467
|
} | null | undefined;
|
|
@@ -2512,13 +2512,13 @@ export declare const callHistoryContract: {
|
|
|
2512
2512
|
rating: z.ZodOptional<z.ZodNativeEnum<typeof CallRating>>;
|
|
2513
2513
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2514
2514
|
}, "strip", z.ZodTypeAny, {
|
|
2515
|
-
callDate?: string | undefined;
|
|
2516
2515
|
rating?: CallRating | undefined;
|
|
2517
2516
|
notes?: string | null | undefined;
|
|
2518
|
-
}, {
|
|
2519
2517
|
callDate?: string | undefined;
|
|
2518
|
+
}, {
|
|
2520
2519
|
rating?: CallRating | undefined;
|
|
2521
2520
|
notes?: string | null | undefined;
|
|
2521
|
+
callDate?: string | undefined;
|
|
2522
2522
|
}>;
|
|
2523
2523
|
path: "/v2/call-history/:id";
|
|
2524
2524
|
responses: {
|
|
@@ -2680,18 +2680,18 @@ export declare const callHistoryContract: {
|
|
|
2680
2680
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2681
2681
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2682
2682
|
}, "strip", z.ZodTypeAny, {
|
|
2683
|
+
email: string;
|
|
2683
2684
|
id: string;
|
|
2685
|
+
createdAt: string;
|
|
2686
|
+
updatedAt: string;
|
|
2684
2687
|
firstName: string;
|
|
2685
2688
|
lastName: string;
|
|
2686
|
-
email: string;
|
|
2687
2689
|
phoneNumbers: {
|
|
2688
2690
|
id: string;
|
|
2689
2691
|
phoneNumber: string;
|
|
2690
2692
|
isPrimary: boolean;
|
|
2691
2693
|
description?: string | null | undefined;
|
|
2692
2694
|
}[];
|
|
2693
|
-
createdAt: string;
|
|
2694
|
-
updatedAt: string;
|
|
2695
2695
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2696
2696
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
2697
2697
|
canImpersonateUsers?: {
|
|
@@ -2700,19 +2700,19 @@ export declare const callHistoryContract: {
|
|
|
2700
2700
|
lastName: string;
|
|
2701
2701
|
}[] | undefined;
|
|
2702
2702
|
}, {
|
|
2703
|
-
id: string;
|
|
2704
|
-
firstName: string;
|
|
2705
|
-
lastName: string;
|
|
2706
2703
|
email: string;
|
|
2704
|
+
id: string;
|
|
2707
2705
|
createdAt: string | Date;
|
|
2708
2706
|
updatedAt: string | Date;
|
|
2707
|
+
firstName: string;
|
|
2708
|
+
lastName: string;
|
|
2709
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2709
2710
|
phoneNumbers?: {
|
|
2710
2711
|
id: string;
|
|
2711
2712
|
phoneNumber: string;
|
|
2712
2713
|
description?: string | null | undefined;
|
|
2713
2714
|
isPrimary?: boolean | undefined;
|
|
2714
2715
|
}[] | undefined;
|
|
2715
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2716
2716
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
2717
2717
|
canImpersonateUsers?: {
|
|
2718
2718
|
id: string;
|
|
@@ -2730,13 +2730,13 @@ export declare const callHistoryContract: {
|
|
|
2730
2730
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2731
2731
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2732
2732
|
}, "strip", z.ZodTypeAny, {
|
|
2733
|
-
id: string;
|
|
2734
2733
|
name: string;
|
|
2734
|
+
id: string;
|
|
2735
2735
|
createdAt: string;
|
|
2736
2736
|
updatedAt: string;
|
|
2737
2737
|
}, {
|
|
2738
|
-
id: string;
|
|
2739
2738
|
name: string;
|
|
2739
|
+
id: string;
|
|
2740
2740
|
createdAt: string | Date;
|
|
2741
2741
|
updatedAt: string | Date;
|
|
2742
2742
|
}>>>;
|
|
@@ -2744,11 +2744,11 @@ export declare const callHistoryContract: {
|
|
|
2744
2744
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2745
2745
|
}, "strip", z.ZodTypeAny, {
|
|
2746
2746
|
id: string;
|
|
2747
|
-
leadId: string;
|
|
2748
|
-
agentId: string | null;
|
|
2749
2747
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2748
|
+
agentId: string | null;
|
|
2750
2749
|
createdAt: string;
|
|
2751
2750
|
updatedAt: string;
|
|
2751
|
+
leadId: string;
|
|
2752
2752
|
assignedAt: string;
|
|
2753
2753
|
assignedBy: string | null;
|
|
2754
2754
|
companyId: string | null;
|
|
@@ -2757,18 +2757,18 @@ export declare const callHistoryContract: {
|
|
|
2757
2757
|
phoneNumber: string;
|
|
2758
2758
|
} | undefined;
|
|
2759
2759
|
agent?: {
|
|
2760
|
+
email: string;
|
|
2760
2761
|
id: string;
|
|
2762
|
+
createdAt: string;
|
|
2763
|
+
updatedAt: string;
|
|
2761
2764
|
firstName: string;
|
|
2762
2765
|
lastName: string;
|
|
2763
|
-
email: string;
|
|
2764
2766
|
phoneNumbers: {
|
|
2765
2767
|
id: string;
|
|
2766
2768
|
phoneNumber: string;
|
|
2767
2769
|
isPrimary: boolean;
|
|
2768
2770
|
description?: string | null | undefined;
|
|
2769
2771
|
}[];
|
|
2770
|
-
createdAt: string;
|
|
2771
|
-
updatedAt: string;
|
|
2772
2772
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2773
2773
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
2774
2774
|
canImpersonateUsers?: {
|
|
@@ -2778,18 +2778,18 @@ export declare const callHistoryContract: {
|
|
|
2778
2778
|
}[] | undefined;
|
|
2779
2779
|
} | undefined;
|
|
2780
2780
|
company?: {
|
|
2781
|
-
id: string;
|
|
2782
2781
|
name: string;
|
|
2782
|
+
id: string;
|
|
2783
2783
|
createdAt: string;
|
|
2784
2784
|
updatedAt: string;
|
|
2785
2785
|
} | null | undefined;
|
|
2786
2786
|
}, {
|
|
2787
2787
|
id: string;
|
|
2788
|
-
leadId: string;
|
|
2789
|
-
agentId: string | null;
|
|
2790
2788
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2789
|
+
agentId: string | null;
|
|
2791
2790
|
createdAt: string | Date;
|
|
2792
2791
|
updatedAt: string | Date;
|
|
2792
|
+
leadId: string;
|
|
2793
2793
|
assignedAt: string | Date;
|
|
2794
2794
|
assignedBy: string | null;
|
|
2795
2795
|
companyId: string | null;
|
|
@@ -2798,19 +2798,19 @@ export declare const callHistoryContract: {
|
|
|
2798
2798
|
phoneNumber: string;
|
|
2799
2799
|
} | undefined;
|
|
2800
2800
|
agent?: {
|
|
2801
|
-
id: string;
|
|
2802
|
-
firstName: string;
|
|
2803
|
-
lastName: string;
|
|
2804
2801
|
email: string;
|
|
2802
|
+
id: string;
|
|
2805
2803
|
createdAt: string | Date;
|
|
2806
2804
|
updatedAt: string | Date;
|
|
2805
|
+
firstName: string;
|
|
2806
|
+
lastName: string;
|
|
2807
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2807
2808
|
phoneNumbers?: {
|
|
2808
2809
|
id: string;
|
|
2809
2810
|
phoneNumber: string;
|
|
2810
2811
|
description?: string | null | undefined;
|
|
2811
2812
|
isPrimary?: boolean | undefined;
|
|
2812
2813
|
}[] | undefined;
|
|
2813
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2814
2814
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
2815
2815
|
canImpersonateUsers?: {
|
|
2816
2816
|
id: string;
|
|
@@ -2819,8 +2819,8 @@ export declare const callHistoryContract: {
|
|
|
2819
2819
|
}[] | undefined;
|
|
2820
2820
|
} | undefined;
|
|
2821
2821
|
company?: {
|
|
2822
|
-
id: string;
|
|
2823
2822
|
name: string;
|
|
2823
|
+
id: string;
|
|
2824
2824
|
createdAt: string | Date;
|
|
2825
2825
|
updatedAt: string | Date;
|
|
2826
2826
|
} | null | undefined;
|
|
@@ -2835,24 +2835,24 @@ export declare const callHistoryContract: {
|
|
|
2835
2835
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2836
2836
|
}, "strip", z.ZodTypeAny, {
|
|
2837
2837
|
id: string;
|
|
2838
|
-
assignmentId: string;
|
|
2839
2838
|
createdAt: string;
|
|
2840
2839
|
updatedAt: string;
|
|
2840
|
+
rating: CallRating;
|
|
2841
|
+
notes: string | null;
|
|
2842
|
+
assignmentId: string;
|
|
2841
2843
|
callDate: string;
|
|
2842
2844
|
callType: CallType;
|
|
2843
|
-
leadSource: LeadSource;
|
|
2844
|
-
rating: CallRating;
|
|
2845
2845
|
ratingWeight: number;
|
|
2846
|
-
|
|
2847
|
-
leadId?: string | undefined;
|
|
2846
|
+
leadSource: LeadSource;
|
|
2848
2847
|
agentId?: string | undefined;
|
|
2848
|
+
leadId?: string | undefined;
|
|
2849
2849
|
assignment?: {
|
|
2850
2850
|
id: string;
|
|
2851
|
-
leadId: string;
|
|
2852
|
-
agentId: string | null;
|
|
2853
2851
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2852
|
+
agentId: string | null;
|
|
2854
2853
|
createdAt: string;
|
|
2855
2854
|
updatedAt: string;
|
|
2855
|
+
leadId: string;
|
|
2856
2856
|
assignedAt: string;
|
|
2857
2857
|
assignedBy: string | null;
|
|
2858
2858
|
companyId: string | null;
|
|
@@ -2861,18 +2861,18 @@ export declare const callHistoryContract: {
|
|
|
2861
2861
|
phoneNumber: string;
|
|
2862
2862
|
} | undefined;
|
|
2863
2863
|
agent?: {
|
|
2864
|
+
email: string;
|
|
2864
2865
|
id: string;
|
|
2866
|
+
createdAt: string;
|
|
2867
|
+
updatedAt: string;
|
|
2865
2868
|
firstName: string;
|
|
2866
2869
|
lastName: string;
|
|
2867
|
-
email: string;
|
|
2868
2870
|
phoneNumbers: {
|
|
2869
2871
|
id: string;
|
|
2870
2872
|
phoneNumber: string;
|
|
2871
2873
|
isPrimary: boolean;
|
|
2872
2874
|
description?: string | null | undefined;
|
|
2873
2875
|
}[];
|
|
2874
|
-
createdAt: string;
|
|
2875
|
-
updatedAt: string;
|
|
2876
2876
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2877
2877
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
2878
2878
|
canImpersonateUsers?: {
|
|
@@ -2882,32 +2882,32 @@ export declare const callHistoryContract: {
|
|
|
2882
2882
|
}[] | undefined;
|
|
2883
2883
|
} | undefined;
|
|
2884
2884
|
company?: {
|
|
2885
|
-
id: string;
|
|
2886
2885
|
name: string;
|
|
2886
|
+
id: string;
|
|
2887
2887
|
createdAt: string;
|
|
2888
2888
|
updatedAt: string;
|
|
2889
2889
|
} | null | undefined;
|
|
2890
2890
|
} | null | undefined;
|
|
2891
2891
|
}, {
|
|
2892
2892
|
id: string;
|
|
2893
|
-
assignmentId: string;
|
|
2894
2893
|
createdAt: string | Date;
|
|
2895
2894
|
updatedAt: string | Date;
|
|
2895
|
+
rating: CallRating;
|
|
2896
|
+
notes: string | null;
|
|
2897
|
+
assignmentId: string;
|
|
2896
2898
|
callDate: string | Date;
|
|
2897
2899
|
callType: CallType;
|
|
2898
|
-
leadSource: LeadSource;
|
|
2899
|
-
rating: CallRating;
|
|
2900
2900
|
ratingWeight: number;
|
|
2901
|
-
|
|
2902
|
-
leadId?: string | undefined;
|
|
2901
|
+
leadSource: LeadSource;
|
|
2903
2902
|
agentId?: string | undefined;
|
|
2903
|
+
leadId?: string | undefined;
|
|
2904
2904
|
assignment?: {
|
|
2905
2905
|
id: string;
|
|
2906
|
-
leadId: string;
|
|
2907
|
-
agentId: string | null;
|
|
2908
2906
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2907
|
+
agentId: string | null;
|
|
2909
2908
|
createdAt: string | Date;
|
|
2910
2909
|
updatedAt: string | Date;
|
|
2910
|
+
leadId: string;
|
|
2911
2911
|
assignedAt: string | Date;
|
|
2912
2912
|
assignedBy: string | null;
|
|
2913
2913
|
companyId: string | null;
|
|
@@ -2916,19 +2916,19 @@ export declare const callHistoryContract: {
|
|
|
2916
2916
|
phoneNumber: string;
|
|
2917
2917
|
} | undefined;
|
|
2918
2918
|
agent?: {
|
|
2919
|
-
id: string;
|
|
2920
|
-
firstName: string;
|
|
2921
|
-
lastName: string;
|
|
2922
2919
|
email: string;
|
|
2920
|
+
id: string;
|
|
2923
2921
|
createdAt: string | Date;
|
|
2924
2922
|
updatedAt: string | Date;
|
|
2923
|
+
firstName: string;
|
|
2924
|
+
lastName: string;
|
|
2925
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2925
2926
|
phoneNumbers?: {
|
|
2926
2927
|
id: string;
|
|
2927
2928
|
phoneNumber: string;
|
|
2928
2929
|
description?: string | null | undefined;
|
|
2929
2930
|
isPrimary?: boolean | undefined;
|
|
2930
2931
|
}[] | undefined;
|
|
2931
|
-
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2932
2932
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
2933
2933
|
canImpersonateUsers?: {
|
|
2934
2934
|
id: string;
|
|
@@ -2937,8 +2937,8 @@ export declare const callHistoryContract: {
|
|
|
2937
2937
|
}[] | undefined;
|
|
2938
2938
|
} | undefined;
|
|
2939
2939
|
company?: {
|
|
2940
|
-
id: string;
|
|
2941
2940
|
name: string;
|
|
2941
|
+
id: string;
|
|
2942
2942
|
createdAt: string | Date;
|
|
2943
2943
|
updatedAt: string | Date;
|
|
2944
2944
|
} | null | undefined;
|