@dakkitor/api-contracts 1.1.125 → 1.1.127
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/abilities/second-agent.abilities.json +4 -10
- package/dist/actives/actives.contract.d.ts +4114 -4056
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +538 -538
- package/dist/bookings/bookings.contract.d.ts +15340 -15116
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/call-history/call-history.contract.d.ts +183 -183
- package/dist/client-contacts/client-contacts.contract.d.ts +502 -502
- package/dist/clients/clients.contract.d.ts +172 -172
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +1558 -1558
- package/dist/collaborations/collaborations.contract.d.ts +1316 -1316
- package/dist/common/common-schemas.d.ts +8 -8
- package/dist/companies/companies.contract.d.ts +12 -12
- package/dist/cron-executions/cron-executions.contract.d.ts +6 -6
- package/dist/curated-workers/curated-workers.contract.d.ts +450 -450
- package/dist/curated-workers/curated-workers.contract.d.ts.map +1 -1
- package/dist/curated-workers/curated-workers.contract.js +4 -2
- package/dist/dashboards/agent-daily-metrics.contract.d.ts +3 -3
- package/dist/dashboards/dashboard-widgets.contract.d.ts +60 -60
- package/dist/dashboards/dashboard.contract.d.ts +34 -34
- package/dist/files/files.contract.d.ts +24 -24
- package/dist/jobs/jobs.contract.d.ts +3327 -3135
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/jobs/jobs.contract.js +198 -148
- package/dist/lead-assignments/lead-assignments.contract.d.ts +66 -66
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +53 -53
- package/dist/lead-distribution/lead-distribution-config.contract.d.ts +7 -7
- package/dist/leads/leads.contract.d.ts +161 -161
- package/dist/locations/locations.contract.d.ts +21 -21
- package/dist/postcodes/postcodes.contract.d.ts +18 -18
- package/dist/qualifications/qualifications.contract.d.ts +22 -22
- package/dist/trades/trades.contract.d.ts +16 -16
- package/dist/users/users.contract.d.ts +36 -36
- package/dist/workers/workers.contract.d.ts +651 -651
- package/package.json +1 -1
|
@@ -32,11 +32,11 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
32
32
|
name: z.ZodString;
|
|
33
33
|
phoneNumber: z.ZodString;
|
|
34
34
|
}, "strip", z.ZodTypeAny, {
|
|
35
|
-
phoneNumber: string;
|
|
36
35
|
name: string;
|
|
37
|
-
}, {
|
|
38
36
|
phoneNumber: string;
|
|
37
|
+
}, {
|
|
39
38
|
name: string;
|
|
39
|
+
phoneNumber: string;
|
|
40
40
|
}>>;
|
|
41
41
|
agentId: z.ZodNullable<z.ZodString>;
|
|
42
42
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -122,9 +122,9 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
122
122
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
123
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?: {
|
|
@@ -150,17 +150,17 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
150
150
|
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
151
|
} | undefined;
|
|
152
152
|
lead?: {
|
|
153
|
-
phoneNumber: string;
|
|
154
153
|
name: string;
|
|
154
|
+
phoneNumber: string;
|
|
155
155
|
} | undefined;
|
|
156
156
|
}, {
|
|
157
157
|
id: string;
|
|
158
158
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
159
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?: {
|
|
@@ -186,8 +186,8 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
186
186
|
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
187
|
} | undefined;
|
|
188
188
|
lead?: {
|
|
189
|
-
phoneNumber: string;
|
|
190
189
|
name: string;
|
|
190
|
+
phoneNumber: string;
|
|
191
191
|
} | undefined;
|
|
192
192
|
}>>>;
|
|
193
193
|
callDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -201,22 +201,22 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
201
201
|
id: string;
|
|
202
202
|
createdAt: string;
|
|
203
203
|
updatedAt: string;
|
|
204
|
-
rating: CallRating;
|
|
205
|
-
notes: string | null;
|
|
206
|
-
callDate: string;
|
|
207
|
-
ratingWeight: number;
|
|
208
204
|
assignmentId: string;
|
|
205
|
+
callDate: string;
|
|
209
206
|
callType: CallType;
|
|
210
|
-
|
|
207
|
+
rating: CallRating;
|
|
208
|
+
ratingWeight: number;
|
|
209
|
+
notes: string | null;
|
|
211
210
|
leadId?: string | undefined;
|
|
211
|
+
agentId?: string | undefined;
|
|
212
212
|
assignment?: {
|
|
213
213
|
id: string;
|
|
214
214
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
215
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?: {
|
|
@@ -242,30 +242,30 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
242
242
|
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
243
|
} | undefined;
|
|
244
244
|
lead?: {
|
|
245
|
-
phoneNumber: string;
|
|
246
245
|
name: string;
|
|
246
|
+
phoneNumber: string;
|
|
247
247
|
} | undefined;
|
|
248
248
|
} | null | undefined;
|
|
249
249
|
}, {
|
|
250
250
|
id: string;
|
|
251
251
|
createdAt: string | Date;
|
|
252
252
|
updatedAt: string | Date;
|
|
253
|
-
rating: CallRating;
|
|
254
|
-
notes: string | null;
|
|
255
|
-
callDate: string | Date;
|
|
256
|
-
ratingWeight: number;
|
|
257
253
|
assignmentId: string;
|
|
254
|
+
callDate: string | Date;
|
|
258
255
|
callType: CallType;
|
|
259
|
-
|
|
256
|
+
rating: CallRating;
|
|
257
|
+
ratingWeight: number;
|
|
258
|
+
notes: string | null;
|
|
260
259
|
leadId?: string | undefined;
|
|
260
|
+
agentId?: string | undefined;
|
|
261
261
|
assignment?: {
|
|
262
262
|
id: string;
|
|
263
263
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
264
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?: {
|
|
@@ -291,8 +291,8 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
291
291
|
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
292
|
} | undefined;
|
|
293
293
|
lead?: {
|
|
294
|
-
phoneNumber: string;
|
|
295
294
|
name: string;
|
|
295
|
+
phoneNumber: string;
|
|
296
296
|
} | undefined;
|
|
297
297
|
} | null | undefined;
|
|
298
298
|
}>;
|
|
@@ -309,11 +309,11 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
309
309
|
name: z.ZodString;
|
|
310
310
|
phoneNumber: z.ZodString;
|
|
311
311
|
}, "strip", z.ZodTypeAny, {
|
|
312
|
-
phoneNumber: string;
|
|
313
312
|
name: string;
|
|
314
|
-
}, {
|
|
315
313
|
phoneNumber: string;
|
|
314
|
+
}, {
|
|
316
315
|
name: string;
|
|
316
|
+
phoneNumber: string;
|
|
317
317
|
}>>;
|
|
318
318
|
agentId: z.ZodNullable<z.ZodString>;
|
|
319
319
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -399,9 +399,9 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
399
399
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
400
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?: {
|
|
@@ -427,17 +427,17 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
427
427
|
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
428
|
} | undefined;
|
|
429
429
|
lead?: {
|
|
430
|
-
phoneNumber: string;
|
|
431
430
|
name: string;
|
|
431
|
+
phoneNumber: string;
|
|
432
432
|
} | undefined;
|
|
433
433
|
}, {
|
|
434
434
|
id: string;
|
|
435
435
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
436
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?: {
|
|
@@ -463,8 +463,8 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
463
463
|
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
464
|
} | undefined;
|
|
465
465
|
lead?: {
|
|
466
|
-
phoneNumber: string;
|
|
467
466
|
name: string;
|
|
467
|
+
phoneNumber: string;
|
|
468
468
|
} | undefined;
|
|
469
469
|
}>>>;
|
|
470
470
|
callDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -478,22 +478,22 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
478
478
|
id: string;
|
|
479
479
|
createdAt: string;
|
|
480
480
|
updatedAt: string;
|
|
481
|
-
rating: CallRating;
|
|
482
|
-
notes: string | null;
|
|
483
|
-
callDate: string;
|
|
484
|
-
ratingWeight: number;
|
|
485
481
|
assignmentId: string;
|
|
482
|
+
callDate: string;
|
|
486
483
|
callType: CallType;
|
|
487
|
-
|
|
484
|
+
rating: CallRating;
|
|
485
|
+
ratingWeight: number;
|
|
486
|
+
notes: string | null;
|
|
488
487
|
leadId?: string | undefined;
|
|
488
|
+
agentId?: string | undefined;
|
|
489
489
|
assignment?: {
|
|
490
490
|
id: string;
|
|
491
491
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
492
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?: {
|
|
@@ -519,30 +519,30 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
519
519
|
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
520
|
} | undefined;
|
|
521
521
|
lead?: {
|
|
522
|
-
phoneNumber: string;
|
|
523
522
|
name: string;
|
|
523
|
+
phoneNumber: string;
|
|
524
524
|
} | undefined;
|
|
525
525
|
} | null | undefined;
|
|
526
526
|
}, {
|
|
527
527
|
id: string;
|
|
528
528
|
createdAt: string | Date;
|
|
529
529
|
updatedAt: string | Date;
|
|
530
|
-
rating: CallRating;
|
|
531
|
-
notes: string | null;
|
|
532
|
-
callDate: string | Date;
|
|
533
|
-
ratingWeight: number;
|
|
534
530
|
assignmentId: string;
|
|
531
|
+
callDate: string | Date;
|
|
535
532
|
callType: CallType;
|
|
536
|
-
|
|
533
|
+
rating: CallRating;
|
|
534
|
+
ratingWeight: number;
|
|
535
|
+
notes: string | null;
|
|
537
536
|
leadId?: string | undefined;
|
|
537
|
+
agentId?: string | undefined;
|
|
538
538
|
assignment?: {
|
|
539
539
|
id: string;
|
|
540
540
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
541
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?: {
|
|
@@ -568,8 +568,8 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
568
568
|
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
569
|
} | undefined;
|
|
570
570
|
lead?: {
|
|
571
|
-
phoneNumber: string;
|
|
572
571
|
name: string;
|
|
572
|
+
phoneNumber: string;
|
|
573
573
|
} | undefined;
|
|
574
574
|
} | null | undefined;
|
|
575
575
|
}>, "many">;
|
|
@@ -584,22 +584,22 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
584
584
|
id: string;
|
|
585
585
|
createdAt: string;
|
|
586
586
|
updatedAt: string;
|
|
587
|
-
rating: CallRating;
|
|
588
|
-
notes: string | null;
|
|
589
|
-
callDate: string;
|
|
590
|
-
ratingWeight: number;
|
|
591
587
|
assignmentId: string;
|
|
588
|
+
callDate: string;
|
|
592
589
|
callType: CallType;
|
|
593
|
-
|
|
590
|
+
rating: CallRating;
|
|
591
|
+
ratingWeight: number;
|
|
592
|
+
notes: string | null;
|
|
594
593
|
leadId?: string | undefined;
|
|
594
|
+
agentId?: string | undefined;
|
|
595
595
|
assignment?: {
|
|
596
596
|
id: string;
|
|
597
597
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
598
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?: {
|
|
@@ -625,8 +625,8 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
625
625
|
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
626
|
} | undefined;
|
|
627
627
|
lead?: {
|
|
628
|
-
phoneNumber: string;
|
|
629
628
|
name: string;
|
|
629
|
+
phoneNumber: string;
|
|
630
630
|
} | undefined;
|
|
631
631
|
} | null | undefined;
|
|
632
632
|
}[];
|
|
@@ -640,22 +640,22 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
640
640
|
id: string;
|
|
641
641
|
createdAt: string | Date;
|
|
642
642
|
updatedAt: string | Date;
|
|
643
|
-
rating: CallRating;
|
|
644
|
-
notes: string | null;
|
|
645
|
-
callDate: string | Date;
|
|
646
|
-
ratingWeight: number;
|
|
647
643
|
assignmentId: string;
|
|
644
|
+
callDate: string | Date;
|
|
648
645
|
callType: CallType;
|
|
649
|
-
|
|
646
|
+
rating: CallRating;
|
|
647
|
+
ratingWeight: number;
|
|
648
|
+
notes: string | null;
|
|
650
649
|
leadId?: string | undefined;
|
|
650
|
+
agentId?: string | undefined;
|
|
651
651
|
assignment?: {
|
|
652
652
|
id: string;
|
|
653
653
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
654
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?: {
|
|
@@ -681,8 +681,8 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
681
681
|
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
682
|
} | undefined;
|
|
683
683
|
lead?: {
|
|
684
|
-
phoneNumber: string;
|
|
685
684
|
name: string;
|
|
685
|
+
phoneNumber: string;
|
|
686
686
|
} | undefined;
|
|
687
687
|
} | null | undefined;
|
|
688
688
|
}[];
|
|
@@ -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>;
|
|
@@ -752,35 +752,35 @@ export declare const FilterCallHistorySchema: z.ZodObject<{
|
|
|
752
752
|
}, "strip", z.ZodTypeAny, {
|
|
753
753
|
limit: number;
|
|
754
754
|
page: number;
|
|
755
|
-
agentId?: string | undefined;
|
|
756
755
|
sortBy?: CallHistorySortableFields | undefined;
|
|
757
756
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
758
|
-
|
|
759
|
-
rating?: {
|
|
760
|
-
from?: CallRating | null | undefined;
|
|
761
|
-
to?: CallRating | null | undefined;
|
|
762
|
-
} | null | undefined;
|
|
757
|
+
agentId?: string | undefined;
|
|
763
758
|
callDate?: {
|
|
764
759
|
from?: string | null | undefined;
|
|
765
760
|
to?: string | null | undefined;
|
|
766
761
|
} | null | undefined;
|
|
767
762
|
callType?: CallType | undefined;
|
|
763
|
+
rating?: {
|
|
764
|
+
from?: CallRating | null | undefined;
|
|
765
|
+
to?: CallRating | null | undefined;
|
|
766
|
+
} | null | undefined;
|
|
767
|
+
companyId?: string | undefined;
|
|
768
768
|
}, {
|
|
769
|
-
agentId?: string | undefined;
|
|
770
769
|
limit?: number | undefined;
|
|
771
770
|
page?: number | undefined;
|
|
772
771
|
sortBy?: CallHistorySortableFields | undefined;
|
|
773
772
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
774
|
-
|
|
775
|
-
rating?: {
|
|
776
|
-
from?: unknown;
|
|
777
|
-
to?: unknown;
|
|
778
|
-
} | null | undefined;
|
|
773
|
+
agentId?: string | undefined;
|
|
779
774
|
callDate?: {
|
|
780
775
|
from?: string | null | undefined;
|
|
781
776
|
to?: string | null | undefined;
|
|
782
777
|
} | null | undefined;
|
|
783
778
|
callType?: CallType | undefined;
|
|
779
|
+
rating?: {
|
|
780
|
+
from?: unknown;
|
|
781
|
+
to?: unknown;
|
|
782
|
+
} | null | undefined;
|
|
783
|
+
companyId?: string | undefined;
|
|
784
784
|
}>;
|
|
785
785
|
export declare const CallHistoryStatsSchema: z.ZodObject<{
|
|
786
786
|
totalCalls: z.ZodNumber;
|
|
@@ -814,14 +814,14 @@ export declare const callHistoryContract: {
|
|
|
814
814
|
notes: z.ZodOptional<z.ZodString>;
|
|
815
815
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
816
816
|
}, "strip", z.ZodTypeAny, {
|
|
817
|
-
rating: CallRating;
|
|
818
817
|
assignmentId: string;
|
|
819
818
|
callType: CallType;
|
|
819
|
+
rating: CallRating;
|
|
820
820
|
notes?: string | undefined;
|
|
821
821
|
}, {
|
|
822
|
-
rating: CallRating;
|
|
823
822
|
assignmentId: string;
|
|
824
823
|
callType: CallType;
|
|
824
|
+
rating: CallRating;
|
|
825
825
|
notes?: string | undefined;
|
|
826
826
|
}>;
|
|
827
827
|
path: "/v2/call-history";
|
|
@@ -938,11 +938,11 @@ export declare const callHistoryContract: {
|
|
|
938
938
|
name: z.ZodString;
|
|
939
939
|
phoneNumber: z.ZodString;
|
|
940
940
|
}, "strip", z.ZodTypeAny, {
|
|
941
|
-
phoneNumber: string;
|
|
942
941
|
name: string;
|
|
943
|
-
}, {
|
|
944
942
|
phoneNumber: string;
|
|
943
|
+
}, {
|
|
945
944
|
name: string;
|
|
945
|
+
phoneNumber: string;
|
|
946
946
|
}>>;
|
|
947
947
|
agentId: z.ZodNullable<z.ZodString>;
|
|
948
948
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -1028,9 +1028,9 @@ export declare const callHistoryContract: {
|
|
|
1028
1028
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1029
1029
|
createdAt: string;
|
|
1030
1030
|
updatedAt: string;
|
|
1031
|
+
leadId: string;
|
|
1031
1032
|
agentId: string | null;
|
|
1032
1033
|
companyId: string | null;
|
|
1033
|
-
leadId: string;
|
|
1034
1034
|
assignedAt: string;
|
|
1035
1035
|
assignedBy: string | null;
|
|
1036
1036
|
company?: {
|
|
@@ -1056,17 +1056,17 @@ export declare const callHistoryContract: {
|
|
|
1056
1056
|
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;
|
|
1057
1057
|
} | undefined;
|
|
1058
1058
|
lead?: {
|
|
1059
|
-
phoneNumber: string;
|
|
1060
1059
|
name: string;
|
|
1060
|
+
phoneNumber: string;
|
|
1061
1061
|
} | undefined;
|
|
1062
1062
|
}, {
|
|
1063
1063
|
id: string;
|
|
1064
1064
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1065
1065
|
createdAt: string | Date;
|
|
1066
1066
|
updatedAt: string | Date;
|
|
1067
|
+
leadId: string;
|
|
1067
1068
|
agentId: string | null;
|
|
1068
1069
|
companyId: string | null;
|
|
1069
|
-
leadId: string;
|
|
1070
1070
|
assignedAt: string | Date;
|
|
1071
1071
|
assignedBy: string | null;
|
|
1072
1072
|
company?: {
|
|
@@ -1092,8 +1092,8 @@ export declare const callHistoryContract: {
|
|
|
1092
1092
|
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;
|
|
1093
1093
|
} | undefined;
|
|
1094
1094
|
lead?: {
|
|
1095
|
-
phoneNumber: string;
|
|
1096
1095
|
name: string;
|
|
1096
|
+
phoneNumber: string;
|
|
1097
1097
|
} | undefined;
|
|
1098
1098
|
}>>>;
|
|
1099
1099
|
callDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -1107,22 +1107,22 @@ export declare const callHistoryContract: {
|
|
|
1107
1107
|
id: string;
|
|
1108
1108
|
createdAt: string;
|
|
1109
1109
|
updatedAt: string;
|
|
1110
|
-
rating: CallRating;
|
|
1111
|
-
notes: string | null;
|
|
1112
|
-
callDate: string;
|
|
1113
|
-
ratingWeight: number;
|
|
1114
1110
|
assignmentId: string;
|
|
1111
|
+
callDate: string;
|
|
1115
1112
|
callType: CallType;
|
|
1116
|
-
|
|
1113
|
+
rating: CallRating;
|
|
1114
|
+
ratingWeight: number;
|
|
1115
|
+
notes: string | null;
|
|
1117
1116
|
leadId?: string | undefined;
|
|
1117
|
+
agentId?: string | undefined;
|
|
1118
1118
|
assignment?: {
|
|
1119
1119
|
id: string;
|
|
1120
1120
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1121
1121
|
createdAt: string;
|
|
1122
1122
|
updatedAt: string;
|
|
1123
|
+
leadId: string;
|
|
1123
1124
|
agentId: string | null;
|
|
1124
1125
|
companyId: string | null;
|
|
1125
|
-
leadId: string;
|
|
1126
1126
|
assignedAt: string;
|
|
1127
1127
|
assignedBy: string | null;
|
|
1128
1128
|
company?: {
|
|
@@ -1148,30 +1148,30 @@ export declare const callHistoryContract: {
|
|
|
1148
1148
|
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;
|
|
1149
1149
|
} | undefined;
|
|
1150
1150
|
lead?: {
|
|
1151
|
-
phoneNumber: string;
|
|
1152
1151
|
name: string;
|
|
1152
|
+
phoneNumber: string;
|
|
1153
1153
|
} | undefined;
|
|
1154
1154
|
} | null | undefined;
|
|
1155
1155
|
}, {
|
|
1156
1156
|
id: string;
|
|
1157
1157
|
createdAt: string | Date;
|
|
1158
1158
|
updatedAt: string | Date;
|
|
1159
|
-
rating: CallRating;
|
|
1160
|
-
notes: string | null;
|
|
1161
|
-
callDate: string | Date;
|
|
1162
|
-
ratingWeight: number;
|
|
1163
1159
|
assignmentId: string;
|
|
1160
|
+
callDate: string | Date;
|
|
1164
1161
|
callType: CallType;
|
|
1165
|
-
|
|
1162
|
+
rating: CallRating;
|
|
1163
|
+
ratingWeight: number;
|
|
1164
|
+
notes: string | null;
|
|
1166
1165
|
leadId?: string | undefined;
|
|
1166
|
+
agentId?: string | undefined;
|
|
1167
1167
|
assignment?: {
|
|
1168
1168
|
id: string;
|
|
1169
1169
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1170
1170
|
createdAt: string | Date;
|
|
1171
1171
|
updatedAt: string | Date;
|
|
1172
|
+
leadId: string;
|
|
1172
1173
|
agentId: string | null;
|
|
1173
1174
|
companyId: string | null;
|
|
1174
|
-
leadId: string;
|
|
1175
1175
|
assignedAt: string | Date;
|
|
1176
1176
|
assignedBy: string | null;
|
|
1177
1177
|
company?: {
|
|
@@ -1197,8 +1197,8 @@ export declare const callHistoryContract: {
|
|
|
1197
1197
|
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;
|
|
1198
1198
|
} | undefined;
|
|
1199
1199
|
lead?: {
|
|
1200
|
-
phoneNumber: string;
|
|
1201
1200
|
name: string;
|
|
1201
|
+
phoneNumber: string;
|
|
1202
1202
|
} | undefined;
|
|
1203
1203
|
} | null | undefined;
|
|
1204
1204
|
}>;
|
|
@@ -1230,6 +1230,9 @@ export declare const callHistoryContract: {
|
|
|
1230
1230
|
};
|
|
1231
1231
|
};
|
|
1232
1232
|
findAll: {
|
|
1233
|
+
metadata: {
|
|
1234
|
+
tags: string[];
|
|
1235
|
+
};
|
|
1233
1236
|
query: z.ZodObject<{
|
|
1234
1237
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
1235
1238
|
page: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1262,39 +1265,36 @@ export declare const callHistoryContract: {
|
|
|
1262
1265
|
}, "strip", z.ZodTypeAny, {
|
|
1263
1266
|
limit: number;
|
|
1264
1267
|
page: number;
|
|
1265
|
-
agentId?: string | undefined;
|
|
1266
1268
|
sortBy?: CallHistorySortableFields | undefined;
|
|
1267
1269
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1268
|
-
|
|
1269
|
-
rating?: {
|
|
1270
|
-
from?: CallRating | null | undefined;
|
|
1271
|
-
to?: CallRating | null | undefined;
|
|
1272
|
-
} | null | undefined;
|
|
1270
|
+
agentId?: string | undefined;
|
|
1273
1271
|
callDate?: {
|
|
1274
1272
|
from?: string | null | undefined;
|
|
1275
1273
|
to?: string | null | undefined;
|
|
1276
1274
|
} | null | undefined;
|
|
1277
1275
|
callType?: CallType | undefined;
|
|
1276
|
+
rating?: {
|
|
1277
|
+
from?: CallRating | null | undefined;
|
|
1278
|
+
to?: CallRating | null | undefined;
|
|
1279
|
+
} | null | undefined;
|
|
1280
|
+
companyId?: string | undefined;
|
|
1278
1281
|
}, {
|
|
1279
|
-
agentId?: string | undefined;
|
|
1280
1282
|
limit?: number | undefined;
|
|
1281
1283
|
page?: number | undefined;
|
|
1282
1284
|
sortBy?: CallHistorySortableFields | undefined;
|
|
1283
1285
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1284
|
-
|
|
1285
|
-
rating?: {
|
|
1286
|
-
from?: unknown;
|
|
1287
|
-
to?: unknown;
|
|
1288
|
-
} | null | undefined;
|
|
1286
|
+
agentId?: string | undefined;
|
|
1289
1287
|
callDate?: {
|
|
1290
1288
|
from?: string | null | undefined;
|
|
1291
1289
|
to?: string | null | undefined;
|
|
1292
1290
|
} | null | undefined;
|
|
1293
1291
|
callType?: CallType | undefined;
|
|
1292
|
+
rating?: {
|
|
1293
|
+
from?: unknown;
|
|
1294
|
+
to?: unknown;
|
|
1295
|
+
} | null | undefined;
|
|
1296
|
+
companyId?: string | undefined;
|
|
1294
1297
|
}>;
|
|
1295
|
-
metadata: {
|
|
1296
|
-
tags: string[];
|
|
1297
|
-
};
|
|
1298
1298
|
summary: "Get call history records";
|
|
1299
1299
|
method: "GET";
|
|
1300
1300
|
path: "/v2/call-history";
|
|
@@ -1412,11 +1412,11 @@ export declare const callHistoryContract: {
|
|
|
1412
1412
|
name: z.ZodString;
|
|
1413
1413
|
phoneNumber: z.ZodString;
|
|
1414
1414
|
}, "strip", z.ZodTypeAny, {
|
|
1415
|
-
phoneNumber: string;
|
|
1416
1415
|
name: string;
|
|
1417
|
-
}, {
|
|
1418
1416
|
phoneNumber: string;
|
|
1417
|
+
}, {
|
|
1419
1418
|
name: string;
|
|
1419
|
+
phoneNumber: string;
|
|
1420
1420
|
}>>;
|
|
1421
1421
|
agentId: z.ZodNullable<z.ZodString>;
|
|
1422
1422
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -1502,9 +1502,9 @@ export declare const callHistoryContract: {
|
|
|
1502
1502
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1503
1503
|
createdAt: string;
|
|
1504
1504
|
updatedAt: string;
|
|
1505
|
+
leadId: string;
|
|
1505
1506
|
agentId: string | null;
|
|
1506
1507
|
companyId: string | null;
|
|
1507
|
-
leadId: string;
|
|
1508
1508
|
assignedAt: string;
|
|
1509
1509
|
assignedBy: string | null;
|
|
1510
1510
|
company?: {
|
|
@@ -1530,17 +1530,17 @@ export declare const callHistoryContract: {
|
|
|
1530
1530
|
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;
|
|
1531
1531
|
} | undefined;
|
|
1532
1532
|
lead?: {
|
|
1533
|
-
phoneNumber: string;
|
|
1534
1533
|
name: string;
|
|
1534
|
+
phoneNumber: string;
|
|
1535
1535
|
} | undefined;
|
|
1536
1536
|
}, {
|
|
1537
1537
|
id: string;
|
|
1538
1538
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1539
1539
|
createdAt: string | Date;
|
|
1540
1540
|
updatedAt: string | Date;
|
|
1541
|
+
leadId: string;
|
|
1541
1542
|
agentId: string | null;
|
|
1542
1543
|
companyId: string | null;
|
|
1543
|
-
leadId: string;
|
|
1544
1544
|
assignedAt: string | Date;
|
|
1545
1545
|
assignedBy: string | null;
|
|
1546
1546
|
company?: {
|
|
@@ -1566,8 +1566,8 @@ export declare const callHistoryContract: {
|
|
|
1566
1566
|
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;
|
|
1567
1567
|
} | undefined;
|
|
1568
1568
|
lead?: {
|
|
1569
|
-
phoneNumber: string;
|
|
1570
1569
|
name: string;
|
|
1570
|
+
phoneNumber: string;
|
|
1571
1571
|
} | undefined;
|
|
1572
1572
|
}>>>;
|
|
1573
1573
|
callDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -1581,22 +1581,22 @@ export declare const callHistoryContract: {
|
|
|
1581
1581
|
id: string;
|
|
1582
1582
|
createdAt: string;
|
|
1583
1583
|
updatedAt: string;
|
|
1584
|
-
rating: CallRating;
|
|
1585
|
-
notes: string | null;
|
|
1586
|
-
callDate: string;
|
|
1587
|
-
ratingWeight: number;
|
|
1588
1584
|
assignmentId: string;
|
|
1585
|
+
callDate: string;
|
|
1589
1586
|
callType: CallType;
|
|
1590
|
-
|
|
1587
|
+
rating: CallRating;
|
|
1588
|
+
ratingWeight: number;
|
|
1589
|
+
notes: string | null;
|
|
1591
1590
|
leadId?: string | undefined;
|
|
1591
|
+
agentId?: string | undefined;
|
|
1592
1592
|
assignment?: {
|
|
1593
1593
|
id: string;
|
|
1594
1594
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1595
1595
|
createdAt: string;
|
|
1596
1596
|
updatedAt: string;
|
|
1597
|
+
leadId: string;
|
|
1597
1598
|
agentId: string | null;
|
|
1598
1599
|
companyId: string | null;
|
|
1599
|
-
leadId: string;
|
|
1600
1600
|
assignedAt: string;
|
|
1601
1601
|
assignedBy: string | null;
|
|
1602
1602
|
company?: {
|
|
@@ -1622,30 +1622,30 @@ export declare const callHistoryContract: {
|
|
|
1622
1622
|
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;
|
|
1623
1623
|
} | undefined;
|
|
1624
1624
|
lead?: {
|
|
1625
|
-
phoneNumber: string;
|
|
1626
1625
|
name: string;
|
|
1626
|
+
phoneNumber: string;
|
|
1627
1627
|
} | undefined;
|
|
1628
1628
|
} | null | undefined;
|
|
1629
1629
|
}, {
|
|
1630
1630
|
id: string;
|
|
1631
1631
|
createdAt: string | Date;
|
|
1632
1632
|
updatedAt: string | Date;
|
|
1633
|
-
rating: CallRating;
|
|
1634
|
-
notes: string | null;
|
|
1635
|
-
callDate: string | Date;
|
|
1636
|
-
ratingWeight: number;
|
|
1637
1633
|
assignmentId: string;
|
|
1634
|
+
callDate: string | Date;
|
|
1638
1635
|
callType: CallType;
|
|
1639
|
-
|
|
1636
|
+
rating: CallRating;
|
|
1637
|
+
ratingWeight: number;
|
|
1638
|
+
notes: string | null;
|
|
1640
1639
|
leadId?: string | undefined;
|
|
1640
|
+
agentId?: string | undefined;
|
|
1641
1641
|
assignment?: {
|
|
1642
1642
|
id: string;
|
|
1643
1643
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1644
1644
|
createdAt: string | Date;
|
|
1645
1645
|
updatedAt: string | Date;
|
|
1646
|
+
leadId: string;
|
|
1646
1647
|
agentId: string | null;
|
|
1647
1648
|
companyId: string | null;
|
|
1648
|
-
leadId: string;
|
|
1649
1649
|
assignedAt: string | Date;
|
|
1650
1650
|
assignedBy: string | null;
|
|
1651
1651
|
company?: {
|
|
@@ -1671,8 +1671,8 @@ export declare const callHistoryContract: {
|
|
|
1671
1671
|
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;
|
|
1672
1672
|
} | undefined;
|
|
1673
1673
|
lead?: {
|
|
1674
|
-
phoneNumber: string;
|
|
1675
1674
|
name: string;
|
|
1675
|
+
phoneNumber: string;
|
|
1676
1676
|
} | undefined;
|
|
1677
1677
|
} | null | undefined;
|
|
1678
1678
|
}>, "many">;
|
|
@@ -1687,22 +1687,22 @@ export declare const callHistoryContract: {
|
|
|
1687
1687
|
id: string;
|
|
1688
1688
|
createdAt: string;
|
|
1689
1689
|
updatedAt: string;
|
|
1690
|
-
rating: CallRating;
|
|
1691
|
-
notes: string | null;
|
|
1692
|
-
callDate: string;
|
|
1693
|
-
ratingWeight: number;
|
|
1694
1690
|
assignmentId: string;
|
|
1691
|
+
callDate: string;
|
|
1695
1692
|
callType: CallType;
|
|
1696
|
-
|
|
1693
|
+
rating: CallRating;
|
|
1694
|
+
ratingWeight: number;
|
|
1695
|
+
notes: string | null;
|
|
1697
1696
|
leadId?: string | undefined;
|
|
1697
|
+
agentId?: string | undefined;
|
|
1698
1698
|
assignment?: {
|
|
1699
1699
|
id: string;
|
|
1700
1700
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1701
1701
|
createdAt: string;
|
|
1702
1702
|
updatedAt: string;
|
|
1703
|
+
leadId: string;
|
|
1703
1704
|
agentId: string | null;
|
|
1704
1705
|
companyId: string | null;
|
|
1705
|
-
leadId: string;
|
|
1706
1706
|
assignedAt: string;
|
|
1707
1707
|
assignedBy: string | null;
|
|
1708
1708
|
company?: {
|
|
@@ -1728,8 +1728,8 @@ export declare const callHistoryContract: {
|
|
|
1728
1728
|
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;
|
|
1729
1729
|
} | undefined;
|
|
1730
1730
|
lead?: {
|
|
1731
|
-
phoneNumber: string;
|
|
1732
1731
|
name: string;
|
|
1732
|
+
phoneNumber: string;
|
|
1733
1733
|
} | undefined;
|
|
1734
1734
|
} | null | undefined;
|
|
1735
1735
|
}[];
|
|
@@ -1743,22 +1743,22 @@ export declare const callHistoryContract: {
|
|
|
1743
1743
|
id: string;
|
|
1744
1744
|
createdAt: string | Date;
|
|
1745
1745
|
updatedAt: string | Date;
|
|
1746
|
-
rating: CallRating;
|
|
1747
|
-
notes: string | null;
|
|
1748
|
-
callDate: string | Date;
|
|
1749
|
-
ratingWeight: number;
|
|
1750
1746
|
assignmentId: string;
|
|
1747
|
+
callDate: string | Date;
|
|
1751
1748
|
callType: CallType;
|
|
1752
|
-
|
|
1749
|
+
rating: CallRating;
|
|
1750
|
+
ratingWeight: number;
|
|
1751
|
+
notes: string | null;
|
|
1753
1752
|
leadId?: string | undefined;
|
|
1753
|
+
agentId?: string | undefined;
|
|
1754
1754
|
assignment?: {
|
|
1755
1755
|
id: string;
|
|
1756
1756
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1757
1757
|
createdAt: string | Date;
|
|
1758
1758
|
updatedAt: string | Date;
|
|
1759
|
+
leadId: string;
|
|
1759
1760
|
agentId: string | null;
|
|
1760
1761
|
companyId: string | null;
|
|
1761
|
-
leadId: string;
|
|
1762
1762
|
assignedAt: string | Date;
|
|
1763
1763
|
assignedBy: string | null;
|
|
1764
1764
|
company?: {
|
|
@@ -1784,8 +1784,8 @@ export declare const callHistoryContract: {
|
|
|
1784
1784
|
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;
|
|
1785
1785
|
} | undefined;
|
|
1786
1786
|
lead?: {
|
|
1787
|
-
phoneNumber: string;
|
|
1788
1787
|
name: string;
|
|
1788
|
+
phoneNumber: string;
|
|
1789
1789
|
} | undefined;
|
|
1790
1790
|
} | null | undefined;
|
|
1791
1791
|
}[];
|
|
@@ -1923,11 +1923,11 @@ export declare const callHistoryContract: {
|
|
|
1923
1923
|
name: z.ZodString;
|
|
1924
1924
|
phoneNumber: z.ZodString;
|
|
1925
1925
|
}, "strip", z.ZodTypeAny, {
|
|
1926
|
-
phoneNumber: string;
|
|
1927
1926
|
name: string;
|
|
1928
|
-
}, {
|
|
1929
1927
|
phoneNumber: string;
|
|
1928
|
+
}, {
|
|
1930
1929
|
name: string;
|
|
1930
|
+
phoneNumber: string;
|
|
1931
1931
|
}>>;
|
|
1932
1932
|
agentId: z.ZodNullable<z.ZodString>;
|
|
1933
1933
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -2013,9 +2013,9 @@ export declare const callHistoryContract: {
|
|
|
2013
2013
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2014
2014
|
createdAt: string;
|
|
2015
2015
|
updatedAt: string;
|
|
2016
|
+
leadId: string;
|
|
2016
2017
|
agentId: string | null;
|
|
2017
2018
|
companyId: string | null;
|
|
2018
|
-
leadId: string;
|
|
2019
2019
|
assignedAt: string;
|
|
2020
2020
|
assignedBy: string | null;
|
|
2021
2021
|
company?: {
|
|
@@ -2041,17 +2041,17 @@ export declare const callHistoryContract: {
|
|
|
2041
2041
|
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;
|
|
2042
2042
|
} | undefined;
|
|
2043
2043
|
lead?: {
|
|
2044
|
-
phoneNumber: string;
|
|
2045
2044
|
name: string;
|
|
2045
|
+
phoneNumber: string;
|
|
2046
2046
|
} | undefined;
|
|
2047
2047
|
}, {
|
|
2048
2048
|
id: string;
|
|
2049
2049
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2050
2050
|
createdAt: string | Date;
|
|
2051
2051
|
updatedAt: string | Date;
|
|
2052
|
+
leadId: string;
|
|
2052
2053
|
agentId: string | null;
|
|
2053
2054
|
companyId: string | null;
|
|
2054
|
-
leadId: string;
|
|
2055
2055
|
assignedAt: string | Date;
|
|
2056
2056
|
assignedBy: string | null;
|
|
2057
2057
|
company?: {
|
|
@@ -2077,8 +2077,8 @@ export declare const callHistoryContract: {
|
|
|
2077
2077
|
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;
|
|
2078
2078
|
} | undefined;
|
|
2079
2079
|
lead?: {
|
|
2080
|
-
phoneNumber: string;
|
|
2081
2080
|
name: string;
|
|
2081
|
+
phoneNumber: string;
|
|
2082
2082
|
} | undefined;
|
|
2083
2083
|
}>>>;
|
|
2084
2084
|
callDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -2092,22 +2092,22 @@ export declare const callHistoryContract: {
|
|
|
2092
2092
|
id: string;
|
|
2093
2093
|
createdAt: string;
|
|
2094
2094
|
updatedAt: string;
|
|
2095
|
-
rating: CallRating;
|
|
2096
|
-
notes: string | null;
|
|
2097
|
-
callDate: string;
|
|
2098
|
-
ratingWeight: number;
|
|
2099
2095
|
assignmentId: string;
|
|
2096
|
+
callDate: string;
|
|
2100
2097
|
callType: CallType;
|
|
2101
|
-
|
|
2098
|
+
rating: CallRating;
|
|
2099
|
+
ratingWeight: number;
|
|
2100
|
+
notes: string | null;
|
|
2102
2101
|
leadId?: string | undefined;
|
|
2102
|
+
agentId?: string | undefined;
|
|
2103
2103
|
assignment?: {
|
|
2104
2104
|
id: string;
|
|
2105
2105
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2106
2106
|
createdAt: string;
|
|
2107
2107
|
updatedAt: string;
|
|
2108
|
+
leadId: string;
|
|
2108
2109
|
agentId: string | null;
|
|
2109
2110
|
companyId: string | null;
|
|
2110
|
-
leadId: string;
|
|
2111
2111
|
assignedAt: string;
|
|
2112
2112
|
assignedBy: string | null;
|
|
2113
2113
|
company?: {
|
|
@@ -2133,30 +2133,30 @@ export declare const callHistoryContract: {
|
|
|
2133
2133
|
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;
|
|
2134
2134
|
} | undefined;
|
|
2135
2135
|
lead?: {
|
|
2136
|
-
phoneNumber: string;
|
|
2137
2136
|
name: string;
|
|
2137
|
+
phoneNumber: string;
|
|
2138
2138
|
} | undefined;
|
|
2139
2139
|
} | null | undefined;
|
|
2140
2140
|
}, {
|
|
2141
2141
|
id: string;
|
|
2142
2142
|
createdAt: string | Date;
|
|
2143
2143
|
updatedAt: string | Date;
|
|
2144
|
-
rating: CallRating;
|
|
2145
|
-
notes: string | null;
|
|
2146
|
-
callDate: string | Date;
|
|
2147
|
-
ratingWeight: number;
|
|
2148
2144
|
assignmentId: string;
|
|
2145
|
+
callDate: string | Date;
|
|
2149
2146
|
callType: CallType;
|
|
2150
|
-
|
|
2147
|
+
rating: CallRating;
|
|
2148
|
+
ratingWeight: number;
|
|
2149
|
+
notes: string | null;
|
|
2151
2150
|
leadId?: string | undefined;
|
|
2151
|
+
agentId?: string | undefined;
|
|
2152
2152
|
assignment?: {
|
|
2153
2153
|
id: string;
|
|
2154
2154
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2155
2155
|
createdAt: string | Date;
|
|
2156
2156
|
updatedAt: string | Date;
|
|
2157
|
+
leadId: string;
|
|
2157
2158
|
agentId: string | null;
|
|
2158
2159
|
companyId: string | null;
|
|
2159
|
-
leadId: string;
|
|
2160
2160
|
assignedAt: string | Date;
|
|
2161
2161
|
assignedBy: string | null;
|
|
2162
2162
|
company?: {
|
|
@@ -2182,8 +2182,8 @@ export declare const callHistoryContract: {
|
|
|
2182
2182
|
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;
|
|
2183
2183
|
} | undefined;
|
|
2184
2184
|
lead?: {
|
|
2185
|
-
phoneNumber: string;
|
|
2186
2185
|
name: string;
|
|
2186
|
+
phoneNumber: string;
|
|
2187
2187
|
} | undefined;
|
|
2188
2188
|
} | null | undefined;
|
|
2189
2189
|
}>;
|
|
@@ -2232,13 +2232,13 @@ export declare const callHistoryContract: {
|
|
|
2232
2232
|
rating: z.ZodOptional<z.ZodNativeEnum<typeof CallRating>>;
|
|
2233
2233
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2234
2234
|
}, "strip", z.ZodTypeAny, {
|
|
2235
|
+
callDate?: string | undefined;
|
|
2235
2236
|
rating?: CallRating | undefined;
|
|
2236
2237
|
notes?: string | null | undefined;
|
|
2237
|
-
callDate?: string | undefined;
|
|
2238
2238
|
}, {
|
|
2239
|
+
callDate?: string | undefined;
|
|
2239
2240
|
rating?: CallRating | undefined;
|
|
2240
2241
|
notes?: string | null | undefined;
|
|
2241
|
-
callDate?: string | undefined;
|
|
2242
2242
|
}>;
|
|
2243
2243
|
path: "/v2/call-history/:id";
|
|
2244
2244
|
responses: {
|
|
@@ -2354,11 +2354,11 @@ export declare const callHistoryContract: {
|
|
|
2354
2354
|
name: z.ZodString;
|
|
2355
2355
|
phoneNumber: z.ZodString;
|
|
2356
2356
|
}, "strip", z.ZodTypeAny, {
|
|
2357
|
-
phoneNumber: string;
|
|
2358
2357
|
name: string;
|
|
2359
|
-
}, {
|
|
2360
2358
|
phoneNumber: string;
|
|
2359
|
+
}, {
|
|
2361
2360
|
name: string;
|
|
2361
|
+
phoneNumber: string;
|
|
2362
2362
|
}>>;
|
|
2363
2363
|
agentId: z.ZodNullable<z.ZodString>;
|
|
2364
2364
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -2444,9 +2444,9 @@ export declare const callHistoryContract: {
|
|
|
2444
2444
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2445
2445
|
createdAt: string;
|
|
2446
2446
|
updatedAt: string;
|
|
2447
|
+
leadId: string;
|
|
2447
2448
|
agentId: string | null;
|
|
2448
2449
|
companyId: string | null;
|
|
2449
|
-
leadId: string;
|
|
2450
2450
|
assignedAt: string;
|
|
2451
2451
|
assignedBy: string | null;
|
|
2452
2452
|
company?: {
|
|
@@ -2472,17 +2472,17 @@ export declare const callHistoryContract: {
|
|
|
2472
2472
|
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;
|
|
2473
2473
|
} | undefined;
|
|
2474
2474
|
lead?: {
|
|
2475
|
-
phoneNumber: string;
|
|
2476
2475
|
name: string;
|
|
2476
|
+
phoneNumber: string;
|
|
2477
2477
|
} | undefined;
|
|
2478
2478
|
}, {
|
|
2479
2479
|
id: string;
|
|
2480
2480
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2481
2481
|
createdAt: string | Date;
|
|
2482
2482
|
updatedAt: string | Date;
|
|
2483
|
+
leadId: string;
|
|
2483
2484
|
agentId: string | null;
|
|
2484
2485
|
companyId: string | null;
|
|
2485
|
-
leadId: string;
|
|
2486
2486
|
assignedAt: string | Date;
|
|
2487
2487
|
assignedBy: string | null;
|
|
2488
2488
|
company?: {
|
|
@@ -2508,8 +2508,8 @@ export declare const callHistoryContract: {
|
|
|
2508
2508
|
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;
|
|
2509
2509
|
} | undefined;
|
|
2510
2510
|
lead?: {
|
|
2511
|
-
phoneNumber: string;
|
|
2512
2511
|
name: string;
|
|
2512
|
+
phoneNumber: string;
|
|
2513
2513
|
} | undefined;
|
|
2514
2514
|
}>>>;
|
|
2515
2515
|
callDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -2523,22 +2523,22 @@ export declare const callHistoryContract: {
|
|
|
2523
2523
|
id: string;
|
|
2524
2524
|
createdAt: string;
|
|
2525
2525
|
updatedAt: string;
|
|
2526
|
-
rating: CallRating;
|
|
2527
|
-
notes: string | null;
|
|
2528
|
-
callDate: string;
|
|
2529
|
-
ratingWeight: number;
|
|
2530
2526
|
assignmentId: string;
|
|
2527
|
+
callDate: string;
|
|
2531
2528
|
callType: CallType;
|
|
2532
|
-
|
|
2529
|
+
rating: CallRating;
|
|
2530
|
+
ratingWeight: number;
|
|
2531
|
+
notes: string | null;
|
|
2533
2532
|
leadId?: string | undefined;
|
|
2533
|
+
agentId?: string | undefined;
|
|
2534
2534
|
assignment?: {
|
|
2535
2535
|
id: string;
|
|
2536
2536
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2537
2537
|
createdAt: string;
|
|
2538
2538
|
updatedAt: string;
|
|
2539
|
+
leadId: string;
|
|
2539
2540
|
agentId: string | null;
|
|
2540
2541
|
companyId: string | null;
|
|
2541
|
-
leadId: string;
|
|
2542
2542
|
assignedAt: string;
|
|
2543
2543
|
assignedBy: string | null;
|
|
2544
2544
|
company?: {
|
|
@@ -2564,30 +2564,30 @@ export declare const callHistoryContract: {
|
|
|
2564
2564
|
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;
|
|
2565
2565
|
} | undefined;
|
|
2566
2566
|
lead?: {
|
|
2567
|
-
phoneNumber: string;
|
|
2568
2567
|
name: string;
|
|
2568
|
+
phoneNumber: string;
|
|
2569
2569
|
} | undefined;
|
|
2570
2570
|
} | null | undefined;
|
|
2571
2571
|
}, {
|
|
2572
2572
|
id: string;
|
|
2573
2573
|
createdAt: string | Date;
|
|
2574
2574
|
updatedAt: string | Date;
|
|
2575
|
-
rating: CallRating;
|
|
2576
|
-
notes: string | null;
|
|
2577
|
-
callDate: string | Date;
|
|
2578
|
-
ratingWeight: number;
|
|
2579
2575
|
assignmentId: string;
|
|
2576
|
+
callDate: string | Date;
|
|
2580
2577
|
callType: CallType;
|
|
2581
|
-
|
|
2578
|
+
rating: CallRating;
|
|
2579
|
+
ratingWeight: number;
|
|
2580
|
+
notes: string | null;
|
|
2582
2581
|
leadId?: string | undefined;
|
|
2582
|
+
agentId?: string | undefined;
|
|
2583
2583
|
assignment?: {
|
|
2584
2584
|
id: string;
|
|
2585
2585
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2586
2586
|
createdAt: string | Date;
|
|
2587
2587
|
updatedAt: string | Date;
|
|
2588
|
+
leadId: string;
|
|
2588
2589
|
agentId: string | null;
|
|
2589
2590
|
companyId: string | null;
|
|
2590
|
-
leadId: string;
|
|
2591
2591
|
assignedAt: string | Date;
|
|
2592
2592
|
assignedBy: string | null;
|
|
2593
2593
|
company?: {
|
|
@@ -2613,8 +2613,8 @@ export declare const callHistoryContract: {
|
|
|
2613
2613
|
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;
|
|
2614
2614
|
} | undefined;
|
|
2615
2615
|
lead?: {
|
|
2616
|
-
phoneNumber: string;
|
|
2617
2616
|
name: string;
|
|
2617
|
+
phoneNumber: string;
|
|
2618
2618
|
} | undefined;
|
|
2619
2619
|
} | null | undefined;
|
|
2620
2620
|
}>;
|