@dakkitor/api-contracts 1.1.101 → 1.1.102
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 +4231 -4231
- package/dist/auth/auth.contract.d.ts +8 -8
- package/dist/bookings/bookings.contract.d.ts +15265 -15265
- package/dist/call-history/call-history.contract.d.ts +422 -422
- package/dist/curated-workers/curated-workers.contract.d.ts +256 -256
- package/dist/jobs/jobs.contract.d.ts +224 -40
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/jobs/jobs.contract.js +47 -3
- package/dist/lead-assignments/lead-assignments.contract.d.ts +378 -378
- package/dist/leads/leads.contract.d.ts +115 -115
- package/dist/workers/workers.contract.d.ts +339 -339
- package/package.json +1 -1
|
@@ -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
|
-
name: string;
|
|
13
12
|
phoneNumber: string;
|
|
14
|
-
}, {
|
|
15
13
|
name: string;
|
|
14
|
+
}, {
|
|
16
15
|
phoneNumber: string;
|
|
16
|
+
name: 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
|
-
name: string;
|
|
26
25
|
phoneNumber: string;
|
|
27
|
-
}, {
|
|
28
26
|
name: string;
|
|
27
|
+
}, {
|
|
29
28
|
phoneNumber: string;
|
|
29
|
+
name: 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;
|
|
44
46
|
firstName: string;
|
|
45
47
|
lastName: string;
|
|
46
48
|
email: string;
|
|
47
49
|
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;
|
|
54
56
|
firstName: string;
|
|
55
57
|
lastName: string;
|
|
56
58
|
email: string;
|
|
57
59
|
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,80 +70,80 @@ 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;
|
|
74
73
|
id: string;
|
|
75
74
|
createdAt: string;
|
|
76
75
|
updatedAt: string;
|
|
77
|
-
}, {
|
|
78
76
|
name: string;
|
|
77
|
+
}, {
|
|
79
78
|
id: string;
|
|
80
79
|
createdAt: string | Date;
|
|
81
80
|
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
|
-
status: LeadAssignmentStatus;
|
|
87
86
|
id: string;
|
|
88
|
-
|
|
89
|
-
agentId: string | null;
|
|
87
|
+
status: LeadAssignmentStatus;
|
|
90
88
|
createdAt: string;
|
|
91
89
|
updatedAt: string;
|
|
90
|
+
leadId: string;
|
|
91
|
+
agentId: string | null;
|
|
92
|
+
companyId: string | null;
|
|
92
93
|
assignedAt: string;
|
|
93
94
|
assignedBy: string | null;
|
|
94
|
-
|
|
95
|
-
|
|
95
|
+
company?: {
|
|
96
|
+
id: string;
|
|
97
|
+
createdAt: string;
|
|
98
|
+
updatedAt: string;
|
|
96
99
|
name: string;
|
|
100
|
+
} | null | undefined;
|
|
101
|
+
lead?: {
|
|
97
102
|
phoneNumber: string;
|
|
103
|
+
name: string;
|
|
98
104
|
} | undefined;
|
|
99
105
|
agent?: {
|
|
100
106
|
id: string;
|
|
107
|
+
createdAt: string;
|
|
108
|
+
updatedAt: string;
|
|
101
109
|
firstName: string;
|
|
102
110
|
lastName: string;
|
|
103
111
|
email: string;
|
|
104
112
|
phone: string;
|
|
105
|
-
createdAt: string;
|
|
106
|
-
updatedAt: string;
|
|
107
113
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
108
114
|
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;
|
|
109
115
|
} | undefined;
|
|
110
|
-
company?: {
|
|
111
|
-
name: string;
|
|
112
|
-
id: string;
|
|
113
|
-
createdAt: string;
|
|
114
|
-
updatedAt: string;
|
|
115
|
-
} | null | undefined;
|
|
116
116
|
}, {
|
|
117
|
-
status: LeadAssignmentStatus;
|
|
118
117
|
id: string;
|
|
119
|
-
|
|
120
|
-
agentId: string | null;
|
|
118
|
+
status: LeadAssignmentStatus;
|
|
121
119
|
createdAt: string | Date;
|
|
122
120
|
updatedAt: string | Date;
|
|
121
|
+
leadId: string;
|
|
122
|
+
agentId: string | null;
|
|
123
|
+
companyId: string | null;
|
|
123
124
|
assignedAt: string | Date;
|
|
124
125
|
assignedBy: string | null;
|
|
125
|
-
|
|
126
|
-
|
|
126
|
+
company?: {
|
|
127
|
+
id: string;
|
|
128
|
+
createdAt: string | Date;
|
|
129
|
+
updatedAt: string | Date;
|
|
127
130
|
name: string;
|
|
131
|
+
} | null | undefined;
|
|
132
|
+
lead?: {
|
|
128
133
|
phoneNumber: string;
|
|
134
|
+
name: string;
|
|
129
135
|
} | undefined;
|
|
130
136
|
agent?: {
|
|
131
137
|
id: string;
|
|
138
|
+
createdAt: string | Date;
|
|
139
|
+
updatedAt: string | Date;
|
|
132
140
|
firstName: string;
|
|
133
141
|
lastName: string;
|
|
134
142
|
email: string;
|
|
135
143
|
phone: string;
|
|
136
|
-
createdAt: string | Date;
|
|
137
|
-
updatedAt: string | Date;
|
|
138
144
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
139
145
|
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;
|
|
140
146
|
} | 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
149
|
rating: z.ZodNativeEnum<typeof import("../common/call-rating.schema").CallRating>;
|
|
@@ -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
|
-
name: string;
|
|
167
166
|
phoneNumber: string;
|
|
168
|
-
}, {
|
|
169
167
|
name: string;
|
|
168
|
+
}, {
|
|
170
169
|
phoneNumber: string;
|
|
170
|
+
name: 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;
|
|
185
187
|
firstName: string;
|
|
186
188
|
lastName: string;
|
|
187
189
|
email: string;
|
|
188
190
|
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;
|
|
195
197
|
firstName: string;
|
|
196
198
|
lastName: string;
|
|
197
199
|
email: string;
|
|
198
200
|
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;
|
|
215
214
|
id: string;
|
|
216
215
|
createdAt: string;
|
|
217
216
|
updatedAt: string;
|
|
218
|
-
}, {
|
|
219
217
|
name: string;
|
|
218
|
+
}, {
|
|
220
219
|
id: string;
|
|
221
220
|
createdAt: string | Date;
|
|
222
221
|
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
|
-
status: LeadAssignmentStatus;
|
|
228
227
|
id: string;
|
|
229
|
-
|
|
230
|
-
agentId: string | null;
|
|
228
|
+
status: LeadAssignmentStatus;
|
|
231
229
|
createdAt: string;
|
|
232
230
|
updatedAt: string;
|
|
231
|
+
leadId: string;
|
|
232
|
+
agentId: string | null;
|
|
233
|
+
companyId: string | null;
|
|
233
234
|
assignedAt: string;
|
|
234
235
|
assignedBy: string | null;
|
|
235
|
-
|
|
236
|
-
|
|
236
|
+
company?: {
|
|
237
|
+
id: string;
|
|
238
|
+
createdAt: string;
|
|
239
|
+
updatedAt: string;
|
|
237
240
|
name: string;
|
|
241
|
+
} | null | undefined;
|
|
242
|
+
lead?: {
|
|
238
243
|
phoneNumber: string;
|
|
244
|
+
name: string;
|
|
239
245
|
} | undefined;
|
|
240
246
|
agent?: {
|
|
241
247
|
id: string;
|
|
248
|
+
createdAt: string;
|
|
249
|
+
updatedAt: string;
|
|
242
250
|
firstName: string;
|
|
243
251
|
lastName: string;
|
|
244
252
|
email: string;
|
|
245
253
|
phone: string;
|
|
246
|
-
createdAt: string;
|
|
247
|
-
updatedAt: string;
|
|
248
254
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
249
255
|
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;
|
|
250
256
|
} | undefined;
|
|
251
|
-
company?: {
|
|
252
|
-
name: string;
|
|
253
|
-
id: string;
|
|
254
|
-
createdAt: string;
|
|
255
|
-
updatedAt: string;
|
|
256
|
-
} | null | undefined;
|
|
257
257
|
}, {
|
|
258
|
-
status: LeadAssignmentStatus;
|
|
259
258
|
id: string;
|
|
260
|
-
|
|
261
|
-
agentId: string | null;
|
|
259
|
+
status: LeadAssignmentStatus;
|
|
262
260
|
createdAt: string | Date;
|
|
263
261
|
updatedAt: string | Date;
|
|
262
|
+
leadId: string;
|
|
263
|
+
agentId: string | null;
|
|
264
|
+
companyId: string | null;
|
|
264
265
|
assignedAt: string | Date;
|
|
265
266
|
assignedBy: string | null;
|
|
266
|
-
|
|
267
|
-
|
|
267
|
+
company?: {
|
|
268
|
+
id: string;
|
|
269
|
+
createdAt: string | Date;
|
|
270
|
+
updatedAt: string | Date;
|
|
268
271
|
name: string;
|
|
272
|
+
} | null | undefined;
|
|
273
|
+
lead?: {
|
|
269
274
|
phoneNumber: string;
|
|
275
|
+
name: string;
|
|
270
276
|
} | undefined;
|
|
271
277
|
agent?: {
|
|
272
278
|
id: string;
|
|
279
|
+
createdAt: string | Date;
|
|
280
|
+
updatedAt: string | Date;
|
|
273
281
|
firstName: string;
|
|
274
282
|
lastName: string;
|
|
275
283
|
email: string;
|
|
276
284
|
phone: string;
|
|
277
|
-
createdAt: string | Date;
|
|
278
|
-
updatedAt: string | Date;
|
|
279
285
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
280
286
|
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;
|
|
281
287
|
} | 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
|
-
name: string;
|
|
297
296
|
phoneNumber: string;
|
|
298
|
-
}, {
|
|
299
297
|
name: string;
|
|
298
|
+
}, {
|
|
300
299
|
phoneNumber: string;
|
|
300
|
+
name: 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;
|
|
315
317
|
firstName: string;
|
|
316
318
|
lastName: string;
|
|
317
319
|
email: string;
|
|
318
320
|
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;
|
|
325
327
|
firstName: string;
|
|
326
328
|
lastName: string;
|
|
327
329
|
email: string;
|
|
328
330
|
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;
|
|
345
344
|
id: string;
|
|
346
345
|
createdAt: string;
|
|
347
346
|
updatedAt: string;
|
|
348
|
-
}, {
|
|
349
347
|
name: string;
|
|
348
|
+
}, {
|
|
350
349
|
id: string;
|
|
351
350
|
createdAt: string | Date;
|
|
352
351
|
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
|
-
status: LeadAssignmentStatus;
|
|
358
357
|
id: string;
|
|
359
|
-
|
|
360
|
-
agentId: string | null;
|
|
358
|
+
status: LeadAssignmentStatus;
|
|
361
359
|
createdAt: string;
|
|
362
360
|
updatedAt: string;
|
|
361
|
+
leadId: string;
|
|
362
|
+
agentId: string | null;
|
|
363
|
+
companyId: string | null;
|
|
363
364
|
assignedAt: string;
|
|
364
365
|
assignedBy: string | null;
|
|
365
|
-
|
|
366
|
-
|
|
366
|
+
company?: {
|
|
367
|
+
id: string;
|
|
368
|
+
createdAt: string;
|
|
369
|
+
updatedAt: string;
|
|
367
370
|
name: string;
|
|
371
|
+
} | null | undefined;
|
|
372
|
+
lead?: {
|
|
368
373
|
phoneNumber: string;
|
|
374
|
+
name: string;
|
|
369
375
|
} | undefined;
|
|
370
376
|
agent?: {
|
|
371
377
|
id: string;
|
|
378
|
+
createdAt: string;
|
|
379
|
+
updatedAt: string;
|
|
372
380
|
firstName: string;
|
|
373
381
|
lastName: string;
|
|
374
382
|
email: string;
|
|
375
383
|
phone: string;
|
|
376
|
-
createdAt: string;
|
|
377
|
-
updatedAt: string;
|
|
378
384
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
379
385
|
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;
|
|
380
386
|
} | undefined;
|
|
381
|
-
company?: {
|
|
382
|
-
name: string;
|
|
383
|
-
id: string;
|
|
384
|
-
createdAt: string;
|
|
385
|
-
updatedAt: string;
|
|
386
|
-
} | null | undefined;
|
|
387
387
|
}, {
|
|
388
|
-
status: LeadAssignmentStatus;
|
|
389
388
|
id: string;
|
|
390
|
-
|
|
391
|
-
agentId: string | null;
|
|
389
|
+
status: LeadAssignmentStatus;
|
|
392
390
|
createdAt: string | Date;
|
|
393
391
|
updatedAt: string | Date;
|
|
392
|
+
leadId: string;
|
|
393
|
+
agentId: string | null;
|
|
394
|
+
companyId: string | null;
|
|
394
395
|
assignedAt: string | Date;
|
|
395
396
|
assignedBy: string | null;
|
|
396
|
-
|
|
397
|
-
|
|
397
|
+
company?: {
|
|
398
|
+
id: string;
|
|
399
|
+
createdAt: string | Date;
|
|
400
|
+
updatedAt: string | Date;
|
|
398
401
|
name: string;
|
|
402
|
+
} | null | undefined;
|
|
403
|
+
lead?: {
|
|
399
404
|
phoneNumber: string;
|
|
405
|
+
name: string;
|
|
400
406
|
} | undefined;
|
|
401
407
|
agent?: {
|
|
402
408
|
id: string;
|
|
409
|
+
createdAt: string | Date;
|
|
410
|
+
updatedAt: string | Date;
|
|
403
411
|
firstName: string;
|
|
404
412
|
lastName: string;
|
|
405
413
|
email: string;
|
|
406
414
|
phone: string;
|
|
407
|
-
createdAt: string | Date;
|
|
408
|
-
updatedAt: string | Date;
|
|
409
415
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
410
416
|
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;
|
|
411
417
|
} | 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
|
-
status: LeadAssignmentStatus;
|
|
422
421
|
id: string;
|
|
423
|
-
|
|
424
|
-
agentId: string | null;
|
|
422
|
+
status: LeadAssignmentStatus;
|
|
425
423
|
createdAt: string;
|
|
426
424
|
updatedAt: string;
|
|
425
|
+
leadId: string;
|
|
426
|
+
agentId: string | null;
|
|
427
|
+
companyId: string | null;
|
|
427
428
|
assignedAt: string;
|
|
428
429
|
assignedBy: string | null;
|
|
429
|
-
|
|
430
|
-
|
|
430
|
+
company?: {
|
|
431
|
+
id: string;
|
|
432
|
+
createdAt: string;
|
|
433
|
+
updatedAt: string;
|
|
431
434
|
name: string;
|
|
435
|
+
} | null | undefined;
|
|
436
|
+
lead?: {
|
|
432
437
|
phoneNumber: string;
|
|
438
|
+
name: string;
|
|
433
439
|
} | undefined;
|
|
434
440
|
agent?: {
|
|
435
441
|
id: string;
|
|
442
|
+
createdAt: string;
|
|
443
|
+
updatedAt: string;
|
|
436
444
|
firstName: string;
|
|
437
445
|
lastName: string;
|
|
438
446
|
email: string;
|
|
439
447
|
phone: string;
|
|
440
|
-
createdAt: string;
|
|
441
|
-
updatedAt: string;
|
|
442
448
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
443
449
|
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;
|
|
444
450
|
} | undefined;
|
|
445
|
-
company?: {
|
|
446
|
-
name: string;
|
|
447
|
-
id: string;
|
|
448
|
-
createdAt: string;
|
|
449
|
-
updatedAt: string;
|
|
450
|
-
} | null | undefined;
|
|
451
451
|
};
|
|
452
452
|
next: {
|
|
453
|
-
status: LeadAssignmentStatus;
|
|
454
453
|
id: string;
|
|
455
|
-
|
|
456
|
-
agentId: string | null;
|
|
454
|
+
status: LeadAssignmentStatus;
|
|
457
455
|
createdAt: string;
|
|
458
456
|
updatedAt: string;
|
|
457
|
+
leadId: string;
|
|
458
|
+
agentId: string | null;
|
|
459
|
+
companyId: string | null;
|
|
459
460
|
assignedAt: string;
|
|
460
461
|
assignedBy: string | null;
|
|
461
|
-
|
|
462
|
-
|
|
462
|
+
company?: {
|
|
463
|
+
id: string;
|
|
464
|
+
createdAt: string;
|
|
465
|
+
updatedAt: string;
|
|
463
466
|
name: string;
|
|
467
|
+
} | null | undefined;
|
|
468
|
+
lead?: {
|
|
464
469
|
phoneNumber: string;
|
|
470
|
+
name: string;
|
|
465
471
|
} | undefined;
|
|
466
472
|
agent?: {
|
|
467
473
|
id: string;
|
|
474
|
+
createdAt: string;
|
|
475
|
+
updatedAt: string;
|
|
468
476
|
firstName: string;
|
|
469
477
|
lastName: string;
|
|
470
478
|
email: string;
|
|
471
479
|
phone: string;
|
|
472
|
-
createdAt: string;
|
|
473
|
-
updatedAt: string;
|
|
474
480
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
475
481
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
476
482
|
} | 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
|
-
status: LeadAssignmentStatus;
|
|
487
486
|
id: string;
|
|
488
|
-
|
|
489
|
-
agentId: string | null;
|
|
487
|
+
status: LeadAssignmentStatus;
|
|
490
488
|
createdAt: string | Date;
|
|
491
489
|
updatedAt: string | Date;
|
|
490
|
+
leadId: string;
|
|
491
|
+
agentId: string | null;
|
|
492
|
+
companyId: string | null;
|
|
492
493
|
assignedAt: string | Date;
|
|
493
494
|
assignedBy: string | null;
|
|
494
|
-
|
|
495
|
-
|
|
495
|
+
company?: {
|
|
496
|
+
id: string;
|
|
497
|
+
createdAt: string | Date;
|
|
498
|
+
updatedAt: string | Date;
|
|
496
499
|
name: string;
|
|
500
|
+
} | null | undefined;
|
|
501
|
+
lead?: {
|
|
497
502
|
phoneNumber: string;
|
|
503
|
+
name: string;
|
|
498
504
|
} | undefined;
|
|
499
505
|
agent?: {
|
|
500
506
|
id: string;
|
|
507
|
+
createdAt: string | Date;
|
|
508
|
+
updatedAt: string | Date;
|
|
501
509
|
firstName: string;
|
|
502
510
|
lastName: string;
|
|
503
511
|
email: string;
|
|
504
512
|
phone: string;
|
|
505
|
-
createdAt: string | Date;
|
|
506
|
-
updatedAt: string | Date;
|
|
507
513
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
508
514
|
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;
|
|
509
515
|
} | 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
|
-
status: LeadAssignmentStatus;
|
|
519
518
|
id: string;
|
|
520
|
-
|
|
521
|
-
agentId: string | null;
|
|
519
|
+
status: LeadAssignmentStatus;
|
|
522
520
|
createdAt: string | Date;
|
|
523
521
|
updatedAt: string | Date;
|
|
522
|
+
leadId: string;
|
|
523
|
+
agentId: string | null;
|
|
524
|
+
companyId: string | null;
|
|
524
525
|
assignedAt: string | Date;
|
|
525
526
|
assignedBy: string | null;
|
|
526
|
-
|
|
527
|
-
|
|
527
|
+
company?: {
|
|
528
|
+
id: string;
|
|
529
|
+
createdAt: string | Date;
|
|
530
|
+
updatedAt: string | Date;
|
|
528
531
|
name: string;
|
|
532
|
+
} | null | undefined;
|
|
533
|
+
lead?: {
|
|
529
534
|
phoneNumber: string;
|
|
535
|
+
name: string;
|
|
530
536
|
} | undefined;
|
|
531
537
|
agent?: {
|
|
532
538
|
id: string;
|
|
539
|
+
createdAt: string | Date;
|
|
540
|
+
updatedAt: string | Date;
|
|
533
541
|
firstName: string;
|
|
534
542
|
lastName: string;
|
|
535
543
|
email: string;
|
|
536
544
|
phone: string;
|
|
537
|
-
createdAt: string | Date;
|
|
538
|
-
updatedAt: string | Date;
|
|
539
545
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
540
546
|
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;
|
|
541
547
|
} | 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<{
|
|
@@ -722,11 +722,11 @@ export declare const leadAssignmentsContract: {
|
|
|
722
722
|
name: z.ZodString;
|
|
723
723
|
phoneNumber: z.ZodString;
|
|
724
724
|
}, "strip", z.ZodTypeAny, {
|
|
725
|
-
name: string;
|
|
726
725
|
phoneNumber: string;
|
|
727
|
-
}, {
|
|
728
726
|
name: string;
|
|
727
|
+
}, {
|
|
729
728
|
phoneNumber: string;
|
|
729
|
+
name: 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;
|
|
744
746
|
firstName: string;
|
|
745
747
|
lastName: string;
|
|
746
748
|
email: string;
|
|
747
749
|
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;
|
|
754
756
|
firstName: string;
|
|
755
757
|
lastName: string;
|
|
756
758
|
email: string;
|
|
757
759
|
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;
|
|
774
773
|
id: string;
|
|
775
774
|
createdAt: string;
|
|
776
775
|
updatedAt: string;
|
|
777
|
-
}, {
|
|
778
776
|
name: string;
|
|
777
|
+
}, {
|
|
779
778
|
id: string;
|
|
780
779
|
createdAt: string | Date;
|
|
781
780
|
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
|
-
status: LeadAssignmentStatus;
|
|
787
786
|
id: string;
|
|
788
|
-
|
|
789
|
-
agentId: string | null;
|
|
787
|
+
status: LeadAssignmentStatus;
|
|
790
788
|
createdAt: string;
|
|
791
789
|
updatedAt: string;
|
|
790
|
+
leadId: string;
|
|
791
|
+
agentId: string | null;
|
|
792
|
+
companyId: string | null;
|
|
792
793
|
assignedAt: string;
|
|
793
794
|
assignedBy: string | null;
|
|
794
|
-
|
|
795
|
-
|
|
795
|
+
company?: {
|
|
796
|
+
id: string;
|
|
797
|
+
createdAt: string;
|
|
798
|
+
updatedAt: string;
|
|
796
799
|
name: string;
|
|
800
|
+
} | null | undefined;
|
|
801
|
+
lead?: {
|
|
797
802
|
phoneNumber: string;
|
|
803
|
+
name: string;
|
|
798
804
|
} | undefined;
|
|
799
805
|
agent?: {
|
|
800
806
|
id: string;
|
|
807
|
+
createdAt: string;
|
|
808
|
+
updatedAt: string;
|
|
801
809
|
firstName: string;
|
|
802
810
|
lastName: string;
|
|
803
811
|
email: string;
|
|
804
812
|
phone: string;
|
|
805
|
-
createdAt: string;
|
|
806
|
-
updatedAt: string;
|
|
807
813
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
808
814
|
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;
|
|
809
815
|
} | undefined;
|
|
810
|
-
company?: {
|
|
811
|
-
name: string;
|
|
812
|
-
id: string;
|
|
813
|
-
createdAt: string;
|
|
814
|
-
updatedAt: string;
|
|
815
|
-
} | null | undefined;
|
|
816
816
|
}, {
|
|
817
|
-
status: LeadAssignmentStatus;
|
|
818
817
|
id: string;
|
|
819
|
-
|
|
820
|
-
agentId: string | null;
|
|
818
|
+
status: LeadAssignmentStatus;
|
|
821
819
|
createdAt: string | Date;
|
|
822
820
|
updatedAt: string | Date;
|
|
821
|
+
leadId: string;
|
|
822
|
+
agentId: string | null;
|
|
823
|
+
companyId: string | null;
|
|
823
824
|
assignedAt: string | Date;
|
|
824
825
|
assignedBy: string | null;
|
|
825
|
-
|
|
826
|
-
|
|
826
|
+
company?: {
|
|
827
|
+
id: string;
|
|
828
|
+
createdAt: string | Date;
|
|
829
|
+
updatedAt: string | Date;
|
|
827
830
|
name: string;
|
|
831
|
+
} | null | undefined;
|
|
832
|
+
lead?: {
|
|
828
833
|
phoneNumber: string;
|
|
834
|
+
name: string;
|
|
829
835
|
} | undefined;
|
|
830
836
|
agent?: {
|
|
831
837
|
id: string;
|
|
838
|
+
createdAt: string | Date;
|
|
839
|
+
updatedAt: string | Date;
|
|
832
840
|
firstName: string;
|
|
833
841
|
lastName: string;
|
|
834
842
|
email: string;
|
|
835
843
|
phone: string;
|
|
836
|
-
createdAt: string | Date;
|
|
837
|
-
updatedAt: string | Date;
|
|
838
844
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
839
845
|
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;
|
|
840
846
|
} | 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
|
-
name: string;
|
|
856
855
|
phoneNumber: string;
|
|
857
|
-
}, {
|
|
858
856
|
name: string;
|
|
857
|
+
}, {
|
|
859
858
|
phoneNumber: string;
|
|
859
|
+
name: 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;
|
|
874
876
|
firstName: string;
|
|
875
877
|
lastName: string;
|
|
876
878
|
email: string;
|
|
877
879
|
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;
|
|
884
886
|
firstName: string;
|
|
885
887
|
lastName: string;
|
|
886
888
|
email: string;
|
|
887
889
|
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;
|
|
904
903
|
id: string;
|
|
905
904
|
createdAt: string;
|
|
906
905
|
updatedAt: string;
|
|
907
|
-
}, {
|
|
908
906
|
name: string;
|
|
907
|
+
}, {
|
|
909
908
|
id: string;
|
|
910
909
|
createdAt: string | Date;
|
|
911
910
|
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
|
-
status: LeadAssignmentStatus;
|
|
917
916
|
id: string;
|
|
918
|
-
|
|
919
|
-
agentId: string | null;
|
|
917
|
+
status: LeadAssignmentStatus;
|
|
920
918
|
createdAt: string;
|
|
921
919
|
updatedAt: string;
|
|
920
|
+
leadId: string;
|
|
921
|
+
agentId: string | null;
|
|
922
|
+
companyId: string | null;
|
|
922
923
|
assignedAt: string;
|
|
923
924
|
assignedBy: string | null;
|
|
924
|
-
|
|
925
|
-
|
|
925
|
+
company?: {
|
|
926
|
+
id: string;
|
|
927
|
+
createdAt: string;
|
|
928
|
+
updatedAt: string;
|
|
926
929
|
name: string;
|
|
930
|
+
} | null | undefined;
|
|
931
|
+
lead?: {
|
|
927
932
|
phoneNumber: string;
|
|
933
|
+
name: string;
|
|
928
934
|
} | undefined;
|
|
929
935
|
agent?: {
|
|
930
936
|
id: string;
|
|
937
|
+
createdAt: string;
|
|
938
|
+
updatedAt: string;
|
|
931
939
|
firstName: string;
|
|
932
940
|
lastName: string;
|
|
933
941
|
email: string;
|
|
934
942
|
phone: string;
|
|
935
|
-
createdAt: string;
|
|
936
|
-
updatedAt: string;
|
|
937
943
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
938
944
|
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;
|
|
939
945
|
} | undefined;
|
|
940
|
-
company?: {
|
|
941
|
-
name: string;
|
|
942
|
-
id: string;
|
|
943
|
-
createdAt: string;
|
|
944
|
-
updatedAt: string;
|
|
945
|
-
} | null | undefined;
|
|
946
946
|
}, {
|
|
947
|
-
status: LeadAssignmentStatus;
|
|
948
947
|
id: string;
|
|
949
|
-
|
|
950
|
-
agentId: string | null;
|
|
948
|
+
status: LeadAssignmentStatus;
|
|
951
949
|
createdAt: string | Date;
|
|
952
950
|
updatedAt: string | Date;
|
|
951
|
+
leadId: string;
|
|
952
|
+
agentId: string | null;
|
|
953
|
+
companyId: string | null;
|
|
953
954
|
assignedAt: string | Date;
|
|
954
955
|
assignedBy: string | null;
|
|
955
|
-
|
|
956
|
-
|
|
956
|
+
company?: {
|
|
957
|
+
id: string;
|
|
958
|
+
createdAt: string | Date;
|
|
959
|
+
updatedAt: string | Date;
|
|
957
960
|
name: string;
|
|
961
|
+
} | null | undefined;
|
|
962
|
+
lead?: {
|
|
958
963
|
phoneNumber: string;
|
|
964
|
+
name: string;
|
|
959
965
|
} | undefined;
|
|
960
966
|
agent?: {
|
|
961
967
|
id: string;
|
|
968
|
+
createdAt: string | Date;
|
|
969
|
+
updatedAt: string | Date;
|
|
962
970
|
firstName: string;
|
|
963
971
|
lastName: string;
|
|
964
972
|
email: string;
|
|
965
973
|
phone: string;
|
|
966
|
-
createdAt: string | Date;
|
|
967
|
-
updatedAt: string | Date;
|
|
968
974
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
969
975
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
970
976
|
} | 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
|
-
status: LeadAssignmentStatus;
|
|
981
980
|
id: string;
|
|
982
|
-
|
|
983
|
-
agentId: string | null;
|
|
981
|
+
status: LeadAssignmentStatus;
|
|
984
982
|
createdAt: string;
|
|
985
983
|
updatedAt: string;
|
|
984
|
+
leadId: string;
|
|
985
|
+
agentId: string | null;
|
|
986
|
+
companyId: string | null;
|
|
986
987
|
assignedAt: string;
|
|
987
988
|
assignedBy: string | null;
|
|
988
|
-
|
|
989
|
-
|
|
989
|
+
company?: {
|
|
990
|
+
id: string;
|
|
991
|
+
createdAt: string;
|
|
992
|
+
updatedAt: string;
|
|
990
993
|
name: string;
|
|
994
|
+
} | null | undefined;
|
|
995
|
+
lead?: {
|
|
991
996
|
phoneNumber: string;
|
|
997
|
+
name: string;
|
|
992
998
|
} | undefined;
|
|
993
999
|
agent?: {
|
|
994
1000
|
id: string;
|
|
1001
|
+
createdAt: string;
|
|
1002
|
+
updatedAt: string;
|
|
995
1003
|
firstName: string;
|
|
996
1004
|
lastName: string;
|
|
997
1005
|
email: string;
|
|
998
1006
|
phone: string;
|
|
999
|
-
createdAt: string;
|
|
1000
|
-
updatedAt: string;
|
|
1001
1007
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1002
1008
|
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;
|
|
1003
1009
|
} | undefined;
|
|
1004
|
-
company?: {
|
|
1005
|
-
name: string;
|
|
1006
|
-
id: string;
|
|
1007
|
-
createdAt: string;
|
|
1008
|
-
updatedAt: string;
|
|
1009
|
-
} | null | undefined;
|
|
1010
1010
|
};
|
|
1011
1011
|
next: {
|
|
1012
|
-
status: LeadAssignmentStatus;
|
|
1013
1012
|
id: string;
|
|
1014
|
-
|
|
1015
|
-
agentId: string | null;
|
|
1013
|
+
status: LeadAssignmentStatus;
|
|
1016
1014
|
createdAt: string;
|
|
1017
1015
|
updatedAt: string;
|
|
1016
|
+
leadId: string;
|
|
1017
|
+
agentId: string | null;
|
|
1018
|
+
companyId: string | null;
|
|
1018
1019
|
assignedAt: string;
|
|
1019
1020
|
assignedBy: string | null;
|
|
1020
|
-
|
|
1021
|
-
|
|
1021
|
+
company?: {
|
|
1022
|
+
id: string;
|
|
1023
|
+
createdAt: string;
|
|
1024
|
+
updatedAt: string;
|
|
1022
1025
|
name: string;
|
|
1026
|
+
} | null | undefined;
|
|
1027
|
+
lead?: {
|
|
1023
1028
|
phoneNumber: string;
|
|
1029
|
+
name: string;
|
|
1024
1030
|
} | undefined;
|
|
1025
1031
|
agent?: {
|
|
1026
1032
|
id: string;
|
|
1033
|
+
createdAt: string;
|
|
1034
|
+
updatedAt: string;
|
|
1027
1035
|
firstName: string;
|
|
1028
1036
|
lastName: string;
|
|
1029
1037
|
email: string;
|
|
1030
1038
|
phone: string;
|
|
1031
|
-
createdAt: string;
|
|
1032
|
-
updatedAt: string;
|
|
1033
1039
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1034
1040
|
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;
|
|
1035
1041
|
} | 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
|
-
status: LeadAssignmentStatus;
|
|
1046
1045
|
id: string;
|
|
1047
|
-
|
|
1048
|
-
agentId: string | null;
|
|
1046
|
+
status: LeadAssignmentStatus;
|
|
1049
1047
|
createdAt: string | Date;
|
|
1050
1048
|
updatedAt: string | Date;
|
|
1049
|
+
leadId: string;
|
|
1050
|
+
agentId: string | null;
|
|
1051
|
+
companyId: string | null;
|
|
1051
1052
|
assignedAt: string | Date;
|
|
1052
1053
|
assignedBy: string | null;
|
|
1053
|
-
|
|
1054
|
-
|
|
1054
|
+
company?: {
|
|
1055
|
+
id: string;
|
|
1056
|
+
createdAt: string | Date;
|
|
1057
|
+
updatedAt: string | Date;
|
|
1055
1058
|
name: string;
|
|
1059
|
+
} | null | undefined;
|
|
1060
|
+
lead?: {
|
|
1056
1061
|
phoneNumber: string;
|
|
1062
|
+
name: string;
|
|
1057
1063
|
} | undefined;
|
|
1058
1064
|
agent?: {
|
|
1059
1065
|
id: string;
|
|
1066
|
+
createdAt: string | Date;
|
|
1067
|
+
updatedAt: string | Date;
|
|
1060
1068
|
firstName: string;
|
|
1061
1069
|
lastName: string;
|
|
1062
1070
|
email: string;
|
|
1063
1071
|
phone: string;
|
|
1064
|
-
createdAt: string | Date;
|
|
1065
|
-
updatedAt: string | Date;
|
|
1066
1072
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1067
1073
|
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;
|
|
1068
1074
|
} | 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
|
-
status: LeadAssignmentStatus;
|
|
1078
1077
|
id: string;
|
|
1079
|
-
|
|
1080
|
-
agentId: string | null;
|
|
1078
|
+
status: LeadAssignmentStatus;
|
|
1081
1079
|
createdAt: string | Date;
|
|
1082
1080
|
updatedAt: string | Date;
|
|
1081
|
+
leadId: string;
|
|
1082
|
+
agentId: string | null;
|
|
1083
|
+
companyId: string | null;
|
|
1083
1084
|
assignedAt: string | Date;
|
|
1084
1085
|
assignedBy: string | null;
|
|
1085
|
-
|
|
1086
|
-
|
|
1086
|
+
company?: {
|
|
1087
|
+
id: string;
|
|
1088
|
+
createdAt: string | Date;
|
|
1089
|
+
updatedAt: string | Date;
|
|
1087
1090
|
name: string;
|
|
1091
|
+
} | null | undefined;
|
|
1092
|
+
lead?: {
|
|
1088
1093
|
phoneNumber: string;
|
|
1094
|
+
name: string;
|
|
1089
1095
|
} | undefined;
|
|
1090
1096
|
agent?: {
|
|
1091
1097
|
id: string;
|
|
1098
|
+
createdAt: string | Date;
|
|
1099
|
+
updatedAt: string | Date;
|
|
1092
1100
|
firstName: string;
|
|
1093
1101
|
lastName: string;
|
|
1094
1102
|
email: string;
|
|
1095
1103
|
phone: string;
|
|
1096
|
-
createdAt: string | Date;
|
|
1097
|
-
updatedAt: string | Date;
|
|
1098
1104
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1099
1105
|
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;
|
|
1100
1106
|
} | 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
|
-
name: string;
|
|
1252
1251
|
phoneNumber: string;
|
|
1253
|
-
}, {
|
|
1254
1252
|
name: string;
|
|
1253
|
+
}, {
|
|
1255
1254
|
phoneNumber: string;
|
|
1255
|
+
name: 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;
|
|
1270
1272
|
firstName: string;
|
|
1271
1273
|
lastName: string;
|
|
1272
1274
|
email: string;
|
|
1273
1275
|
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;
|
|
1280
1282
|
firstName: string;
|
|
1281
1283
|
lastName: string;
|
|
1282
1284
|
email: string;
|
|
1283
1285
|
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;
|
|
1300
1299
|
id: string;
|
|
1301
1300
|
createdAt: string;
|
|
1302
1301
|
updatedAt: string;
|
|
1303
|
-
}, {
|
|
1304
1302
|
name: string;
|
|
1303
|
+
}, {
|
|
1305
1304
|
id: string;
|
|
1306
1305
|
createdAt: string | Date;
|
|
1307
1306
|
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
|
-
status: LeadAssignmentStatus;
|
|
1313
1312
|
id: string;
|
|
1314
|
-
|
|
1315
|
-
agentId: string | null;
|
|
1313
|
+
status: LeadAssignmentStatus;
|
|
1316
1314
|
createdAt: string;
|
|
1317
1315
|
updatedAt: string;
|
|
1316
|
+
leadId: string;
|
|
1317
|
+
agentId: string | null;
|
|
1318
|
+
companyId: string | null;
|
|
1318
1319
|
assignedAt: string;
|
|
1319
1320
|
assignedBy: string | null;
|
|
1320
|
-
|
|
1321
|
-
|
|
1321
|
+
company?: {
|
|
1322
|
+
id: string;
|
|
1323
|
+
createdAt: string;
|
|
1324
|
+
updatedAt: string;
|
|
1322
1325
|
name: string;
|
|
1326
|
+
} | null | undefined;
|
|
1327
|
+
lead?: {
|
|
1323
1328
|
phoneNumber: string;
|
|
1329
|
+
name: string;
|
|
1324
1330
|
} | undefined;
|
|
1325
1331
|
agent?: {
|
|
1326
1332
|
id: string;
|
|
1333
|
+
createdAt: string;
|
|
1334
|
+
updatedAt: string;
|
|
1327
1335
|
firstName: string;
|
|
1328
1336
|
lastName: string;
|
|
1329
1337
|
email: string;
|
|
1330
1338
|
phone: string;
|
|
1331
|
-
createdAt: string;
|
|
1332
|
-
updatedAt: string;
|
|
1333
1339
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1334
1340
|
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;
|
|
1335
1341
|
} | undefined;
|
|
1336
|
-
company?: {
|
|
1337
|
-
name: string;
|
|
1338
|
-
id: string;
|
|
1339
|
-
createdAt: string;
|
|
1340
|
-
updatedAt: string;
|
|
1341
|
-
} | null | undefined;
|
|
1342
1342
|
}, {
|
|
1343
|
-
status: LeadAssignmentStatus;
|
|
1344
1343
|
id: string;
|
|
1345
|
-
|
|
1346
|
-
agentId: string | null;
|
|
1344
|
+
status: LeadAssignmentStatus;
|
|
1347
1345
|
createdAt: string | Date;
|
|
1348
1346
|
updatedAt: string | Date;
|
|
1347
|
+
leadId: string;
|
|
1348
|
+
agentId: string | null;
|
|
1349
|
+
companyId: string | null;
|
|
1349
1350
|
assignedAt: string | Date;
|
|
1350
1351
|
assignedBy: string | null;
|
|
1351
|
-
|
|
1352
|
-
|
|
1352
|
+
company?: {
|
|
1353
|
+
id: string;
|
|
1354
|
+
createdAt: string | Date;
|
|
1355
|
+
updatedAt: string | Date;
|
|
1353
1356
|
name: string;
|
|
1357
|
+
} | null | undefined;
|
|
1358
|
+
lead?: {
|
|
1354
1359
|
phoneNumber: string;
|
|
1360
|
+
name: string;
|
|
1355
1361
|
} | undefined;
|
|
1356
1362
|
agent?: {
|
|
1357
1363
|
id: string;
|
|
1364
|
+
createdAt: string | Date;
|
|
1365
|
+
updatedAt: string | Date;
|
|
1358
1366
|
firstName: string;
|
|
1359
1367
|
lastName: string;
|
|
1360
1368
|
email: string;
|
|
1361
1369
|
phone: string;
|
|
1362
|
-
createdAt: string | Date;
|
|
1363
|
-
updatedAt: string | Date;
|
|
1364
1370
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1365
1371
|
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;
|
|
1366
1372
|
} | 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
|
-
name: string;
|
|
1500
1499
|
phoneNumber: string;
|
|
1501
|
-
}, {
|
|
1502
1500
|
name: string;
|
|
1501
|
+
}, {
|
|
1503
1502
|
phoneNumber: string;
|
|
1503
|
+
name: 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;
|
|
1518
1520
|
firstName: string;
|
|
1519
1521
|
lastName: string;
|
|
1520
1522
|
email: string;
|
|
1521
1523
|
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;
|
|
1528
1530
|
firstName: string;
|
|
1529
1531
|
lastName: string;
|
|
1530
1532
|
email: string;
|
|
1531
1533
|
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;
|
|
1548
1547
|
id: string;
|
|
1549
1548
|
createdAt: string;
|
|
1550
1549
|
updatedAt: string;
|
|
1551
|
-
}, {
|
|
1552
1550
|
name: string;
|
|
1551
|
+
}, {
|
|
1553
1552
|
id: string;
|
|
1554
1553
|
createdAt: string | Date;
|
|
1555
1554
|
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
|
-
status: LeadAssignmentStatus;
|
|
1561
1560
|
id: string;
|
|
1562
|
-
|
|
1563
|
-
agentId: string | null;
|
|
1561
|
+
status: LeadAssignmentStatus;
|
|
1564
1562
|
createdAt: string;
|
|
1565
1563
|
updatedAt: string;
|
|
1564
|
+
leadId: string;
|
|
1565
|
+
agentId: string | null;
|
|
1566
|
+
companyId: string | null;
|
|
1566
1567
|
assignedAt: string;
|
|
1567
1568
|
assignedBy: string | null;
|
|
1568
|
-
|
|
1569
|
-
|
|
1569
|
+
company?: {
|
|
1570
|
+
id: string;
|
|
1571
|
+
createdAt: string;
|
|
1572
|
+
updatedAt: string;
|
|
1570
1573
|
name: string;
|
|
1574
|
+
} | null | undefined;
|
|
1575
|
+
lead?: {
|
|
1571
1576
|
phoneNumber: string;
|
|
1577
|
+
name: string;
|
|
1572
1578
|
} | undefined;
|
|
1573
1579
|
agent?: {
|
|
1574
1580
|
id: string;
|
|
1581
|
+
createdAt: string;
|
|
1582
|
+
updatedAt: string;
|
|
1575
1583
|
firstName: string;
|
|
1576
1584
|
lastName: string;
|
|
1577
1585
|
email: string;
|
|
1578
1586
|
phone: string;
|
|
1579
|
-
createdAt: string;
|
|
1580
|
-
updatedAt: string;
|
|
1581
1587
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1582
1588
|
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;
|
|
1583
1589
|
} | undefined;
|
|
1584
|
-
company?: {
|
|
1585
|
-
name: string;
|
|
1586
|
-
id: string;
|
|
1587
|
-
createdAt: string;
|
|
1588
|
-
updatedAt: string;
|
|
1589
|
-
} | null | undefined;
|
|
1590
1590
|
}, {
|
|
1591
|
-
status: LeadAssignmentStatus;
|
|
1592
1591
|
id: string;
|
|
1593
|
-
|
|
1594
|
-
agentId: string | null;
|
|
1592
|
+
status: LeadAssignmentStatus;
|
|
1595
1593
|
createdAt: string | Date;
|
|
1596
1594
|
updatedAt: string | Date;
|
|
1595
|
+
leadId: string;
|
|
1596
|
+
agentId: string | null;
|
|
1597
|
+
companyId: string | null;
|
|
1597
1598
|
assignedAt: string | Date;
|
|
1598
1599
|
assignedBy: string | null;
|
|
1599
|
-
|
|
1600
|
-
|
|
1600
|
+
company?: {
|
|
1601
|
+
id: string;
|
|
1602
|
+
createdAt: string | Date;
|
|
1603
|
+
updatedAt: string | Date;
|
|
1601
1604
|
name: string;
|
|
1605
|
+
} | null | undefined;
|
|
1606
|
+
lead?: {
|
|
1602
1607
|
phoneNumber: string;
|
|
1608
|
+
name: string;
|
|
1603
1609
|
} | undefined;
|
|
1604
1610
|
agent?: {
|
|
1605
1611
|
id: string;
|
|
1612
|
+
createdAt: string | Date;
|
|
1613
|
+
updatedAt: string | Date;
|
|
1606
1614
|
firstName: string;
|
|
1607
1615
|
lastName: string;
|
|
1608
1616
|
email: string;
|
|
1609
1617
|
phone: string;
|
|
1610
|
-
createdAt: string | Date;
|
|
1611
|
-
updatedAt: string | Date;
|
|
1612
1618
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1613
1619
|
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;
|
|
1614
1620
|
} | 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
|
-
name: string;
|
|
1772
1771
|
phoneNumber: string;
|
|
1773
|
-
}, {
|
|
1774
1772
|
name: string;
|
|
1773
|
+
}, {
|
|
1775
1774
|
phoneNumber: string;
|
|
1775
|
+
name: 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;
|
|
1790
1792
|
firstName: string;
|
|
1791
1793
|
lastName: string;
|
|
1792
1794
|
email: string;
|
|
1793
1795
|
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;
|
|
1800
1802
|
firstName: string;
|
|
1801
1803
|
lastName: string;
|
|
1802
1804
|
email: string;
|
|
1803
1805
|
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;
|
|
1820
1819
|
id: string;
|
|
1821
1820
|
createdAt: string;
|
|
1822
1821
|
updatedAt: string;
|
|
1823
|
-
}, {
|
|
1824
1822
|
name: string;
|
|
1823
|
+
}, {
|
|
1825
1824
|
id: string;
|
|
1826
1825
|
createdAt: string | Date;
|
|
1827
1826
|
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
|
-
status: LeadAssignmentStatus;
|
|
1833
1832
|
id: string;
|
|
1834
|
-
|
|
1835
|
-
agentId: string | null;
|
|
1833
|
+
status: LeadAssignmentStatus;
|
|
1836
1834
|
createdAt: string;
|
|
1837
1835
|
updatedAt: string;
|
|
1836
|
+
leadId: string;
|
|
1837
|
+
agentId: string | null;
|
|
1838
|
+
companyId: string | null;
|
|
1838
1839
|
assignedAt: string;
|
|
1839
1840
|
assignedBy: string | null;
|
|
1840
|
-
|
|
1841
|
-
|
|
1841
|
+
company?: {
|
|
1842
|
+
id: string;
|
|
1843
|
+
createdAt: string;
|
|
1844
|
+
updatedAt: string;
|
|
1842
1845
|
name: string;
|
|
1846
|
+
} | null | undefined;
|
|
1847
|
+
lead?: {
|
|
1843
1848
|
phoneNumber: string;
|
|
1849
|
+
name: string;
|
|
1844
1850
|
} | undefined;
|
|
1845
1851
|
agent?: {
|
|
1846
1852
|
id: string;
|
|
1853
|
+
createdAt: string;
|
|
1854
|
+
updatedAt: string;
|
|
1847
1855
|
firstName: string;
|
|
1848
1856
|
lastName: string;
|
|
1849
1857
|
email: string;
|
|
1850
1858
|
phone: string;
|
|
1851
|
-
createdAt: string;
|
|
1852
|
-
updatedAt: string;
|
|
1853
1859
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1854
1860
|
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;
|
|
1855
1861
|
} | undefined;
|
|
1856
|
-
company?: {
|
|
1857
|
-
name: string;
|
|
1858
|
-
id: string;
|
|
1859
|
-
createdAt: string;
|
|
1860
|
-
updatedAt: string;
|
|
1861
|
-
} | null | undefined;
|
|
1862
1862
|
}, {
|
|
1863
|
-
status: LeadAssignmentStatus;
|
|
1864
1863
|
id: string;
|
|
1865
|
-
|
|
1866
|
-
agentId: string | null;
|
|
1864
|
+
status: LeadAssignmentStatus;
|
|
1867
1865
|
createdAt: string | Date;
|
|
1868
1866
|
updatedAt: string | Date;
|
|
1867
|
+
leadId: string;
|
|
1868
|
+
agentId: string | null;
|
|
1869
|
+
companyId: string | null;
|
|
1869
1870
|
assignedAt: string | Date;
|
|
1870
1871
|
assignedBy: string | null;
|
|
1871
|
-
|
|
1872
|
-
|
|
1872
|
+
company?: {
|
|
1873
|
+
id: string;
|
|
1874
|
+
createdAt: string | Date;
|
|
1875
|
+
updatedAt: string | Date;
|
|
1873
1876
|
name: string;
|
|
1877
|
+
} | null | undefined;
|
|
1878
|
+
lead?: {
|
|
1874
1879
|
phoneNumber: string;
|
|
1880
|
+
name: string;
|
|
1875
1881
|
} | undefined;
|
|
1876
1882
|
agent?: {
|
|
1877
1883
|
id: string;
|
|
1884
|
+
createdAt: string | Date;
|
|
1885
|
+
updatedAt: string | Date;
|
|
1878
1886
|
firstName: string;
|
|
1879
1887
|
lastName: string;
|
|
1880
1888
|
email: string;
|
|
1881
1889
|
phone: string;
|
|
1882
|
-
createdAt: string | Date;
|
|
1883
|
-
updatedAt: string | Date;
|
|
1884
1890
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1885
1891
|
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;
|
|
1886
1892
|
} | 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;
|