@dakkitor/api-contracts 1.1.107 → 1.1.108
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actives/actives.contract.d.ts +2577 -2577
- package/dist/agent-client-links/agent-client-links.contract.d.ts +486 -486
- package/dist/auth/auth.contract.d.ts +16 -16
- package/dist/bookings/bookings.contract.d.ts +9898 -9898
- package/dist/call-history/call-history.contract.d.ts +483 -453
- package/dist/call-history/call-history.contract.d.ts.map +1 -1
- package/dist/call-history/call-history.contract.js +3 -1
- package/dist/client-contacts/client-contacts.contract.d.ts +26 -26
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +994 -994
- package/dist/collaborations/collaborations.contract.d.ts +868 -868
- package/dist/common/common-schemas.d.ts +11 -0
- package/dist/common/common-schemas.d.ts.map +1 -1
- package/dist/common/common-schemas.js +8 -1
- package/dist/dashboards/dashboard.contract.d.ts +14 -14
- package/dist/jobs/jobs.contract.d.ts +1756 -1756
- package/dist/lead-assignments/lead-assignments.contract.d.ts +344 -344
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +163 -163
- package/dist/leads/leads.contract.d.ts +65 -65
- package/dist/users/users.contract.d.ts +128 -128
- package/dist/workers/workers.contract.d.ts +172 -172
- package/package.json +1 -1
|
@@ -65,27 +65,27 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
65
65
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
66
66
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
67
67
|
}, "strip", z.ZodTypeAny, {
|
|
68
|
-
|
|
68
|
+
id: string;
|
|
69
|
+
createdAt: string;
|
|
70
|
+
updatedAt: string;
|
|
69
71
|
firstName: string;
|
|
72
|
+
lastName: string;
|
|
70
73
|
email: string;
|
|
71
|
-
createdAt: string;
|
|
72
|
-
id: string;
|
|
73
74
|
phoneNumbers: {
|
|
74
75
|
id: string;
|
|
75
76
|
phoneNumber: string;
|
|
76
77
|
isPrimary: boolean;
|
|
77
78
|
description?: string | null | undefined;
|
|
78
79
|
}[];
|
|
79
|
-
updatedAt: string;
|
|
80
80
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
81
81
|
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;
|
|
82
82
|
}, {
|
|
83
|
-
lastName: string;
|
|
84
|
-
firstName: string;
|
|
85
|
-
email: string;
|
|
86
|
-
createdAt: string | Date;
|
|
87
83
|
id: string;
|
|
84
|
+
createdAt: string | Date;
|
|
88
85
|
updatedAt: string | Date;
|
|
86
|
+
firstName: string;
|
|
87
|
+
lastName: string;
|
|
88
|
+
email: string;
|
|
89
89
|
phoneNumbers?: {
|
|
90
90
|
id: string;
|
|
91
91
|
phoneNumber: string;
|
|
@@ -105,77 +105,81 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
105
105
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
106
106
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
107
107
|
}, "strip", z.ZodTypeAny, {
|
|
108
|
-
createdAt: string;
|
|
109
108
|
id: string;
|
|
109
|
+
createdAt: string;
|
|
110
110
|
updatedAt: string;
|
|
111
111
|
name: string;
|
|
112
112
|
}, {
|
|
113
|
-
createdAt: string | Date;
|
|
114
113
|
id: string;
|
|
114
|
+
createdAt: string | Date;
|
|
115
115
|
updatedAt: string | Date;
|
|
116
116
|
name: string;
|
|
117
117
|
}>>>;
|
|
118
118
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
119
119
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
120
120
|
}, "strip", z.ZodTypeAny, {
|
|
121
|
-
createdAt: string;
|
|
122
121
|
id: string;
|
|
123
122
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
123
|
+
createdAt: string;
|
|
124
124
|
updatedAt: string;
|
|
125
|
+
leadId: string;
|
|
125
126
|
agentId: string | null;
|
|
126
127
|
companyId: string | null;
|
|
127
|
-
leadId: string;
|
|
128
128
|
assignedAt: string;
|
|
129
129
|
assignedBy: string | null;
|
|
130
130
|
company?: {
|
|
131
|
-
createdAt: string;
|
|
132
131
|
id: string;
|
|
132
|
+
createdAt: string;
|
|
133
133
|
updatedAt: string;
|
|
134
134
|
name: string;
|
|
135
135
|
} | null | undefined;
|
|
136
|
+
lead?: {
|
|
137
|
+
phoneNumber: string;
|
|
138
|
+
name: string;
|
|
139
|
+
} | undefined;
|
|
136
140
|
agent?: {
|
|
137
|
-
|
|
141
|
+
id: string;
|
|
142
|
+
createdAt: string;
|
|
143
|
+
updatedAt: string;
|
|
138
144
|
firstName: string;
|
|
145
|
+
lastName: string;
|
|
139
146
|
email: string;
|
|
140
|
-
createdAt: string;
|
|
141
|
-
id: string;
|
|
142
147
|
phoneNumbers: {
|
|
143
148
|
id: string;
|
|
144
149
|
phoneNumber: string;
|
|
145
150
|
isPrimary: boolean;
|
|
146
151
|
description?: string | null | undefined;
|
|
147
152
|
}[];
|
|
148
|
-
updatedAt: string;
|
|
149
153
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
150
154
|
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;
|
|
151
155
|
} | undefined;
|
|
152
|
-
lead?: {
|
|
153
|
-
phoneNumber: string;
|
|
154
|
-
name: string;
|
|
155
|
-
} | undefined;
|
|
156
156
|
}, {
|
|
157
|
-
createdAt: string | Date;
|
|
158
157
|
id: string;
|
|
159
158
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
159
|
+
createdAt: string | Date;
|
|
160
160
|
updatedAt: string | Date;
|
|
161
|
+
leadId: string;
|
|
161
162
|
agentId: string | null;
|
|
162
163
|
companyId: string | null;
|
|
163
|
-
leadId: string;
|
|
164
164
|
assignedAt: string | Date;
|
|
165
165
|
assignedBy: string | null;
|
|
166
166
|
company?: {
|
|
167
|
-
createdAt: string | Date;
|
|
168
167
|
id: string;
|
|
168
|
+
createdAt: string | Date;
|
|
169
169
|
updatedAt: string | Date;
|
|
170
170
|
name: string;
|
|
171
171
|
} | null | undefined;
|
|
172
|
+
lead?: {
|
|
173
|
+
phoneNumber: string;
|
|
174
|
+
name: string;
|
|
175
|
+
} | undefined;
|
|
172
176
|
agent?: {
|
|
173
|
-
lastName: string;
|
|
174
|
-
firstName: string;
|
|
175
|
-
email: string;
|
|
176
|
-
createdAt: string | Date;
|
|
177
177
|
id: string;
|
|
178
|
+
createdAt: string | Date;
|
|
178
179
|
updatedAt: string | Date;
|
|
180
|
+
firstName: string;
|
|
181
|
+
lastName: string;
|
|
182
|
+
email: string;
|
|
179
183
|
phoneNumbers?: {
|
|
180
184
|
id: string;
|
|
181
185
|
phoneNumber: string;
|
|
@@ -185,10 +189,6 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
185
189
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
186
190
|
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;
|
|
187
191
|
} | undefined;
|
|
188
|
-
lead?: {
|
|
189
|
-
phoneNumber: string;
|
|
190
|
-
name: string;
|
|
191
|
-
} | undefined;
|
|
192
192
|
}>>>;
|
|
193
193
|
callDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
194
194
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
@@ -198,89 +198,93 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
198
198
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
199
199
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
200
200
|
}, "strip", z.ZodTypeAny, {
|
|
201
|
-
createdAt: string;
|
|
202
201
|
id: string;
|
|
202
|
+
createdAt: string;
|
|
203
203
|
updatedAt: string;
|
|
204
|
-
rating: CallRating;
|
|
205
|
-
notes: string | null;
|
|
206
204
|
assignmentId: string;
|
|
207
205
|
callDate: string;
|
|
208
206
|
callType: CallType;
|
|
207
|
+
rating: CallRating;
|
|
209
208
|
ratingWeight: number;
|
|
210
|
-
|
|
209
|
+
notes: string | null;
|
|
211
210
|
leadId?: string | undefined;
|
|
211
|
+
agentId?: string | undefined;
|
|
212
212
|
assignment?: {
|
|
213
|
-
createdAt: string;
|
|
214
213
|
id: string;
|
|
215
214
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
215
|
+
createdAt: string;
|
|
216
216
|
updatedAt: string;
|
|
217
|
+
leadId: string;
|
|
217
218
|
agentId: string | null;
|
|
218
219
|
companyId: string | null;
|
|
219
|
-
leadId: string;
|
|
220
220
|
assignedAt: string;
|
|
221
221
|
assignedBy: string | null;
|
|
222
222
|
company?: {
|
|
223
|
-
createdAt: string;
|
|
224
223
|
id: string;
|
|
224
|
+
createdAt: string;
|
|
225
225
|
updatedAt: string;
|
|
226
226
|
name: string;
|
|
227
227
|
} | null | undefined;
|
|
228
|
+
lead?: {
|
|
229
|
+
phoneNumber: string;
|
|
230
|
+
name: string;
|
|
231
|
+
} | undefined;
|
|
228
232
|
agent?: {
|
|
229
|
-
|
|
233
|
+
id: string;
|
|
234
|
+
createdAt: string;
|
|
235
|
+
updatedAt: string;
|
|
230
236
|
firstName: string;
|
|
237
|
+
lastName: string;
|
|
231
238
|
email: string;
|
|
232
|
-
createdAt: string;
|
|
233
|
-
id: string;
|
|
234
239
|
phoneNumbers: {
|
|
235
240
|
id: string;
|
|
236
241
|
phoneNumber: string;
|
|
237
242
|
isPrimary: boolean;
|
|
238
243
|
description?: string | null | undefined;
|
|
239
244
|
}[];
|
|
240
|
-
updatedAt: string;
|
|
241
245
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
242
246
|
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;
|
|
243
247
|
} | undefined;
|
|
244
|
-
lead?: {
|
|
245
|
-
phoneNumber: string;
|
|
246
|
-
name: string;
|
|
247
|
-
} | undefined;
|
|
248
248
|
} | null | undefined;
|
|
249
249
|
}, {
|
|
250
|
-
createdAt: string | Date;
|
|
251
250
|
id: string;
|
|
251
|
+
createdAt: string | Date;
|
|
252
252
|
updatedAt: string | Date;
|
|
253
|
-
rating: CallRating;
|
|
254
|
-
notes: string | null;
|
|
255
253
|
assignmentId: string;
|
|
256
254
|
callDate: string | Date;
|
|
257
255
|
callType: CallType;
|
|
256
|
+
rating: CallRating;
|
|
258
257
|
ratingWeight: number;
|
|
259
|
-
|
|
258
|
+
notes: string | null;
|
|
260
259
|
leadId?: string | undefined;
|
|
260
|
+
agentId?: string | undefined;
|
|
261
261
|
assignment?: {
|
|
262
|
-
createdAt: string | Date;
|
|
263
262
|
id: string;
|
|
264
263
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
264
|
+
createdAt: string | Date;
|
|
265
265
|
updatedAt: string | Date;
|
|
266
|
+
leadId: string;
|
|
266
267
|
agentId: string | null;
|
|
267
268
|
companyId: string | null;
|
|
268
|
-
leadId: string;
|
|
269
269
|
assignedAt: string | Date;
|
|
270
270
|
assignedBy: string | null;
|
|
271
271
|
company?: {
|
|
272
|
-
createdAt: string | Date;
|
|
273
272
|
id: string;
|
|
273
|
+
createdAt: string | Date;
|
|
274
274
|
updatedAt: string | Date;
|
|
275
275
|
name: string;
|
|
276
276
|
} | null | undefined;
|
|
277
|
+
lead?: {
|
|
278
|
+
phoneNumber: string;
|
|
279
|
+
name: string;
|
|
280
|
+
} | undefined;
|
|
277
281
|
agent?: {
|
|
278
|
-
lastName: string;
|
|
279
|
-
firstName: string;
|
|
280
|
-
email: string;
|
|
281
|
-
createdAt: string | Date;
|
|
282
282
|
id: string;
|
|
283
|
+
createdAt: string | Date;
|
|
283
284
|
updatedAt: string | Date;
|
|
285
|
+
firstName: string;
|
|
286
|
+
lastName: string;
|
|
287
|
+
email: string;
|
|
284
288
|
phoneNumbers?: {
|
|
285
289
|
id: string;
|
|
286
290
|
phoneNumber: string;
|
|
@@ -290,10 +294,6 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
290
294
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
291
295
|
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;
|
|
292
296
|
} | undefined;
|
|
293
|
-
lead?: {
|
|
294
|
-
phoneNumber: string;
|
|
295
|
-
name: string;
|
|
296
|
-
} | undefined;
|
|
297
297
|
} | null | undefined;
|
|
298
298
|
}>;
|
|
299
299
|
export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
@@ -342,27 +342,27 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
342
342
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
343
343
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
344
344
|
}, "strip", z.ZodTypeAny, {
|
|
345
|
-
|
|
345
|
+
id: string;
|
|
346
|
+
createdAt: string;
|
|
347
|
+
updatedAt: string;
|
|
346
348
|
firstName: string;
|
|
349
|
+
lastName: string;
|
|
347
350
|
email: string;
|
|
348
|
-
createdAt: string;
|
|
349
|
-
id: string;
|
|
350
351
|
phoneNumbers: {
|
|
351
352
|
id: string;
|
|
352
353
|
phoneNumber: string;
|
|
353
354
|
isPrimary: boolean;
|
|
354
355
|
description?: string | null | undefined;
|
|
355
356
|
}[];
|
|
356
|
-
updatedAt: string;
|
|
357
357
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
358
358
|
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;
|
|
359
359
|
}, {
|
|
360
|
-
lastName: string;
|
|
361
|
-
firstName: string;
|
|
362
|
-
email: string;
|
|
363
|
-
createdAt: string | Date;
|
|
364
360
|
id: string;
|
|
361
|
+
createdAt: string | Date;
|
|
365
362
|
updatedAt: string | Date;
|
|
363
|
+
firstName: string;
|
|
364
|
+
lastName: string;
|
|
365
|
+
email: string;
|
|
366
366
|
phoneNumbers?: {
|
|
367
367
|
id: string;
|
|
368
368
|
phoneNumber: string;
|
|
@@ -382,77 +382,81 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
382
382
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
383
383
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
384
384
|
}, "strip", z.ZodTypeAny, {
|
|
385
|
-
createdAt: string;
|
|
386
385
|
id: string;
|
|
386
|
+
createdAt: string;
|
|
387
387
|
updatedAt: string;
|
|
388
388
|
name: string;
|
|
389
389
|
}, {
|
|
390
|
-
createdAt: string | Date;
|
|
391
390
|
id: string;
|
|
391
|
+
createdAt: string | Date;
|
|
392
392
|
updatedAt: string | Date;
|
|
393
393
|
name: string;
|
|
394
394
|
}>>>;
|
|
395
395
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
396
396
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
397
397
|
}, "strip", z.ZodTypeAny, {
|
|
398
|
-
createdAt: string;
|
|
399
398
|
id: string;
|
|
400
399
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
400
|
+
createdAt: string;
|
|
401
401
|
updatedAt: string;
|
|
402
|
+
leadId: string;
|
|
402
403
|
agentId: string | null;
|
|
403
404
|
companyId: string | null;
|
|
404
|
-
leadId: string;
|
|
405
405
|
assignedAt: string;
|
|
406
406
|
assignedBy: string | null;
|
|
407
407
|
company?: {
|
|
408
|
-
createdAt: string;
|
|
409
408
|
id: string;
|
|
409
|
+
createdAt: string;
|
|
410
410
|
updatedAt: string;
|
|
411
411
|
name: string;
|
|
412
412
|
} | null | undefined;
|
|
413
|
+
lead?: {
|
|
414
|
+
phoneNumber: string;
|
|
415
|
+
name: string;
|
|
416
|
+
} | undefined;
|
|
413
417
|
agent?: {
|
|
414
|
-
|
|
418
|
+
id: string;
|
|
419
|
+
createdAt: string;
|
|
420
|
+
updatedAt: string;
|
|
415
421
|
firstName: string;
|
|
422
|
+
lastName: string;
|
|
416
423
|
email: string;
|
|
417
|
-
createdAt: string;
|
|
418
|
-
id: string;
|
|
419
424
|
phoneNumbers: {
|
|
420
425
|
id: string;
|
|
421
426
|
phoneNumber: string;
|
|
422
427
|
isPrimary: boolean;
|
|
423
428
|
description?: string | null | undefined;
|
|
424
429
|
}[];
|
|
425
|
-
updatedAt: string;
|
|
426
430
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
427
431
|
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;
|
|
428
432
|
} | undefined;
|
|
429
|
-
lead?: {
|
|
430
|
-
phoneNumber: string;
|
|
431
|
-
name: string;
|
|
432
|
-
} | undefined;
|
|
433
433
|
}, {
|
|
434
|
-
createdAt: string | Date;
|
|
435
434
|
id: string;
|
|
436
435
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
436
|
+
createdAt: string | Date;
|
|
437
437
|
updatedAt: string | Date;
|
|
438
|
+
leadId: string;
|
|
438
439
|
agentId: string | null;
|
|
439
440
|
companyId: string | null;
|
|
440
|
-
leadId: string;
|
|
441
441
|
assignedAt: string | Date;
|
|
442
442
|
assignedBy: string | null;
|
|
443
443
|
company?: {
|
|
444
|
-
createdAt: string | Date;
|
|
445
444
|
id: string;
|
|
445
|
+
createdAt: string | Date;
|
|
446
446
|
updatedAt: string | Date;
|
|
447
447
|
name: string;
|
|
448
448
|
} | null | undefined;
|
|
449
|
+
lead?: {
|
|
450
|
+
phoneNumber: string;
|
|
451
|
+
name: string;
|
|
452
|
+
} | undefined;
|
|
449
453
|
agent?: {
|
|
450
|
-
lastName: string;
|
|
451
|
-
firstName: string;
|
|
452
|
-
email: string;
|
|
453
|
-
createdAt: string | Date;
|
|
454
454
|
id: string;
|
|
455
|
+
createdAt: string | Date;
|
|
455
456
|
updatedAt: string | Date;
|
|
457
|
+
firstName: string;
|
|
458
|
+
lastName: string;
|
|
459
|
+
email: string;
|
|
456
460
|
phoneNumbers?: {
|
|
457
461
|
id: string;
|
|
458
462
|
phoneNumber: string;
|
|
@@ -462,10 +466,6 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
462
466
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
463
467
|
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;
|
|
464
468
|
} | undefined;
|
|
465
|
-
lead?: {
|
|
466
|
-
phoneNumber: string;
|
|
467
|
-
name: string;
|
|
468
|
-
} | undefined;
|
|
469
469
|
}>>>;
|
|
470
470
|
callDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
471
471
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
@@ -475,89 +475,93 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
475
475
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
476
476
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
477
477
|
}, "strip", z.ZodTypeAny, {
|
|
478
|
-
createdAt: string;
|
|
479
478
|
id: string;
|
|
479
|
+
createdAt: string;
|
|
480
480
|
updatedAt: string;
|
|
481
|
-
rating: CallRating;
|
|
482
|
-
notes: string | null;
|
|
483
481
|
assignmentId: string;
|
|
484
482
|
callDate: string;
|
|
485
483
|
callType: CallType;
|
|
484
|
+
rating: CallRating;
|
|
486
485
|
ratingWeight: number;
|
|
487
|
-
|
|
486
|
+
notes: string | null;
|
|
488
487
|
leadId?: string | undefined;
|
|
488
|
+
agentId?: string | undefined;
|
|
489
489
|
assignment?: {
|
|
490
|
-
createdAt: string;
|
|
491
490
|
id: string;
|
|
492
491
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
492
|
+
createdAt: string;
|
|
493
493
|
updatedAt: string;
|
|
494
|
+
leadId: string;
|
|
494
495
|
agentId: string | null;
|
|
495
496
|
companyId: string | null;
|
|
496
|
-
leadId: string;
|
|
497
497
|
assignedAt: string;
|
|
498
498
|
assignedBy: string | null;
|
|
499
499
|
company?: {
|
|
500
|
-
createdAt: string;
|
|
501
500
|
id: string;
|
|
501
|
+
createdAt: string;
|
|
502
502
|
updatedAt: string;
|
|
503
503
|
name: string;
|
|
504
504
|
} | null | undefined;
|
|
505
|
+
lead?: {
|
|
506
|
+
phoneNumber: string;
|
|
507
|
+
name: string;
|
|
508
|
+
} | undefined;
|
|
505
509
|
agent?: {
|
|
506
|
-
|
|
510
|
+
id: string;
|
|
511
|
+
createdAt: string;
|
|
512
|
+
updatedAt: string;
|
|
507
513
|
firstName: string;
|
|
514
|
+
lastName: string;
|
|
508
515
|
email: string;
|
|
509
|
-
createdAt: string;
|
|
510
|
-
id: string;
|
|
511
516
|
phoneNumbers: {
|
|
512
517
|
id: string;
|
|
513
518
|
phoneNumber: string;
|
|
514
519
|
isPrimary: boolean;
|
|
515
520
|
description?: string | null | undefined;
|
|
516
521
|
}[];
|
|
517
|
-
updatedAt: string;
|
|
518
522
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
519
523
|
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;
|
|
520
524
|
} | undefined;
|
|
521
|
-
lead?: {
|
|
522
|
-
phoneNumber: string;
|
|
523
|
-
name: string;
|
|
524
|
-
} | undefined;
|
|
525
525
|
} | null | undefined;
|
|
526
526
|
}, {
|
|
527
|
-
createdAt: string | Date;
|
|
528
527
|
id: string;
|
|
528
|
+
createdAt: string | Date;
|
|
529
529
|
updatedAt: string | Date;
|
|
530
|
-
rating: CallRating;
|
|
531
|
-
notes: string | null;
|
|
532
530
|
assignmentId: string;
|
|
533
531
|
callDate: string | Date;
|
|
534
532
|
callType: CallType;
|
|
533
|
+
rating: CallRating;
|
|
535
534
|
ratingWeight: number;
|
|
536
|
-
|
|
535
|
+
notes: string | null;
|
|
537
536
|
leadId?: string | undefined;
|
|
537
|
+
agentId?: string | undefined;
|
|
538
538
|
assignment?: {
|
|
539
|
-
createdAt: string | Date;
|
|
540
539
|
id: string;
|
|
541
540
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
541
|
+
createdAt: string | Date;
|
|
542
542
|
updatedAt: string | Date;
|
|
543
|
+
leadId: string;
|
|
543
544
|
agentId: string | null;
|
|
544
545
|
companyId: string | null;
|
|
545
|
-
leadId: string;
|
|
546
546
|
assignedAt: string | Date;
|
|
547
547
|
assignedBy: string | null;
|
|
548
548
|
company?: {
|
|
549
|
-
createdAt: string | Date;
|
|
550
549
|
id: string;
|
|
550
|
+
createdAt: string | Date;
|
|
551
551
|
updatedAt: string | Date;
|
|
552
552
|
name: string;
|
|
553
553
|
} | null | undefined;
|
|
554
|
+
lead?: {
|
|
555
|
+
phoneNumber: string;
|
|
556
|
+
name: string;
|
|
557
|
+
} | undefined;
|
|
554
558
|
agent?: {
|
|
555
|
-
lastName: string;
|
|
556
|
-
firstName: string;
|
|
557
|
-
email: string;
|
|
558
|
-
createdAt: string | Date;
|
|
559
559
|
id: string;
|
|
560
|
+
createdAt: string | Date;
|
|
560
561
|
updatedAt: string | Date;
|
|
562
|
+
firstName: string;
|
|
563
|
+
lastName: string;
|
|
564
|
+
email: string;
|
|
561
565
|
phoneNumbers?: {
|
|
562
566
|
id: string;
|
|
563
567
|
phoneNumber: string;
|
|
@@ -567,10 +571,6 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
567
571
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
568
572
|
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;
|
|
569
573
|
} | undefined;
|
|
570
|
-
lead?: {
|
|
571
|
-
phoneNumber: string;
|
|
572
|
-
name: string;
|
|
573
|
-
} | undefined;
|
|
574
574
|
} | null | undefined;
|
|
575
575
|
}>, "many">;
|
|
576
576
|
totalCount: z.ZodNumber;
|
|
@@ -581,53 +581,53 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
581
581
|
}, "strip", z.ZodTypeAny, {
|
|
582
582
|
limit: number;
|
|
583
583
|
items: {
|
|
584
|
-
createdAt: string;
|
|
585
584
|
id: string;
|
|
585
|
+
createdAt: string;
|
|
586
586
|
updatedAt: string;
|
|
587
|
-
rating: CallRating;
|
|
588
|
-
notes: string | null;
|
|
589
587
|
assignmentId: string;
|
|
590
588
|
callDate: string;
|
|
591
589
|
callType: CallType;
|
|
590
|
+
rating: CallRating;
|
|
592
591
|
ratingWeight: number;
|
|
593
|
-
|
|
592
|
+
notes: string | null;
|
|
594
593
|
leadId?: string | undefined;
|
|
594
|
+
agentId?: string | undefined;
|
|
595
595
|
assignment?: {
|
|
596
|
-
createdAt: string;
|
|
597
596
|
id: string;
|
|
598
597
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
598
|
+
createdAt: string;
|
|
599
599
|
updatedAt: string;
|
|
600
|
+
leadId: string;
|
|
600
601
|
agentId: string | null;
|
|
601
602
|
companyId: string | null;
|
|
602
|
-
leadId: string;
|
|
603
603
|
assignedAt: string;
|
|
604
604
|
assignedBy: string | null;
|
|
605
605
|
company?: {
|
|
606
|
-
createdAt: string;
|
|
607
606
|
id: string;
|
|
607
|
+
createdAt: string;
|
|
608
608
|
updatedAt: string;
|
|
609
609
|
name: string;
|
|
610
610
|
} | null | undefined;
|
|
611
|
+
lead?: {
|
|
612
|
+
phoneNumber: string;
|
|
613
|
+
name: string;
|
|
614
|
+
} | undefined;
|
|
611
615
|
agent?: {
|
|
612
|
-
|
|
616
|
+
id: string;
|
|
617
|
+
createdAt: string;
|
|
618
|
+
updatedAt: string;
|
|
613
619
|
firstName: string;
|
|
620
|
+
lastName: string;
|
|
614
621
|
email: string;
|
|
615
|
-
createdAt: string;
|
|
616
|
-
id: string;
|
|
617
622
|
phoneNumbers: {
|
|
618
623
|
id: string;
|
|
619
624
|
phoneNumber: string;
|
|
620
625
|
isPrimary: boolean;
|
|
621
626
|
description?: string | null | undefined;
|
|
622
627
|
}[];
|
|
623
|
-
updatedAt: string;
|
|
624
628
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
625
629
|
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;
|
|
626
630
|
} | undefined;
|
|
627
|
-
lead?: {
|
|
628
|
-
phoneNumber: string;
|
|
629
|
-
name: string;
|
|
630
|
-
} | undefined;
|
|
631
631
|
} | null | undefined;
|
|
632
632
|
}[];
|
|
633
633
|
totalCount: number;
|
|
@@ -637,40 +637,44 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
637
637
|
}, {
|
|
638
638
|
limit: number;
|
|
639
639
|
items: {
|
|
640
|
-
createdAt: string | Date;
|
|
641
640
|
id: string;
|
|
641
|
+
createdAt: string | Date;
|
|
642
642
|
updatedAt: string | Date;
|
|
643
|
-
rating: CallRating;
|
|
644
|
-
notes: string | null;
|
|
645
643
|
assignmentId: string;
|
|
646
644
|
callDate: string | Date;
|
|
647
645
|
callType: CallType;
|
|
646
|
+
rating: CallRating;
|
|
648
647
|
ratingWeight: number;
|
|
649
|
-
|
|
648
|
+
notes: string | null;
|
|
650
649
|
leadId?: string | undefined;
|
|
650
|
+
agentId?: string | undefined;
|
|
651
651
|
assignment?: {
|
|
652
|
-
createdAt: string | Date;
|
|
653
652
|
id: string;
|
|
654
653
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
654
|
+
createdAt: string | Date;
|
|
655
655
|
updatedAt: string | Date;
|
|
656
|
+
leadId: string;
|
|
656
657
|
agentId: string | null;
|
|
657
658
|
companyId: string | null;
|
|
658
|
-
leadId: string;
|
|
659
659
|
assignedAt: string | Date;
|
|
660
660
|
assignedBy: string | null;
|
|
661
661
|
company?: {
|
|
662
|
-
createdAt: string | Date;
|
|
663
662
|
id: string;
|
|
663
|
+
createdAt: string | Date;
|
|
664
664
|
updatedAt: string | Date;
|
|
665
665
|
name: string;
|
|
666
666
|
} | null | undefined;
|
|
667
|
+
lead?: {
|
|
668
|
+
phoneNumber: string;
|
|
669
|
+
name: string;
|
|
670
|
+
} | undefined;
|
|
667
671
|
agent?: {
|
|
668
|
-
lastName: string;
|
|
669
|
-
firstName: string;
|
|
670
|
-
email: string;
|
|
671
|
-
createdAt: string | Date;
|
|
672
672
|
id: string;
|
|
673
|
+
createdAt: string | Date;
|
|
673
674
|
updatedAt: string | Date;
|
|
675
|
+
firstName: string;
|
|
676
|
+
lastName: string;
|
|
677
|
+
email: string;
|
|
674
678
|
phoneNumbers?: {
|
|
675
679
|
id: string;
|
|
676
680
|
phoneNumber: string;
|
|
@@ -680,10 +684,6 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
680
684
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
681
685
|
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;
|
|
682
686
|
} | undefined;
|
|
683
|
-
lead?: {
|
|
684
|
-
phoneNumber: string;
|
|
685
|
-
name: string;
|
|
686
|
-
} | undefined;
|
|
687
687
|
} | null | undefined;
|
|
688
688
|
}[];
|
|
689
689
|
totalCount: number;
|
|
@@ -697,14 +697,14 @@ export declare const CreateCallHistorySchema: z.ZodObject<{
|
|
|
697
697
|
notes: z.ZodOptional<z.ZodString>;
|
|
698
698
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
699
699
|
}, "strip", z.ZodTypeAny, {
|
|
700
|
-
rating: CallRating;
|
|
701
700
|
assignmentId: string;
|
|
702
701
|
callType: CallType;
|
|
702
|
+
rating: CallRating;
|
|
703
703
|
notes?: string | undefined;
|
|
704
704
|
}, {
|
|
705
|
-
rating: CallRating;
|
|
706
705
|
assignmentId: string;
|
|
707
706
|
callType: CallType;
|
|
707
|
+
rating: CallRating;
|
|
708
708
|
notes?: string | undefined;
|
|
709
709
|
}>;
|
|
710
710
|
export declare const UpdateCallHistorySchema: z.ZodObject<{
|
|
@@ -712,13 +712,13 @@ export declare const UpdateCallHistorySchema: z.ZodObject<{
|
|
|
712
712
|
rating: z.ZodOptional<z.ZodNativeEnum<typeof CallRating>>;
|
|
713
713
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
714
714
|
}, "strip", z.ZodTypeAny, {
|
|
715
|
+
callDate?: string | undefined;
|
|
715
716
|
rating?: CallRating | undefined;
|
|
716
717
|
notes?: string | null | undefined;
|
|
717
|
-
callDate?: string | undefined;
|
|
718
718
|
}, {
|
|
719
|
+
callDate?: string | undefined;
|
|
719
720
|
rating?: CallRating | undefined;
|
|
720
721
|
notes?: string | null | undefined;
|
|
721
|
-
callDate?: string | undefined;
|
|
722
722
|
}>;
|
|
723
723
|
export declare const FilterCallHistorySchema: z.ZodObject<{
|
|
724
724
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
@@ -726,7 +726,16 @@ export declare const FilterCallHistorySchema: z.ZodObject<{
|
|
|
726
726
|
} & {
|
|
727
727
|
agentId: z.ZodOptional<z.ZodString>;
|
|
728
728
|
companyId: z.ZodOptional<z.ZodString>;
|
|
729
|
-
rating: z.
|
|
729
|
+
rating: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
730
|
+
from: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof CallRating>>>, CallRating | null | undefined, unknown>;
|
|
731
|
+
to: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof CallRating>>>, CallRating | null | undefined, unknown>;
|
|
732
|
+
}, "strip", z.ZodTypeAny, {
|
|
733
|
+
from?: CallRating | null | undefined;
|
|
734
|
+
to?: CallRating | null | undefined;
|
|
735
|
+
}, {
|
|
736
|
+
from?: unknown;
|
|
737
|
+
to?: unknown;
|
|
738
|
+
}>>>;
|
|
730
739
|
callType: z.ZodOptional<z.ZodNativeEnum<typeof CallType>>;
|
|
731
740
|
callDate: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
732
741
|
from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -746,26 +755,32 @@ export declare const FilterCallHistorySchema: z.ZodObject<{
|
|
|
746
755
|
sortBy?: CallHistorySortableFields | undefined;
|
|
747
756
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
748
757
|
agentId?: string | undefined;
|
|
749
|
-
companyId?: string | undefined;
|
|
750
|
-
rating?: CallRating | undefined;
|
|
751
758
|
callDate?: {
|
|
752
759
|
from?: string | null | undefined;
|
|
753
760
|
to?: string | null | undefined;
|
|
754
761
|
} | null | undefined;
|
|
755
762
|
callType?: CallType | undefined;
|
|
763
|
+
rating?: {
|
|
764
|
+
from?: CallRating | null | undefined;
|
|
765
|
+
to?: CallRating | null | undefined;
|
|
766
|
+
} | null | undefined;
|
|
767
|
+
companyId?: string | undefined;
|
|
756
768
|
}, {
|
|
757
769
|
limit?: number | undefined;
|
|
758
770
|
page?: number | undefined;
|
|
759
771
|
sortBy?: CallHistorySortableFields | undefined;
|
|
760
772
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
761
773
|
agentId?: string | undefined;
|
|
762
|
-
companyId?: string | undefined;
|
|
763
|
-
rating?: unknown;
|
|
764
774
|
callDate?: {
|
|
765
775
|
from?: string | null | undefined;
|
|
766
776
|
to?: string | null | undefined;
|
|
767
777
|
} | null | undefined;
|
|
768
778
|
callType?: CallType | undefined;
|
|
779
|
+
rating?: {
|
|
780
|
+
from?: unknown;
|
|
781
|
+
to?: unknown;
|
|
782
|
+
} | null | undefined;
|
|
783
|
+
companyId?: string | undefined;
|
|
769
784
|
}>;
|
|
770
785
|
export declare const CallHistoryStatsSchema: z.ZodObject<{
|
|
771
786
|
totalCalls: z.ZodNumber;
|
|
@@ -799,14 +814,14 @@ export declare const callHistoryContract: {
|
|
|
799
814
|
notes: z.ZodOptional<z.ZodString>;
|
|
800
815
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
801
816
|
}, "strip", z.ZodTypeAny, {
|
|
802
|
-
rating: CallRating;
|
|
803
817
|
assignmentId: string;
|
|
804
818
|
callType: CallType;
|
|
819
|
+
rating: CallRating;
|
|
805
820
|
notes?: string | undefined;
|
|
806
821
|
}, {
|
|
807
|
-
rating: CallRating;
|
|
808
822
|
assignmentId: string;
|
|
809
823
|
callType: CallType;
|
|
824
|
+
rating: CallRating;
|
|
810
825
|
notes?: string | undefined;
|
|
811
826
|
}>;
|
|
812
827
|
path: "/v2/call-history";
|
|
@@ -956,27 +971,27 @@ export declare const callHistoryContract: {
|
|
|
956
971
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
957
972
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
958
973
|
}, "strip", z.ZodTypeAny, {
|
|
959
|
-
|
|
974
|
+
id: string;
|
|
975
|
+
createdAt: string;
|
|
976
|
+
updatedAt: string;
|
|
960
977
|
firstName: string;
|
|
978
|
+
lastName: string;
|
|
961
979
|
email: string;
|
|
962
|
-
createdAt: string;
|
|
963
|
-
id: string;
|
|
964
980
|
phoneNumbers: {
|
|
965
981
|
id: string;
|
|
966
982
|
phoneNumber: string;
|
|
967
983
|
isPrimary: boolean;
|
|
968
984
|
description?: string | null | undefined;
|
|
969
985
|
}[];
|
|
970
|
-
updatedAt: string;
|
|
971
986
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
972
987
|
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;
|
|
973
988
|
}, {
|
|
974
|
-
lastName: string;
|
|
975
|
-
firstName: string;
|
|
976
|
-
email: string;
|
|
977
|
-
createdAt: string | Date;
|
|
978
989
|
id: string;
|
|
990
|
+
createdAt: string | Date;
|
|
979
991
|
updatedAt: string | Date;
|
|
992
|
+
firstName: string;
|
|
993
|
+
lastName: string;
|
|
994
|
+
email: string;
|
|
980
995
|
phoneNumbers?: {
|
|
981
996
|
id: string;
|
|
982
997
|
phoneNumber: string;
|
|
@@ -996,77 +1011,81 @@ export declare const callHistoryContract: {
|
|
|
996
1011
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
997
1012
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
998
1013
|
}, "strip", z.ZodTypeAny, {
|
|
999
|
-
createdAt: string;
|
|
1000
1014
|
id: string;
|
|
1015
|
+
createdAt: string;
|
|
1001
1016
|
updatedAt: string;
|
|
1002
1017
|
name: string;
|
|
1003
1018
|
}, {
|
|
1004
|
-
createdAt: string | Date;
|
|
1005
1019
|
id: string;
|
|
1020
|
+
createdAt: string | Date;
|
|
1006
1021
|
updatedAt: string | Date;
|
|
1007
1022
|
name: string;
|
|
1008
1023
|
}>>>;
|
|
1009
1024
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1010
1025
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1011
1026
|
}, "strip", z.ZodTypeAny, {
|
|
1012
|
-
createdAt: string;
|
|
1013
1027
|
id: string;
|
|
1014
1028
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1029
|
+
createdAt: string;
|
|
1015
1030
|
updatedAt: string;
|
|
1031
|
+
leadId: string;
|
|
1016
1032
|
agentId: string | null;
|
|
1017
1033
|
companyId: string | null;
|
|
1018
|
-
leadId: string;
|
|
1019
1034
|
assignedAt: string;
|
|
1020
1035
|
assignedBy: string | null;
|
|
1021
1036
|
company?: {
|
|
1022
|
-
createdAt: string;
|
|
1023
1037
|
id: string;
|
|
1038
|
+
createdAt: string;
|
|
1024
1039
|
updatedAt: string;
|
|
1025
1040
|
name: string;
|
|
1026
1041
|
} | null | undefined;
|
|
1042
|
+
lead?: {
|
|
1043
|
+
phoneNumber: string;
|
|
1044
|
+
name: string;
|
|
1045
|
+
} | undefined;
|
|
1027
1046
|
agent?: {
|
|
1028
|
-
|
|
1047
|
+
id: string;
|
|
1048
|
+
createdAt: string;
|
|
1049
|
+
updatedAt: string;
|
|
1029
1050
|
firstName: string;
|
|
1051
|
+
lastName: string;
|
|
1030
1052
|
email: string;
|
|
1031
|
-
createdAt: string;
|
|
1032
|
-
id: string;
|
|
1033
1053
|
phoneNumbers: {
|
|
1034
1054
|
id: string;
|
|
1035
1055
|
phoneNumber: string;
|
|
1036
1056
|
isPrimary: boolean;
|
|
1037
1057
|
description?: string | null | undefined;
|
|
1038
1058
|
}[];
|
|
1039
|
-
updatedAt: string;
|
|
1040
1059
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1041
1060
|
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;
|
|
1042
1061
|
} | undefined;
|
|
1043
|
-
lead?: {
|
|
1044
|
-
phoneNumber: string;
|
|
1045
|
-
name: string;
|
|
1046
|
-
} | undefined;
|
|
1047
1062
|
}, {
|
|
1048
|
-
createdAt: string | Date;
|
|
1049
1063
|
id: string;
|
|
1050
1064
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1065
|
+
createdAt: string | Date;
|
|
1051
1066
|
updatedAt: string | Date;
|
|
1067
|
+
leadId: string;
|
|
1052
1068
|
agentId: string | null;
|
|
1053
1069
|
companyId: string | null;
|
|
1054
|
-
leadId: string;
|
|
1055
1070
|
assignedAt: string | Date;
|
|
1056
1071
|
assignedBy: string | null;
|
|
1057
1072
|
company?: {
|
|
1058
|
-
createdAt: string | Date;
|
|
1059
1073
|
id: string;
|
|
1074
|
+
createdAt: string | Date;
|
|
1060
1075
|
updatedAt: string | Date;
|
|
1061
1076
|
name: string;
|
|
1062
1077
|
} | null | undefined;
|
|
1078
|
+
lead?: {
|
|
1079
|
+
phoneNumber: string;
|
|
1080
|
+
name: string;
|
|
1081
|
+
} | undefined;
|
|
1063
1082
|
agent?: {
|
|
1064
|
-
lastName: string;
|
|
1065
|
-
firstName: string;
|
|
1066
|
-
email: string;
|
|
1067
|
-
createdAt: string | Date;
|
|
1068
1083
|
id: string;
|
|
1084
|
+
createdAt: string | Date;
|
|
1069
1085
|
updatedAt: string | Date;
|
|
1086
|
+
firstName: string;
|
|
1087
|
+
lastName: string;
|
|
1088
|
+
email: string;
|
|
1070
1089
|
phoneNumbers?: {
|
|
1071
1090
|
id: string;
|
|
1072
1091
|
phoneNumber: string;
|
|
@@ -1076,10 +1095,6 @@ export declare const callHistoryContract: {
|
|
|
1076
1095
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1077
1096
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1078
1097
|
} | undefined;
|
|
1079
|
-
lead?: {
|
|
1080
|
-
phoneNumber: string;
|
|
1081
|
-
name: string;
|
|
1082
|
-
} | undefined;
|
|
1083
1098
|
}>>>;
|
|
1084
1099
|
callDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1085
1100
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
@@ -1089,89 +1104,93 @@ export declare const callHistoryContract: {
|
|
|
1089
1104
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1090
1105
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1091
1106
|
}, "strip", z.ZodTypeAny, {
|
|
1092
|
-
createdAt: string;
|
|
1093
1107
|
id: string;
|
|
1108
|
+
createdAt: string;
|
|
1094
1109
|
updatedAt: string;
|
|
1095
|
-
rating: CallRating;
|
|
1096
|
-
notes: string | null;
|
|
1097
1110
|
assignmentId: string;
|
|
1098
1111
|
callDate: string;
|
|
1099
1112
|
callType: CallType;
|
|
1113
|
+
rating: CallRating;
|
|
1100
1114
|
ratingWeight: number;
|
|
1101
|
-
|
|
1115
|
+
notes: string | null;
|
|
1102
1116
|
leadId?: string | undefined;
|
|
1117
|
+
agentId?: string | undefined;
|
|
1103
1118
|
assignment?: {
|
|
1104
|
-
createdAt: string;
|
|
1105
1119
|
id: string;
|
|
1106
1120
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1121
|
+
createdAt: string;
|
|
1107
1122
|
updatedAt: string;
|
|
1123
|
+
leadId: string;
|
|
1108
1124
|
agentId: string | null;
|
|
1109
1125
|
companyId: string | null;
|
|
1110
|
-
leadId: string;
|
|
1111
1126
|
assignedAt: string;
|
|
1112
1127
|
assignedBy: string | null;
|
|
1113
1128
|
company?: {
|
|
1114
|
-
createdAt: string;
|
|
1115
1129
|
id: string;
|
|
1130
|
+
createdAt: string;
|
|
1116
1131
|
updatedAt: string;
|
|
1117
1132
|
name: string;
|
|
1118
1133
|
} | null | undefined;
|
|
1134
|
+
lead?: {
|
|
1135
|
+
phoneNumber: string;
|
|
1136
|
+
name: string;
|
|
1137
|
+
} | undefined;
|
|
1119
1138
|
agent?: {
|
|
1120
|
-
|
|
1139
|
+
id: string;
|
|
1140
|
+
createdAt: string;
|
|
1141
|
+
updatedAt: string;
|
|
1121
1142
|
firstName: string;
|
|
1143
|
+
lastName: string;
|
|
1122
1144
|
email: string;
|
|
1123
|
-
createdAt: string;
|
|
1124
|
-
id: string;
|
|
1125
1145
|
phoneNumbers: {
|
|
1126
1146
|
id: string;
|
|
1127
1147
|
phoneNumber: string;
|
|
1128
1148
|
isPrimary: boolean;
|
|
1129
1149
|
description?: string | null | undefined;
|
|
1130
1150
|
}[];
|
|
1131
|
-
updatedAt: string;
|
|
1132
1151
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1133
1152
|
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;
|
|
1134
1153
|
} | undefined;
|
|
1135
|
-
lead?: {
|
|
1136
|
-
phoneNumber: string;
|
|
1137
|
-
name: string;
|
|
1138
|
-
} | undefined;
|
|
1139
1154
|
} | null | undefined;
|
|
1140
1155
|
}, {
|
|
1141
|
-
createdAt: string | Date;
|
|
1142
1156
|
id: string;
|
|
1157
|
+
createdAt: string | Date;
|
|
1143
1158
|
updatedAt: string | Date;
|
|
1144
|
-
rating: CallRating;
|
|
1145
|
-
notes: string | null;
|
|
1146
1159
|
assignmentId: string;
|
|
1147
1160
|
callDate: string | Date;
|
|
1148
1161
|
callType: CallType;
|
|
1162
|
+
rating: CallRating;
|
|
1149
1163
|
ratingWeight: number;
|
|
1150
|
-
|
|
1164
|
+
notes: string | null;
|
|
1151
1165
|
leadId?: string | undefined;
|
|
1166
|
+
agentId?: string | undefined;
|
|
1152
1167
|
assignment?: {
|
|
1153
|
-
createdAt: string | Date;
|
|
1154
1168
|
id: string;
|
|
1155
1169
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1170
|
+
createdAt: string | Date;
|
|
1156
1171
|
updatedAt: string | Date;
|
|
1172
|
+
leadId: string;
|
|
1157
1173
|
agentId: string | null;
|
|
1158
1174
|
companyId: string | null;
|
|
1159
|
-
leadId: string;
|
|
1160
1175
|
assignedAt: string | Date;
|
|
1161
1176
|
assignedBy: string | null;
|
|
1162
1177
|
company?: {
|
|
1163
|
-
createdAt: string | Date;
|
|
1164
1178
|
id: string;
|
|
1179
|
+
createdAt: string | Date;
|
|
1165
1180
|
updatedAt: string | Date;
|
|
1166
1181
|
name: string;
|
|
1167
1182
|
} | null | undefined;
|
|
1183
|
+
lead?: {
|
|
1184
|
+
phoneNumber: string;
|
|
1185
|
+
name: string;
|
|
1186
|
+
} | undefined;
|
|
1168
1187
|
agent?: {
|
|
1169
|
-
lastName: string;
|
|
1170
|
-
firstName: string;
|
|
1171
|
-
email: string;
|
|
1172
|
-
createdAt: string | Date;
|
|
1173
1188
|
id: string;
|
|
1189
|
+
createdAt: string | Date;
|
|
1174
1190
|
updatedAt: string | Date;
|
|
1191
|
+
firstName: string;
|
|
1192
|
+
lastName: string;
|
|
1193
|
+
email: string;
|
|
1175
1194
|
phoneNumbers?: {
|
|
1176
1195
|
id: string;
|
|
1177
1196
|
phoneNumber: string;
|
|
@@ -1181,10 +1200,6 @@ export declare const callHistoryContract: {
|
|
|
1181
1200
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1182
1201
|
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;
|
|
1183
1202
|
} | undefined;
|
|
1184
|
-
lead?: {
|
|
1185
|
-
phoneNumber: string;
|
|
1186
|
-
name: string;
|
|
1187
|
-
} | undefined;
|
|
1188
1203
|
} | null | undefined;
|
|
1189
1204
|
}>;
|
|
1190
1205
|
409: z.ZodObject<{
|
|
@@ -1215,16 +1230,22 @@ export declare const callHistoryContract: {
|
|
|
1215
1230
|
};
|
|
1216
1231
|
};
|
|
1217
1232
|
findAll: {
|
|
1218
|
-
metadata: {
|
|
1219
|
-
tags: string[];
|
|
1220
|
-
};
|
|
1221
1233
|
query: z.ZodObject<{
|
|
1222
1234
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
1223
1235
|
page: z.ZodDefault<z.ZodNumber>;
|
|
1224
1236
|
} & {
|
|
1225
1237
|
agentId: z.ZodOptional<z.ZodString>;
|
|
1226
1238
|
companyId: z.ZodOptional<z.ZodString>;
|
|
1227
|
-
rating: z.
|
|
1239
|
+
rating: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1240
|
+
from: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof CallRating>>>, CallRating | null | undefined, unknown>;
|
|
1241
|
+
to: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof CallRating>>>, CallRating | null | undefined, unknown>;
|
|
1242
|
+
}, "strip", z.ZodTypeAny, {
|
|
1243
|
+
from?: CallRating | null | undefined;
|
|
1244
|
+
to?: CallRating | null | undefined;
|
|
1245
|
+
}, {
|
|
1246
|
+
from?: unknown;
|
|
1247
|
+
to?: unknown;
|
|
1248
|
+
}>>>;
|
|
1228
1249
|
callType: z.ZodOptional<z.ZodNativeEnum<typeof CallType>>;
|
|
1229
1250
|
callDate: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1230
1251
|
from: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1244,27 +1265,36 @@ export declare const callHistoryContract: {
|
|
|
1244
1265
|
sortBy?: CallHistorySortableFields | undefined;
|
|
1245
1266
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1246
1267
|
agentId?: string | undefined;
|
|
1247
|
-
companyId?: string | undefined;
|
|
1248
|
-
rating?: CallRating | undefined;
|
|
1249
1268
|
callDate?: {
|
|
1250
1269
|
from?: string | null | undefined;
|
|
1251
1270
|
to?: string | null | undefined;
|
|
1252
1271
|
} | null | undefined;
|
|
1253
1272
|
callType?: CallType | undefined;
|
|
1273
|
+
rating?: {
|
|
1274
|
+
from?: CallRating | null | undefined;
|
|
1275
|
+
to?: CallRating | null | undefined;
|
|
1276
|
+
} | null | undefined;
|
|
1277
|
+
companyId?: string | undefined;
|
|
1254
1278
|
}, {
|
|
1255
1279
|
limit?: number | undefined;
|
|
1256
1280
|
page?: number | undefined;
|
|
1257
1281
|
sortBy?: CallHistorySortableFields | undefined;
|
|
1258
1282
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1259
1283
|
agentId?: string | undefined;
|
|
1260
|
-
companyId?: string | undefined;
|
|
1261
|
-
rating?: unknown;
|
|
1262
1284
|
callDate?: {
|
|
1263
1285
|
from?: string | null | undefined;
|
|
1264
1286
|
to?: string | null | undefined;
|
|
1265
1287
|
} | null | undefined;
|
|
1266
1288
|
callType?: CallType | undefined;
|
|
1289
|
+
rating?: {
|
|
1290
|
+
from?: unknown;
|
|
1291
|
+
to?: unknown;
|
|
1292
|
+
} | null | undefined;
|
|
1293
|
+
companyId?: string | undefined;
|
|
1267
1294
|
}>;
|
|
1295
|
+
metadata: {
|
|
1296
|
+
tags: string[];
|
|
1297
|
+
};
|
|
1268
1298
|
summary: "Get call history records";
|
|
1269
1299
|
method: "GET";
|
|
1270
1300
|
path: "/v2/call-history";
|
|
@@ -1415,27 +1445,27 @@ export declare const callHistoryContract: {
|
|
|
1415
1445
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1416
1446
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1417
1447
|
}, "strip", z.ZodTypeAny, {
|
|
1418
|
-
|
|
1448
|
+
id: string;
|
|
1449
|
+
createdAt: string;
|
|
1450
|
+
updatedAt: string;
|
|
1419
1451
|
firstName: string;
|
|
1452
|
+
lastName: string;
|
|
1420
1453
|
email: string;
|
|
1421
|
-
createdAt: string;
|
|
1422
|
-
id: string;
|
|
1423
1454
|
phoneNumbers: {
|
|
1424
1455
|
id: string;
|
|
1425
1456
|
phoneNumber: string;
|
|
1426
1457
|
isPrimary: boolean;
|
|
1427
1458
|
description?: string | null | undefined;
|
|
1428
1459
|
}[];
|
|
1429
|
-
updatedAt: string;
|
|
1430
1460
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1431
1461
|
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;
|
|
1432
1462
|
}, {
|
|
1433
|
-
lastName: string;
|
|
1434
|
-
firstName: string;
|
|
1435
|
-
email: string;
|
|
1436
|
-
createdAt: string | Date;
|
|
1437
1463
|
id: string;
|
|
1464
|
+
createdAt: string | Date;
|
|
1438
1465
|
updatedAt: string | Date;
|
|
1466
|
+
firstName: string;
|
|
1467
|
+
lastName: string;
|
|
1468
|
+
email: string;
|
|
1439
1469
|
phoneNumbers?: {
|
|
1440
1470
|
id: string;
|
|
1441
1471
|
phoneNumber: string;
|
|
@@ -1455,77 +1485,81 @@ export declare const callHistoryContract: {
|
|
|
1455
1485
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1456
1486
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1457
1487
|
}, "strip", z.ZodTypeAny, {
|
|
1458
|
-
createdAt: string;
|
|
1459
1488
|
id: string;
|
|
1489
|
+
createdAt: string;
|
|
1460
1490
|
updatedAt: string;
|
|
1461
1491
|
name: string;
|
|
1462
1492
|
}, {
|
|
1463
|
-
createdAt: string | Date;
|
|
1464
1493
|
id: string;
|
|
1494
|
+
createdAt: string | Date;
|
|
1465
1495
|
updatedAt: string | Date;
|
|
1466
1496
|
name: string;
|
|
1467
1497
|
}>>>;
|
|
1468
1498
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1469
1499
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1470
1500
|
}, "strip", z.ZodTypeAny, {
|
|
1471
|
-
createdAt: string;
|
|
1472
1501
|
id: string;
|
|
1473
1502
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1503
|
+
createdAt: string;
|
|
1474
1504
|
updatedAt: string;
|
|
1505
|
+
leadId: string;
|
|
1475
1506
|
agentId: string | null;
|
|
1476
1507
|
companyId: string | null;
|
|
1477
|
-
leadId: string;
|
|
1478
1508
|
assignedAt: string;
|
|
1479
1509
|
assignedBy: string | null;
|
|
1480
1510
|
company?: {
|
|
1481
|
-
createdAt: string;
|
|
1482
1511
|
id: string;
|
|
1512
|
+
createdAt: string;
|
|
1483
1513
|
updatedAt: string;
|
|
1484
1514
|
name: string;
|
|
1485
1515
|
} | null | undefined;
|
|
1516
|
+
lead?: {
|
|
1517
|
+
phoneNumber: string;
|
|
1518
|
+
name: string;
|
|
1519
|
+
} | undefined;
|
|
1486
1520
|
agent?: {
|
|
1487
|
-
|
|
1521
|
+
id: string;
|
|
1522
|
+
createdAt: string;
|
|
1523
|
+
updatedAt: string;
|
|
1488
1524
|
firstName: string;
|
|
1525
|
+
lastName: string;
|
|
1489
1526
|
email: string;
|
|
1490
|
-
createdAt: string;
|
|
1491
|
-
id: string;
|
|
1492
1527
|
phoneNumbers: {
|
|
1493
1528
|
id: string;
|
|
1494
1529
|
phoneNumber: string;
|
|
1495
1530
|
isPrimary: boolean;
|
|
1496
1531
|
description?: string | null | undefined;
|
|
1497
1532
|
}[];
|
|
1498
|
-
updatedAt: string;
|
|
1499
1533
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1500
1534
|
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;
|
|
1501
1535
|
} | undefined;
|
|
1502
|
-
lead?: {
|
|
1503
|
-
phoneNumber: string;
|
|
1504
|
-
name: string;
|
|
1505
|
-
} | undefined;
|
|
1506
1536
|
}, {
|
|
1507
|
-
createdAt: string | Date;
|
|
1508
1537
|
id: string;
|
|
1509
1538
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1539
|
+
createdAt: string | Date;
|
|
1510
1540
|
updatedAt: string | Date;
|
|
1541
|
+
leadId: string;
|
|
1511
1542
|
agentId: string | null;
|
|
1512
1543
|
companyId: string | null;
|
|
1513
|
-
leadId: string;
|
|
1514
1544
|
assignedAt: string | Date;
|
|
1515
1545
|
assignedBy: string | null;
|
|
1516
1546
|
company?: {
|
|
1517
|
-
createdAt: string | Date;
|
|
1518
1547
|
id: string;
|
|
1548
|
+
createdAt: string | Date;
|
|
1519
1549
|
updatedAt: string | Date;
|
|
1520
1550
|
name: string;
|
|
1521
1551
|
} | null | undefined;
|
|
1552
|
+
lead?: {
|
|
1553
|
+
phoneNumber: string;
|
|
1554
|
+
name: string;
|
|
1555
|
+
} | undefined;
|
|
1522
1556
|
agent?: {
|
|
1523
|
-
lastName: string;
|
|
1524
|
-
firstName: string;
|
|
1525
|
-
email: string;
|
|
1526
|
-
createdAt: string | Date;
|
|
1527
1557
|
id: string;
|
|
1558
|
+
createdAt: string | Date;
|
|
1528
1559
|
updatedAt: string | Date;
|
|
1560
|
+
firstName: string;
|
|
1561
|
+
lastName: string;
|
|
1562
|
+
email: string;
|
|
1529
1563
|
phoneNumbers?: {
|
|
1530
1564
|
id: string;
|
|
1531
1565
|
phoneNumber: string;
|
|
@@ -1535,10 +1569,6 @@ export declare const callHistoryContract: {
|
|
|
1535
1569
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1536
1570
|
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;
|
|
1537
1571
|
} | undefined;
|
|
1538
|
-
lead?: {
|
|
1539
|
-
phoneNumber: string;
|
|
1540
|
-
name: string;
|
|
1541
|
-
} | undefined;
|
|
1542
1572
|
}>>>;
|
|
1543
1573
|
callDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1544
1574
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
@@ -1548,89 +1578,93 @@ export declare const callHistoryContract: {
|
|
|
1548
1578
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1549
1579
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1550
1580
|
}, "strip", z.ZodTypeAny, {
|
|
1551
|
-
createdAt: string;
|
|
1552
1581
|
id: string;
|
|
1582
|
+
createdAt: string;
|
|
1553
1583
|
updatedAt: string;
|
|
1554
|
-
rating: CallRating;
|
|
1555
|
-
notes: string | null;
|
|
1556
1584
|
assignmentId: string;
|
|
1557
1585
|
callDate: string;
|
|
1558
1586
|
callType: CallType;
|
|
1587
|
+
rating: CallRating;
|
|
1559
1588
|
ratingWeight: number;
|
|
1560
|
-
|
|
1589
|
+
notes: string | null;
|
|
1561
1590
|
leadId?: string | undefined;
|
|
1591
|
+
agentId?: string | undefined;
|
|
1562
1592
|
assignment?: {
|
|
1563
|
-
createdAt: string;
|
|
1564
1593
|
id: string;
|
|
1565
1594
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1595
|
+
createdAt: string;
|
|
1566
1596
|
updatedAt: string;
|
|
1597
|
+
leadId: string;
|
|
1567
1598
|
agentId: string | null;
|
|
1568
1599
|
companyId: string | null;
|
|
1569
|
-
leadId: string;
|
|
1570
1600
|
assignedAt: string;
|
|
1571
1601
|
assignedBy: string | null;
|
|
1572
1602
|
company?: {
|
|
1573
|
-
createdAt: string;
|
|
1574
1603
|
id: string;
|
|
1604
|
+
createdAt: string;
|
|
1575
1605
|
updatedAt: string;
|
|
1576
1606
|
name: string;
|
|
1577
1607
|
} | null | undefined;
|
|
1608
|
+
lead?: {
|
|
1609
|
+
phoneNumber: string;
|
|
1610
|
+
name: string;
|
|
1611
|
+
} | undefined;
|
|
1578
1612
|
agent?: {
|
|
1579
|
-
|
|
1613
|
+
id: string;
|
|
1614
|
+
createdAt: string;
|
|
1615
|
+
updatedAt: string;
|
|
1580
1616
|
firstName: string;
|
|
1617
|
+
lastName: string;
|
|
1581
1618
|
email: string;
|
|
1582
|
-
createdAt: string;
|
|
1583
|
-
id: string;
|
|
1584
1619
|
phoneNumbers: {
|
|
1585
1620
|
id: string;
|
|
1586
1621
|
phoneNumber: string;
|
|
1587
1622
|
isPrimary: boolean;
|
|
1588
1623
|
description?: string | null | undefined;
|
|
1589
1624
|
}[];
|
|
1590
|
-
updatedAt: string;
|
|
1591
1625
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1592
1626
|
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;
|
|
1593
1627
|
} | undefined;
|
|
1594
|
-
lead?: {
|
|
1595
|
-
phoneNumber: string;
|
|
1596
|
-
name: string;
|
|
1597
|
-
} | undefined;
|
|
1598
1628
|
} | null | undefined;
|
|
1599
1629
|
}, {
|
|
1600
|
-
createdAt: string | Date;
|
|
1601
1630
|
id: string;
|
|
1631
|
+
createdAt: string | Date;
|
|
1602
1632
|
updatedAt: string | Date;
|
|
1603
|
-
rating: CallRating;
|
|
1604
|
-
notes: string | null;
|
|
1605
1633
|
assignmentId: string;
|
|
1606
1634
|
callDate: string | Date;
|
|
1607
1635
|
callType: CallType;
|
|
1636
|
+
rating: CallRating;
|
|
1608
1637
|
ratingWeight: number;
|
|
1609
|
-
|
|
1638
|
+
notes: string | null;
|
|
1610
1639
|
leadId?: string | undefined;
|
|
1640
|
+
agentId?: string | undefined;
|
|
1611
1641
|
assignment?: {
|
|
1612
|
-
createdAt: string | Date;
|
|
1613
1642
|
id: string;
|
|
1614
1643
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1644
|
+
createdAt: string | Date;
|
|
1615
1645
|
updatedAt: string | Date;
|
|
1646
|
+
leadId: string;
|
|
1616
1647
|
agentId: string | null;
|
|
1617
1648
|
companyId: string | null;
|
|
1618
|
-
leadId: string;
|
|
1619
1649
|
assignedAt: string | Date;
|
|
1620
1650
|
assignedBy: string | null;
|
|
1621
1651
|
company?: {
|
|
1622
|
-
createdAt: string | Date;
|
|
1623
1652
|
id: string;
|
|
1653
|
+
createdAt: string | Date;
|
|
1624
1654
|
updatedAt: string | Date;
|
|
1625
1655
|
name: string;
|
|
1626
1656
|
} | null | undefined;
|
|
1657
|
+
lead?: {
|
|
1658
|
+
phoneNumber: string;
|
|
1659
|
+
name: string;
|
|
1660
|
+
} | undefined;
|
|
1627
1661
|
agent?: {
|
|
1628
|
-
lastName: string;
|
|
1629
|
-
firstName: string;
|
|
1630
|
-
email: string;
|
|
1631
|
-
createdAt: string | Date;
|
|
1632
1662
|
id: string;
|
|
1663
|
+
createdAt: string | Date;
|
|
1633
1664
|
updatedAt: string | Date;
|
|
1665
|
+
firstName: string;
|
|
1666
|
+
lastName: string;
|
|
1667
|
+
email: string;
|
|
1634
1668
|
phoneNumbers?: {
|
|
1635
1669
|
id: string;
|
|
1636
1670
|
phoneNumber: string;
|
|
@@ -1640,10 +1674,6 @@ export declare const callHistoryContract: {
|
|
|
1640
1674
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1641
1675
|
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;
|
|
1642
1676
|
} | undefined;
|
|
1643
|
-
lead?: {
|
|
1644
|
-
phoneNumber: string;
|
|
1645
|
-
name: string;
|
|
1646
|
-
} | undefined;
|
|
1647
1677
|
} | null | undefined;
|
|
1648
1678
|
}>, "many">;
|
|
1649
1679
|
totalCount: z.ZodNumber;
|
|
@@ -1654,53 +1684,53 @@ export declare const callHistoryContract: {
|
|
|
1654
1684
|
}, "strip", z.ZodTypeAny, {
|
|
1655
1685
|
limit: number;
|
|
1656
1686
|
items: {
|
|
1657
|
-
createdAt: string;
|
|
1658
1687
|
id: string;
|
|
1688
|
+
createdAt: string;
|
|
1659
1689
|
updatedAt: string;
|
|
1660
|
-
rating: CallRating;
|
|
1661
|
-
notes: string | null;
|
|
1662
1690
|
assignmentId: string;
|
|
1663
1691
|
callDate: string;
|
|
1664
1692
|
callType: CallType;
|
|
1693
|
+
rating: CallRating;
|
|
1665
1694
|
ratingWeight: number;
|
|
1666
|
-
|
|
1695
|
+
notes: string | null;
|
|
1667
1696
|
leadId?: string | undefined;
|
|
1697
|
+
agentId?: string | undefined;
|
|
1668
1698
|
assignment?: {
|
|
1669
|
-
createdAt: string;
|
|
1670
1699
|
id: string;
|
|
1671
1700
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1701
|
+
createdAt: string;
|
|
1672
1702
|
updatedAt: string;
|
|
1703
|
+
leadId: string;
|
|
1673
1704
|
agentId: string | null;
|
|
1674
1705
|
companyId: string | null;
|
|
1675
|
-
leadId: string;
|
|
1676
1706
|
assignedAt: string;
|
|
1677
1707
|
assignedBy: string | null;
|
|
1678
1708
|
company?: {
|
|
1679
|
-
createdAt: string;
|
|
1680
1709
|
id: string;
|
|
1710
|
+
createdAt: string;
|
|
1681
1711
|
updatedAt: string;
|
|
1682
1712
|
name: string;
|
|
1683
1713
|
} | null | undefined;
|
|
1714
|
+
lead?: {
|
|
1715
|
+
phoneNumber: string;
|
|
1716
|
+
name: string;
|
|
1717
|
+
} | undefined;
|
|
1684
1718
|
agent?: {
|
|
1685
|
-
|
|
1719
|
+
id: string;
|
|
1720
|
+
createdAt: string;
|
|
1721
|
+
updatedAt: string;
|
|
1686
1722
|
firstName: string;
|
|
1723
|
+
lastName: string;
|
|
1687
1724
|
email: string;
|
|
1688
|
-
createdAt: string;
|
|
1689
|
-
id: string;
|
|
1690
1725
|
phoneNumbers: {
|
|
1691
1726
|
id: string;
|
|
1692
1727
|
phoneNumber: string;
|
|
1693
1728
|
isPrimary: boolean;
|
|
1694
1729
|
description?: string | null | undefined;
|
|
1695
1730
|
}[];
|
|
1696
|
-
updatedAt: string;
|
|
1697
1731
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1698
1732
|
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;
|
|
1699
1733
|
} | undefined;
|
|
1700
|
-
lead?: {
|
|
1701
|
-
phoneNumber: string;
|
|
1702
|
-
name: string;
|
|
1703
|
-
} | undefined;
|
|
1704
1734
|
} | null | undefined;
|
|
1705
1735
|
}[];
|
|
1706
1736
|
totalCount: number;
|
|
@@ -1710,40 +1740,44 @@ export declare const callHistoryContract: {
|
|
|
1710
1740
|
}, {
|
|
1711
1741
|
limit: number;
|
|
1712
1742
|
items: {
|
|
1713
|
-
createdAt: string | Date;
|
|
1714
1743
|
id: string;
|
|
1744
|
+
createdAt: string | Date;
|
|
1715
1745
|
updatedAt: string | Date;
|
|
1716
|
-
rating: CallRating;
|
|
1717
|
-
notes: string | null;
|
|
1718
1746
|
assignmentId: string;
|
|
1719
1747
|
callDate: string | Date;
|
|
1720
1748
|
callType: CallType;
|
|
1749
|
+
rating: CallRating;
|
|
1721
1750
|
ratingWeight: number;
|
|
1722
|
-
|
|
1751
|
+
notes: string | null;
|
|
1723
1752
|
leadId?: string | undefined;
|
|
1753
|
+
agentId?: string | undefined;
|
|
1724
1754
|
assignment?: {
|
|
1725
|
-
createdAt: string | Date;
|
|
1726
1755
|
id: string;
|
|
1727
1756
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1757
|
+
createdAt: string | Date;
|
|
1728
1758
|
updatedAt: string | Date;
|
|
1759
|
+
leadId: string;
|
|
1729
1760
|
agentId: string | null;
|
|
1730
1761
|
companyId: string | null;
|
|
1731
|
-
leadId: string;
|
|
1732
1762
|
assignedAt: string | Date;
|
|
1733
1763
|
assignedBy: string | null;
|
|
1734
1764
|
company?: {
|
|
1735
|
-
createdAt: string | Date;
|
|
1736
1765
|
id: string;
|
|
1766
|
+
createdAt: string | Date;
|
|
1737
1767
|
updatedAt: string | Date;
|
|
1738
1768
|
name: string;
|
|
1739
1769
|
} | null | undefined;
|
|
1770
|
+
lead?: {
|
|
1771
|
+
phoneNumber: string;
|
|
1772
|
+
name: string;
|
|
1773
|
+
} | undefined;
|
|
1740
1774
|
agent?: {
|
|
1741
|
-
lastName: string;
|
|
1742
|
-
firstName: string;
|
|
1743
|
-
email: string;
|
|
1744
|
-
createdAt: string | Date;
|
|
1745
1775
|
id: string;
|
|
1776
|
+
createdAt: string | Date;
|
|
1746
1777
|
updatedAt: string | Date;
|
|
1778
|
+
firstName: string;
|
|
1779
|
+
lastName: string;
|
|
1780
|
+
email: string;
|
|
1747
1781
|
phoneNumbers?: {
|
|
1748
1782
|
id: string;
|
|
1749
1783
|
phoneNumber: string;
|
|
@@ -1753,10 +1787,6 @@ export declare const callHistoryContract: {
|
|
|
1753
1787
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1754
1788
|
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;
|
|
1755
1789
|
} | undefined;
|
|
1756
|
-
lead?: {
|
|
1757
|
-
phoneNumber: string;
|
|
1758
|
-
name: string;
|
|
1759
|
-
} | undefined;
|
|
1760
1790
|
} | null | undefined;
|
|
1761
1791
|
}[];
|
|
1762
1792
|
totalCount: number;
|
|
@@ -1926,27 +1956,27 @@ export declare const callHistoryContract: {
|
|
|
1926
1956
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1927
1957
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1928
1958
|
}, "strip", z.ZodTypeAny, {
|
|
1929
|
-
|
|
1959
|
+
id: string;
|
|
1960
|
+
createdAt: string;
|
|
1961
|
+
updatedAt: string;
|
|
1930
1962
|
firstName: string;
|
|
1963
|
+
lastName: string;
|
|
1931
1964
|
email: string;
|
|
1932
|
-
createdAt: string;
|
|
1933
|
-
id: string;
|
|
1934
1965
|
phoneNumbers: {
|
|
1935
1966
|
id: string;
|
|
1936
1967
|
phoneNumber: string;
|
|
1937
1968
|
isPrimary: boolean;
|
|
1938
1969
|
description?: string | null | undefined;
|
|
1939
1970
|
}[];
|
|
1940
|
-
updatedAt: string;
|
|
1941
1971
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1942
1972
|
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;
|
|
1943
1973
|
}, {
|
|
1944
|
-
lastName: string;
|
|
1945
|
-
firstName: string;
|
|
1946
|
-
email: string;
|
|
1947
|
-
createdAt: string | Date;
|
|
1948
1974
|
id: string;
|
|
1975
|
+
createdAt: string | Date;
|
|
1949
1976
|
updatedAt: string | Date;
|
|
1977
|
+
firstName: string;
|
|
1978
|
+
lastName: string;
|
|
1979
|
+
email: string;
|
|
1950
1980
|
phoneNumbers?: {
|
|
1951
1981
|
id: string;
|
|
1952
1982
|
phoneNumber: string;
|
|
@@ -1966,77 +1996,81 @@ export declare const callHistoryContract: {
|
|
|
1966
1996
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1967
1997
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1968
1998
|
}, "strip", z.ZodTypeAny, {
|
|
1969
|
-
createdAt: string;
|
|
1970
1999
|
id: string;
|
|
2000
|
+
createdAt: string;
|
|
1971
2001
|
updatedAt: string;
|
|
1972
2002
|
name: string;
|
|
1973
2003
|
}, {
|
|
1974
|
-
createdAt: string | Date;
|
|
1975
2004
|
id: string;
|
|
2005
|
+
createdAt: string | Date;
|
|
1976
2006
|
updatedAt: string | Date;
|
|
1977
2007
|
name: string;
|
|
1978
2008
|
}>>>;
|
|
1979
2009
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1980
2010
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1981
2011
|
}, "strip", z.ZodTypeAny, {
|
|
1982
|
-
createdAt: string;
|
|
1983
2012
|
id: string;
|
|
1984
2013
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2014
|
+
createdAt: string;
|
|
1985
2015
|
updatedAt: string;
|
|
2016
|
+
leadId: string;
|
|
1986
2017
|
agentId: string | null;
|
|
1987
2018
|
companyId: string | null;
|
|
1988
|
-
leadId: string;
|
|
1989
2019
|
assignedAt: string;
|
|
1990
2020
|
assignedBy: string | null;
|
|
1991
2021
|
company?: {
|
|
1992
|
-
createdAt: string;
|
|
1993
2022
|
id: string;
|
|
2023
|
+
createdAt: string;
|
|
1994
2024
|
updatedAt: string;
|
|
1995
2025
|
name: string;
|
|
1996
2026
|
} | null | undefined;
|
|
2027
|
+
lead?: {
|
|
2028
|
+
phoneNumber: string;
|
|
2029
|
+
name: string;
|
|
2030
|
+
} | undefined;
|
|
1997
2031
|
agent?: {
|
|
1998
|
-
|
|
2032
|
+
id: string;
|
|
2033
|
+
createdAt: string;
|
|
2034
|
+
updatedAt: string;
|
|
1999
2035
|
firstName: string;
|
|
2036
|
+
lastName: string;
|
|
2000
2037
|
email: string;
|
|
2001
|
-
createdAt: string;
|
|
2002
|
-
id: string;
|
|
2003
2038
|
phoneNumbers: {
|
|
2004
2039
|
id: string;
|
|
2005
2040
|
phoneNumber: string;
|
|
2006
2041
|
isPrimary: boolean;
|
|
2007
2042
|
description?: string | null | undefined;
|
|
2008
2043
|
}[];
|
|
2009
|
-
updatedAt: string;
|
|
2010
2044
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2011
2045
|
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;
|
|
2012
2046
|
} | undefined;
|
|
2013
|
-
lead?: {
|
|
2014
|
-
phoneNumber: string;
|
|
2015
|
-
name: string;
|
|
2016
|
-
} | undefined;
|
|
2017
2047
|
}, {
|
|
2018
|
-
createdAt: string | Date;
|
|
2019
2048
|
id: string;
|
|
2020
2049
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2050
|
+
createdAt: string | Date;
|
|
2021
2051
|
updatedAt: string | Date;
|
|
2052
|
+
leadId: string;
|
|
2022
2053
|
agentId: string | null;
|
|
2023
2054
|
companyId: string | null;
|
|
2024
|
-
leadId: string;
|
|
2025
2055
|
assignedAt: string | Date;
|
|
2026
2056
|
assignedBy: string | null;
|
|
2027
2057
|
company?: {
|
|
2028
|
-
createdAt: string | Date;
|
|
2029
2058
|
id: string;
|
|
2059
|
+
createdAt: string | Date;
|
|
2030
2060
|
updatedAt: string | Date;
|
|
2031
2061
|
name: string;
|
|
2032
2062
|
} | null | undefined;
|
|
2063
|
+
lead?: {
|
|
2064
|
+
phoneNumber: string;
|
|
2065
|
+
name: string;
|
|
2066
|
+
} | undefined;
|
|
2033
2067
|
agent?: {
|
|
2034
|
-
lastName: string;
|
|
2035
|
-
firstName: string;
|
|
2036
|
-
email: string;
|
|
2037
|
-
createdAt: string | Date;
|
|
2038
2068
|
id: string;
|
|
2069
|
+
createdAt: string | Date;
|
|
2039
2070
|
updatedAt: string | Date;
|
|
2071
|
+
firstName: string;
|
|
2072
|
+
lastName: string;
|
|
2073
|
+
email: string;
|
|
2040
2074
|
phoneNumbers?: {
|
|
2041
2075
|
id: string;
|
|
2042
2076
|
phoneNumber: string;
|
|
@@ -2046,10 +2080,6 @@ export declare const callHistoryContract: {
|
|
|
2046
2080
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2047
2081
|
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;
|
|
2048
2082
|
} | undefined;
|
|
2049
|
-
lead?: {
|
|
2050
|
-
phoneNumber: string;
|
|
2051
|
-
name: string;
|
|
2052
|
-
} | undefined;
|
|
2053
2083
|
}>>>;
|
|
2054
2084
|
callDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2055
2085
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
@@ -2059,89 +2089,93 @@ export declare const callHistoryContract: {
|
|
|
2059
2089
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2060
2090
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2061
2091
|
}, "strip", z.ZodTypeAny, {
|
|
2062
|
-
createdAt: string;
|
|
2063
2092
|
id: string;
|
|
2093
|
+
createdAt: string;
|
|
2064
2094
|
updatedAt: string;
|
|
2065
|
-
rating: CallRating;
|
|
2066
|
-
notes: string | null;
|
|
2067
2095
|
assignmentId: string;
|
|
2068
2096
|
callDate: string;
|
|
2069
2097
|
callType: CallType;
|
|
2098
|
+
rating: CallRating;
|
|
2070
2099
|
ratingWeight: number;
|
|
2071
|
-
|
|
2100
|
+
notes: string | null;
|
|
2072
2101
|
leadId?: string | undefined;
|
|
2102
|
+
agentId?: string | undefined;
|
|
2073
2103
|
assignment?: {
|
|
2074
|
-
createdAt: string;
|
|
2075
2104
|
id: string;
|
|
2076
2105
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2106
|
+
createdAt: string;
|
|
2077
2107
|
updatedAt: string;
|
|
2108
|
+
leadId: string;
|
|
2078
2109
|
agentId: string | null;
|
|
2079
2110
|
companyId: string | null;
|
|
2080
|
-
leadId: string;
|
|
2081
2111
|
assignedAt: string;
|
|
2082
2112
|
assignedBy: string | null;
|
|
2083
2113
|
company?: {
|
|
2084
|
-
createdAt: string;
|
|
2085
2114
|
id: string;
|
|
2115
|
+
createdAt: string;
|
|
2086
2116
|
updatedAt: string;
|
|
2087
2117
|
name: string;
|
|
2088
2118
|
} | null | undefined;
|
|
2119
|
+
lead?: {
|
|
2120
|
+
phoneNumber: string;
|
|
2121
|
+
name: string;
|
|
2122
|
+
} | undefined;
|
|
2089
2123
|
agent?: {
|
|
2090
|
-
|
|
2124
|
+
id: string;
|
|
2125
|
+
createdAt: string;
|
|
2126
|
+
updatedAt: string;
|
|
2091
2127
|
firstName: string;
|
|
2128
|
+
lastName: string;
|
|
2092
2129
|
email: string;
|
|
2093
|
-
createdAt: string;
|
|
2094
|
-
id: string;
|
|
2095
2130
|
phoneNumbers: {
|
|
2096
2131
|
id: string;
|
|
2097
2132
|
phoneNumber: string;
|
|
2098
2133
|
isPrimary: boolean;
|
|
2099
2134
|
description?: string | null | undefined;
|
|
2100
2135
|
}[];
|
|
2101
|
-
updatedAt: string;
|
|
2102
2136
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2103
2137
|
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;
|
|
2104
2138
|
} | undefined;
|
|
2105
|
-
lead?: {
|
|
2106
|
-
phoneNumber: string;
|
|
2107
|
-
name: string;
|
|
2108
|
-
} | undefined;
|
|
2109
2139
|
} | null | undefined;
|
|
2110
2140
|
}, {
|
|
2111
|
-
createdAt: string | Date;
|
|
2112
2141
|
id: string;
|
|
2142
|
+
createdAt: string | Date;
|
|
2113
2143
|
updatedAt: string | Date;
|
|
2114
|
-
rating: CallRating;
|
|
2115
|
-
notes: string | null;
|
|
2116
2144
|
assignmentId: string;
|
|
2117
2145
|
callDate: string | Date;
|
|
2118
2146
|
callType: CallType;
|
|
2147
|
+
rating: CallRating;
|
|
2119
2148
|
ratingWeight: number;
|
|
2120
|
-
|
|
2149
|
+
notes: string | null;
|
|
2121
2150
|
leadId?: string | undefined;
|
|
2151
|
+
agentId?: string | undefined;
|
|
2122
2152
|
assignment?: {
|
|
2123
|
-
createdAt: string | Date;
|
|
2124
2153
|
id: string;
|
|
2125
2154
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2155
|
+
createdAt: string | Date;
|
|
2126
2156
|
updatedAt: string | Date;
|
|
2157
|
+
leadId: string;
|
|
2127
2158
|
agentId: string | null;
|
|
2128
2159
|
companyId: string | null;
|
|
2129
|
-
leadId: string;
|
|
2130
2160
|
assignedAt: string | Date;
|
|
2131
2161
|
assignedBy: string | null;
|
|
2132
2162
|
company?: {
|
|
2133
|
-
createdAt: string | Date;
|
|
2134
2163
|
id: string;
|
|
2164
|
+
createdAt: string | Date;
|
|
2135
2165
|
updatedAt: string | Date;
|
|
2136
2166
|
name: string;
|
|
2137
2167
|
} | null | undefined;
|
|
2168
|
+
lead?: {
|
|
2169
|
+
phoneNumber: string;
|
|
2170
|
+
name: string;
|
|
2171
|
+
} | undefined;
|
|
2138
2172
|
agent?: {
|
|
2139
|
-
lastName: string;
|
|
2140
|
-
firstName: string;
|
|
2141
|
-
email: string;
|
|
2142
|
-
createdAt: string | Date;
|
|
2143
2173
|
id: string;
|
|
2174
|
+
createdAt: string | Date;
|
|
2144
2175
|
updatedAt: string | Date;
|
|
2176
|
+
firstName: string;
|
|
2177
|
+
lastName: string;
|
|
2178
|
+
email: string;
|
|
2145
2179
|
phoneNumbers?: {
|
|
2146
2180
|
id: string;
|
|
2147
2181
|
phoneNumber: string;
|
|
@@ -2151,10 +2185,6 @@ export declare const callHistoryContract: {
|
|
|
2151
2185
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2152
2186
|
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;
|
|
2153
2187
|
} | undefined;
|
|
2154
|
-
lead?: {
|
|
2155
|
-
phoneNumber: string;
|
|
2156
|
-
name: string;
|
|
2157
|
-
} | undefined;
|
|
2158
2188
|
} | null | undefined;
|
|
2159
2189
|
}>;
|
|
2160
2190
|
404: z.ZodObject<{
|
|
@@ -2202,13 +2232,13 @@ export declare const callHistoryContract: {
|
|
|
2202
2232
|
rating: z.ZodOptional<z.ZodNativeEnum<typeof CallRating>>;
|
|
2203
2233
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2204
2234
|
}, "strip", z.ZodTypeAny, {
|
|
2235
|
+
callDate?: string | undefined;
|
|
2205
2236
|
rating?: CallRating | undefined;
|
|
2206
2237
|
notes?: string | null | undefined;
|
|
2207
|
-
callDate?: string | undefined;
|
|
2208
2238
|
}, {
|
|
2239
|
+
callDate?: string | undefined;
|
|
2209
2240
|
rating?: CallRating | undefined;
|
|
2210
2241
|
notes?: string | null | undefined;
|
|
2211
|
-
callDate?: string | undefined;
|
|
2212
2242
|
}>;
|
|
2213
2243
|
path: "/v2/call-history/:id";
|
|
2214
2244
|
responses: {
|
|
@@ -2357,27 +2387,27 @@ export declare const callHistoryContract: {
|
|
|
2357
2387
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2358
2388
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2359
2389
|
}, "strip", z.ZodTypeAny, {
|
|
2360
|
-
|
|
2390
|
+
id: string;
|
|
2391
|
+
createdAt: string;
|
|
2392
|
+
updatedAt: string;
|
|
2361
2393
|
firstName: string;
|
|
2394
|
+
lastName: string;
|
|
2362
2395
|
email: string;
|
|
2363
|
-
createdAt: string;
|
|
2364
|
-
id: string;
|
|
2365
2396
|
phoneNumbers: {
|
|
2366
2397
|
id: string;
|
|
2367
2398
|
phoneNumber: string;
|
|
2368
2399
|
isPrimary: boolean;
|
|
2369
2400
|
description?: string | null | undefined;
|
|
2370
2401
|
}[];
|
|
2371
|
-
updatedAt: string;
|
|
2372
2402
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2373
2403
|
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;
|
|
2374
2404
|
}, {
|
|
2375
|
-
lastName: string;
|
|
2376
|
-
firstName: string;
|
|
2377
|
-
email: string;
|
|
2378
|
-
createdAt: string | Date;
|
|
2379
2405
|
id: string;
|
|
2406
|
+
createdAt: string | Date;
|
|
2380
2407
|
updatedAt: string | Date;
|
|
2408
|
+
firstName: string;
|
|
2409
|
+
lastName: string;
|
|
2410
|
+
email: string;
|
|
2381
2411
|
phoneNumbers?: {
|
|
2382
2412
|
id: string;
|
|
2383
2413
|
phoneNumber: string;
|
|
@@ -2397,77 +2427,81 @@ export declare const callHistoryContract: {
|
|
|
2397
2427
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2398
2428
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2399
2429
|
}, "strip", z.ZodTypeAny, {
|
|
2400
|
-
createdAt: string;
|
|
2401
2430
|
id: string;
|
|
2431
|
+
createdAt: string;
|
|
2402
2432
|
updatedAt: string;
|
|
2403
2433
|
name: string;
|
|
2404
2434
|
}, {
|
|
2405
|
-
createdAt: string | Date;
|
|
2406
2435
|
id: string;
|
|
2436
|
+
createdAt: string | Date;
|
|
2407
2437
|
updatedAt: string | Date;
|
|
2408
2438
|
name: string;
|
|
2409
2439
|
}>>>;
|
|
2410
2440
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2411
2441
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2412
2442
|
}, "strip", z.ZodTypeAny, {
|
|
2413
|
-
createdAt: string;
|
|
2414
2443
|
id: string;
|
|
2415
2444
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2445
|
+
createdAt: string;
|
|
2416
2446
|
updatedAt: string;
|
|
2447
|
+
leadId: string;
|
|
2417
2448
|
agentId: string | null;
|
|
2418
2449
|
companyId: string | null;
|
|
2419
|
-
leadId: string;
|
|
2420
2450
|
assignedAt: string;
|
|
2421
2451
|
assignedBy: string | null;
|
|
2422
2452
|
company?: {
|
|
2423
|
-
createdAt: string;
|
|
2424
2453
|
id: string;
|
|
2454
|
+
createdAt: string;
|
|
2425
2455
|
updatedAt: string;
|
|
2426
2456
|
name: string;
|
|
2427
2457
|
} | null | undefined;
|
|
2458
|
+
lead?: {
|
|
2459
|
+
phoneNumber: string;
|
|
2460
|
+
name: string;
|
|
2461
|
+
} | undefined;
|
|
2428
2462
|
agent?: {
|
|
2429
|
-
|
|
2463
|
+
id: string;
|
|
2464
|
+
createdAt: string;
|
|
2465
|
+
updatedAt: string;
|
|
2430
2466
|
firstName: string;
|
|
2467
|
+
lastName: string;
|
|
2431
2468
|
email: string;
|
|
2432
|
-
createdAt: string;
|
|
2433
|
-
id: string;
|
|
2434
2469
|
phoneNumbers: {
|
|
2435
2470
|
id: string;
|
|
2436
2471
|
phoneNumber: string;
|
|
2437
2472
|
isPrimary: boolean;
|
|
2438
2473
|
description?: string | null | undefined;
|
|
2439
2474
|
}[];
|
|
2440
|
-
updatedAt: string;
|
|
2441
2475
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2442
2476
|
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;
|
|
2443
2477
|
} | undefined;
|
|
2444
|
-
lead?: {
|
|
2445
|
-
phoneNumber: string;
|
|
2446
|
-
name: string;
|
|
2447
|
-
} | undefined;
|
|
2448
2478
|
}, {
|
|
2449
|
-
createdAt: string | Date;
|
|
2450
2479
|
id: string;
|
|
2451
2480
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2481
|
+
createdAt: string | Date;
|
|
2452
2482
|
updatedAt: string | Date;
|
|
2483
|
+
leadId: string;
|
|
2453
2484
|
agentId: string | null;
|
|
2454
2485
|
companyId: string | null;
|
|
2455
|
-
leadId: string;
|
|
2456
2486
|
assignedAt: string | Date;
|
|
2457
2487
|
assignedBy: string | null;
|
|
2458
2488
|
company?: {
|
|
2459
|
-
createdAt: string | Date;
|
|
2460
2489
|
id: string;
|
|
2490
|
+
createdAt: string | Date;
|
|
2461
2491
|
updatedAt: string | Date;
|
|
2462
2492
|
name: string;
|
|
2463
2493
|
} | null | undefined;
|
|
2494
|
+
lead?: {
|
|
2495
|
+
phoneNumber: string;
|
|
2496
|
+
name: string;
|
|
2497
|
+
} | undefined;
|
|
2464
2498
|
agent?: {
|
|
2465
|
-
lastName: string;
|
|
2466
|
-
firstName: string;
|
|
2467
|
-
email: string;
|
|
2468
|
-
createdAt: string | Date;
|
|
2469
2499
|
id: string;
|
|
2500
|
+
createdAt: string | Date;
|
|
2470
2501
|
updatedAt: string | Date;
|
|
2502
|
+
firstName: string;
|
|
2503
|
+
lastName: string;
|
|
2504
|
+
email: string;
|
|
2471
2505
|
phoneNumbers?: {
|
|
2472
2506
|
id: string;
|
|
2473
2507
|
phoneNumber: string;
|
|
@@ -2477,10 +2511,6 @@ export declare const callHistoryContract: {
|
|
|
2477
2511
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2478
2512
|
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;
|
|
2479
2513
|
} | undefined;
|
|
2480
|
-
lead?: {
|
|
2481
|
-
phoneNumber: string;
|
|
2482
|
-
name: string;
|
|
2483
|
-
} | undefined;
|
|
2484
2514
|
}>>>;
|
|
2485
2515
|
callDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2486
2516
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
@@ -2490,89 +2520,93 @@ export declare const callHistoryContract: {
|
|
|
2490
2520
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2491
2521
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2492
2522
|
}, "strip", z.ZodTypeAny, {
|
|
2493
|
-
createdAt: string;
|
|
2494
2523
|
id: string;
|
|
2524
|
+
createdAt: string;
|
|
2495
2525
|
updatedAt: string;
|
|
2496
|
-
rating: CallRating;
|
|
2497
|
-
notes: string | null;
|
|
2498
2526
|
assignmentId: string;
|
|
2499
2527
|
callDate: string;
|
|
2500
2528
|
callType: CallType;
|
|
2529
|
+
rating: CallRating;
|
|
2501
2530
|
ratingWeight: number;
|
|
2502
|
-
|
|
2531
|
+
notes: string | null;
|
|
2503
2532
|
leadId?: string | undefined;
|
|
2533
|
+
agentId?: string | undefined;
|
|
2504
2534
|
assignment?: {
|
|
2505
|
-
createdAt: string;
|
|
2506
2535
|
id: string;
|
|
2507
2536
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2537
|
+
createdAt: string;
|
|
2508
2538
|
updatedAt: string;
|
|
2539
|
+
leadId: string;
|
|
2509
2540
|
agentId: string | null;
|
|
2510
2541
|
companyId: string | null;
|
|
2511
|
-
leadId: string;
|
|
2512
2542
|
assignedAt: string;
|
|
2513
2543
|
assignedBy: string | null;
|
|
2514
2544
|
company?: {
|
|
2515
|
-
createdAt: string;
|
|
2516
2545
|
id: string;
|
|
2546
|
+
createdAt: string;
|
|
2517
2547
|
updatedAt: string;
|
|
2518
2548
|
name: string;
|
|
2519
2549
|
} | null | undefined;
|
|
2550
|
+
lead?: {
|
|
2551
|
+
phoneNumber: string;
|
|
2552
|
+
name: string;
|
|
2553
|
+
} | undefined;
|
|
2520
2554
|
agent?: {
|
|
2521
|
-
|
|
2555
|
+
id: string;
|
|
2556
|
+
createdAt: string;
|
|
2557
|
+
updatedAt: string;
|
|
2522
2558
|
firstName: string;
|
|
2559
|
+
lastName: string;
|
|
2523
2560
|
email: string;
|
|
2524
|
-
createdAt: string;
|
|
2525
|
-
id: string;
|
|
2526
2561
|
phoneNumbers: {
|
|
2527
2562
|
id: string;
|
|
2528
2563
|
phoneNumber: string;
|
|
2529
2564
|
isPrimary: boolean;
|
|
2530
2565
|
description?: string | null | undefined;
|
|
2531
2566
|
}[];
|
|
2532
|
-
updatedAt: string;
|
|
2533
2567
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2534
2568
|
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;
|
|
2535
2569
|
} | undefined;
|
|
2536
|
-
lead?: {
|
|
2537
|
-
phoneNumber: string;
|
|
2538
|
-
name: string;
|
|
2539
|
-
} | undefined;
|
|
2540
2570
|
} | null | undefined;
|
|
2541
2571
|
}, {
|
|
2542
|
-
createdAt: string | Date;
|
|
2543
2572
|
id: string;
|
|
2573
|
+
createdAt: string | Date;
|
|
2544
2574
|
updatedAt: string | Date;
|
|
2545
|
-
rating: CallRating;
|
|
2546
|
-
notes: string | null;
|
|
2547
2575
|
assignmentId: string;
|
|
2548
2576
|
callDate: string | Date;
|
|
2549
2577
|
callType: CallType;
|
|
2578
|
+
rating: CallRating;
|
|
2550
2579
|
ratingWeight: number;
|
|
2551
|
-
|
|
2580
|
+
notes: string | null;
|
|
2552
2581
|
leadId?: string | undefined;
|
|
2582
|
+
agentId?: string | undefined;
|
|
2553
2583
|
assignment?: {
|
|
2554
|
-
createdAt: string | Date;
|
|
2555
2584
|
id: string;
|
|
2556
2585
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2586
|
+
createdAt: string | Date;
|
|
2557
2587
|
updatedAt: string | Date;
|
|
2588
|
+
leadId: string;
|
|
2558
2589
|
agentId: string | null;
|
|
2559
2590
|
companyId: string | null;
|
|
2560
|
-
leadId: string;
|
|
2561
2591
|
assignedAt: string | Date;
|
|
2562
2592
|
assignedBy: string | null;
|
|
2563
2593
|
company?: {
|
|
2564
|
-
createdAt: string | Date;
|
|
2565
2594
|
id: string;
|
|
2595
|
+
createdAt: string | Date;
|
|
2566
2596
|
updatedAt: string | Date;
|
|
2567
2597
|
name: string;
|
|
2568
2598
|
} | null | undefined;
|
|
2599
|
+
lead?: {
|
|
2600
|
+
phoneNumber: string;
|
|
2601
|
+
name: string;
|
|
2602
|
+
} | undefined;
|
|
2569
2603
|
agent?: {
|
|
2570
|
-
lastName: string;
|
|
2571
|
-
firstName: string;
|
|
2572
|
-
email: string;
|
|
2573
|
-
createdAt: string | Date;
|
|
2574
2604
|
id: string;
|
|
2605
|
+
createdAt: string | Date;
|
|
2575
2606
|
updatedAt: string | Date;
|
|
2607
|
+
firstName: string;
|
|
2608
|
+
lastName: string;
|
|
2609
|
+
email: string;
|
|
2576
2610
|
phoneNumbers?: {
|
|
2577
2611
|
id: string;
|
|
2578
2612
|
phoneNumber: string;
|
|
@@ -2582,10 +2616,6 @@ export declare const callHistoryContract: {
|
|
|
2582
2616
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2583
2617
|
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;
|
|
2584
2618
|
} | undefined;
|
|
2585
|
-
lead?: {
|
|
2586
|
-
phoneNumber: string;
|
|
2587
|
-
name: string;
|
|
2588
|
-
} | undefined;
|
|
2589
2619
|
} | null | undefined;
|
|
2590
2620
|
}>;
|
|
2591
2621
|
404: z.ZodObject<{
|