@dakkitor/api-contracts 1.1.107 → 1.1.109
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actives/actives.contract.d.ts +2577 -2577
- package/dist/agent-client-links/agent-client-links.contract.d.ts +486 -486
- package/dist/auth/auth.contract.d.ts +16 -16
- package/dist/bookings/bookings.contract.d.ts +9898 -9898
- package/dist/call-history/call-history.contract.d.ts +483 -453
- package/dist/call-history/call-history.contract.d.ts.map +1 -1
- package/dist/call-history/call-history.contract.js +3 -1
- package/dist/client-contacts/client-contacts.contract.d.ts +26 -26
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +994 -994
- package/dist/collaborations/collaborations.contract.d.ts +868 -868
- package/dist/common/common-schemas.d.ts +11 -0
- package/dist/common/common-schemas.d.ts.map +1 -1
- package/dist/common/common-schemas.js +8 -1
- package/dist/dashboards/dashboard-widgets.contract.d.ts +54 -48
- package/dist/dashboards/dashboard-widgets.contract.d.ts.map +1 -1
- package/dist/dashboards/dashboard-widgets.contract.js +18 -9
- package/dist/dashboards/dashboard.contract.d.ts +14 -14
- package/dist/jobs/jobs.contract.d.ts +1756 -1756
- package/dist/lead-assignments/lead-assignments.contract.d.ts +344 -344
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +163 -163
- package/dist/leads/leads.contract.d.ts +65 -65
- package/dist/users/users.contract.d.ts +128 -128
- package/dist/workers/workers.contract.d.ts +172 -172
- package/package.json +1 -1
|
@@ -55,27 +55,27 @@ export declare const LeadAssignmentSchema: z.ZodObject<{
|
|
|
55
55
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
56
56
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
57
57
|
}, "strip", z.ZodTypeAny, {
|
|
58
|
-
|
|
58
|
+
id: string;
|
|
59
|
+
createdAt: string;
|
|
60
|
+
updatedAt: string;
|
|
59
61
|
firstName: string;
|
|
62
|
+
lastName: string;
|
|
60
63
|
email: string;
|
|
61
|
-
createdAt: string;
|
|
62
|
-
id: string;
|
|
63
64
|
phoneNumbers: {
|
|
64
65
|
id: string;
|
|
65
66
|
phoneNumber: string;
|
|
66
67
|
isPrimary: boolean;
|
|
67
68
|
description?: string | null | undefined;
|
|
68
69
|
}[];
|
|
69
|
-
updatedAt: string;
|
|
70
70
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
71
71
|
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;
|
|
72
72
|
}, {
|
|
73
|
-
lastName: string;
|
|
74
|
-
firstName: string;
|
|
75
|
-
email: string;
|
|
76
|
-
createdAt: string | Date;
|
|
77
73
|
id: string;
|
|
74
|
+
createdAt: string | Date;
|
|
78
75
|
updatedAt: string | Date;
|
|
76
|
+
firstName: string;
|
|
77
|
+
lastName: string;
|
|
78
|
+
email: string;
|
|
79
79
|
phoneNumbers?: {
|
|
80
80
|
id: string;
|
|
81
81
|
phoneNumber: string;
|
|
@@ -95,77 +95,81 @@ export declare const LeadAssignmentSchema: z.ZodObject<{
|
|
|
95
95
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
96
96
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
97
97
|
}, "strip", z.ZodTypeAny, {
|
|
98
|
-
createdAt: string;
|
|
99
98
|
id: string;
|
|
99
|
+
createdAt: string;
|
|
100
100
|
updatedAt: string;
|
|
101
101
|
name: string;
|
|
102
102
|
}, {
|
|
103
|
-
createdAt: string | Date;
|
|
104
103
|
id: string;
|
|
104
|
+
createdAt: string | Date;
|
|
105
105
|
updatedAt: string | Date;
|
|
106
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>;
|
|
110
110
|
}, "strip", z.ZodTypeAny, {
|
|
111
|
-
createdAt: string;
|
|
112
111
|
id: string;
|
|
113
112
|
status: LeadAssignmentStatus;
|
|
113
|
+
createdAt: string;
|
|
114
114
|
updatedAt: string;
|
|
115
|
+
leadId: string;
|
|
115
116
|
agentId: string | null;
|
|
116
117
|
companyId: string | null;
|
|
117
|
-
leadId: string;
|
|
118
118
|
assignedAt: string;
|
|
119
119
|
assignedBy: string | null;
|
|
120
120
|
company?: {
|
|
121
|
-
createdAt: string;
|
|
122
121
|
id: string;
|
|
122
|
+
createdAt: string;
|
|
123
123
|
updatedAt: string;
|
|
124
124
|
name: string;
|
|
125
125
|
} | null | undefined;
|
|
126
|
+
lead?: {
|
|
127
|
+
phoneNumber: string;
|
|
128
|
+
name: string;
|
|
129
|
+
} | undefined;
|
|
126
130
|
agent?: {
|
|
127
|
-
|
|
131
|
+
id: string;
|
|
132
|
+
createdAt: string;
|
|
133
|
+
updatedAt: string;
|
|
128
134
|
firstName: string;
|
|
135
|
+
lastName: string;
|
|
129
136
|
email: string;
|
|
130
|
-
createdAt: string;
|
|
131
|
-
id: string;
|
|
132
137
|
phoneNumbers: {
|
|
133
138
|
id: string;
|
|
134
139
|
phoneNumber: string;
|
|
135
140
|
isPrimary: boolean;
|
|
136
141
|
description?: string | null | undefined;
|
|
137
142
|
}[];
|
|
138
|
-
updatedAt: string;
|
|
139
143
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
140
144
|
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;
|
|
141
145
|
} | undefined;
|
|
142
|
-
lead?: {
|
|
143
|
-
phoneNumber: string;
|
|
144
|
-
name: string;
|
|
145
|
-
} | undefined;
|
|
146
146
|
}, {
|
|
147
|
-
createdAt: string | Date;
|
|
148
147
|
id: string;
|
|
149
148
|
status: LeadAssignmentStatus;
|
|
149
|
+
createdAt: string | Date;
|
|
150
150
|
updatedAt: string | Date;
|
|
151
|
+
leadId: string;
|
|
151
152
|
agentId: string | null;
|
|
152
153
|
companyId: string | null;
|
|
153
|
-
leadId: string;
|
|
154
154
|
assignedAt: string | Date;
|
|
155
155
|
assignedBy: string | null;
|
|
156
156
|
company?: {
|
|
157
|
-
createdAt: string | Date;
|
|
158
157
|
id: string;
|
|
158
|
+
createdAt: string | Date;
|
|
159
159
|
updatedAt: string | Date;
|
|
160
160
|
name: string;
|
|
161
161
|
} | null | undefined;
|
|
162
|
+
lead?: {
|
|
163
|
+
phoneNumber: string;
|
|
164
|
+
name: string;
|
|
165
|
+
} | undefined;
|
|
162
166
|
agent?: {
|
|
163
|
-
lastName: string;
|
|
164
|
-
firstName: string;
|
|
165
|
-
email: string;
|
|
166
|
-
createdAt: string | Date;
|
|
167
167
|
id: string;
|
|
168
|
+
createdAt: string | Date;
|
|
168
169
|
updatedAt: string | Date;
|
|
170
|
+
firstName: string;
|
|
171
|
+
lastName: string;
|
|
172
|
+
email: string;
|
|
169
173
|
phoneNumbers?: {
|
|
170
174
|
id: string;
|
|
171
175
|
phoneNumber: string;
|
|
@@ -175,10 +179,6 @@ export declare const LeadAssignmentSchema: z.ZodObject<{
|
|
|
175
179
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
176
180
|
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;
|
|
177
181
|
} | 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>;
|
|
@@ -231,27 +231,27 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
|
|
|
231
231
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
232
232
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
233
233
|
}, "strip", z.ZodTypeAny, {
|
|
234
|
-
|
|
234
|
+
id: string;
|
|
235
|
+
createdAt: string;
|
|
236
|
+
updatedAt: string;
|
|
235
237
|
firstName: string;
|
|
238
|
+
lastName: string;
|
|
236
239
|
email: string;
|
|
237
|
-
createdAt: string;
|
|
238
|
-
id: string;
|
|
239
240
|
phoneNumbers: {
|
|
240
241
|
id: string;
|
|
241
242
|
phoneNumber: string;
|
|
242
243
|
isPrimary: boolean;
|
|
243
244
|
description?: string | null | undefined;
|
|
244
245
|
}[];
|
|
245
|
-
updatedAt: string;
|
|
246
246
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
247
247
|
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;
|
|
248
248
|
}, {
|
|
249
|
-
lastName: string;
|
|
250
|
-
firstName: string;
|
|
251
|
-
email: string;
|
|
252
|
-
createdAt: string | Date;
|
|
253
249
|
id: string;
|
|
250
|
+
createdAt: string | Date;
|
|
254
251
|
updatedAt: string | Date;
|
|
252
|
+
firstName: string;
|
|
253
|
+
lastName: string;
|
|
254
|
+
email: string;
|
|
255
255
|
phoneNumbers?: {
|
|
256
256
|
id: string;
|
|
257
257
|
phoneNumber: string;
|
|
@@ -271,77 +271,81 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
|
|
|
271
271
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
272
272
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
273
273
|
}, "strip", z.ZodTypeAny, {
|
|
274
|
-
createdAt: string;
|
|
275
274
|
id: string;
|
|
275
|
+
createdAt: string;
|
|
276
276
|
updatedAt: string;
|
|
277
277
|
name: string;
|
|
278
278
|
}, {
|
|
279
|
-
createdAt: string | Date;
|
|
280
279
|
id: string;
|
|
280
|
+
createdAt: string | Date;
|
|
281
281
|
updatedAt: string | Date;
|
|
282
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>;
|
|
286
286
|
}, "strip", z.ZodTypeAny, {
|
|
287
|
-
createdAt: string;
|
|
288
287
|
id: string;
|
|
289
288
|
status: LeadAssignmentStatus;
|
|
289
|
+
createdAt: string;
|
|
290
290
|
updatedAt: string;
|
|
291
|
+
leadId: string;
|
|
291
292
|
agentId: string | null;
|
|
292
293
|
companyId: string | null;
|
|
293
|
-
leadId: string;
|
|
294
294
|
assignedAt: string;
|
|
295
295
|
assignedBy: string | null;
|
|
296
296
|
company?: {
|
|
297
|
-
createdAt: string;
|
|
298
297
|
id: string;
|
|
298
|
+
createdAt: string;
|
|
299
299
|
updatedAt: string;
|
|
300
300
|
name: string;
|
|
301
301
|
} | null | undefined;
|
|
302
|
+
lead?: {
|
|
303
|
+
phoneNumber: string;
|
|
304
|
+
name: string;
|
|
305
|
+
} | undefined;
|
|
302
306
|
agent?: {
|
|
303
|
-
|
|
307
|
+
id: string;
|
|
308
|
+
createdAt: string;
|
|
309
|
+
updatedAt: string;
|
|
304
310
|
firstName: string;
|
|
311
|
+
lastName: string;
|
|
305
312
|
email: string;
|
|
306
|
-
createdAt: string;
|
|
307
|
-
id: string;
|
|
308
313
|
phoneNumbers: {
|
|
309
314
|
id: string;
|
|
310
315
|
phoneNumber: string;
|
|
311
316
|
isPrimary: boolean;
|
|
312
317
|
description?: string | null | undefined;
|
|
313
318
|
}[];
|
|
314
|
-
updatedAt: string;
|
|
315
319
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
316
320
|
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;
|
|
317
321
|
} | undefined;
|
|
318
|
-
lead?: {
|
|
319
|
-
phoneNumber: string;
|
|
320
|
-
name: string;
|
|
321
|
-
} | undefined;
|
|
322
322
|
}, {
|
|
323
|
-
createdAt: string | Date;
|
|
324
323
|
id: string;
|
|
325
324
|
status: LeadAssignmentStatus;
|
|
325
|
+
createdAt: string | Date;
|
|
326
326
|
updatedAt: string | Date;
|
|
327
|
+
leadId: string;
|
|
327
328
|
agentId: string | null;
|
|
328
329
|
companyId: string | null;
|
|
329
|
-
leadId: string;
|
|
330
330
|
assignedAt: string | Date;
|
|
331
331
|
assignedBy: string | null;
|
|
332
332
|
company?: {
|
|
333
|
-
createdAt: string | Date;
|
|
334
333
|
id: string;
|
|
334
|
+
createdAt: string | Date;
|
|
335
335
|
updatedAt: string | Date;
|
|
336
336
|
name: string;
|
|
337
337
|
} | null | undefined;
|
|
338
|
+
lead?: {
|
|
339
|
+
phoneNumber: string;
|
|
340
|
+
name: string;
|
|
341
|
+
} | undefined;
|
|
338
342
|
agent?: {
|
|
339
|
-
lastName: string;
|
|
340
|
-
firstName: string;
|
|
341
|
-
email: string;
|
|
342
|
-
createdAt: string | Date;
|
|
343
343
|
id: string;
|
|
344
|
+
createdAt: string | Date;
|
|
344
345
|
updatedAt: string | Date;
|
|
346
|
+
firstName: string;
|
|
347
|
+
lastName: string;
|
|
348
|
+
email: string;
|
|
345
349
|
phoneNumbers?: {
|
|
346
350
|
id: string;
|
|
347
351
|
phoneNumber: string;
|
|
@@ -351,10 +355,6 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
|
|
|
351
355
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
352
356
|
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;
|
|
353
357
|
} | 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;
|
|
@@ -396,27 +396,27 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
|
|
|
396
396
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
397
397
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
398
398
|
}, "strip", z.ZodTypeAny, {
|
|
399
|
-
|
|
399
|
+
id: string;
|
|
400
|
+
createdAt: string;
|
|
401
|
+
updatedAt: string;
|
|
400
402
|
firstName: string;
|
|
403
|
+
lastName: string;
|
|
401
404
|
email: string;
|
|
402
|
-
createdAt: string;
|
|
403
|
-
id: string;
|
|
404
405
|
phoneNumbers: {
|
|
405
406
|
id: string;
|
|
406
407
|
phoneNumber: string;
|
|
407
408
|
isPrimary: boolean;
|
|
408
409
|
description?: string | null | undefined;
|
|
409
410
|
}[];
|
|
410
|
-
updatedAt: string;
|
|
411
411
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
412
412
|
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;
|
|
413
413
|
}, {
|
|
414
|
-
lastName: string;
|
|
415
|
-
firstName: string;
|
|
416
|
-
email: string;
|
|
417
|
-
createdAt: string | Date;
|
|
418
414
|
id: string;
|
|
415
|
+
createdAt: string | Date;
|
|
419
416
|
updatedAt: string | Date;
|
|
417
|
+
firstName: string;
|
|
418
|
+
lastName: string;
|
|
419
|
+
email: string;
|
|
420
420
|
phoneNumbers?: {
|
|
421
421
|
id: string;
|
|
422
422
|
phoneNumber: string;
|
|
@@ -436,77 +436,81 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
|
|
|
436
436
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
437
437
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
438
438
|
}, "strip", z.ZodTypeAny, {
|
|
439
|
-
createdAt: string;
|
|
440
439
|
id: string;
|
|
440
|
+
createdAt: string;
|
|
441
441
|
updatedAt: string;
|
|
442
442
|
name: string;
|
|
443
443
|
}, {
|
|
444
|
-
createdAt: string | Date;
|
|
445
444
|
id: string;
|
|
445
|
+
createdAt: string | Date;
|
|
446
446
|
updatedAt: string | Date;
|
|
447
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>;
|
|
451
451
|
}, "strip", z.ZodTypeAny, {
|
|
452
|
-
createdAt: string;
|
|
453
452
|
id: string;
|
|
454
453
|
status: LeadAssignmentStatus;
|
|
454
|
+
createdAt: string;
|
|
455
455
|
updatedAt: string;
|
|
456
|
+
leadId: string;
|
|
456
457
|
agentId: string | null;
|
|
457
458
|
companyId: string | null;
|
|
458
|
-
leadId: string;
|
|
459
459
|
assignedAt: string;
|
|
460
460
|
assignedBy: string | null;
|
|
461
461
|
company?: {
|
|
462
|
-
createdAt: string;
|
|
463
462
|
id: string;
|
|
463
|
+
createdAt: string;
|
|
464
464
|
updatedAt: string;
|
|
465
465
|
name: string;
|
|
466
466
|
} | null | undefined;
|
|
467
|
+
lead?: {
|
|
468
|
+
phoneNumber: string;
|
|
469
|
+
name: string;
|
|
470
|
+
} | undefined;
|
|
467
471
|
agent?: {
|
|
468
|
-
|
|
472
|
+
id: string;
|
|
473
|
+
createdAt: string;
|
|
474
|
+
updatedAt: string;
|
|
469
475
|
firstName: string;
|
|
476
|
+
lastName: string;
|
|
470
477
|
email: string;
|
|
471
|
-
createdAt: string;
|
|
472
|
-
id: string;
|
|
473
478
|
phoneNumbers: {
|
|
474
479
|
id: string;
|
|
475
480
|
phoneNumber: string;
|
|
476
481
|
isPrimary: boolean;
|
|
477
482
|
description?: string | null | undefined;
|
|
478
483
|
}[];
|
|
479
|
-
updatedAt: string;
|
|
480
484
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
481
485
|
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;
|
|
482
486
|
} | undefined;
|
|
483
|
-
lead?: {
|
|
484
|
-
phoneNumber: string;
|
|
485
|
-
name: string;
|
|
486
|
-
} | undefined;
|
|
487
487
|
}, {
|
|
488
|
-
createdAt: string | Date;
|
|
489
488
|
id: string;
|
|
490
489
|
status: LeadAssignmentStatus;
|
|
490
|
+
createdAt: string | Date;
|
|
491
491
|
updatedAt: string | Date;
|
|
492
|
+
leadId: string;
|
|
492
493
|
agentId: string | null;
|
|
493
494
|
companyId: string | null;
|
|
494
|
-
leadId: string;
|
|
495
495
|
assignedAt: string | Date;
|
|
496
496
|
assignedBy: string | null;
|
|
497
497
|
company?: {
|
|
498
|
-
createdAt: string | Date;
|
|
499
498
|
id: string;
|
|
499
|
+
createdAt: string | Date;
|
|
500
500
|
updatedAt: string | Date;
|
|
501
501
|
name: string;
|
|
502
502
|
} | null | undefined;
|
|
503
|
+
lead?: {
|
|
504
|
+
phoneNumber: string;
|
|
505
|
+
name: string;
|
|
506
|
+
} | undefined;
|
|
503
507
|
agent?: {
|
|
504
|
-
lastName: string;
|
|
505
|
-
firstName: string;
|
|
506
|
-
email: string;
|
|
507
|
-
createdAt: string | Date;
|
|
508
508
|
id: string;
|
|
509
|
+
createdAt: string | Date;
|
|
509
510
|
updatedAt: string | Date;
|
|
511
|
+
firstName: string;
|
|
512
|
+
lastName: string;
|
|
513
|
+
email: string;
|
|
510
514
|
phoneNumbers?: {
|
|
511
515
|
id: string;
|
|
512
516
|
phoneNumber: string;
|
|
@@ -516,110 +520,110 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
|
|
|
516
520
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
517
521
|
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;
|
|
518
522
|
} | undefined;
|
|
519
|
-
lead?: {
|
|
520
|
-
phoneNumber: string;
|
|
521
|
-
name: string;
|
|
522
|
-
} | undefined;
|
|
523
523
|
}>>;
|
|
524
524
|
}, "strip", z.ZodTypeAny, {
|
|
525
525
|
completed: {
|
|
526
|
-
createdAt: string;
|
|
527
526
|
id: string;
|
|
528
527
|
status: LeadAssignmentStatus;
|
|
528
|
+
createdAt: string;
|
|
529
529
|
updatedAt: string;
|
|
530
|
+
leadId: string;
|
|
530
531
|
agentId: string | null;
|
|
531
532
|
companyId: string | null;
|
|
532
|
-
leadId: string;
|
|
533
533
|
assignedAt: string;
|
|
534
534
|
assignedBy: string | null;
|
|
535
535
|
company?: {
|
|
536
|
-
createdAt: string;
|
|
537
536
|
id: string;
|
|
537
|
+
createdAt: string;
|
|
538
538
|
updatedAt: string;
|
|
539
539
|
name: string;
|
|
540
540
|
} | null | undefined;
|
|
541
|
+
lead?: {
|
|
542
|
+
phoneNumber: string;
|
|
543
|
+
name: string;
|
|
544
|
+
} | undefined;
|
|
541
545
|
agent?: {
|
|
542
|
-
|
|
546
|
+
id: string;
|
|
547
|
+
createdAt: string;
|
|
548
|
+
updatedAt: string;
|
|
543
549
|
firstName: string;
|
|
550
|
+
lastName: string;
|
|
544
551
|
email: string;
|
|
545
|
-
createdAt: string;
|
|
546
|
-
id: string;
|
|
547
552
|
phoneNumbers: {
|
|
548
553
|
id: string;
|
|
549
554
|
phoneNumber: string;
|
|
550
555
|
isPrimary: boolean;
|
|
551
556
|
description?: string | null | undefined;
|
|
552
557
|
}[];
|
|
553
|
-
updatedAt: string;
|
|
554
558
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
555
559
|
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;
|
|
556
560
|
} | undefined;
|
|
557
|
-
lead?: {
|
|
558
|
-
phoneNumber: string;
|
|
559
|
-
name: string;
|
|
560
|
-
} | undefined;
|
|
561
561
|
};
|
|
562
562
|
next: {
|
|
563
|
-
createdAt: string;
|
|
564
563
|
id: string;
|
|
565
564
|
status: LeadAssignmentStatus;
|
|
565
|
+
createdAt: string;
|
|
566
566
|
updatedAt: string;
|
|
567
|
+
leadId: string;
|
|
567
568
|
agentId: string | null;
|
|
568
569
|
companyId: string | null;
|
|
569
|
-
leadId: string;
|
|
570
570
|
assignedAt: string;
|
|
571
571
|
assignedBy: string | null;
|
|
572
572
|
company?: {
|
|
573
|
-
createdAt: string;
|
|
574
573
|
id: string;
|
|
574
|
+
createdAt: string;
|
|
575
575
|
updatedAt: string;
|
|
576
576
|
name: string;
|
|
577
577
|
} | null | undefined;
|
|
578
|
+
lead?: {
|
|
579
|
+
phoneNumber: string;
|
|
580
|
+
name: string;
|
|
581
|
+
} | undefined;
|
|
578
582
|
agent?: {
|
|
579
|
-
|
|
583
|
+
id: string;
|
|
584
|
+
createdAt: string;
|
|
585
|
+
updatedAt: string;
|
|
580
586
|
firstName: string;
|
|
587
|
+
lastName: string;
|
|
581
588
|
email: string;
|
|
582
|
-
createdAt: string;
|
|
583
|
-
id: string;
|
|
584
589
|
phoneNumbers: {
|
|
585
590
|
id: string;
|
|
586
591
|
phoneNumber: string;
|
|
587
592
|
isPrimary: boolean;
|
|
588
593
|
description?: string | null | undefined;
|
|
589
594
|
}[];
|
|
590
|
-
updatedAt: string;
|
|
591
595
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
592
596
|
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;
|
|
593
597
|
} | undefined;
|
|
594
|
-
lead?: {
|
|
595
|
-
phoneNumber: string;
|
|
596
|
-
name: string;
|
|
597
|
-
} | undefined;
|
|
598
598
|
} | null;
|
|
599
599
|
}, {
|
|
600
600
|
completed: {
|
|
601
|
-
createdAt: string | Date;
|
|
602
601
|
id: string;
|
|
603
602
|
status: LeadAssignmentStatus;
|
|
603
|
+
createdAt: string | Date;
|
|
604
604
|
updatedAt: string | Date;
|
|
605
|
+
leadId: string;
|
|
605
606
|
agentId: string | null;
|
|
606
607
|
companyId: string | null;
|
|
607
|
-
leadId: string;
|
|
608
608
|
assignedAt: string | Date;
|
|
609
609
|
assignedBy: string | null;
|
|
610
610
|
company?: {
|
|
611
|
-
createdAt: string | Date;
|
|
612
611
|
id: string;
|
|
612
|
+
createdAt: string | Date;
|
|
613
613
|
updatedAt: string | Date;
|
|
614
614
|
name: string;
|
|
615
615
|
} | null | undefined;
|
|
616
|
+
lead?: {
|
|
617
|
+
phoneNumber: string;
|
|
618
|
+
name: string;
|
|
619
|
+
} | undefined;
|
|
616
620
|
agent?: {
|
|
617
|
-
lastName: string;
|
|
618
|
-
firstName: string;
|
|
619
|
-
email: string;
|
|
620
|
-
createdAt: string | Date;
|
|
621
621
|
id: string;
|
|
622
|
+
createdAt: string | Date;
|
|
622
623
|
updatedAt: string | Date;
|
|
624
|
+
firstName: string;
|
|
625
|
+
lastName: string;
|
|
626
|
+
email: string;
|
|
623
627
|
phoneNumbers?: {
|
|
624
628
|
id: string;
|
|
625
629
|
phoneNumber: string;
|
|
@@ -629,34 +633,34 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
|
|
|
629
633
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
630
634
|
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;
|
|
631
635
|
} | undefined;
|
|
632
|
-
lead?: {
|
|
633
|
-
phoneNumber: string;
|
|
634
|
-
name: string;
|
|
635
|
-
} | undefined;
|
|
636
636
|
};
|
|
637
637
|
next: {
|
|
638
|
-
createdAt: string | Date;
|
|
639
638
|
id: string;
|
|
640
639
|
status: LeadAssignmentStatus;
|
|
640
|
+
createdAt: string | Date;
|
|
641
641
|
updatedAt: string | Date;
|
|
642
|
+
leadId: string;
|
|
642
643
|
agentId: string | null;
|
|
643
644
|
companyId: string | null;
|
|
644
|
-
leadId: string;
|
|
645
645
|
assignedAt: string | Date;
|
|
646
646
|
assignedBy: string | null;
|
|
647
647
|
company?: {
|
|
648
|
-
createdAt: string | Date;
|
|
649
648
|
id: string;
|
|
649
|
+
createdAt: string | Date;
|
|
650
650
|
updatedAt: string | Date;
|
|
651
651
|
name: string;
|
|
652
652
|
} | null | undefined;
|
|
653
|
+
lead?: {
|
|
654
|
+
phoneNumber: string;
|
|
655
|
+
name: string;
|
|
656
|
+
} | undefined;
|
|
653
657
|
agent?: {
|
|
654
|
-
lastName: string;
|
|
655
|
-
firstName: string;
|
|
656
|
-
email: string;
|
|
657
|
-
createdAt: string | Date;
|
|
658
658
|
id: string;
|
|
659
|
+
createdAt: string | Date;
|
|
659
660
|
updatedAt: string | Date;
|
|
661
|
+
firstName: string;
|
|
662
|
+
lastName: string;
|
|
663
|
+
email: string;
|
|
660
664
|
phoneNumbers?: {
|
|
661
665
|
id: string;
|
|
662
666
|
phoneNumber: string;
|
|
@@ -666,10 +670,6 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
|
|
|
666
670
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
667
671
|
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;
|
|
668
672
|
} | undefined;
|
|
669
|
-
lead?: {
|
|
670
|
-
phoneNumber: string;
|
|
671
|
-
name: string;
|
|
672
|
-
} | undefined;
|
|
673
673
|
} | null;
|
|
674
674
|
}>;
|
|
675
675
|
export declare const QueueStatusSchema: z.ZodObject<{
|
|
@@ -880,27 +880,27 @@ export declare const leadAssignmentsContract: {
|
|
|
880
880
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
881
881
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
882
882
|
}, "strip", z.ZodTypeAny, {
|
|
883
|
-
|
|
883
|
+
id: string;
|
|
884
|
+
createdAt: string;
|
|
885
|
+
updatedAt: string;
|
|
884
886
|
firstName: string;
|
|
887
|
+
lastName: string;
|
|
885
888
|
email: string;
|
|
886
|
-
createdAt: string;
|
|
887
|
-
id: string;
|
|
888
889
|
phoneNumbers: {
|
|
889
890
|
id: string;
|
|
890
891
|
phoneNumber: string;
|
|
891
892
|
isPrimary: boolean;
|
|
892
893
|
description?: string | null | undefined;
|
|
893
894
|
}[];
|
|
894
|
-
updatedAt: string;
|
|
895
895
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
896
896
|
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;
|
|
897
897
|
}, {
|
|
898
|
-
lastName: string;
|
|
899
|
-
firstName: string;
|
|
900
|
-
email: string;
|
|
901
|
-
createdAt: string | Date;
|
|
902
898
|
id: string;
|
|
899
|
+
createdAt: string | Date;
|
|
903
900
|
updatedAt: string | Date;
|
|
901
|
+
firstName: string;
|
|
902
|
+
lastName: string;
|
|
903
|
+
email: string;
|
|
904
904
|
phoneNumbers?: {
|
|
905
905
|
id: string;
|
|
906
906
|
phoneNumber: string;
|
|
@@ -920,77 +920,81 @@ export declare const leadAssignmentsContract: {
|
|
|
920
920
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
921
921
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
922
922
|
}, "strip", z.ZodTypeAny, {
|
|
923
|
-
createdAt: string;
|
|
924
923
|
id: string;
|
|
924
|
+
createdAt: string;
|
|
925
925
|
updatedAt: string;
|
|
926
926
|
name: string;
|
|
927
927
|
}, {
|
|
928
|
-
createdAt: string | Date;
|
|
929
928
|
id: string;
|
|
929
|
+
createdAt: string | Date;
|
|
930
930
|
updatedAt: string | Date;
|
|
931
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>;
|
|
935
935
|
}, "strip", z.ZodTypeAny, {
|
|
936
|
-
createdAt: string;
|
|
937
936
|
id: string;
|
|
938
937
|
status: LeadAssignmentStatus;
|
|
938
|
+
createdAt: string;
|
|
939
939
|
updatedAt: string;
|
|
940
|
+
leadId: string;
|
|
940
941
|
agentId: string | null;
|
|
941
942
|
companyId: string | null;
|
|
942
|
-
leadId: string;
|
|
943
943
|
assignedAt: string;
|
|
944
944
|
assignedBy: string | null;
|
|
945
945
|
company?: {
|
|
946
|
-
createdAt: string;
|
|
947
946
|
id: string;
|
|
947
|
+
createdAt: string;
|
|
948
948
|
updatedAt: string;
|
|
949
949
|
name: string;
|
|
950
950
|
} | null | undefined;
|
|
951
|
+
lead?: {
|
|
952
|
+
phoneNumber: string;
|
|
953
|
+
name: string;
|
|
954
|
+
} | undefined;
|
|
951
955
|
agent?: {
|
|
952
|
-
|
|
956
|
+
id: string;
|
|
957
|
+
createdAt: string;
|
|
958
|
+
updatedAt: string;
|
|
953
959
|
firstName: string;
|
|
960
|
+
lastName: string;
|
|
954
961
|
email: string;
|
|
955
|
-
createdAt: string;
|
|
956
|
-
id: string;
|
|
957
962
|
phoneNumbers: {
|
|
958
963
|
id: string;
|
|
959
964
|
phoneNumber: string;
|
|
960
965
|
isPrimary: boolean;
|
|
961
966
|
description?: string | null | undefined;
|
|
962
967
|
}[];
|
|
963
|
-
updatedAt: string;
|
|
964
968
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
965
969
|
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;
|
|
966
970
|
} | undefined;
|
|
967
|
-
lead?: {
|
|
968
|
-
phoneNumber: string;
|
|
969
|
-
name: string;
|
|
970
|
-
} | undefined;
|
|
971
971
|
}, {
|
|
972
|
-
createdAt: string | Date;
|
|
973
972
|
id: string;
|
|
974
973
|
status: LeadAssignmentStatus;
|
|
974
|
+
createdAt: string | Date;
|
|
975
975
|
updatedAt: string | Date;
|
|
976
|
+
leadId: string;
|
|
976
977
|
agentId: string | null;
|
|
977
978
|
companyId: string | null;
|
|
978
|
-
leadId: string;
|
|
979
979
|
assignedAt: string | Date;
|
|
980
980
|
assignedBy: string | null;
|
|
981
981
|
company?: {
|
|
982
|
-
createdAt: string | Date;
|
|
983
982
|
id: string;
|
|
983
|
+
createdAt: string | Date;
|
|
984
984
|
updatedAt: string | Date;
|
|
985
985
|
name: string;
|
|
986
986
|
} | null | undefined;
|
|
987
|
+
lead?: {
|
|
988
|
+
phoneNumber: string;
|
|
989
|
+
name: string;
|
|
990
|
+
} | undefined;
|
|
987
991
|
agent?: {
|
|
988
|
-
lastName: string;
|
|
989
|
-
firstName: string;
|
|
990
|
-
email: string;
|
|
991
|
-
createdAt: string | Date;
|
|
992
992
|
id: string;
|
|
993
|
+
createdAt: string | Date;
|
|
993
994
|
updatedAt: string | Date;
|
|
995
|
+
firstName: string;
|
|
996
|
+
lastName: string;
|
|
997
|
+
email: string;
|
|
994
998
|
phoneNumbers?: {
|
|
995
999
|
id: string;
|
|
996
1000
|
phoneNumber: string;
|
|
@@ -1000,10 +1004,6 @@ export declare const leadAssignmentsContract: {
|
|
|
1000
1004
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1001
1005
|
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;
|
|
1002
1006
|
} | 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;
|
|
@@ -1045,27 +1045,27 @@ export declare const leadAssignmentsContract: {
|
|
|
1045
1045
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1046
1046
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1047
1047
|
}, "strip", z.ZodTypeAny, {
|
|
1048
|
-
|
|
1048
|
+
id: string;
|
|
1049
|
+
createdAt: string;
|
|
1050
|
+
updatedAt: string;
|
|
1049
1051
|
firstName: string;
|
|
1052
|
+
lastName: string;
|
|
1050
1053
|
email: string;
|
|
1051
|
-
createdAt: string;
|
|
1052
|
-
id: string;
|
|
1053
1054
|
phoneNumbers: {
|
|
1054
1055
|
id: string;
|
|
1055
1056
|
phoneNumber: string;
|
|
1056
1057
|
isPrimary: boolean;
|
|
1057
1058
|
description?: string | null | undefined;
|
|
1058
1059
|
}[];
|
|
1059
|
-
updatedAt: string;
|
|
1060
1060
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1061
1061
|
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;
|
|
1062
1062
|
}, {
|
|
1063
|
-
lastName: string;
|
|
1064
|
-
firstName: string;
|
|
1065
|
-
email: string;
|
|
1066
|
-
createdAt: string | Date;
|
|
1067
1063
|
id: string;
|
|
1064
|
+
createdAt: string | Date;
|
|
1068
1065
|
updatedAt: string | Date;
|
|
1066
|
+
firstName: string;
|
|
1067
|
+
lastName: string;
|
|
1068
|
+
email: string;
|
|
1069
1069
|
phoneNumbers?: {
|
|
1070
1070
|
id: string;
|
|
1071
1071
|
phoneNumber: string;
|
|
@@ -1085,77 +1085,81 @@ export declare const leadAssignmentsContract: {
|
|
|
1085
1085
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1086
1086
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1087
1087
|
}, "strip", z.ZodTypeAny, {
|
|
1088
|
-
createdAt: string;
|
|
1089
1088
|
id: string;
|
|
1089
|
+
createdAt: string;
|
|
1090
1090
|
updatedAt: string;
|
|
1091
1091
|
name: string;
|
|
1092
1092
|
}, {
|
|
1093
|
-
createdAt: string | Date;
|
|
1094
1093
|
id: string;
|
|
1094
|
+
createdAt: string | Date;
|
|
1095
1095
|
updatedAt: string | Date;
|
|
1096
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>;
|
|
1100
1100
|
}, "strip", z.ZodTypeAny, {
|
|
1101
|
-
createdAt: string;
|
|
1102
1101
|
id: string;
|
|
1103
1102
|
status: LeadAssignmentStatus;
|
|
1103
|
+
createdAt: string;
|
|
1104
1104
|
updatedAt: string;
|
|
1105
|
+
leadId: string;
|
|
1105
1106
|
agentId: string | null;
|
|
1106
1107
|
companyId: string | null;
|
|
1107
|
-
leadId: string;
|
|
1108
1108
|
assignedAt: string;
|
|
1109
1109
|
assignedBy: string | null;
|
|
1110
1110
|
company?: {
|
|
1111
|
-
createdAt: string;
|
|
1112
1111
|
id: string;
|
|
1112
|
+
createdAt: string;
|
|
1113
1113
|
updatedAt: string;
|
|
1114
1114
|
name: string;
|
|
1115
1115
|
} | null | undefined;
|
|
1116
|
+
lead?: {
|
|
1117
|
+
phoneNumber: string;
|
|
1118
|
+
name: string;
|
|
1119
|
+
} | undefined;
|
|
1116
1120
|
agent?: {
|
|
1117
|
-
|
|
1121
|
+
id: string;
|
|
1122
|
+
createdAt: string;
|
|
1123
|
+
updatedAt: string;
|
|
1118
1124
|
firstName: string;
|
|
1125
|
+
lastName: string;
|
|
1119
1126
|
email: string;
|
|
1120
|
-
createdAt: string;
|
|
1121
|
-
id: string;
|
|
1122
1127
|
phoneNumbers: {
|
|
1123
1128
|
id: string;
|
|
1124
1129
|
phoneNumber: string;
|
|
1125
1130
|
isPrimary: boolean;
|
|
1126
1131
|
description?: string | null | undefined;
|
|
1127
1132
|
}[];
|
|
1128
|
-
updatedAt: string;
|
|
1129
1133
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1130
1134
|
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;
|
|
1131
1135
|
} | undefined;
|
|
1132
|
-
lead?: {
|
|
1133
|
-
phoneNumber: string;
|
|
1134
|
-
name: string;
|
|
1135
|
-
} | undefined;
|
|
1136
1136
|
}, {
|
|
1137
|
-
createdAt: string | Date;
|
|
1138
1137
|
id: string;
|
|
1139
1138
|
status: LeadAssignmentStatus;
|
|
1139
|
+
createdAt: string | Date;
|
|
1140
1140
|
updatedAt: string | Date;
|
|
1141
|
+
leadId: string;
|
|
1141
1142
|
agentId: string | null;
|
|
1142
1143
|
companyId: string | null;
|
|
1143
|
-
leadId: string;
|
|
1144
1144
|
assignedAt: string | Date;
|
|
1145
1145
|
assignedBy: string | null;
|
|
1146
1146
|
company?: {
|
|
1147
|
-
createdAt: string | Date;
|
|
1148
1147
|
id: string;
|
|
1148
|
+
createdAt: string | Date;
|
|
1149
1149
|
updatedAt: string | Date;
|
|
1150
1150
|
name: string;
|
|
1151
1151
|
} | null | undefined;
|
|
1152
|
+
lead?: {
|
|
1153
|
+
phoneNumber: string;
|
|
1154
|
+
name: string;
|
|
1155
|
+
} | undefined;
|
|
1152
1156
|
agent?: {
|
|
1153
|
-
lastName: string;
|
|
1154
|
-
firstName: string;
|
|
1155
|
-
email: string;
|
|
1156
|
-
createdAt: string | Date;
|
|
1157
1157
|
id: string;
|
|
1158
|
+
createdAt: string | Date;
|
|
1158
1159
|
updatedAt: string | Date;
|
|
1160
|
+
firstName: string;
|
|
1161
|
+
lastName: string;
|
|
1162
|
+
email: string;
|
|
1159
1163
|
phoneNumbers?: {
|
|
1160
1164
|
id: string;
|
|
1161
1165
|
phoneNumber: string;
|
|
@@ -1165,110 +1169,110 @@ export declare const leadAssignmentsContract: {
|
|
|
1165
1169
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1166
1170
|
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;
|
|
1167
1171
|
} | undefined;
|
|
1168
|
-
lead?: {
|
|
1169
|
-
phoneNumber: string;
|
|
1170
|
-
name: string;
|
|
1171
|
-
} | undefined;
|
|
1172
1172
|
}>>;
|
|
1173
1173
|
}, "strip", z.ZodTypeAny, {
|
|
1174
1174
|
completed: {
|
|
1175
|
-
createdAt: string;
|
|
1176
1175
|
id: string;
|
|
1177
1176
|
status: LeadAssignmentStatus;
|
|
1177
|
+
createdAt: string;
|
|
1178
1178
|
updatedAt: string;
|
|
1179
|
+
leadId: string;
|
|
1179
1180
|
agentId: string | null;
|
|
1180
1181
|
companyId: string | null;
|
|
1181
|
-
leadId: string;
|
|
1182
1182
|
assignedAt: string;
|
|
1183
1183
|
assignedBy: string | null;
|
|
1184
1184
|
company?: {
|
|
1185
|
-
createdAt: string;
|
|
1186
1185
|
id: string;
|
|
1186
|
+
createdAt: string;
|
|
1187
1187
|
updatedAt: string;
|
|
1188
1188
|
name: string;
|
|
1189
1189
|
} | null | undefined;
|
|
1190
|
+
lead?: {
|
|
1191
|
+
phoneNumber: string;
|
|
1192
|
+
name: string;
|
|
1193
|
+
} | undefined;
|
|
1190
1194
|
agent?: {
|
|
1191
|
-
|
|
1195
|
+
id: string;
|
|
1196
|
+
createdAt: string;
|
|
1197
|
+
updatedAt: string;
|
|
1192
1198
|
firstName: string;
|
|
1199
|
+
lastName: string;
|
|
1193
1200
|
email: string;
|
|
1194
|
-
createdAt: string;
|
|
1195
|
-
id: string;
|
|
1196
1201
|
phoneNumbers: {
|
|
1197
1202
|
id: string;
|
|
1198
1203
|
phoneNumber: string;
|
|
1199
1204
|
isPrimary: boolean;
|
|
1200
1205
|
description?: string | null | undefined;
|
|
1201
1206
|
}[];
|
|
1202
|
-
updatedAt: string;
|
|
1203
1207
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1204
1208
|
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;
|
|
1205
1209
|
} | undefined;
|
|
1206
|
-
lead?: {
|
|
1207
|
-
phoneNumber: string;
|
|
1208
|
-
name: string;
|
|
1209
|
-
} | undefined;
|
|
1210
1210
|
};
|
|
1211
1211
|
next: {
|
|
1212
|
-
createdAt: string;
|
|
1213
1212
|
id: string;
|
|
1214
1213
|
status: LeadAssignmentStatus;
|
|
1214
|
+
createdAt: string;
|
|
1215
1215
|
updatedAt: string;
|
|
1216
|
+
leadId: string;
|
|
1216
1217
|
agentId: string | null;
|
|
1217
1218
|
companyId: string | null;
|
|
1218
|
-
leadId: string;
|
|
1219
1219
|
assignedAt: string;
|
|
1220
1220
|
assignedBy: string | null;
|
|
1221
1221
|
company?: {
|
|
1222
|
-
createdAt: string;
|
|
1223
1222
|
id: string;
|
|
1223
|
+
createdAt: string;
|
|
1224
1224
|
updatedAt: string;
|
|
1225
1225
|
name: string;
|
|
1226
1226
|
} | null | undefined;
|
|
1227
|
+
lead?: {
|
|
1228
|
+
phoneNumber: string;
|
|
1229
|
+
name: string;
|
|
1230
|
+
} | undefined;
|
|
1227
1231
|
agent?: {
|
|
1228
|
-
|
|
1232
|
+
id: string;
|
|
1233
|
+
createdAt: string;
|
|
1234
|
+
updatedAt: string;
|
|
1229
1235
|
firstName: string;
|
|
1236
|
+
lastName: string;
|
|
1230
1237
|
email: string;
|
|
1231
|
-
createdAt: string;
|
|
1232
|
-
id: string;
|
|
1233
1238
|
phoneNumbers: {
|
|
1234
1239
|
id: string;
|
|
1235
1240
|
phoneNumber: string;
|
|
1236
1241
|
isPrimary: boolean;
|
|
1237
1242
|
description?: string | null | undefined;
|
|
1238
1243
|
}[];
|
|
1239
|
-
updatedAt: string;
|
|
1240
1244
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1241
1245
|
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;
|
|
1242
1246
|
} | undefined;
|
|
1243
|
-
lead?: {
|
|
1244
|
-
phoneNumber: string;
|
|
1245
|
-
name: string;
|
|
1246
|
-
} | undefined;
|
|
1247
1247
|
} | null;
|
|
1248
1248
|
}, {
|
|
1249
1249
|
completed: {
|
|
1250
|
-
createdAt: string | Date;
|
|
1251
1250
|
id: string;
|
|
1252
1251
|
status: LeadAssignmentStatus;
|
|
1252
|
+
createdAt: string | Date;
|
|
1253
1253
|
updatedAt: string | Date;
|
|
1254
|
+
leadId: string;
|
|
1254
1255
|
agentId: string | null;
|
|
1255
1256
|
companyId: string | null;
|
|
1256
|
-
leadId: string;
|
|
1257
1257
|
assignedAt: string | Date;
|
|
1258
1258
|
assignedBy: string | null;
|
|
1259
1259
|
company?: {
|
|
1260
|
-
createdAt: string | Date;
|
|
1261
1260
|
id: string;
|
|
1261
|
+
createdAt: string | Date;
|
|
1262
1262
|
updatedAt: string | Date;
|
|
1263
1263
|
name: string;
|
|
1264
1264
|
} | null | undefined;
|
|
1265
|
+
lead?: {
|
|
1266
|
+
phoneNumber: string;
|
|
1267
|
+
name: string;
|
|
1268
|
+
} | undefined;
|
|
1265
1269
|
agent?: {
|
|
1266
|
-
lastName: string;
|
|
1267
|
-
firstName: string;
|
|
1268
|
-
email: string;
|
|
1269
|
-
createdAt: string | Date;
|
|
1270
1270
|
id: string;
|
|
1271
|
+
createdAt: string | Date;
|
|
1271
1272
|
updatedAt: string | Date;
|
|
1273
|
+
firstName: string;
|
|
1274
|
+
lastName: string;
|
|
1275
|
+
email: string;
|
|
1272
1276
|
phoneNumbers?: {
|
|
1273
1277
|
id: string;
|
|
1274
1278
|
phoneNumber: string;
|
|
@@ -1278,34 +1282,34 @@ export declare const leadAssignmentsContract: {
|
|
|
1278
1282
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1279
1283
|
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;
|
|
1280
1284
|
} | undefined;
|
|
1281
|
-
lead?: {
|
|
1282
|
-
phoneNumber: string;
|
|
1283
|
-
name: string;
|
|
1284
|
-
} | undefined;
|
|
1285
1285
|
};
|
|
1286
1286
|
next: {
|
|
1287
|
-
createdAt: string | Date;
|
|
1288
1287
|
id: string;
|
|
1289
1288
|
status: LeadAssignmentStatus;
|
|
1289
|
+
createdAt: string | Date;
|
|
1290
1290
|
updatedAt: string | Date;
|
|
1291
|
+
leadId: string;
|
|
1291
1292
|
agentId: string | null;
|
|
1292
1293
|
companyId: string | null;
|
|
1293
|
-
leadId: string;
|
|
1294
1294
|
assignedAt: string | Date;
|
|
1295
1295
|
assignedBy: string | null;
|
|
1296
1296
|
company?: {
|
|
1297
|
-
createdAt: string | Date;
|
|
1298
1297
|
id: string;
|
|
1298
|
+
createdAt: string | Date;
|
|
1299
1299
|
updatedAt: string | Date;
|
|
1300
1300
|
name: string;
|
|
1301
1301
|
} | null | undefined;
|
|
1302
|
+
lead?: {
|
|
1303
|
+
phoneNumber: string;
|
|
1304
|
+
name: string;
|
|
1305
|
+
} | undefined;
|
|
1302
1306
|
agent?: {
|
|
1303
|
-
lastName: string;
|
|
1304
|
-
firstName: string;
|
|
1305
|
-
email: string;
|
|
1306
|
-
createdAt: string | Date;
|
|
1307
1307
|
id: string;
|
|
1308
|
+
createdAt: string | Date;
|
|
1308
1309
|
updatedAt: string | Date;
|
|
1310
|
+
firstName: string;
|
|
1311
|
+
lastName: string;
|
|
1312
|
+
email: string;
|
|
1309
1313
|
phoneNumbers?: {
|
|
1310
1314
|
id: string;
|
|
1311
1315
|
phoneNumber: string;
|
|
@@ -1315,10 +1319,6 @@ export declare const leadAssignmentsContract: {
|
|
|
1315
1319
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1316
1320
|
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;
|
|
1317
1321
|
} | undefined;
|
|
1318
|
-
lead?: {
|
|
1319
|
-
phoneNumber: string;
|
|
1320
|
-
name: string;
|
|
1321
|
-
} | undefined;
|
|
1322
1322
|
} | null;
|
|
1323
1323
|
}>>;
|
|
1324
1324
|
404: z.ZodObject<{
|
|
@@ -1496,27 +1496,27 @@ export declare const leadAssignmentsContract: {
|
|
|
1496
1496
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1497
1497
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1498
1498
|
}, "strip", z.ZodTypeAny, {
|
|
1499
|
-
|
|
1499
|
+
id: string;
|
|
1500
|
+
createdAt: string;
|
|
1501
|
+
updatedAt: string;
|
|
1500
1502
|
firstName: string;
|
|
1503
|
+
lastName: string;
|
|
1501
1504
|
email: string;
|
|
1502
|
-
createdAt: string;
|
|
1503
|
-
id: string;
|
|
1504
1505
|
phoneNumbers: {
|
|
1505
1506
|
id: string;
|
|
1506
1507
|
phoneNumber: string;
|
|
1507
1508
|
isPrimary: boolean;
|
|
1508
1509
|
description?: string | null | undefined;
|
|
1509
1510
|
}[];
|
|
1510
|
-
updatedAt: string;
|
|
1511
1511
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1512
1512
|
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;
|
|
1513
1513
|
}, {
|
|
1514
|
-
lastName: string;
|
|
1515
|
-
firstName: string;
|
|
1516
|
-
email: string;
|
|
1517
|
-
createdAt: string | Date;
|
|
1518
1514
|
id: string;
|
|
1515
|
+
createdAt: string | Date;
|
|
1519
1516
|
updatedAt: string | Date;
|
|
1517
|
+
firstName: string;
|
|
1518
|
+
lastName: string;
|
|
1519
|
+
email: string;
|
|
1520
1520
|
phoneNumbers?: {
|
|
1521
1521
|
id: string;
|
|
1522
1522
|
phoneNumber: string;
|
|
@@ -1536,77 +1536,81 @@ export declare const leadAssignmentsContract: {
|
|
|
1536
1536
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1537
1537
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1538
1538
|
}, "strip", z.ZodTypeAny, {
|
|
1539
|
-
createdAt: string;
|
|
1540
1539
|
id: string;
|
|
1540
|
+
createdAt: string;
|
|
1541
1541
|
updatedAt: string;
|
|
1542
1542
|
name: string;
|
|
1543
1543
|
}, {
|
|
1544
|
-
createdAt: string | Date;
|
|
1545
1544
|
id: string;
|
|
1545
|
+
createdAt: string | Date;
|
|
1546
1546
|
updatedAt: string | Date;
|
|
1547
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>;
|
|
1551
1551
|
}, "strip", z.ZodTypeAny, {
|
|
1552
|
-
createdAt: string;
|
|
1553
1552
|
id: string;
|
|
1554
1553
|
status: LeadAssignmentStatus;
|
|
1554
|
+
createdAt: string;
|
|
1555
1555
|
updatedAt: string;
|
|
1556
|
+
leadId: string;
|
|
1556
1557
|
agentId: string | null;
|
|
1557
1558
|
companyId: string | null;
|
|
1558
|
-
leadId: string;
|
|
1559
1559
|
assignedAt: string;
|
|
1560
1560
|
assignedBy: string | null;
|
|
1561
1561
|
company?: {
|
|
1562
|
-
createdAt: string;
|
|
1563
1562
|
id: string;
|
|
1563
|
+
createdAt: string;
|
|
1564
1564
|
updatedAt: string;
|
|
1565
1565
|
name: string;
|
|
1566
1566
|
} | null | undefined;
|
|
1567
|
+
lead?: {
|
|
1568
|
+
phoneNumber: string;
|
|
1569
|
+
name: string;
|
|
1570
|
+
} | undefined;
|
|
1567
1571
|
agent?: {
|
|
1568
|
-
|
|
1572
|
+
id: string;
|
|
1573
|
+
createdAt: string;
|
|
1574
|
+
updatedAt: string;
|
|
1569
1575
|
firstName: string;
|
|
1576
|
+
lastName: string;
|
|
1570
1577
|
email: string;
|
|
1571
|
-
createdAt: string;
|
|
1572
|
-
id: string;
|
|
1573
1578
|
phoneNumbers: {
|
|
1574
1579
|
id: string;
|
|
1575
1580
|
phoneNumber: string;
|
|
1576
1581
|
isPrimary: boolean;
|
|
1577
1582
|
description?: string | null | undefined;
|
|
1578
1583
|
}[];
|
|
1579
|
-
updatedAt: string;
|
|
1580
1584
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1581
1585
|
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;
|
|
1582
1586
|
} | undefined;
|
|
1583
|
-
lead?: {
|
|
1584
|
-
phoneNumber: string;
|
|
1585
|
-
name: string;
|
|
1586
|
-
} | undefined;
|
|
1587
1587
|
}, {
|
|
1588
|
-
createdAt: string | Date;
|
|
1589
1588
|
id: string;
|
|
1590
1589
|
status: LeadAssignmentStatus;
|
|
1590
|
+
createdAt: string | Date;
|
|
1591
1591
|
updatedAt: string | Date;
|
|
1592
|
+
leadId: string;
|
|
1592
1593
|
agentId: string | null;
|
|
1593
1594
|
companyId: string | null;
|
|
1594
|
-
leadId: string;
|
|
1595
1595
|
assignedAt: string | Date;
|
|
1596
1596
|
assignedBy: string | null;
|
|
1597
1597
|
company?: {
|
|
1598
|
-
createdAt: string | Date;
|
|
1599
1598
|
id: string;
|
|
1599
|
+
createdAt: string | Date;
|
|
1600
1600
|
updatedAt: string | Date;
|
|
1601
1601
|
name: string;
|
|
1602
1602
|
} | null | undefined;
|
|
1603
|
+
lead?: {
|
|
1604
|
+
phoneNumber: string;
|
|
1605
|
+
name: string;
|
|
1606
|
+
} | undefined;
|
|
1603
1607
|
agent?: {
|
|
1604
|
-
lastName: string;
|
|
1605
|
-
firstName: string;
|
|
1606
|
-
email: string;
|
|
1607
|
-
createdAt: string | Date;
|
|
1608
1608
|
id: string;
|
|
1609
|
+
createdAt: string | Date;
|
|
1609
1610
|
updatedAt: string | Date;
|
|
1611
|
+
firstName: string;
|
|
1612
|
+
lastName: string;
|
|
1613
|
+
email: string;
|
|
1610
1614
|
phoneNumbers?: {
|
|
1611
1615
|
id: string;
|
|
1612
1616
|
phoneNumber: string;
|
|
@@ -1616,10 +1620,6 @@ export declare const leadAssignmentsContract: {
|
|
|
1616
1620
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1617
1621
|
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;
|
|
1618
1622
|
} | undefined;
|
|
1619
|
-
lead?: {
|
|
1620
|
-
phoneNumber: string;
|
|
1621
|
-
name: string;
|
|
1622
|
-
} | undefined;
|
|
1623
1623
|
}>>;
|
|
1624
1624
|
};
|
|
1625
1625
|
};
|
|
@@ -1779,27 +1779,27 @@ export declare const leadAssignmentsContract: {
|
|
|
1779
1779
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1780
1780
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1781
1781
|
}, "strip", z.ZodTypeAny, {
|
|
1782
|
-
|
|
1782
|
+
id: string;
|
|
1783
|
+
createdAt: string;
|
|
1784
|
+
updatedAt: string;
|
|
1783
1785
|
firstName: string;
|
|
1786
|
+
lastName: string;
|
|
1784
1787
|
email: string;
|
|
1785
|
-
createdAt: string;
|
|
1786
|
-
id: string;
|
|
1787
1788
|
phoneNumbers: {
|
|
1788
1789
|
id: string;
|
|
1789
1790
|
phoneNumber: string;
|
|
1790
1791
|
isPrimary: boolean;
|
|
1791
1792
|
description?: string | null | undefined;
|
|
1792
1793
|
}[];
|
|
1793
|
-
updatedAt: string;
|
|
1794
1794
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1795
1795
|
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;
|
|
1796
1796
|
}, {
|
|
1797
|
-
lastName: string;
|
|
1798
|
-
firstName: string;
|
|
1799
|
-
email: string;
|
|
1800
|
-
createdAt: string | Date;
|
|
1801
1797
|
id: string;
|
|
1798
|
+
createdAt: string | Date;
|
|
1802
1799
|
updatedAt: string | Date;
|
|
1800
|
+
firstName: string;
|
|
1801
|
+
lastName: string;
|
|
1802
|
+
email: string;
|
|
1803
1803
|
phoneNumbers?: {
|
|
1804
1804
|
id: string;
|
|
1805
1805
|
phoneNumber: string;
|
|
@@ -1819,77 +1819,81 @@ export declare const leadAssignmentsContract: {
|
|
|
1819
1819
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1820
1820
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1821
1821
|
}, "strip", z.ZodTypeAny, {
|
|
1822
|
-
createdAt: string;
|
|
1823
1822
|
id: string;
|
|
1823
|
+
createdAt: string;
|
|
1824
1824
|
updatedAt: string;
|
|
1825
1825
|
name: string;
|
|
1826
1826
|
}, {
|
|
1827
|
-
createdAt: string | Date;
|
|
1828
1827
|
id: string;
|
|
1828
|
+
createdAt: string | Date;
|
|
1829
1829
|
updatedAt: string | Date;
|
|
1830
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>;
|
|
1834
1834
|
}, "strip", z.ZodTypeAny, {
|
|
1835
|
-
createdAt: string;
|
|
1836
1835
|
id: string;
|
|
1837
1836
|
status: LeadAssignmentStatus;
|
|
1837
|
+
createdAt: string;
|
|
1838
1838
|
updatedAt: string;
|
|
1839
|
+
leadId: string;
|
|
1839
1840
|
agentId: string | null;
|
|
1840
1841
|
companyId: string | null;
|
|
1841
|
-
leadId: string;
|
|
1842
1842
|
assignedAt: string;
|
|
1843
1843
|
assignedBy: string | null;
|
|
1844
1844
|
company?: {
|
|
1845
|
-
createdAt: string;
|
|
1846
1845
|
id: string;
|
|
1846
|
+
createdAt: string;
|
|
1847
1847
|
updatedAt: string;
|
|
1848
1848
|
name: string;
|
|
1849
1849
|
} | null | undefined;
|
|
1850
|
+
lead?: {
|
|
1851
|
+
phoneNumber: string;
|
|
1852
|
+
name: string;
|
|
1853
|
+
} | undefined;
|
|
1850
1854
|
agent?: {
|
|
1851
|
-
|
|
1855
|
+
id: string;
|
|
1856
|
+
createdAt: string;
|
|
1857
|
+
updatedAt: string;
|
|
1852
1858
|
firstName: string;
|
|
1859
|
+
lastName: string;
|
|
1853
1860
|
email: string;
|
|
1854
|
-
createdAt: string;
|
|
1855
|
-
id: string;
|
|
1856
1861
|
phoneNumbers: {
|
|
1857
1862
|
id: string;
|
|
1858
1863
|
phoneNumber: string;
|
|
1859
1864
|
isPrimary: boolean;
|
|
1860
1865
|
description?: string | null | undefined;
|
|
1861
1866
|
}[];
|
|
1862
|
-
updatedAt: string;
|
|
1863
1867
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1864
1868
|
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;
|
|
1865
1869
|
} | undefined;
|
|
1866
|
-
lead?: {
|
|
1867
|
-
phoneNumber: string;
|
|
1868
|
-
name: string;
|
|
1869
|
-
} | undefined;
|
|
1870
1870
|
}, {
|
|
1871
|
-
createdAt: string | Date;
|
|
1872
1871
|
id: string;
|
|
1873
1872
|
status: LeadAssignmentStatus;
|
|
1873
|
+
createdAt: string | Date;
|
|
1874
1874
|
updatedAt: string | Date;
|
|
1875
|
+
leadId: string;
|
|
1875
1876
|
agentId: string | null;
|
|
1876
1877
|
companyId: string | null;
|
|
1877
|
-
leadId: string;
|
|
1878
1878
|
assignedAt: string | Date;
|
|
1879
1879
|
assignedBy: string | null;
|
|
1880
1880
|
company?: {
|
|
1881
|
-
createdAt: string | Date;
|
|
1882
1881
|
id: string;
|
|
1882
|
+
createdAt: string | Date;
|
|
1883
1883
|
updatedAt: string | Date;
|
|
1884
1884
|
name: string;
|
|
1885
1885
|
} | null | undefined;
|
|
1886
|
+
lead?: {
|
|
1887
|
+
phoneNumber: string;
|
|
1888
|
+
name: string;
|
|
1889
|
+
} | undefined;
|
|
1886
1890
|
agent?: {
|
|
1887
|
-
lastName: string;
|
|
1888
|
-
firstName: string;
|
|
1889
|
-
email: string;
|
|
1890
|
-
createdAt: string | Date;
|
|
1891
1891
|
id: string;
|
|
1892
|
+
createdAt: string | Date;
|
|
1892
1893
|
updatedAt: string | Date;
|
|
1894
|
+
firstName: string;
|
|
1895
|
+
lastName: string;
|
|
1896
|
+
email: string;
|
|
1893
1897
|
phoneNumbers?: {
|
|
1894
1898
|
id: string;
|
|
1895
1899
|
phoneNumber: string;
|
|
@@ -1899,10 +1903,6 @@ export declare const leadAssignmentsContract: {
|
|
|
1899
1903
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1900
1904
|
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;
|
|
1901
1905
|
} | undefined;
|
|
1902
|
-
lead?: {
|
|
1903
|
-
phoneNumber: string;
|
|
1904
|
-
name: string;
|
|
1905
|
-
} | undefined;
|
|
1906
1906
|
}>;
|
|
1907
1907
|
404: z.ZodObject<{
|
|
1908
1908
|
statusCode: z.ZodNumber;
|
|
@@ -2086,27 +2086,27 @@ export declare const leadAssignmentsContract: {
|
|
|
2086
2086
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2087
2087
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2088
2088
|
}, "strip", z.ZodTypeAny, {
|
|
2089
|
-
|
|
2089
|
+
id: string;
|
|
2090
|
+
createdAt: string;
|
|
2091
|
+
updatedAt: string;
|
|
2090
2092
|
firstName: string;
|
|
2093
|
+
lastName: string;
|
|
2091
2094
|
email: string;
|
|
2092
|
-
createdAt: string;
|
|
2093
|
-
id: string;
|
|
2094
2095
|
phoneNumbers: {
|
|
2095
2096
|
id: string;
|
|
2096
2097
|
phoneNumber: string;
|
|
2097
2098
|
isPrimary: boolean;
|
|
2098
2099
|
description?: string | null | undefined;
|
|
2099
2100
|
}[];
|
|
2100
|
-
updatedAt: string;
|
|
2101
2101
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2102
2102
|
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;
|
|
2103
2103
|
}, {
|
|
2104
|
-
lastName: string;
|
|
2105
|
-
firstName: string;
|
|
2106
|
-
email: string;
|
|
2107
|
-
createdAt: string | Date;
|
|
2108
2104
|
id: string;
|
|
2105
|
+
createdAt: string | Date;
|
|
2109
2106
|
updatedAt: string | Date;
|
|
2107
|
+
firstName: string;
|
|
2108
|
+
lastName: string;
|
|
2109
|
+
email: string;
|
|
2110
2110
|
phoneNumbers?: {
|
|
2111
2111
|
id: string;
|
|
2112
2112
|
phoneNumber: string;
|
|
@@ -2126,77 +2126,81 @@ export declare const leadAssignmentsContract: {
|
|
|
2126
2126
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2127
2127
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2128
2128
|
}, "strip", z.ZodTypeAny, {
|
|
2129
|
-
createdAt: string;
|
|
2130
2129
|
id: string;
|
|
2130
|
+
createdAt: string;
|
|
2131
2131
|
updatedAt: string;
|
|
2132
2132
|
name: string;
|
|
2133
2133
|
}, {
|
|
2134
|
-
createdAt: string | Date;
|
|
2135
2134
|
id: string;
|
|
2135
|
+
createdAt: string | Date;
|
|
2136
2136
|
updatedAt: string | Date;
|
|
2137
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>;
|
|
2141
2141
|
}, "strip", z.ZodTypeAny, {
|
|
2142
|
-
createdAt: string;
|
|
2143
2142
|
id: string;
|
|
2144
2143
|
status: LeadAssignmentStatus;
|
|
2144
|
+
createdAt: string;
|
|
2145
2145
|
updatedAt: string;
|
|
2146
|
+
leadId: string;
|
|
2146
2147
|
agentId: string | null;
|
|
2147
2148
|
companyId: string | null;
|
|
2148
|
-
leadId: string;
|
|
2149
2149
|
assignedAt: string;
|
|
2150
2150
|
assignedBy: string | null;
|
|
2151
2151
|
company?: {
|
|
2152
|
-
createdAt: string;
|
|
2153
2152
|
id: string;
|
|
2153
|
+
createdAt: string;
|
|
2154
2154
|
updatedAt: string;
|
|
2155
2155
|
name: string;
|
|
2156
2156
|
} | null | undefined;
|
|
2157
|
+
lead?: {
|
|
2158
|
+
phoneNumber: string;
|
|
2159
|
+
name: string;
|
|
2160
|
+
} | undefined;
|
|
2157
2161
|
agent?: {
|
|
2158
|
-
|
|
2162
|
+
id: string;
|
|
2163
|
+
createdAt: string;
|
|
2164
|
+
updatedAt: string;
|
|
2159
2165
|
firstName: string;
|
|
2166
|
+
lastName: string;
|
|
2160
2167
|
email: string;
|
|
2161
|
-
createdAt: string;
|
|
2162
|
-
id: string;
|
|
2163
2168
|
phoneNumbers: {
|
|
2164
2169
|
id: string;
|
|
2165
2170
|
phoneNumber: string;
|
|
2166
2171
|
isPrimary: boolean;
|
|
2167
2172
|
description?: string | null | undefined;
|
|
2168
2173
|
}[];
|
|
2169
|
-
updatedAt: string;
|
|
2170
2174
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2171
2175
|
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;
|
|
2172
2176
|
} | undefined;
|
|
2173
|
-
lead?: {
|
|
2174
|
-
phoneNumber: string;
|
|
2175
|
-
name: string;
|
|
2176
|
-
} | undefined;
|
|
2177
2177
|
}, {
|
|
2178
|
-
createdAt: string | Date;
|
|
2179
2178
|
id: string;
|
|
2180
2179
|
status: LeadAssignmentStatus;
|
|
2180
|
+
createdAt: string | Date;
|
|
2181
2181
|
updatedAt: string | Date;
|
|
2182
|
+
leadId: string;
|
|
2182
2183
|
agentId: string | null;
|
|
2183
2184
|
companyId: string | null;
|
|
2184
|
-
leadId: string;
|
|
2185
2185
|
assignedAt: string | Date;
|
|
2186
2186
|
assignedBy: string | null;
|
|
2187
2187
|
company?: {
|
|
2188
|
-
createdAt: string | Date;
|
|
2189
2188
|
id: string;
|
|
2189
|
+
createdAt: string | Date;
|
|
2190
2190
|
updatedAt: string | Date;
|
|
2191
2191
|
name: string;
|
|
2192
2192
|
} | null | undefined;
|
|
2193
|
+
lead?: {
|
|
2194
|
+
phoneNumber: string;
|
|
2195
|
+
name: string;
|
|
2196
|
+
} | undefined;
|
|
2193
2197
|
agent?: {
|
|
2194
|
-
lastName: string;
|
|
2195
|
-
firstName: string;
|
|
2196
|
-
email: string;
|
|
2197
|
-
createdAt: string | Date;
|
|
2198
2198
|
id: string;
|
|
2199
|
+
createdAt: string | Date;
|
|
2199
2200
|
updatedAt: string | Date;
|
|
2201
|
+
firstName: string;
|
|
2202
|
+
lastName: string;
|
|
2203
|
+
email: string;
|
|
2200
2204
|
phoneNumbers?: {
|
|
2201
2205
|
id: string;
|
|
2202
2206
|
phoneNumber: string;
|
|
@@ -2206,10 +2210,6 @@ export declare const leadAssignmentsContract: {
|
|
|
2206
2210
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2207
2211
|
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;
|
|
2208
2212
|
} | undefined;
|
|
2209
|
-
lead?: {
|
|
2210
|
-
phoneNumber: string;
|
|
2211
|
-
name: string;
|
|
2212
|
-
} | undefined;
|
|
2213
2213
|
}>;
|
|
2214
2214
|
404: z.ZodObject<{
|
|
2215
2215
|
statusCode: z.ZodNumber;
|