@dakkitor/api-contracts 1.1.85 → 1.1.86

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.
@@ -9,11 +9,11 @@ export declare const LeadAssignmentLeadSchema: z.ZodObject<{
9
9
  name: z.ZodString;
10
10
  phoneNumber: z.ZodString;
11
11
  }, "strip", z.ZodTypeAny, {
12
- phoneNumber: string;
13
12
  name: string;
14
- }, {
15
13
  phoneNumber: string;
14
+ }, {
16
15
  name: string;
16
+ phoneNumber: string;
17
17
  }>;
18
18
  export declare const LeadAssignmentSchema: z.ZodObject<{
19
19
  id: z.ZodString;
@@ -22,11 +22,11 @@ export declare const LeadAssignmentSchema: z.ZodObject<{
22
22
  name: z.ZodString;
23
23
  phoneNumber: z.ZodString;
24
24
  }, "strip", z.ZodTypeAny, {
25
- phoneNumber: string;
26
25
  name: string;
27
- }, {
28
26
  phoneNumber: string;
27
+ }, {
29
28
  name: string;
29
+ phoneNumber: string;
30
30
  }>>;
31
31
  agentId: z.ZodNullable<z.ZodString>;
32
32
  agent: z.ZodOptional<z.ZodObject<{
@@ -41,22 +41,22 @@ export declare const LeadAssignmentSchema: z.ZodObject<{
41
41
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
42
42
  }, "strip", z.ZodTypeAny, {
43
43
  id: string;
44
- createdAt: string;
45
- updatedAt: string;
46
44
  firstName: string;
47
45
  lastName: string;
48
46
  email: string;
49
47
  phone: string;
48
+ createdAt: string;
49
+ updatedAt: string;
50
50
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
51
51
  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;
52
52
  }, {
53
53
  id: string;
54
- createdAt: string | Date;
55
- updatedAt: string | Date;
56
54
  firstName: string;
57
55
  lastName: string;
58
56
  email: string;
59
57
  phone: string;
58
+ createdAt: string | Date;
59
+ updatedAt: string | Date;
60
60
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
61
61
  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;
62
62
  }>>;
@@ -70,89 +70,89 @@ export declare const LeadAssignmentSchema: z.ZodObject<{
70
70
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
71
71
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
72
72
  }, "strip", z.ZodTypeAny, {
73
+ name: string;
73
74
  id: string;
74
75
  createdAt: string;
75
76
  updatedAt: string;
76
- name: string;
77
77
  }, {
78
+ name: string;
78
79
  id: string;
79
80
  createdAt: string | Date;
80
81
  updatedAt: string | Date;
81
- name: string;
82
82
  }>>>;
83
83
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
84
84
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
85
85
  }, "strip", z.ZodTypeAny, {
86
- id: string;
87
86
  status: LeadAssignmentStatus;
88
- createdAt: string;
89
- updatedAt: string;
87
+ id: string;
90
88
  leadId: string;
91
89
  agentId: string | null;
92
- companyId: string | null;
90
+ createdAt: string;
91
+ updatedAt: string;
93
92
  assignedAt: string;
94
93
  assignedBy: string | null;
95
- company?: {
96
- id: string;
97
- createdAt: string;
98
- updatedAt: string;
99
- name: string;
100
- } | null | undefined;
94
+ companyId: string | null;
101
95
  lead?: {
102
- phoneNumber: string;
103
96
  name: string;
97
+ phoneNumber: string;
104
98
  } | undefined;
105
99
  agent?: {
106
100
  id: string;
107
- createdAt: string;
108
- updatedAt: string;
109
101
  firstName: string;
110
102
  lastName: string;
111
103
  email: string;
112
104
  phone: string;
105
+ createdAt: string;
106
+ updatedAt: string;
113
107
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
114
108
  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;
115
109
  } | undefined;
110
+ company?: {
111
+ name: string;
112
+ id: string;
113
+ createdAt: string;
114
+ updatedAt: string;
115
+ } | null | undefined;
116
116
  }, {
117
- id: string;
118
117
  status: LeadAssignmentStatus;
119
- createdAt: string | Date;
120
- updatedAt: string | Date;
118
+ id: string;
121
119
  leadId: string;
122
120
  agentId: string | null;
123
- companyId: string | null;
121
+ createdAt: string | Date;
122
+ updatedAt: string | Date;
124
123
  assignedAt: string | Date;
125
124
  assignedBy: string | null;
126
- company?: {
127
- id: string;
128
- createdAt: string | Date;
129
- updatedAt: string | Date;
130
- name: string;
131
- } | null | undefined;
125
+ companyId: string | null;
132
126
  lead?: {
133
- phoneNumber: string;
134
127
  name: string;
128
+ phoneNumber: string;
135
129
  } | undefined;
136
130
  agent?: {
137
131
  id: string;
138
- createdAt: string | Date;
139
- updatedAt: string | Date;
140
132
  firstName: string;
141
133
  lastName: string;
142
134
  email: string;
143
135
  phone: string;
136
+ createdAt: string | Date;
137
+ updatedAt: string | Date;
144
138
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
145
139
  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;
146
140
  } | undefined;
141
+ company?: {
142
+ name: string;
143
+ id: string;
144
+ createdAt: string | Date;
145
+ updatedAt: string | Date;
146
+ } | null | undefined;
147
147
  }>;
148
148
  export declare const CompleteAssignmentSchema: z.ZodObject<{
149
- status: z.ZodNativeEnum<typeof import("../common/call-rating.schema").CallRating>;
149
+ rating: z.ZodNativeEnum<typeof import("../common/call-rating.schema").CallRating>;
150
150
  notes: z.ZodOptional<z.ZodString>;
151
151
  }, "strip", z.ZodTypeAny, {
152
- status: import("../common/call-rating.schema").CallRating;
152
+ rating: import("../common/call-rating.schema").CallRating;
153
153
  notes?: string | undefined;
154
154
  }, {
155
- status: import("../common/call-rating.schema").CallRating;
155
+ rating: import("../common/call-rating.schema").CallRating;
156
156
  notes?: string | undefined;
157
157
  }>;
158
158
  export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
@@ -163,11 +163,11 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
163
163
  name: z.ZodString;
164
164
  phoneNumber: z.ZodString;
165
165
  }, "strip", z.ZodTypeAny, {
166
- phoneNumber: string;
167
166
  name: string;
168
- }, {
169
167
  phoneNumber: string;
168
+ }, {
170
169
  name: string;
170
+ phoneNumber: string;
171
171
  }>>;
172
172
  agentId: z.ZodNullable<z.ZodString>;
