@dakkitor/api-contracts 1.1.128 → 1.1.130
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/admin.abilities.json +4 -0
- package/dist/abilities/kpi.abilities.json +9 -0
- package/dist/actives/actives.contract.d.ts +6485 -5013
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/actives/actives.contract.js +92 -92
- package/dist/agent-client-links/agent-client-links.contract.d.ts +721 -351
- package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -1
- package/dist/auth/auth.contract.d.ts +16 -16
- package/dist/bookings/bookings.contract.d.ts +24446 -18718
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/call-history/call-history.contract.d.ts +706 -428
- package/dist/call-history/call-history.contract.d.ts.map +1 -1
- package/dist/client-contacts/client-contacts.contract.d.ts +356 -356
- package/dist/clients/clients.contract.d.ts +106 -106
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +1813 -1197
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts.map +1 -1
- package/dist/collaborations/collaborations.contract.d.ts +1629 -1024
- package/dist/collaborations/collaborations.contract.d.ts.map +1 -1
- package/dist/curated-workers/curated-workers.contract.d.ts +350 -350
- package/dist/dashboards/dashboard-widgets.contract.d.ts +78 -78
- package/dist/dashboards/dashboard.contract.d.ts +26 -26
- package/dist/jobs/jobs.contract.d.ts +3290 -2230
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/lead-assignments/lead-assignments.contract.d.ts +636 -332
- package/dist/lead-assignments/lead-assignments.contract.d.ts.map +1 -1
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +296 -144
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts.map +1 -1
- package/dist/leads/leads.contract.d.ts +122 -122
- package/dist/monitoring/monitoring.contract.d.ts +138 -138
- package/dist/users/users.contract.d.ts +322 -158
- package/dist/users/users.contract.d.ts.map +1 -1
- package/dist/users/users.contract.js +133 -125
- package/dist/workers/workers.contract.d.ts +630 -412
- package/dist/workers/workers.contract.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -12,15 +12,15 @@ export declare const AgentLeadDistributionSchema: z.ZodObject<{
|
|
|
12
12
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
13
13
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
14
14
|
}, "strip", z.ZodTypeAny, {
|
|
15
|
-
id: string;
|
|
16
|
-
name: string;
|
|
17
15
|
createdAt: string;
|
|
18
|
-
updatedAt: string;
|
|
19
|
-
}, {
|
|
20
16
|
id: string;
|
|
17
|
+
updatedAt: string;
|
|
21
18
|
name: string;
|
|
19
|
+
}, {
|
|
22
20
|
createdAt: string | Date;
|
|
21
|
+
id: string;
|
|
23
22
|
updatedAt: string | Date;
|
|
23
|
+
name: string;
|
|
24
24
|
}>>>;
|
|
25
25
|
}, "strip", z.ZodTypeAny, {
|
|
26
26
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
@@ -28,10 +28,10 @@ export declare const AgentLeadDistributionSchema: z.ZodObject<{
|
|
|
28
28
|
leadDistributionConfigId?: string | null | undefined;
|
|
29
29
|
companyId?: string | null | undefined;
|
|
30
30
|
company?: {
|
|
31
|
-
id: string;
|
|
32
|
-
name: string;
|
|
33
31
|
createdAt: string;
|
|
32
|
+
id: string;
|
|
34
33
|
updatedAt: string;
|
|
34
|
+
name: string;
|
|
35
35
|
} | null | undefined;
|
|
36
36
|
}, {
|
|
37
37
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
@@ -39,10 +39,10 @@ export declare const AgentLeadDistributionSchema: z.ZodObject<{
|
|
|
39
39
|
leadDistributionConfigId?: string | null | undefined;
|
|
40
40
|
companyId?: string | null | undefined;
|
|
41
41
|
company?: {
|
|
42
|
-
id: string;
|
|
43
|
-
name: string;
|
|
44
42
|
createdAt: string | Date;
|
|
43
|
+
id: string;
|
|
45
44
|
updatedAt: string | Date;
|
|
45
|
+
name: string;
|
|
46
46
|
} | null | undefined;
|
|
47
47
|
}>;
|
|
48
48
|
export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
@@ -56,15 +56,15 @@ export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
|
56
56
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
57
57
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
58
58
|
}, "strip", z.ZodTypeAny, {
|
|
59
|
-
id: string;
|
|
60
|
-
name: string;
|
|
61
59
|
createdAt: string;
|
|
62
|
-
updatedAt: string;
|
|
63
|
-
}, {
|
|
64
60
|
id: string;
|
|
61
|
+
updatedAt: string;
|
|
65
62
|
name: string;
|
|
63
|
+
}, {
|
|
66
64
|
createdAt: string | Date;
|
|
65
|
+
id: string;
|
|
67
66
|
updatedAt: string | Date;
|
|
67
|
+
name: string;
|
|
68
68
|
}>>>;
|
|
69
69
|
} & {
|
|
70
70
|
id: z.ZodString;
|
|
@@ -91,30 +91,48 @@ export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
|
91
91
|
}>, "many">>>;
|
|
92
92
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
|
|
93
93
|
office: z.ZodOptional<z.ZodNullable<z.ZodEnum<["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"]>>>;
|
|
94
|
+
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
95
|
+
id: z.ZodString;
|
|
96
|
+
firstName: z.ZodString;
|
|
97
|
+
lastName: z.ZodString;
|
|
98
|
+
}, "strip", z.ZodTypeAny, {
|
|
99
|
+
lastName: string;
|
|
100
|
+
firstName: string;
|
|
101
|
+
id: string;
|
|
102
|
+
}, {
|
|
103
|
+
lastName: string;
|
|
104
|
+
firstName: string;
|
|
105
|
+
id: string;
|
|
106
|
+
}>, "many">>;
|
|
94
107
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
95
108
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
96
109
|
}, "strip", z.ZodTypeAny, {
|
|
97
|
-
id: string;
|
|
98
|
-
createdAt: string;
|
|
99
|
-
updatedAt: string;
|
|
100
|
-
firstName: string;
|
|
101
110
|
lastName: string;
|
|
111
|
+
firstName: string;
|
|
102
112
|
email: string;
|
|
113
|
+
createdAt: string;
|
|
114
|
+
id: string;
|
|
103
115
|
phoneNumbers: {
|
|
104
116
|
id: string;
|
|
105
117
|
phoneNumber: string;
|
|
106
118
|
isPrimary: boolean;
|
|
107
119
|
description?: string | null | undefined;
|
|
108
120
|
}[];
|
|
121
|
+
updatedAt: string;
|
|
109
122
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
110
123
|
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;
|
|
124
|
+
canImpersonateUsers?: {
|
|
125
|
+
lastName: string;
|
|
126
|
+
firstName: string;
|
|
127
|
+
id: string;
|
|
128
|
+
}[] | undefined;
|
|
111
129
|
}, {
|
|
112
|
-
id: string;
|
|
113
|
-
createdAt: string | Date;
|
|
114
|
-
updatedAt: string | Date;
|
|
115
|
-
firstName: string;
|
|
116
130
|
lastName: string;
|
|
131
|
+
firstName: string;
|
|
117
132
|
email: string;
|
|
133
|
+
createdAt: string | Date;
|
|
134
|
+
id: string;
|
|
135
|
+
updatedAt: string | Date;
|
|
118
136
|
phoneNumbers?: {
|
|
119
137
|
id: string;
|
|
120
138
|
phoneNumber: string;
|
|
@@ -123,46 +141,56 @@ export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
|
123
141
|
}[] | undefined;
|
|
124
142
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
125
143
|
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;
|
|
144
|
+
canImpersonateUsers?: {
|
|
145
|
+
lastName: string;
|
|
146
|
+
firstName: string;
|
|
147
|
+
id: string;
|
|
148
|
+
}[] | undefined;
|
|
126
149
|
}>;
|
|
127
150
|
}, "strip", z.ZodTypeAny, {
|
|
128
151
|
id: string;
|
|
129
152
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
130
153
|
agentId: string;
|
|
131
154
|
agent: {
|
|
132
|
-
id: string;
|
|
133
|
-
createdAt: string;
|
|
134
|
-
updatedAt: string;
|
|
135
|
-
firstName: string;
|
|
136
155
|
lastName: string;
|
|
156
|
+
firstName: string;
|
|
137
157
|
email: string;
|
|
158
|
+
createdAt: string;
|
|
159
|
+
id: string;
|
|
138
160
|
phoneNumbers: {
|
|
139
161
|
id: string;
|
|
140
162
|
phoneNumber: string;
|
|
141
163
|
isPrimary: boolean;
|
|
142
164
|
description?: string | null | undefined;
|
|
143
165
|
}[];
|
|
166
|
+
updatedAt: string;
|
|
144
167
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
145
168
|
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;
|
|
169
|
+
canImpersonateUsers?: {
|
|
170
|
+
lastName: string;
|
|
171
|
+
firstName: string;
|
|
172
|
+
id: string;
|
|
173
|
+
}[] | undefined;
|
|
146
174
|
};
|
|
147
175
|
leadDistributionConfigId?: string | null | undefined;
|
|
148
176
|
companyId?: string | null | undefined;
|
|
149
177
|
company?: {
|
|
150
|
-
id: string;
|
|
151
|
-
name: string;
|
|
152
178
|
createdAt: string;
|
|
179
|
+
id: string;
|
|
153
180
|
updatedAt: string;
|
|
181
|
+
name: string;
|
|
154
182
|
} | null | undefined;
|
|
155
183
|
}, {
|
|
156
184
|
id: string;
|
|
157
185
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
158
186
|
agentId: string;
|
|
159
187
|
agent: {
|
|
160
|
-
id: string;
|
|
161
|
-
createdAt: string | Date;
|
|
162
|
-
updatedAt: string | Date;
|
|
163
|
-
firstName: string;
|
|
164
188
|
lastName: string;
|
|
189
|
+
firstName: string;
|
|
165
190
|
email: string;
|
|
191
|
+
createdAt: string | Date;
|
|
192
|
+
id: string;
|
|
193
|
+
updatedAt: string | Date;
|
|
166
194
|
phoneNumbers?: {
|
|
167
195
|
id: string;
|
|
168
196
|
phoneNumber: string;
|
|
@@ -171,14 +199,19 @@ export declare const AgentLeadDistributionWithAgentSchema: z.ZodObject<{
|
|
|
171
199
|
}[] | undefined;
|
|
172
200
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
173
201
|
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;
|
|
202
|
+
canImpersonateUsers?: {
|
|
203
|
+
lastName: string;
|
|
204
|
+
firstName: string;
|
|
205
|
+
id: string;
|
|
206
|
+
}[] | undefined;
|
|
174
207
|
};
|
|
175
208
|
leadDistributionConfigId?: string | null | undefined;
|
|
176
209
|
companyId?: string | null | undefined;
|
|
177
210
|
company?: {
|
|
178
|
-
id: string;
|
|
179
|
-
name: string;
|
|
180
211
|
createdAt: string | Date;
|
|
212
|
+
id: string;
|
|
181
213
|
updatedAt: string | Date;
|
|
214
|
+
name: string;
|
|
182
215
|
} | null | undefined;
|
|
183
216
|
}>;
|
|
184
217
|
export declare const CreateAgentLeadDistributionSchema: z.ZodObject<{
|
|
@@ -245,15 +278,15 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
245
278
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
246
279
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
247
280
|
}, "strip", z.ZodTypeAny, {
|
|
248
|
-
id: string;
|
|
249
|
-
name: string;
|
|
250
281
|
createdAt: string;
|
|
251
|
-
updatedAt: string;
|
|
252
|
-
}, {
|
|
253
282
|
id: string;
|
|
283
|
+
updatedAt: string;
|
|
254
284
|
name: string;
|
|
285
|
+
}, {
|
|
255
286
|
createdAt: string | Date;
|
|
287
|
+
id: string;
|
|
256
288
|
updatedAt: string | Date;
|
|
289
|
+
name: string;
|
|
257
290
|
}>>>;
|
|
258
291
|
} & {
|
|
259
292
|
id: z.ZodString;
|
|
@@ -280,30 +313,48 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
280
313
|
}>, "many">>>;
|
|
281
314
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
|
|
282
315
|
office: z.ZodOptional<z.ZodNullable<z.ZodEnum<["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"]>>>;
|
|
316
|
+
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
317
|
+
id: z.ZodString;
|
|
318
|
+
firstName: z.ZodString;
|
|
319
|
+
lastName: z.ZodString;
|
|
320
|
+
}, "strip", z.ZodTypeAny, {
|
|
321
|
+
lastName: string;
|
|
322
|
+
firstName: string;
|
|
323
|
+
id: string;
|
|
324
|
+
}, {
|
|
325
|
+
lastName: string;
|
|
326
|
+
firstName: string;
|
|
327
|
+
id: string;
|
|
328
|
+
}>, "many">>;
|
|
283
329
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
284
330
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
285
331
|
}, "strip", z.ZodTypeAny, {
|
|
286
|
-
id: string;
|
|
287
|
-
createdAt: string;
|
|
288
|
-
updatedAt: string;
|
|
289
|
-
firstName: string;
|
|
290
332
|
lastName: string;
|
|
333
|
+
firstName: string;
|
|
291
334
|
email: string;
|
|
335
|
+
createdAt: string;
|
|
336
|
+
id: string;
|
|
292
337
|
phoneNumbers: {
|
|
293
338
|
id: string;
|
|
294
339
|
phoneNumber: string;
|
|
295
340
|
isPrimary: boolean;
|
|
296
341
|
description?: string | null | undefined;
|
|
297
342
|
}[];
|
|
343
|
+
updatedAt: string;
|
|
298
344
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
299
345
|
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;
|
|
346
|
+
canImpersonateUsers?: {
|
|
347
|
+
lastName: string;
|
|
348
|
+
firstName: string;
|
|
349
|
+
id: string;
|
|
350
|
+
}[] | undefined;
|
|
300
351
|
}, {
|
|
301
|
-
id: string;
|
|
302
|
-
createdAt: string | Date;
|
|
303
|
-
updatedAt: string | Date;
|
|
304
|
-
firstName: string;
|
|
305
352
|
lastName: string;
|
|
353
|
+
firstName: string;
|
|
306
354
|
email: string;
|
|
355
|
+
createdAt: string | Date;
|
|
356
|
+
id: string;
|
|
357
|
+
updatedAt: string | Date;
|
|
307
358
|
phoneNumbers?: {
|
|
308
359
|
id: string;
|
|
309
360
|
phoneNumber: string;
|
|
@@ -312,46 +363,56 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
312
363
|
}[] | undefined;
|
|
313
364
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
314
365
|
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;
|
|
366
|
+
canImpersonateUsers?: {
|
|
367
|
+
lastName: string;
|
|
368
|
+
firstName: string;
|
|
369
|
+
id: string;
|
|
370
|
+
}[] | undefined;
|
|
315
371
|
}>;
|
|
316
372
|
}, "strip", z.ZodTypeAny, {
|
|
317
373
|
id: string;
|
|
318
374
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
319
375
|
agentId: string;
|
|
320
376
|
agent: {
|
|
321
|
-
id: string;
|
|
322
|
-
createdAt: string;
|
|
323
|
-
updatedAt: string;
|
|
324
|
-
firstName: string;
|
|
325
377
|
lastName: string;
|
|
378
|
+
firstName: string;
|
|
326
379
|
email: string;
|
|
380
|
+
createdAt: string;
|
|
381
|
+
id: string;
|
|
327
382
|
phoneNumbers: {
|
|
328
383
|
id: string;
|
|
329
384
|
phoneNumber: string;
|
|
330
385
|
isPrimary: boolean;
|
|
331
386
|
description?: string | null | undefined;
|
|
332
387
|
}[];
|
|
388
|
+
updatedAt: string;
|
|
333
389
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
334
390
|
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;
|
|
391
|
+
canImpersonateUsers?: {
|
|
392
|
+
lastName: string;
|
|
393
|
+
firstName: string;
|
|
394
|
+
id: string;
|
|
395
|
+
}[] | undefined;
|
|
335
396
|
};
|
|
336
397
|
leadDistributionConfigId?: string | null | undefined;
|
|
337
398
|
companyId?: string | null | undefined;
|
|
338
399
|
company?: {
|
|
339
|
-
id: string;
|
|
340
|
-
name: string;
|
|
341
400
|
createdAt: string;
|
|
401
|
+
id: string;
|
|
342
402
|
updatedAt: string;
|
|
403
|
+
name: string;
|
|
343
404
|
} | null | undefined;
|
|
344
405
|
}, {
|
|
345
406
|
id: string;
|
|
346
407
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
347
408
|
agentId: string;
|
|
348
409
|
agent: {
|
|
349
|
-
id: string;
|
|
350
|
-
createdAt: string | Date;
|
|
351
|
-
updatedAt: string | Date;
|
|
352
|
-
firstName: string;
|
|
353
410
|
lastName: string;
|
|
411
|
+
firstName: string;
|
|
354
412
|
email: string;
|
|
413
|
+
createdAt: string | Date;
|
|
414
|
+
id: string;
|
|
415
|
+
updatedAt: string | Date;
|
|
355
416
|
phoneNumbers?: {
|
|
356
417
|
id: string;
|
|
357
418
|
phoneNumber: string;
|
|
@@ -360,14 +421,19 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
360
421
|
}[] | undefined;
|
|
361
422
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
362
423
|
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;
|
|
424
|
+
canImpersonateUsers?: {
|
|
425
|
+
lastName: string;
|
|
426
|
+
firstName: string;
|
|
427
|
+
id: string;
|
|
428
|
+
}[] | undefined;
|
|
363
429
|
};
|
|
364
430
|
leadDistributionConfigId?: string | null | undefined;
|
|
365
431
|
companyId?: string | null | undefined;
|
|
366
432
|
company?: {
|
|
367
|
-
id: string;
|
|
368
|
-
name: string;
|
|
369
433
|
createdAt: string | Date;
|
|
434
|
+
id: string;
|
|
370
435
|
updatedAt: string | Date;
|
|
436
|
+
name: string;
|
|
371
437
|
} | null | undefined;
|
|
372
438
|
}>, "many">;
|
|
373
439
|
totalCount: z.ZodNumber;
|
|
@@ -382,28 +448,33 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
382
448
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
383
449
|
agentId: string;
|
|
384
450
|
agent: {
|
|
385
|
-
id: string;
|
|
386
|
-
createdAt: string;
|
|
387
|
-
updatedAt: string;
|
|
388
|
-
firstName: string;
|
|
389
451
|
lastName: string;
|
|
452
|
+
firstName: string;
|
|
390
453
|
email: string;
|
|
454
|
+
createdAt: string;
|
|
455
|
+
id: string;
|
|
391
456
|
phoneNumbers: {
|
|
392
457
|
id: string;
|
|
393
458
|
phoneNumber: string;
|
|
394
459
|
isPrimary: boolean;
|
|
395
460
|
description?: string | null | undefined;
|
|
396
461
|
}[];
|
|
462
|
+
updatedAt: string;
|
|
397
463
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
398
464
|
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;
|
|
465
|
+
canImpersonateUsers?: {
|
|
466
|
+
lastName: string;
|
|
467
|
+
firstName: string;
|
|
468
|
+
id: string;
|
|
469
|
+
}[] | undefined;
|
|
399
470
|
};
|
|
400
471
|
leadDistributionConfigId?: string | null | undefined;
|
|
401
472
|
companyId?: string | null | undefined;
|
|
402
473
|
company?: {
|
|
403
|
-
id: string;
|
|
404
|
-
name: string;
|
|
405
474
|
createdAt: string;
|
|
475
|
+
id: string;
|
|
406
476
|
updatedAt: string;
|
|
477
|
+
name: string;
|
|
407
478
|
} | null | undefined;
|
|
408
479
|
}[];
|
|
409
480
|
totalCount: number;
|
|
@@ -417,12 +488,12 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
417
488
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
418
489
|
agentId: string;
|
|
419
490
|
agent: {
|
|
420
|
-
id: string;
|
|
421
|
-
createdAt: string | Date;
|
|
422
|
-
updatedAt: string | Date;
|
|
423
|
-
firstName: string;
|
|
424
491
|
lastName: string;
|
|
492
|
+
firstName: string;
|
|
425
493
|
email: string;
|
|
494
|
+
createdAt: string | Date;
|
|
495
|
+
id: string;
|
|
496
|
+
updatedAt: string | Date;
|
|
426
497
|
phoneNumbers?: {
|
|
427
498
|
id: string;
|
|
428
499
|
phoneNumber: string;
|
|
@@ -431,14 +502,19 @@ export declare const PaginatedAgentLeadDistributionResponseSchema: z.ZodObject<{
|
|
|
431
502
|
}[] | undefined;
|
|
432
503
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
433
504
|
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;
|
|
505
|
+
canImpersonateUsers?: {
|
|
506
|
+
lastName: string;
|
|
507
|
+
firstName: string;
|
|
508
|
+
id: string;
|
|
509
|
+
}[] | undefined;
|
|
434
510
|
};
|
|
435
511
|
leadDistributionConfigId?: string | null | undefined;
|
|
436
512
|
companyId?: string | null | undefined;
|
|
437
513
|
company?: {
|
|
438
|
-
id: string;
|
|
439
|
-
name: string;
|
|
440
514
|
createdAt: string | Date;
|
|
515
|
+
id: string;
|
|
441
516
|
updatedAt: string | Date;
|
|
517
|
+
name: string;
|
|
442
518
|
} | null | undefined;
|
|
443
519
|
}[];
|
|
444
520
|
totalCount: number;
|
|
@@ -571,15 +647,15 @@ export declare const agentLeadDistributionContract: {
|
|
|
571
647
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
572
648
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
573
649
|
}, "strip", z.ZodTypeAny, {
|
|
574
|
-
id: string;
|
|
575
|
-
name: string;
|
|
576
650
|
createdAt: string;
|
|
577
|
-
updatedAt: string;
|
|
578
|
-
}, {
|
|
579
651
|
id: string;
|
|
652
|
+
updatedAt: string;
|
|
580
653
|
name: string;
|
|
654
|
+
}, {
|
|
581
655
|
createdAt: string | Date;
|
|
656
|
+
id: string;
|
|
582
657
|
updatedAt: string | Date;
|
|
658
|
+
name: string;
|
|
583
659
|
}>>>;
|
|
584
660
|
} & {
|
|
585
661
|
id: z.ZodString;
|
|
@@ -606,30 +682,48 @@ export declare const agentLeadDistributionContract: {
|
|
|
606
682
|
}>, "many">>>;
|
|
607
683
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
|
|
608
684
|
office: z.ZodOptional<z.ZodNullable<z.ZodEnum<["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"]>>>;
|
|
685
|
+
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
686
|
+
id: z.ZodString;
|
|
687
|
+
firstName: z.ZodString;
|
|
688
|
+
lastName: z.ZodString;
|
|
689
|
+
}, "strip", z.ZodTypeAny, {
|
|
690
|
+
lastName: string;
|
|
691
|
+
firstName: string;
|
|
692
|
+
id: string;
|
|
693
|
+
}, {
|
|
694
|
+
lastName: string;
|
|
695
|
+
firstName: string;
|
|
696
|
+
id: string;
|
|
697
|
+
}>, "many">>;
|
|
609
698
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
610
699
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
611
700
|
}, "strip", z.ZodTypeAny, {
|
|
612
|
-
id: string;
|
|
613
|
-
createdAt: string;
|
|
614
|
-
updatedAt: string;
|
|
615
|
-
firstName: string;
|
|
616
701
|
lastName: string;
|
|
702
|
+
firstName: string;
|
|
617
703
|
email: string;
|
|
704
|
+
createdAt: string;
|
|
705
|
+
id: string;
|
|
618
706
|
phoneNumbers: {
|
|
619
707
|
id: string;
|
|
620
708
|
phoneNumber: string;
|
|
621
709
|
isPrimary: boolean;
|
|
622
710
|
description?: string | null | undefined;
|
|
623
711
|
}[];
|
|
712
|
+
updatedAt: string;
|
|
624
713
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
625
714
|
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;
|
|
715
|
+
canImpersonateUsers?: {
|
|
716
|
+
lastName: string;
|
|
717
|
+
firstName: string;
|
|
718
|
+
id: string;
|
|
719
|
+
}[] | undefined;
|
|
626
720
|
}, {
|
|
627
|
-
id: string;
|
|
628
|
-
createdAt: string | Date;
|
|
629
|
-
updatedAt: string | Date;
|
|
630
|
-
firstName: string;
|
|
631
721
|
lastName: string;
|
|
722
|
+
firstName: string;
|
|
632
723
|
email: string;
|
|
724
|
+
createdAt: string | Date;
|
|
725
|
+
id: string;
|
|
726
|
+
updatedAt: string | Date;
|
|
633
727
|
phoneNumbers?: {
|
|
634
728
|
id: string;
|
|
635
729
|
phoneNumber: string;
|
|
@@ -638,46 +732,56 @@ export declare const agentLeadDistributionContract: {
|
|
|
638
732
|
}[] | undefined;
|
|
639
733
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
640
734
|
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;
|
|
735
|
+
canImpersonateUsers?: {
|
|
736
|
+
lastName: string;
|
|
737
|
+
firstName: string;
|
|
738
|
+
id: string;
|
|
739
|
+
}[] | undefined;
|
|
641
740
|
}>;
|
|
642
741
|
}, "strip", z.ZodTypeAny, {
|
|
643
742
|
id: string;
|
|
644
743
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
645
744
|
agentId: string;
|
|
646
745
|
agent: {
|
|
647
|
-
id: string;
|
|
648
|
-
createdAt: string;
|
|
649
|
-
updatedAt: string;
|
|
650
|
-
firstName: string;
|
|
651
746
|
lastName: string;
|
|
747
|
+
firstName: string;
|
|
652
748
|
email: string;
|
|
749
|
+
createdAt: string;
|
|
750
|
+
id: string;
|
|
653
751
|
phoneNumbers: {
|
|
654
752
|
id: string;
|
|
655
753
|
phoneNumber: string;
|
|
656
754
|
isPrimary: boolean;
|
|
657
755
|
description?: string | null | undefined;
|
|
658
756
|
}[];
|
|
757
|
+
updatedAt: string;
|
|
659
758
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
660
759
|
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;
|
|
760
|
+
canImpersonateUsers?: {
|
|
761
|
+
lastName: string;
|
|
762
|
+
firstName: string;
|
|
763
|
+
id: string;
|
|
764
|
+
}[] | undefined;
|
|
661
765
|
};
|
|
662
766
|
leadDistributionConfigId?: string | null | undefined;
|
|
663
767
|
companyId?: string | null | undefined;
|
|
664
768
|
company?: {
|
|
665
|
-
id: string;
|
|
666
|
-
name: string;
|
|
667
769
|
createdAt: string;
|
|
770
|
+
id: string;
|
|
668
771
|
updatedAt: string;
|
|
772
|
+
name: string;
|
|
669
773
|
} | null | undefined;
|
|
670
774
|
}, {
|
|
671
775
|
id: string;
|
|
672
776
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
673
777
|
agentId: string;
|
|
674
778
|
agent: {
|
|
675
|
-
id: string;
|
|
676
|
-
createdAt: string | Date;
|
|
677
|
-
updatedAt: string | Date;
|
|
678
|
-
firstName: string;
|
|
679
779
|
lastName: string;
|
|
780
|
+
firstName: string;
|
|
680
781
|
email: string;
|
|
782
|
+
createdAt: string | Date;
|
|
783
|
+
id: string;
|
|
784
|
+
updatedAt: string | Date;
|
|
681
785
|
phoneNumbers?: {
|
|
682
786
|
id: string;
|
|
683
787
|
phoneNumber: string;
|
|
@@ -686,14 +790,19 @@ export declare const agentLeadDistributionContract: {
|
|
|
686
790
|
}[] | undefined;
|
|
687
791
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
688
792
|
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;
|
|
793
|
+
canImpersonateUsers?: {
|
|
794
|
+
lastName: string;
|
|
795
|
+
firstName: string;
|
|
796
|
+
id: string;
|
|
797
|
+
}[] | undefined;
|
|
689
798
|
};
|
|
690
799
|
leadDistributionConfigId?: string | null | undefined;
|
|
691
800
|
companyId?: string | null | undefined;
|
|
692
801
|
company?: {
|
|
693
|
-
id: string;
|
|
694
|
-
name: string;
|
|
695
802
|
createdAt: string | Date;
|
|
803
|
+
id: string;
|
|
696
804
|
updatedAt: string | Date;
|
|
805
|
+
name: string;
|
|
697
806
|
} | null | undefined;
|
|
698
807
|
}>, "many">;
|
|
699
808
|
totalCount: z.ZodNumber;
|
|
@@ -708,28 +817,33 @@ export declare const agentLeadDistributionContract: {
|
|
|
708
817
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
709
818
|
agentId: string;
|
|
710
819
|
agent: {
|
|
711
|
-
id: string;
|
|
712
|
-
createdAt: string;
|
|
713
|
-
updatedAt: string;
|
|
714
|
-
firstName: string;
|
|
715
820
|
lastName: string;
|
|
821
|
+
firstName: string;
|
|
716
822
|
email: string;
|
|
823
|
+
createdAt: string;
|
|
824
|
+
id: string;
|
|
717
825
|
phoneNumbers: {
|
|
718
826
|
id: string;
|
|
719
827
|
phoneNumber: string;
|
|
720
828
|
isPrimary: boolean;
|
|
721
829
|
description?: string | null | undefined;
|
|
722
830
|
}[];
|
|
831
|
+
updatedAt: string;
|
|
723
832
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
724
833
|
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;
|
|
834
|
+
canImpersonateUsers?: {
|
|
835
|
+
lastName: string;
|
|
836
|
+
firstName: string;
|
|
837
|
+
id: string;
|
|
838
|
+
}[] | undefined;
|
|
725
839
|
};
|
|
726
840
|
leadDistributionConfigId?: string | null | undefined;
|
|
727
841
|
companyId?: string | null | undefined;
|
|
728
842
|
company?: {
|
|
729
|
-
id: string;
|
|
730
|
-
name: string;
|
|
731
843
|
createdAt: string;
|
|
844
|
+
id: string;
|
|
732
845
|
updatedAt: string;
|
|
846
|
+
name: string;
|
|
733
847
|
} | null | undefined;
|
|
734
848
|
}[];
|
|
735
849
|
totalCount: number;
|
|
@@ -743,12 +857,12 @@ export declare const agentLeadDistributionContract: {
|
|
|
743
857
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
744
858
|
agentId: string;
|
|
745
859
|
agent: {
|
|
746
|
-
id: string;
|
|
747
|
-
createdAt: string | Date;
|
|
748
|
-
updatedAt: string | Date;
|
|
749
|
-
firstName: string;
|
|
750
860
|
lastName: string;
|
|
861
|
+
firstName: string;
|
|
751
862
|
email: string;
|
|
863
|
+
createdAt: string | Date;
|
|
864
|
+
id: string;
|
|
865
|
+
updatedAt: string | Date;
|
|
752
866
|
phoneNumbers?: {
|
|
753
867
|
id: string;
|
|
754
868
|
phoneNumber: string;
|
|
@@ -757,14 +871,19 @@ export declare const agentLeadDistributionContract: {
|
|
|
757
871
|
}[] | undefined;
|
|
758
872
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
759
873
|
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;
|
|
874
|
+
canImpersonateUsers?: {
|
|
875
|
+
lastName: string;
|
|
876
|
+
firstName: string;
|
|
877
|
+
id: string;
|
|
878
|
+
}[] | undefined;
|
|
760
879
|
};
|
|
761
880
|
leadDistributionConfigId?: string | null | undefined;
|
|
762
881
|
companyId?: string | null | undefined;
|
|
763
882
|
company?: {
|
|
764
|
-
id: string;
|
|
765
|
-
name: string;
|
|
766
883
|
createdAt: string | Date;
|
|
884
|
+
id: string;
|
|
767
885
|
updatedAt: string | Date;
|
|
886
|
+
name: string;
|
|
768
887
|
} | null | undefined;
|
|
769
888
|
}[];
|
|
770
889
|
totalCount: number;
|
|
@@ -900,15 +1019,15 @@ export declare const agentLeadDistributionContract: {
|
|
|
900
1019
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
901
1020
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
902
1021
|
}, "strip", z.ZodTypeAny, {
|
|
903
|
-
id: string;
|
|
904
|
-
name: string;
|
|
905
1022
|
createdAt: string;
|
|
906
|
-
updatedAt: string;
|
|
907
|
-
}, {
|
|
908
1023
|
id: string;
|
|
1024
|
+
updatedAt: string;
|
|
909
1025
|
name: string;
|
|
1026
|
+
}, {
|
|
910
1027
|
createdAt: string | Date;
|
|
1028
|
+
id: string;
|
|
911
1029
|
updatedAt: string | Date;
|
|
1030
|
+
name: string;
|
|
912
1031
|
}>>>;
|
|
913
1032
|
} & {
|
|
914
1033
|
id: z.ZodString;
|
|
@@ -935,30 +1054,48 @@ export declare const agentLeadDistributionContract: {
|
|
|
935
1054
|
}>, "many">>>;
|
|
936
1055
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
|
|
937
1056
|
office: z.ZodOptional<z.ZodNullable<z.ZodEnum<["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"]>>>;
|
|
1057
|
+
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1058
|
+
id: z.ZodString;
|
|
1059
|
+
firstName: z.ZodString;
|
|
1060
|
+
lastName: z.ZodString;
|
|
1061
|
+
}, "strip", z.ZodTypeAny, {
|
|
1062
|
+
lastName: string;
|
|
1063
|
+
firstName: string;
|
|
1064
|
+
id: string;
|
|
1065
|
+
}, {
|
|
1066
|
+
lastName: string;
|
|
1067
|
+
firstName: string;
|
|
1068
|
+
id: string;
|
|
1069
|
+
}>, "many">>;
|
|
938
1070
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
939
1071
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
940
1072
|
}, "strip", z.ZodTypeAny, {
|
|
941
|
-
id: string;
|
|
942
|
-
createdAt: string;
|
|
943
|
-
updatedAt: string;
|
|
944
|
-
firstName: string;
|
|
945
1073
|
lastName: string;
|
|
1074
|
+
firstName: string;
|
|
946
1075
|
email: string;
|
|
1076
|
+
createdAt: string;
|
|
1077
|
+
id: string;
|
|
947
1078
|
phoneNumbers: {
|
|
948
1079
|
id: string;
|
|
949
1080
|
phoneNumber: string;
|
|
950
1081
|
isPrimary: boolean;
|
|
951
1082
|
description?: string | null | undefined;
|
|
952
1083
|
}[];
|
|
1084
|
+
updatedAt: string;
|
|
953
1085
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
954
1086
|
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;
|
|
1087
|
+
canImpersonateUsers?: {
|
|
1088
|
+
lastName: string;
|
|
1089
|
+
firstName: string;
|
|
1090
|
+
id: string;
|
|
1091
|
+
}[] | undefined;
|
|
955
1092
|
}, {
|
|
956
|
-
id: string;
|
|
957
|
-
createdAt: string | Date;
|
|
958
|
-
updatedAt: string | Date;
|
|
959
|
-
firstName: string;
|
|
960
1093
|
lastName: string;
|
|
1094
|
+
firstName: string;
|
|
961
1095
|
email: string;
|
|
1096
|
+
createdAt: string | Date;
|
|
1097
|
+
id: string;
|
|
1098
|
+
updatedAt: string | Date;
|
|
962
1099
|
phoneNumbers?: {
|
|
963
1100
|
id: string;
|
|
964
1101
|
phoneNumber: string;
|
|
@@ -967,46 +1104,56 @@ export declare const agentLeadDistributionContract: {
|
|
|
967
1104
|
}[] | undefined;
|
|
968
1105
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
969
1106
|
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;
|
|
1107
|
+
canImpersonateUsers?: {
|
|
1108
|
+
lastName: string;
|
|
1109
|
+
firstName: string;
|
|
1110
|
+
id: string;
|
|
1111
|
+
}[] | undefined;
|
|
970
1112
|
}>;
|
|
971
1113
|
}, "strip", z.ZodTypeAny, {
|
|
972
1114
|
id: string;
|
|
973
1115
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
974
1116
|
agentId: string;
|
|
975
1117
|
agent: {
|
|
976
|
-
id: string;
|
|
977
|
-
createdAt: string;
|
|
978
|
-
updatedAt: string;
|
|
979
|
-
firstName: string;
|
|
980
1118
|
lastName: string;
|
|
1119
|
+
firstName: string;
|
|
981
1120
|
email: string;
|
|
1121
|
+
createdAt: string;
|
|
1122
|
+
id: string;
|
|
982
1123
|
phoneNumbers: {
|
|
983
1124
|
id: string;
|
|
984
1125
|
phoneNumber: string;
|
|
985
1126
|
isPrimary: boolean;
|
|
986
1127
|
description?: string | null | undefined;
|
|
987
1128
|
}[];
|
|
1129
|
+
updatedAt: string;
|
|
988
1130
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
989
1131
|
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;
|
|
1132
|
+
canImpersonateUsers?: {
|
|
1133
|
+
lastName: string;
|
|
1134
|
+
firstName: string;
|
|
1135
|
+
id: string;
|
|
1136
|
+
}[] | undefined;
|
|
990
1137
|
};
|
|
991
1138
|
leadDistributionConfigId?: string | null | undefined;
|
|
992
1139
|
companyId?: string | null | undefined;
|
|
993
1140
|
company?: {
|
|
994
|
-
id: string;
|
|
995
|
-
name: string;
|
|
996
1141
|
createdAt: string;
|
|
1142
|
+
id: string;
|
|
997
1143
|
updatedAt: string;
|
|
1144
|
+
name: string;
|
|
998
1145
|
} | null | undefined;
|
|
999
1146
|
}, {
|
|
1000
1147
|
id: string;
|
|
1001
1148
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
1002
1149
|
agentId: string;
|
|
1003
1150
|
agent: {
|
|
1004
|
-
id: string;
|
|
1005
|
-
createdAt: string | Date;
|
|
1006
|
-
updatedAt: string | Date;
|
|
1007
|
-
firstName: string;
|
|
1008
1151
|
lastName: string;
|
|
1152
|
+
firstName: string;
|
|
1009
1153
|
email: string;
|
|
1154
|
+
createdAt: string | Date;
|
|
1155
|
+
id: string;
|
|
1156
|
+
updatedAt: string | Date;
|
|
1010
1157
|
phoneNumbers?: {
|
|
1011
1158
|
id: string;
|
|
1012
1159
|
phoneNumber: string;
|
|
@@ -1015,14 +1162,19 @@ export declare const agentLeadDistributionContract: {
|
|
|
1015
1162
|
}[] | undefined;
|
|
1016
1163
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1017
1164
|
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;
|
|
1165
|
+
canImpersonateUsers?: {
|
|
1166
|
+
lastName: string;
|
|
1167
|
+
firstName: string;
|
|
1168
|
+
id: string;
|
|
1169
|
+
}[] | undefined;
|
|
1018
1170
|
};
|
|
1019
1171
|
leadDistributionConfigId?: string | null | undefined;
|
|
1020
1172
|
companyId?: string | null | undefined;
|
|
1021
1173
|
company?: {
|
|
1022
|
-
id: string;
|
|
1023
|
-
name: string;
|
|
1024
1174
|
createdAt: string | Date;
|
|
1175
|
+
id: string;
|
|
1025
1176
|
updatedAt: string | Date;
|
|
1177
|
+
name: string;
|
|
1026
1178
|
} | null | undefined;
|
|
1027
1179
|
}>;
|
|
1028
1180
|
404: z.ZodObject<{
|
|
@@ -1187,15 +1339,15 @@ export declare const agentLeadDistributionContract: {
|
|
|
1187
1339
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1188
1340
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1189
1341
|
}, "strip", z.ZodTypeAny, {
|
|
1190
|
-
id: string;
|
|
1191
|
-
name: string;
|
|
1192
1342
|
createdAt: string;
|
|
1193
|
-
updatedAt: string;
|
|
1194
|
-
}, {
|
|
1195
1343
|
id: string;
|
|
1344
|
+
updatedAt: string;
|
|
1196
1345
|
name: string;
|
|
1346
|
+
}, {
|
|
1197
1347
|
createdAt: string | Date;
|
|
1348
|
+
id: string;
|
|
1198
1349
|
updatedAt: string | Date;
|
|
1350
|
+
name: string;
|
|
1199
1351
|
}>>>;
|
|
1200
1352
|
}, "strip", z.ZodTypeAny, {
|
|
1201
1353
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
@@ -1203,10 +1355,10 @@ export declare const agentLeadDistributionContract: {
|
|
|
1203
1355
|
leadDistributionConfigId?: string | null | undefined;
|
|
1204
1356
|
companyId?: string | null | undefined;
|
|
1205
1357
|
company?: {
|
|
1206
|
-
id: string;
|
|
1207
|
-
name: string;
|
|
1208
1358
|
createdAt: string;
|
|
1359
|
+
id: string;
|
|
1209
1360
|
updatedAt: string;
|
|
1361
|
+
name: string;
|
|
1210
1362
|
} | null | undefined;
|
|
1211
1363
|
}, {
|
|
1212
1364
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
@@ -1214,10 +1366,10 @@ export declare const agentLeadDistributionContract: {
|
|
|
1214
1366
|
leadDistributionConfigId?: string | null | undefined;
|
|
1215
1367
|
companyId?: string | null | undefined;
|
|
1216
1368
|
company?: {
|
|
1217
|
-
id: string;
|
|
1218
|
-
name: string;
|
|
1219
1369
|
createdAt: string | Date;
|
|
1370
|
+
id: string;
|
|
1220
1371
|
updatedAt: string | Date;
|
|
1372
|
+
name: string;
|
|
1221
1373
|
} | null | undefined;
|
|
1222
1374
|
}>;
|
|
1223
1375
|
403: z.ZodObject<{
|
|
@@ -1361,15 +1513,15 @@ export declare const agentLeadDistributionContract: {
|
|
|
1361
1513
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1362
1514
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1363
1515
|
}, "strip", z.ZodTypeAny, {
|
|
1364
|
-
id: string;
|
|
1365
|
-
name: string;
|
|
1366
1516
|
createdAt: string;
|
|
1367
|
-
updatedAt: string;
|
|
1368
|
-
}, {
|
|
1369
1517
|
id: string;
|
|
1518
|
+
updatedAt: string;
|
|
1370
1519
|
name: string;
|
|
1520
|
+
}, {
|
|
1371
1521
|
createdAt: string | Date;
|
|
1522
|
+
id: string;
|
|
1372
1523
|
updatedAt: string | Date;
|
|
1524
|
+
name: string;
|
|
1373
1525
|
}>>>;
|
|
1374
1526
|
}, "strip", z.ZodTypeAny, {
|
|
1375
1527
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
@@ -1377,10 +1529,10 @@ export declare const agentLeadDistributionContract: {
|
|
|
1377
1529
|
leadDistributionConfigId?: string | null | undefined;
|
|
1378
1530
|
companyId?: string | null | undefined;
|
|
1379
1531
|
company?: {
|
|
1380
|
-
id: string;
|
|
1381
|
-
name: string;
|
|
1382
1532
|
createdAt: string;
|
|
1533
|
+
id: string;
|
|
1383
1534
|
updatedAt: string;
|
|
1535
|
+
name: string;
|
|
1384
1536
|
} | null | undefined;
|
|
1385
1537
|
}, {
|
|
1386
1538
|
status: "AVAILABLE" | "PAUSED" | "EXCLUDED";
|
|
@@ -1388,10 +1540,10 @@ export declare const agentLeadDistributionContract: {
|
|
|
1388
1540
|
leadDistributionConfigId?: string | null | undefined;
|
|
1389
1541
|
companyId?: string | null | undefined;
|
|
1390
1542
|
company?: {
|
|
1391
|
-
id: string;
|
|
1392
|
-
name: string;
|
|
1393
1543
|
createdAt: string | Date;
|
|
1544
|
+
id: string;
|
|
1394
1545
|
updatedAt: string | Date;
|
|
1546
|
+
name: string;
|
|
1395
1547
|
} | null | undefined;
|
|
1396
1548
|
}>;
|
|
1397
1549
|
404: z.ZodObject<{
|