@dakkitor/api-contracts 1.1.109 → 1.1.112
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 +3059 -3059
- package/dist/agent-client-links/agent-client-links.contract.d.ts +74 -74
- package/dist/bookings/bookings.contract.d.ts +11037 -11037
- package/dist/call-history/call-history.contract.d.ts +294 -294
- package/dist/client-contacts/client-contacts.contract.d.ts +186 -186
- package/dist/clients/clients.contract.d.ts +99 -99
- package/dist/clients/clients.contract.d.ts.map +1 -1
- package/dist/clients/clients.contract.js +5 -5
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +440 -440
- package/dist/collaborations/collaborations.contract.d.ts +328 -328
- package/dist/companies/companies.contract.d.ts +22 -22
- package/dist/curated-workers/curated-workers.contract.d.ts +76 -76
- package/dist/dashboards/agent-daily-metrics.contract.d.ts +3 -3
- package/dist/dashboards/dashboard-widgets.contract.d.ts +224 -150
- package/dist/dashboards/dashboard-widgets.contract.d.ts.map +1 -1
- package/dist/dashboards/dashboard-widgets.contract.js +124 -101
- package/dist/dashboards/dashboard.contract.d.ts +14 -14
- package/dist/files/files.contract.d.ts +24 -24
- package/dist/jobs/jobs.contract.d.ts +907 -907
- package/dist/lead-assignments/lead-assignments.contract.d.ts +160 -160
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +34 -34
- package/dist/lead-distribution/lead-distribution-config.contract.d.ts +7 -7
- package/dist/leads/leads.contract.d.ts +136 -136
- 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 +6 -6
- package/dist/workers/workers.contract.d.ts +288 -288
- package/package.json +41 -41
- package/dist/abilities/interconnection.json +0 -370
- package/dist/abilities/second-agent.abilities copy.json +0 -370
|
@@ -96,14 +96,14 @@ export declare const LeadAssignmentSchema: z.ZodObject<{
|
|
|
96
96
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
97
97
|
}, "strip", z.ZodTypeAny, {
|
|
98
98
|
id: string;
|
|
99
|
+
name: string;
|
|
99
100
|
createdAt: string;
|
|
100
101
|
updatedAt: string;
|
|
101
|
-
name: string;
|
|
102
102
|
}, {
|
|
103
103
|
id: string;
|
|
104
|
+
name: string;
|
|
104
105
|
createdAt: string | Date;
|
|
105
106
|
updatedAt: string | Date;
|
|
106
|
-
name: string;
|
|
107
107
|
}>>>;
|
|
108
108
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
109
109
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -112,21 +112,17 @@ export declare const LeadAssignmentSchema: z.ZodObject<{
|
|
|
112
112
|
status: LeadAssignmentStatus;
|
|
113
113
|
createdAt: string;
|
|
114
114
|
updatedAt: string;
|
|
115
|
-
leadId: string;
|
|
116
115
|
agentId: string | null;
|
|
117
116
|
companyId: string | null;
|
|
117
|
+
leadId: string;
|
|
118
118
|
assignedAt: string;
|
|
119
119
|
assignedBy: string | null;
|
|
120
120
|
company?: {
|
|
121
121
|
id: string;
|
|
122
|
+
name: string;
|
|
122
123
|
createdAt: string;
|
|
123
124
|
updatedAt: string;
|
|
124
|
-
name: string;
|
|
125
125
|
} | null | undefined;
|
|
126
|
-
lead?: {
|
|
127
|
-
phoneNumber: string;
|
|
128
|
-
name: string;
|
|
129
|
-
} | undefined;
|
|
130
126
|
agent?: {
|
|
131
127
|
id: string;
|
|
132
128
|
createdAt: string;
|
|
@@ -143,26 +139,26 @@ export declare const LeadAssignmentSchema: z.ZodObject<{
|
|
|
143
139
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
144
140
|
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;
|
|
145
141
|
} | undefined;
|
|
142
|
+
lead?: {
|
|
143
|
+
phoneNumber: string;
|
|
144
|
+
name: string;
|
|
145
|
+
} | undefined;
|
|
146
146
|
}, {
|
|
147
147
|
id: string;
|
|
148
148
|
status: LeadAssignmentStatus;
|
|
149
149
|
createdAt: string | Date;
|
|
150
150
|
updatedAt: string | Date;
|
|
151
|
-
leadId: string;
|
|
152
151
|
agentId: string | null;
|
|
153
152
|
companyId: string | null;
|
|
153
|
+
leadId: string;
|
|
154
154
|
assignedAt: string | Date;
|
|
155
155
|
assignedBy: string | null;
|
|
156
156
|
company?: {
|
|
157
157
|
id: string;
|
|
158
|
+
name: string;
|
|
158
159
|
createdAt: string | Date;
|
|
159
160
|
updatedAt: string | Date;
|
|
160
|
-
name: string;
|
|
161
161
|
} | null | undefined;
|
|
162
|
-
lead?: {
|
|
163
|
-
phoneNumber: string;
|
|
164
|
-
name: string;
|
|
165
|
-
} | undefined;
|
|
166
162
|
agent?: {
|
|
167
163
|
id: string;
|
|
168
164
|
createdAt: string | Date;
|
|
@@ -179,6 +175,10 @@ export declare const LeadAssignmentSchema: z.ZodObject<{
|
|
|
179
175
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
180
176
|
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;
|
|
181
177
|
} | undefined;
|
|
178
|
+
lead?: {
|
|
179
|
+
phoneNumber: string;
|
|
180
|
+
name: string;
|
|
181
|
+
} | undefined;
|
|
182
182
|
}>;
|
|
183
183
|
export declare const CompleteAssignmentSchema: z.ZodObject<{
|
|
184
184
|
rating: z.ZodNativeEnum<typeof import("../common/call-rating.schema").CallRating>;
|
|
@@ -272,14 +272,14 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
|
|
|
272
272
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
273
273
|
}, "strip", z.ZodTypeAny, {
|
|
274
274
|
id: string;
|
|
275
|
+
name: string;
|
|
275
276
|
createdAt: string;
|
|
276
277
|
updatedAt: string;
|
|
277
|
-
name: string;
|
|
278
278
|
}, {
|
|
279
279
|
id: string;
|
|
280
|
+
name: string;
|
|
280
281
|
createdAt: string | Date;
|
|
281
282
|
updatedAt: string | Date;
|
|
282
|
-
name: string;
|
|
283
283
|
}>>>;
|
|
284
284
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
285
285
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -288,21 +288,17 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
|
|
|
288
288
|
status: LeadAssignmentStatus;
|
|
289
289
|
createdAt: string;
|
|
290
290
|
updatedAt: string;
|
|
291
|
-
leadId: string;
|
|
292
291
|
agentId: string | null;
|
|
293
292
|
companyId: string | null;
|
|
293
|
+
leadId: string;
|
|
294
294
|
assignedAt: string;
|
|
295
295
|
assignedBy: string | null;
|
|
296
296
|
company?: {
|
|
297
297
|
id: string;
|
|
298
|
+
name: string;
|
|
298
299
|
createdAt: string;
|
|
299
300
|
updatedAt: string;
|
|
300
|
-
name: string;
|
|
301
301
|
} | null | undefined;
|
|
302
|
-
lead?: {
|
|
303
|
-
phoneNumber: string;
|
|
304
|
-
name: string;
|
|
305
|
-
} | undefined;
|
|
306
302
|
agent?: {
|
|
307
303
|
id: string;
|
|
308
304
|
createdAt: string;
|
|
@@ -319,26 +315,26 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
|
|
|
319
315
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
320
316
|
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;
|
|
321
317
|
} | undefined;
|
|
318
|
+
lead?: {
|
|
319
|
+
phoneNumber: string;
|
|
320
|
+
name: string;
|
|
321
|
+
} | undefined;
|
|
322
322
|
}, {
|
|
323
323
|
id: string;
|
|
324
324
|
status: LeadAssignmentStatus;
|
|
325
325
|
createdAt: string | Date;
|
|
326
326
|
updatedAt: string | Date;
|
|
327
|
-
leadId: string;
|
|
328
327
|
agentId: string | null;
|
|
329
328
|
companyId: string | null;
|
|
329
|
+
leadId: string;
|
|
330
330
|
assignedAt: string | Date;
|
|
331
331
|
assignedBy: string | null;
|
|
332
332
|
company?: {
|
|
333
333
|
id: string;
|
|
334
|
+
name: string;
|
|
334
335
|
createdAt: string | Date;
|
|
335
336
|
updatedAt: string | Date;
|
|
336
|
-
name: string;
|
|
337
337
|
} | null | undefined;
|
|
338
|
-
lead?: {
|
|
339
|
-
phoneNumber: string;
|
|
340
|
-
name: string;
|
|
341
|
-
} | undefined;
|
|
342
338
|
agent?: {
|
|
343
339
|
id: string;
|
|
344
340
|
createdAt: string | Date;
|
|
@@ -355,6 +351,10 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
|
|
|
355
351
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
356
352
|
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;
|
|
357
353
|
} | undefined;
|
|
354
|
+
lead?: {
|
|
355
|
+
phoneNumber: string;
|
|
356
|
+
name: string;
|
|
357
|
+
} | undefined;
|
|
358
358
|
}>;
|
|
359
359
|
next: z.ZodNullable<z.ZodObject<{
|
|
360
360
|
id: z.ZodString;
|
|
@@ -437,14 +437,14 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
|
|
|
437
437
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
438
438
|
}, "strip", z.ZodTypeAny, {
|
|
439
439
|
id: string;
|
|
440
|
+
name: string;
|
|
440
441
|
createdAt: string;
|
|
441
442
|
updatedAt: string;
|
|
442
|
-
name: string;
|
|
443
443
|
}, {
|
|
444
444
|
id: string;
|
|
445
|
+
name: string;
|
|
445
446
|
createdAt: string | Date;
|
|
446
447
|
updatedAt: string | Date;
|
|
447
|
-
name: string;
|
|
448
448
|
}>>>;
|
|
449
449
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
450
450
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -453,21 +453,17 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
|
|
|
453
453
|
status: LeadAssignmentStatus;
|
|
454
454
|
createdAt: string;
|
|
455
455
|
updatedAt: string;
|
|
456
|
-
leadId: string;
|
|
457
456
|
agentId: string | null;
|
|
458
457
|
companyId: string | null;
|
|
458
|
+
leadId: string;
|
|
459
459
|
assignedAt: string;
|
|
460
460
|
assignedBy: string | null;
|
|
461
461
|
company?: {
|
|
462
462
|
id: string;
|
|
463
|
+
name: string;
|
|
463
464
|
createdAt: string;
|
|
464
465
|
updatedAt: string;
|
|
465
|
-
name: string;
|
|
466
466
|
} | null | undefined;
|
|
467
|
-
lead?: {
|
|
468
|
-
phoneNumber: string;
|
|
469
|
-
name: string;
|
|
470
|
-
} | undefined;
|
|
471
467
|
agent?: {
|
|
472
468
|
id: string;
|
|
473
469
|
createdAt: string;
|
|
@@ -484,26 +480,26 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
|
|
|
484
480
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
485
481
|
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;
|
|
486
482
|
} | undefined;
|
|
483
|
+
lead?: {
|
|
484
|
+
phoneNumber: string;
|
|
485
|
+
name: string;
|
|
486
|
+
} | undefined;
|
|
487
487
|
}, {
|
|
488
488
|
id: string;
|
|
489
489
|
status: LeadAssignmentStatus;
|
|
490
490
|
createdAt: string | Date;
|
|
491
491
|
updatedAt: string | Date;
|
|
492
|
-
leadId: string;
|
|
493
492
|
agentId: string | null;
|
|
494
493
|
companyId: string | null;
|
|
494
|
+
leadId: string;
|
|
495
495
|
assignedAt: string | Date;
|
|
496
496
|
assignedBy: string | null;
|
|
497
497
|
company?: {
|
|
498
498
|
id: string;
|
|
499
|
+
name: string;
|
|
499
500
|
createdAt: string | Date;
|
|
500
501
|
updatedAt: string | Date;
|
|
501
|
-
name: string;
|
|
502
502
|
} | null | undefined;
|
|
503
|
-
lead?: {
|
|
504
|
-
phoneNumber: string;
|
|
505
|
-
name: string;
|
|
506
|
-
} | undefined;
|
|
507
503
|
agent?: {
|
|
508
504
|
id: string;
|
|
509
505
|
createdAt: string | Date;
|
|
@@ -520,6 +516,10 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
|
|
|
520
516
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
521
517
|
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;
|
|
522
518
|
} | undefined;
|
|
519
|
+
lead?: {
|
|
520
|
+
phoneNumber: string;
|
|
521
|
+
name: string;
|
|
522
|
+
} | undefined;
|
|
523
523
|
}>>;
|
|
524
524
|
}, "strip", z.ZodTypeAny, {
|
|
525
525
|
completed: {
|
|
@@ -527,21 +527,17 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
|
|
|
527
527
|
status: LeadAssignmentStatus;
|
|
528
528
|
createdAt: string;
|
|
529
529
|
updatedAt: string;
|
|
530
|
-
leadId: string;
|
|
531
530
|
agentId: string | null;
|
|
532
531
|
companyId: string | null;
|
|
532
|
+
leadId: string;
|
|
533
533
|
assignedAt: string;
|
|
534
534
|
assignedBy: string | null;
|
|
535
535
|
company?: {
|
|
536
536
|
id: string;
|
|
537
|
+
name: string;
|
|
537
538
|
createdAt: string;
|
|
538
539
|
updatedAt: string;
|
|
539
|
-
name: string;
|
|
540
540
|
} | null | undefined;
|
|
541
|
-
lead?: {
|
|
542
|
-
phoneNumber: string;
|
|
543
|
-
name: string;
|
|
544
|
-
} | undefined;
|
|
545
541
|
agent?: {
|
|
546
542
|
id: string;
|
|
547
543
|
createdAt: string;
|
|
@@ -558,27 +554,27 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
|
|
|
558
554
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
559
555
|
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;
|
|
560
556
|
} | undefined;
|
|
557
|
+
lead?: {
|
|
558
|
+
phoneNumber: string;
|
|
559
|
+
name: string;
|
|
560
|
+
} | undefined;
|
|
561
561
|
};
|
|
562
562
|
next: {
|
|
563
563
|
id: string;
|
|
564
564
|
status: LeadAssignmentStatus;
|
|
565
565
|
createdAt: string;
|
|
566
566
|
updatedAt: string;
|
|
567
|
-
leadId: string;
|
|
568
567
|
agentId: string | null;
|
|
569
568
|
companyId: string | null;
|
|
569
|
+
leadId: string;
|
|
570
570
|
assignedAt: string;
|
|
571
571
|
assignedBy: string | null;
|
|
572
572
|
company?: {
|
|
573
573
|
id: string;
|
|
574
|
+
name: string;
|
|
574
575
|
createdAt: string;
|
|
575
576
|
updatedAt: string;
|
|
576
|
-
name: string;
|
|
577
577
|
} | null | undefined;
|
|
578
|
-
lead?: {
|
|
579
|
-
phoneNumber: string;
|
|
580
|
-
name: string;
|
|
581
|
-
} | undefined;
|
|
582
578
|
agent?: {
|
|
583
579
|
id: string;
|
|
584
580
|
createdAt: string;
|
|
@@ -595,6 +591,10 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
|
|
|
595
591
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
596
592
|
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;
|
|
597
593
|
} | undefined;
|
|
594
|
+
lead?: {
|
|
595
|
+
phoneNumber: string;
|
|
596
|
+
name: string;
|
|
597
|
+
} | undefined;
|
|
598
598
|
} | null;
|
|
599
599
|
}, {
|
|
600
600
|
completed: {
|
|
@@ -602,21 +602,17 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
|
|
|
602
602
|
status: LeadAssignmentStatus;
|
|
603
603
|
createdAt: string | Date;
|
|
604
604
|
updatedAt: string | Date;
|
|
605
|
-
leadId: string;
|
|
606
605
|
agentId: string | null;
|
|
607
606
|
companyId: string | null;
|
|
607
|
+
leadId: string;
|
|
608
608
|
assignedAt: string | Date;
|
|
609
609
|
assignedBy: string | null;
|
|
610
610
|
company?: {
|
|
611
611
|
id: string;
|
|
612
|
+
name: string;
|
|
612
613
|
createdAt: string | Date;
|
|
613
614
|
updatedAt: string | Date;
|
|
614
|
-
name: string;
|
|
615
615
|
} | null | undefined;
|
|
616
|
-
lead?: {
|
|
617
|
-
phoneNumber: string;
|
|
618
|
-
name: string;
|
|
619
|
-
} | undefined;
|
|
620
616
|
agent?: {
|
|
621
617
|
id: string;
|
|
622
618
|
createdAt: string | Date;
|
|
@@ -633,27 +629,27 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
|
|
|
633
629
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
634
630
|
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;
|
|
635
631
|
} | undefined;
|
|
632
|
+
lead?: {
|
|
633
|
+
phoneNumber: string;
|
|
634
|
+
name: string;
|
|
635
|
+
} | undefined;
|
|
636
636
|
};
|
|
637
637
|
next: {
|
|
638
638
|
id: string;
|
|
639
639
|
status: LeadAssignmentStatus;
|
|
640
640
|
createdAt: string | Date;
|
|
641
641
|
updatedAt: string | Date;
|
|
642
|
-
leadId: string;
|
|
643
642
|
agentId: string | null;
|
|
644
643
|
companyId: string | null;
|
|
644
|
+
leadId: string;
|
|
645
645
|
assignedAt: string | Date;
|
|
646
646
|
assignedBy: string | null;
|
|
647
647
|
company?: {
|
|
648
648
|
id: string;
|
|
649
|
+
name: string;
|
|
649
650
|
createdAt: string | Date;
|
|
650
651
|
updatedAt: string | Date;
|
|
651
|
-
name: string;
|
|
652
652
|
} | null | undefined;
|
|
653
|
-
lead?: {
|
|
654
|
-
phoneNumber: string;
|
|
655
|
-
name: string;
|
|
656
|
-
} | undefined;
|
|
657
653
|
agent?: {
|
|
658
654
|
id: string;
|
|
659
655
|
createdAt: string | Date;
|
|
@@ -670,6 +666,10 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
|
|
|
670
666
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
671
667
|
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;
|
|
672
668
|
} | undefined;
|
|
669
|
+
lead?: {
|
|
670
|
+
phoneNumber: string;
|
|
671
|
+
name: string;
|
|
672
|
+
} | undefined;
|
|
673
673
|
} | null;
|
|
674
674
|
}>;
|
|
675
675
|
export declare const QueueStatusSchema: z.ZodObject<{
|
|
@@ -921,14 +921,14 @@ export declare const leadAssignmentsContract: {
|
|
|
921
921
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
922
922
|
}, "strip", z.ZodTypeAny, {
|
|
923
923
|
id: string;
|
|
924
|
+
name: string;
|
|
924
925
|
createdAt: string;
|
|
925
926
|
updatedAt: string;
|
|
926
|
-
name: string;
|
|
927
927
|
}, {
|
|
928
928
|
id: string;
|
|
929
|
+
name: string;
|
|
929
930
|
createdAt: string | Date;
|
|
930
931
|
updatedAt: string | Date;
|
|
931
|
-
name: string;
|
|
932
932
|
}>>>;
|
|
933
933
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
934
934
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -937,21 +937,17 @@ export declare const leadAssignmentsContract: {
|
|
|
937
937
|
status: LeadAssignmentStatus;
|
|
938
938
|
createdAt: string;
|
|
939
939
|
updatedAt: string;
|
|
940
|
-
leadId: string;
|
|
941
940
|
agentId: string | null;
|
|
942
941
|
companyId: string | null;
|
|
942
|
+
leadId: string;
|
|
943
943
|
assignedAt: string;
|
|
944
944
|
assignedBy: string | null;
|
|
945
945
|
company?: {
|
|
946
946
|
id: string;
|
|
947
|
+
name: string;
|
|
947
948
|
createdAt: string;
|
|
948
949
|
updatedAt: string;
|
|
949
|
-
name: string;
|
|
950
950
|
} | null | undefined;
|
|
951
|
-
lead?: {
|
|
952
|
-
phoneNumber: string;
|
|
953
|
-
name: string;
|
|
954
|
-
} | undefined;
|
|
955
951
|
agent?: {
|
|
956
952
|
id: string;
|
|
957
953
|
createdAt: string;
|
|
@@ -968,26 +964,26 @@ export declare const leadAssignmentsContract: {
|
|
|
968
964
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
969
965
|
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;
|
|
970
966
|
} | undefined;
|
|
967
|
+
lead?: {
|
|
968
|
+
phoneNumber: string;
|
|
969
|
+
name: string;
|
|
970
|
+
} | undefined;
|
|
971
971
|
}, {
|
|
972
972
|
id: string;
|
|
973
973
|
status: LeadAssignmentStatus;
|
|
974
974
|
createdAt: string | Date;
|
|
975
975
|
updatedAt: string | Date;
|
|
976
|
-
leadId: string;
|
|
977
976
|
agentId: string | null;
|
|
978
977
|
companyId: string | null;
|
|
978
|
+
leadId: string;
|
|
979
979
|
assignedAt: string | Date;
|
|
980
980
|
assignedBy: string | null;
|
|
981
981
|
company?: {
|
|
982
982
|
id: string;
|
|
983
|
+
name: string;
|
|
983
984
|
createdAt: string | Date;
|
|
984
985
|
updatedAt: string | Date;
|
|
985
|
-
name: string;
|
|
986
986
|
} | null | undefined;
|
|
987
|
-
lead?: {
|
|
988
|
-
phoneNumber: string;
|
|
989
|
-
name: string;
|
|
990
|
-
} | undefined;
|
|
991
987
|
agent?: {
|
|
992
988
|
id: string;
|
|
993
989
|
createdAt: string | Date;
|
|
@@ -1004,6 +1000,10 @@ export declare const leadAssignmentsContract: {
|
|
|
1004
1000
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1005
1001
|
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;
|
|
1006
1002
|
} | undefined;
|
|
1003
|
+
lead?: {
|
|
1004
|
+
phoneNumber: string;
|
|
1005
|
+
name: string;
|
|
1006
|
+
} | undefined;
|
|
1007
1007
|
}>;
|
|
1008
1008
|
next: z.ZodNullable<z.ZodObject<{
|
|
1009
1009
|
id: z.ZodString;
|
|
@@ -1086,14 +1086,14 @@ export declare const leadAssignmentsContract: {
|
|
|
1086
1086
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1087
1087
|
}, "strip", z.ZodTypeAny, {
|
|
1088
1088
|
id: string;
|
|
1089
|
+
name: string;
|
|
1089
1090
|
createdAt: string;
|
|
1090
1091
|
updatedAt: string;
|
|
1091
|
-
name: string;
|
|
1092
1092
|
}, {
|
|
1093
1093
|
id: string;
|
|
1094
|
+
name: string;
|
|
1094
1095
|
createdAt: string | Date;
|
|
1095
1096
|
updatedAt: string | Date;
|
|
1096
|
-
name: string;
|
|
1097
1097
|
}>>>;
|
|
1098
1098
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1099
1099
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -1102,21 +1102,17 @@ export declare const leadAssignmentsContract: {
|
|
|
1102
1102
|
status: LeadAssignmentStatus;
|
|
1103
1103
|
createdAt: string;
|
|
1104
1104
|
updatedAt: string;
|
|
1105
|
-
leadId: string;
|
|
1106
1105
|
agentId: string | null;
|
|
1107
1106
|
companyId: string | null;
|
|
1107
|
+
leadId: string;
|
|
1108
1108
|
assignedAt: string;
|
|
1109
1109
|
assignedBy: string | null;
|
|
1110
1110
|
company?: {
|
|
1111
1111
|
id: string;
|
|
1112
|
+
name: string;
|
|
1112
1113
|
createdAt: string;
|
|
1113
1114
|
updatedAt: string;
|
|
1114
|
-
name: string;
|
|
1115
1115
|
} | null | undefined;
|
|
1116
|
-
lead?: {
|
|
1117
|
-
phoneNumber: string;
|
|
1118
|
-
name: string;
|
|
1119
|
-
} | undefined;
|
|
1120
1116
|
agent?: {
|
|
1121
1117
|
id: string;
|
|
1122
1118
|
createdAt: string;
|
|
@@ -1133,26 +1129,26 @@ export declare const leadAssignmentsContract: {
|
|
|
1133
1129
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1134
1130
|
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;
|
|
1135
1131
|
} | undefined;
|
|
1132
|
+
lead?: {
|
|
1133
|
+
phoneNumber: string;
|
|
1134
|
+
name: string;
|
|
1135
|
+
} | undefined;
|
|
1136
1136
|
}, {
|
|
1137
1137
|
id: string;
|
|
1138
1138
|
status: LeadAssignmentStatus;
|
|
1139
1139
|
createdAt: string | Date;
|
|
1140
1140
|
updatedAt: string | Date;
|
|
1141
|
-
leadId: string;
|
|
1142
1141
|
agentId: string | null;
|
|
1143
1142
|
companyId: string | null;
|
|
1143
|
+
leadId: string;
|
|
1144
1144
|
assignedAt: string | Date;
|
|
1145
1145
|
assignedBy: string | null;
|
|
1146
1146
|
company?: {
|
|
1147
1147
|
id: string;
|
|
1148
|
+
name: string;
|
|
1148
1149
|
createdAt: string | Date;
|
|
1149
1150
|
updatedAt: string | Date;
|
|
1150
|
-
name: string;
|
|
1151
1151
|
} | null | undefined;
|
|
1152
|
-
lead?: {
|
|
1153
|
-
phoneNumber: string;
|
|
1154
|
-
name: string;
|
|
1155
|
-
} | undefined;
|
|
1156
1152
|
agent?: {
|
|
1157
1153
|
id: string;
|
|
1158
1154
|
createdAt: string | Date;
|
|
@@ -1169,6 +1165,10 @@ export declare const leadAssignmentsContract: {
|
|
|
1169
1165
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1170
1166
|
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;
|
|
1171
1167
|
} | undefined;
|
|
1168
|
+
lead?: {
|
|
1169
|
+
phoneNumber: string;
|
|
1170
|
+
name: string;
|
|
1171
|
+
} | undefined;
|
|
1172
1172
|
}>>;
|
|
1173
1173
|
}, "strip", z.ZodTypeAny, {
|
|
1174
1174
|
completed: {
|
|
@@ -1176,21 +1176,17 @@ export declare const leadAssignmentsContract: {
|
|
|
1176
1176
|
status: LeadAssignmentStatus;
|
|
1177
1177
|
createdAt: string;
|
|
1178
1178
|
updatedAt: string;
|
|
1179
|
-
leadId: string;
|
|
1180
1179
|
agentId: string | null;
|
|
1181
1180
|
companyId: string | null;
|
|
1181
|
+
leadId: string;
|
|
1182
1182
|
assignedAt: string;
|
|
1183
1183
|
assignedBy: string | null;
|
|
1184
1184
|
company?: {
|
|
1185
1185
|
id: string;
|
|
1186
|
+
name: string;
|
|
1186
1187
|
createdAt: string;
|
|
1187
1188
|
updatedAt: string;
|
|
1188
|
-
name: string;
|
|
1189
1189
|
} | null | undefined;
|
|
1190
|
-
lead?: {
|
|
1191
|
-
phoneNumber: string;
|
|
1192
|
-
name: string;
|
|
1193
|
-
} | undefined;
|
|
1194
1190
|
agent?: {
|
|
1195
1191
|
id: string;
|
|
1196
1192
|
createdAt: string;
|
|
@@ -1207,27 +1203,27 @@ export declare const leadAssignmentsContract: {
|
|
|
1207
1203
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1208
1204
|
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;
|
|
1209
1205
|
} | undefined;
|
|
1206
|
+
lead?: {
|
|
1207
|
+
phoneNumber: string;
|
|
1208
|
+
name: string;
|
|
1209
|
+
} | undefined;
|
|
1210
1210
|
};
|
|
1211
1211
|
next: {
|
|
1212
1212
|
id: string;
|
|
1213
1213
|
status: LeadAssignmentStatus;
|
|
1214
1214
|
createdAt: string;
|
|
1215
1215
|
updatedAt: string;
|
|
1216
|
-
leadId: string;
|
|
1217
1216
|
agentId: string | null;
|
|
1218
1217
|
companyId: string | null;
|
|
1218
|
+
leadId: string;
|
|
1219
1219
|
assignedAt: string;
|
|
1220
1220
|
assignedBy: string | null;
|
|
1221
1221
|
company?: {
|
|
1222
1222
|
id: string;
|
|
1223
|
+
name: string;
|
|
1223
1224
|
createdAt: string;
|
|
1224
1225
|
updatedAt: string;
|
|
1225
|
-
name: string;
|
|
1226
1226
|
} | null | undefined;
|
|
1227
|
-
lead?: {
|
|
1228
|
-
phoneNumber: string;
|
|
1229
|
-
name: string;
|
|
1230
|
-
} | undefined;
|
|
1231
1227
|
agent?: {
|
|
1232
1228
|
id: string;
|
|
1233
1229
|
createdAt: string;
|
|
@@ -1244,6 +1240,10 @@ export declare const leadAssignmentsContract: {
|
|
|
1244
1240
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1245
1241
|
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;
|
|
1246
1242
|
} | undefined;
|
|
1243
|
+
lead?: {
|
|
1244
|
+
phoneNumber: string;
|
|
1245
|
+
name: string;
|
|
1246
|
+
} | undefined;
|
|
1247
1247
|
} | null;
|
|
1248
1248
|
}, {
|
|
1249
1249
|
completed: {
|
|
@@ -1251,21 +1251,17 @@ export declare const leadAssignmentsContract: {
|
|
|
1251
1251
|
status: LeadAssignmentStatus;
|
|
1252
1252
|
createdAt: string | Date;
|
|
1253
1253
|
updatedAt: string | Date;
|
|
1254
|
-
leadId: string;
|
|
1255
1254
|
agentId: string | null;
|
|
1256
1255
|
companyId: string | null;
|
|
1256
|
+
leadId: string;
|
|
1257
1257
|
assignedAt: string | Date;
|
|
1258
1258
|
assignedBy: string | null;
|
|
1259
1259
|
company?: {
|
|
1260
1260
|
id: string;
|
|
1261
|
+
name: string;
|
|
1261
1262
|
createdAt: string | Date;
|
|
1262
1263
|
updatedAt: string | Date;
|
|
1263
|
-
name: string;
|
|
1264
1264
|
} | null | undefined;
|
|
1265
|
-
lead?: {
|
|
1266
|
-
phoneNumber: string;
|
|
1267
|
-
name: string;
|
|
1268
|
-
} | undefined;
|
|
1269
1265
|
agent?: {
|
|
1270
1266
|
id: string;
|
|
1271
1267
|
createdAt: string | Date;
|
|
@@ -1282,27 +1278,27 @@ export declare const leadAssignmentsContract: {
|
|
|
1282
1278
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1283
1279
|
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;
|
|
1284
1280
|
} | undefined;
|
|
1281
|
+
lead?: {
|
|
1282
|
+
phoneNumber: string;
|
|
1283
|
+
name: string;
|
|
1284
|
+
} | undefined;
|
|
1285
1285
|
};
|
|
1286
1286
|
next: {
|
|
1287
1287
|
id: string;
|
|
1288
1288
|
status: LeadAssignmentStatus;
|
|
1289
1289
|
createdAt: string | Date;
|
|
1290
1290
|
updatedAt: string | Date;
|
|
1291
|
-
leadId: string;
|
|
1292
1291
|
agentId: string | null;
|
|
1293
1292
|
companyId: string | null;
|
|
1293
|
+
leadId: string;
|
|
1294
1294
|
assignedAt: string | Date;
|
|
1295
1295
|
assignedBy: string | null;
|
|
1296
1296
|
company?: {
|
|
1297
1297
|
id: string;
|
|
1298
|
+
name: string;
|
|
1298
1299
|
createdAt: string | Date;
|
|
1299
1300
|
updatedAt: string | Date;
|
|
1300
|
-
name: string;
|
|
1301
1301
|
} | null | undefined;
|
|
1302
|
-
lead?: {
|
|
1303
|
-
phoneNumber: string;
|
|
1304
|
-
name: string;
|
|
1305
|
-
} | undefined;
|
|
1306
1302
|
agent?: {
|
|
1307
1303
|
id: string;
|
|
1308
1304
|
createdAt: string | Date;
|
|
@@ -1319,6 +1315,10 @@ export declare const leadAssignmentsContract: {
|
|
|
1319
1315
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1320
1316
|
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;
|
|
1321
1317
|
} | undefined;
|
|
1318
|
+
lead?: {
|
|
1319
|
+
phoneNumber: string;
|
|
1320
|
+
name: string;
|
|
1321
|
+
} | undefined;
|
|
1322
1322
|
} | null;
|
|
1323
1323
|
}>>;
|
|
1324
1324
|
404: z.ZodObject<{
|
|
@@ -1537,14 +1537,14 @@ export declare const leadAssignmentsContract: {
|
|
|
1537
1537
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1538
1538
|
}, "strip", z.ZodTypeAny, {
|
|
1539
1539
|
id: string;
|
|
1540
|
+
name: string;
|
|
1540
1541
|
createdAt: string;
|
|
1541
1542
|
updatedAt: string;
|
|
1542
|
-
name: string;
|
|
1543
1543
|
}, {
|
|
1544
1544
|
id: string;
|
|
1545
|
+
name: string;
|
|
1545
1546
|
createdAt: string | Date;
|
|
1546
1547
|
updatedAt: string | Date;
|
|
1547
|
-
name: string;
|
|
1548
1548
|
}>>>;
|
|
1549
1549
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1550
1550
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -1553,21 +1553,17 @@ export declare const leadAssignmentsContract: {
|
|
|
1553
1553
|
status: LeadAssignmentStatus;
|
|
1554
1554
|
createdAt: string;
|
|
1555
1555
|
updatedAt: string;
|
|
1556
|
-
leadId: string;
|
|
1557
1556
|
agentId: string | null;
|
|
1558
1557
|
companyId: string | null;
|
|
1558
|
+
leadId: string;
|
|
1559
1559
|
assignedAt: string;
|
|
1560
1560
|
assignedBy: string | null;
|
|
1561
1561
|
company?: {
|
|
1562
1562
|
id: string;
|
|
1563
|
+
name: string;
|
|
1563
1564
|
createdAt: string;
|
|
1564
1565
|
updatedAt: string;
|
|
1565
|
-
name: string;
|
|
1566
1566
|
} | null | undefined;
|
|
1567
|
-
lead?: {
|
|
1568
|
-
phoneNumber: string;
|
|
1569
|
-
name: string;
|
|
1570
|
-
} | undefined;
|
|
1571
1567
|
agent?: {
|
|
1572
1568
|
id: string;
|
|
1573
1569
|
createdAt: string;
|
|
@@ -1584,26 +1580,26 @@ export declare const leadAssignmentsContract: {
|
|
|
1584
1580
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1585
1581
|
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;
|
|
1586
1582
|
} | undefined;
|
|
1583
|
+
lead?: {
|
|
1584
|
+
phoneNumber: string;
|
|
1585
|
+
name: string;
|
|
1586
|
+
} | undefined;
|
|
1587
1587
|
}, {
|
|
1588
1588
|
id: string;
|
|
1589
1589
|
status: LeadAssignmentStatus;
|
|
1590
1590
|
createdAt: string | Date;
|
|
1591
1591
|
updatedAt: string | Date;
|
|
1592
|
-
leadId: string;
|
|
1593
1592
|
agentId: string | null;
|
|
1594
1593
|
companyId: string | null;
|
|
1594
|
+
leadId: string;
|
|
1595
1595
|
assignedAt: string | Date;
|
|
1596
1596
|
assignedBy: string | null;
|
|
1597
1597
|
company?: {
|
|
1598
1598
|
id: string;
|
|
1599
|
+
name: string;
|
|
1599
1600
|
createdAt: string | Date;
|
|
1600
1601
|
updatedAt: string | Date;
|
|
1601
|
-
name: string;
|
|
1602
1602
|
} | null | undefined;
|
|
1603
|
-
lead?: {
|
|
1604
|
-
phoneNumber: string;
|
|
1605
|
-
name: string;
|
|
1606
|
-
} | undefined;
|
|
1607
1603
|
agent?: {
|
|
1608
1604
|
id: string;
|
|
1609
1605
|
createdAt: string | Date;
|
|
@@ -1620,6 +1616,10 @@ export declare const leadAssignmentsContract: {
|
|
|
1620
1616
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1621
1617
|
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;
|
|
1622
1618
|
} | undefined;
|
|
1619
|
+
lead?: {
|
|
1620
|
+
phoneNumber: string;
|
|
1621
|
+
name: string;
|
|
1622
|
+
} | undefined;
|
|
1623
1623
|
}>>;
|
|
1624
1624
|
};
|
|
1625
1625
|
};
|
|
@@ -1820,14 +1820,14 @@ export declare const leadAssignmentsContract: {
|
|
|
1820
1820
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1821
1821
|
}, "strip", z.ZodTypeAny, {
|
|
1822
1822
|
id: string;
|
|
1823
|
+
name: string;
|
|
1823
1824
|
createdAt: string;
|
|
1824
1825
|
updatedAt: string;
|
|
1825
|
-
name: string;
|
|
1826
1826
|
}, {
|
|
1827
1827
|
id: string;
|
|
1828
|
+
name: string;
|
|
1828
1829
|
createdAt: string | Date;
|
|
1829
1830
|
updatedAt: string | Date;
|
|
1830
|
-
name: string;
|
|
1831
1831
|
}>>>;
|
|
1832
1832
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1833
1833
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -1836,21 +1836,17 @@ export declare const leadAssignmentsContract: {
|
|
|
1836
1836
|
status: LeadAssignmentStatus;
|
|
1837
1837
|
createdAt: string;
|
|
1838
1838
|
updatedAt: string;
|
|
1839
|
-
leadId: string;
|
|
1840
1839
|
agentId: string | null;
|
|
1841
1840
|
companyId: string | null;
|
|
1841
|
+
leadId: string;
|
|
1842
1842
|
assignedAt: string;
|
|
1843
1843
|
assignedBy: string | null;
|
|
1844
1844
|
company?: {
|
|
1845
1845
|
id: string;
|
|
1846
|
+
name: string;
|
|
1846
1847
|
createdAt: string;
|
|
1847
1848
|
updatedAt: string;
|
|
1848
|
-
name: string;
|
|
1849
1849
|
} | null | undefined;
|
|
1850
|
-
lead?: {
|
|
1851
|
-
phoneNumber: string;
|
|
1852
|
-
name: string;
|
|
1853
|
-
} | undefined;
|
|
1854
1850
|
agent?: {
|
|
1855
1851
|
id: string;
|
|
1856
1852
|
createdAt: string;
|
|
@@ -1867,26 +1863,26 @@ export declare const leadAssignmentsContract: {
|
|
|
1867
1863
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1868
1864
|
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;
|
|
1869
1865
|
} | undefined;
|
|
1866
|
+
lead?: {
|
|
1867
|
+
phoneNumber: string;
|
|
1868
|
+
name: string;
|
|
1869
|
+
} | undefined;
|
|
1870
1870
|
}, {
|
|
1871
1871
|
id: string;
|
|
1872
1872
|
status: LeadAssignmentStatus;
|
|
1873
1873
|
createdAt: string | Date;
|
|
1874
1874
|
updatedAt: string | Date;
|
|
1875
|
-
leadId: string;
|
|
1876
1875
|
agentId: string | null;
|
|
1877
1876
|
companyId: string | null;
|
|
1877
|
+
leadId: string;
|
|
1878
1878
|
assignedAt: string | Date;
|
|
1879
1879
|
assignedBy: string | null;
|
|
1880
1880
|
company?: {
|
|
1881
1881
|
id: string;
|
|
1882
|
+
name: string;
|
|
1882
1883
|
createdAt: string | Date;
|
|
1883
1884
|
updatedAt: string | Date;
|
|
1884
|
-
name: string;
|
|
1885
1885
|
} | null | undefined;
|
|
1886
|
-
lead?: {
|
|
1887
|
-
phoneNumber: string;
|
|
1888
|
-
name: string;
|
|
1889
|
-
} | undefined;
|
|
1890
1886
|
agent?: {
|
|
1891
1887
|
id: string;
|
|
1892
1888
|
createdAt: string | Date;
|
|
@@ -1903,6 +1899,10 @@ export declare const leadAssignmentsContract: {
|
|
|
1903
1899
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1904
1900
|
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;
|
|
1905
1901
|
} | undefined;
|
|
1902
|
+
lead?: {
|
|
1903
|
+
phoneNumber: string;
|
|
1904
|
+
name: string;
|
|
1905
|
+
} | undefined;
|
|
1906
1906
|
}>;
|
|
1907
1907
|
404: z.ZodObject<{
|
|
1908
1908
|
statusCode: z.ZodNumber;
|
|
@@ -2127,14 +2127,14 @@ export declare const leadAssignmentsContract: {
|
|
|
2127
2127
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2128
2128
|
}, "strip", z.ZodTypeAny, {
|
|
2129
2129
|
id: string;
|
|
2130
|
+
name: string;
|
|
2130
2131
|
createdAt: string;
|
|
2131
2132
|
updatedAt: string;
|
|
2132
|
-
name: string;
|
|
2133
2133
|
}, {
|
|
2134
2134
|
id: string;
|
|
2135
|
+
name: string;
|
|
2135
2136
|
createdAt: string | Date;
|
|
2136
2137
|
updatedAt: string | Date;
|
|
2137
|
-
name: string;
|
|
2138
2138
|
}>>>;
|
|
2139
2139
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2140
2140
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -2143,21 +2143,17 @@ export declare const leadAssignmentsContract: {
|
|
|
2143
2143
|
status: LeadAssignmentStatus;
|
|
2144
2144
|
createdAt: string;
|
|
2145
2145
|
updatedAt: string;
|
|
2146
|
-
leadId: string;
|
|
2147
2146
|
agentId: string | null;
|
|
2148
2147
|
companyId: string | null;
|
|
2148
|
+
leadId: string;
|
|
2149
2149
|
assignedAt: string;
|
|
2150
2150
|
assignedBy: string | null;
|
|
2151
2151
|
company?: {
|
|
2152
2152
|
id: string;
|
|
2153
|
+
name: string;
|
|
2153
2154
|
createdAt: string;
|
|
2154
2155
|
updatedAt: string;
|
|
2155
|
-
name: string;
|
|
2156
2156
|
} | null | undefined;
|
|
2157
|
-
lead?: {
|
|
2158
|
-
phoneNumber: string;
|
|
2159
|
-
name: string;
|
|
2160
|
-
} | undefined;
|
|
2161
2157
|
agent?: {
|
|
2162
2158
|
id: string;
|
|
2163
2159
|
createdAt: string;
|
|
@@ -2174,26 +2170,26 @@ export declare const leadAssignmentsContract: {
|
|
|
2174
2170
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2175
2171
|
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;
|
|
2176
2172
|
} | undefined;
|
|
2173
|
+
lead?: {
|
|
2174
|
+
phoneNumber: string;
|
|
2175
|
+
name: string;
|
|
2176
|
+
} | undefined;
|
|
2177
2177
|
}, {
|
|
2178
2178
|
id: string;
|
|
2179
2179
|
status: LeadAssignmentStatus;
|
|
2180
2180
|
createdAt: string | Date;
|
|
2181
2181
|
updatedAt: string | Date;
|
|
2182
|
-
leadId: string;
|
|
2183
2182
|
agentId: string | null;
|
|
2184
2183
|
companyId: string | null;
|
|
2184
|
+
leadId: string;
|
|
2185
2185
|
assignedAt: string | Date;
|
|
2186
2186
|
assignedBy: string | null;
|
|
2187
2187
|
company?: {
|
|
2188
2188
|
id: string;
|
|
2189
|
+
name: string;
|
|
2189
2190
|
createdAt: string | Date;
|
|
2190
2191
|
updatedAt: string | Date;
|
|
2191
|
-
name: string;
|
|
2192
2192
|
} | null | undefined;
|
|
2193
|
-
lead?: {
|
|
2194
|
-
phoneNumber: string;
|
|
2195
|
-
name: string;
|
|
2196
|
-
} | undefined;
|
|
2197
2193
|
agent?: {
|
|
2198
2194
|
id: string;
|
|
2199
2195
|
createdAt: string | Date;
|
|
@@ -2210,6 +2206,10 @@ export declare const leadAssignmentsContract: {
|
|
|
2210
2206
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2211
2207
|
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;
|
|
2212
2208
|
} | undefined;
|
|
2209
|
+
lead?: {
|
|
2210
|
+
phoneNumber: string;
|
|
2211
|
+
name: string;
|
|
2212
|
+
} | undefined;
|
|
2213
2213
|
}>;
|
|
2214
2214
|
404: z.ZodObject<{
|
|
2215
2215
|
statusCode: z.ZodNumber;
|