173
173
  agent: z.ZodOptional<z.ZodObject<{
@@ -182,22 +182,22 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
182
182
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
183
183
  }, "strip", z.ZodTypeAny, {
184
184
  id: string;
185
- createdAt: string;
186
- updatedAt: string;
187
185
  firstName: string;
188
186
  lastName: string;
189
187
  email: string;
190
188
  phone: string;
189
+ createdAt: string;
190
+ updatedAt: string;
191
191
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
192
192
  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;
193
193
  }, {
194
194
  id: string;
195
- createdAt: string | Date;
196
- updatedAt: string | Date;
197
195
  firstName: string;
198
196
  lastName: string;
199
197
  email: string;
200
198
  phone: string;
199
+ createdAt: string | Date;
200
+ updatedAt: string | Date;
201
201
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
202
202
  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;
203
203
  }>>;
@@ -211,80 +211,80 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
211
211
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
212
212
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
213
213
  }, "strip", z.ZodTypeAny, {
214
+ name: string;
214
215
  id: string;
215
216
  createdAt: string;
216
217
  updatedAt: string;
217
- name: string;
218
218
  }, {
219
+ name: string;
219
220
  id: string;
220
221
  createdAt: string | Date;
221
222
  updatedAt: string | Date;
222
- name: string;
223
223
  }>>>;
224
224
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
225
225
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
226
226
  }, "strip", z.ZodTypeAny, {
227
- id: string;
228
227
  status: LeadAssignmentStatus;
229
- createdAt: string;
230
- updatedAt: string;
228
+ id: string;
231
229
  leadId: string;
232
230
  agentId: string | null;
233
- companyId: string | null;
231
+ createdAt: string;
232
+ updatedAt: string;
234
233
  assignedAt: string;
235
234
  assignedBy: string | null;
236
- company?: {
237
- id: string;
238
- createdAt: string;
239
- updatedAt: string;
240
- name: string;
241
- } | null | undefined;
235
+ companyId: string | null;
242
236
  lead?: {
243
- phoneNumber: string;
244
237
  name: string;
238
+ phoneNumber: string;
245
239
  } | undefined;
246
240
  agent?: {
247
241
  id: string;
248
- createdAt: string;
249
- updatedAt: string;
250
242
  firstName: string;
251
243
  lastName: string;
252
244
  email: string;
253
245
  phone: string;
246
+ createdAt: string;
247
+ updatedAt: string;
254
248
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
255
249
  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;
256
250
  } | undefined;
251
+ company?: {
252
+ name: string;
253
+ id: string;
254
+ createdAt: string;
255
+ updatedAt: string;
256
+ } | null | undefined;
257
257
  }, {
258
- id: string;
259
258
  status: LeadAssignmentStatus;
260
- createdAt: string | Date;
261
- updatedAt: string | Date;
259
+ id: string;
262
260
  leadId: string;
263
261
  agentId: string | null;
264
- companyId: string | null;
262
+ createdAt: string | Date;
263
+ updatedAt: string | Date;
265
264
  assignedAt: string | Date;
266
265
  assignedBy: string | null;
267
- company?: {
268
- id: string;
269
- createdAt: string | Date;
270
- updatedAt: string | Date;
271
- name: string;
272
- } | null | undefined;
266
+ companyId: string | null;
273
267
  lead?: {
274
- phoneNumber: string;
275
268
  name: string;
269
+ phoneNumber: string;
276
270
  } | undefined;
277
271
  agent?: {
278
272
  id: string;
279
- createdAt: string | Date;
280
- updatedAt: string | Date;
281
273
  firstName: string;
282
274
  lastName: string;
283
275
  email: string;
284
276
  phone: string;
277
+ createdAt: string | Date;
278
+ updatedAt: string | Date;
285
279
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
286
280
  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;
287
281
  } | undefined;
282
+ company?: {
283
+ name: string;
284
+ id: string;
285
+ createdAt: string | Date;
286
+ updatedAt: string | Date;
287
+ } | null | undefined;
288
288
  }>;
289
289
  next: z.ZodNullable<z.ZodObject<{
290
290
  id: z.ZodString;
@@ -293,11 +293,11 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
293
293
  name: z.ZodString;
294
294
  phoneNumber: z.ZodString;
295
295
  }, "strip", z.ZodTypeAny, {
296
- phoneNumber: string;
297
296
  name: string;
298
- }, {
299
297
  phoneNumber: string;
298
+ }, {
300
299
  name: string;
300
+ phoneNumber: string;
301
301
  }>>;
302
302
  agentId: z.ZodNullable<z.ZodString>;
303
303
  agent: z.ZodOptional<z.ZodObject<{
@@ -312,22 +312,22 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
312
312
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
313
313
  }, "strip", z.ZodTypeAny, {
314
314
  id: string;
315
- createdAt: string;
316
- updatedAt: string;
317
315
  firstName: string;
318
316
  lastName: string;
319
317
  email: string;
320
318
  phone: string;
319
+ createdAt: string;
320
+ updatedAt: string;
321
321
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
322
322
  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;
323
323
  }, {
324
324
  id: string;
325
- createdAt: string | Date;
326
- updatedAt: string | Date;
327
325
  firstName: string;
328
326
  lastName: string;
329
327
  email: string;
330
328
  phone: string;
329
+ createdAt: string | Date;
330
+ updatedAt: string | Date;
331
331
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
332
332
  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;
333
333
  }>>;
@@ -341,210 +341,210 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
341
341
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
342
342
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
343
343
  }, "strip", z.ZodTypeAny, {
344
+ name: string;
344
345
  id: string;
345
346
  createdAt: string;
346
347
  updatedAt: string;
347
- name: string;
348
348
  }, {
349
+ name: string;
349
350
  id: string;
350
351
  createdAt: string | Date;
351
352
  updatedAt: string | Date;
352
- name: string;
353
353
  }>>>;
