@dakkitor/api-contracts 1.1.136 → 1.1.138
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/abilities/abilities.contract.d.ts +13 -19
- package/dist/abilities/abilities.contract.d.ts.map +1 -1
- package/dist/abilities/abilities.contract.js +18 -33
- package/dist/abilities/admin.abilities.json +10 -0
- package/dist/abilities/bot.abilities.json +4 -0
- package/dist/abilities/first-agent.abilities.json +21 -2
- package/dist/abilities/kpi.abilities.json +4 -0
- package/dist/abilities/second-agent.abilities.json +13 -1
- package/dist/abilities/team-leads.json +4 -0
- package/dist/actives/actives.contract.d.ts +7776 -5918
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.d.ts +2521 -658
- package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -1
- package/dist/agent-client-links/agent-client-links.contract.js +56 -2
- package/dist/auth/auth.contract.d.ts +16 -16
- package/dist/bookings/bookings.contract.d.ts +30403 -22293
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.js +161 -37
- package/dist/call-history/call-history.contract.d.ts +814 -640
- package/dist/call-history/call-history.contract.d.ts.map +1 -1
- package/dist/client-contacts/client-contacts.contract.d.ts +306 -306
- package/dist/clients/clients.contract.d.ts +189 -123
- package/dist/clients/clients.contract.d.ts.map +1 -1
- package/dist/clients/clients.contract.js +50 -6
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +2136 -1752
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts.map +1 -1
- package/dist/collaborations/collaborations.contract.d.ts +2039 -1658
- package/dist/collaborations/collaborations.contract.d.ts.map +1 -1
- package/dist/collaborations/collaborations.contract.js +2 -2
- package/dist/common/common-schemas.d.ts +23 -4
- package/dist/common/common-schemas.d.ts.map +1 -1
- package/dist/common/common-schemas.js +31 -1
- package/dist/companies/companies.contract.d.ts +28 -28
- package/dist/cron-executions/cron-executions.contract.d.ts +26 -26
- package/dist/curated-workers/curated-workers.contract.d.ts +762 -500
- package/dist/curated-workers/curated-workers.contract.d.ts.map +1 -1
- package/dist/curated-workers/curated-workers.contract.js +10 -0
- package/dist/dashboards/agent-daily-metrics.contract.d.ts +173 -803
- package/dist/dashboards/agent-daily-metrics.contract.d.ts.map +1 -1
- package/dist/dashboards/agent-daily-metrics.contract.js +45 -108
- package/dist/dashboards/dashboard-widgets.contract.d.ts +398 -292
- package/dist/dashboards/dashboard-widgets.contract.d.ts.map +1 -1
- package/dist/dashboards/dashboard-widgets.contract.js +77 -32
- package/dist/dashboards/dashboard.contract.d.ts +215 -305
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -0
- package/dist/jobs/jobs.contract.d.ts +3932 -3272
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/kpi-impersonation/kpi-impersonation.contract.d.ts +1340 -0
- package/dist/kpi-impersonation/kpi-impersonation.contract.d.ts.map +1 -0
- package/dist/kpi-impersonation/kpi-impersonation.contract.js +146 -0
- package/dist/lead-assignments/lead-assignments.contract.d.ts +754 -562
- package/dist/lead-assignments/lead-assignments.contract.d.ts.map +1 -1
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +900 -408
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts.map +1 -1
- package/dist/lead-distribution/agent-lead-distribution.contract.js +57 -1
- package/dist/leads/leads.contract.d.ts +228 -228
- package/dist/locations/locations.contract.d.ts +22 -22
- package/dist/offices/offices.contract.d.ts +794 -0
- package/dist/offices/offices.contract.d.ts.map +1 -0
- package/dist/offices/offices.contract.js +93 -0
- package/dist/own-research/own-research.contract.d.ts +854 -563
- package/dist/own-research/own-research.contract.d.ts.map +1 -1
- package/dist/users/users.contract.d.ts +345 -245
- package/dist/users/users.contract.d.ts.map +1 -1
- package/dist/users/users.contract.js +7 -25
- package/dist/workers/workers.contract.d.ts +1102 -702
- package/dist/workers/workers.contract.d.ts.map +1 -1
- package/dist/workers/workers.contract.js +13 -0
- 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<{
|
|
@@ -51,61 +51,76 @@ export declare const LeadAssignmentSchema: z.ZodObject<{
|
|
|
51
51
|
isPrimary?: boolean | undefined;
|
|
52
52
|
}>, "many">>>;
|
|
53
53
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
|
|
54
|
-
office: z.ZodOptional<z.ZodNullable<z.
|
|
54
|
+
office: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
55
|
+
id: z.ZodString;
|
|
56
|
+
name: z.ZodString;
|
|
57
|
+
}, "strip", z.ZodTypeAny, {
|
|
58
|
+
id: string;
|
|
59
|
+
name: string;
|
|
60
|
+
}, {
|
|
61
|
+
id: string;
|
|
62
|
+
name: string;
|
|
63
|
+
}>>>;
|
|
55
64
|
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
56
65
|
id: z.ZodString;
|
|
57
66
|
firstName: z.ZodString;
|
|
58
67
|
lastName: z.ZodString;
|
|
59
68
|
}, "strip", z.ZodTypeAny, {
|
|
60
|
-
id: string;
|
|
61
|
-
firstName: string;
|
|
62
69
|
lastName: string;
|
|
63
|
-
}, {
|
|
64
|
-
id: string;
|
|
65
70
|
firstName: string;
|
|
71
|
+
id: string;
|
|
72
|
+
}, {
|
|
66
73
|
lastName: string;
|
|
74
|
+
firstName: string;
|
|
75
|
+
id: string;
|
|
67
76
|
}>, "many">>;
|
|
68
77
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
69
78
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
70
79
|
}, "strip", z.ZodTypeAny, {
|
|
80
|
+
lastName: string;
|
|
81
|
+
firstName: string;
|
|
71
82
|
email: string;
|
|
72
|
-
id: string;
|
|
73
83
|
createdAt: string;
|
|
74
|
-
|
|
75
|
-
firstName: string;
|
|
76
|
-
lastName: string;
|
|
84
|
+
id: string;
|
|
77
85
|
phoneNumbers: {
|
|
78
86
|
id: string;
|
|
79
87
|
phoneNumber: string;
|
|
80
88
|
isPrimary: boolean;
|
|
81
89
|
description?: string | null | undefined;
|
|
82
90
|
}[];
|
|
91
|
+
updatedAt: string;
|
|
92
|
+
office?: {
|
|
93
|
+
id: string;
|
|
94
|
+
name: string;
|
|
95
|
+
} | null | undefined;
|
|
83
96
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
84
|
-
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;
|
|
85
97
|
canImpersonateUsers?: {
|
|
86
|
-
id: string;
|
|
87
|
-
firstName: string;
|
|
88
98
|
lastName: string;
|
|
99
|
+
firstName: string;
|
|
100
|
+
id: string;
|
|
89
101
|
}[] | undefined;
|
|
90
102
|
}, {
|
|
103
|
+
lastName: string;
|
|
104
|
+
firstName: string;
|
|
91
105
|
email: string;
|
|
92
|
-
id: string;
|
|
93
106
|
createdAt: string | Date;
|
|
107
|
+
id: string;
|
|
94
108
|
updatedAt: string | Date;
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
109
|
+
office?: {
|
|
110
|
+
id: string;
|
|
111
|
+
name: string;
|
|
112
|
+
} | null | undefined;
|
|
98
113
|
phoneNumbers?: {
|
|
99
114
|
id: string;
|
|
100
115
|
phoneNumber: string;
|
|
101
116
|
description?: string | null | undefined;
|
|
102
117
|
isPrimary?: boolean | undefined;
|
|
103
118
|
}[] | undefined;
|
|
104
|
-
|
|
119
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
105
120
|
canImpersonateUsers?: {
|
|
106
|
-
id: string;
|
|
107
|
-
firstName: string;
|
|
108
121
|
lastName: string;
|
|
122
|
+
firstName: string;
|
|
123
|
+
id: string;
|
|
109
124
|
}[] | undefined;
|
|
110
125
|
}>>;
|
|
111
126
|
assignedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -118,98 +133,104 @@ export declare const LeadAssignmentSchema: z.ZodObject<{
|
|
|
118
133
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
119
134
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
120
135
|
}, "strip", z.ZodTypeAny, {
|
|
121
|
-
name: string;
|
|
122
|
-
id: string;
|
|
123
136
|
createdAt: string;
|
|
137
|
+
id: string;
|
|
138
|
+
name: string;
|
|
124
139
|
updatedAt: string;
|
|
125
140
|
}, {
|
|
126
|
-
name: string;
|
|
127
|
-
id: string;
|
|
128
141
|
createdAt: string | Date;
|
|
142
|
+
id: string;
|
|
143
|
+
name: string;
|
|
129
144
|
updatedAt: string | Date;
|
|
130
145
|
}>>>;
|
|
131
146
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
132
147
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
133
148
|
}, "strip", z.ZodTypeAny, {
|
|
149
|
+
createdAt: string;
|
|
134
150
|
id: string;
|
|
135
151
|
status: LeadAssignmentStatus;
|
|
136
|
-
agentId: string | null;
|
|
137
|
-
createdAt: string;
|
|
138
152
|
updatedAt: string;
|
|
153
|
+
agentId: string | null;
|
|
139
154
|
leadId: string;
|
|
140
155
|
assignedAt: string;
|
|
141
156
|
assignedBy: string | null;
|
|
142
157
|
companyId: string | null;
|
|
143
|
-
lead?: {
|
|
144
|
-
name: string;
|
|
145
|
-
phoneNumber: string;
|
|
146
|
-
} | undefined;
|
|
147
158
|
agent?: {
|
|
159
|
+
lastName: string;
|
|
160
|
+
firstName: string;
|
|
148
161
|
email: string;
|
|
149
|
-
id: string;
|
|
150
162
|
createdAt: string;
|
|
151
|
-
|
|
152
|
-
firstName: string;
|
|
153
|
-
lastName: string;
|
|
163
|
+
id: string;
|
|
154
164
|
phoneNumbers: {
|
|
155
165
|
id: string;
|
|
156
166
|
phoneNumber: string;
|
|
157
167
|
isPrimary: boolean;
|
|
158
168
|
description?: string | null | undefined;
|
|
159
169
|
}[];
|
|
170
|
+
updatedAt: string;
|
|
171
|
+
office?: {
|
|
172
|
+
id: string;
|
|
173
|
+
name: string;
|
|
174
|
+
} | null | undefined;
|
|
160
175
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
161
|
-
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;
|
|
162
176
|
canImpersonateUsers?: {
|
|
163
|
-
id: string;
|
|
164
|
-
firstName: string;
|
|
165
177
|
lastName: string;
|
|
178
|
+
firstName: string;
|
|
179
|
+
id: string;
|
|
166
180
|
}[] | undefined;
|
|
167
181
|
} | undefined;
|
|
168
|
-
|
|
182
|
+
lead?: {
|
|
183
|
+
phoneNumber: string;
|
|
169
184
|
name: string;
|
|
170
|
-
|
|
185
|
+
} | undefined;
|
|
186
|
+
company?: {
|
|
171
187
|
createdAt: string;
|
|
188
|
+
id: string;
|
|
189
|
+
name: string;
|
|
172
190
|
updatedAt: string;
|
|
173
191
|
} | null | undefined;
|
|
174
192
|
}, {
|
|
193
|
+
createdAt: string | Date;
|
|
175
194
|
id: string;
|
|
176
195
|
status: LeadAssignmentStatus;
|
|
177
|
-
agentId: string | null;
|
|
178
|
-
createdAt: string | Date;
|
|
179
196
|
updatedAt: string | Date;
|
|
197
|
+
agentId: string | null;
|
|
180
198
|
leadId: string;
|
|
181
199
|
assignedAt: string | Date;
|
|
182
200
|
assignedBy: string | null;
|
|
183
201
|
companyId: string | null;
|
|
184
|
-
lead?: {
|
|
185
|
-
name: string;
|
|
186
|
-
phoneNumber: string;
|
|
187
|
-
} | undefined;
|
|
188
202
|
agent?: {
|
|
203
|
+
lastName: string;
|
|
204
|
+
firstName: string;
|
|
189
205
|
email: string;
|
|
190
|
-
id: string;
|
|
191
206
|
createdAt: string | Date;
|
|
207
|
+
id: string;
|
|
192
208
|
updatedAt: string | Date;
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
209
|
+
office?: {
|
|
210
|
+
id: string;
|
|
211
|
+
name: string;
|
|
212
|
+
} | null | undefined;
|
|
196
213
|
phoneNumbers?: {
|
|
197
214
|
id: string;
|
|
198
215
|
phoneNumber: string;
|
|
199
216
|
description?: string | null | undefined;
|
|
200
217
|
isPrimary?: boolean | undefined;
|
|
201
218
|
}[] | undefined;
|
|
202
|
-
|
|
219
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
203
220
|
canImpersonateUsers?: {
|
|
204
|
-
id: string;
|
|
205
|
-
firstName: string;
|
|
206
221
|
lastName: string;
|
|
222
|
+
firstName: string;
|
|
223
|
+
id: string;
|
|
207
224
|
}[] | undefined;
|
|
208
225
|
} | undefined;
|
|
209
|
-
|
|
226
|
+
lead?: {
|
|
227
|
+
phoneNumber: string;
|
|
210
228
|
name: string;
|
|
211
|
-
|
|
229
|
+
} | undefined;
|
|
230
|
+
company?: {
|
|
212
231
|
createdAt: string | Date;
|
|
232
|
+
id: string;
|
|
233
|
+
name: string;
|
|
213
234
|
updatedAt: string | Date;
|
|
214
235
|
} | null | undefined;
|
|
215
236
|
}>;
|
|
@@ -231,11 +252,11 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
|
|
|
231
252
|
name: z.ZodString;
|
|
232
253
|
phoneNumber: z.ZodString;
|
|
233
254
|
}, "strip", z.ZodTypeAny, {
|
|
234
|
-
name: string;
|
|
235
255
|
phoneNumber: string;
|
|
236
|
-
}, {
|
|
237
256
|
name: string;
|
|
257
|
+
}, {
|
|
238
258
|
phoneNumber: string;
|
|
259
|
+
name: string;
|
|
239
260
|
}>>;
|
|
240
261
|
agentId: z.ZodNullable<z.ZodString>;
|
|
241
262
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -260,61 +281,76 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
|
|
|
260
281
|
isPrimary?: boolean | undefined;
|
|
261
282
|
}>, "many">>>;
|
|
262
283
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
|
|
263
|
-
office: z.ZodOptional<z.ZodNullable<z.
|
|
284
|
+
office: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
285
|
+
id: z.ZodString;
|
|
286
|
+
name: z.ZodString;
|
|
287
|
+
}, "strip", z.ZodTypeAny, {
|
|
288
|
+
id: string;
|
|
289
|
+
name: string;
|
|
290
|
+
}, {
|
|
291
|
+
id: string;
|
|
292
|
+
name: string;
|
|
293
|
+
}>>>;
|
|
264
294
|
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
265
295
|
id: z.ZodString;
|
|
266
296
|
firstName: z.ZodString;
|
|
267
297
|
lastName: z.ZodString;
|
|
268
298
|
}, "strip", z.ZodTypeAny, {
|
|
269
|
-
id: string;
|
|
270
|
-
firstName: string;
|
|
271
299
|
lastName: string;
|
|
272
|
-
}, {
|
|
273
|
-
id: string;
|
|
274
300
|
firstName: string;
|
|
301
|
+
id: string;
|
|
302
|
+
}, {
|
|
275
303
|
lastName: string;
|
|
304
|
+
firstName: string;
|
|
305
|
+
id: string;
|
|
276
306
|
}>, "many">>;
|
|
277
307
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
278
308
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
279
309
|
}, "strip", z.ZodTypeAny, {
|
|
310
|
+
lastName: string;
|
|
311
|
+
firstName: string;
|
|
280
312
|
email: string;
|
|
281
|
-
id: string;
|
|
282
313
|
createdAt: string;
|
|
283
|
-
|
|
284
|
-
firstName: string;
|
|
285
|
-
lastName: string;
|
|
314
|
+
id: string;
|
|
286
315
|
phoneNumbers: {
|
|
287
316
|
id: string;
|
|
288
317
|
phoneNumber: string;
|
|
289
318
|
isPrimary: boolean;
|
|
290
319
|
description?: string | null | undefined;
|
|
291
320
|
}[];
|
|
321
|
+
updatedAt: string;
|
|
322
|
+
office?: {
|
|
323
|
+
id: string;
|
|
324
|
+
name: string;
|
|
325
|
+
} | null | undefined;
|
|
292
326
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
293
|
-
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;
|
|
294
327
|
canImpersonateUsers?: {
|
|
295
|
-
id: string;
|
|
296
|
-
firstName: string;
|
|
297
328
|
lastName: string;
|
|
329
|
+
firstName: string;
|
|
330
|
+
id: string;
|
|
298
331
|
}[] | undefined;
|
|
299
332
|
}, {
|
|
333
|
+
lastName: string;
|
|
334
|
+
firstName: string;
|
|
300
335
|
email: string;
|
|
301
|
-
id: string;
|
|
302
336
|
createdAt: string | Date;
|
|
337
|
+
id: string;
|
|
303
338
|
updatedAt: string | Date;
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
339
|
+
office?: {
|
|
340
|
+
id: string;
|
|
341
|
+
name: string;
|
|
342
|
+
} | null | undefined;
|
|
307
343
|
phoneNumbers?: {
|
|
308
344
|
id: string;
|
|
309
345
|
phoneNumber: string;
|
|
310
346
|
description?: string | null | undefined;
|
|
311
347
|
isPrimary?: boolean | undefined;
|
|
312
348
|
}[] | undefined;
|
|
313
|
-
|
|
349
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
314
350
|
canImpersonateUsers?: {
|
|
315
|
-
id: string;
|
|
316
|
-
firstName: string;
|
|
317
351
|
lastName: string;
|
|
352
|
+
firstName: string;
|
|
353
|
+
id: string;
|
|
318
354
|
}[] | undefined;
|
|
319
355
|
}>>;
|
|
320
356
|
assignedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -327,98 +363,104 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
|
|
|
327
363
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
328
364
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
329
365
|
}, "strip", z.ZodTypeAny, {
|
|
330
|
-
name: string;
|
|
331
|
-
id: string;
|
|
332
366
|
createdAt: string;
|
|
367
|
+
id: string;
|
|
368
|
+
name: string;
|
|
333
369
|
updatedAt: string;
|
|
334
370
|
}, {
|
|
335
|
-
name: string;
|
|
336
|
-
id: string;
|
|
337
371
|
createdAt: string | Date;
|
|
372
|
+
id: string;
|
|
373
|
+
name: string;
|
|
338
374
|
updatedAt: string | Date;
|
|
339
375
|
}>>>;
|
|
340
376
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
341
377
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
342
378
|
}, "strip", z.ZodTypeAny, {
|
|
379
|
+
createdAt: string;
|
|
343
380
|
id: string;
|
|
344
381
|
status: LeadAssignmentStatus;
|
|
345
|
-
agentId: string | null;
|
|
346
|
-
createdAt: string;
|
|
347
382
|
updatedAt: string;
|
|
383
|
+
agentId: string | null;
|
|
348
384
|
leadId: string;
|
|
349
385
|
assignedAt: string;
|
|
350
386
|
assignedBy: string | null;
|
|
351
387
|
companyId: string | null;
|
|
352
|
-
lead?: {
|
|
353
|
-
name: string;
|
|
354
|
-
phoneNumber: string;
|
|
355
|
-
} | undefined;
|
|
356
388
|
agent?: {
|
|
389
|
+
lastName: string;
|
|
390
|
+
firstName: string;
|
|
357
391
|
email: string;
|
|
358
|
-
id: string;
|
|
359
392
|
createdAt: string;
|
|
360
|
-
|
|
361
|
-
firstName: string;
|
|
362
|
-
lastName: string;
|
|
393
|
+
id: string;
|
|
363
394
|
phoneNumbers: {
|
|
364
395
|
id: string;
|
|
365
396
|
phoneNumber: string;
|
|
366
397
|
isPrimary: boolean;
|
|
367
398
|
description?: string | null | undefined;
|
|
368
399
|
}[];
|
|
400
|
+
updatedAt: string;
|
|
401
|
+
office?: {
|
|
402
|
+
id: string;
|
|
403
|
+
name: string;
|
|
404
|
+
} | null | undefined;
|
|
369
405
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
370
|
-
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;
|
|
371
406
|
canImpersonateUsers?: {
|
|
372
|
-
id: string;
|
|
373
|
-
firstName: string;
|
|
374
407
|
lastName: string;
|
|
408
|
+
firstName: string;
|
|
409
|
+
id: string;
|
|
375
410
|
}[] | undefined;
|
|
376
411
|
} | undefined;
|
|
377
|
-
|
|
412
|
+
lead?: {
|
|
413
|
+
phoneNumber: string;
|
|
378
414
|
name: string;
|
|
379
|
-
|
|
415
|
+
} | undefined;
|
|
416
|
+
company?: {
|
|
380
417
|
createdAt: string;
|
|
418
|
+
id: string;
|
|
419
|
+
name: string;
|
|
381
420
|
updatedAt: string;
|
|
382
421
|
} | null | undefined;
|
|
383
422
|
}, {
|
|
423
|
+
createdAt: string | Date;
|
|
384
424
|
id: string;
|
|
385
425
|
status: LeadAssignmentStatus;
|
|
386
|
-
agentId: string | null;
|
|
387
|
-
createdAt: string | Date;
|
|
388
426
|
updatedAt: string | Date;
|
|
427
|
+
agentId: string | null;
|
|
389
428
|
leadId: string;
|
|
390
429
|
assignedAt: string | Date;
|
|
391
430
|
assignedBy: string | null;
|
|
392
431
|
companyId: string | null;
|
|
393
|
-
lead?: {
|
|
394
|
-
name: string;
|
|
395
|
-
phoneNumber: string;
|
|
396
|
-
} | undefined;
|
|
397
432
|
agent?: {
|
|
433
|
+
lastName: string;
|
|
434
|
+
firstName: string;
|
|
398
435
|
email: string;
|
|
399
|
-
id: string;
|
|
400
436
|
createdAt: string | Date;
|
|
437
|
+
id: string;
|
|
401
438
|
updatedAt: string | Date;
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
439
|
+
office?: {
|
|
440
|
+
id: string;
|
|
441
|
+
name: string;
|
|
442
|
+
} | null | undefined;
|
|
405
443
|
phoneNumbers?: {
|
|
406
444
|
id: string;
|
|
407
445
|
phoneNumber: string;
|
|
408
446
|
description?: string | null | undefined;
|
|
409
447
|
isPrimary?: boolean | undefined;
|
|
410
448
|
}[] | undefined;
|
|
411
|
-
|
|
449
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
412
450
|
canImpersonateUsers?: {
|
|
413
|
-
id: string;
|
|
414
|
-
firstName: string;
|
|
415
451
|
lastName: string;
|
|
452
|
+
firstName: string;
|
|
453
|
+
id: string;
|
|
416
454
|
}[] | undefined;
|
|
417
455
|
} | undefined;
|
|
418
|
-
|
|
456
|
+
lead?: {
|
|
457
|
+
phoneNumber: string;
|
|
419
458
|
name: string;
|
|
420
|
-
|
|
459
|
+
} | undefined;
|
|
460
|
+
company?: {
|
|
421
461
|
createdAt: string | Date;
|
|
462
|
+
id: string;
|
|
463
|
+
name: string;
|
|
422
464
|
updatedAt: string | Date;
|
|
423
465
|
} | null | undefined;
|
|
424
466
|
}>;
|
|
@@ -429,11 +471,11 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
|
|
|
429
471
|
name: z.ZodString;
|
|
430
472
|
phoneNumber: z.ZodString;
|
|
431
473
|
}, "strip", z.ZodTypeAny, {
|
|
432
|
-
name: string;
|
|
433
474
|
phoneNumber: string;
|
|
434
|
-
}, {
|
|
435
475
|
name: string;
|
|
476
|
+
}, {
|
|
436
477
|
phoneNumber: string;
|
|
478
|
+
name: string;
|
|
437
479
|
}>>;
|
|
438
480
|
agentId: z.ZodNullable<z.ZodString>;
|
|
439
481
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -458,61 +500,76 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
|
|
|
458
500
|
isPrimary?: boolean | undefined;
|
|
459
501
|
}>, "many">>>;
|
|
460
502
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
|
|
461
|
-
office: z.ZodOptional<z.ZodNullable<z.
|
|
503
|
+
office: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
504
|
+
id: z.ZodString;
|
|
505
|
+
name: z.ZodString;
|
|
506
|
+
}, "strip", z.ZodTypeAny, {
|
|
507
|
+
id: string;
|
|
508
|
+
name: string;
|
|
509
|
+
}, {
|
|
510
|
+
id: string;
|
|
511
|
+
name: string;
|
|
512
|
+
}>>>;
|
|
462
513
|
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
463
514
|
id: z.ZodString;
|
|
464
515
|
firstName: z.ZodString;
|
|
465
516
|
lastName: z.ZodString;
|
|
466
517
|
}, "strip", z.ZodTypeAny, {
|
|
467
|
-
id: string;
|
|
468
|
-
firstName: string;
|
|
469
518
|
lastName: string;
|
|
470
|
-
}, {
|
|
471
|
-
id: string;
|
|
472
519
|
firstName: string;
|
|
520
|
+
id: string;
|
|
521
|
+
}, {
|
|
473
522
|
lastName: string;
|
|
523
|
+
firstName: string;
|
|
524
|
+
id: string;
|
|
474
525
|
}>, "many">>;
|
|
475
526
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
476
527
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
477
528
|
}, "strip", z.ZodTypeAny, {
|
|
529
|
+
lastName: string;
|
|
530
|
+
firstName: string;
|
|
478
531
|
email: string;
|
|
479
|
-
id: string;
|
|
480
532
|
createdAt: string;
|
|
481
|
-
|
|
482
|
-
firstName: string;
|
|
483
|
-
lastName: string;
|
|
533
|
+
id: string;
|
|
484
534
|
phoneNumbers: {
|
|
485
535
|
id: string;
|
|
486
536
|
phoneNumber: string;
|
|
487
537
|
isPrimary: boolean;
|
|
488
538
|
description?: string | null | undefined;
|
|
489
539
|
}[];
|
|
540
|
+
updatedAt: string;
|
|
541
|
+
office?: {
|
|
542
|
+
id: string;
|
|
543
|
+
name: string;
|
|
544
|
+
} | null | undefined;
|
|
490
545
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
491
|
-
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;
|
|
492
546
|
canImpersonateUsers?: {
|
|
493
|
-
id: string;
|
|
494
|
-
firstName: string;
|
|
495
547
|
lastName: string;
|
|
548
|
+
firstName: string;
|
|
549
|
+
id: string;
|
|
496
550
|
}[] | undefined;
|
|
497
551
|
}, {
|
|
552
|
+
lastName: string;
|
|
553
|
+
firstName: string;
|
|
498
554
|
email: string;
|
|
499
|
-
id: string;
|
|
500
555
|
createdAt: string | Date;
|
|
556
|
+
id: string;
|
|
501
557
|
updatedAt: string | Date;
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
558
|
+
office?: {
|
|
559
|
+
id: string;
|
|
560
|
+
name: string;
|
|
561
|
+
} | null | undefined;
|
|
505
562
|
phoneNumbers?: {
|
|
506
563
|
id: string;
|
|
507
564
|
phoneNumber: string;
|
|
508
565
|
description?: string | null | undefined;
|
|
509
566
|
isPrimary?: boolean | undefined;
|
|
510
567
|
}[] | undefined;
|
|
511
|
-
|
|
568
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
512
569
|
canImpersonateUsers?: {
|
|
513
|
-
id: string;
|
|
514
|
-
firstName: string;
|
|
515
570
|
lastName: string;
|
|
571
|
+
firstName: string;
|
|
572
|
+
id: string;
|
|
516
573
|
}[] | undefined;
|
|
517
574
|
}>>;
|
|
518
575
|
assignedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -525,268 +582,286 @@ export declare const CompleteAssignmentResponseSchema: z.ZodObject<{
|
|
|
525
582
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
526
583
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
527
584
|
}, "strip", z.ZodTypeAny, {
|
|
528
|
-
name: string;
|
|
529
|
-
id: string;
|
|
530
585
|
createdAt: string;
|
|
586
|
+
id: string;
|
|
587
|
+
name: string;
|
|
531
588
|
updatedAt: string;
|
|
532
589
|
}, {
|
|
533
|
-
name: string;
|
|
534
|
-
id: string;
|
|
535
590
|
createdAt: string | Date;
|
|
591
|
+
id: string;
|
|
592
|
+
name: string;
|
|
536
593
|
updatedAt: string | Date;
|
|
537
594
|
}>>>;
|
|
538
595
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
539
596
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
540
597
|
}, "strip", z.ZodTypeAny, {
|
|
598
|
+
createdAt: string;
|
|
541
599
|
id: string;
|
|
542
600
|
status: LeadAssignmentStatus;
|
|
543
|
-
agentId: string | null;
|
|
544
|
-
createdAt: string;
|
|
545
601
|
updatedAt: string;
|
|
602
|
+
agentId: string | null;
|
|
546
603
|
leadId: string;
|
|
547
604
|
assignedAt: string;
|
|
548
605
|
assignedBy: string | null;
|
|
549
606
|
companyId: string | null;
|
|
550
|
-
lead?: {
|
|
551
|
-
name: string;
|
|
552
|
-
phoneNumber: string;
|
|
553
|
-
} | undefined;
|
|
554
607
|
agent?: {
|
|
608
|
+
lastName: string;
|
|
609
|
+
firstName: string;
|
|
555
610
|
email: string;
|
|
556
|
-
id: string;
|
|
557
611
|
createdAt: string;
|
|
558
|
-
|
|
559
|
-
firstName: string;
|
|
560
|
-
lastName: string;
|
|
612
|
+
id: string;
|
|
561
613
|
phoneNumbers: {
|
|
562
614
|
id: string;
|
|
563
615
|
phoneNumber: string;
|
|
564
616
|
isPrimary: boolean;
|
|
565
617
|
description?: string | null | undefined;
|
|
566
618
|
}[];
|
|
619
|
+
updatedAt: string;
|
|
620
|
+
office?: {
|
|
621
|
+
id: string;
|
|
622
|
+
name: string;
|
|
623
|
+
} | null | undefined;
|
|
567
624
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
568
|
-
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
569
625
|
canImpersonateUsers?: {
|
|
570
|
-
id: string;
|
|
571
|
-
firstName: string;
|
|
572
626
|
lastName: string;
|
|
627
|
+
firstName: string;
|
|
628
|
+
id: string;
|
|
573
629
|
}[] | undefined;
|
|
574
630
|
} | undefined;
|
|
575
|
-
|
|
631
|
+
lead?: {
|
|
632
|
+
phoneNumber: string;
|
|
576
633
|
name: string;
|
|
577
|
-
|
|
634
|
+
} | undefined;
|
|
635
|
+
company?: {
|
|
578
636
|
createdAt: string;
|
|
637
|
+
id: string;
|
|
638
|
+
name: string;
|
|
579
639
|
updatedAt: string;
|
|
580
640
|
} | null | undefined;
|
|
581
641
|
}, {
|
|
642
|
+
createdAt: string | Date;
|
|
582
643
|
id: string;
|
|
583
644
|
status: LeadAssignmentStatus;
|
|
584
|
-
agentId: string | null;
|
|
585
|
-
createdAt: string | Date;
|
|
586
645
|
updatedAt: string | Date;
|
|
646
|
+
agentId: string | null;
|
|
587
647
|
leadId: string;
|
|
588
648
|
assignedAt: string | Date;
|
|
589
649
|
assignedBy: string | null;
|
|
590
650
|
companyId: string | null;
|
|
591
|
-
lead?: {
|
|
592
|
-
name: string;
|
|
593
|
-
phoneNumber: string;
|
|
594
|
-
} | undefined;
|
|
595
651
|
agent?: {
|
|
652
|
+
lastName: string;
|
|
653
|
+
firstName: string;
|
|
596
654
|
email: string;
|
|
597
|
-
id: string;
|
|
598
655
|
createdAt: string | Date;
|
|
656
|
+
id: string;
|
|
599
657
|
updatedAt: string | Date;
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
658
|
+
office?: {
|
|
659
|
+
id: string;
|
|
660
|
+
name: string;
|
|
661
|
+
} | null | undefined;
|
|
603
662
|
phoneNumbers?: {
|
|
604
663
|
id: string;
|
|
605
664
|
phoneNumber: string;
|
|
606
665
|
description?: string | null | undefined;
|
|
607
666
|
isPrimary?: boolean | undefined;
|
|
608
667
|
}[] | undefined;
|
|
609
|
-
|
|
668
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
610
669
|
canImpersonateUsers?: {
|
|
611
|
-
id: string;
|
|
612
|
-
firstName: string;
|
|
613
670
|
lastName: string;
|
|
671
|
+
firstName: string;
|
|
672
|
+
id: string;
|
|
614
673
|
}[] | undefined;
|
|
615
674
|
} | undefined;
|
|
616
|
-
|
|
675
|
+
lead?: {
|
|
676
|
+
phoneNumber: string;
|
|
617
677
|
name: string;
|
|
618
|
-
|
|
678
|
+
} | undefined;
|
|
679
|
+
company?: {
|
|
619
680
|
createdAt: string | Date;
|
|
681
|
+
id: string;
|
|
682
|
+
name: string;
|
|
620
683
|
updatedAt: string | Date;
|
|
621
684
|
} | null | undefined;
|
|
622
685
|
}>>;
|
|
623
686
|
}, "strip", z.ZodTypeAny, {
|
|
624
687
|
completed: {
|
|
688
|
+
createdAt: string;
|
|
625
689
|
id: string;
|
|
626
690
|
status: LeadAssignmentStatus;
|
|
627
|
-
agentId: string | null;
|
|
628
|
-
createdAt: string;
|
|
629
691
|
updatedAt: string;
|
|
692
|
+
agentId: string | null;
|
|
630
693
|
leadId: string;
|
|
631
694
|
assignedAt: string;
|
|
632
695
|
assignedBy: string | null;
|
|
633
696
|
companyId: string | null;
|
|
634
|
-
lead?: {
|
|
635
|
-
name: string;
|
|
636
|
-
phoneNumber: string;
|
|
637
|
-
} | undefined;
|
|
638
697
|
agent?: {
|
|
698
|
+
lastName: string;
|
|
699
|
+
firstName: string;
|
|
639
700
|
email: string;
|
|
640
|
-
id: string;
|
|
641
701
|
createdAt: string;
|
|
642
|
-
|
|
643
|
-
firstName: string;
|
|
644
|
-
lastName: string;
|
|
702
|
+
id: string;
|
|
645
703
|
phoneNumbers: {
|
|
646
704
|
id: string;
|
|
647
705
|
phoneNumber: string;
|
|
648
706
|
isPrimary: boolean;
|
|
649
707
|
description?: string | null | undefined;
|
|
650
708
|
}[];
|
|
709
|
+
updatedAt: string;
|
|
710
|
+
office?: {
|
|
711
|
+
id: string;
|
|
712
|
+
name: string;
|
|
713
|
+
} | null | undefined;
|
|
651
714
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
652
|
-
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;
|
|
653
715
|
canImpersonateUsers?: {
|
|
654
|
-
id: string;
|
|
655
|
-
firstName: string;
|
|
656
716
|
lastName: string;
|
|
717
|
+
firstName: string;
|
|
718
|
+
id: string;
|
|
657
719
|
}[] | undefined;
|
|
658
720
|
} | undefined;
|
|
659
|
-
|
|
721
|
+
lead?: {
|
|
722
|
+
phoneNumber: string;
|
|
660
723
|
name: string;
|
|
661
|
-
|
|
724
|
+
} | undefined;
|
|
725
|
+
company?: {
|
|
662
726
|
createdAt: string;
|
|
727
|
+
id: string;
|
|
728
|
+
name: string;
|
|
663
729
|
updatedAt: string;
|
|
664
730
|
} | null | undefined;
|
|
665
731
|
};
|
|
666
732
|
next: {
|
|
733
|
+
createdAt: string;
|
|
667
734
|
id: string;
|
|
668
735
|
status: LeadAssignmentStatus;
|
|
669
|
-
agentId: string | null;
|
|
670
|
-
createdAt: string;
|
|
671
736
|
updatedAt: string;
|
|
737
|
+
agentId: string | null;
|
|
672
738
|
leadId: string;
|
|
673
739
|
assignedAt: string;
|
|
674
740
|
assignedBy: string | null;
|
|
675
741
|
companyId: string | null;
|
|
676
|
-
lead?: {
|
|
677
|
-
name: string;
|
|
678
|
-
phoneNumber: string;
|
|
679
|
-
} | undefined;
|
|
680
742
|
agent?: {
|
|
743
|
+
lastName: string;
|
|
744
|
+
firstName: string;
|
|
681
745
|
email: string;
|
|
682
|
-
id: string;
|
|
683
746
|
createdAt: string;
|
|
684
|
-
|
|
685
|
-
firstName: string;
|
|
686
|
-
lastName: string;
|
|
747
|
+
id: string;
|
|
687
748
|
phoneNumbers: {
|
|
688
749
|
id: string;
|
|
689
750
|
phoneNumber: string;
|
|
690
751
|
isPrimary: boolean;
|
|
691
752
|
description?: string | null | undefined;
|
|
692
753
|
}[];
|
|
754
|
+
updatedAt: string;
|
|
755
|
+
office?: {
|
|
756
|
+
id: string;
|
|
757
|
+
name: string;
|
|
758
|
+
} | null | undefined;
|
|
693
759
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
694
|
-
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;
|
|
695
760
|
canImpersonateUsers?: {
|
|
696
|
-
id: string;
|
|
697
|
-
firstName: string;
|
|
698
761
|
lastName: string;
|
|
762
|
+
firstName: string;
|
|
763
|
+
id: string;
|
|
699
764
|
}[] | undefined;
|
|
700
765
|
} | undefined;
|
|
701
|
-
|
|
766
|
+
lead?: {
|
|
767
|
+
phoneNumber: string;
|
|
702
768
|
name: string;
|
|
703
|
-
|
|
769
|
+
} | undefined;
|
|
770
|
+
company?: {
|
|
704
771
|
createdAt: string;
|
|
772
|
+
id: string;
|
|
773
|
+
name: string;
|
|
705
774
|
updatedAt: string;
|
|
706
775
|
} | null | undefined;
|
|
707
776
|
} | null;
|
|
708
777
|
}, {
|
|
709
778
|
completed: {
|
|
779
|
+
createdAt: string | Date;
|
|
710
780
|
id: string;
|
|
711
781
|
status: LeadAssignmentStatus;
|
|
712
|
-
agentId: string | null;
|
|
713
|
-
createdAt: string | Date;
|
|
714
782
|
updatedAt: string | Date;
|
|
783
|
+
agentId: string | null;
|
|
715
784
|
leadId: string;
|
|
716
785
|
assignedAt: string | Date;
|
|
717
786
|
assignedBy: string | null;
|
|
718
787
|
companyId: string | null;
|
|
719
|
-
lead?: {
|
|
720
|
-
name: string;
|
|
721
|
-
phoneNumber: string;
|
|
722
|
-
} | undefined;
|
|
723
788
|
agent?: {
|
|
789
|
+
lastName: string;
|
|
790
|
+
firstName: string;
|
|
724
791
|
email: string;
|
|
725
|
-
id: string;
|
|
726
792
|
createdAt: string | Date;
|
|
793
|
+
id: string;
|
|
727
794
|
updatedAt: string | Date;
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
795
|
+
office?: {
|
|
796
|
+
id: string;
|
|
797
|
+
name: string;
|
|
798
|
+
} | null | undefined;
|
|
731
799
|
phoneNumbers?: {
|
|
732
800
|
id: string;
|
|
733
801
|
phoneNumber: string;
|
|
734
802
|
description?: string | null | undefined;
|
|
735
803
|
isPrimary?: boolean | undefined;
|
|
736
804
|
}[] | undefined;
|
|
737
|
-
|
|
805
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
738
806
|
canImpersonateUsers?: {
|
|
739
|
-
id: string;
|
|
740
|
-
firstName: string;
|
|
741
807
|
lastName: string;
|
|
808
|
+
firstName: string;
|
|
809
|
+
id: string;
|
|
742
810
|
}[] | undefined;
|
|
743
811
|
} | undefined;
|
|
744
|
-
|
|
812
|
+
lead?: {
|
|
813
|
+
phoneNumber: string;
|
|
745
814
|
name: string;
|
|
746
|
-
|
|
815
|
+
} | undefined;
|
|
816
|
+
company?: {
|
|
747
817
|
createdAt: string | Date;
|
|
818
|
+
id: string;
|
|
819
|
+
name: string;
|
|
748
820
|
updatedAt: string | Date;
|
|
749
821
|
} | null | undefined;
|
|
750
822
|
};
|
|
751
823
|
next: {
|
|
824
|
+
createdAt: string | Date;
|
|
752
825
|
id: string;
|
|
753
826
|
status: LeadAssignmentStatus;
|
|
754
|
-
agentId: string | null;
|
|
755
|
-
createdAt: string | Date;
|
|
756
827
|
updatedAt: string | Date;
|
|
828
|
+
agentId: string | null;
|
|
757
829
|
leadId: string;
|
|
758
830
|
assignedAt: string | Date;
|
|
759
831
|
assignedBy: string | null;
|
|
760
832
|
companyId: string | null;
|
|
761
|
-
lead?: {
|
|
762
|
-
name: string;
|
|
763
|
-
phoneNumber: string;
|
|
764
|
-
} | undefined;
|
|
765
833
|
agent?: {
|
|
834
|
+
lastName: string;
|
|
835
|
+
firstName: string;
|
|
766
836
|
email: string;
|
|
767
|
-
id: string;
|
|
768
837
|
createdAt: string | Date;
|
|
838
|
+
id: string;
|
|
769
839
|
updatedAt: string | Date;
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
840
|
+
office?: {
|
|
841
|
+
id: string;
|
|
842
|
+
name: string;
|
|
843
|
+
} | null | undefined;
|
|
773
844
|
phoneNumbers?: {
|
|
774
845
|
id: string;
|
|
775
846
|
phoneNumber: string;
|
|
776
847
|
description?: string | null | undefined;
|
|
777
848
|
isPrimary?: boolean | undefined;
|
|
778
849
|
}[] | undefined;
|
|
779
|
-
|
|
850
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
780
851
|
canImpersonateUsers?: {
|
|
781
|
-
id: string;
|
|
782
|
-
firstName: string;
|
|
783
852
|
lastName: string;
|
|
853
|
+
firstName: string;
|
|
854
|
+
id: string;
|
|
784
855
|
}[] | undefined;
|
|
785
856
|
} | undefined;
|
|
786
|
-
|
|
857
|
+
lead?: {
|
|
858
|
+
phoneNumber: string;
|
|
787
859
|
name: string;
|
|
788
|
-
|
|
860
|
+
} | undefined;
|
|
861
|
+
company?: {
|
|
789
862
|
createdAt: string | Date;
|
|
863
|
+
id: string;
|
|
864
|
+
name: string;
|
|
790
865
|
updatedAt: string | Date;
|
|
791
866
|
} | null | undefined;
|
|
792
867
|
} | null;
|
|
@@ -966,11 +1041,11 @@ export declare const leadAssignmentsContract: {
|
|
|
966
1041
|
name: z.ZodString;
|
|
967
1042
|
phoneNumber: z.ZodString;
|
|
968
1043
|
}, "strip", z.ZodTypeAny, {
|
|
969
|
-
name: string;
|
|
970
1044
|
phoneNumber: string;
|
|
971
|
-
}, {
|
|
972
1045
|
name: string;
|
|
1046
|
+
}, {
|
|
973
1047
|
phoneNumber: string;
|
|
1048
|
+
name: string;
|
|
974
1049
|
}>>;
|
|
975
1050
|
agentId: z.ZodNullable<z.ZodString>;
|
|
976
1051
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -995,61 +1070,76 @@ export declare const leadAssignmentsContract: {
|
|
|
995
1070
|
isPrimary?: boolean | undefined;
|
|
996
1071
|
}>, "many">>>;
|
|
997
1072
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
|
|
998
|
-
office: z.ZodOptional<z.ZodNullable<z.
|
|
1073
|
+
office: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1074
|
+
id: z.ZodString;
|
|
1075
|
+
name: z.ZodString;
|
|
1076
|
+
}, "strip", z.ZodTypeAny, {
|
|
1077
|
+
id: string;
|
|
1078
|
+
name: string;
|
|
1079
|
+
}, {
|
|
1080
|
+
id: string;
|
|
1081
|
+
name: string;
|
|
1082
|
+
}>>>;
|
|
999
1083
|
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1000
1084
|
id: z.ZodString;
|
|
1001
1085
|
firstName: z.ZodString;
|
|
1002
1086
|
lastName: z.ZodString;
|
|
1003
1087
|
}, "strip", z.ZodTypeAny, {
|
|
1004
|
-
id: string;
|
|
1005
|
-
firstName: string;
|
|
1006
1088
|
lastName: string;
|
|
1007
|
-
}, {
|
|
1008
|
-
id: string;
|
|
1009
1089
|
firstName: string;
|
|
1090
|
+
id: string;
|
|
1091
|
+
}, {
|
|
1010
1092
|
lastName: string;
|
|
1093
|
+
firstName: string;
|
|
1094
|
+
id: string;
|
|
1011
1095
|
}>, "many">>;
|
|
1012
1096
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1013
1097
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1014
1098
|
}, "strip", z.ZodTypeAny, {
|
|
1099
|
+
lastName: string;
|
|
1100
|
+
firstName: string;
|
|
1015
1101
|
email: string;
|
|
1016
|
-
id: string;
|
|
1017
1102
|
createdAt: string;
|
|
1018
|
-
|
|
1019
|
-
firstName: string;
|
|
1020
|
-
lastName: string;
|
|
1103
|
+
id: string;
|
|
1021
1104
|
phoneNumbers: {
|
|
1022
1105
|
id: string;
|
|
1023
1106
|
phoneNumber: string;
|
|
1024
1107
|
isPrimary: boolean;
|
|
1025
1108
|
description?: string | null | undefined;
|
|
1026
1109
|
}[];
|
|
1110
|
+
updatedAt: string;
|
|
1111
|
+
office?: {
|
|
1112
|
+
id: string;
|
|
1113
|
+
name: string;
|
|
1114
|
+
} | null | undefined;
|
|
1027
1115
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1028
|
-
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;
|
|
1029
1116
|
canImpersonateUsers?: {
|
|
1030
|
-
id: string;
|
|
1031
|
-
firstName: string;
|
|
1032
1117
|
lastName: string;
|
|
1118
|
+
firstName: string;
|
|
1119
|
+
id: string;
|
|
1033
1120
|
}[] | undefined;
|
|
1034
1121
|
}, {
|
|
1122
|
+
lastName: string;
|
|
1123
|
+
firstName: string;
|
|
1035
1124
|
email: string;
|
|
1036
|
-
id: string;
|
|
1037
1125
|
createdAt: string | Date;
|
|
1126
|
+
id: string;
|
|
1038
1127
|
updatedAt: string | Date;
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1128
|
+
office?: {
|
|
1129
|
+
id: string;
|
|
1130
|
+
name: string;
|
|
1131
|
+
} | null | undefined;
|
|
1042
1132
|
phoneNumbers?: {
|
|
1043
1133
|
id: string;
|
|
1044
1134
|
phoneNumber: string;
|
|
1045
1135
|
description?: string | null | undefined;
|
|
1046
1136
|
isPrimary?: boolean | undefined;
|
|
1047
1137
|
}[] | undefined;
|
|
1048
|
-
|
|
1138
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1049
1139
|
canImpersonateUsers?: {
|
|
1050
|
-
id: string;
|
|
1051
|
-
firstName: string;
|
|
1052
1140
|
lastName: string;
|
|
1141
|
+
firstName: string;
|
|
1142
|
+
id: string;
|
|
1053
1143
|
}[] | undefined;
|
|
1054
1144
|
}>>;
|
|
1055
1145
|
assignedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -1062,98 +1152,104 @@ export declare const leadAssignmentsContract: {
|
|
|
1062
1152
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1063
1153
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1064
1154
|
}, "strip", z.ZodTypeAny, {
|
|
1065
|
-
name: string;
|
|
1066
|
-
id: string;
|
|
1067
1155
|
createdAt: string;
|
|
1156
|
+
id: string;
|
|
1157
|
+
name: string;
|
|
1068
1158
|
updatedAt: string;
|
|
1069
1159
|
}, {
|
|
1070
|
-
name: string;
|
|
1071
|
-
id: string;
|
|
1072
1160
|
createdAt: string | Date;
|
|
1161
|
+
id: string;
|
|
1162
|
+
name: string;
|
|
1073
1163
|
updatedAt: string | Date;
|
|
1074
1164
|
}>>>;
|
|
1075
1165
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1076
1166
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1077
1167
|
}, "strip", z.ZodTypeAny, {
|
|
1168
|
+
createdAt: string;
|
|
1078
1169
|
id: string;
|
|
1079
1170
|
status: LeadAssignmentStatus;
|
|
1080
|
-
agentId: string | null;
|
|
1081
|
-
createdAt: string;
|
|
1082
1171
|
updatedAt: string;
|
|
1172
|
+
agentId: string | null;
|
|
1083
1173
|
leadId: string;
|
|
1084
1174
|
assignedAt: string;
|
|
1085
1175
|
assignedBy: string | null;
|
|
1086
1176
|
companyId: string | null;
|
|
1087
|
-
lead?: {
|
|
1088
|
-
name: string;
|
|
1089
|
-
phoneNumber: string;
|
|
1090
|
-
} | undefined;
|
|
1091
1177
|
agent?: {
|
|
1178
|
+
lastName: string;
|
|
1179
|
+
firstName: string;
|
|
1092
1180
|
email: string;
|
|
1093
|
-
id: string;
|
|
1094
1181
|
createdAt: string;
|
|
1095
|
-
|
|
1096
|
-
firstName: string;
|
|
1097
|
-
lastName: string;
|
|
1182
|
+
id: string;
|
|
1098
1183
|
phoneNumbers: {
|
|
1099
1184
|
id: string;
|
|
1100
1185
|
phoneNumber: string;
|
|
1101
1186
|
isPrimary: boolean;
|
|
1102
1187
|
description?: string | null | undefined;
|
|
1103
1188
|
}[];
|
|
1189
|
+
updatedAt: string;
|
|
1190
|
+
office?: {
|
|
1191
|
+
id: string;
|
|
1192
|
+
name: string;
|
|
1193
|
+
} | null | undefined;
|
|
1104
1194
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
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;
|
|
1106
1195
|
canImpersonateUsers?: {
|
|
1107
|
-
id: string;
|
|
1108
|
-
firstName: string;
|
|
1109
1196
|
lastName: string;
|
|
1197
|
+
firstName: string;
|
|
1198
|
+
id: string;
|
|
1110
1199
|
}[] | undefined;
|
|
1111
1200
|
} | undefined;
|
|
1112
|
-
|
|
1201
|
+
lead?: {
|
|
1202
|
+
phoneNumber: string;
|
|
1113
1203
|
name: string;
|
|
1114
|
-
|
|
1204
|
+
} | undefined;
|
|
1205
|
+
company?: {
|
|
1115
1206
|
createdAt: string;
|
|
1207
|
+
id: string;
|
|
1208
|
+
name: string;
|
|
1116
1209
|
updatedAt: string;
|
|
1117
1210
|
} | null | undefined;
|
|
1118
1211
|
}, {
|
|
1212
|
+
createdAt: string | Date;
|
|
1119
1213
|
id: string;
|
|
1120
1214
|
status: LeadAssignmentStatus;
|
|
1121
|
-
agentId: string | null;
|
|
1122
|
-
createdAt: string | Date;
|
|
1123
1215
|
updatedAt: string | Date;
|
|
1216
|
+
agentId: string | null;
|
|
1124
1217
|
leadId: string;
|
|
1125
1218
|
assignedAt: string | Date;
|
|
1126
1219
|
assignedBy: string | null;
|
|
1127
1220
|
companyId: string | null;
|
|
1128
|
-
lead?: {
|
|
1129
|
-
name: string;
|
|
1130
|
-
phoneNumber: string;
|
|
1131
|
-
} | undefined;
|
|
1132
1221
|
agent?: {
|
|
1222
|
+
lastName: string;
|
|
1223
|
+
firstName: string;
|
|
1133
1224
|
email: string;
|
|
1134
|
-
id: string;
|
|
1135
1225
|
createdAt: string | Date;
|
|
1226
|
+
id: string;
|
|
1136
1227
|
updatedAt: string | Date;
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1228
|
+
office?: {
|
|
1229
|
+
id: string;
|
|
1230
|
+
name: string;
|
|
1231
|
+
} | null | undefined;
|
|
1140
1232
|
phoneNumbers?: {
|
|
1141
1233
|
id: string;
|
|
1142
1234
|
phoneNumber: string;
|
|
1143
1235
|
description?: string | null | undefined;
|
|
1144
1236
|
isPrimary?: boolean | undefined;
|
|
1145
1237
|
}[] | undefined;
|
|
1146
|
-
|
|
1238
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1147
1239
|
canImpersonateUsers?: {
|
|
1148
|
-
id: string;
|
|
1149
|
-
firstName: string;
|
|
1150
1240
|
lastName: string;
|
|
1241
|
+
firstName: string;
|
|
1242
|
+
id: string;
|
|
1151
1243
|
}[] | undefined;
|
|
1152
1244
|
} | undefined;
|
|
1153
|
-
|
|
1245
|
+
lead?: {
|
|
1246
|
+
phoneNumber: string;
|
|
1154
1247
|
name: string;
|
|
1155
|
-
|
|
1248
|
+
} | undefined;
|
|
1249
|
+
company?: {
|
|
1156
1250
|
createdAt: string | Date;
|
|
1251
|
+
id: string;
|
|
1252
|
+
name: string;
|
|
1157
1253
|
updatedAt: string | Date;
|
|
1158
1254
|
} | null | undefined;
|
|
1159
1255
|
}>;
|
|
@@ -1164,11 +1260,11 @@ export declare const leadAssignmentsContract: {
|
|
|
1164
1260
|
name: z.ZodString;
|
|
1165
1261
|
phoneNumber: z.ZodString;
|
|
1166
1262
|
}, "strip", z.ZodTypeAny, {
|
|
1167
|
-
name: string;
|
|
1168
1263
|
phoneNumber: string;
|
|
1169
|
-
}, {
|
|
1170
1264
|
name: string;
|
|
1265
|
+
}, {
|
|
1171
1266
|
phoneNumber: string;
|
|
1267
|
+
name: string;
|
|
1172
1268
|
}>>;
|
|
1173
1269
|
agentId: z.ZodNullable<z.ZodString>;
|
|
1174
1270
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -1193,61 +1289,76 @@ export declare const leadAssignmentsContract: {
|
|
|
1193
1289
|
isPrimary?: boolean | undefined;
|
|
1194
1290
|
}>, "many">>>;
|
|
1195
1291
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
|
|
1196
|
-
office: z.ZodOptional<z.ZodNullable<z.
|
|
1292
|
+
office: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1293
|
+
id: z.ZodString;
|
|
1294
|
+
name: z.ZodString;
|
|
1295
|
+
}, "strip", z.ZodTypeAny, {
|
|
1296
|
+
id: string;
|
|
1297
|
+
name: string;
|
|
1298
|
+
}, {
|
|
1299
|
+
id: string;
|
|
1300
|
+
name: string;
|
|
1301
|
+
}>>>;
|
|
1197
1302
|
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1198
1303
|
id: z.ZodString;
|
|
1199
1304
|
firstName: z.ZodString;
|
|
1200
1305
|
lastName: z.ZodString;
|
|
1201
1306
|
}, "strip", z.ZodTypeAny, {
|
|
1202
|
-
id: string;
|
|
1203
|
-
firstName: string;
|
|
1204
1307
|
lastName: string;
|
|
1205
|
-
}, {
|
|
1206
|
-
id: string;
|
|
1207
1308
|
firstName: string;
|
|
1309
|
+
id: string;
|
|
1310
|
+
}, {
|
|
1208
1311
|
lastName: string;
|
|
1312
|
+
firstName: string;
|
|
1313
|
+
id: string;
|
|
1209
1314
|
}>, "many">>;
|
|
1210
1315
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1211
1316
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1212
1317
|
}, "strip", z.ZodTypeAny, {
|
|
1318
|
+
lastName: string;
|
|
1319
|
+
firstName: string;
|
|
1213
1320
|
email: string;
|
|
1214
|
-
id: string;
|
|
1215
1321
|
createdAt: string;
|
|
1216
|
-
|
|
1217
|
-
firstName: string;
|
|
1218
|
-
lastName: string;
|
|
1322
|
+
id: string;
|
|
1219
1323
|
phoneNumbers: {
|
|
1220
1324
|
id: string;
|
|
1221
1325
|
phoneNumber: string;
|
|
1222
1326
|
isPrimary: boolean;
|
|
1223
1327
|
description?: string | null | undefined;
|
|
1224
1328
|
}[];
|
|
1329
|
+
updatedAt: string;
|
|
1330
|
+
office?: {
|
|
1331
|
+
id: string;
|
|
1332
|
+
name: string;
|
|
1333
|
+
} | null | undefined;
|
|
1225
1334
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1226
|
-
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;
|
|
1227
1335
|
canImpersonateUsers?: {
|
|
1228
|
-
id: string;
|
|
1229
|
-
firstName: string;
|
|
1230
1336
|
lastName: string;
|
|
1337
|
+
firstName: string;
|
|
1338
|
+
id: string;
|
|
1231
1339
|
}[] | undefined;
|
|
1232
1340
|
}, {
|
|
1341
|
+
lastName: string;
|
|
1342
|
+
firstName: string;
|
|
1233
1343
|
email: string;
|
|
1234
|
-
id: string;
|
|
1235
1344
|
createdAt: string | Date;
|
|
1345
|
+
id: string;
|
|
1236
1346
|
updatedAt: string | Date;
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1347
|
+
office?: {
|
|
1348
|
+
id: string;
|
|
1349
|
+
name: string;
|
|
1350
|
+
} | null | undefined;
|
|
1240
1351
|
phoneNumbers?: {
|
|
1241
1352
|
id: string;
|
|
1242
1353
|
phoneNumber: string;
|
|
1243
1354
|
description?: string | null | undefined;
|
|
1244
1355
|
isPrimary?: boolean | undefined;
|
|
1245
1356
|
}[] | undefined;
|
|
1246
|
-
|
|
1357
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1247
1358
|
canImpersonateUsers?: {
|
|
1248
|
-
id: string;
|
|
1249
|
-
firstName: string;
|
|
1250
1359
|
lastName: string;
|
|
1360
|
+
firstName: string;
|
|
1361
|
+
id: string;
|
|
1251
1362
|
}[] | undefined;
|
|
1252
1363
|
}>>;
|
|
1253
1364
|
assignedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -1260,268 +1371,286 @@ export declare const leadAssignmentsContract: {
|
|
|
1260
1371
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1261
1372
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1262
1373
|
}, "strip", z.ZodTypeAny, {
|
|
1263
|
-
name: string;
|
|
1264
|
-
id: string;
|
|
1265
1374
|
createdAt: string;
|
|
1375
|
+
id: string;
|
|
1376
|
+
name: string;
|
|
1266
1377
|
updatedAt: string;
|
|
1267
1378
|
}, {
|
|
1268
|
-
name: string;
|
|
1269
|
-
id: string;
|
|
1270
1379
|
createdAt: string | Date;
|
|
1380
|
+
id: string;
|
|
1381
|
+
name: string;
|
|
1271
1382
|
updatedAt: string | Date;
|
|
1272
1383
|
}>>>;
|
|
1273
1384
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1274
1385
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1275
1386
|
}, "strip", z.ZodTypeAny, {
|
|
1387
|
+
createdAt: string;
|
|
1276
1388
|
id: string;
|
|
1277
1389
|
status: LeadAssignmentStatus;
|
|
1278
|
-
agentId: string | null;
|
|
1279
|
-
createdAt: string;
|
|
1280
1390
|
updatedAt: string;
|
|
1391
|
+
agentId: string | null;
|
|
1281
1392
|
leadId: string;
|
|
1282
1393
|
assignedAt: string;
|
|
1283
1394
|
assignedBy: string | null;
|
|
1284
1395
|
companyId: string | null;
|
|
1285
|
-
lead?: {
|
|
1286
|
-
name: string;
|
|
1287
|
-
phoneNumber: string;
|
|
1288
|
-
} | undefined;
|
|
1289
1396
|
agent?: {
|
|
1397
|
+
lastName: string;
|
|
1398
|
+
firstName: string;
|
|
1290
1399
|
email: string;
|
|
1291
|
-
id: string;
|
|
1292
1400
|
createdAt: string;
|
|
1293
|
-
|
|
1294
|
-
firstName: string;
|
|
1295
|
-
lastName: string;
|
|
1401
|
+
id: string;
|
|
1296
1402
|
phoneNumbers: {
|
|
1297
1403
|
id: string;
|
|
1298
1404
|
phoneNumber: string;
|
|
1299
1405
|
isPrimary: boolean;
|
|
1300
1406
|
description?: string | null | undefined;
|
|
1301
1407
|
}[];
|
|
1408
|
+
updatedAt: string;
|
|
1409
|
+
office?: {
|
|
1410
|
+
id: string;
|
|
1411
|
+
name: string;
|
|
1412
|
+
} | null | undefined;
|
|
1302
1413
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1303
|
-
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;
|
|
1304
1414
|
canImpersonateUsers?: {
|
|
1305
|
-
id: string;
|
|
1306
|
-
firstName: string;
|
|
1307
1415
|
lastName: string;
|
|
1416
|
+
firstName: string;
|
|
1417
|
+
id: string;
|
|
1308
1418
|
}[] | undefined;
|
|
1309
1419
|
} | undefined;
|
|
1420
|
+
lead?: {
|
|
1421
|
+
phoneNumber: string;
|
|
1422
|
+
name: string;
|
|
1423
|
+
} | undefined;
|
|
1310
1424
|
company?: {
|
|
1311
|
-
name: string;
|
|
1312
|
-
id: string;
|
|
1313
1425
|
createdAt: string;
|
|
1426
|
+
id: string;
|
|
1427
|
+
name: string;
|
|
1314
1428
|
updatedAt: string;
|
|
1315
1429
|
} | null | undefined;
|
|
1316
1430
|
}, {
|
|
1431
|
+
createdAt: string | Date;
|
|
1317
1432
|
id: string;
|
|
1318
1433
|
status: LeadAssignmentStatus;
|
|
1319
|
-
agentId: string | null;
|
|
1320
|
-
createdAt: string | Date;
|
|
1321
1434
|
updatedAt: string | Date;
|
|
1435
|
+
agentId: string | null;
|
|
1322
1436
|
leadId: string;
|
|
1323
1437
|
assignedAt: string | Date;
|
|
1324
1438
|
assignedBy: string | null;
|
|
1325
1439
|
companyId: string | null;
|
|
1326
|
-
lead?: {
|
|
1327
|
-
name: string;
|
|
1328
|
-
phoneNumber: string;
|
|
1329
|
-
} | undefined;
|
|
1330
1440
|
agent?: {
|
|
1441
|
+
lastName: string;
|
|
1442
|
+
firstName: string;
|
|
1331
1443
|
email: string;
|
|
1332
|
-
id: string;
|
|
1333
1444
|
createdAt: string | Date;
|
|
1445
|
+
id: string;
|
|
1334
1446
|
updatedAt: string | Date;
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1447
|
+
office?: {
|
|
1448
|
+
id: string;
|
|
1449
|
+
name: string;
|
|
1450
|
+
} | null | undefined;
|
|
1338
1451
|
phoneNumbers?: {
|
|
1339
1452
|
id: string;
|
|
1340
1453
|
phoneNumber: string;
|
|
1341
1454
|
description?: string | null | undefined;
|
|
1342
1455
|
isPrimary?: boolean | undefined;
|
|
1343
1456
|
}[] | undefined;
|
|
1344
|
-
|
|
1457
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1345
1458
|
canImpersonateUsers?: {
|
|
1346
|
-
id: string;
|
|
1347
|
-
firstName: string;
|
|
1348
1459
|
lastName: string;
|
|
1460
|
+
firstName: string;
|
|
1461
|
+
id: string;
|
|
1349
1462
|
}[] | undefined;
|
|
1350
1463
|
} | undefined;
|
|
1351
|
-
|
|
1464
|
+
lead?: {
|
|
1465
|
+
phoneNumber: string;
|
|
1352
1466
|
name: string;
|
|
1353
|
-
|
|
1467
|
+
} | undefined;
|
|
1468
|
+
company?: {
|
|
1354
1469
|
createdAt: string | Date;
|
|
1470
|
+
id: string;
|
|
1471
|
+
name: string;
|
|
1355
1472
|
updatedAt: string | Date;
|
|
1356
1473
|
} | null | undefined;
|
|
1357
1474
|
}>>;
|
|
1358
1475
|
}, "strip", z.ZodTypeAny, {
|
|
1359
1476
|
completed: {
|
|
1477
|
+
createdAt: string;
|
|
1360
1478
|
id: string;
|
|
1361
1479
|
status: LeadAssignmentStatus;
|
|
1362
|
-
agentId: string | null;
|
|
1363
|
-
createdAt: string;
|
|
1364
1480
|
updatedAt: string;
|
|
1481
|
+
agentId: string | null;
|
|
1365
1482
|
leadId: string;
|
|
1366
1483
|
assignedAt: string;
|
|
1367
1484
|
assignedBy: string | null;
|
|
1368
1485
|
companyId: string | null;
|
|
1369
|
-
lead?: {
|
|
1370
|
-
name: string;
|
|
1371
|
-
phoneNumber: string;
|
|
1372
|
-
} | undefined;
|
|
1373
1486
|
agent?: {
|
|
1487
|
+
lastName: string;
|
|
1488
|
+
firstName: string;
|
|
1374
1489
|
email: string;
|
|
1375
|
-
id: string;
|
|
1376
1490
|
createdAt: string;
|
|
1377
|
-
|
|
1378
|
-
firstName: string;
|
|
1379
|
-
lastName: string;
|
|
1491
|
+
id: string;
|
|
1380
1492
|
phoneNumbers: {
|
|
1381
1493
|
id: string;
|
|
1382
1494
|
phoneNumber: string;
|
|
1383
1495
|
isPrimary: boolean;
|
|
1384
1496
|
description?: string | null | undefined;
|
|
1385
1497
|
}[];
|
|
1498
|
+
updatedAt: string;
|
|
1499
|
+
office?: {
|
|
1500
|
+
id: string;
|
|
1501
|
+
name: string;
|
|
1502
|
+
} | null | undefined;
|
|
1386
1503
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1387
|
-
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;
|
|
1388
1504
|
canImpersonateUsers?: {
|
|
1389
|
-
id: string;
|
|
1390
|
-
firstName: string;
|
|
1391
1505
|
lastName: string;
|
|
1506
|
+
firstName: string;
|
|
1507
|
+
id: string;
|
|
1392
1508
|
}[] | undefined;
|
|
1393
1509
|
} | undefined;
|
|
1394
|
-
|
|
1510
|
+
lead?: {
|
|
1511
|
+
phoneNumber: string;
|
|
1395
1512
|
name: string;
|
|
1396
|
-
|
|
1513
|
+
} | undefined;
|
|
1514
|
+
company?: {
|
|
1397
1515
|
createdAt: string;
|
|
1516
|
+
id: string;
|
|
1517
|
+
name: string;
|
|
1398
1518
|
updatedAt: string;
|
|
1399
1519
|
} | null | undefined;
|
|
1400
1520
|
};
|
|
1401
1521
|
next: {
|
|
1522
|
+
createdAt: string;
|
|
1402
1523
|
id: string;
|
|
1403
1524
|
status: LeadAssignmentStatus;
|
|
1404
|
-
agentId: string | null;
|
|
1405
|
-
createdAt: string;
|
|
1406
1525
|
updatedAt: string;
|
|
1526
|
+
agentId: string | null;
|
|
1407
1527
|
leadId: string;
|
|
1408
1528
|
assignedAt: string;
|
|
1409
1529
|
assignedBy: string | null;
|
|
1410
1530
|
companyId: string | null;
|
|
1411
|
-
lead?: {
|
|
1412
|
-
name: string;
|
|
1413
|
-
phoneNumber: string;
|
|
1414
|
-
} | undefined;
|
|
1415
1531
|
agent?: {
|
|
1532
|
+
lastName: string;
|
|
1533
|
+
firstName: string;
|
|
1416
1534
|
email: string;
|
|
1417
|
-
id: string;
|
|
1418
1535
|
createdAt: string;
|
|
1419
|
-
|
|
1420
|
-
firstName: string;
|
|
1421
|
-
lastName: string;
|
|
1536
|
+
id: string;
|
|
1422
1537
|
phoneNumbers: {
|
|
1423
1538
|
id: string;
|
|
1424
1539
|
phoneNumber: string;
|
|
1425
1540
|
isPrimary: boolean;
|
|
1426
1541
|
description?: string | null | undefined;
|
|
1427
1542
|
}[];
|
|
1543
|
+
updatedAt: string;
|
|
1544
|
+
office?: {
|
|
1545
|
+
id: string;
|
|
1546
|
+
name: string;
|
|
1547
|
+
} | null | undefined;
|
|
1428
1548
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1429
|
-
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;
|
|
1430
1549
|
canImpersonateUsers?: {
|
|
1431
|
-
id: string;
|
|
1432
|
-
firstName: string;
|
|
1433
1550
|
lastName: string;
|
|
1551
|
+
firstName: string;
|
|
1552
|
+
id: string;
|
|
1434
1553
|
}[] | undefined;
|
|
1435
1554
|
} | undefined;
|
|
1436
|
-
|
|
1555
|
+
lead?: {
|
|
1556
|
+
phoneNumber: string;
|
|
1437
1557
|
name: string;
|
|
1438
|
-
|
|
1558
|
+
} | undefined;
|
|
1559
|
+
company?: {
|
|
1439
1560
|
createdAt: string;
|
|
1561
|
+
id: string;
|
|
1562
|
+
name: string;
|
|
1440
1563
|
updatedAt: string;
|
|
1441
1564
|
} | null | undefined;
|
|
1442
1565
|
} | null;
|
|
1443
1566
|
}, {
|
|
1444
1567
|
completed: {
|
|
1568
|
+
createdAt: string | Date;
|
|
1445
1569
|
id: string;
|
|
1446
1570
|
status: LeadAssignmentStatus;
|
|
1447
|
-
agentId: string | null;
|
|
1448
|
-
createdAt: string | Date;
|
|
1449
1571
|
updatedAt: string | Date;
|
|
1572
|
+
agentId: string | null;
|
|
1450
1573
|
leadId: string;
|
|
1451
1574
|
assignedAt: string | Date;
|
|
1452
1575
|
assignedBy: string | null;
|
|
1453
1576
|
companyId: string | null;
|
|
1454
|
-
lead?: {
|
|
1455
|
-
name: string;
|
|
1456
|
-
phoneNumber: string;
|
|
1457
|
-
} | undefined;
|
|
1458
1577
|
agent?: {
|
|
1578
|
+
lastName: string;
|
|
1579
|
+
firstName: string;
|
|
1459
1580
|
email: string;
|
|
1460
|
-
id: string;
|
|
1461
1581
|
createdAt: string | Date;
|
|
1582
|
+
id: string;
|
|
1462
1583
|
updatedAt: string | Date;
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1584
|
+
office?: {
|
|
1585
|
+
id: string;
|
|
1586
|
+
name: string;
|
|
1587
|
+
} | null | undefined;
|
|
1466
1588
|
phoneNumbers?: {
|
|
1467
1589
|
id: string;
|
|
1468
1590
|
phoneNumber: string;
|
|
1469
1591
|
description?: string | null | undefined;
|
|
1470
1592
|
isPrimary?: boolean | undefined;
|
|
1471
1593
|
}[] | undefined;
|
|
1472
|
-
|
|
1594
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1473
1595
|
canImpersonateUsers?: {
|
|
1474
|
-
id: string;
|
|
1475
|
-
firstName: string;
|
|
1476
1596
|
lastName: string;
|
|
1597
|
+
firstName: string;
|
|
1598
|
+
id: string;
|
|
1477
1599
|
}[] | undefined;
|
|
1478
1600
|
} | undefined;
|
|
1479
|
-
|
|
1601
|
+
lead?: {
|
|
1602
|
+
phoneNumber: string;
|
|
1480
1603
|
name: string;
|
|
1481
|
-
|
|
1604
|
+
} | undefined;
|
|
1605
|
+
company?: {
|
|
1482
1606
|
createdAt: string | Date;
|
|
1607
|
+
id: string;
|
|
1608
|
+
name: string;
|
|
1483
1609
|
updatedAt: string | Date;
|
|
1484
1610
|
} | null | undefined;
|
|
1485
1611
|
};
|
|
1486
1612
|
next: {
|
|
1613
|
+
createdAt: string | Date;
|
|
1487
1614
|
id: string;
|
|
1488
1615
|
status: LeadAssignmentStatus;
|
|
1489
|
-
agentId: string | null;
|
|
1490
|
-
createdAt: string | Date;
|
|
1491
1616
|
updatedAt: string | Date;
|
|
1617
|
+
agentId: string | null;
|
|
1492
1618
|
leadId: string;
|
|
1493
1619
|
assignedAt: string | Date;
|
|
1494
1620
|
assignedBy: string | null;
|
|
1495
1621
|
companyId: string | null;
|
|
1496
|
-
lead?: {
|
|
1497
|
-
name: string;
|
|
1498
|
-
phoneNumber: string;
|
|
1499
|
-
} | undefined;
|
|
1500
1622
|
agent?: {
|
|
1623
|
+
lastName: string;
|
|
1624
|
+
firstName: string;
|
|
1501
1625
|
email: string;
|
|
1502
|
-
id: string;
|
|
1503
1626
|
createdAt: string | Date;
|
|
1627
|
+
id: string;
|
|
1504
1628
|
updatedAt: string | Date;
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1629
|
+
office?: {
|
|
1630
|
+
id: string;
|
|
1631
|
+
name: string;
|
|
1632
|
+
} | null | undefined;
|
|
1508
1633
|
phoneNumbers?: {
|
|
1509
1634
|
id: string;
|
|
1510
1635
|
phoneNumber: string;
|
|
1511
1636
|
description?: string | null | undefined;
|
|
1512
1637
|
isPrimary?: boolean | undefined;
|
|
1513
1638
|
}[] | undefined;
|
|
1514
|
-
|
|
1639
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1515
1640
|
canImpersonateUsers?: {
|
|
1516
|
-
id: string;
|
|
1517
|
-
firstName: string;
|
|
1518
1641
|
lastName: string;
|
|
1642
|
+
firstName: string;
|
|
1643
|
+
id: string;
|
|
1519
1644
|
}[] | undefined;
|
|
1520
1645
|
} | undefined;
|
|
1521
|
-
|
|
1646
|
+
lead?: {
|
|
1647
|
+
phoneNumber: string;
|
|
1522
1648
|
name: string;
|
|
1523
|
-
|
|
1649
|
+
} | undefined;
|
|
1650
|
+
company?: {
|
|
1524
1651
|
createdAt: string | Date;
|
|
1652
|
+
id: string;
|
|
1653
|
+
name: string;
|
|
1525
1654
|
updatedAt: string | Date;
|
|
1526
1655
|
} | null | undefined;
|
|
1527
1656
|
} | null;
|
|
@@ -1668,11 +1797,11 @@ export declare const leadAssignmentsContract: {
|
|
|
1668
1797
|
name: z.ZodString;
|
|
1669
1798
|
phoneNumber: z.ZodString;
|
|
1670
1799
|
}, "strip", z.ZodTypeAny, {
|
|
1671
|
-
name: string;
|
|
1672
1800
|
phoneNumber: string;
|
|
1673
|
-
}, {
|
|
1674
1801
|
name: string;
|
|
1802
|
+
}, {
|
|
1675
1803
|
phoneNumber: string;
|
|
1804
|
+
name: string;
|
|
1676
1805
|
}>>;
|
|
1677
1806
|
agentId: z.ZodNullable<z.ZodString>;
|
|
1678
1807
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -1697,61 +1826,76 @@ export declare const leadAssignmentsContract: {
|
|
|
1697
1826
|
isPrimary?: boolean | undefined;
|
|
1698
1827
|
}>, "many">>>;
|
|
1699
1828
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
|
|
1700
|
-
office: z.ZodOptional<z.ZodNullable<z.
|
|
1829
|
+
office: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1830
|
+
id: z.ZodString;
|
|
1831
|
+
name: z.ZodString;
|
|
1832
|
+
}, "strip", z.ZodTypeAny, {
|
|
1833
|
+
id: string;
|
|
1834
|
+
name: string;
|
|
1835
|
+
}, {
|
|
1836
|
+
id: string;
|
|
1837
|
+
name: string;
|
|
1838
|
+
}>>>;
|
|
1701
1839
|
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1702
1840
|
id: z.ZodString;
|
|
1703
1841
|
firstName: z.ZodString;
|
|
1704
1842
|
lastName: z.ZodString;
|
|
1705
1843
|
}, "strip", z.ZodTypeAny, {
|
|
1706
|
-
id: string;
|
|
1707
|
-
firstName: string;
|
|
1708
1844
|
lastName: string;
|
|
1709
|
-
}, {
|
|
1710
|
-
id: string;
|
|
1711
1845
|
firstName: string;
|
|
1846
|
+
id: string;
|
|
1847
|
+
}, {
|
|
1712
1848
|
lastName: string;
|
|
1849
|
+
firstName: string;
|
|
1850
|
+
id: string;
|
|
1713
1851
|
}>, "many">>;
|
|
1714
1852
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1715
1853
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1716
1854
|
}, "strip", z.ZodTypeAny, {
|
|
1855
|
+
lastName: string;
|
|
1856
|
+
firstName: string;
|
|
1717
1857
|
email: string;
|
|
1718
|
-
id: string;
|
|
1719
1858
|
createdAt: string;
|
|
1720
|
-
|
|
1721
|
-
firstName: string;
|
|
1722
|
-
lastName: string;
|
|
1859
|
+
id: string;
|
|
1723
1860
|
phoneNumbers: {
|
|
1724
1861
|
id: string;
|
|
1725
1862
|
phoneNumber: string;
|
|
1726
1863
|
isPrimary: boolean;
|
|
1727
1864
|
description?: string | null | undefined;
|
|
1728
1865
|
}[];
|
|
1866
|
+
updatedAt: string;
|
|
1867
|
+
office?: {
|
|
1868
|
+
id: string;
|
|
1869
|
+
name: string;
|
|
1870
|
+
} | null | undefined;
|
|
1729
1871
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1730
|
-
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;
|
|
1731
1872
|
canImpersonateUsers?: {
|
|
1732
|
-
id: string;
|
|
1733
|
-
firstName: string;
|
|
1734
1873
|
lastName: string;
|
|
1874
|
+
firstName: string;
|
|
1875
|
+
id: string;
|
|
1735
1876
|
}[] | undefined;
|
|
1736
1877
|
}, {
|
|
1878
|
+
lastName: string;
|
|
1879
|
+
firstName: string;
|
|
1737
1880
|
email: string;
|
|
1738
|
-
id: string;
|
|
1739
1881
|
createdAt: string | Date;
|
|
1882
|
+
id: string;
|
|
1740
1883
|
updatedAt: string | Date;
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1884
|
+
office?: {
|
|
1885
|
+
id: string;
|
|
1886
|
+
name: string;
|
|
1887
|
+
} | null | undefined;
|
|
1744
1888
|
phoneNumbers?: {
|
|
1745
1889
|
id: string;
|
|
1746
1890
|
phoneNumber: string;
|
|
1747
1891
|
description?: string | null | undefined;
|
|
1748
1892
|
isPrimary?: boolean | undefined;
|
|
1749
1893
|
}[] | undefined;
|
|
1750
|
-
|
|
1894
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1751
1895
|
canImpersonateUsers?: {
|
|
1752
|
-
id: string;
|
|
1753
|
-
firstName: string;
|
|
1754
1896
|
lastName: string;
|
|
1897
|
+
firstName: string;
|
|
1898
|
+
id: string;
|
|
1755
1899
|
}[] | undefined;
|
|
1756
1900
|
}>>;
|
|
1757
1901
|
assignedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -1764,98 +1908,104 @@ export declare const leadAssignmentsContract: {
|
|
|
1764
1908
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1765
1909
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1766
1910
|
}, "strip", z.ZodTypeAny, {
|
|
1767
|
-
name: string;
|
|
1768
|
-
id: string;
|
|
1769
1911
|
createdAt: string;
|
|
1912
|
+
id: string;
|
|
1913
|
+
name: string;
|
|
1770
1914
|
updatedAt: string;
|
|
1771
1915
|
}, {
|
|
1772
|
-
name: string;
|
|
1773
|
-
id: string;
|
|
1774
1916
|
createdAt: string | Date;
|
|
1917
|
+
id: string;
|
|
1918
|
+
name: string;
|
|
1775
1919
|
updatedAt: string | Date;
|
|
1776
1920
|
}>>>;
|
|
1777
1921
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1778
1922
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1779
1923
|
}, "strip", z.ZodTypeAny, {
|
|
1924
|
+
createdAt: string;
|
|
1780
1925
|
id: string;
|
|
1781
1926
|
status: LeadAssignmentStatus;
|
|
1782
|
-
agentId: string | null;
|
|
1783
|
-
createdAt: string;
|
|
1784
1927
|
updatedAt: string;
|
|
1928
|
+
agentId: string | null;
|
|
1785
1929
|
leadId: string;
|
|
1786
1930
|
assignedAt: string;
|
|
1787
1931
|
assignedBy: string | null;
|
|
1788
1932
|
companyId: string | null;
|
|
1789
|
-
lead?: {
|
|
1790
|
-
name: string;
|
|
1791
|
-
phoneNumber: string;
|
|
1792
|
-
} | undefined;
|
|
1793
1933
|
agent?: {
|
|
1934
|
+
lastName: string;
|
|
1935
|
+
firstName: string;
|
|
1794
1936
|
email: string;
|
|
1795
|
-
id: string;
|
|
1796
1937
|
createdAt: string;
|
|
1797
|
-
|
|
1798
|
-
firstName: string;
|
|
1799
|
-
lastName: string;
|
|
1938
|
+
id: string;
|
|
1800
1939
|
phoneNumbers: {
|
|
1801
1940
|
id: string;
|
|
1802
1941
|
phoneNumber: string;
|
|
1803
1942
|
isPrimary: boolean;
|
|
1804
1943
|
description?: string | null | undefined;
|
|
1805
1944
|
}[];
|
|
1945
|
+
updatedAt: string;
|
|
1946
|
+
office?: {
|
|
1947
|
+
id: string;
|
|
1948
|
+
name: string;
|
|
1949
|
+
} | null | undefined;
|
|
1806
1950
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
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
1951
|
canImpersonateUsers?: {
|
|
1809
|
-
id: string;
|
|
1810
|
-
firstName: string;
|
|
1811
1952
|
lastName: string;
|
|
1953
|
+
firstName: string;
|
|
1954
|
+
id: string;
|
|
1812
1955
|
}[] | undefined;
|
|
1813
1956
|
} | undefined;
|
|
1814
|
-
|
|
1957
|
+
lead?: {
|
|
1958
|
+
phoneNumber: string;
|
|
1815
1959
|
name: string;
|
|
1816
|
-
|
|
1960
|
+
} | undefined;
|
|
1961
|
+
company?: {
|
|
1817
1962
|
createdAt: string;
|
|
1963
|
+
id: string;
|
|
1964
|
+
name: string;
|
|
1818
1965
|
updatedAt: string;
|
|
1819
1966
|
} | null | undefined;
|
|
1820
1967
|
}, {
|
|
1968
|
+
createdAt: string | Date;
|
|
1821
1969
|
id: string;
|
|
1822
1970
|
status: LeadAssignmentStatus;
|
|
1823
|
-
agentId: string | null;
|
|
1824
|
-
createdAt: string | Date;
|
|
1825
1971
|
updatedAt: string | Date;
|
|
1972
|
+
agentId: string | null;
|
|
1826
1973
|
leadId: string;
|
|
1827
1974
|
assignedAt: string | Date;
|
|
1828
1975
|
assignedBy: string | null;
|
|
1829
1976
|
companyId: string | null;
|
|
1830
|
-
lead?: {
|
|
1831
|
-
name: string;
|
|
1832
|
-
phoneNumber: string;
|
|
1833
|
-
} | undefined;
|
|
1834
1977
|
agent?: {
|
|
1978
|
+
lastName: string;
|
|
1979
|
+
firstName: string;
|
|
1835
1980
|
email: string;
|
|
1836
|
-
id: string;
|
|
1837
1981
|
createdAt: string | Date;
|
|
1982
|
+
id: string;
|
|
1838
1983
|
updatedAt: string | Date;
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1984
|
+
office?: {
|
|
1985
|
+
id: string;
|
|
1986
|
+
name: string;
|
|
1987
|
+
} | null | undefined;
|
|
1842
1988
|
phoneNumbers?: {
|
|
1843
1989
|
id: string;
|
|
1844
1990
|
phoneNumber: string;
|
|
1845
1991
|
description?: string | null | undefined;
|
|
1846
1992
|
isPrimary?: boolean | undefined;
|
|
1847
1993
|
}[] | undefined;
|
|
1848
|
-
|
|
1994
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1849
1995
|
canImpersonateUsers?: {
|
|
1850
|
-
id: string;
|
|
1851
|
-
firstName: string;
|
|
1852
1996
|
lastName: string;
|
|
1997
|
+
firstName: string;
|
|
1998
|
+
id: string;
|
|
1853
1999
|
}[] | undefined;
|
|
1854
2000
|
} | undefined;
|
|
1855
|
-
|
|
2001
|
+
lead?: {
|
|
2002
|
+
phoneNumber: string;
|
|
1856
2003
|
name: string;
|
|
1857
|
-
|
|
2004
|
+
} | undefined;
|
|
2005
|
+
company?: {
|
|
1858
2006
|
createdAt: string | Date;
|
|
2007
|
+
id: string;
|
|
2008
|
+
name: string;
|
|
1859
2009
|
updatedAt: string | Date;
|
|
1860
2010
|
} | null | undefined;
|
|
1861
2011
|
}>>;
|
|
@@ -1984,11 +2134,11 @@ export declare const leadAssignmentsContract: {
|
|
|
1984
2134
|
name: z.ZodString;
|
|
1985
2135
|
phoneNumber: z.ZodString;
|
|
1986
2136
|
}, "strip", z.ZodTypeAny, {
|
|
1987
|
-
name: string;
|
|
1988
2137
|
phoneNumber: string;
|
|
1989
|
-
}, {
|
|
1990
2138
|
name: string;
|
|
2139
|
+
}, {
|
|
1991
2140
|
phoneNumber: string;
|
|
2141
|
+
name: string;
|
|
1992
2142
|
}>>;
|
|
1993
2143
|
agentId: z.ZodNullable<z.ZodString>;
|
|
1994
2144
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -2013,61 +2163,76 @@ export declare const leadAssignmentsContract: {
|
|
|
2013
2163
|
isPrimary?: boolean | undefined;
|
|
2014
2164
|
}>, "many">>>;
|
|
2015
2165
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
|
|
2016
|
-
office: z.ZodOptional<z.ZodNullable<z.
|
|
2166
|
+
office: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2167
|
+
id: z.ZodString;
|
|
2168
|
+
name: z.ZodString;
|
|
2169
|
+
}, "strip", z.ZodTypeAny, {
|
|
2170
|
+
id: string;
|
|
2171
|
+
name: string;
|
|
2172
|
+
}, {
|
|
2173
|
+
id: string;
|
|
2174
|
+
name: string;
|
|
2175
|
+
}>>>;
|
|
2017
2176
|
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2018
2177
|
id: z.ZodString;
|
|
2019
2178
|
firstName: z.ZodString;
|
|
2020
2179
|
lastName: z.ZodString;
|
|
2021
2180
|
}, "strip", z.ZodTypeAny, {
|
|
2022
|
-
id: string;
|
|
2023
|
-
firstName: string;
|
|
2024
2181
|
lastName: string;
|
|
2025
|
-
}, {
|
|
2026
|
-
id: string;
|
|
2027
2182
|
firstName: string;
|
|
2183
|
+
id: string;
|
|
2184
|
+
}, {
|
|
2028
2185
|
lastName: string;
|
|
2186
|
+
firstName: string;
|
|
2187
|
+
id: string;
|
|
2029
2188
|
}>, "many">>;
|
|
2030
2189
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2031
2190
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2032
2191
|
}, "strip", z.ZodTypeAny, {
|
|
2192
|
+
lastName: string;
|
|
2193
|
+
firstName: string;
|
|
2033
2194
|
email: string;
|
|
2034
|
-
id: string;
|
|
2035
2195
|
createdAt: string;
|
|
2036
|
-
|
|
2037
|
-
firstName: string;
|
|
2038
|
-
lastName: string;
|
|
2196
|
+
id: string;
|
|
2039
2197
|
phoneNumbers: {
|
|
2040
2198
|
id: string;
|
|
2041
2199
|
phoneNumber: string;
|
|
2042
2200
|
isPrimary: boolean;
|
|
2043
2201
|
description?: string | null | undefined;
|
|
2044
2202
|
}[];
|
|
2203
|
+
updatedAt: string;
|
|
2204
|
+
office?: {
|
|
2205
|
+
id: string;
|
|
2206
|
+
name: string;
|
|
2207
|
+
} | null | undefined;
|
|
2045
2208
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2046
|
-
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;
|
|
2047
2209
|
canImpersonateUsers?: {
|
|
2048
|
-
id: string;
|
|
2049
|
-
firstName: string;
|
|
2050
2210
|
lastName: string;
|
|
2211
|
+
firstName: string;
|
|
2212
|
+
id: string;
|
|
2051
2213
|
}[] | undefined;
|
|
2052
2214
|
}, {
|
|
2215
|
+
lastName: string;
|
|
2216
|
+
firstName: string;
|
|
2053
2217
|
email: string;
|
|
2054
|
-
id: string;
|
|
2055
2218
|
createdAt: string | Date;
|
|
2219
|
+
id: string;
|
|
2056
2220
|
updatedAt: string | Date;
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2221
|
+
office?: {
|
|
2222
|
+
id: string;
|
|
2223
|
+
name: string;
|
|
2224
|
+
} | null | undefined;
|
|
2060
2225
|
phoneNumbers?: {
|
|
2061
2226
|
id: string;
|
|
2062
2227
|
phoneNumber: string;
|
|
2063
2228
|
description?: string | null | undefined;
|
|
2064
2229
|
isPrimary?: boolean | undefined;
|
|
2065
2230
|
}[] | undefined;
|
|
2066
|
-
|
|
2231
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2067
2232
|
canImpersonateUsers?: {
|
|
2068
|
-
id: string;
|
|
2069
|
-
firstName: string;
|
|
2070
2233
|
lastName: string;
|
|
2234
|
+
firstName: string;
|
|
2235
|
+
id: string;
|
|
2071
2236
|
}[] | undefined;
|
|
2072
2237
|
}>>;
|
|
2073
2238
|
assignedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -2080,98 +2245,104 @@ export declare const leadAssignmentsContract: {
|
|
|
2080
2245
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2081
2246
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2082
2247
|
}, "strip", z.ZodTypeAny, {
|
|
2083
|
-
name: string;
|
|
2084
|
-
id: string;
|
|
2085
2248
|
createdAt: string;
|
|
2249
|
+
id: string;
|
|
2250
|
+
name: string;
|
|
2086
2251
|
updatedAt: string;
|
|
2087
2252
|
}, {
|
|
2088
|
-
name: string;
|
|
2089
|
-
id: string;
|
|
2090
2253
|
createdAt: string | Date;
|
|
2254
|
+
id: string;
|
|
2255
|
+
name: string;
|
|
2091
2256
|
updatedAt: string | Date;
|
|
2092
2257
|
}>>>;
|
|
2093
2258
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2094
2259
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2095
2260
|
}, "strip", z.ZodTypeAny, {
|
|
2261
|
+
createdAt: string;
|
|
2096
2262
|
id: string;
|
|
2097
2263
|
status: LeadAssignmentStatus;
|
|
2098
|
-
agentId: string | null;
|
|
2099
|
-
createdAt: string;
|
|
2100
2264
|
updatedAt: string;
|
|
2265
|
+
agentId: string | null;
|
|
2101
2266
|
leadId: string;
|
|
2102
2267
|
assignedAt: string;
|
|
2103
2268
|
assignedBy: string | null;
|
|
2104
2269
|
companyId: string | null;
|
|
2105
|
-
lead?: {
|
|
2106
|
-
name: string;
|
|
2107
|
-
phoneNumber: string;
|
|
2108
|
-
} | undefined;
|
|
2109
2270
|
agent?: {
|
|
2271
|
+
lastName: string;
|
|
2272
|
+
firstName: string;
|
|
2110
2273
|
email: string;
|
|
2111
|
-
id: string;
|
|
2112
2274
|
createdAt: string;
|
|
2113
|
-
|
|
2114
|
-
firstName: string;
|
|
2115
|
-
lastName: string;
|
|
2275
|
+
id: string;
|
|
2116
2276
|
phoneNumbers: {
|
|
2117
2277
|
id: string;
|
|
2118
2278
|
phoneNumber: string;
|
|
2119
2279
|
isPrimary: boolean;
|
|
2120
2280
|
description?: string | null | undefined;
|
|
2121
2281
|
}[];
|
|
2282
|
+
updatedAt: string;
|
|
2283
|
+
office?: {
|
|
2284
|
+
id: string;
|
|
2285
|
+
name: string;
|
|
2286
|
+
} | null | undefined;
|
|
2122
2287
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2123
|
-
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;
|
|
2124
2288
|
canImpersonateUsers?: {
|
|
2125
|
-
id: string;
|
|
2126
|
-
firstName: string;
|
|
2127
2289
|
lastName: string;
|
|
2290
|
+
firstName: string;
|
|
2291
|
+
id: string;
|
|
2128
2292
|
}[] | undefined;
|
|
2129
2293
|
} | undefined;
|
|
2130
|
-
|
|
2294
|
+
lead?: {
|
|
2295
|
+
phoneNumber: string;
|
|
2131
2296
|
name: string;
|
|
2132
|
-
|
|
2297
|
+
} | undefined;
|
|
2298
|
+
company?: {
|
|
2133
2299
|
createdAt: string;
|
|
2300
|
+
id: string;
|
|
2301
|
+
name: string;
|
|
2134
2302
|
updatedAt: string;
|
|
2135
2303
|
} | null | undefined;
|
|
2136
2304
|
}, {
|
|
2305
|
+
createdAt: string | Date;
|
|
2137
2306
|
id: string;
|
|
2138
2307
|
status: LeadAssignmentStatus;
|
|
2139
|
-
agentId: string | null;
|
|
2140
|
-
createdAt: string | Date;
|
|
2141
2308
|
updatedAt: string | Date;
|
|
2309
|
+
agentId: string | null;
|
|
2142
2310
|
leadId: string;
|
|
2143
2311
|
assignedAt: string | Date;
|
|
2144
2312
|
assignedBy: string | null;
|
|
2145
2313
|
companyId: string | null;
|
|
2146
|
-
lead?: {
|
|
2147
|
-
name: string;
|
|
2148
|
-
phoneNumber: string;
|
|
2149
|
-
} | undefined;
|
|
2150
2314
|
agent?: {
|
|
2315
|
+
lastName: string;
|
|
2316
|
+
firstName: string;
|
|
2151
2317
|
email: string;
|
|
2152
|
-
id: string;
|
|
2153
2318
|
createdAt: string | Date;
|
|
2319
|
+
id: string;
|
|
2154
2320
|
updatedAt: string | Date;
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2321
|
+
office?: {
|
|
2322
|
+
id: string;
|
|
2323
|
+
name: string;
|
|
2324
|
+
} | null | undefined;
|
|
2158
2325
|
phoneNumbers?: {
|
|
2159
2326
|
id: string;
|
|
2160
2327
|
phoneNumber: string;
|
|
2161
2328
|
description?: string | null | undefined;
|
|
2162
2329
|
isPrimary?: boolean | undefined;
|
|
2163
2330
|
}[] | undefined;
|
|
2164
|
-
|
|
2331
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2165
2332
|
canImpersonateUsers?: {
|
|
2166
|
-
id: string;
|
|
2167
|
-
firstName: string;
|
|
2168
2333
|
lastName: string;
|
|
2334
|
+
firstName: string;
|
|
2335
|
+
id: string;
|
|
2169
2336
|
}[] | undefined;
|
|
2170
2337
|
} | undefined;
|
|
2171
|
-
|
|
2338
|
+
lead?: {
|
|
2339
|
+
phoneNumber: string;
|
|
2172
2340
|
name: string;
|
|
2173
|
-
|
|
2341
|
+
} | undefined;
|
|
2342
|
+
company?: {
|
|
2174
2343
|
createdAt: string | Date;
|
|
2344
|
+
id: string;
|
|
2345
|
+
name: string;
|
|
2175
2346
|
updatedAt: string | Date;
|
|
2176
2347
|
} | null | undefined;
|
|
2177
2348
|
}>;
|
|
@@ -2324,11 +2495,11 @@ export declare const leadAssignmentsContract: {
|
|
|
2324
2495
|
name: z.ZodString;
|
|
2325
2496
|
phoneNumber: z.ZodString;
|
|
2326
2497
|
}, "strip", z.ZodTypeAny, {
|
|
2327
|
-
name: string;
|
|
2328
2498
|
phoneNumber: string;
|
|
2329
|
-
}, {
|
|
2330
2499
|
name: string;
|
|
2500
|
+
}, {
|
|
2331
2501
|
phoneNumber: string;
|
|
2502
|
+
name: string;
|
|
2332
2503
|
}>>;
|
|
2333
2504
|
agentId: z.ZodNullable<z.ZodString>;
|
|
2334
2505
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -2353,61 +2524,76 @@ export declare const leadAssignmentsContract: {
|
|
|
2353
2524
|
isPrimary?: boolean | undefined;
|
|
2354
2525
|
}>, "many">>>;
|
|
2355
2526
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
|
|
2356
|
-
office: z.ZodOptional<z.ZodNullable<z.
|
|
2527
|
+
office: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2528
|
+
id: z.ZodString;
|
|
2529
|
+
name: z.ZodString;
|
|
2530
|
+
}, "strip", z.ZodTypeAny, {
|
|
2531
|
+
id: string;
|
|
2532
|
+
name: string;
|
|
2533
|
+
}, {
|
|
2534
|
+
id: string;
|
|
2535
|
+
name: string;
|
|
2536
|
+
}>>>;
|
|
2357
2537
|
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2358
2538
|
id: z.ZodString;
|
|
2359
2539
|
firstName: z.ZodString;
|
|
2360
2540
|
lastName: z.ZodString;
|
|
2361
2541
|
}, "strip", z.ZodTypeAny, {
|
|
2362
|
-
id: string;
|
|
2363
|
-
firstName: string;
|
|
2364
2542
|
lastName: string;
|
|
2365
|
-
}, {
|
|
2366
|
-
id: string;
|
|
2367
2543
|
firstName: string;
|
|
2544
|
+
id: string;
|
|
2545
|
+
}, {
|
|
2368
2546
|
lastName: string;
|
|
2547
|
+
firstName: string;
|
|
2548
|
+
id: string;
|
|
2369
2549
|
}>, "many">>;
|
|
2370
2550
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2371
2551
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2372
2552
|
}, "strip", z.ZodTypeAny, {
|
|
2553
|
+
lastName: string;
|
|
2554
|
+
firstName: string;
|
|
2373
2555
|
email: string;
|
|
2374
|
-
id: string;
|
|
2375
2556
|
createdAt: string;
|
|
2376
|
-
|
|
2377
|
-
firstName: string;
|
|
2378
|
-
lastName: string;
|
|
2557
|
+
id: string;
|
|
2379
2558
|
phoneNumbers: {
|
|
2380
2559
|
id: string;
|
|
2381
2560
|
phoneNumber: string;
|
|
2382
2561
|
isPrimary: boolean;
|
|
2383
2562
|
description?: string | null | undefined;
|
|
2384
2563
|
}[];
|
|
2564
|
+
updatedAt: string;
|
|
2565
|
+
office?: {
|
|
2566
|
+
id: string;
|
|
2567
|
+
name: string;
|
|
2568
|
+
} | null | undefined;
|
|
2385
2569
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2386
|
-
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;
|
|
2387
2570
|
canImpersonateUsers?: {
|
|
2388
|
-
id: string;
|
|
2389
|
-
firstName: string;
|
|
2390
2571
|
lastName: string;
|
|
2572
|
+
firstName: string;
|
|
2573
|
+
id: string;
|
|
2391
2574
|
}[] | undefined;
|
|
2392
2575
|
}, {
|
|
2576
|
+
lastName: string;
|
|
2577
|
+
firstName: string;
|
|
2393
2578
|
email: string;
|
|
2394
|
-
id: string;
|
|
2395
2579
|
createdAt: string | Date;
|
|
2580
|
+
id: string;
|
|
2396
2581
|
updatedAt: string | Date;
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2582
|
+
office?: {
|
|
2583
|
+
id: string;
|
|
2584
|
+
name: string;
|
|
2585
|
+
} | null | undefined;
|
|
2400
2586
|
phoneNumbers?: {
|
|
2401
2587
|
id: string;
|
|
2402
2588
|
phoneNumber: string;
|
|
2403
2589
|
description?: string | null | undefined;
|
|
2404
2590
|
isPrimary?: boolean | undefined;
|
|
2405
2591
|
}[] | undefined;
|
|
2406
|
-
|
|
2592
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2407
2593
|
canImpersonateUsers?: {
|
|
2408
|
-
id: string;
|
|
2409
|
-
firstName: string;
|
|
2410
2594
|
lastName: string;
|
|
2595
|
+
firstName: string;
|
|
2596
|
+
id: string;
|
|
2411
2597
|
}[] | undefined;
|
|
2412
2598
|
}>>;
|
|
2413
2599
|
assignedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -2420,98 +2606,104 @@ export declare const leadAssignmentsContract: {
|
|
|
2420
2606
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2421
2607
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2422
2608
|
}, "strip", z.ZodTypeAny, {
|
|
2423
|
-
name: string;
|
|
2424
|
-
id: string;
|
|
2425
2609
|
createdAt: string;
|
|
2610
|
+
id: string;
|
|
2611
|
+
name: string;
|
|
2426
2612
|
updatedAt: string;
|
|
2427
2613
|
}, {
|
|
2428
|
-
name: string;
|
|
2429
|
-
id: string;
|
|
2430
2614
|
createdAt: string | Date;
|
|
2615
|
+
id: string;
|
|
2616
|
+
name: string;
|
|
2431
2617
|
updatedAt: string | Date;
|
|
2432
2618
|
}>>>;
|
|
2433
2619
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2434
2620
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2435
2621
|
}, "strip", z.ZodTypeAny, {
|
|
2622
|
+
createdAt: string;
|
|
2436
2623
|
id: string;
|
|
2437
2624
|
status: LeadAssignmentStatus;
|
|
2438
|
-
agentId: string | null;
|
|
2439
|
-
createdAt: string;
|
|
2440
2625
|
updatedAt: string;
|
|
2626
|
+
agentId: string | null;
|
|
2441
2627
|
leadId: string;
|
|
2442
2628
|
assignedAt: string;
|
|
2443
2629
|
assignedBy: string | null;
|
|
2444
2630
|
companyId: string | null;
|
|
2445
|
-
lead?: {
|
|
2446
|
-
name: string;
|
|
2447
|
-
phoneNumber: string;
|
|
2448
|
-
} | undefined;
|
|
2449
2631
|
agent?: {
|
|
2632
|
+
lastName: string;
|
|
2633
|
+
firstName: string;
|
|
2450
2634
|
email: string;
|
|
2451
|
-
id: string;
|
|
2452
2635
|
createdAt: string;
|
|
2453
|
-
|
|
2454
|
-
firstName: string;
|
|
2455
|
-
lastName: string;
|
|
2636
|
+
id: string;
|
|
2456
2637
|
phoneNumbers: {
|
|
2457
2638
|
id: string;
|
|
2458
2639
|
phoneNumber: string;
|
|
2459
2640
|
isPrimary: boolean;
|
|
2460
2641
|
description?: string | null | undefined;
|
|
2461
2642
|
}[];
|
|
2643
|
+
updatedAt: string;
|
|
2644
|
+
office?: {
|
|
2645
|
+
id: string;
|
|
2646
|
+
name: string;
|
|
2647
|
+
} | null | undefined;
|
|
2462
2648
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2463
|
-
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;
|
|
2464
2649
|
canImpersonateUsers?: {
|
|
2465
|
-
id: string;
|
|
2466
|
-
firstName: string;
|
|
2467
2650
|
lastName: string;
|
|
2651
|
+
firstName: string;
|
|
2652
|
+
id: string;
|
|
2468
2653
|
}[] | undefined;
|
|
2469
2654
|
} | undefined;
|
|
2470
|
-
|
|
2655
|
+
lead?: {
|
|
2656
|
+
phoneNumber: string;
|
|
2471
2657
|
name: string;
|
|
2472
|
-
|
|
2658
|
+
} | undefined;
|
|
2659
|
+
company?: {
|
|
2473
2660
|
createdAt: string;
|
|
2661
|
+
id: string;
|
|
2662
|
+
name: string;
|
|
2474
2663
|
updatedAt: string;
|
|
2475
2664
|
} | null | undefined;
|
|
2476
2665
|
}, {
|
|
2666
|
+
createdAt: string | Date;
|
|
2477
2667
|
id: string;
|
|
2478
2668
|
status: LeadAssignmentStatus;
|
|
2479
|
-
agentId: string | null;
|
|
2480
|
-
createdAt: string | Date;
|
|
2481
2669
|
updatedAt: string | Date;
|
|
2670
|
+
agentId: string | null;
|
|
2482
2671
|
leadId: string;
|
|
2483
2672
|
assignedAt: string | Date;
|
|
2484
2673
|
assignedBy: string | null;
|
|
2485
2674
|
companyId: string | null;
|
|
2486
|
-
lead?: {
|
|
2487
|
-
name: string;
|
|
2488
|
-
phoneNumber: string;
|
|
2489
|
-
} | undefined;
|
|
2490
2675
|
agent?: {
|
|
2676
|
+
lastName: string;
|
|
2677
|
+
firstName: string;
|
|
2491
2678
|
email: string;
|
|
2492
|
-
id: string;
|
|
2493
2679
|
createdAt: string | Date;
|
|
2680
|
+
id: string;
|
|
2494
2681
|
updatedAt: string | Date;
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2682
|
+
office?: {
|
|
2683
|
+
id: string;
|
|
2684
|
+
name: string;
|
|
2685
|
+
} | null | undefined;
|
|
2498
2686
|
phoneNumbers?: {
|
|
2499
2687
|
id: string;
|
|
2500
2688
|
phoneNumber: string;
|
|
2501
2689
|
description?: string | null | undefined;
|
|
2502
2690
|
isPrimary?: boolean | undefined;
|
|
2503
2691
|
}[] | undefined;
|
|
2504
|
-
|
|
2692
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2505
2693
|
canImpersonateUsers?: {
|
|
2506
|
-
id: string;
|
|
2507
|
-
firstName: string;
|
|
2508
2694
|
lastName: string;
|
|
2695
|
+
firstName: string;
|
|
2696
|
+
id: string;
|
|
2509
2697
|
}[] | undefined;
|
|
2510
2698
|
} | undefined;
|
|
2511
|
-
|
|
2699
|
+
lead?: {
|
|
2700
|
+
phoneNumber: string;
|
|
2512
2701
|
name: string;
|
|
2513
|
-
|
|
2702
|
+
} | undefined;
|
|
2703
|
+
company?: {
|
|
2514
2704
|
createdAt: string | Date;
|
|
2705
|
+
id: string;
|
|
2706
|
+
name: string;
|
|
2515
2707
|
updatedAt: string | Date;
|
|
2516
2708
|
} | null | undefined;
|
|
2517
2709
|
}>;
|