@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
|
@@ -30,49 +30,65 @@ export declare const OwnResearchLeadSchema: z.ZodObject<{
|
|
|
30
30
|
isPrimary?: boolean | undefined;
|
|
31
31
|
}>, "many">>>;
|
|
32
32
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
|
|
33
|
-
office: z.ZodOptional<z.ZodNullable<z.
|
|
33
|
+
office: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
34
|
+
id: z.ZodString;
|
|
35
|
+
name: z.ZodString;
|
|
36
|
+
}, "strip", z.ZodTypeAny, {
|
|
37
|
+
id: string;
|
|
38
|
+
name: string;
|
|
39
|
+
}, {
|
|
40
|
+
id: string;
|
|
41
|
+
name: string;
|
|
42
|
+
}>>>;
|
|
34
43
|
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
35
44
|
id: z.ZodString;
|
|
36
45
|
firstName: z.ZodString;
|
|
37
46
|
lastName: z.ZodString;
|
|
38
47
|
}, "strip", z.ZodTypeAny, {
|
|
39
|
-
id: string;
|
|
40
|
-
firstName: string;
|
|
41
48
|
lastName: string;
|
|
42
|
-
}, {
|
|
43
|
-
id: string;
|
|
44
49
|
firstName: string;
|
|
50
|
+
id: string;
|
|
51
|
+
}, {
|
|
45
52
|
lastName: string;
|
|
53
|
+
firstName: string;
|
|
54
|
+
id: string;
|
|
46
55
|
}>, "many">>;
|
|
47
56
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
48
57
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
49
58
|
}, "strip", z.ZodTypeAny, {
|
|
50
|
-
id: string;
|
|
51
|
-
firstName: string;
|
|
52
59
|
lastName: string;
|
|
60
|
+
firstName: string;
|
|
53
61
|
email: string;
|
|
62
|
+
createdAt: string;
|
|
63
|
+
id: string;
|
|
54
64
|
phoneNumbers: {
|
|
55
65
|
id: string;
|
|
56
66
|
phoneNumber: string;
|
|
57
67
|
isPrimary: boolean;
|
|
58
68
|
description?: string | null | undefined;
|
|
59
69
|
}[];
|
|
60
|
-
createdAt: string;
|
|
61
70
|
updatedAt: string;
|
|
71
|
+
office?: {
|
|
72
|
+
id: string;
|
|
73
|
+
name: string;
|
|
74
|
+
} | null | undefined;
|
|
62
75
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
63
|
-
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;
|
|
64
76
|
canImpersonateUsers?: {
|
|
65
|
-
id: string;
|
|
66
|
-
firstName: string;
|
|
67
77
|
lastName: string;
|
|
78
|
+
firstName: string;
|
|
79
|
+
id: string;
|
|
68
80
|
}[] | undefined;
|
|
69
81
|
}, {
|
|
70
|
-
id: string;
|
|
71
|
-
firstName: string;
|
|
72
82
|
lastName: string;
|
|
83
|
+
firstName: string;
|
|
73
84
|
email: string;
|
|
74
85
|
createdAt: string | Date;
|
|
86
|
+
id: string;
|
|
75
87
|
updatedAt: string | Date;
|
|
88
|
+
office?: {
|
|
89
|
+
id: string;
|
|
90
|
+
name: string;
|
|
91
|
+
} | null | undefined;
|
|
76
92
|
phoneNumbers?: {
|
|
77
93
|
id: string;
|
|
78
94
|
phoneNumber: string;
|
|
@@ -80,11 +96,10 @@ export declare const OwnResearchLeadSchema: z.ZodObject<{
|
|
|
80
96
|
isPrimary?: boolean | undefined;
|
|
81
97
|
}[] | undefined;
|
|
82
98
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
83
|
-
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;
|
|
84
99
|
canImpersonateUsers?: {
|
|
85
|
-
id: string;
|
|
86
|
-
firstName: string;
|
|
87
100
|
lastName: string;
|
|
101
|
+
firstName: string;
|
|
102
|
+
id: string;
|
|
88
103
|
}[] | undefined;
|
|
89
104
|
}>>;
|
|
90
105
|
name: z.ZodString;
|
|
@@ -100,13 +115,13 @@ export declare const OwnResearchLeadSchema: z.ZodObject<{
|
|
|
100
115
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
101
116
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
102
117
|
}, "strip", z.ZodTypeAny, {
|
|
118
|
+
createdAt: string;
|
|
103
119
|
id: string;
|
|
104
|
-
agentId: string;
|
|
105
120
|
phoneNumber: string;
|
|
106
121
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
107
|
-
createdAt: string;
|
|
108
|
-
updatedAt: string;
|
|
109
122
|
name: string;
|
|
123
|
+
updatedAt: string;
|
|
124
|
+
agentId: string;
|
|
110
125
|
callCount: number;
|
|
111
126
|
lastCalledAt: string | null;
|
|
112
127
|
cooldownUntil: string | null;
|
|
@@ -115,34 +130,37 @@ export declare const OwnResearchLeadSchema: z.ZodObject<{
|
|
|
115
130
|
existsInLeadsTable: boolean;
|
|
116
131
|
originalLeadId: string | null;
|
|
117
132
|
agent?: {
|
|
118
|
-
id: string;
|
|
119
|
-
firstName: string;
|
|
120
133
|
lastName: string;
|
|
134
|
+
firstName: string;
|
|
121
135
|
email: string;
|
|
136
|
+
createdAt: string;
|
|
137
|
+
id: string;
|
|
122
138
|
phoneNumbers: {
|
|
123
139
|
id: string;
|
|
124
140
|
phoneNumber: string;
|
|
125
141
|
isPrimary: boolean;
|
|
126
142
|
description?: string | null | undefined;
|
|
127
143
|
}[];
|
|
128
|
-
createdAt: string;
|
|
129
144
|
updatedAt: string;
|
|
145
|
+
office?: {
|
|
146
|
+
id: string;
|
|
147
|
+
name: string;
|
|
148
|
+
} | null | undefined;
|
|
130
149
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
131
|
-
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;
|
|
132
150
|
canImpersonateUsers?: {
|
|
133
|
-
id: string;
|
|
134
|
-
firstName: string;
|
|
135
151
|
lastName: string;
|
|
152
|
+
firstName: string;
|
|
153
|
+
id: string;
|
|
136
154
|
}[] | undefined;
|
|
137
155
|
} | undefined;
|
|
138
156
|
}, {
|
|
157
|
+
createdAt: string | Date;
|
|
139
158
|
id: string;
|
|
140
|
-
agentId: string;
|
|
141
159
|
phoneNumber: string;
|
|
142
160
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
143
|
-
createdAt: string | Date;
|
|
144
|
-
updatedAt: string | Date;
|
|
145
161
|
name: string;
|
|
162
|
+
updatedAt: string | Date;
|
|
163
|
+
agentId: string;
|
|
146
164
|
callCount: number;
|
|
147
165
|
lastCalledAt: string | Date | null;
|
|
148
166
|
cooldownUntil: string | Date | null;
|
|
@@ -151,12 +169,16 @@ export declare const OwnResearchLeadSchema: z.ZodObject<{
|
|
|
151
169
|
existsInLeadsTable: boolean;
|
|
152
170
|
originalLeadId: string | null;
|
|
153
171
|
agent?: {
|
|
154
|
-
id: string;
|
|
155
|
-
firstName: string;
|
|
156
172
|
lastName: string;
|
|
173
|
+
firstName: string;
|
|
157
174
|
email: string;
|
|
158
175
|
createdAt: string | Date;
|
|
176
|
+
id: string;
|
|
159
177
|
updatedAt: string | Date;
|
|
178
|
+
office?: {
|
|
179
|
+
id: string;
|
|
180
|
+
name: string;
|
|
181
|
+
} | null | undefined;
|
|
160
182
|
phoneNumbers?: {
|
|
161
183
|
id: string;
|
|
162
184
|
phoneNumber: string;
|
|
@@ -164,11 +186,10 @@ export declare const OwnResearchLeadSchema: z.ZodObject<{
|
|
|
164
186
|
isPrimary?: boolean | undefined;
|
|
165
187
|
}[] | undefined;
|
|
166
188
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
167
|
-
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;
|
|
168
189
|
canImpersonateUsers?: {
|
|
169
|
-
id: string;
|
|
170
|
-
firstName: string;
|
|
171
190
|
lastName: string;
|
|
191
|
+
firstName: string;
|
|
192
|
+
id: string;
|
|
172
193
|
}[] | undefined;
|
|
173
194
|
} | undefined;
|
|
174
195
|
}>;
|
|
@@ -219,49 +240,65 @@ export declare const CheckPhoneResponseSchema: z.ZodObject<{
|
|
|
219
240
|
isPrimary?: boolean | undefined;
|
|
220
241
|
}>, "many">>>;
|
|
221
242
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
|
|
222
|
-
office: z.ZodOptional<z.ZodNullable<z.
|
|
243
|
+
office: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
244
|
+
id: z.ZodString;
|
|
245
|
+
name: z.ZodString;
|
|
246
|
+
}, "strip", z.ZodTypeAny, {
|
|
247
|
+
id: string;
|
|
248
|
+
name: string;
|
|
249
|
+
}, {
|
|
250
|
+
id: string;
|
|
251
|
+
name: string;
|
|
252
|
+
}>>>;
|
|
223
253
|
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
224
254
|
id: z.ZodString;
|
|
225
255
|
firstName: z.ZodString;
|
|
226
256
|
lastName: z.ZodString;
|
|
227
257
|
}, "strip", z.ZodTypeAny, {
|
|
228
|
-
id: string;
|
|
229
|
-
firstName: string;
|
|
230
258
|
lastName: string;
|
|
231
|
-
}, {
|
|
232
|
-
id: string;
|
|
233
259
|
firstName: string;
|
|
260
|
+
id: string;
|
|
261
|
+
}, {
|
|
234
262
|
lastName: string;
|
|
263
|
+
firstName: string;
|
|
264
|
+
id: string;
|
|
235
265
|
}>, "many">>;
|
|
236
266
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
237
267
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
238
268
|
}, "strip", z.ZodTypeAny, {
|
|
239
|
-
id: string;
|
|
240
|
-
firstName: string;
|
|
241
269
|
lastName: string;
|
|
270
|
+
firstName: string;
|
|
242
271
|
email: string;
|
|
272
|
+
createdAt: string;
|
|
273
|
+
id: string;
|
|
243
274
|
phoneNumbers: {
|
|
244
275
|
id: string;
|
|
245
276
|
phoneNumber: string;
|
|
246
277
|
isPrimary: boolean;
|
|
247
278
|
description?: string | null | undefined;
|
|
248
279
|
}[];
|
|
249
|
-
createdAt: string;
|
|
250
280
|
updatedAt: string;
|
|
281
|
+
office?: {
|
|
282
|
+
id: string;
|
|
283
|
+
name: string;
|
|
284
|
+
} | null | undefined;
|
|
251
285
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
252
|
-
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;
|
|
253
286
|
canImpersonateUsers?: {
|
|
254
|
-
id: string;
|
|
255
|
-
firstName: string;
|
|
256
287
|
lastName: string;
|
|
288
|
+
firstName: string;
|
|
289
|
+
id: string;
|
|
257
290
|
}[] | undefined;
|
|
258
291
|
}, {
|
|
259
|
-
id: string;
|
|
260
|
-
firstName: string;
|
|
261
292
|
lastName: string;
|
|
293
|
+
firstName: string;
|
|
262
294
|
email: string;
|
|
263
295
|
createdAt: string | Date;
|
|
296
|
+
id: string;
|
|
264
297
|
updatedAt: string | Date;
|
|
298
|
+
office?: {
|
|
299
|
+
id: string;
|
|
300
|
+
name: string;
|
|
301
|
+
} | null | undefined;
|
|
265
302
|
phoneNumbers?: {
|
|
266
303
|
id: string;
|
|
267
304
|
phoneNumber: string;
|
|
@@ -269,11 +306,10 @@ export declare const CheckPhoneResponseSchema: z.ZodObject<{
|
|
|
269
306
|
isPrimary?: boolean | undefined;
|
|
270
307
|
}[] | undefined;
|
|
271
308
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
272
|
-
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;
|
|
273
309
|
canImpersonateUsers?: {
|
|
274
|
-
id: string;
|
|
275
|
-
firstName: string;
|
|
276
310
|
lastName: string;
|
|
311
|
+
firstName: string;
|
|
312
|
+
id: string;
|
|
277
313
|
}[] | undefined;
|
|
278
314
|
}>>;
|
|
279
315
|
name: z.ZodString;
|
|
@@ -289,13 +325,13 @@ export declare const CheckPhoneResponseSchema: z.ZodObject<{
|
|
|
289
325
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
290
326
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
291
327
|
}, "strip", z.ZodTypeAny, {
|
|
328
|
+
createdAt: string;
|
|
292
329
|
id: string;
|
|
293
|
-
agentId: string;
|
|
294
330
|
phoneNumber: string;
|
|
295
331
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
296
|
-
createdAt: string;
|
|
297
|
-
updatedAt: string;
|
|
298
332
|
name: string;
|
|
333
|
+
updatedAt: string;
|
|
334
|
+
agentId: string;
|
|
299
335
|
callCount: number;
|
|
300
336
|
lastCalledAt: string | null;
|
|
301
337
|
cooldownUntil: string | null;
|
|
@@ -304,34 +340,37 @@ export declare const CheckPhoneResponseSchema: z.ZodObject<{
|
|
|
304
340
|
existsInLeadsTable: boolean;
|
|
305
341
|
originalLeadId: string | null;
|
|
306
342
|
agent?: {
|
|
307
|
-
id: string;
|
|
308
|
-
firstName: string;
|
|
309
343
|
lastName: string;
|
|
344
|
+
firstName: string;
|
|
310
345
|
email: string;
|
|
346
|
+
createdAt: string;
|
|
347
|
+
id: string;
|
|
311
348
|
phoneNumbers: {
|
|
312
349
|
id: string;
|
|
313
350
|
phoneNumber: string;
|
|
314
351
|
isPrimary: boolean;
|
|
315
352
|
description?: string | null | undefined;
|
|
316
353
|
}[];
|
|
317
|
-
createdAt: string;
|
|
318
354
|
updatedAt: string;
|
|
355
|
+
office?: {
|
|
356
|
+
id: string;
|
|
357
|
+
name: string;
|
|
358
|
+
} | null | undefined;
|
|
319
359
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
320
|
-
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
321
360
|
canImpersonateUsers?: {
|
|
322
|
-
id: string;
|
|
323
|
-
firstName: string;
|
|
324
361
|
lastName: string;
|
|
362
|
+
firstName: string;
|
|
363
|
+
id: string;
|
|
325
364
|
}[] | undefined;
|
|
326
365
|
} | undefined;
|
|
327
366
|
}, {
|
|
367
|
+
createdAt: string | Date;
|
|
328
368
|
id: string;
|
|
329
|
-
agentId: string;
|
|
330
369
|
phoneNumber: string;
|
|
331
370
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
332
|
-
createdAt: string | Date;
|
|
333
|
-
updatedAt: string | Date;
|
|
334
371
|
name: string;
|
|
372
|
+
updatedAt: string | Date;
|
|
373
|
+
agentId: string;
|
|
335
374
|
callCount: number;
|
|
336
375
|
lastCalledAt: string | Date | null;
|
|
337
376
|
cooldownUntil: string | Date | null;
|
|
@@ -340,12 +379,16 @@ export declare const CheckPhoneResponseSchema: z.ZodObject<{
|
|
|
340
379
|
existsInLeadsTable: boolean;
|
|
341
380
|
originalLeadId: string | null;
|
|
342
381
|
agent?: {
|
|
343
|
-
id: string;
|
|
344
|
-
firstName: string;
|
|
345
382
|
lastName: string;
|
|
383
|
+
firstName: string;
|
|
346
384
|
email: string;
|
|
347
385
|
createdAt: string | Date;
|
|
386
|
+
id: string;
|
|
348
387
|
updatedAt: string | Date;
|
|
388
|
+
office?: {
|
|
389
|
+
id: string;
|
|
390
|
+
name: string;
|
|
391
|
+
} | null | undefined;
|
|
349
392
|
phoneNumbers?: {
|
|
350
393
|
id: string;
|
|
351
394
|
phoneNumber: string;
|
|
@@ -353,11 +396,10 @@ export declare const CheckPhoneResponseSchema: z.ZodObject<{
|
|
|
353
396
|
isPrimary?: boolean | undefined;
|
|
354
397
|
}[] | undefined;
|
|
355
398
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
356
|
-
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
357
399
|
canImpersonateUsers?: {
|
|
358
|
-
id: string;
|
|
359
|
-
firstName: string;
|
|
360
400
|
lastName: string;
|
|
401
|
+
firstName: string;
|
|
402
|
+
id: string;
|
|
361
403
|
}[] | undefined;
|
|
362
404
|
} | undefined;
|
|
363
405
|
}>>>;
|
|
@@ -376,13 +418,13 @@ export declare const CheckPhoneResponseSchema: z.ZodObject<{
|
|
|
376
418
|
cooldownUntil: string | null;
|
|
377
419
|
} | null | undefined;
|
|
378
420
|
ownResearchLead?: {
|
|
421
|
+
createdAt: string;
|
|
379
422
|
id: string;
|
|
380
|
-
agentId: string;
|
|
381
423
|
phoneNumber: string;
|
|
382
424
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
383
|
-
createdAt: string;
|
|
384
|
-
updatedAt: string;
|
|
385
425
|
name: string;
|
|
426
|
+
updatedAt: string;
|
|
427
|
+
agentId: string;
|
|
386
428
|
callCount: number;
|
|
387
429
|
lastCalledAt: string | null;
|
|
388
430
|
cooldownUntil: string | null;
|
|
@@ -391,24 +433,27 @@ export declare const CheckPhoneResponseSchema: z.ZodObject<{
|
|
|
391
433
|
existsInLeadsTable: boolean;
|
|
392
434
|
originalLeadId: string | null;
|
|
393
435
|
agent?: {
|
|
394
|
-
id: string;
|
|
395
|
-
firstName: string;
|
|
396
436
|
lastName: string;
|
|
437
|
+
firstName: string;
|
|
397
438
|
email: string;
|
|
439
|
+
createdAt: string;
|
|
440
|
+
id: string;
|
|
398
441
|
phoneNumbers: {
|
|
399
442
|
id: string;
|
|
400
443
|
phoneNumber: string;
|
|
401
444
|
isPrimary: boolean;
|
|
402
445
|
description?: string | null | undefined;
|
|
403
446
|
}[];
|
|
404
|
-
createdAt: string;
|
|
405
447
|
updatedAt: string;
|
|
448
|
+
office?: {
|
|
449
|
+
id: string;
|
|
450
|
+
name: string;
|
|
451
|
+
} | null | undefined;
|
|
406
452
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
407
|
-
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;
|
|
408
453
|
canImpersonateUsers?: {
|
|
409
|
-
id: string;
|
|
410
|
-
firstName: string;
|
|
411
454
|
lastName: string;
|
|
455
|
+
firstName: string;
|
|
456
|
+
id: string;
|
|
412
457
|
}[] | undefined;
|
|
413
458
|
} | undefined;
|
|
414
459
|
} | null | undefined;
|
|
@@ -425,13 +470,13 @@ export declare const CheckPhoneResponseSchema: z.ZodObject<{
|
|
|
425
470
|
cooldownUntil: string | Date | null;
|
|
426
471
|
} | null | undefined;
|
|
427
472
|
ownResearchLead?: {
|
|
473
|
+
createdAt: string | Date;
|
|
428
474
|
id: string;
|
|
429
|
-
agentId: string;
|
|
430
475
|
phoneNumber: string;
|
|
431
476
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
432
|
-
createdAt: string | Date;
|
|
433
|
-
updatedAt: string | Date;
|
|
434
477
|
name: string;
|
|
478
|
+
updatedAt: string | Date;
|
|
479
|
+
agentId: string;
|
|
435
480
|
callCount: number;
|
|
436
481
|
lastCalledAt: string | Date | null;
|
|
437
482
|
cooldownUntil: string | Date | null;
|
|
@@ -440,12 +485,16 @@ export declare const CheckPhoneResponseSchema: z.ZodObject<{
|
|
|
440
485
|
existsInLeadsTable: boolean;
|
|
441
486
|
originalLeadId: string | null;
|
|
442
487
|
agent?: {
|
|
443
|
-
id: string;
|
|
444
|
-
firstName: string;
|
|
445
488
|
lastName: string;
|
|
489
|
+
firstName: string;
|
|
446
490
|
email: string;
|
|
447
491
|
createdAt: string | Date;
|
|
492
|
+
id: string;
|
|
448
493
|
updatedAt: string | Date;
|
|
494
|
+
office?: {
|
|
495
|
+
id: string;
|
|
496
|
+
name: string;
|
|
497
|
+
} | null | undefined;
|
|
449
498
|
phoneNumbers?: {
|
|
450
499
|
id: string;
|
|
451
500
|
phoneNumber: string;
|
|
@@ -453,11 +502,10 @@ export declare const CheckPhoneResponseSchema: z.ZodObject<{
|
|
|
453
502
|
isPrimary?: boolean | undefined;
|
|
454
503
|
}[] | undefined;
|
|
455
504
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
456
|
-
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;
|
|
457
505
|
canImpersonateUsers?: {
|
|
458
|
-
id: string;
|
|
459
|
-
firstName: string;
|
|
460
506
|
lastName: string;
|
|
507
|
+
firstName: string;
|
|
508
|
+
id: string;
|
|
461
509
|
}[] | undefined;
|
|
462
510
|
} | undefined;
|
|
463
511
|
} | null | undefined;
|
|
@@ -525,49 +573,65 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
525
573
|
isPrimary?: boolean | undefined;
|
|
526
574
|
}>, "many">>>;
|
|
527
575
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
|
|
528
|
-
office: z.ZodOptional<z.ZodNullable<z.
|
|
576
|
+
office: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
577
|
+
id: z.ZodString;
|
|
578
|
+
name: z.ZodString;
|
|
579
|
+
}, "strip", z.ZodTypeAny, {
|
|
580
|
+
id: string;
|
|
581
|
+
name: string;
|
|
582
|
+
}, {
|
|
583
|
+
id: string;
|
|
584
|
+
name: string;
|
|
585
|
+
}>>>;
|
|
529
586
|
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
530
587
|
id: z.ZodString;
|
|
531
588
|
firstName: z.ZodString;
|
|
532
589
|
lastName: z.ZodString;
|
|
533
590
|
}, "strip", z.ZodTypeAny, {
|
|
534
|
-
id: string;
|
|
535
|
-
firstName: string;
|
|
536
591
|
lastName: string;
|
|
537
|
-
}, {
|
|
538
|
-
id: string;
|
|
539
592
|
firstName: string;
|
|
593
|
+
id: string;
|
|
594
|
+
}, {
|
|
540
595
|
lastName: string;
|
|
596
|
+
firstName: string;
|
|
597
|
+
id: string;
|
|
541
598
|
}>, "many">>;
|
|
542
599
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
543
600
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
544
601
|
}, "strip", z.ZodTypeAny, {
|
|
545
|
-
id: string;
|
|
546
|
-
firstName: string;
|
|
547
602
|
lastName: string;
|
|
603
|
+
firstName: string;
|
|
548
604
|
email: string;
|
|
605
|
+
createdAt: string;
|
|
606
|
+
id: string;
|
|
549
607
|
phoneNumbers: {
|
|
550
608
|
id: string;
|
|
551
609
|
phoneNumber: string;
|
|
552
610
|
isPrimary: boolean;
|
|
553
611
|
description?: string | null | undefined;
|
|
554
612
|
}[];
|
|
555
|
-
createdAt: string;
|
|
556
613
|
updatedAt: string;
|
|
614
|
+
office?: {
|
|
615
|
+
id: string;
|
|
616
|
+
name: string;
|
|
617
|
+
} | null | undefined;
|
|
557
618
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
558
|
-
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;
|
|
559
619
|
canImpersonateUsers?: {
|
|
560
|
-
id: string;
|
|
561
|
-
firstName: string;
|
|
562
620
|
lastName: string;
|
|
621
|
+
firstName: string;
|
|
622
|
+
id: string;
|
|
563
623
|
}[] | undefined;
|
|
564
624
|
}, {
|
|
565
|
-
id: string;
|
|
566
|
-
firstName: string;
|
|
567
625
|
lastName: string;
|
|
626
|
+
firstName: string;
|
|
568
627
|
email: string;
|
|
569
628
|
createdAt: string | Date;
|
|
629
|
+
id: string;
|
|
570
630
|
updatedAt: string | Date;
|
|
631
|
+
office?: {
|
|
632
|
+
id: string;
|
|
633
|
+
name: string;
|
|
634
|
+
} | null | undefined;
|
|
571
635
|
phoneNumbers?: {
|
|
572
636
|
id: string;
|
|
573
637
|
phoneNumber: string;
|
|
@@ -575,11 +639,10 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
575
639
|
isPrimary?: boolean | undefined;
|
|
576
640
|
}[] | undefined;
|
|
577
641
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
578
|
-
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;
|
|
579
642
|
canImpersonateUsers?: {
|
|
580
|
-
id: string;
|
|
581
|
-
firstName: string;
|
|
582
643
|
lastName: string;
|
|
644
|
+
firstName: string;
|
|
645
|
+
id: string;
|
|
583
646
|
}[] | undefined;
|
|
584
647
|
}>>;
|
|
585
648
|
assignedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -592,47 +655,50 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
592
655
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
593
656
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
594
657
|
}, "strip", z.ZodTypeAny, {
|
|
595
|
-
id: string;
|
|
596
658
|
createdAt: string;
|
|
597
|
-
|
|
659
|
+
id: string;
|
|
598
660
|
name: string;
|
|
661
|
+
updatedAt: string;
|
|
599
662
|
}, {
|
|
600
|
-
id: string;
|
|
601
663
|
createdAt: string | Date;
|
|
602
|
-
|
|
664
|
+
id: string;
|
|
603
665
|
name: string;
|
|
666
|
+
updatedAt: string | Date;
|
|
604
667
|
}>>>;
|
|
605
668
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
606
669
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
607
670
|
}, "strip", z.ZodTypeAny, {
|
|
671
|
+
createdAt: string;
|
|
608
672
|
id: string;
|
|
609
|
-
agentId: string | null;
|
|
610
673
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
611
|
-
createdAt: string;
|
|
612
674
|
updatedAt: string;
|
|
675
|
+
agentId: string | null;
|
|
613
676
|
leadId: string;
|
|
614
677
|
assignedAt: string;
|
|
615
678
|
assignedBy: string | null;
|
|
616
679
|
companyId: string | null;
|
|
617
680
|
agent?: {
|
|
618
|
-
id: string;
|
|
619
|
-
firstName: string;
|
|
620
681
|
lastName: string;
|
|
682
|
+
firstName: string;
|
|
621
683
|
email: string;
|
|
684
|
+
createdAt: string;
|
|
685
|
+
id: string;
|
|
622
686
|
phoneNumbers: {
|
|
623
687
|
id: string;
|
|
624
688
|
phoneNumber: string;
|
|
625
689
|
isPrimary: boolean;
|
|
626
690
|
description?: string | null | undefined;
|
|
627
691
|
}[];
|
|
628
|
-
createdAt: string;
|
|
629
692
|
updatedAt: string;
|
|
693
|
+
office?: {
|
|
694
|
+
id: string;
|
|
695
|
+
name: string;
|
|
696
|
+
} | null | undefined;
|
|
630
697
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
631
|
-
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;
|
|
632
698
|
canImpersonateUsers?: {
|
|
633
|
-
id: string;
|
|
634
|
-
firstName: string;
|
|
635
699
|
lastName: string;
|
|
700
|
+
firstName: string;
|
|
701
|
+
id: string;
|
|
636
702
|
}[] | undefined;
|
|
637
703
|
} | undefined;
|
|
638
704
|
lead?: {
|
|
@@ -640,28 +706,32 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
640
706
|
name: string;
|
|
641
707
|
} | undefined;
|
|
642
708
|
company?: {
|
|
643
|
-
id: string;
|
|
644
709
|
createdAt: string;
|
|
645
|
-
|
|
710
|
+
id: string;
|
|
646
711
|
name: string;
|
|
712
|
+
updatedAt: string;
|
|
647
713
|
} | null | undefined;
|
|
648
714
|
}, {
|
|
715
|
+
createdAt: string | Date;
|
|
649
716
|
id: string;
|
|
650
|
-
agentId: string | null;
|
|
651
717
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
652
|
-
createdAt: string | Date;
|
|
653
718
|
updatedAt: string | Date;
|
|
719
|
+
agentId: string | null;
|
|
654
720
|
leadId: string;
|
|
655
721
|
assignedAt: string | Date;
|
|
656
722
|
assignedBy: string | null;
|
|
657
723
|
companyId: string | null;
|
|
658
724
|
agent?: {
|
|
659
|
-
id: string;
|
|
660
|
-
firstName: string;
|
|
661
725
|
lastName: string;
|
|
726
|
+
firstName: string;
|
|
662
727
|
email: string;
|
|
663
728
|
createdAt: string | Date;
|
|
729
|
+
id: string;
|
|
664
730
|
updatedAt: string | Date;
|
|
731
|
+
office?: {
|
|
732
|
+
id: string;
|
|
733
|
+
name: string;
|
|
734
|
+
} | null | undefined;
|
|
665
735
|
phoneNumbers?: {
|
|
666
736
|
id: string;
|
|
667
737
|
phoneNumber: string;
|
|
@@ -669,11 +739,10 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
669
739
|
isPrimary?: boolean | undefined;
|
|
670
740
|
}[] | undefined;
|
|
671
741
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
672
|
-
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;
|
|
673
742
|
canImpersonateUsers?: {
|
|
674
|
-
id: string;
|
|
675
|
-
firstName: string;
|
|
676
743
|
lastName: string;
|
|
744
|
+
firstName: string;
|
|
745
|
+
id: string;
|
|
677
746
|
}[] | undefined;
|
|
678
747
|
} | undefined;
|
|
679
748
|
lead?: {
|
|
@@ -681,10 +750,10 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
681
750
|
name: string;
|
|
682
751
|
} | undefined;
|
|
683
752
|
company?: {
|
|
684
|
-
id: string;
|
|
685
753
|
createdAt: string | Date;
|
|
686
|
-
|
|
754
|
+
id: string;
|
|
687
755
|
name: string;
|
|
756
|
+
updatedAt: string | Date;
|
|
688
757
|
} | null | undefined;
|
|
689
758
|
}>>>;
|
|
690
759
|
ownResearchLead: z.ZodObject<{
|
|
@@ -712,49 +781,65 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
712
781
|
isPrimary?: boolean | undefined;
|
|
713
782
|
}>, "many">>>;
|
|
714
783
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
|
|
715
|
-
office: z.ZodOptional<z.ZodNullable<z.
|
|
716
|
-
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
784
|
+
office: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
717
785
|
id: z.ZodString;
|
|
718
|
-
|
|
719
|
-
lastName: z.ZodString;
|
|
786
|
+
name: z.ZodString;
|
|
720
787
|
}, "strip", z.ZodTypeAny, {
|
|
721
788
|
id: string;
|
|
722
|
-
|
|
723
|
-
lastName: string;
|
|
789
|
+
name: string;
|
|
724
790
|
}, {
|
|
725
791
|
id: string;
|
|
792
|
+
name: string;
|
|
793
|
+
}>>>;
|
|
794
|
+
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
795
|
+
id: z.ZodString;
|
|
796
|
+
firstName: z.ZodString;
|
|
797
|
+
lastName: z.ZodString;
|
|
798
|
+
}, "strip", z.ZodTypeAny, {
|
|
799
|
+
lastName: string;
|
|
726
800
|
firstName: string;
|
|
801
|
+
id: string;
|
|
802
|
+
}, {
|
|
727
803
|
lastName: string;
|
|
804
|
+
firstName: string;
|
|
805
|
+
id: string;
|
|
728
806
|
}>, "many">>;
|
|
729
807
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
730
808
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
731
809
|
}, "strip", z.ZodTypeAny, {
|
|
732
|
-
id: string;
|
|
733
|
-
firstName: string;
|
|
734
810
|
lastName: string;
|
|
811
|
+
firstName: string;
|
|
735
812
|
email: string;
|
|
813
|
+
createdAt: string;
|
|
814
|
+
id: string;
|
|
736
815
|
phoneNumbers: {
|
|
737
816
|
id: string;
|
|
738
817
|
phoneNumber: string;
|
|
739
818
|
isPrimary: boolean;
|
|
740
819
|
description?: string | null | undefined;
|
|
741
820
|
}[];
|
|
742
|
-
createdAt: string;
|
|
743
821
|
updatedAt: string;
|
|
822
|
+
office?: {
|
|
823
|
+
id: string;
|
|
824
|
+
name: string;
|
|
825
|
+
} | null | undefined;
|
|
744
826
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
745
|
-
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;
|
|
746
827
|
canImpersonateUsers?: {
|
|
747
|
-
id: string;
|
|
748
|
-
firstName: string;
|
|
749
828
|
lastName: string;
|
|
829
|
+
firstName: string;
|
|
830
|
+
id: string;
|
|
750
831
|
}[] | undefined;
|
|
751
832
|
}, {
|
|
752
|
-
id: string;
|
|
753
|
-
firstName: string;
|
|
754
833
|
lastName: string;
|
|
834
|
+
firstName: string;
|
|
755
835
|
email: string;
|
|
756
836
|
createdAt: string | Date;
|
|
837
|
+
id: string;
|
|
757
838
|
updatedAt: string | Date;
|
|
839
|
+
office?: {
|
|
840
|
+
id: string;
|
|
841
|
+
name: string;
|
|
842
|
+
} | null | undefined;
|
|
758
843
|
phoneNumbers?: {
|
|
759
844
|
id: string;
|
|
760
845
|
phoneNumber: string;
|
|
@@ -762,11 +847,10 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
762
847
|
isPrimary?: boolean | undefined;
|
|
763
848
|
}[] | undefined;
|
|
764
849
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
765
|
-
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;
|
|
766
850
|
canImpersonateUsers?: {
|
|
767
|
-
id: string;
|
|
768
|
-
firstName: string;
|
|
769
851
|
lastName: string;
|
|
852
|
+
firstName: string;
|
|
853
|
+
id: string;
|
|
770
854
|
}[] | undefined;
|
|
771
855
|
}>>;
|
|
772
856
|
name: z.ZodString;
|
|
@@ -782,13 +866,13 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
782
866
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
783
867
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
784
868
|
}, "strip", z.ZodTypeAny, {
|
|
869
|
+
createdAt: string;
|
|
785
870
|
id: string;
|
|
786
|
-
agentId: string;
|
|
787
871
|
phoneNumber: string;
|
|
788
872
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
789
|
-
createdAt: string;
|
|
790
|
-
updatedAt: string;
|
|
791
873
|
name: string;
|
|
874
|
+
updatedAt: string;
|
|
875
|
+
agentId: string;
|
|
792
876
|
callCount: number;
|
|
793
877
|
lastCalledAt: string | null;
|
|
794
878
|
cooldownUntil: string | null;
|
|
@@ -797,34 +881,37 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
797
881
|
existsInLeadsTable: boolean;
|
|
798
882
|
originalLeadId: string | null;
|
|
799
883
|
agent?: {
|
|
800
|
-
id: string;
|
|
801
|
-
firstName: string;
|
|
802
884
|
lastName: string;
|
|
885
|
+
firstName: string;
|
|
803
886
|
email: string;
|
|
887
|
+
createdAt: string;
|
|
888
|
+
id: string;
|
|
804
889
|
phoneNumbers: {
|
|
805
890
|
id: string;
|
|
806
891
|
phoneNumber: string;
|
|
807
892
|
isPrimary: boolean;
|
|
808
893
|
description?: string | null | undefined;
|
|
809
894
|
}[];
|
|
810
|
-
createdAt: string;
|
|
811
895
|
updatedAt: string;
|
|
896
|
+
office?: {
|
|
897
|
+
id: string;
|
|
898
|
+
name: string;
|
|
899
|
+
} | null | undefined;
|
|
812
900
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
813
|
-
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;
|
|
814
901
|
canImpersonateUsers?: {
|
|
815
|
-
id: string;
|
|
816
|
-
firstName: string;
|
|
817
902
|
lastName: string;
|
|
903
|
+
firstName: string;
|
|
904
|
+
id: string;
|
|
818
905
|
}[] | undefined;
|
|
819
906
|
} | undefined;
|
|
820
907
|
}, {
|
|
908
|
+
createdAt: string | Date;
|
|
821
909
|
id: string;
|
|
822
|
-
agentId: string;
|
|
823
910
|
phoneNumber: string;
|
|
824
911
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
825
|
-
createdAt: string | Date;
|
|
826
|
-
updatedAt: string | Date;
|
|
827
912
|
name: string;
|
|
913
|
+
updatedAt: string | Date;
|
|
914
|
+
agentId: string;
|
|
828
915
|
callCount: number;
|
|
829
916
|
lastCalledAt: string | Date | null;
|
|
830
917
|
cooldownUntil: string | Date | null;
|
|
@@ -833,12 +920,16 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
833
920
|
existsInLeadsTable: boolean;
|
|
834
921
|
originalLeadId: string | null;
|
|
835
922
|
agent?: {
|
|
836
|
-
id: string;
|
|
837
|
-
firstName: string;
|
|
838
923
|
lastName: string;
|
|
924
|
+
firstName: string;
|
|
839
925
|
email: string;
|
|
840
926
|
createdAt: string | Date;
|
|
927
|
+
id: string;
|
|
841
928
|
updatedAt: string | Date;
|
|
929
|
+
office?: {
|
|
930
|
+
id: string;
|
|
931
|
+
name: string;
|
|
932
|
+
} | null | undefined;
|
|
842
933
|
phoneNumbers?: {
|
|
843
934
|
id: string;
|
|
844
935
|
phoneNumber: string;
|
|
@@ -846,23 +937,22 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
846
937
|
isPrimary?: boolean | undefined;
|
|
847
938
|
}[] | undefined;
|
|
848
939
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
849
|
-
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;
|
|
850
940
|
canImpersonateUsers?: {
|
|
851
|
-
id: string;
|
|
852
|
-
firstName: string;
|
|
853
941
|
lastName: string;
|
|
942
|
+
firstName: string;
|
|
943
|
+
id: string;
|
|
854
944
|
}[] | undefined;
|
|
855
945
|
} | undefined;
|
|
856
946
|
}>;
|
|
857
947
|
}, "strip", z.ZodTypeAny, {
|
|
858
948
|
ownResearchLead: {
|
|
949
|
+
createdAt: string;
|
|
859
950
|
id: string;
|
|
860
|
-
agentId: string;
|
|
861
951
|
phoneNumber: string;
|
|
862
952
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
863
|
-
createdAt: string;
|
|
864
|
-
updatedAt: string;
|
|
865
953
|
name: string;
|
|
954
|
+
updatedAt: string;
|
|
955
|
+
agentId: string;
|
|
866
956
|
callCount: number;
|
|
867
957
|
lastCalledAt: string | null;
|
|
868
958
|
cooldownUntil: string | null;
|
|
@@ -871,56 +961,62 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
871
961
|
existsInLeadsTable: boolean;
|
|
872
962
|
originalLeadId: string | null;
|
|
873
963
|
agent?: {
|
|
874
|
-
id: string;
|
|
875
|
-
firstName: string;
|
|
876
964
|
lastName: string;
|
|
965
|
+
firstName: string;
|
|
877
966
|
email: string;
|
|
967
|
+
createdAt: string;
|
|
968
|
+
id: string;
|
|
878
969
|
phoneNumbers: {
|
|
879
970
|
id: string;
|
|
880
971
|
phoneNumber: string;
|
|
881
972
|
isPrimary: boolean;
|
|
882
973
|
description?: string | null | undefined;
|
|
883
974
|
}[];
|
|
884
|
-
createdAt: string;
|
|
885
975
|
updatedAt: string;
|
|
976
|
+
office?: {
|
|
977
|
+
id: string;
|
|
978
|
+
name: string;
|
|
979
|
+
} | null | undefined;
|
|
886
980
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
887
|
-
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;
|
|
888
981
|
canImpersonateUsers?: {
|
|
889
|
-
id: string;
|
|
890
|
-
firstName: string;
|
|
891
982
|
lastName: string;
|
|
983
|
+
firstName: string;
|
|
984
|
+
id: string;
|
|
892
985
|
}[] | undefined;
|
|
893
986
|
} | undefined;
|
|
894
987
|
};
|
|
895
988
|
assignment?: {
|
|
989
|
+
createdAt: string;
|
|
896
990
|
id: string;
|
|
897
|
-
agentId: string | null;
|
|
898
991
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
899
|
-
createdAt: string;
|
|
900
992
|
updatedAt: string;
|
|
993
|
+
agentId: string | null;
|
|
901
994
|
leadId: string;
|
|
902
995
|
assignedAt: string;
|
|
903
996
|
assignedBy: string | null;
|
|
904
997
|
companyId: string | null;
|
|
905
998
|
agent?: {
|
|
906
|
-
id: string;
|
|
907
|
-
firstName: string;
|
|
908
999
|
lastName: string;
|
|
1000
|
+
firstName: string;
|
|
909
1001
|
email: string;
|
|
1002
|
+
createdAt: string;
|
|
1003
|
+
id: string;
|
|
910
1004
|
phoneNumbers: {
|
|
911
1005
|
id: string;
|
|
912
1006
|
phoneNumber: string;
|
|
913
1007
|
isPrimary: boolean;
|
|
914
1008
|
description?: string | null | undefined;
|
|
915
1009
|
}[];
|
|
916
|
-
createdAt: string;
|
|
917
1010
|
updatedAt: string;
|
|
1011
|
+
office?: {
|
|
1012
|
+
id: string;
|
|
1013
|
+
name: string;
|
|
1014
|
+
} | null | undefined;
|
|
918
1015
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
919
|
-
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;
|
|
920
1016
|
canImpersonateUsers?: {
|
|
921
|
-
id: string;
|
|
922
|
-
firstName: string;
|
|
923
1017
|
lastName: string;
|
|
1018
|
+
firstName: string;
|
|
1019
|
+
id: string;
|
|
924
1020
|
}[] | undefined;
|
|
925
1021
|
} | undefined;
|
|
926
1022
|
lead?: {
|
|
@@ -928,21 +1024,21 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
928
1024
|
name: string;
|
|
929
1025
|
} | undefined;
|
|
930
1026
|
company?: {
|
|
931
|
-
id: string;
|
|
932
1027
|
createdAt: string;
|
|
933
|
-
|
|
1028
|
+
id: string;
|
|
934
1029
|
name: string;
|
|
1030
|
+
updatedAt: string;
|
|
935
1031
|
} | null | undefined;
|
|
936
1032
|
} | null | undefined;
|
|
937
1033
|
}, {
|
|
938
1034
|
ownResearchLead: {
|
|
1035
|
+
createdAt: string | Date;
|
|
939
1036
|
id: string;
|
|
940
|
-
agentId: string;
|
|
941
1037
|
phoneNumber: string;
|
|
942
1038
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
943
|
-
createdAt: string | Date;
|
|
944
|
-
updatedAt: string | Date;
|
|
945
1039
|
name: string;
|
|
1040
|
+
updatedAt: string | Date;
|
|
1041
|
+
agentId: string;
|
|
946
1042
|
callCount: number;
|
|
947
1043
|
lastCalledAt: string | Date | null;
|
|
948
1044
|
cooldownUntil: string | Date | null;
|
|
@@ -951,12 +1047,16 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
951
1047
|
existsInLeadsTable: boolean;
|
|
952
1048
|
originalLeadId: string | null;
|
|
953
1049
|
agent?: {
|
|
954
|
-
id: string;
|
|
955
|
-
firstName: string;
|
|
956
1050
|
lastName: string;
|
|
1051
|
+
firstName: string;
|
|
957
1052
|
email: string;
|
|
958
1053
|
createdAt: string | Date;
|
|
1054
|
+
id: string;
|
|
959
1055
|
updatedAt: string | Date;
|
|
1056
|
+
office?: {
|
|
1057
|
+
id: string;
|
|
1058
|
+
name: string;
|
|
1059
|
+
} | null | undefined;
|
|
960
1060
|
phoneNumbers?: {
|
|
961
1061
|
id: string;
|
|
962
1062
|
phoneNumber: string;
|
|
@@ -964,31 +1064,34 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
964
1064
|
isPrimary?: boolean | undefined;
|
|
965
1065
|
}[] | undefined;
|
|
966
1066
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
967
|
-
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;
|
|
968
1067
|
canImpersonateUsers?: {
|
|
969
|
-
id: string;
|
|
970
|
-
firstName: string;
|
|
971
1068
|
lastName: string;
|
|
1069
|
+
firstName: string;
|
|
1070
|
+
id: string;
|
|
972
1071
|
}[] | undefined;
|
|
973
1072
|
} | undefined;
|
|
974
1073
|
};
|
|
975
1074
|
assignment?: {
|
|
1075
|
+
createdAt: string | Date;
|
|
976
1076
|
id: string;
|
|
977
|
-
agentId: string | null;
|
|
978
1077
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
979
|
-
createdAt: string | Date;
|
|
980
1078
|
updatedAt: string | Date;
|
|
1079
|
+
agentId: string | null;
|
|
981
1080
|
leadId: string;
|
|
982
1081
|
assignedAt: string | Date;
|
|
983
1082
|
assignedBy: string | null;
|
|
984
1083
|
companyId: string | null;
|
|
985
1084
|
agent?: {
|
|
986
|
-
id: string;
|
|
987
|
-
firstName: string;
|
|
988
1085
|
lastName: string;
|
|
1086
|
+
firstName: string;
|
|
989
1087
|
email: string;
|
|
990
1088
|
createdAt: string | Date;
|
|
1089
|
+
id: string;
|
|
991
1090
|
updatedAt: string | Date;
|
|
1091
|
+
office?: {
|
|
1092
|
+
id: string;
|
|
1093
|
+
name: string;
|
|
1094
|
+
} | null | undefined;
|
|
992
1095
|
phoneNumbers?: {
|
|
993
1096
|
id: string;
|
|
994
1097
|
phoneNumber: string;
|
|
@@ -996,11 +1099,10 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
996
1099
|
isPrimary?: boolean | undefined;
|
|
997
1100
|
}[] | undefined;
|
|
998
1101
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
999
|
-
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;
|
|
1000
1102
|
canImpersonateUsers?: {
|
|
1001
|
-
id: string;
|
|
1002
|
-
firstName: string;
|
|
1003
1103
|
lastName: string;
|
|
1104
|
+
firstName: string;
|
|
1105
|
+
id: string;
|
|
1004
1106
|
}[] | undefined;
|
|
1005
1107
|
} | undefined;
|
|
1006
1108
|
lead?: {
|
|
@@ -1008,10 +1110,10 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
1008
1110
|
name: string;
|
|
1009
1111
|
} | undefined;
|
|
1010
1112
|
company?: {
|
|
1011
|
-
id: string;
|
|
1012
1113
|
createdAt: string | Date;
|
|
1013
|
-
|
|
1114
|
+
id: string;
|
|
1014
1115
|
name: string;
|
|
1116
|
+
updatedAt: string | Date;
|
|
1015
1117
|
} | null | undefined;
|
|
1016
1118
|
} | null | undefined;
|
|
1017
1119
|
}>;
|
|
@@ -1051,49 +1153,65 @@ export declare const AddOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1051
1153
|
isPrimary?: boolean | undefined;
|
|
1052
1154
|
}>, "many">>>;
|
|
1053
1155
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
|
|
1054
|
-
office: z.ZodOptional<z.ZodNullable<z.
|
|
1156
|
+
office: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1157
|
+
id: z.ZodString;
|
|
1158
|
+
name: z.ZodString;
|
|
1159
|
+
}, "strip", z.ZodTypeAny, {
|
|
1160
|
+
id: string;
|
|
1161
|
+
name: string;
|
|
1162
|
+
}, {
|
|
1163
|
+
id: string;
|
|
1164
|
+
name: string;
|
|
1165
|
+
}>>>;
|
|
1055
1166
|
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1056
1167
|
id: z.ZodString;
|
|
1057
1168
|
firstName: z.ZodString;
|
|
1058
1169
|
lastName: z.ZodString;
|
|
1059
1170
|
}, "strip", z.ZodTypeAny, {
|
|
1060
|
-
id: string;
|
|
1061
|
-
firstName: string;
|
|
1062
1171
|
lastName: string;
|
|
1063
|
-
}, {
|
|
1064
|
-
id: string;
|
|
1065
1172
|
firstName: string;
|
|
1173
|
+
id: string;
|
|
1174
|
+
}, {
|
|
1066
1175
|
lastName: string;
|
|
1176
|
+
firstName: string;
|
|
1177
|
+
id: string;
|
|
1067
1178
|
}>, "many">>;
|
|
1068
1179
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1069
1180
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1070
1181
|
}, "strip", z.ZodTypeAny, {
|
|
1071
|
-
id: string;
|
|
1072
|
-
firstName: string;
|
|
1073
1182
|
lastName: string;
|
|
1183
|
+
firstName: string;
|
|
1074
1184
|
email: string;
|
|
1185
|
+
createdAt: string;
|
|
1186
|
+
id: string;
|
|
1075
1187
|
phoneNumbers: {
|
|
1076
1188
|
id: string;
|
|
1077
1189
|
phoneNumber: string;
|
|
1078
1190
|
isPrimary: boolean;
|
|
1079
1191
|
description?: string | null | undefined;
|
|
1080
1192
|
}[];
|
|
1081
|
-
createdAt: string;
|
|
1082
1193
|
updatedAt: string;
|
|
1194
|
+
office?: {
|
|
1195
|
+
id: string;
|
|
1196
|
+
name: string;
|
|
1197
|
+
} | null | undefined;
|
|
1083
1198
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1084
|
-
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;
|
|
1085
1199
|
canImpersonateUsers?: {
|
|
1086
|
-
id: string;
|
|
1087
|
-
firstName: string;
|
|
1088
1200
|
lastName: string;
|
|
1201
|
+
firstName: string;
|
|
1202
|
+
id: string;
|
|
1089
1203
|
}[] | undefined;
|
|
1090
1204
|
}, {
|
|
1091
|
-
id: string;
|
|
1092
|
-
firstName: string;
|
|
1093
1205
|
lastName: string;
|
|
1206
|
+
firstName: string;
|
|
1094
1207
|
email: string;
|
|
1095
1208
|
createdAt: string | Date;
|
|
1209
|
+
id: string;
|
|
1096
1210
|
updatedAt: string | Date;
|
|
1211
|
+
office?: {
|
|
1212
|
+
id: string;
|
|
1213
|
+
name: string;
|
|
1214
|
+
} | null | undefined;
|
|
1097
1215
|
phoneNumbers?: {
|
|
1098
1216
|
id: string;
|
|
1099
1217
|
phoneNumber: string;
|
|
@@ -1101,11 +1219,10 @@ export declare const AddOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1101
1219
|
isPrimary?: boolean | undefined;
|
|
1102
1220
|
}[] | undefined;
|
|
1103
1221
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1104
|
-
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;
|
|
1105
1222
|
canImpersonateUsers?: {
|
|
1106
|
-
id: string;
|
|
1107
|
-
firstName: string;
|
|
1108
1223
|
lastName: string;
|
|
1224
|
+
firstName: string;
|
|
1225
|
+
id: string;
|
|
1109
1226
|
}[] | undefined;
|
|
1110
1227
|
}>>;
|
|
1111
1228
|
name: z.ZodString;
|
|
@@ -1121,13 +1238,13 @@ export declare const AddOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1121
1238
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1122
1239
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1123
1240
|
}, "strip", z.ZodTypeAny, {
|
|
1241
|
+
createdAt: string;
|
|
1124
1242
|
id: string;
|
|
1125
|
-
agentId: string;
|
|
1126
1243
|
phoneNumber: string;
|
|
1127
1244
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
1128
|
-
createdAt: string;
|
|
1129
|
-
updatedAt: string;
|
|
1130
1245
|
name: string;
|
|
1246
|
+
updatedAt: string;
|
|
1247
|
+
agentId: string;
|
|
1131
1248
|
callCount: number;
|
|
1132
1249
|
lastCalledAt: string | null;
|
|
1133
1250
|
cooldownUntil: string | null;
|
|
@@ -1136,34 +1253,37 @@ export declare const AddOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1136
1253
|
existsInLeadsTable: boolean;
|
|
1137
1254
|
originalLeadId: string | null;
|
|
1138
1255
|
agent?: {
|
|
1139
|
-
id: string;
|
|
1140
|
-
firstName: string;
|
|
1141
1256
|
lastName: string;
|
|
1257
|
+
firstName: string;
|
|
1142
1258
|
email: string;
|
|
1259
|
+
createdAt: string;
|
|
1260
|
+
id: string;
|
|
1143
1261
|
phoneNumbers: {
|
|
1144
1262
|
id: string;
|
|
1145
1263
|
phoneNumber: string;
|
|
1146
1264
|
isPrimary: boolean;
|
|
1147
1265
|
description?: string | null | undefined;
|
|
1148
1266
|
}[];
|
|
1149
|
-
createdAt: string;
|
|
1150
1267
|
updatedAt: string;
|
|
1268
|
+
office?: {
|
|
1269
|
+
id: string;
|
|
1270
|
+
name: string;
|
|
1271
|
+
} | null | undefined;
|
|
1151
1272
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1152
|
-
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;
|
|
1153
1273
|
canImpersonateUsers?: {
|
|
1154
|
-
id: string;
|
|
1155
|
-
firstName: string;
|
|
1156
1274
|
lastName: string;
|
|
1275
|
+
firstName: string;
|
|
1276
|
+
id: string;
|
|
1157
1277
|
}[] | undefined;
|
|
1158
1278
|
} | undefined;
|
|
1159
1279
|
}, {
|
|
1280
|
+
createdAt: string | Date;
|
|
1160
1281
|
id: string;
|
|
1161
|
-
agentId: string;
|
|
1162
1282
|
phoneNumber: string;
|
|
1163
1283
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
1164
|
-
createdAt: string | Date;
|
|
1165
|
-
updatedAt: string | Date;
|
|
1166
1284
|
name: string;
|
|
1285
|
+
updatedAt: string | Date;
|
|
1286
|
+
agentId: string;
|
|
1167
1287
|
callCount: number;
|
|
1168
1288
|
lastCalledAt: string | Date | null;
|
|
1169
1289
|
cooldownUntil: string | Date | null;
|
|
@@ -1172,12 +1292,16 @@ export declare const AddOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1172
1292
|
existsInLeadsTable: boolean;
|
|
1173
1293
|
originalLeadId: string | null;
|
|
1174
1294
|
agent?: {
|
|
1175
|
-
id: string;
|
|
1176
|
-
firstName: string;
|
|
1177
1295
|
lastName: string;
|
|
1296
|
+
firstName: string;
|
|
1178
1297
|
email: string;
|
|
1179
1298
|
createdAt: string | Date;
|
|
1299
|
+
id: string;
|
|
1180
1300
|
updatedAt: string | Date;
|
|
1301
|
+
office?: {
|
|
1302
|
+
id: string;
|
|
1303
|
+
name: string;
|
|
1304
|
+
} | null | undefined;
|
|
1181
1305
|
phoneNumbers?: {
|
|
1182
1306
|
id: string;
|
|
1183
1307
|
phoneNumber: string;
|
|
@@ -1185,23 +1309,22 @@ export declare const AddOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1185
1309
|
isPrimary?: boolean | undefined;
|
|
1186
1310
|
}[] | undefined;
|
|
1187
1311
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1188
|
-
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;
|
|
1189
1312
|
canImpersonateUsers?: {
|
|
1190
|
-
id: string;
|
|
1191
|
-
firstName: string;
|
|
1192
1313
|
lastName: string;
|
|
1314
|
+
firstName: string;
|
|
1315
|
+
id: string;
|
|
1193
1316
|
}[] | undefined;
|
|
1194
1317
|
} | undefined;
|
|
1195
1318
|
}>;
|
|
1196
1319
|
}, "strip", z.ZodTypeAny, {
|
|
1197
1320
|
ownResearchLead: {
|
|
1321
|
+
createdAt: string;
|
|
1198
1322
|
id: string;
|
|
1199
|
-
agentId: string;
|
|
1200
1323
|
phoneNumber: string;
|
|
1201
1324
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
1202
|
-
createdAt: string;
|
|
1203
|
-
updatedAt: string;
|
|
1204
1325
|
name: string;
|
|
1326
|
+
updatedAt: string;
|
|
1327
|
+
agentId: string;
|
|
1205
1328
|
callCount: number;
|
|
1206
1329
|
lastCalledAt: string | null;
|
|
1207
1330
|
cooldownUntil: string | null;
|
|
@@ -1210,36 +1333,39 @@ export declare const AddOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1210
1333
|
existsInLeadsTable: boolean;
|
|
1211
1334
|
originalLeadId: string | null;
|
|
1212
1335
|
agent?: {
|
|
1213
|
-
id: string;
|
|
1214
|
-
firstName: string;
|
|
1215
1336
|
lastName: string;
|
|
1337
|
+
firstName: string;
|
|
1216
1338
|
email: string;
|
|
1339
|
+
createdAt: string;
|
|
1340
|
+
id: string;
|
|
1217
1341
|
phoneNumbers: {
|
|
1218
1342
|
id: string;
|
|
1219
1343
|
phoneNumber: string;
|
|
1220
1344
|
isPrimary: boolean;
|
|
1221
1345
|
description?: string | null | undefined;
|
|
1222
1346
|
}[];
|
|
1223
|
-
createdAt: string;
|
|
1224
1347
|
updatedAt: string;
|
|
1348
|
+
office?: {
|
|
1349
|
+
id: string;
|
|
1350
|
+
name: string;
|
|
1351
|
+
} | null | undefined;
|
|
1225
1352
|
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
1353
|
canImpersonateUsers?: {
|
|
1228
|
-
id: string;
|
|
1229
|
-
firstName: string;
|
|
1230
1354
|
lastName: string;
|
|
1355
|
+
firstName: string;
|
|
1356
|
+
id: string;
|
|
1231
1357
|
}[] | undefined;
|
|
1232
1358
|
} | undefined;
|
|
1233
1359
|
};
|
|
1234
1360
|
}, {
|
|
1235
1361
|
ownResearchLead: {
|
|
1362
|
+
createdAt: string | Date;
|
|
1236
1363
|
id: string;
|
|
1237
|
-
agentId: string;
|
|
1238
1364
|
phoneNumber: string;
|
|
1239
1365
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
1240
|
-
createdAt: string | Date;
|
|
1241
|
-
updatedAt: string | Date;
|
|
1242
1366
|
name: string;
|
|
1367
|
+
updatedAt: string | Date;
|
|
1368
|
+
agentId: string;
|
|
1243
1369
|
callCount: number;
|
|
1244
1370
|
lastCalledAt: string | Date | null;
|
|
1245
1371
|
cooldownUntil: string | Date | null;
|
|
@@ -1248,12 +1374,16 @@ export declare const AddOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1248
1374
|
existsInLeadsTable: boolean;
|
|
1249
1375
|
originalLeadId: string | null;
|
|
1250
1376
|
agent?: {
|
|
1251
|
-
id: string;
|
|
1252
|
-
firstName: string;
|
|
1253
1377
|
lastName: string;
|
|
1378
|
+
firstName: string;
|
|
1254
1379
|
email: string;
|
|
1255
1380
|
createdAt: string | Date;
|
|
1381
|
+
id: string;
|
|
1256
1382
|
updatedAt: string | Date;
|
|
1383
|
+
office?: {
|
|
1384
|
+
id: string;
|
|
1385
|
+
name: string;
|
|
1386
|
+
} | null | undefined;
|
|
1257
1387
|
phoneNumbers?: {
|
|
1258
1388
|
id: string;
|
|
1259
1389
|
phoneNumber: string;
|
|
@@ -1261,11 +1391,10 @@ export declare const AddOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1261
1391
|
isPrimary?: boolean | undefined;
|
|
1262
1392
|
}[] | undefined;
|
|
1263
1393
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1264
|
-
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;
|
|
1265
1394
|
canImpersonateUsers?: {
|
|
1266
|
-
id: string;
|
|
1267
|
-
firstName: string;
|
|
1268
1395
|
lastName: string;
|
|
1396
|
+
firstName: string;
|
|
1397
|
+
id: string;
|
|
1269
1398
|
}[] | undefined;
|
|
1270
1399
|
} | undefined;
|
|
1271
1400
|
};
|
|
@@ -1307,26 +1436,26 @@ export declare const FilterOwnResearchLeadSchema: z.ZodObject<{
|
|
|
1307
1436
|
phoneNumber?: string | undefined;
|
|
1308
1437
|
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
|
|
1309
1438
|
name?: string | undefined;
|
|
1439
|
+
sortBy?: "createdAt" | "name" | "updatedAt" | "callCount" | "lastCalledAt" | undefined;
|
|
1440
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1310
1441
|
lastCalledAt?: {
|
|
1311
1442
|
from?: string | null | undefined;
|
|
1312
1443
|
to?: string | null | undefined;
|
|
1313
1444
|
} | undefined;
|
|
1314
1445
|
minTotalCalls?: number | undefined;
|
|
1315
|
-
sortBy?: "createdAt" | "updatedAt" | "name" | "callCount" | "lastCalledAt" | undefined;
|
|
1316
|
-
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1317
1446
|
}, {
|
|
1318
1447
|
phoneNumber?: string | undefined;
|
|
1319
1448
|
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
|
|
1320
1449
|
name?: string | undefined;
|
|
1450
|
+
limit?: number | undefined;
|
|
1451
|
+
page?: number | undefined;
|
|
1452
|
+
sortBy?: "createdAt" | "name" | "updatedAt" | "callCount" | "lastCalledAt" | undefined;
|
|
1453
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1321
1454
|
lastCalledAt?: {
|
|
1322
1455
|
from?: string | null | undefined;
|
|
1323
1456
|
to?: string | null | undefined;
|
|
1324
1457
|
} | undefined;
|
|
1325
|
-
limit?: number | undefined;
|
|
1326
|
-
page?: number | undefined;
|
|
1327
1458
|
minTotalCalls?: number | undefined;
|
|
1328
|
-
sortBy?: "createdAt" | "updatedAt" | "name" | "callCount" | "lastCalledAt" | undefined;
|
|
1329
|
-
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1330
1459
|
}>;
|
|
1331
1460
|
export declare const PaginatedOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
1332
1461
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -1354,49 +1483,65 @@ export declare const PaginatedOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1354
1483
|
isPrimary?: boolean | undefined;
|
|
1355
1484
|
}>, "many">>>;
|
|
1356
1485
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
|
|
1357
|
-
office: z.ZodOptional<z.ZodNullable<z.
|
|
1486
|
+
office: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1487
|
+
id: z.ZodString;
|
|
1488
|
+
name: z.ZodString;
|
|
1489
|
+
}, "strip", z.ZodTypeAny, {
|
|
1490
|
+
id: string;
|
|
1491
|
+
name: string;
|
|
1492
|
+
}, {
|
|
1493
|
+
id: string;
|
|
1494
|
+
name: string;
|
|
1495
|
+
}>>>;
|
|
1358
1496
|
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1359
1497
|
id: z.ZodString;
|
|
1360
1498
|
firstName: z.ZodString;
|
|
1361
1499
|
lastName: z.ZodString;
|
|
1362
1500
|
}, "strip", z.ZodTypeAny, {
|
|
1363
|
-
id: string;
|
|
1364
|
-
firstName: string;
|
|
1365
1501
|
lastName: string;
|
|
1366
|
-
}, {
|
|
1367
|
-
id: string;
|
|
1368
1502
|
firstName: string;
|
|
1503
|
+
id: string;
|
|
1504
|
+
}, {
|
|
1369
1505
|
lastName: string;
|
|
1506
|
+
firstName: string;
|
|
1507
|
+
id: string;
|
|
1370
1508
|
}>, "many">>;
|
|
1371
1509
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1372
1510
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1373
1511
|
}, "strip", z.ZodTypeAny, {
|
|
1374
|
-
id: string;
|
|
1375
|
-
firstName: string;
|
|
1376
1512
|
lastName: string;
|
|
1513
|
+
firstName: string;
|
|
1377
1514
|
email: string;
|
|
1515
|
+
createdAt: string;
|
|
1516
|
+
id: string;
|
|
1378
1517
|
phoneNumbers: {
|
|
1379
1518
|
id: string;
|
|
1380
1519
|
phoneNumber: string;
|
|
1381
1520
|
isPrimary: boolean;
|
|
1382
1521
|
description?: string | null | undefined;
|
|
1383
1522
|
}[];
|
|
1384
|
-
createdAt: string;
|
|
1385
1523
|
updatedAt: string;
|
|
1524
|
+
office?: {
|
|
1525
|
+
id: string;
|
|
1526
|
+
name: string;
|
|
1527
|
+
} | null | undefined;
|
|
1386
1528
|
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
1529
|
canImpersonateUsers?: {
|
|
1389
|
-
id: string;
|
|
1390
|
-
firstName: string;
|
|
1391
1530
|
lastName: string;
|
|
1531
|
+
firstName: string;
|
|
1532
|
+
id: string;
|
|
1392
1533
|
}[] | undefined;
|
|
1393
1534
|
}, {
|
|
1394
|
-
id: string;
|
|
1395
|
-
firstName: string;
|
|
1396
1535
|
lastName: string;
|
|
1536
|
+
firstName: string;
|
|
1397
1537
|
email: string;
|
|
1398
1538
|
createdAt: string | Date;
|
|
1539
|
+
id: string;
|
|
1399
1540
|
updatedAt: string | Date;
|
|
1541
|
+
office?: {
|
|
1542
|
+
id: string;
|
|
1543
|
+
name: string;
|
|
1544
|
+
} | null | undefined;
|
|
1400
1545
|
phoneNumbers?: {
|
|
1401
1546
|
id: string;
|
|
1402
1547
|
phoneNumber: string;
|
|
@@ -1404,11 +1549,10 @@ export declare const PaginatedOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1404
1549
|
isPrimary?: boolean | undefined;
|
|
1405
1550
|
}[] | undefined;
|
|
1406
1551
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1407
|
-
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;
|
|
1408
1552
|
canImpersonateUsers?: {
|
|
1409
|
-
id: string;
|
|
1410
|
-
firstName: string;
|
|
1411
1553
|
lastName: string;
|
|
1554
|
+
firstName: string;
|
|
1555
|
+
id: string;
|
|
1412
1556
|
}[] | undefined;
|
|
1413
1557
|
}>>;
|
|
1414
1558
|
name: z.ZodString;
|
|
@@ -1424,13 +1568,13 @@ export declare const PaginatedOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1424
1568
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1425
1569
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1426
1570
|
}, "strip", z.ZodTypeAny, {
|
|
1571
|
+
createdAt: string;
|
|
1427
1572
|
id: string;
|
|
1428
|
-
agentId: string;
|
|
1429
1573
|
phoneNumber: string;
|
|
1430
1574
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
1431
|
-
createdAt: string;
|
|
1432
|
-
updatedAt: string;
|
|
1433
1575
|
name: string;
|
|
1576
|
+
updatedAt: string;
|
|
1577
|
+
agentId: string;
|
|
1434
1578
|
callCount: number;
|
|
1435
1579
|
lastCalledAt: string | null;
|
|
1436
1580
|
cooldownUntil: string | null;
|
|
@@ -1439,34 +1583,37 @@ export declare const PaginatedOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1439
1583
|
existsInLeadsTable: boolean;
|
|
1440
1584
|
originalLeadId: string | null;
|
|
1441
1585
|
agent?: {
|
|
1442
|
-
id: string;
|
|
1443
|
-
firstName: string;
|
|
1444
1586
|
lastName: string;
|
|
1587
|
+
firstName: string;
|
|
1445
1588
|
email: string;
|
|
1589
|
+
createdAt: string;
|
|
1590
|
+
id: string;
|
|
1446
1591
|
phoneNumbers: {
|
|
1447
1592
|
id: string;
|
|
1448
1593
|
phoneNumber: string;
|
|
1449
1594
|
isPrimary: boolean;
|
|
1450
1595
|
description?: string | null | undefined;
|
|
1451
1596
|
}[];
|
|
1452
|
-
createdAt: string;
|
|
1453
1597
|
updatedAt: string;
|
|
1598
|
+
office?: {
|
|
1599
|
+
id: string;
|
|
1600
|
+
name: string;
|
|
1601
|
+
} | null | undefined;
|
|
1454
1602
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1455
|
-
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;
|
|
1456
1603
|
canImpersonateUsers?: {
|
|
1457
|
-
id: string;
|
|
1458
|
-
firstName: string;
|
|
1459
1604
|
lastName: string;
|
|
1605
|
+
firstName: string;
|
|
1606
|
+
id: string;
|
|
1460
1607
|
}[] | undefined;
|
|
1461
1608
|
} | undefined;
|
|
1462
1609
|
}, {
|
|
1610
|
+
createdAt: string | Date;
|
|
1463
1611
|
id: string;
|
|
1464
|
-
agentId: string;
|
|
1465
1612
|
phoneNumber: string;
|
|
1466
1613
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
1467
|
-
createdAt: string | Date;
|
|
1468
|
-
updatedAt: string | Date;
|
|
1469
1614
|
name: string;
|
|
1615
|
+
updatedAt: string | Date;
|
|
1616
|
+
agentId: string;
|
|
1470
1617
|
callCount: number;
|
|
1471
1618
|
lastCalledAt: string | Date | null;
|
|
1472
1619
|
cooldownUntil: string | Date | null;
|
|
@@ -1475,12 +1622,16 @@ export declare const PaginatedOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1475
1622
|
existsInLeadsTable: boolean;
|
|
1476
1623
|
originalLeadId: string | null;
|
|
1477
1624
|
agent?: {
|
|
1478
|
-
id: string;
|
|
1479
|
-
firstName: string;
|
|
1480
1625
|
lastName: string;
|
|
1626
|
+
firstName: string;
|
|
1481
1627
|
email: string;
|
|
1482
1628
|
createdAt: string | Date;
|
|
1629
|
+
id: string;
|
|
1483
1630
|
updatedAt: string | Date;
|
|
1631
|
+
office?: {
|
|
1632
|
+
id: string;
|
|
1633
|
+
name: string;
|
|
1634
|
+
} | null | undefined;
|
|
1484
1635
|
phoneNumbers?: {
|
|
1485
1636
|
id: string;
|
|
1486
1637
|
phoneNumber: string;
|
|
@@ -1488,11 +1639,10 @@ export declare const PaginatedOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1488
1639
|
isPrimary?: boolean | undefined;
|
|
1489
1640
|
}[] | undefined;
|
|
1490
1641
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1491
|
-
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;
|
|
1492
1642
|
canImpersonateUsers?: {
|
|
1493
|
-
id: string;
|
|
1494
|
-
firstName: string;
|
|
1495
1643
|
lastName: string;
|
|
1644
|
+
firstName: string;
|
|
1645
|
+
id: string;
|
|
1496
1646
|
}[] | undefined;
|
|
1497
1647
|
} | undefined;
|
|
1498
1648
|
}>, "many">;
|
|
@@ -1504,13 +1654,13 @@ export declare const PaginatedOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1504
1654
|
}, "strip", z.ZodTypeAny, {
|
|
1505
1655
|
limit: number;
|
|
1506
1656
|
items: {
|
|
1657
|
+
createdAt: string;
|
|
1507
1658
|
id: string;
|
|
1508
|
-
agentId: string;
|
|
1509
1659
|
phoneNumber: string;
|
|
1510
1660
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
1511
|
-
createdAt: string;
|
|
1512
|
-
updatedAt: string;
|
|
1513
1661
|
name: string;
|
|
1662
|
+
updatedAt: string;
|
|
1663
|
+
agentId: string;
|
|
1514
1664
|
callCount: number;
|
|
1515
1665
|
lastCalledAt: string | null;
|
|
1516
1666
|
cooldownUntil: string | null;
|
|
@@ -1519,24 +1669,27 @@ export declare const PaginatedOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1519
1669
|
existsInLeadsTable: boolean;
|
|
1520
1670
|
originalLeadId: string | null;
|
|
1521
1671
|
agent?: {
|
|
1522
|
-
id: string;
|
|
1523
|
-
firstName: string;
|
|
1524
1672
|
lastName: string;
|
|
1673
|
+
firstName: string;
|
|
1525
1674
|
email: string;
|
|
1675
|
+
createdAt: string;
|
|
1676
|
+
id: string;
|
|
1526
1677
|
phoneNumbers: {
|
|
1527
1678
|
id: string;
|
|
1528
1679
|
phoneNumber: string;
|
|
1529
1680
|
isPrimary: boolean;
|
|
1530
1681
|
description?: string | null | undefined;
|
|
1531
1682
|
}[];
|
|
1532
|
-
createdAt: string;
|
|
1533
1683
|
updatedAt: string;
|
|
1684
|
+
office?: {
|
|
1685
|
+
id: string;
|
|
1686
|
+
name: string;
|
|
1687
|
+
} | null | undefined;
|
|
1534
1688
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1535
|
-
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
1536
1689
|
canImpersonateUsers?: {
|
|
1537
|
-
id: string;
|
|
1538
|
-
firstName: string;
|
|
1539
1690
|
lastName: string;
|
|
1691
|
+
firstName: string;
|
|
1692
|
+
id: string;
|
|
1540
1693
|
}[] | undefined;
|
|
1541
1694
|
} | undefined;
|
|
1542
1695
|
}[];
|
|
@@ -1547,13 +1700,13 @@ export declare const PaginatedOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1547
1700
|
}, {
|
|
1548
1701
|
limit: number;
|
|
1549
1702
|
items: {
|
|
1703
|
+
createdAt: string | Date;
|
|
1550
1704
|
id: string;
|
|
1551
|
-
agentId: string;
|
|
1552
1705
|
phoneNumber: string;
|
|
1553
1706
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
1554
|
-
createdAt: string | Date;
|
|
1555
|
-
updatedAt: string | Date;
|
|
1556
1707
|
name: string;
|
|
1708
|
+
updatedAt: string | Date;
|
|
1709
|
+
agentId: string;
|
|
1557
1710
|
callCount: number;
|
|
1558
1711
|
lastCalledAt: string | Date | null;
|
|
1559
1712
|
cooldownUntil: string | Date | null;
|
|
@@ -1562,12 +1715,16 @@ export declare const PaginatedOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1562
1715
|
existsInLeadsTable: boolean;
|
|
1563
1716
|
originalLeadId: string | null;
|
|
1564
1717
|
agent?: {
|
|
1565
|
-
id: string;
|
|
1566
|
-
firstName: string;
|
|
1567
1718
|
lastName: string;
|
|
1719
|
+
firstName: string;
|
|
1568
1720
|
email: string;
|
|
1569
1721
|
createdAt: string | Date;
|
|
1722
|
+
id: string;
|
|
1570
1723
|
updatedAt: string | Date;
|
|
1724
|
+
office?: {
|
|
1725
|
+
id: string;
|
|
1726
|
+
name: string;
|
|
1727
|
+
} | null | undefined;
|
|
1571
1728
|
phoneNumbers?: {
|
|
1572
1729
|
id: string;
|
|
1573
1730
|
phoneNumber: string;
|
|
@@ -1575,11 +1732,10 @@ export declare const PaginatedOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
1575
1732
|
isPrimary?: boolean | undefined;
|
|
1576
1733
|
}[] | undefined;
|
|
1577
1734
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1578
|
-
|
|
1579
|
-
canImpersonateUsers?: {
|
|
1580
|
-
id: string;
|
|
1581
|
-
firstName: string;
|
|
1735
|
+
canImpersonateUsers?: {
|
|
1582
1736
|
lastName: string;
|
|
1737
|
+
firstName: string;
|
|
1738
|
+
id: string;
|
|
1583
1739
|
}[] | undefined;
|
|
1584
1740
|
} | undefined;
|
|
1585
1741
|
}[];
|
|
@@ -1749,26 +1905,26 @@ export declare const ownResearchContract: {
|
|
|
1749
1905
|
phoneNumber?: string | undefined;
|
|
1750
1906
|
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
|
|
1751
1907
|
name?: string | undefined;
|
|
1908
|
+
sortBy?: "createdAt" | "name" | "updatedAt" | "callCount" | "lastCalledAt" | undefined;
|
|
1909
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1752
1910
|
lastCalledAt?: {
|
|
1753
1911
|
from?: string | null | undefined;
|
|
1754
1912
|
to?: string | null | undefined;
|
|
1755
1913
|
} | undefined;
|
|
1756
1914
|
minTotalCalls?: number | undefined;
|
|
1757
|
-
sortBy?: "createdAt" | "updatedAt" | "name" | "callCount" | "lastCalledAt" | undefined;
|
|
1758
|
-
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1759
1915
|
}, {
|
|
1760
1916
|
phoneNumber?: string | undefined;
|
|
1761
1917
|
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
|
|
1762
1918
|
name?: string | undefined;
|
|
1919
|
+
limit?: number | undefined;
|
|
1920
|
+
page?: number | undefined;
|
|
1921
|
+
sortBy?: "createdAt" | "name" | "updatedAt" | "callCount" | "lastCalledAt" | undefined;
|
|
1922
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1763
1923
|
lastCalledAt?: {
|
|
1764
1924
|
from?: string | null | undefined;
|
|
1765
1925
|
to?: string | null | undefined;
|
|
1766
1926
|
} | undefined;
|
|
1767
|
-
limit?: number | undefined;
|
|
1768
|
-
page?: number | undefined;
|
|
1769
1927
|
minTotalCalls?: number | undefined;
|
|
1770
|
-
sortBy?: "createdAt" | "updatedAt" | "name" | "callCount" | "lastCalledAt" | undefined;
|
|
1771
|
-
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1772
1928
|
}>;
|
|
1773
1929
|
summary: "Get all own research leads for the current agent";
|
|
1774
1930
|
method: "GET";
|
|
@@ -1900,49 +2056,65 @@ export declare const ownResearchContract: {
|
|
|
1900
2056
|
isPrimary?: boolean | undefined;
|
|
1901
2057
|
}>, "many">>>;
|
|
1902
2058
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
|
|
1903
|
-
office: z.ZodOptional<z.ZodNullable<z.
|
|
2059
|
+
office: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2060
|
+
id: z.ZodString;
|
|
2061
|
+
name: z.ZodString;
|
|
2062
|
+
}, "strip", z.ZodTypeAny, {
|
|
2063
|
+
id: string;
|
|
2064
|
+
name: string;
|
|
2065
|
+
}, {
|
|
2066
|
+
id: string;
|
|
2067
|
+
name: string;
|
|
2068
|
+
}>>>;
|
|
1904
2069
|
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1905
2070
|
id: z.ZodString;
|
|
1906
2071
|
firstName: z.ZodString;
|
|
1907
2072
|
lastName: z.ZodString;
|
|
1908
2073
|
}, "strip", z.ZodTypeAny, {
|
|
1909
|
-
id: string;
|
|
1910
|
-
firstName: string;
|
|
1911
2074
|
lastName: string;
|
|
1912
|
-
}, {
|
|
1913
|
-
id: string;
|
|
1914
2075
|
firstName: string;
|
|
2076
|
+
id: string;
|
|
2077
|
+
}, {
|
|
1915
2078
|
lastName: string;
|
|
2079
|
+
firstName: string;
|
|
2080
|
+
id: string;
|
|
1916
2081
|
}>, "many">>;
|
|
1917
2082
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1918
2083
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1919
2084
|
}, "strip", z.ZodTypeAny, {
|
|
1920
|
-
id: string;
|
|
1921
|
-
firstName: string;
|
|
1922
2085
|
lastName: string;
|
|
2086
|
+
firstName: string;
|
|
1923
2087
|
email: string;
|
|
2088
|
+
createdAt: string;
|
|
2089
|
+
id: string;
|
|
1924
2090
|
phoneNumbers: {
|
|
1925
2091
|
id: string;
|
|
1926
2092
|
phoneNumber: string;
|
|
1927
2093
|
isPrimary: boolean;
|
|
1928
2094
|
description?: string | null | undefined;
|
|
1929
2095
|
}[];
|
|
1930
|
-
createdAt: string;
|
|
1931
2096
|
updatedAt: string;
|
|
2097
|
+
office?: {
|
|
2098
|
+
id: string;
|
|
2099
|
+
name: string;
|
|
2100
|
+
} | null | undefined;
|
|
1932
2101
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1933
|
-
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;
|
|
1934
2102
|
canImpersonateUsers?: {
|
|
1935
|
-
id: string;
|
|
1936
|
-
firstName: string;
|
|
1937
2103
|
lastName: string;
|
|
2104
|
+
firstName: string;
|
|
2105
|
+
id: string;
|
|
1938
2106
|
}[] | undefined;
|
|
1939
2107
|
}, {
|
|
1940
|
-
id: string;
|
|
1941
|
-
firstName: string;
|
|
1942
2108
|
lastName: string;
|
|
2109
|
+
firstName: string;
|
|
1943
2110
|
email: string;
|
|
1944
2111
|
createdAt: string | Date;
|
|
2112
|
+
id: string;
|
|
1945
2113
|
updatedAt: string | Date;
|
|
2114
|
+
office?: {
|
|
2115
|
+
id: string;
|
|
2116
|
+
name: string;
|
|
2117
|
+
} | null | undefined;
|
|
1946
2118
|
phoneNumbers?: {
|
|
1947
2119
|
id: string;
|
|
1948
2120
|
phoneNumber: string;
|
|
@@ -1950,11 +2122,10 @@ export declare const ownResearchContract: {
|
|
|
1950
2122
|
isPrimary?: boolean | undefined;
|
|
1951
2123
|
}[] | undefined;
|
|
1952
2124
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1953
|
-
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;
|
|
1954
2125
|
canImpersonateUsers?: {
|
|
1955
|
-
id: string;
|
|
1956
|
-
firstName: string;
|
|
1957
2126
|
lastName: string;
|
|
2127
|
+
firstName: string;
|
|
2128
|
+
id: string;
|
|
1958
2129
|
}[] | undefined;
|
|
1959
2130
|
}>>;
|
|
1960
2131
|
name: z.ZodString;
|
|
@@ -1970,13 +2141,13 @@ export declare const ownResearchContract: {
|
|
|
1970
2141
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1971
2142
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1972
2143
|
}, "strip", z.ZodTypeAny, {
|
|
2144
|
+
createdAt: string;
|
|
1973
2145
|
id: string;
|
|
1974
|
-
agentId: string;
|
|
1975
2146
|
phoneNumber: string;
|
|
1976
2147
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
1977
|
-
createdAt: string;
|
|
1978
|
-
updatedAt: string;
|
|
1979
2148
|
name: string;
|
|
2149
|
+
updatedAt: string;
|
|
2150
|
+
agentId: string;
|
|
1980
2151
|
callCount: number;
|
|
1981
2152
|
lastCalledAt: string | null;
|
|
1982
2153
|
cooldownUntil: string | null;
|
|
@@ -1985,34 +2156,37 @@ export declare const ownResearchContract: {
|
|
|
1985
2156
|
existsInLeadsTable: boolean;
|
|
1986
2157
|
originalLeadId: string | null;
|
|
1987
2158
|
agent?: {
|
|
1988
|
-
id: string;
|
|
1989
|
-
firstName: string;
|
|
1990
2159
|
lastName: string;
|
|
2160
|
+
firstName: string;
|
|
1991
2161
|
email: string;
|
|
2162
|
+
createdAt: string;
|
|
2163
|
+
id: string;
|
|
1992
2164
|
phoneNumbers: {
|
|
1993
2165
|
id: string;
|
|
1994
2166
|
phoneNumber: string;
|
|
1995
2167
|
isPrimary: boolean;
|
|
1996
2168
|
description?: string | null | undefined;
|
|
1997
2169
|
}[];
|
|
1998
|
-
createdAt: string;
|
|
1999
2170
|
updatedAt: string;
|
|
2171
|
+
office?: {
|
|
2172
|
+
id: string;
|
|
2173
|
+
name: string;
|
|
2174
|
+
} | null | undefined;
|
|
2000
2175
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2001
|
-
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;
|
|
2002
2176
|
canImpersonateUsers?: {
|
|
2003
|
-
id: string;
|
|
2004
|
-
firstName: string;
|
|
2005
2177
|
lastName: string;
|
|
2178
|
+
firstName: string;
|
|
2179
|
+
id: string;
|
|
2006
2180
|
}[] | undefined;
|
|
2007
2181
|
} | undefined;
|
|
2008
2182
|
}, {
|
|
2183
|
+
createdAt: string | Date;
|
|
2009
2184
|
id: string;
|
|
2010
|
-
agentId: string;
|
|
2011
2185
|
phoneNumber: string;
|
|
2012
2186
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
2013
|
-
createdAt: string | Date;
|
|
2014
|
-
updatedAt: string | Date;
|
|
2015
2187
|
name: string;
|
|
2188
|
+
updatedAt: string | Date;
|
|
2189
|
+
agentId: string;
|
|
2016
2190
|
callCount: number;
|
|
2017
2191
|
lastCalledAt: string | Date | null;
|
|
2018
2192
|
cooldownUntil: string | Date | null;
|
|
@@ -2021,12 +2195,16 @@ export declare const ownResearchContract: {
|
|
|
2021
2195
|
existsInLeadsTable: boolean;
|
|
2022
2196
|
originalLeadId: string | null;
|
|
2023
2197
|
agent?: {
|
|
2024
|
-
id: string;
|
|
2025
|
-
firstName: string;
|
|
2026
2198
|
lastName: string;
|
|
2199
|
+
firstName: string;
|
|
2027
2200
|
email: string;
|
|
2028
2201
|
createdAt: string | Date;
|
|
2202
|
+
id: string;
|
|
2029
2203
|
updatedAt: string | Date;
|
|
2204
|
+
office?: {
|
|
2205
|
+
id: string;
|
|
2206
|
+
name: string;
|
|
2207
|
+
} | null | undefined;
|
|
2030
2208
|
phoneNumbers?: {
|
|
2031
2209
|
id: string;
|
|
2032
2210
|
phoneNumber: string;
|
|
@@ -2034,11 +2212,10 @@ export declare const ownResearchContract: {
|
|
|
2034
2212
|
isPrimary?: boolean | undefined;
|
|
2035
2213
|
}[] | undefined;
|
|
2036
2214
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2037
|
-
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;
|
|
2038
2215
|
canImpersonateUsers?: {
|
|
2039
|
-
id: string;
|
|
2040
|
-
firstName: string;
|
|
2041
2216
|
lastName: string;
|
|
2217
|
+
firstName: string;
|
|
2218
|
+
id: string;
|
|
2042
2219
|
}[] | undefined;
|
|
2043
2220
|
} | undefined;
|
|
2044
2221
|
}>, "many">;
|
|
@@ -2050,13 +2227,13 @@ export declare const ownResearchContract: {
|
|
|
2050
2227
|
}, "strip", z.ZodTypeAny, {
|
|
2051
2228
|
limit: number;
|
|
2052
2229
|
items: {
|
|
2230
|
+
createdAt: string;
|
|
2053
2231
|
id: string;
|
|
2054
|
-
agentId: string;
|
|
2055
2232
|
phoneNumber: string;
|
|
2056
2233
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
2057
|
-
createdAt: string;
|
|
2058
|
-
updatedAt: string;
|
|
2059
2234
|
name: string;
|
|
2235
|
+
updatedAt: string;
|
|
2236
|
+
agentId: string;
|
|
2060
2237
|
callCount: number;
|
|
2061
2238
|
lastCalledAt: string | null;
|
|
2062
2239
|
cooldownUntil: string | null;
|
|
@@ -2065,24 +2242,27 @@ export declare const ownResearchContract: {
|
|
|
2065
2242
|
existsInLeadsTable: boolean;
|
|
2066
2243
|
originalLeadId: string | null;
|
|
2067
2244
|
agent?: {
|
|
2068
|
-
id: string;
|
|
2069
|
-
firstName: string;
|
|
2070
2245
|
lastName: string;
|
|
2246
|
+
firstName: string;
|
|
2071
2247
|
email: string;
|
|
2248
|
+
createdAt: string;
|
|
2249
|
+
id: string;
|
|
2072
2250
|
phoneNumbers: {
|
|
2073
2251
|
id: string;
|
|
2074
2252
|
phoneNumber: string;
|
|
2075
2253
|
isPrimary: boolean;
|
|
2076
2254
|
description?: string | null | undefined;
|
|
2077
2255
|
}[];
|
|
2078
|
-
createdAt: string;
|
|
2079
2256
|
updatedAt: string;
|
|
2257
|
+
office?: {
|
|
2258
|
+
id: string;
|
|
2259
|
+
name: string;
|
|
2260
|
+
} | null | undefined;
|
|
2080
2261
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2081
|
-
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;
|
|
2082
2262
|
canImpersonateUsers?: {
|
|
2083
|
-
id: string;
|
|
2084
|
-
firstName: string;
|
|
2085
2263
|
lastName: string;
|
|
2264
|
+
firstName: string;
|
|
2265
|
+
id: string;
|
|
2086
2266
|
}[] | undefined;
|
|
2087
2267
|
} | undefined;
|
|
2088
2268
|
}[];
|
|
@@ -2093,13 +2273,13 @@ export declare const ownResearchContract: {
|
|
|
2093
2273
|
}, {
|
|
2094
2274
|
limit: number;
|
|
2095
2275
|
items: {
|
|
2276
|
+
createdAt: string | Date;
|
|
2096
2277
|
id: string;
|
|
2097
|
-
agentId: string;
|
|
2098
2278
|
phoneNumber: string;
|
|
2099
2279
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
2100
|
-
createdAt: string | Date;
|
|
2101
|
-
updatedAt: string | Date;
|
|
2102
2280
|
name: string;
|
|
2281
|
+
updatedAt: string | Date;
|
|
2282
|
+
agentId: string;
|
|
2103
2283
|
callCount: number;
|
|
2104
2284
|
lastCalledAt: string | Date | null;
|
|
2105
2285
|
cooldownUntil: string | Date | null;
|
|
@@ -2108,12 +2288,16 @@ export declare const ownResearchContract: {
|
|
|
2108
2288
|
existsInLeadsTable: boolean;
|
|
2109
2289
|
originalLeadId: string | null;
|
|
2110
2290
|
agent?: {
|
|
2111
|
-
id: string;
|
|
2112
|
-
firstName: string;
|
|
2113
2291
|
lastName: string;
|
|
2292
|
+
firstName: string;
|
|
2114
2293
|
email: string;
|
|
2115
2294
|
createdAt: string | Date;
|
|
2295
|
+
id: string;
|
|
2116
2296
|
updatedAt: string | Date;
|
|
2297
|
+
office?: {
|
|
2298
|
+
id: string;
|
|
2299
|
+
name: string;
|
|
2300
|
+
} | null | undefined;
|
|
2117
2301
|
phoneNumbers?: {
|
|
2118
2302
|
id: string;
|
|
2119
2303
|
phoneNumber: string;
|
|
@@ -2121,11 +2305,10 @@ export declare const ownResearchContract: {
|
|
|
2121
2305
|
isPrimary?: boolean | undefined;
|
|
2122
2306
|
}[] | undefined;
|
|
2123
2307
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2124
|
-
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;
|
|
2125
2308
|
canImpersonateUsers?: {
|
|
2126
|
-
id: string;
|
|
2127
|
-
firstName: string;
|
|
2128
2309
|
lastName: string;
|
|
2310
|
+
firstName: string;
|
|
2311
|
+
id: string;
|
|
2129
2312
|
}[] | undefined;
|
|
2130
2313
|
} | undefined;
|
|
2131
2314
|
}[];
|
|
@@ -2298,49 +2481,65 @@ export declare const ownResearchContract: {
|
|
|
2298
2481
|
isPrimary?: boolean | undefined;
|
|
2299
2482
|
}>, "many">>>;
|
|
2300
2483
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
|
|
2301
|
-
office: z.ZodOptional<z.ZodNullable<z.
|
|
2484
|
+
office: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2485
|
+
id: z.ZodString;
|
|
2486
|
+
name: z.ZodString;
|
|
2487
|
+
}, "strip", z.ZodTypeAny, {
|
|
2488
|
+
id: string;
|
|
2489
|
+
name: string;
|
|
2490
|
+
}, {
|
|
2491
|
+
id: string;
|
|
2492
|
+
name: string;
|
|
2493
|
+
}>>>;
|
|
2302
2494
|
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2303
2495
|
id: z.ZodString;
|
|
2304
2496
|
firstName: z.ZodString;
|
|
2305
2497
|
lastName: z.ZodString;
|
|
2306
2498
|
}, "strip", z.ZodTypeAny, {
|
|
2307
|
-
id: string;
|
|
2308
|
-
firstName: string;
|
|
2309
2499
|
lastName: string;
|
|
2310
|
-
}, {
|
|
2311
|
-
id: string;
|
|
2312
2500
|
firstName: string;
|
|
2501
|
+
id: string;
|
|
2502
|
+
}, {
|
|
2313
2503
|
lastName: string;
|
|
2504
|
+
firstName: string;
|
|
2505
|
+
id: string;
|
|
2314
2506
|
}>, "many">>;
|
|
2315
2507
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2316
2508
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2317
2509
|
}, "strip", z.ZodTypeAny, {
|
|
2318
|
-
id: string;
|
|
2319
|
-
firstName: string;
|
|
2320
2510
|
lastName: string;
|
|
2511
|
+
firstName: string;
|
|
2321
2512
|
email: string;
|
|
2513
|
+
createdAt: string;
|
|
2514
|
+
id: string;
|
|
2322
2515
|
phoneNumbers: {
|
|
2323
2516
|
id: string;
|
|
2324
2517
|
phoneNumber: string;
|
|
2325
2518
|
isPrimary: boolean;
|
|
2326
2519
|
description?: string | null | undefined;
|
|
2327
2520
|
}[];
|
|
2328
|
-
createdAt: string;
|
|
2329
2521
|
updatedAt: string;
|
|
2522
|
+
office?: {
|
|
2523
|
+
id: string;
|
|
2524
|
+
name: string;
|
|
2525
|
+
} | null | undefined;
|
|
2330
2526
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2331
|
-
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;
|
|
2332
2527
|
canImpersonateUsers?: {
|
|
2333
|
-
id: string;
|
|
2334
|
-
firstName: string;
|
|
2335
2528
|
lastName: string;
|
|
2529
|
+
firstName: string;
|
|
2530
|
+
id: string;
|
|
2336
2531
|
}[] | undefined;
|
|
2337
2532
|
}, {
|
|
2338
|
-
id: string;
|
|
2339
|
-
firstName: string;
|
|
2340
2533
|
lastName: string;
|
|
2534
|
+
firstName: string;
|
|
2341
2535
|
email: string;
|
|
2342
2536
|
createdAt: string | Date;
|
|
2537
|
+
id: string;
|
|
2343
2538
|
updatedAt: string | Date;
|
|
2539
|
+
office?: {
|
|
2540
|
+
id: string;
|
|
2541
|
+
name: string;
|
|
2542
|
+
} | null | undefined;
|
|
2344
2543
|
phoneNumbers?: {
|
|
2345
2544
|
id: string;
|
|
2346
2545
|
phoneNumber: string;
|
|
@@ -2348,11 +2547,10 @@ export declare const ownResearchContract: {
|
|
|
2348
2547
|
isPrimary?: boolean | undefined;
|
|
2349
2548
|
}[] | undefined;
|
|
2350
2549
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2351
|
-
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;
|
|
2352
2550
|
canImpersonateUsers?: {
|
|
2353
|
-
id: string;
|
|
2354
|
-
firstName: string;
|
|
2355
2551
|
lastName: string;
|
|
2552
|
+
firstName: string;
|
|
2553
|
+
id: string;
|
|
2356
2554
|
}[] | undefined;
|
|
2357
2555
|
}>>;
|
|
2358
2556
|
name: z.ZodString;
|
|
@@ -2368,13 +2566,13 @@ export declare const ownResearchContract: {
|
|
|
2368
2566
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2369
2567
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2370
2568
|
}, "strip", z.ZodTypeAny, {
|
|
2569
|
+
createdAt: string;
|
|
2371
2570
|
id: string;
|
|
2372
|
-
agentId: string;
|
|
2373
2571
|
phoneNumber: string;
|
|
2374
2572
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
2375
|
-
createdAt: string;
|
|
2376
|
-
updatedAt: string;
|
|
2377
2573
|
name: string;
|
|
2574
|
+
updatedAt: string;
|
|
2575
|
+
agentId: string;
|
|
2378
2576
|
callCount: number;
|
|
2379
2577
|
lastCalledAt: string | null;
|
|
2380
2578
|
cooldownUntil: string | null;
|
|
@@ -2383,34 +2581,37 @@ export declare const ownResearchContract: {
|
|
|
2383
2581
|
existsInLeadsTable: boolean;
|
|
2384
2582
|
originalLeadId: string | null;
|
|
2385
2583
|
agent?: {
|
|
2386
|
-
id: string;
|
|
2387
|
-
firstName: string;
|
|
2388
2584
|
lastName: string;
|
|
2585
|
+
firstName: string;
|
|
2389
2586
|
email: string;
|
|
2587
|
+
createdAt: string;
|
|
2588
|
+
id: string;
|
|
2390
2589
|
phoneNumbers: {
|
|
2391
2590
|
id: string;
|
|
2392
2591
|
phoneNumber: string;
|
|
2393
2592
|
isPrimary: boolean;
|
|
2394
2593
|
description?: string | null | undefined;
|
|
2395
2594
|
}[];
|
|
2396
|
-
createdAt: string;
|
|
2397
2595
|
updatedAt: string;
|
|
2596
|
+
office?: {
|
|
2597
|
+
id: string;
|
|
2598
|
+
name: string;
|
|
2599
|
+
} | null | undefined;
|
|
2398
2600
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2399
|
-
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;
|
|
2400
2601
|
canImpersonateUsers?: {
|
|
2401
|
-
id: string;
|
|
2402
|
-
firstName: string;
|
|
2403
2602
|
lastName: string;
|
|
2603
|
+
firstName: string;
|
|
2604
|
+
id: string;
|
|
2404
2605
|
}[] | undefined;
|
|
2405
2606
|
} | undefined;
|
|
2406
2607
|
}, {
|
|
2608
|
+
createdAt: string | Date;
|
|
2407
2609
|
id: string;
|
|
2408
|
-
agentId: string;
|
|
2409
2610
|
phoneNumber: string;
|
|
2410
2611
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
2411
|
-
createdAt: string | Date;
|
|
2412
|
-
updatedAt: string | Date;
|
|
2413
2612
|
name: string;
|
|
2613
|
+
updatedAt: string | Date;
|
|
2614
|
+
agentId: string;
|
|
2414
2615
|
callCount: number;
|
|
2415
2616
|
lastCalledAt: string | Date | null;
|
|
2416
2617
|
cooldownUntil: string | Date | null;
|
|
@@ -2419,12 +2620,16 @@ export declare const ownResearchContract: {
|
|
|
2419
2620
|
existsInLeadsTable: boolean;
|
|
2420
2621
|
originalLeadId: string | null;
|
|
2421
2622
|
agent?: {
|
|
2422
|
-
id: string;
|
|
2423
|
-
firstName: string;
|
|
2424
2623
|
lastName: string;
|
|
2624
|
+
firstName: string;
|
|
2425
2625
|
email: string;
|
|
2426
2626
|
createdAt: string | Date;
|
|
2627
|
+
id: string;
|
|
2427
2628
|
updatedAt: string | Date;
|
|
2629
|
+
office?: {
|
|
2630
|
+
id: string;
|
|
2631
|
+
name: string;
|
|
2632
|
+
} | null | undefined;
|
|
2428
2633
|
phoneNumbers?: {
|
|
2429
2634
|
id: string;
|
|
2430
2635
|
phoneNumber: string;
|
|
@@ -2432,11 +2637,10 @@ export declare const ownResearchContract: {
|
|
|
2432
2637
|
isPrimary?: boolean | undefined;
|
|
2433
2638
|
}[] | undefined;
|
|
2434
2639
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2435
|
-
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;
|
|
2436
2640
|
canImpersonateUsers?: {
|
|
2437
|
-
id: string;
|
|
2438
|
-
firstName: string;
|
|
2439
2641
|
lastName: string;
|
|
2642
|
+
firstName: string;
|
|
2643
|
+
id: string;
|
|
2440
2644
|
}[] | undefined;
|
|
2441
2645
|
} | undefined;
|
|
2442
2646
|
}>>>;
|
|
@@ -2455,13 +2659,13 @@ export declare const ownResearchContract: {
|
|
|
2455
2659
|
cooldownUntil: string | null;
|
|
2456
2660
|
} | null | undefined;
|
|
2457
2661
|
ownResearchLead?: {
|
|
2662
|
+
createdAt: string;
|
|
2458
2663
|
id: string;
|
|
2459
|
-
agentId: string;
|
|
2460
2664
|
phoneNumber: string;
|
|
2461
2665
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
2462
|
-
createdAt: string;
|
|
2463
|
-
updatedAt: string;
|
|
2464
2666
|
name: string;
|
|
2667
|
+
updatedAt: string;
|
|
2668
|
+
agentId: string;
|
|
2465
2669
|
callCount: number;
|
|
2466
2670
|
lastCalledAt: string | null;
|
|
2467
2671
|
cooldownUntil: string | null;
|
|
@@ -2470,24 +2674,27 @@ export declare const ownResearchContract: {
|
|
|
2470
2674
|
existsInLeadsTable: boolean;
|
|
2471
2675
|
originalLeadId: string | null;
|
|
2472
2676
|
agent?: {
|
|
2473
|
-
id: string;
|
|
2474
|
-
firstName: string;
|
|
2475
2677
|
lastName: string;
|
|
2678
|
+
firstName: string;
|
|
2476
2679
|
email: string;
|
|
2680
|
+
createdAt: string;
|
|
2681
|
+
id: string;
|
|
2477
2682
|
phoneNumbers: {
|
|
2478
2683
|
id: string;
|
|
2479
2684
|
phoneNumber: string;
|
|
2480
2685
|
isPrimary: boolean;
|
|
2481
2686
|
description?: string | null | undefined;
|
|
2482
2687
|
}[];
|
|
2483
|
-
createdAt: string;
|
|
2484
2688
|
updatedAt: string;
|
|
2689
|
+
office?: {
|
|
2690
|
+
id: string;
|
|
2691
|
+
name: string;
|
|
2692
|
+
} | null | undefined;
|
|
2485
2693
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2486
|
-
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;
|
|
2487
2694
|
canImpersonateUsers?: {
|
|
2488
|
-
id: string;
|
|
2489
|
-
firstName: string;
|
|
2490
2695
|
lastName: string;
|
|
2696
|
+
firstName: string;
|
|
2697
|
+
id: string;
|
|
2491
2698
|
}[] | undefined;
|
|
2492
2699
|
} | undefined;
|
|
2493
2700
|
} | null | undefined;
|
|
@@ -2504,13 +2711,13 @@ export declare const ownResearchContract: {
|
|
|
2504
2711
|
cooldownUntil: string | Date | null;
|
|
2505
2712
|
} | null | undefined;
|
|
2506
2713
|
ownResearchLead?: {
|
|
2714
|
+
createdAt: string | Date;
|
|
2507
2715
|
id: string;
|
|
2508
|
-
agentId: string;
|
|
2509
2716
|
phoneNumber: string;
|
|
2510
2717
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
2511
|
-
createdAt: string | Date;
|
|
2512
|
-
updatedAt: string | Date;
|
|
2513
2718
|
name: string;
|
|
2719
|
+
updatedAt: string | Date;
|
|
2720
|
+
agentId: string;
|
|
2514
2721
|
callCount: number;
|
|
2515
2722
|
lastCalledAt: string | Date | null;
|
|
2516
2723
|
cooldownUntil: string | Date | null;
|
|
@@ -2519,12 +2726,16 @@ export declare const ownResearchContract: {
|
|
|
2519
2726
|
existsInLeadsTable: boolean;
|
|
2520
2727
|
originalLeadId: string | null;
|
|
2521
2728
|
agent?: {
|
|
2522
|
-
id: string;
|
|
2523
|
-
firstName: string;
|
|
2524
2729
|
lastName: string;
|
|
2730
|
+
firstName: string;
|
|
2525
2731
|
email: string;
|
|
2526
2732
|
createdAt: string | Date;
|
|
2733
|
+
id: string;
|
|
2527
2734
|
updatedAt: string | Date;
|
|
2735
|
+
office?: {
|
|
2736
|
+
id: string;
|
|
2737
|
+
name: string;
|
|
2738
|
+
} | null | undefined;
|
|
2528
2739
|
phoneNumbers?: {
|
|
2529
2740
|
id: string;
|
|
2530
2741
|
phoneNumber: string;
|
|
@@ -2532,11 +2743,10 @@ export declare const ownResearchContract: {
|
|
|
2532
2743
|
isPrimary?: boolean | undefined;
|
|
2533
2744
|
}[] | undefined;
|
|
2534
2745
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2535
|
-
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;
|
|
2536
2746
|
canImpersonateUsers?: {
|
|
2537
|
-
id: string;
|
|
2538
|
-
firstName: string;
|
|
2539
2747
|
lastName: string;
|
|
2748
|
+
firstName: string;
|
|
2749
|
+
id: string;
|
|
2540
2750
|
}[] | undefined;
|
|
2541
2751
|
} | undefined;
|
|
2542
2752
|
} | null | undefined;
|
|
@@ -2687,49 +2897,65 @@ export declare const ownResearchContract: {
|
|
|
2687
2897
|
isPrimary?: boolean | undefined;
|
|
2688
2898
|
}>, "many">>>;
|
|
2689
2899
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
|
|
2690
|
-
office: z.ZodOptional<z.ZodNullable<z.
|
|
2900
|
+
office: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2901
|
+
id: z.ZodString;
|
|
2902
|
+
name: z.ZodString;
|
|
2903
|
+
}, "strip", z.ZodTypeAny, {
|
|
2904
|
+
id: string;
|
|
2905
|
+
name: string;
|
|
2906
|
+
}, {
|
|
2907
|
+
id: string;
|
|
2908
|
+
name: string;
|
|
2909
|
+
}>>>;
|
|
2691
2910
|
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2692
2911
|
id: z.ZodString;
|
|
2693
2912
|
firstName: z.ZodString;
|
|
2694
2913
|
lastName: z.ZodString;
|
|
2695
2914
|
}, "strip", z.ZodTypeAny, {
|
|
2696
|
-
id: string;
|
|
2697
|
-
firstName: string;
|
|
2698
2915
|
lastName: string;
|
|
2699
|
-
}, {
|
|
2700
|
-
id: string;
|
|
2701
2916
|
firstName: string;
|
|
2917
|
+
id: string;
|
|
2918
|
+
}, {
|
|
2702
2919
|
lastName: string;
|
|
2920
|
+
firstName: string;
|
|
2921
|
+
id: string;
|
|
2703
2922
|
}>, "many">>;
|
|
2704
2923
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2705
2924
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2706
2925
|
}, "strip", z.ZodTypeAny, {
|
|
2707
|
-
id: string;
|
|
2708
|
-
firstName: string;
|
|
2709
2926
|
lastName: string;
|
|
2927
|
+
firstName: string;
|
|
2710
2928
|
email: string;
|
|
2929
|
+
createdAt: string;
|
|
2930
|
+
id: string;
|
|
2711
2931
|
phoneNumbers: {
|
|
2712
2932
|
id: string;
|
|
2713
2933
|
phoneNumber: string;
|
|
2714
2934
|
isPrimary: boolean;
|
|
2715
2935
|
description?: string | null | undefined;
|
|
2716
2936
|
}[];
|
|
2717
|
-
createdAt: string;
|
|
2718
2937
|
updatedAt: string;
|
|
2938
|
+
office?: {
|
|
2939
|
+
id: string;
|
|
2940
|
+
name: string;
|
|
2941
|
+
} | null | undefined;
|
|
2719
2942
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2720
|
-
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;
|
|
2721
2943
|
canImpersonateUsers?: {
|
|
2722
|
-
id: string;
|
|
2723
|
-
firstName: string;
|
|
2724
2944
|
lastName: string;
|
|
2945
|
+
firstName: string;
|
|
2946
|
+
id: string;
|
|
2725
2947
|
}[] | undefined;
|
|
2726
2948
|
}, {
|
|
2727
|
-
id: string;
|
|
2728
|
-
firstName: string;
|
|
2729
2949
|
lastName: string;
|
|
2950
|
+
firstName: string;
|
|
2730
2951
|
email: string;
|
|
2731
2952
|
createdAt: string | Date;
|
|
2953
|
+
id: string;
|
|
2732
2954
|
updatedAt: string | Date;
|
|
2955
|
+
office?: {
|
|
2956
|
+
id: string;
|
|
2957
|
+
name: string;
|
|
2958
|
+
} | null | undefined;
|
|
2733
2959
|
phoneNumbers?: {
|
|
2734
2960
|
id: string;
|
|
2735
2961
|
phoneNumber: string;
|
|
@@ -2737,11 +2963,10 @@ export declare const ownResearchContract: {
|
|
|
2737
2963
|
isPrimary?: boolean | undefined;
|
|
2738
2964
|
}[] | undefined;
|
|
2739
2965
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2740
|
-
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;
|
|
2741
2966
|
canImpersonateUsers?: {
|
|
2742
|
-
id: string;
|
|
2743
|
-
firstName: string;
|
|
2744
2967
|
lastName: string;
|
|
2968
|
+
firstName: string;
|
|
2969
|
+
id: string;
|
|
2745
2970
|
}[] | undefined;
|
|
2746
2971
|
}>>;
|
|
2747
2972
|
name: z.ZodString;
|
|
@@ -2757,13 +2982,13 @@ export declare const ownResearchContract: {
|
|
|
2757
2982
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2758
2983
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2759
2984
|
}, "strip", z.ZodTypeAny, {
|
|
2985
|
+
createdAt: string;
|
|
2760
2986
|
id: string;
|
|
2761
|
-
agentId: string;
|
|
2762
2987
|
phoneNumber: string;
|
|
2763
2988
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
2764
|
-
createdAt: string;
|
|
2765
|
-
updatedAt: string;
|
|
2766
2989
|
name: string;
|
|
2990
|
+
updatedAt: string;
|
|
2991
|
+
agentId: string;
|
|
2767
2992
|
callCount: number;
|
|
2768
2993
|
lastCalledAt: string | null;
|
|
2769
2994
|
cooldownUntil: string | null;
|
|
@@ -2772,34 +2997,37 @@ export declare const ownResearchContract: {
|
|
|
2772
2997
|
existsInLeadsTable: boolean;
|
|
2773
2998
|
originalLeadId: string | null;
|
|
2774
2999
|
agent?: {
|
|
2775
|
-
id: string;
|
|
2776
|
-
firstName: string;
|
|
2777
3000
|
lastName: string;
|
|
3001
|
+
firstName: string;
|
|
2778
3002
|
email: string;
|
|
3003
|
+
createdAt: string;
|
|
3004
|
+
id: string;
|
|
2779
3005
|
phoneNumbers: {
|
|
2780
3006
|
id: string;
|
|
2781
3007
|
phoneNumber: string;
|
|
2782
3008
|
isPrimary: boolean;
|
|
2783
3009
|
description?: string | null | undefined;
|
|
2784
3010
|
}[];
|
|
2785
|
-
createdAt: string;
|
|
2786
3011
|
updatedAt: string;
|
|
3012
|
+
office?: {
|
|
3013
|
+
id: string;
|
|
3014
|
+
name: string;
|
|
3015
|
+
} | null | undefined;
|
|
2787
3016
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2788
|
-
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;
|
|
2789
3017
|
canImpersonateUsers?: {
|
|
2790
|
-
id: string;
|
|
2791
|
-
firstName: string;
|
|
2792
3018
|
lastName: string;
|
|
3019
|
+
firstName: string;
|
|
3020
|
+
id: string;
|
|
2793
3021
|
}[] | undefined;
|
|
2794
3022
|
} | undefined;
|
|
2795
3023
|
}, {
|
|
3024
|
+
createdAt: string | Date;
|
|
2796
3025
|
id: string;
|
|
2797
|
-
agentId: string;
|
|
2798
3026
|
phoneNumber: string;
|
|
2799
3027
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
2800
|
-
createdAt: string | Date;
|
|
2801
|
-
updatedAt: string | Date;
|
|
2802
3028
|
name: string;
|
|
3029
|
+
updatedAt: string | Date;
|
|
3030
|
+
agentId: string;
|
|
2803
3031
|
callCount: number;
|
|
2804
3032
|
lastCalledAt: string | Date | null;
|
|
2805
3033
|
cooldownUntil: string | Date | null;
|
|
@@ -2808,12 +3036,16 @@ export declare const ownResearchContract: {
|
|
|
2808
3036
|
existsInLeadsTable: boolean;
|
|
2809
3037
|
originalLeadId: string | null;
|
|
2810
3038
|
agent?: {
|
|
2811
|
-
id: string;
|
|
2812
|
-
firstName: string;
|
|
2813
3039
|
lastName: string;
|
|
3040
|
+
firstName: string;
|
|
2814
3041
|
email: string;
|
|
2815
3042
|
createdAt: string | Date;
|
|
3043
|
+
id: string;
|
|
2816
3044
|
updatedAt: string | Date;
|
|
3045
|
+
office?: {
|
|
3046
|
+
id: string;
|
|
3047
|
+
name: string;
|
|
3048
|
+
} | null | undefined;
|
|
2817
3049
|
phoneNumbers?: {
|
|
2818
3050
|
id: string;
|
|
2819
3051
|
phoneNumber: string;
|
|
@@ -2821,23 +3053,22 @@ export declare const ownResearchContract: {
|
|
|
2821
3053
|
isPrimary?: boolean | undefined;
|
|
2822
3054
|
}[] | undefined;
|
|
2823
3055
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2824
|
-
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;
|
|
2825
3056
|
canImpersonateUsers?: {
|
|
2826
|
-
id: string;
|
|
2827
|
-
firstName: string;
|
|
2828
3057
|
lastName: string;
|
|
3058
|
+
firstName: string;
|
|
3059
|
+
id: string;
|
|
2829
3060
|
}[] | undefined;
|
|
2830
3061
|
} | undefined;
|
|
2831
3062
|
}>;
|
|
2832
3063
|
}, "strip", z.ZodTypeAny, {
|
|
2833
3064
|
ownResearchLead: {
|
|
3065
|
+
createdAt: string;
|
|
2834
3066
|
id: string;
|
|
2835
|
-
agentId: string;
|
|
2836
3067
|
phoneNumber: string;
|
|
2837
3068
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
2838
|
-
createdAt: string;
|
|
2839
|
-
updatedAt: string;
|
|
2840
3069
|
name: string;
|
|
3070
|
+
updatedAt: string;
|
|
3071
|
+
agentId: string;
|
|
2841
3072
|
callCount: number;
|
|
2842
3073
|
lastCalledAt: string | null;
|
|
2843
3074
|
cooldownUntil: string | null;
|
|
@@ -2846,36 +3077,39 @@ export declare const ownResearchContract: {
|
|
|
2846
3077
|
existsInLeadsTable: boolean;
|
|
2847
3078
|
originalLeadId: string | null;
|
|
2848
3079
|
agent?: {
|
|
2849
|
-
id: string;
|
|
2850
|
-
firstName: string;
|
|
2851
3080
|
lastName: string;
|
|
3081
|
+
firstName: string;
|
|
2852
3082
|
email: string;
|
|
3083
|
+
createdAt: string;
|
|
3084
|
+
id: string;
|
|
2853
3085
|
phoneNumbers: {
|
|
2854
3086
|
id: string;
|
|
2855
3087
|
phoneNumber: string;
|
|
2856
3088
|
isPrimary: boolean;
|
|
2857
3089
|
description?: string | null | undefined;
|
|
2858
3090
|
}[];
|
|
2859
|
-
createdAt: string;
|
|
2860
3091
|
updatedAt: string;
|
|
3092
|
+
office?: {
|
|
3093
|
+
id: string;
|
|
3094
|
+
name: string;
|
|
3095
|
+
} | null | undefined;
|
|
2861
3096
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2862
|
-
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;
|
|
2863
3097
|
canImpersonateUsers?: {
|
|
2864
|
-
id: string;
|
|
2865
|
-
firstName: string;
|
|
2866
3098
|
lastName: string;
|
|
3099
|
+
firstName: string;
|
|
3100
|
+
id: string;
|
|
2867
3101
|
}[] | undefined;
|
|
2868
3102
|
} | undefined;
|
|
2869
3103
|
};
|
|
2870
3104
|
}, {
|
|
2871
3105
|
ownResearchLead: {
|
|
3106
|
+
createdAt: string | Date;
|
|
2872
3107
|
id: string;
|
|
2873
|
-
agentId: string;
|
|
2874
3108
|
phoneNumber: string;
|
|
2875
3109
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
2876
|
-
createdAt: string | Date;
|
|
2877
|
-
updatedAt: string | Date;
|
|
2878
3110
|
name: string;
|
|
3111
|
+
updatedAt: string | Date;
|
|
3112
|
+
agentId: string;
|
|
2879
3113
|
callCount: number;
|
|
2880
3114
|
lastCalledAt: string | Date | null;
|
|
2881
3115
|
cooldownUntil: string | Date | null;
|
|
@@ -2884,12 +3118,16 @@ export declare const ownResearchContract: {
|
|
|
2884
3118
|
existsInLeadsTable: boolean;
|
|
2885
3119
|
originalLeadId: string | null;
|
|
2886
3120
|
agent?: {
|
|
2887
|
-
id: string;
|
|
2888
|
-
firstName: string;
|
|
2889
3121
|
lastName: string;
|
|
3122
|
+
firstName: string;
|
|
2890
3123
|
email: string;
|
|
2891
3124
|
createdAt: string | Date;
|
|
3125
|
+
id: string;
|
|
2892
3126
|
updatedAt: string | Date;
|
|
3127
|
+
office?: {
|
|
3128
|
+
id: string;
|
|
3129
|
+
name: string;
|
|
3130
|
+
} | null | undefined;
|
|
2893
3131
|
phoneNumbers?: {
|
|
2894
3132
|
id: string;
|
|
2895
3133
|
phoneNumber: string;
|
|
@@ -2897,11 +3135,10 @@ export declare const ownResearchContract: {
|
|
|
2897
3135
|
isPrimary?: boolean | undefined;
|
|
2898
3136
|
}[] | undefined;
|
|
2899
3137
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2900
|
-
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;
|
|
2901
3138
|
canImpersonateUsers?: {
|
|
2902
|
-
id: string;
|
|
2903
|
-
firstName: string;
|
|
2904
3139
|
lastName: string;
|
|
3140
|
+
firstName: string;
|
|
3141
|
+
id: string;
|
|
2905
3142
|
}[] | undefined;
|
|
2906
3143
|
} | undefined;
|
|
2907
3144
|
};
|
|
@@ -3072,49 +3309,65 @@ export declare const ownResearchContract: {
|
|
|
3072
3309
|
isPrimary?: boolean | undefined;
|
|
3073
3310
|
}>, "many">>>;
|
|
3074
3311
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
|
|
3075
|
-
office: z.ZodOptional<z.ZodNullable<z.
|
|
3312
|
+
office: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3313
|
+
id: z.ZodString;
|
|
3314
|
+
name: z.ZodString;
|
|
3315
|
+
}, "strip", z.ZodTypeAny, {
|
|
3316
|
+
id: string;
|
|
3317
|
+
name: string;
|
|
3318
|
+
}, {
|
|
3319
|
+
id: string;
|
|
3320
|
+
name: string;
|
|
3321
|
+
}>>>;
|
|
3076
3322
|
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3077
3323
|
id: z.ZodString;
|
|
3078
3324
|
firstName: z.ZodString;
|
|
3079
3325
|
lastName: z.ZodString;
|
|
3080
3326
|
}, "strip", z.ZodTypeAny, {
|
|
3081
|
-
id: string;
|
|
3082
|
-
firstName: string;
|
|
3083
3327
|
lastName: string;
|
|
3084
|
-
}, {
|
|
3085
|
-
id: string;
|
|
3086
3328
|
firstName: string;
|
|
3329
|
+
id: string;
|
|
3330
|
+
}, {
|
|
3087
3331
|
lastName: string;
|
|
3332
|
+
firstName: string;
|
|
3333
|
+
id: string;
|
|
3088
3334
|
}>, "many">>;
|
|
3089
3335
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3090
3336
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3091
3337
|
}, "strip", z.ZodTypeAny, {
|
|
3092
|
-
id: string;
|
|
3093
|
-
firstName: string;
|
|
3094
3338
|
lastName: string;
|
|
3339
|
+
firstName: string;
|
|
3095
3340
|
email: string;
|
|
3341
|
+
createdAt: string;
|
|
3342
|
+
id: string;
|
|
3096
3343
|
phoneNumbers: {
|
|
3097
3344
|
id: string;
|
|
3098
3345
|
phoneNumber: string;
|
|
3099
3346
|
isPrimary: boolean;
|
|
3100
3347
|
description?: string | null | undefined;
|
|
3101
3348
|
}[];
|
|
3102
|
-
createdAt: string;
|
|
3103
3349
|
updatedAt: string;
|
|
3350
|
+
office?: {
|
|
3351
|
+
id: string;
|
|
3352
|
+
name: string;
|
|
3353
|
+
} | null | undefined;
|
|
3104
3354
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
3105
|
-
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;
|
|
3106
3355
|
canImpersonateUsers?: {
|
|
3107
|
-
id: string;
|
|
3108
|
-
firstName: string;
|
|
3109
3356
|
lastName: string;
|
|
3357
|
+
firstName: string;
|
|
3358
|
+
id: string;
|
|
3110
3359
|
}[] | undefined;
|
|
3111
3360
|
}, {
|
|
3112
|
-
id: string;
|
|
3113
|
-
firstName: string;
|
|
3114
3361
|
lastName: string;
|
|
3362
|
+
firstName: string;
|
|
3115
3363
|
email: string;
|
|
3116
3364
|
createdAt: string | Date;
|
|
3365
|
+
id: string;
|
|
3117
3366
|
updatedAt: string | Date;
|
|
3367
|
+
office?: {
|
|
3368
|
+
id: string;
|
|
3369
|
+
name: string;
|
|
3370
|
+
} | null | undefined;
|
|
3118
3371
|
phoneNumbers?: {
|
|
3119
3372
|
id: string;
|
|
3120
3373
|
phoneNumber: string;
|
|
@@ -3122,11 +3375,10 @@ export declare const ownResearchContract: {
|
|
|
3122
3375
|
isPrimary?: boolean | undefined;
|
|
3123
3376
|
}[] | undefined;
|
|
3124
3377
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
3125
|
-
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;
|
|
3126
3378
|
canImpersonateUsers?: {
|
|
3127
|
-
id: string;
|
|
3128
|
-
firstName: string;
|
|
3129
3379
|
lastName: string;
|
|
3380
|
+
firstName: string;
|
|
3381
|
+
id: string;
|
|
3130
3382
|
}[] | undefined;
|
|
3131
3383
|
}>>;
|
|
3132
3384
|
assignedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
@@ -3139,47 +3391,50 @@ export declare const ownResearchContract: {
|
|
|
3139
3391
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3140
3392
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3141
3393
|
}, "strip", z.ZodTypeAny, {
|
|
3142
|
-
id: string;
|
|
3143
3394
|
createdAt: string;
|
|
3144
|
-
|
|
3395
|
+
id: string;
|
|
3145
3396
|
name: string;
|
|
3397
|
+
updatedAt: string;
|
|
3146
3398
|
}, {
|
|
3147
|
-
id: string;
|
|
3148
3399
|
createdAt: string | Date;
|
|
3149
|
-
|
|
3400
|
+
id: string;
|
|
3150
3401
|
name: string;
|
|
3402
|
+
updatedAt: string | Date;
|
|
3151
3403
|
}>>>;
|
|
3152
3404
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3153
3405
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3154
3406
|
}, "strip", z.ZodTypeAny, {
|
|
3407
|
+
createdAt: string;
|
|
3155
3408
|
id: string;
|
|
3156
|
-
agentId: string | null;
|
|
3157
3409
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
3158
|
-
createdAt: string;
|
|
3159
3410
|
updatedAt: string;
|
|
3411
|
+
agentId: string | null;
|
|
3160
3412
|
leadId: string;
|
|
3161
3413
|
assignedAt: string;
|
|
3162
3414
|
assignedBy: string | null;
|
|
3163
3415
|
companyId: string | null;
|
|
3164
3416
|
agent?: {
|
|
3165
|
-
id: string;
|
|
3166
|
-
firstName: string;
|
|
3167
3417
|
lastName: string;
|
|
3418
|
+
firstName: string;
|
|
3168
3419
|
email: string;
|
|
3420
|
+
createdAt: string;
|
|
3421
|
+
id: string;
|
|
3169
3422
|
phoneNumbers: {
|
|
3170
3423
|
id: string;
|
|
3171
3424
|
phoneNumber: string;
|
|
3172
3425
|
isPrimary: boolean;
|
|
3173
3426
|
description?: string | null | undefined;
|
|
3174
3427
|
}[];
|
|
3175
|
-
createdAt: string;
|
|
3176
3428
|
updatedAt: string;
|
|
3429
|
+
office?: {
|
|
3430
|
+
id: string;
|
|
3431
|
+
name: string;
|
|
3432
|
+
} | null | undefined;
|
|
3177
3433
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
3178
|
-
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;
|
|
3179
3434
|
canImpersonateUsers?: {
|
|
3180
|
-
id: string;
|
|
3181
|
-
firstName: string;
|
|
3182
3435
|
lastName: string;
|
|
3436
|
+
firstName: string;
|
|
3437
|
+
id: string;
|
|
3183
3438
|
}[] | undefined;
|
|
3184
3439
|
} | undefined;
|
|
3185
3440
|
lead?: {
|
|
@@ -3187,28 +3442,32 @@ export declare const ownResearchContract: {
|
|
|
3187
3442
|
name: string;
|
|
3188
3443
|
} | undefined;
|
|
3189
3444
|
company?: {
|
|
3190
|
-
id: string;
|
|
3191
3445
|
createdAt: string;
|
|
3192
|
-
|
|
3446
|
+
id: string;
|
|
3193
3447
|
name: string;
|
|
3448
|
+
updatedAt: string;
|
|
3194
3449
|
} | null | undefined;
|
|
3195
3450
|
}, {
|
|
3451
|
+
createdAt: string | Date;
|
|
3196
3452
|
id: string;
|
|
3197
|
-
agentId: string | null;
|
|
3198
3453
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
3199
|
-
createdAt: string | Date;
|
|
3200
3454
|
updatedAt: string | Date;
|
|
3455
|
+
agentId: string | null;
|
|
3201
3456
|
leadId: string;
|
|
3202
3457
|
assignedAt: string | Date;
|
|
3203
3458
|
assignedBy: string | null;
|
|
3204
3459
|
companyId: string | null;
|
|
3205
3460
|
agent?: {
|
|
3206
|
-
id: string;
|
|
3207
|
-
firstName: string;
|
|
3208
3461
|
lastName: string;
|
|
3462
|
+
firstName: string;
|
|
3209
3463
|
email: string;
|
|
3210
3464
|
createdAt: string | Date;
|
|
3465
|
+
id: string;
|
|
3211
3466
|
updatedAt: string | Date;
|
|
3467
|
+
office?: {
|
|
3468
|
+
id: string;
|
|
3469
|
+
name: string;
|
|
3470
|
+
} | null | undefined;
|
|
3212
3471
|
phoneNumbers?: {
|
|
3213
3472
|
id: string;
|
|
3214
3473
|
phoneNumber: string;
|
|
@@ -3216,11 +3475,10 @@ export declare const ownResearchContract: {
|
|
|
3216
3475
|
isPrimary?: boolean | undefined;
|
|
3217
3476
|
}[] | undefined;
|
|
3218
3477
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
3219
|
-
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;
|
|
3220
3478
|
canImpersonateUsers?: {
|
|
3221
|
-
id: string;
|
|
3222
|
-
firstName: string;
|
|
3223
3479
|
lastName: string;
|
|
3480
|
+
firstName: string;
|
|
3481
|
+
id: string;
|
|
3224
3482
|
}[] | undefined;
|
|
3225
3483
|
} | undefined;
|
|
3226
3484
|
lead?: {
|
|
@@ -3228,10 +3486,10 @@ export declare const ownResearchContract: {
|
|
|
3228
3486
|
name: string;
|
|
3229
3487
|
} | undefined;
|
|
3230
3488
|
company?: {
|
|
3231
|
-
id: string;
|
|
3232
3489
|
createdAt: string | Date;
|
|
3233
|
-
|
|
3490
|
+
id: string;
|
|
3234
3491
|
name: string;
|
|
3492
|
+
updatedAt: string | Date;
|
|
3235
3493
|
} | null | undefined;
|
|
3236
3494
|
}>>>;
|
|
3237
3495
|
ownResearchLead: z.ZodObject<{
|
|
@@ -3259,49 +3517,65 @@ export declare const ownResearchContract: {
|
|
|
3259
3517
|
isPrimary?: boolean | undefined;
|
|
3260
3518
|
}>, "many">>>;
|
|
3261
3519
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<["ADMIN", "SECOND_AGENT", "FIRST_AGENT", "COMPANY_CHECKING", "KPI", "TEAM_LEADS"]>, "many">>;
|
|
3262
|
-
office: z.ZodOptional<z.ZodNullable<z.
|
|
3520
|
+
office: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3521
|
+
id: z.ZodString;
|
|
3522
|
+
name: z.ZodString;
|
|
3523
|
+
}, "strip", z.ZodTypeAny, {
|
|
3524
|
+
id: string;
|
|
3525
|
+
name: string;
|
|
3526
|
+
}, {
|
|
3527
|
+
id: string;
|
|
3528
|
+
name: string;
|
|
3529
|
+
}>>>;
|
|
3263
3530
|
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3264
3531
|
id: z.ZodString;
|
|
3265
3532
|
firstName: z.ZodString;
|
|
3266
3533
|
lastName: z.ZodString;
|
|
3267
3534
|
}, "strip", z.ZodTypeAny, {
|
|
3268
|
-
id: string;
|
|
3269
|
-
firstName: string;
|
|
3270
3535
|
lastName: string;
|
|
3271
|
-
}, {
|
|
3272
|
-
id: string;
|
|
3273
3536
|
firstName: string;
|
|
3537
|
+
id: string;
|
|
3538
|
+
}, {
|
|
3274
3539
|
lastName: string;
|
|
3540
|
+
firstName: string;
|
|
3541
|
+
id: string;
|
|
3275
3542
|
}>, "many">>;
|
|
3276
3543
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3277
3544
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3278
3545
|
}, "strip", z.ZodTypeAny, {
|
|
3279
|
-
id: string;
|
|
3280
|
-
firstName: string;
|
|
3281
3546
|
lastName: string;
|
|
3547
|
+
firstName: string;
|
|
3282
3548
|
email: string;
|
|
3549
|
+
createdAt: string;
|
|
3550
|
+
id: string;
|
|
3283
3551
|
phoneNumbers: {
|
|
3284
3552
|
id: string;
|
|
3285
3553
|
phoneNumber: string;
|
|
3286
3554
|
isPrimary: boolean;
|
|
3287
3555
|
description?: string | null | undefined;
|
|
3288
3556
|
}[];
|
|
3289
|
-
createdAt: string;
|
|
3290
3557
|
updatedAt: string;
|
|
3558
|
+
office?: {
|
|
3559
|
+
id: string;
|
|
3560
|
+
name: string;
|
|
3561
|
+
} | null | undefined;
|
|
3291
3562
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
3292
|
-
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;
|
|
3293
3563
|
canImpersonateUsers?: {
|
|
3294
|
-
id: string;
|
|
3295
|
-
firstName: string;
|
|
3296
3564
|
lastName: string;
|
|
3565
|
+
firstName: string;
|
|
3566
|
+
id: string;
|
|
3297
3567
|
}[] | undefined;
|
|
3298
3568
|
}, {
|
|
3299
|
-
id: string;
|
|
3300
|
-
firstName: string;
|
|
3301
3569
|
lastName: string;
|
|
3570
|
+
firstName: string;
|
|
3302
3571
|
email: string;
|
|
3303
3572
|
createdAt: string | Date;
|
|
3573
|
+
id: string;
|
|
3304
3574
|
updatedAt: string | Date;
|
|
3575
|
+
office?: {
|
|
3576
|
+
id: string;
|
|
3577
|
+
name: string;
|
|
3578
|
+
} | null | undefined;
|
|
3305
3579
|
phoneNumbers?: {
|
|
3306
3580
|
id: string;
|
|
3307
3581
|
phoneNumber: string;
|
|
@@ -3309,11 +3583,10 @@ export declare const ownResearchContract: {
|
|
|
3309
3583
|
isPrimary?: boolean | undefined;
|
|
3310
3584
|
}[] | undefined;
|
|
3311
3585
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
3312
|
-
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;
|
|
3313
3586
|
canImpersonateUsers?: {
|
|
3314
|
-
id: string;
|
|
3315
|
-
firstName: string;
|
|
3316
3587
|
lastName: string;
|
|
3588
|
+
firstName: string;
|
|
3589
|
+
id: string;
|
|
3317
3590
|
}[] | undefined;
|
|
3318
3591
|
}>>;
|
|
3319
3592
|
name: z.ZodString;
|
|
@@ -3329,13 +3602,13 @@ export declare const ownResearchContract: {
|
|
|
3329
3602
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3330
3603
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3331
3604
|
}, "strip", z.ZodTypeAny, {
|
|
3605
|
+
createdAt: string;
|
|
3332
3606
|
id: string;
|
|
3333
|
-
agentId: string;
|
|
3334
3607
|
phoneNumber: string;
|
|
3335
3608
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
3336
|
-
createdAt: string;
|
|
3337
|
-
updatedAt: string;
|
|
3338
3609
|
name: string;
|
|
3610
|
+
updatedAt: string;
|
|
3611
|
+
agentId: string;
|
|
3339
3612
|
callCount: number;
|
|
3340
3613
|
lastCalledAt: string | null;
|
|
3341
3614
|
cooldownUntil: string | null;
|
|
@@ -3344,34 +3617,37 @@ export declare const ownResearchContract: {
|
|
|
3344
3617
|
existsInLeadsTable: boolean;
|
|
3345
3618
|
originalLeadId: string | null;
|
|
3346
3619
|
agent?: {
|
|
3347
|
-
id: string;
|
|
3348
|
-
firstName: string;
|
|
3349
3620
|
lastName: string;
|
|
3621
|
+
firstName: string;
|
|
3350
3622
|
email: string;
|
|
3623
|
+
createdAt: string;
|
|
3624
|
+
id: string;
|
|
3351
3625
|
phoneNumbers: {
|
|
3352
3626
|
id: string;
|
|
3353
3627
|
phoneNumber: string;
|
|
3354
3628
|
isPrimary: boolean;
|
|
3355
3629
|
description?: string | null | undefined;
|
|
3356
3630
|
}[];
|
|
3357
|
-
createdAt: string;
|
|
3358
3631
|
updatedAt: string;
|
|
3632
|
+
office?: {
|
|
3633
|
+
id: string;
|
|
3634
|
+
name: string;
|
|
3635
|
+
} | null | undefined;
|
|
3359
3636
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
3360
|
-
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;
|
|
3361
3637
|
canImpersonateUsers?: {
|
|
3362
|
-
id: string;
|
|
3363
|
-
firstName: string;
|
|
3364
3638
|
lastName: string;
|
|
3639
|
+
firstName: string;
|
|
3640
|
+
id: string;
|
|
3365
3641
|
}[] | undefined;
|
|
3366
3642
|
} | undefined;
|
|
3367
3643
|
}, {
|
|
3644
|
+
createdAt: string | Date;
|
|
3368
3645
|
id: string;
|
|
3369
|
-
agentId: string;
|
|
3370
3646
|
phoneNumber: string;
|
|
3371
3647
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
3372
|
-
createdAt: string | Date;
|
|
3373
|
-
updatedAt: string | Date;
|
|
3374
3648
|
name: string;
|
|
3649
|
+
updatedAt: string | Date;
|
|
3650
|
+
agentId: string;
|
|
3375
3651
|
callCount: number;
|
|
3376
3652
|
lastCalledAt: string | Date | null;
|
|
3377
3653
|
cooldownUntil: string | Date | null;
|
|
@@ -3380,12 +3656,16 @@ export declare const ownResearchContract: {
|
|
|
3380
3656
|
existsInLeadsTable: boolean;
|
|
3381
3657
|
originalLeadId: string | null;
|
|
3382
3658
|
agent?: {
|
|
3383
|
-
id: string;
|
|
3384
|
-
firstName: string;
|
|
3385
3659
|
lastName: string;
|
|
3660
|
+
firstName: string;
|
|
3386
3661
|
email: string;
|
|
3387
3662
|
createdAt: string | Date;
|
|
3663
|
+
id: string;
|
|
3388
3664
|
updatedAt: string | Date;
|
|
3665
|
+
office?: {
|
|
3666
|
+
id: string;
|
|
3667
|
+
name: string;
|
|
3668
|
+
} | null | undefined;
|
|
3389
3669
|
phoneNumbers?: {
|
|
3390
3670
|
id: string;
|
|
3391
3671
|
phoneNumber: string;
|
|
@@ -3393,23 +3673,22 @@ export declare const ownResearchContract: {
|
|
|
3393
3673
|
isPrimary?: boolean | undefined;
|
|
3394
3674
|
}[] | undefined;
|
|
3395
3675
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
3396
|
-
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;
|
|
3397
3676
|
canImpersonateUsers?: {
|
|
3398
|
-
id: string;
|
|
3399
|
-
firstName: string;
|
|
3400
3677
|
lastName: string;
|
|
3678
|
+
firstName: string;
|
|
3679
|
+
id: string;
|
|
3401
3680
|
}[] | undefined;
|
|
3402
3681
|
} | undefined;
|
|
3403
3682
|
}>;
|
|
3404
3683
|
}, "strip", z.ZodTypeAny, {
|
|
3405
3684
|
ownResearchLead: {
|
|
3685
|
+
createdAt: string;
|
|
3406
3686
|
id: string;
|
|
3407
|
-
agentId: string;
|
|
3408
3687
|
phoneNumber: string;
|
|
3409
3688
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
3410
|
-
createdAt: string;
|
|
3411
|
-
updatedAt: string;
|
|
3412
3689
|
name: string;
|
|
3690
|
+
updatedAt: string;
|
|
3691
|
+
agentId: string;
|
|
3413
3692
|
callCount: number;
|
|
3414
3693
|
lastCalledAt: string | null;
|
|
3415
3694
|
cooldownUntil: string | null;
|
|
@@ -3418,56 +3697,62 @@ export declare const ownResearchContract: {
|
|
|
3418
3697
|
existsInLeadsTable: boolean;
|
|
3419
3698
|
originalLeadId: string | null;
|
|
3420
3699
|
agent?: {
|
|
3421
|
-
id: string;
|
|
3422
|
-
firstName: string;
|
|
3423
3700
|
lastName: string;
|
|
3701
|
+
firstName: string;
|
|
3424
3702
|
email: string;
|
|
3703
|
+
createdAt: string;
|
|
3704
|
+
id: string;
|
|
3425
3705
|
phoneNumbers: {
|
|
3426
3706
|
id: string;
|
|
3427
3707
|
phoneNumber: string;
|
|
3428
3708
|
isPrimary: boolean;
|
|
3429
3709
|
description?: string | null | undefined;
|
|
3430
3710
|
}[];
|
|
3431
|
-
createdAt: string;
|
|
3432
3711
|
updatedAt: string;
|
|
3712
|
+
office?: {
|
|
3713
|
+
id: string;
|
|
3714
|
+
name: string;
|
|
3715
|
+
} | null | undefined;
|
|
3433
3716
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
3434
|
-
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;
|
|
3435
3717
|
canImpersonateUsers?: {
|
|
3436
|
-
id: string;
|
|
3437
|
-
firstName: string;
|
|
3438
3718
|
lastName: string;
|
|
3719
|
+
firstName: string;
|
|
3720
|
+
id: string;
|
|
3439
3721
|
}[] | undefined;
|
|
3440
3722
|
} | undefined;
|
|
3441
3723
|
};
|
|
3442
3724
|
assignment?: {
|
|
3725
|
+
createdAt: string;
|
|
3443
3726
|
id: string;
|
|
3444
|
-
agentId: string | null;
|
|
3445
3727
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
3446
|
-
createdAt: string;
|
|
3447
3728
|
updatedAt: string;
|
|
3729
|
+
agentId: string | null;
|
|
3448
3730
|
leadId: string;
|
|
3449
3731
|
assignedAt: string;
|
|
3450
3732
|
assignedBy: string | null;
|
|
3451
3733
|
companyId: string | null;
|
|
3452
3734
|
agent?: {
|
|
3453
|
-
id: string;
|
|
3454
|
-
firstName: string;
|
|
3455
3735
|
lastName: string;
|
|
3736
|
+
firstName: string;
|
|
3456
3737
|
email: string;
|
|
3738
|
+
createdAt: string;
|
|
3739
|
+
id: string;
|
|
3457
3740
|
phoneNumbers: {
|
|
3458
3741
|
id: string;
|
|
3459
3742
|
phoneNumber: string;
|
|
3460
3743
|
isPrimary: boolean;
|
|
3461
3744
|
description?: string | null | undefined;
|
|
3462
3745
|
}[];
|
|
3463
|
-
createdAt: string;
|
|
3464
3746
|
updatedAt: string;
|
|
3747
|
+
office?: {
|
|
3748
|
+
id: string;
|
|
3749
|
+
name: string;
|
|
3750
|
+
} | null | undefined;
|
|
3465
3751
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
3466
|
-
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;
|
|
3467
3752
|
canImpersonateUsers?: {
|
|
3468
|
-
id: string;
|
|
3469
|
-
firstName: string;
|
|
3470
3753
|
lastName: string;
|
|
3754
|
+
firstName: string;
|
|
3755
|
+
id: string;
|
|
3471
3756
|
}[] | undefined;
|
|
3472
3757
|
} | undefined;
|
|
3473
3758
|
lead?: {
|
|
@@ -3475,21 +3760,21 @@ export declare const ownResearchContract: {
|
|
|
3475
3760
|
name: string;
|
|
3476
3761
|
} | undefined;
|
|
3477
3762
|
company?: {
|
|
3478
|
-
id: string;
|
|
3479
3763
|
createdAt: string;
|
|
3480
|
-
|
|
3764
|
+
id: string;
|
|
3481
3765
|
name: string;
|
|
3766
|
+
updatedAt: string;
|
|
3482
3767
|
} | null | undefined;
|
|
3483
3768
|
} | null | undefined;
|
|
3484
3769
|
}, {
|
|
3485
3770
|
ownResearchLead: {
|
|
3771
|
+
createdAt: string | Date;
|
|
3486
3772
|
id: string;
|
|
3487
|
-
agentId: string;
|
|
3488
3773
|
phoneNumber: string;
|
|
3489
3774
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
3490
|
-
createdAt: string | Date;
|
|
3491
|
-
updatedAt: string | Date;
|
|
3492
3775
|
name: string;
|
|
3776
|
+
updatedAt: string | Date;
|
|
3777
|
+
agentId: string;
|
|
3493
3778
|
callCount: number;
|
|
3494
3779
|
lastCalledAt: string | Date | null;
|
|
3495
3780
|
cooldownUntil: string | Date | null;
|
|
@@ -3498,12 +3783,16 @@ export declare const ownResearchContract: {
|
|
|
3498
3783
|
existsInLeadsTable: boolean;
|
|
3499
3784
|
originalLeadId: string | null;
|
|
3500
3785
|
agent?: {
|
|
3501
|
-
id: string;
|
|
3502
|
-
firstName: string;
|
|
3503
3786
|
lastName: string;
|
|
3787
|
+
firstName: string;
|
|
3504
3788
|
email: string;
|
|
3505
3789
|
createdAt: string | Date;
|
|
3790
|
+
id: string;
|
|
3506
3791
|
updatedAt: string | Date;
|
|
3792
|
+
office?: {
|
|
3793
|
+
id: string;
|
|
3794
|
+
name: string;
|
|
3795
|
+
} | null | undefined;
|
|
3507
3796
|
phoneNumbers?: {
|
|
3508
3797
|
id: string;
|
|
3509
3798
|
phoneNumber: string;
|
|
@@ -3511,31 +3800,34 @@ export declare const ownResearchContract: {
|
|
|
3511
3800
|
isPrimary?: boolean | undefined;
|
|
3512
3801
|
}[] | undefined;
|
|
3513
3802
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
3514
|
-
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;
|
|
3515
3803
|
canImpersonateUsers?: {
|
|
3516
|
-
id: string;
|
|
3517
|
-
firstName: string;
|
|
3518
3804
|
lastName: string;
|
|
3805
|
+
firstName: string;
|
|
3806
|
+
id: string;
|
|
3519
3807
|
}[] | undefined;
|
|
3520
3808
|
} | undefined;
|
|
3521
3809
|
};
|
|
3522
3810
|
assignment?: {
|
|
3811
|
+
createdAt: string | Date;
|
|
3523
3812
|
id: string;
|
|
3524
|
-
agentId: string | null;
|
|
3525
3813
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
3526
|
-
createdAt: string | Date;
|
|
3527
3814
|
updatedAt: string | Date;
|
|
3815
|
+
agentId: string | null;
|
|
3528
3816
|
leadId: string;
|
|
3529
3817
|
assignedAt: string | Date;
|
|
3530
3818
|
assignedBy: string | null;
|
|
3531
3819
|
companyId: string | null;
|
|
3532
3820
|
agent?: {
|
|
3533
|
-
id: string;
|
|
3534
|
-
firstName: string;
|
|
3535
3821
|
lastName: string;
|
|
3822
|
+
firstName: string;
|
|
3536
3823
|
email: string;
|
|
3537
3824
|
createdAt: string | Date;
|
|
3825
|
+
id: string;
|
|
3538
3826
|
updatedAt: string | Date;
|
|
3827
|
+
office?: {
|
|
3828
|
+
id: string;
|
|
3829
|
+
name: string;
|
|
3830
|
+
} | null | undefined;
|
|
3539
3831
|
phoneNumbers?: {
|
|
3540
3832
|
id: string;
|
|
3541
3833
|
phoneNumber: string;
|
|
@@ -3543,11 +3835,10 @@ export declare const ownResearchContract: {
|
|
|
3543
3835
|
isPrimary?: boolean | undefined;
|
|
3544
3836
|
}[] | undefined;
|
|
3545
3837
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
3546
|
-
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;
|
|
3547
3838
|
canImpersonateUsers?: {
|
|
3548
|
-
id: string;
|
|
3549
|
-
firstName: string;
|
|
3550
3839
|
lastName: string;
|
|
3840
|
+
firstName: string;
|
|
3841
|
+
id: string;
|
|
3551
3842
|
}[] | undefined;
|
|
3552
3843
|
} | undefined;
|
|
3553
3844
|
lead?: {
|
|
@@ -3555,10 +3846,10 @@ export declare const ownResearchContract: {
|
|
|
3555
3846
|
name: string;
|
|
3556
3847
|
} | undefined;
|
|
3557
3848
|
company?: {
|
|
3558
|
-
id: string;
|
|
3559
3849
|
createdAt: string | Date;
|
|
3560
|
-
|
|
3850
|
+
id: string;
|
|
3561
3851
|
name: string;
|
|
3852
|
+
updatedAt: string | Date;
|
|
3562
3853
|
} | null | undefined;
|
|
3563
3854
|
} | null | undefined;
|
|
3564
3855
|
}>;
|