354
354
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
355
355
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
356
356
  }, "strip", z.ZodTypeAny, {
357
- id: string;
358
357
  status: LeadAssignmentStatus;
359
- createdAt: string;
360
- updatedAt: string;
358
+ id: string;
361
359
  leadId: string;
362
360
  agentId: string | null;
363
- companyId: string | null;
361
+ createdAt: string;
362
+ updatedAt: string;
364
363
  assignedAt: string;
365
364
  assignedBy: string | null;
366
- company?: {
367
- id: string;
368
- createdAt: string;
369
- updatedAt: string;
370
- name: string;
371
- } | null | undefined;
365
+ companyId: string | null;
372
366
  lead?: {
373
- phoneNumber: string;
374
367
  name: string;
368
+ phoneNumber: string;
375
369
  } | undefined;
376
370
  agent?: {
377
371
  id: string;
378
- createdAt: string;
379
- updatedAt: string;
380
372
  firstName: string;
381
373
  lastName: string;
382
374
  email: string;
383
375
  phone: string;
376
+ createdAt: string;
377
+ updatedAt: string;
384
378
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
385
379
  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;
386
380
  } | undefined;
381
+ company?: {
382
+ name: string;
383
+ id: string;
384
+ createdAt: string;
385
+ updatedAt: string;
386
+ } | null | undefined;
387
387
  }, {
388
- id: string;
389
388
  status: LeadAssignmentStatus;
390
- createdAt: string | Date;
391
- updatedAt: string | Date;
389
+ id: string;
392
390
  leadId: string;
393
391
  agentId: string | null;
394
- companyId: string | null;
392
+ createdAt: string | Date;
393
+ updatedAt: string | Date;
395
394
  assignedAt: string | Date;
396
395
  assignedBy: string | null;
397
- company?: {
398
- id: string;
399
- createdAt: string | Date;
400
- updatedAt: string | Date;
401
- name: string;
402
- } | null | undefined;
396
+ companyId: string | null;
403
397
  lead?: {
404
- phoneNumber: string;
405
398
  name: string;
399
+ phoneNumber: string;
406
400
  } | undefined;
407
401
  agent?: {
408
402
  id: string;
409
- createdAt: string | Date;
410
- updatedAt: string | Date;
411
403
  firstName: string;
412
404
  lastName: string;
413
405
  email: string;
414
406
  phone: string;
407
+ createdAt: string | Date;
408
+ updatedAt: string | Date;
415
409
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
416
410
  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;
417
411
  } | undefined;
412
+ company?: {
413
+ name: string;
414
+ id: string;
415
+ createdAt: string | Date;
416
+ updatedAt: string | Date;
417
+ } | null | undefined;
418
418
  }>>;
419
419
  }, "strip", z.ZodTypeAny, {
420
420
  completed: {
421
- id: string;
422
421
  status: LeadAssignmentStatus;
423
- createdAt: string;
424
- updatedAt: string;
422
+ id: string;
425
423
  leadId: string;
426
424
  agentId: string | null;
427
- companyId: string | null;
425
+ createdAt: string;
426
+ updatedAt: string;
428
427
  assignedAt: string;
429
428
  assignedBy: string | null;
430
- company?: {
431
- id: string;
432
- createdAt: string;
433
- updatedAt: string;
434
- name: string;
435
- } | null | undefined;
429
+ companyId: string | null;
436
430
  lead?: {
437
- phoneNumber: string;
438
431
  name: string;
432
+ phoneNumber: string;
439
433
  } | undefined;
440
434
  agent?: {
441
435
  id: string;
442
- createdAt: string;
443
- updatedAt: string;
444
436
  firstName: string;
445
437
  lastName: string;
446
438
  email: string;
447
439
  phone: string;
440
+ createdAt: string;
441
+ updatedAt: string;
448
442
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
449
443
  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;
450
444
  } | undefined;
445
+ company?: {
446
+ name: string;
447
+ id: string;
448
+ createdAt: string;
449
+ updatedAt: string;
450
+ } | null | undefined;
451
451
  };
452
452
  next: {
453
- id: string;
454
453
  status: LeadAssignmentStatus;
455
- createdAt: string;
456
- updatedAt: string;
454
+ id: string;
457
455
  leadId: string;
458
456
  agentId: string | null;
459
- companyId: string | null;
457
+ createdAt: string;
458
+ updatedAt: string;
460
459
  assignedAt: string;
461
460
  assignedBy: string | null;
462
- company?: {
463
- id: string;
464
- createdAt: string;
465
- updatedAt: string;
466
- name: string;
467
- } | null | undefined;
461
+ companyId: string | null;
468
462
  lead?: {
469
- phoneNumber: string;
470
463
  name: string;
464
+ phoneNumber: string;
471
465
  } | undefined;
472
466
  agent?: {
473
467
  id: string;
474
- createdAt: string;
475
- updatedAt: string;
476
468
  firstName: string;
477
469
  lastName: string;
478
470
  email: string;
479
471
  phone: string;
472
+ createdAt: string;
473
+ updatedAt: string;
480
474
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
481
475
  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
476
  } | undefined;
477
+ company?: {
478
+ name: string;
479
+ id: string;
480
+ createdAt: string;
481
+ updatedAt: string;
482
+ } | null | undefined;
483
483
  } | null;
484
484
  }, {
485
485
  completed: {
486
- id: string;
487
486
  status: LeadAssignmentStatus;
488
- createdAt: string | Date;
489
- updatedAt: string | Date;
487
+ id: string;
490
488
  leadId: string;
491
489
  agentId: string | null;
492
- companyId: string | null;
490
+ createdAt: string | Date;
491
+ updatedAt: string | Date;
493
492
  assignedAt: string | Date;
494
493
  assignedBy: string | null;
495
- company?: {
496
- id: string;
497
- createdAt: string | Date;
498
- updatedAt: string | Date;
499
- name: string;
500
- } | null | undefined;
494
+ companyId: string | null;
501
495
  lead?: {
502
- phoneNumber: string;
503
496
  name: string;
497
+ phoneNumber: string;
504
498
  } | undefined;
505
499
  agent?: {
506
500
  id: string;
507
- createdAt: string | Date;
508
- updatedAt: string | Date;
509
501
  firstName: string;
510
502
  lastName: string;
511
503
  email: string;
512
504
  phone: string;
505
+ createdAt: string | Date;
506
+ updatedAt: string | Date;
513
507
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
514
508
  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;
515
509
  } | undefined;
510
+ company?: {
511
+ name: string;
512
+ id: string;
513
+ createdAt: string | Date;
514
+ updatedAt: string | Date;
515
+ } | null | undefined;
516
516
  };
517
517
  next: {
518
- id: string;
519
518
  status: LeadAssignmentStatus;
520
- createdAt: string | Date;
521
- updatedAt: string | Date;
519
+ id: string;
522
520
  leadId: string;
523
521
  agentId: string | null;
524
- companyId: string | null;
522
+ createdAt: string | Date;
523
+ updatedAt: string | Date;
525
524
  assignedAt: string | Date;
526
525
  assignedBy: string | null;
527
- company?: {
528
- id: string;
529
- createdAt: string | Date;
530
- updatedAt: string | Date;
531
- name: string;
532
- } | null | undefined;
526
+ companyId: string | null;
533
527
  lead?: {
534
- phoneNumber: string;
535
528
  name: string;
529
+ phoneNumber: string;
536
530
  } | undefined;
537
531
  agent?: {
538
532
  id: string;
539
- createdAt: string | Date;
540
- updatedAt: string | Date;
541
533
  firstName: string;
542
534
  lastName: string;
543
535
  email: string;
544
536
  phone: string;
537
+ createdAt: string | Date;
538
+ updatedAt: string | Date;
545
539
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
546
540
  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;
547
541
  } | undefined;
542
+ company?: {
543
+ name: string;
544
+ id: string;
545
+ createdAt: string | Date;
546
+ updatedAt: string | Date;
547
+ } | null | undefined;
548
548
  } | null;
549
549
  }>;
550
550
  export declare const QueueStatusSchema: z.ZodObject<{
@@ -603,13 +603,13 @@ export declare const leadAssignmentsContract: {
603
603
  summary: "Complete an assignment and update lead status (Queue-based system)";
604
604
  method: "POST";
605
605
  body: z.ZodObject<{
606
- status: z.ZodNativeEnum<typeof import("../common/call-rating.schema").CallRating>;
606
+ rating: z.ZodNativeEnum<typeof import("../common/call-rating.schema").CallRating>;
607
607
  notes: z.ZodOptional<z.ZodString>;
608
608
  }, "strip", z.ZodTypeAny, {
609
- status: import("../common/call-rating.schema").CallRating;
609
+ rating: import("../common/call-rating.schema").CallRating;
610
610
  notes?: string | undefined;
611
611
  }, {
612
- status: import("../common/call-rating.schema").CallRating;
612
+ rating: import("../common/call-rating.schema").CallRating;
613
613
  notes?: string | undefined;
614
614
  }>;
615
615
  path: "/v2/lead-assignments/:id/complete";
@@ -722,11 +722,11 @@ export declare const leadAssignmentsContract: {
722
722
  name: z.ZodString;
723
723
  phoneNumber: z.ZodString;
724
724
  }, "strip", z.ZodTypeAny, {
725
- phoneNumber: string;
726
725
  name: string;
727
- }, {
728
726
  phoneNumber: string;
727
+ }, {
729
728
  name: string;
729
+ phoneNumber: string;
730
730
  }>>;
731
731
  agentId: z.ZodNullable<z.ZodString>;
732
732
  agent: z.ZodOptional<z.ZodObject<{
@@ -741,22 +741,22 @@ export declare const leadAssignmentsContract: {
741
741
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
742
742
  }, "strip", z.ZodTypeAny, {
743
743
  id: string;
744
- createdAt: string;
745
- updatedAt: string;
746
744
  firstName: string;
747
745
  lastName: string;
748
746
  email: string;
749
747
  phone: string;
748
+ createdAt: string;
749
+ updatedAt: string;
750
750
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
751
751
  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;
752
752
  }, {
753
753
  id: string;
754
- createdAt: string | Date;
755
- updatedAt: string | Date;
756
754
  firstName: string;
757
755
  lastName: string;
758
756
  email: string;
759
757
  phone: string;
758
+ createdAt: string | Date;
759
+ updatedAt: string | Date;
760
760
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
761
761
  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;
762
762
  }>>;
@@ -770,80 +770,80 @@ export declare const leadAssignmentsContract: {
770
770
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
771
771
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
772
772
  }, "strip", z.ZodTypeAny, {
773
+ name: string;
773
774
  id: string;
774
775
  createdAt: string;
775
776
  updatedAt: string;
776
- name: string;
777
777
  }, {
778
+ name: string;
778
779
  id: string;
779
780
  createdAt: string | Date;
780
781
  updatedAt: string | Date;
781
- name: string;
782
782
  }>>>;
783
783
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
784
784
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
785
785
  }, "strip", z.ZodTypeAny, {
786
- id: string;
787
786
  status: LeadAssignmentStatus;
788
- createdAt: string;
789
- updatedAt: string;
787
+ id: string;
790
788
  leadId: string;
791
789
  agentId: string | null;
792
- companyId: string | null;
790
+ createdAt: string;
791
+ updatedAt: string;
793
792
  assignedAt: string;
794
793
  assignedBy: string | null;
795
- company?: {
796
- id: string;
797
- createdAt: string;
798
- updatedAt: string;
799
- name: string;
800
- } | null | undefined;
794
+ companyId: string | null;
801
795
  lead?: {
802
- phoneNumber: string;
803
796
  name: string;
797
+ phoneNumber: string;
804
798
  } | undefined;
805
799
  agent?: {
806
800
  id: string;
807
- createdAt: string;
808
- updatedAt: string;
809
801
  firstName: string;
810
802
  lastName: string;
811
803
  email: string;
812
804
  phone: string;
805
+ createdAt: string;
806
+ updatedAt: string;
813
807
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
814
808
  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;
815
809
  } | undefined;
810
+ company?: {
811
+ name: string;
812
+ id: string;
813
+ createdAt: string;
814
+ updatedAt: string;
815
+ } | null | undefined;
816
816
  }, {
817
- id: string;
818
817
  status: LeadAssignmentStatus;
819
- createdAt: string | Date;
820
- updatedAt: string | Date;
818
+ id: string;
821
819
  leadId: string;
822
820
  agentId: string | null;
823
- companyId: string | null;
821
+ createdAt: string | Date;
822
+ updatedAt: string | Date;
824
823
  assignedAt: string | Date;
825
824
  assignedBy: string | null;
826
- company?: {
827
- id: string;
828
- createdAt: string | Date;
829
- updatedAt: string | Date;
830
- name: string;
831
- } | null | undefined;
825
+ companyId: string | null;
832
826
  lead?: {
833
- phoneNumber: string;
834
827
  name: string;
828
+ phoneNumber: string;
835
829
  } | undefined;
836
830
  agent?: {
837
831
  id: string;
838
- createdAt: string | Date;
839
- updatedAt: string | Date;
840
832
  firstName: string;
841
833
  lastName: string;
842
834
  email: string;
843
835
  phone: string;
836
+ createdAt: string | Date;
837
+ updatedAt: string | Date;
844
838
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
845
839
  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;
846
840
  } | undefined;
841
+ company?: {
842
+ name: string;
843
+ id: string;
844
+ createdAt: string | Date;
845
+ updatedAt: string | Date;
846
+ } | null | undefined;
847
847
  }>;
848
848
  next: z.ZodNullable<z.ZodObject<{
849
849
  id: z.ZodString;
@@ -852,11 +852,11 @@ export declare const leadAssignmentsContract: {
852
852
  name: z.ZodString;
853
853
  phoneNumber: z.ZodString;
854
854
  }, "strip", z.ZodTypeAny, {
855
- phoneNumber: string;
856
855
  name: string;
857
- }, {
858
856
  phoneNumber: string;
857
+ }, {
859
858
  name: string;
859
+ phoneNumber: string;
860
860
  }>>;
861
861
  agentId: z.ZodNullable<z.ZodString>;
862
862
  agent: z.ZodOptional<z.ZodObject<{
@@ -871,22 +871,22 @@ export declare const leadAssignmentsContract: {
871
871
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
872
872
  }, "strip", z.ZodTypeAny, {
873
873
  id: string;
874
- createdAt: string;
875
- updatedAt: string;
876
874
  firstName: string;
877
875
  lastName: string;
878
876
  email: string;
879
877
  phone: string;
878
+ createdAt: string;
879
+ updatedAt: string;
880
880
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
881
881
  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;
882
882
  }, {
883
883
  id: string;
884
- createdAt: string | Date;
885
- updatedAt: string | Date;
886
884
  firstName: string;
887
885
  lastName: string;
888
886
  email: string;
889
887
  phone: string;
888
+ createdAt: string | Date;
889
+ updatedAt: string | Date;
890
890
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
891
891
  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;
892
892
  }>>;
@@ -900,210 +900,210 @@ export declare const leadAssignmentsContract: {
900
900
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
901
901
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
902
902
  }, "strip", z.ZodTypeAny, {
903
+ name: string;
903
904
  id: string;
904
905
  createdAt: string;
905
906
  updatedAt: string;
906
- name: string;
907
907
  }, {
908
+ name: string;
908
909
  id: string;
909
910
  createdAt: string | Date;
910
911
  updatedAt: string | Date;
911
- name: string;
912
912
  }>>>;
913
913
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
914
914
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
915
915
  }, "strip", z.ZodTypeAny, {
916
- id: string;
917
916
  status: LeadAssignmentStatus;
918
- createdAt: string;
919
- updatedAt: string;
917
+ id: string;
920
918
  leadId: string;
921
919
  agentId: string | null;
922
- companyId: string | null;
920
+ createdAt: string;
921
+ updatedAt: string;
923
922
  assignedAt: string;
924
923
  assignedBy: string | null;
925
- company?: {
926
- id: string;
927
- createdAt: string;
928
- updatedAt: string;
929
- name: string;
930
- } | null | undefined;
924
+ companyId: string | null;
931
925
  lead?: {
932
- phoneNumber: string;
933
926
  name: string;
927
+ phoneNumber: string;
934
928
  } | undefined;
935
929
  agent?: {
936
930
  id: string;
937
- createdAt: string;
938
- updatedAt: string;
939
931
  firstName: string;
940
932
  lastName: string;
941
933
  email: string;
942
934
  phone: string;
935
+ createdAt: string;
936
+ updatedAt: string;
943
937
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
944
938
  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;
945
939
  } | undefined;
940
+ company?: {
941
+ name: string;
942
+ id: string;
943
+ createdAt: string;
944
+ updatedAt: string;
945
+ } | null | undefined;
946
946
  }, {
947
- id: string;
948
947
  status: LeadAssignmentStatus;
949
- createdAt: string | Date;
950
- updatedAt: string | Date;
948
+ id: string;
951
949
  leadId: string;
952
950
  agentId: string | null;
953
- companyId: string | null;
951
+ createdAt: string | Date;
952
+ updatedAt: string | Date;
954
953
  assignedAt: string | Date;
955
954
  assignedBy: string | null;
956
- company?: {
957
- id: string;
958
- createdAt: string | Date;
959
- updatedAt: string | Date;
960
- name: string;
961
- } | null | undefined;
955
+ companyId: string | null;
962
956
  lead?: {
963
- phoneNumber: string;
964
957
  name: string;
958
+ phoneNumber: string;
965
959
  } | undefined;
966
960
  agent?: {
967
961
  id: string;
968
- createdAt: string | Date;
969
- updatedAt: string | Date;
970
962
  firstName: string;
971
963
  lastName: string;
972
964
  email: string;
973
965
  phone: string;
966
+ createdAt: string | Date;
967
+ updatedAt: string | Date;
974
968
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
975
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;
976
970
  } | undefined;
971
+ company?: {
972
+ name: string;
973
+ id: string;
974
+ createdAt: string | Date;
975
+ updatedAt: string | Date;
976
+ } | null | undefined;
977
977
  }>>;
978
978
  }, "strip", z.ZodTypeAny, {
979
979
  completed: {
980
- id: string;
981
980
  status: LeadAssignmentStatus;
982
- createdAt: string;
983
- updatedAt: string;
981
+ id: string;
984
982
  leadId: string;
985
983
  agentId: string | null;
986
- companyId: string | null;
984
+ createdAt: string;
985
+ updatedAt: string;
987
986
  assignedAt: string;
988
987
  assignedBy: string | null;
989
- company?: {
990
- id: string;
991
- createdAt: string;
992
- updatedAt: string;
993
- name: string;
994
- } | null | undefined;
988
+ companyId: string | null;
995
989
  lead?: {
996
- phoneNumber: string;
997
990
  name: string;
991
+ phoneNumber: string;
998
992
  } | undefined;
999
993
  agent?: {
1000
994
  id: string;
1001
- createdAt: string;
1002
- updatedAt: string;
1003
995
  firstName: string;
1004
996
  lastName: string;
1005
997
  email: string;
1006
998
  phone: string;
999
+ createdAt: string;
1000
+ updatedAt: string;
1007
1001
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
1008
1002
  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;
1009
1003
  } | undefined;
1004
+ company?: {
1005
+ name: string;
1006
+ id: string;
1007
+ createdAt: string;
1008
+ updatedAt: string;
1009
+ } | null | undefined;
1010
1010
  };
1011
1011
  next: {
1012
- id: string;
1013
1012
  status: LeadAssignmentStatus;
1014
- createdAt: string;
1015
- updatedAt: string;
1013
+ id: string;
1016
1014
  leadId: string;
1017
1015
  agentId: string | null;
1018
- companyId: string | null;
1016
+ createdAt: string;
1017
+ updatedAt: string;
1019
1018
  assignedAt: string;
1020
1019
  assignedBy: string | null;
1021
- company?: {
1022
- id: string;
1023
- createdAt: string;
1024
- updatedAt: string;
1025
- name: string;
1026
- } | null | undefined;
1020
+ companyId: string | null;
1027
1021
  lead?: {
1028
- phoneNumber: string;
1029
1022
  name: string;
1023
+ phoneNumber: string;
1030
1024
  } | undefined;
1031
1025
  agent?: {
1032
1026
  id: string;
1033
- createdAt: string;
1034
- updatedAt: string;
1035
1027
  firstName: string;
1036
1028
  lastName: string;
1037
1029
  email: string;
1038
1030
  phone: string;
1031
+ createdAt: string;
1032
+ updatedAt: string;
1039
1033
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
1040
1034
  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;
1041
1035
  } | undefined;
1036
+ company?: {
1037
+ name: string;
1038
+ id: string;
1039
+ createdAt: string;
1040
+ updatedAt: string;
1041
+ } | null | undefined;
1042
1042
  } | null;
1043
1043
  }, {
1044
1044
  completed: {
1045
- id: string;
1046
1045
  status: LeadAssignmentStatus;
1047
- createdAt: string | Date;
1048
- updatedAt: string | Date;
1046
+ id: string;
1049
1047
  leadId: string;
1050
1048
  agentId: string | null;
1051
- companyId: string | null;
1049
+ createdAt: string | Date;
1050
+ updatedAt: string | Date;
1052
1051
  assignedAt: string | Date;
1053
1052
  assignedBy: string | null;
1054
- company?: {
1055
- id: string;
1056
- createdAt: string | Date;
1057
- updatedAt: string | Date;
1058
- name: string;
1059
- } | null | undefined;
1053
+ companyId: string | null;
1060
1054
  lead?: {
1061
- phoneNumber: string;
1062
1055
  name: string;
1056
+ phoneNumber: string;
1063
1057
  } | undefined;
1064
1058
  agent?: {
1065
1059
  id: string;
1066
- createdAt: string | Date;
1067
- updatedAt: string | Date;
1068
1060
  firstName: string;
1069
1061
  lastName: string;
1070
1062
  email: string;
1071
1063
  phone: string;
1064
+ createdAt: string | Date;
1065
+ updatedAt: string | Date;
1072
1066
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
1073
1067
  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;
1074
1068
  } | undefined;
1069
+ company?: {
1070
+ name: string;
1071
+ id: string;
1072
+ createdAt: string | Date;
1073
+ updatedAt: string | Date;
1074
+ } | null | undefined;
1075
1075
  };
1076
1076
  next: {
1077
- id: string;
1078
1077
  status: LeadAssignmentStatus;
1079
- createdAt: string | Date;
1080
- updatedAt: string | Date;
1078
+ id: string;
1081
1079
  leadId: string;
1082
1080
  agentId: string | null;
1083
- companyId: string | null;
1081
+ createdAt: string | Date;
1082
+ updatedAt: string | Date;
1084
1083
  assignedAt: string | Date;
1085
1084
  assignedBy: string | null;
1086
- company?: {
1087
- id: string;
1088
- createdAt: string | Date;
1089
- updatedAt: string | Date;
1090
- name: string;
1091
- } | null | undefined;
1085
+ companyId: string | null;
1092
1086
  lead?: {
1093
- phoneNumber: string;
1094
1087
  name: string;
1088
+ phoneNumber: string;
1095
1089
  } | undefined;
1096
1090
  agent?: {
1097
1091
  id: string;
1098
- createdAt: string | Date;
1099
- updatedAt: string | Date;
1100
1092
  firstName: string;
1101
1093
  lastName: string;
1102
1094
  email: string;
1103
1095
  phone: string;
1096
+ createdAt: string | Date;
1097
+ updatedAt: string | Date;
1104
1098
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
1105
1099
  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;
1106
1100
  } | undefined;
1101
+ company?: {
1102
+ name: string;
1103
+ id: string;
1104
+ createdAt: string | Date;
1105
+ updatedAt: string | Date;
1106
+ } | null | undefined;
1107
1107
  } | null;
1108
1108
  }>>;
1109
1109
  404: z.ZodObject<{
@@ -1248,11 +1248,11 @@ export declare const leadAssignmentsContract: {
1248
1248
  name: z.ZodString;
1249
1249
  phoneNumber: z.ZodString;
1250
1250
  }, "strip", z.ZodTypeAny, {
1251
- phoneNumber: string;
1252
1251
  name: string;
1253
- }, {
1254
1252
  phoneNumber: string;
1253
+ }, {
1255
1254
  name: string;
1255
+ phoneNumber: string;
1256
1256
  }>>;
1257
1257
  agentId: z.ZodNullable<z.ZodString>;
1258
1258
  agent: z.ZodOptional<z.ZodObject<{
@@ -1267,22 +1267,22 @@ export declare const leadAssignmentsContract: {
1267
1267
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1268
1268
  }, "strip", z.ZodTypeAny, {
1269
1269
  id: string;
1270
- createdAt: string;
1271
- updatedAt: string;
1272
1270
  firstName: string;
1273
1271
  lastName: string;
1274
1272
  email: string;
1275
1273
  phone: string;
1274
+ createdAt: string;
1275
+ updatedAt: string;
1276
1276
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
1277
1277
  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;
1278
1278
  }, {
1279
1279
  id: string;
1280
- createdAt: string | Date;
1281
- updatedAt: string | Date;
1282
1280
  firstName: string;
1283
1281
  lastName: string;
1284
1282
  email: string;
1285
1283
  phone: string;
1284
+ createdAt: string | Date;
1285
+ updatedAt: string | Date;
1286
1286
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
1287
1287
  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;
1288
1288
  }>>;
@@ -1296,80 +1296,80 @@ export declare const leadAssignmentsContract: {
1296
1296
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1297
1297
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1298
1298
  }, "strip", z.ZodTypeAny, {
1299
+ name: string;
1299
1300
  id: string;
1300
1301
  createdAt: string;
1301
1302
  updatedAt: string;
1302
- name: string;
1303
1303
  }, {
1304
+ name: string;
1304
1305
  id: string;
1305
1306
  createdAt: string | Date;
1306
1307
  updatedAt: string | Date;
1307
- name: string;
1308
1308
  }>>>;
1309
1309
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1310
1310
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1311
1311
  }, "strip", z.ZodTypeAny, {
1312
- id: string;
1313
1312
  status: LeadAssignmentStatus;
1314
- createdAt: string;
1315
- updatedAt: string;
1313
+ id: string;
1316
1314
  leadId: string;
1317
1315
  agentId: string | null;
1318
- companyId: string | null;
1316
+ createdAt: string;
1317
+ updatedAt: string;
1319
1318
  assignedAt: string;
1320
1319
  assignedBy: string | null;
1321
- company?: {
1322
- id: string;
1323
- createdAt: string;
1324
- updatedAt: string;
1325
- name: string;
1326
- } | null | undefined;
1320
+ companyId: string | null;
1327
1321
  lead?: {
1328
- phoneNumber: string;
1329
1322
  name: string;
1323
+ phoneNumber: string;
1330
1324
  } | undefined;
1331
1325
  agent?: {
1332
1326
  id: string;
1333
- createdAt: string;
1334
- updatedAt: string;
1335
1327
  firstName: string;
1336
1328
  lastName: string;
1337
1329
  email: string;
1338
1330
  phone: string;
1331
+ createdAt: string;
1332
+ updatedAt: string;
1339
1333
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
1340
1334
  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;
1341
1335
  } | undefined;
1336
+ company?: {
1337
+ name: string;
1338
+ id: string;
1339
+ createdAt: string;
1340
+ updatedAt: string;
1341
+ } | null | undefined;
1342
1342
  }, {
1343
- id: string;
1344
1343
  status: LeadAssignmentStatus;
1345
- createdAt: string | Date;
1346
- updatedAt: string | Date;
1344
+ id: string;
1347
1345
  leadId: string;
1348
1346
  agentId: string | null;
1349
- companyId: string | null;
1347
+ createdAt: string | Date;
1348
+ updatedAt: string | Date;
1350
1349
  assignedAt: string | Date;
1351
1350
  assignedBy: string | null;
1352
- company?: {
1353
- id: string;
1354
- createdAt: string | Date;
1355
- updatedAt: string | Date;
1356
- name: string;
1357
- } | null | undefined;
1351
+ companyId: string | null;
1358
1352
  lead?: {
1359
- phoneNumber: string;
1360
1353
  name: string;
1354
+ phoneNumber: string;
1361
1355
  } | undefined;
1362
1356
  agent?: {
1363
1357
  id: string;
1364
- createdAt: string | Date;
1365
- updatedAt: string | Date;
1366
1358
  firstName: string;
1367
1359
  lastName: string;
1368
1360
  email: string;
1369
1361
  phone: string;
1362
+ createdAt: string | Date;
1363
+ updatedAt: string | Date;
1370
1364
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
1371
1365
  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;
1372
1366
  } | undefined;
1367
+ company?: {
1368
+ name: string;
1369
+ id: string;
1370
+ createdAt: string | Date;
1371
+ updatedAt: string | Date;
1372
+ } | null | undefined;
1373
1373
  }>>;
1374
1374
  };
1375
1375
  };
@@ -1496,11 +1496,11 @@ export declare const leadAssignmentsContract: {
1496
1496
  name: z.ZodString;
1497
1497
  phoneNumber: z.ZodString;
1498
1498
  }, "strip", z.ZodTypeAny, {
1499
- phoneNumber: string;
1500
1499
  name: string;
1501
- }, {
1502
1500
  phoneNumber: string;
1501
+ }, {
1503
1502
  name: string;
1503
+ phoneNumber: string;
1504
1504
  }>>;
1505
1505
  agentId: z.ZodNullable<z.ZodString>;
1506
1506
  agent: z.ZodOptional<z.ZodObject<{
@@ -1515,22 +1515,22 @@ export declare const leadAssignmentsContract: {
1515
1515
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1516
1516
  }, "strip", z.ZodTypeAny, {
1517
1517
  id: string;
1518
- createdAt: string;
1519
- updatedAt: string;
1520
1518
  firstName: string;
1521
1519
  lastName: string;
1522
1520
  email: string;
1523
1521
  phone: string;
1522
+ createdAt: string;
1523
+ updatedAt: string;
1524
1524
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
1525
1525
  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;
1526
1526
  }, {
1527
1527
  id: string;
1528
- createdAt: string | Date;
1529
- updatedAt: string | Date;
1530
1528
  firstName: string;
1531
1529
  lastName: string;
1532
1530
  email: string;
1533
1531
  phone: string;
1532
+ createdAt: string | Date;
1533
+ updatedAt: string | Date;
1534
1534
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
1535
1535
  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;
1536
1536
  }>>;
@@ -1544,80 +1544,80 @@ export declare const leadAssignmentsContract: {
1544
1544
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1545
1545
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1546
1546
  }, "strip", z.ZodTypeAny, {
1547
+ name: string;
1547
1548
  id: string;
1548
1549
  createdAt: string;
1549
1550
  updatedAt: string;
1550
- name: string;
1551
1551
  }, {
1552
+ name: string;
1552
1553
  id: string;
1553
1554
  createdAt: string | Date;
1554
1555
  updatedAt: string | Date;
1555
- name: string;
1556
1556
  }>>>;
1557
1557
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1558
1558
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1559
1559
  }, "strip", z.ZodTypeAny, {
1560
- id: string;
1561
1560
  status: LeadAssignmentStatus;
1562
- createdAt: string;
1563
- updatedAt: string;
1561
+ id: string;
1564
1562
  leadId: string;
1565
1563
  agentId: string | null;
1566
- companyId: string | null;
1564
+ createdAt: string;
1565
+ updatedAt: string;
1567
1566
  assignedAt: string;
1568
1567
  assignedBy: string | null;
1569
- company?: {
1570
- id: string;
1571
- createdAt: string;
1572
- updatedAt: string;
1573
- name: string;
1574
- } | null | undefined;
1568
+ companyId: string | null;
1575
1569
  lead?: {
1576
- phoneNumber: string;
1577
1570
  name: string;
1571
+ phoneNumber: string;
1578
1572
  } | undefined;
1579
1573
  agent?: {
1580
1574
  id: string;
1581
- createdAt: string;
1582
- updatedAt: string;
1583
1575
  firstName: string;
1584
1576
  lastName: string;
1585
1577
  email: string;
1586
1578
  phone: string;
1579
+ createdAt: string;
1580
+ updatedAt: string;
1587
1581
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
1588
1582
  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;
1589
1583
  } | undefined;
1584
+ company?: {
1585
+ name: string;
1586
+ id: string;
1587
+ createdAt: string;
1588
+ updatedAt: string;
1589
+ } | null | undefined;
1590
1590
  }, {
1591
- id: string;
1592
1591
  status: LeadAssignmentStatus;
1593
- createdAt: string | Date;
1594
- updatedAt: string | Date;
1592
+ id: string;
1595
1593
  leadId: string;
1596
1594
  agentId: string | null;
1597
- companyId: string | null;
1595
+ createdAt: string | Date;
1596
+ updatedAt: string | Date;
1598
1597
  assignedAt: string | Date;
1599
1598
  assignedBy: string | null;
1600
- company?: {
1601
- id: string;
1602
- createdAt: string | Date;
1603
- updatedAt: string | Date;
1604
- name: string;
1605
- } | null | undefined;
1599
+ companyId: string | null;
1606
1600
  lead?: {
1607
- phoneNumber: string;
1608
1601
  name: string;
1602
+ phoneNumber: string;
1609
1603
  } | undefined;
1610
1604
  agent?: {
1611
1605
  id: string;
1612
- createdAt: string | Date;
1613
- updatedAt: string | Date;
1614
1606
  firstName: string;
1615
1607
  lastName: string;
1616
1608
  email: string;
1617
1609
  phone: string;
1610
+ createdAt: string | Date;
1611
+ updatedAt: string | Date;
1618
1612
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
1619
1613
  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;
1620
1614
  } | undefined;
1615
+ company?: {
1616
+ name: string;
1617
+ id: string;
1618
+ createdAt: string | Date;
1619
+ updatedAt: string | Date;
1620
+ } | null | undefined;
1621
1621
  }>;
1622
1622
  404: z.ZodObject<{
1623
1623
  statusCode: z.ZodNumber;
@@ -1768,11 +1768,11 @@ export declare const leadAssignmentsContract: {
1768
1768
  name: z.ZodString;
1769
1769
  phoneNumber: z.ZodString;
1770
1770
  }, "strip", z.ZodTypeAny, {
1771
- phoneNumber: string;
1772
1771
  name: string;
1773
- }, {
1774
1772
  phoneNumber: string;
1773
+ }, {
1775
1774
  name: string;
1775
+ phoneNumber: string;
1776
1776
  }>>;
1777
1777
  agentId: z.ZodNullable<z.ZodString>;
1778
1778
  agent: z.ZodOptional<z.ZodObject<{
@@ -1787,22 +1787,22 @@ export declare const leadAssignmentsContract: {
1787
1787
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1788
1788
  }, "strip", z.ZodTypeAny, {
1789
1789
  id: string;
1790
- createdAt: string;
1791
- updatedAt: string;
1792
1790
  firstName: string;
1793
1791
  lastName: string;
1794
1792
  email: string;
1795
1793
  phone: string;
1794
+ createdAt: string;
1795
+ updatedAt: string;
1796
1796
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
1797
1797
  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;
1798
1798
  }, {
1799
1799
  id: string;
1800
- createdAt: string | Date;
1801
- updatedAt: string | Date;
1802
1800
  firstName: string;
1803
1801
  lastName: string;
1804
1802
  email: string;
1805
1803
  phone: string;
1804
+ createdAt: string | Date;
1805
+ updatedAt: string | Date;
1806
1806
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
1807
1807
  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;
1808
1808
  }>>;
@@ -1816,80 +1816,80 @@ export declare const leadAssignmentsContract: {
1816
1816
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1817
1817
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1818
1818
  }, "strip", z.ZodTypeAny, {
1819
+ name: string;
1819
1820
  id: string;
1820
1821
  createdAt: string;
1821
1822
  updatedAt: string;
1822
- name: string;
1823
1823
  }, {
1824
+ name: string;
1824
1825
  id: string;
1825
1826
  createdAt: string | Date;
1826
1827
  updatedAt: string | Date;
1827
- name: string;
1828
1828
  }>>>;
1829
1829
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1830
1830
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
1831
1831
  }, "strip", z.ZodTypeAny, {
1832
- id: string;
1833
1832
  status: LeadAssignmentStatus;
1834
- createdAt: string;
1835
- updatedAt: string;
1833
+ id: string;
1836
1834
  leadId: string;
1837
1835
  agentId: string | null;
1838
- companyId: string | null;
1836
+ createdAt: string;
1837
+ updatedAt: string;
1839
1838
  assignedAt: string;
1840
1839
  assignedBy: string | null;
1841
- company?: {
1842
- id: string;
1843
- createdAt: string;
1844
- updatedAt: string;
1845
- name: string;
1846
- } | null | undefined;
1840
+ companyId: string | null;
1847
1841
  lead?: {
1848
- phoneNumber: string;
1849
1842
  name: string;
1843
+ phoneNumber: string;
1850
1844
  } | undefined;
1851
1845
  agent?: {
1852
1846
  id: string;
1853
- createdAt: string;
1854
- updatedAt: string;
1855
1847
  firstName: string;
1856
1848
  lastName: string;
1857
1849
  email: string;
1858
1850
  phone: string;
1851
+ createdAt: string;
1852
+ updatedAt: string;
1859
1853
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
1860
1854
  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;
1861
1855
  } | undefined;
1856
+ company?: {
1857
+ name: string;
1858
+ id: string;
1859
+ createdAt: string;
1860
+ updatedAt: string;
1861
+ } | null | undefined;
1862
1862
  }, {
1863
- id: string;
1864
1863
  status: LeadAssignmentStatus;
1865
- createdAt: string | Date;
1866
- updatedAt: string | Date;
1864
+ id: string;
1867
1865
  leadId: string;
1868
1866
  agentId: string | null;
1869
- companyId: string | null;
1867
+ createdAt: string | Date;
1868
+ updatedAt: string | Date;
1870
1869
  assignedAt: string | Date;
1871
1870
  assignedBy: string | null;
1872
- company?: {
1873
- id: string;
1874
- createdAt: string | Date;
1875
- updatedAt: string | Date;
1876
- name: string;
1877
- } | null | undefined;
1871
+ companyId: string | null;
1878
1872
  lead?: {
1879
- phoneNumber: string;
1880
1873
  name: string;
1874
+ phoneNumber: string;
1881
1875
  } | undefined;
1882
1876
  agent?: {
1883
1877
  id: string;
1884
- createdAt: string | Date;
1885
- updatedAt: string | Date;
1886
1878
  firstName: string;
1887
1879
  lastName: string;
1888
1880
  email: string;
1889
1881
  phone: string;
1882
+ createdAt: string | Date;
1883
+ updatedAt: string | Date;
1890
1884
  roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
1891
1885
  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;
1892
1886
  } | undefined;
1887
+ company?: {
1888
+ name: string;
1889
+ id: string;
1890
+ createdAt: string | Date;
1891
+ updatedAt: string | Date;
1892
+ } | null | undefined;
1893
1893
  }>;
1894
1894
  404: z.ZodObject<{
1895
1895
  statusCode: z.ZodNumber;