@dakkitor/api-contracts 1.1.133 → 1.1.135
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/first-agent.abilities.json +3 -0
- package/dist/actives/actives.contract.d.ts +6314 -5768
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.d.ts +23008 -20896
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/dashboards/dashboard-widgets.contract.d.ts +98 -98
- package/dist/leads/leads.contract.d.ts +147 -103
- package/dist/leads/leads.contract.d.ts.map +1 -1
- package/dist/leads/leads.contract.js +11 -0
- package/dist/own-research/own-research.contract.d.ts +1829 -398
- package/dist/own-research/own-research.contract.d.ts.map +1 -1
- package/dist/own-research/own-research.contract.js +8 -2
- package/dist/workers/workers.contract.d.ts +1083 -721
- package/dist/workers/workers.contract.d.ts.map +1 -1
- package/dist/workers/workers.contract.js +59 -1
- package/package.json +1 -1
|
@@ -8,48 +8,169 @@ import { z } from 'zod';
|
|
|
8
8
|
export declare const OwnResearchLeadSchema: z.ZodObject<{
|
|
9
9
|
id: z.ZodString;
|
|
10
10
|
agentId: z.ZodString;
|
|
11
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
12
|
+
id: z.ZodString;
|
|
13
|
+
firstName: z.ZodString;
|
|
14
|
+
lastName: z.ZodString;
|
|
15
|
+
email: z.ZodString;
|
|
16
|
+
phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
17
|
+
id: z.ZodString;
|
|
18
|
+
phoneNumber: z.ZodString;
|
|
19
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
21
|
+
}, "strip", z.ZodTypeAny, {
|
|
22
|
+
id: string;
|
|
23
|
+
phoneNumber: string;
|
|
24
|
+
isPrimary: boolean;
|
|
25
|
+
description?: string | null | undefined;
|
|
26
|
+
}, {
|
|
27
|
+
id: string;
|
|
28
|
+
phoneNumber: string;
|
|
29
|
+
description?: string | null | undefined;
|
|
30
|
+
isPrimary?: boolean | undefined;
|
|
31
|
+
}>, "many">>>;
|
|
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.ZodEnum<["ALBANIA", "CRAIOVA", "DANI", "GABI_RECRUTARE", "GEORGIA", "INDIA", "IONITA", "MARIUS_DRAGAN", "MAX_MANGU", "MAXIM_VADIM", "MD_BOGDAN", "MD_DANIEL_CHISINAU", "NEACSU", "ROBERT_DENIS", "ROBERT_RADU", "VICTORIEI_MIRIAM", "VIZIRU", "Y_INDIVIDUALS_RECRUITMENT"]>>>;
|
|
34
|
+
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
35
|
+
id: z.ZodString;
|
|
36
|
+
firstName: z.ZodString;
|
|
37
|
+
lastName: z.ZodString;
|
|
38
|
+
}, "strip", z.ZodTypeAny, {
|
|
39
|
+
id: string;
|
|
40
|
+
firstName: string;
|
|
41
|
+
lastName: string;
|
|
42
|
+
}, {
|
|
43
|
+
id: string;
|
|
44
|
+
firstName: string;
|
|
45
|
+
lastName: string;
|
|
46
|
+
}>, "many">>;
|
|
47
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
48
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
49
|
+
}, "strip", z.ZodTypeAny, {
|
|
50
|
+
id: string;
|
|
51
|
+
firstName: string;
|
|
52
|
+
lastName: string;
|
|
53
|
+
email: string;
|
|
54
|
+
phoneNumbers: {
|
|
55
|
+
id: string;
|
|
56
|
+
phoneNumber: string;
|
|
57
|
+
isPrimary: boolean;
|
|
58
|
+
description?: string | null | undefined;
|
|
59
|
+
}[];
|
|
60
|
+
createdAt: string;
|
|
61
|
+
updatedAt: string;
|
|
62
|
+
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
|
+
canImpersonateUsers?: {
|
|
65
|
+
id: string;
|
|
66
|
+
firstName: string;
|
|
67
|
+
lastName: string;
|
|
68
|
+
}[] | undefined;
|
|
69
|
+
}, {
|
|
70
|
+
id: string;
|
|
71
|
+
firstName: string;
|
|
72
|
+
lastName: string;
|
|
73
|
+
email: string;
|
|
74
|
+
createdAt: string | Date;
|
|
75
|
+
updatedAt: string | Date;
|
|
76
|
+
phoneNumbers?: {
|
|
77
|
+
id: string;
|
|
78
|
+
phoneNumber: string;
|
|
79
|
+
description?: string | null | undefined;
|
|
80
|
+
isPrimary?: boolean | undefined;
|
|
81
|
+
}[] | undefined;
|
|
82
|
+
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
|
+
canImpersonateUsers?: {
|
|
85
|
+
id: string;
|
|
86
|
+
firstName: string;
|
|
87
|
+
lastName: string;
|
|
88
|
+
}[] | undefined;
|
|
89
|
+
}>>;
|
|
11
90
|
name: z.ZodString;
|
|
12
91
|
phoneNumber: z.ZodString;
|
|
13
|
-
source: z.ZodString;
|
|
14
92
|
status: z.ZodEnum<["AVAILABLE", "ASSIGNED", "BLACKLISTED"]>;
|
|
15
93
|
callCount: z.ZodNumber;
|
|
16
94
|
lastCalledAt: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>;
|
|
17
95
|
cooldownUntil: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>;
|
|
18
96
|
blacklistReason: z.ZodNullable<z.ZodString>;
|
|
97
|
+
lastCallNotes: z.ZodNullable<z.ZodString>;
|
|
19
98
|
existsInLeadsTable: z.ZodBoolean;
|
|
20
99
|
originalLeadId: z.ZodNullable<z.ZodString>;
|
|
21
100
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
22
101
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
23
102
|
}, "strip", z.ZodTypeAny, {
|
|
24
|
-
name: string;
|
|
25
103
|
id: string;
|
|
104
|
+
agentId: string;
|
|
26
105
|
phoneNumber: string;
|
|
27
106
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
28
|
-
|
|
29
|
-
|
|
107
|
+
createdAt: string;
|
|
108
|
+
updatedAt: string;
|
|
109
|
+
name: string;
|
|
30
110
|
callCount: number;
|
|
31
111
|
lastCalledAt: string | null;
|
|
32
112
|
cooldownUntil: string | null;
|
|
33
113
|
blacklistReason: string | null;
|
|
114
|
+
lastCallNotes: string | null;
|
|
34
115
|
existsInLeadsTable: boolean;
|
|
35
116
|
originalLeadId: string | null;
|
|
36
|
-
|
|
37
|
-
|
|
117
|
+
agent?: {
|
|
118
|
+
id: string;
|
|
119
|
+
firstName: string;
|
|
120
|
+
lastName: string;
|
|
121
|
+
email: string;
|
|
122
|
+
phoneNumbers: {
|
|
123
|
+
id: string;
|
|
124
|
+
phoneNumber: string;
|
|
125
|
+
isPrimary: boolean;
|
|
126
|
+
description?: string | null | undefined;
|
|
127
|
+
}[];
|
|
128
|
+
createdAt: string;
|
|
129
|
+
updatedAt: string;
|
|
130
|
+
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
|
+
canImpersonateUsers?: {
|
|
133
|
+
id: string;
|
|
134
|
+
firstName: string;
|
|
135
|
+
lastName: string;
|
|
136
|
+
}[] | undefined;
|
|
137
|
+
} | undefined;
|
|
38
138
|
}, {
|
|
39
|
-
name: string;
|
|
40
139
|
id: string;
|
|
140
|
+
agentId: string;
|
|
41
141
|
phoneNumber: string;
|
|
42
142
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
43
|
-
|
|
44
|
-
|
|
143
|
+
createdAt: string | Date;
|
|
144
|
+
updatedAt: string | Date;
|
|
145
|
+
name: string;
|
|
45
146
|
callCount: number;
|
|
46
147
|
lastCalledAt: string | Date | null;
|
|
47
148
|
cooldownUntil: string | Date | null;
|
|
48
149
|
blacklistReason: string | null;
|
|
150
|
+
lastCallNotes: string | null;
|
|
49
151
|
existsInLeadsTable: boolean;
|
|
50
152
|
originalLeadId: string | null;
|
|
51
|
-
|
|
52
|
-
|
|
153
|
+
agent?: {
|
|
154
|
+
id: string;
|
|
155
|
+
firstName: string;
|
|
156
|
+
lastName: string;
|
|
157
|
+
email: string;
|
|
158
|
+
createdAt: string | Date;
|
|
159
|
+
updatedAt: string | Date;
|
|
160
|
+
phoneNumbers?: {
|
|
161
|
+
id: string;
|
|
162
|
+
phoneNumber: string;
|
|
163
|
+
description?: string | null | undefined;
|
|
164
|
+
isPrimary?: boolean | undefined;
|
|
165
|
+
}[] | undefined;
|
|
166
|
+
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
|
+
canImpersonateUsers?: {
|
|
169
|
+
id: string;
|
|
170
|
+
firstName: string;
|
|
171
|
+
lastName: string;
|
|
172
|
+
}[] | undefined;
|
|
173
|
+
} | undefined;
|
|
53
174
|
}>;
|
|
54
175
|
export declare const CheckPhoneResponseSchema: z.ZodObject<{
|
|
55
176
|
existsInLeads: z.ZodBoolean;
|
|
@@ -61,63 +182,184 @@ export declare const CheckPhoneResponseSchema: z.ZodObject<{
|
|
|
61
182
|
status: z.ZodString;
|
|
62
183
|
cooldownUntil: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>;
|
|
63
184
|
}, "strip", z.ZodTypeAny, {
|
|
64
|
-
name: string;
|
|
65
185
|
id: string;
|
|
66
186
|
phoneNumber: string;
|
|
67
187
|
status: string;
|
|
188
|
+
name: string;
|
|
68
189
|
cooldownUntil: string | null;
|
|
69
190
|
}, {
|
|
70
|
-
name: string;
|
|
71
191
|
id: string;
|
|
72
192
|
phoneNumber: string;
|
|
73
193
|
status: string;
|
|
194
|
+
name: string;
|
|
74
195
|
cooldownUntil: string | Date | null;
|
|
75
196
|
}>>>;
|
|
76
197
|
ownResearchLead: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
77
198
|
id: z.ZodString;
|
|
78
199
|
agentId: z.ZodString;
|
|
200
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
201
|
+
id: z.ZodString;
|
|
202
|
+
firstName: z.ZodString;
|
|
203
|
+
lastName: z.ZodString;
|
|
204
|
+
email: z.ZodString;
|
|
205
|
+
phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
206
|
+
id: z.ZodString;
|
|
207
|
+
phoneNumber: z.ZodString;
|
|
208
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
209
|
+
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
210
|
+
}, "strip", z.ZodTypeAny, {
|
|
211
|
+
id: string;
|
|
212
|
+
phoneNumber: string;
|
|
213
|
+
isPrimary: boolean;
|
|
214
|
+
description?: string | null | undefined;
|
|
215
|
+
}, {
|
|
216
|
+
id: string;
|
|
217
|
+
phoneNumber: string;
|
|
218
|
+
description?: string | null | undefined;
|
|
219
|
+
isPrimary?: boolean | undefined;
|
|
220
|
+
}>, "many">>>;
|
|
221
|
+
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.ZodEnum<["ALBANIA", "CRAIOVA", "DANI", "GABI_RECRUTARE", "GEORGIA", "INDIA", "IONITA", "MARIUS_DRAGAN", "MAX_MANGU", "MAXIM_VADIM", "MD_BOGDAN", "MD_DANIEL_CHISINAU", "NEACSU", "ROBERT_DENIS", "ROBERT_RADU", "VICTORIEI_MIRIAM", "VIZIRU", "Y_INDIVIDUALS_RECRUITMENT"]>>>;
|
|
223
|
+
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
224
|
+
id: z.ZodString;
|
|
225
|
+
firstName: z.ZodString;
|
|
226
|
+
lastName: z.ZodString;
|
|
227
|
+
}, "strip", z.ZodTypeAny, {
|
|
228
|
+
id: string;
|
|
229
|
+
firstName: string;
|
|
230
|
+
lastName: string;
|
|
231
|
+
}, {
|
|
232
|
+
id: string;
|
|
233
|
+
firstName: string;
|
|
234
|
+
lastName: string;
|
|
235
|
+
}>, "many">>;
|
|
236
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
237
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
238
|
+
}, "strip", z.ZodTypeAny, {
|
|
239
|
+
id: string;
|
|
240
|
+
firstName: string;
|
|
241
|
+
lastName: string;
|
|
242
|
+
email: string;
|
|
243
|
+
phoneNumbers: {
|
|
244
|
+
id: string;
|
|
245
|
+
phoneNumber: string;
|
|
246
|
+
isPrimary: boolean;
|
|
247
|
+
description?: string | null | undefined;
|
|
248
|
+
}[];
|
|
249
|
+
createdAt: string;
|
|
250
|
+
updatedAt: string;
|
|
251
|
+
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
|
+
canImpersonateUsers?: {
|
|
254
|
+
id: string;
|
|
255
|
+
firstName: string;
|
|
256
|
+
lastName: string;
|
|
257
|
+
}[] | undefined;
|
|
258
|
+
}, {
|
|
259
|
+
id: string;
|
|
260
|
+
firstName: string;
|
|
261
|
+
lastName: string;
|
|
262
|
+
email: string;
|
|
263
|
+
createdAt: string | Date;
|
|
264
|
+
updatedAt: string | Date;
|
|
265
|
+
phoneNumbers?: {
|
|
266
|
+
id: string;
|
|
267
|
+
phoneNumber: string;
|
|
268
|
+
description?: string | null | undefined;
|
|
269
|
+
isPrimary?: boolean | undefined;
|
|
270
|
+
}[] | undefined;
|
|
271
|
+
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
|
+
canImpersonateUsers?: {
|
|
274
|
+
id: string;
|
|
275
|
+
firstName: string;
|
|
276
|
+
lastName: string;
|
|
277
|
+
}[] | undefined;
|
|
278
|
+
}>>;
|
|
79
279
|
name: z.ZodString;
|
|
80
280
|
phoneNumber: z.ZodString;
|
|
81
|
-
source: z.ZodString;
|
|
82
281
|
status: z.ZodEnum<["AVAILABLE", "ASSIGNED", "BLACKLISTED"]>;
|
|
83
282
|
callCount: z.ZodNumber;
|
|
84
283
|
lastCalledAt: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>;
|
|
85
284
|
cooldownUntil: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>;
|
|
86
285
|
blacklistReason: z.ZodNullable<z.ZodString>;
|
|
286
|
+
lastCallNotes: z.ZodNullable<z.ZodString>;
|
|
87
287
|
existsInLeadsTable: z.ZodBoolean;
|
|
88
288
|
originalLeadId: z.ZodNullable<z.ZodString>;
|
|
89
289
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
90
290
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
91
291
|
}, "strip", z.ZodTypeAny, {
|
|
92
|
-
name: string;
|
|
93
292
|
id: string;
|
|
293
|
+
agentId: string;
|
|
94
294
|
phoneNumber: string;
|
|
95
295
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
96
|
-
|
|
97
|
-
|
|
296
|
+
createdAt: string;
|
|
297
|
+
updatedAt: string;
|
|
298
|
+
name: string;
|
|
98
299
|
callCount: number;
|
|
99
300
|
lastCalledAt: string | null;
|
|
100
301
|
cooldownUntil: string | null;
|
|
101
302
|
blacklistReason: string | null;
|
|
303
|
+
lastCallNotes: string | null;
|
|
102
304
|
existsInLeadsTable: boolean;
|
|
103
305
|
originalLeadId: string | null;
|
|
104
|
-
|
|
105
|
-
|
|
306
|
+
agent?: {
|
|
307
|
+
id: string;
|
|
308
|
+
firstName: string;
|
|
309
|
+
lastName: string;
|
|
310
|
+
email: string;
|
|
311
|
+
phoneNumbers: {
|
|
312
|
+
id: string;
|
|
313
|
+
phoneNumber: string;
|
|
314
|
+
isPrimary: boolean;
|
|
315
|
+
description?: string | null | undefined;
|
|
316
|
+
}[];
|
|
317
|
+
createdAt: string;
|
|
318
|
+
updatedAt: string;
|
|
319
|
+
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
|
+
canImpersonateUsers?: {
|
|
322
|
+
id: string;
|
|
323
|
+
firstName: string;
|
|
324
|
+
lastName: string;
|
|
325
|
+
}[] | undefined;
|
|
326
|
+
} | undefined;
|
|
106
327
|
}, {
|
|
107
|
-
name: string;
|
|
108
328
|
id: string;
|
|
329
|
+
agentId: string;
|
|
109
330
|
phoneNumber: string;
|
|
110
331
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
111
|
-
|
|
112
|
-
|
|
332
|
+
createdAt: string | Date;
|
|
333
|
+
updatedAt: string | Date;
|
|
334
|
+
name: string;
|
|
113
335
|
callCount: number;
|
|
114
336
|
lastCalledAt: string | Date | null;
|
|
115
337
|
cooldownUntil: string | Date | null;
|
|
116
338
|
blacklistReason: string | null;
|
|
339
|
+
lastCallNotes: string | null;
|
|
117
340
|
existsInLeadsTable: boolean;
|
|
118
341
|
originalLeadId: string | null;
|
|
119
|
-
|
|
120
|
-
|
|
342
|
+
agent?: {
|
|
343
|
+
id: string;
|
|
344
|
+
firstName: string;
|
|
345
|
+
lastName: string;
|
|
346
|
+
email: string;
|
|
347
|
+
createdAt: string | Date;
|
|
348
|
+
updatedAt: string | Date;
|
|
349
|
+
phoneNumbers?: {
|
|
350
|
+
id: string;
|
|
351
|
+
phoneNumber: string;
|
|
352
|
+
description?: string | null | undefined;
|
|
353
|
+
isPrimary?: boolean | undefined;
|
|
354
|
+
}[] | undefined;
|
|
355
|
+
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
|
+
canImpersonateUsers?: {
|
|
358
|
+
id: string;
|
|
359
|
+
firstName: string;
|
|
360
|
+
lastName: string;
|
|
361
|
+
}[] | undefined;
|
|
362
|
+
} | undefined;
|
|
121
363
|
}>>>;
|
|
122
364
|
isOnCooldown: z.ZodBoolean;
|
|
123
365
|
cooldownUntil: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>;
|
|
@@ -127,27 +369,48 @@ export declare const CheckPhoneResponseSchema: z.ZodObject<{
|
|
|
127
369
|
existsInOwnResearch: boolean;
|
|
128
370
|
isOnCooldown: boolean;
|
|
129
371
|
lead?: {
|
|
130
|
-
name: string;
|
|
131
372
|
id: string;
|
|
132
373
|
phoneNumber: string;
|
|
133
374
|
status: string;
|
|
375
|
+
name: string;
|
|
134
376
|
cooldownUntil: string | null;
|
|
135
377
|
} | null | undefined;
|
|
136
378
|
ownResearchLead?: {
|
|
137
|
-
name: string;
|
|
138
379
|
id: string;
|
|
380
|
+
agentId: string;
|
|
139
381
|
phoneNumber: string;
|
|
140
382
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
141
|
-
|
|
142
|
-
|
|
383
|
+
createdAt: string;
|
|
384
|
+
updatedAt: string;
|
|
385
|
+
name: string;
|
|
143
386
|
callCount: number;
|
|
144
387
|
lastCalledAt: string | null;
|
|
145
388
|
cooldownUntil: string | null;
|
|
146
389
|
blacklistReason: string | null;
|
|
390
|
+
lastCallNotes: string | null;
|
|
147
391
|
existsInLeadsTable: boolean;
|
|
148
392
|
originalLeadId: string | null;
|
|
149
|
-
|
|
150
|
-
|
|
393
|
+
agent?: {
|
|
394
|
+
id: string;
|
|
395
|
+
firstName: string;
|
|
396
|
+
lastName: string;
|
|
397
|
+
email: string;
|
|
398
|
+
phoneNumbers: {
|
|
399
|
+
id: string;
|
|
400
|
+
phoneNumber: string;
|
|
401
|
+
isPrimary: boolean;
|
|
402
|
+
description?: string | null | undefined;
|
|
403
|
+
}[];
|
|
404
|
+
createdAt: string;
|
|
405
|
+
updatedAt: string;
|
|
406
|
+
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
|
+
canImpersonateUsers?: {
|
|
409
|
+
id: string;
|
|
410
|
+
firstName: string;
|
|
411
|
+
lastName: string;
|
|
412
|
+
}[] | undefined;
|
|
413
|
+
} | undefined;
|
|
151
414
|
} | null | undefined;
|
|
152
415
|
}, {
|
|
153
416
|
cooldownUntil: string | Date | null;
|
|
@@ -155,27 +418,48 @@ export declare const CheckPhoneResponseSchema: z.ZodObject<{
|
|
|
155
418
|
existsInOwnResearch: boolean;
|
|
156
419
|
isOnCooldown: boolean;
|
|
157
420
|
lead?: {
|
|
158
|
-
name: string;
|
|
159
421
|
id: string;
|
|
160
422
|
phoneNumber: string;
|
|
161
423
|
status: string;
|
|
424
|
+
name: string;
|
|
162
425
|
cooldownUntil: string | Date | null;
|
|
163
426
|
} | null | undefined;
|
|
164
427
|
ownResearchLead?: {
|
|
165
|
-
name: string;
|
|
166
428
|
id: string;
|
|
429
|
+
agentId: string;
|
|
167
430
|
phoneNumber: string;
|
|
168
431
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
169
|
-
|
|
170
|
-
|
|
432
|
+
createdAt: string | Date;
|
|
433
|
+
updatedAt: string | Date;
|
|
434
|
+
name: string;
|
|
171
435
|
callCount: number;
|
|
172
436
|
lastCalledAt: string | Date | null;
|
|
173
437
|
cooldownUntil: string | Date | null;
|
|
174
438
|
blacklistReason: string | null;
|
|
439
|
+
lastCallNotes: string | null;
|
|
175
440
|
existsInLeadsTable: boolean;
|
|
176
441
|
originalLeadId: string | null;
|
|
177
|
-
|
|
178
|
-
|
|
442
|
+
agent?: {
|
|
443
|
+
id: string;
|
|
444
|
+
firstName: string;
|
|
445
|
+
lastName: string;
|
|
446
|
+
email: string;
|
|
447
|
+
createdAt: string | Date;
|
|
448
|
+
updatedAt: string | Date;
|
|
449
|
+
phoneNumbers?: {
|
|
450
|
+
id: string;
|
|
451
|
+
phoneNumber: string;
|
|
452
|
+
description?: string | null | undefined;
|
|
453
|
+
isPrimary?: boolean | undefined;
|
|
454
|
+
}[] | undefined;
|
|
455
|
+
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
|
+
canImpersonateUsers?: {
|
|
458
|
+
id: string;
|
|
459
|
+
firstName: string;
|
|
460
|
+
lastName: string;
|
|
461
|
+
}[] | undefined;
|
|
462
|
+
} | undefined;
|
|
179
463
|
} | null | undefined;
|
|
180
464
|
}>;
|
|
181
465
|
export declare const CheckPhoneRequestSchema: z.ZodObject<{
|
|
@@ -190,30 +474,33 @@ export declare const RecordOwnResearchCallSchema: z.ZodObject<{
|
|
|
190
474
|
name: z.ZodString;
|
|
191
475
|
rating: z.ZodNativeEnum<typeof import("../common/call-rating.schema").CallRating>;
|
|
192
476
|
notes: z.ZodOptional<z.ZodString>;
|
|
477
|
+
callType: z.ZodOptional<z.ZodNativeEnum<typeof import("../call-history/call-history.contract").CallType>>;
|
|
193
478
|
}, "strip", z.ZodTypeAny, {
|
|
194
|
-
name: string;
|
|
195
479
|
phoneNumber: string;
|
|
480
|
+
name: string;
|
|
196
481
|
rating: import("../common/call-rating.schema").CallRating;
|
|
197
482
|
notes?: string | undefined;
|
|
483
|
+
callType?: import("../call-history/call-history.contract").CallType | undefined;
|
|
198
484
|
}, {
|
|
199
|
-
name: string;
|
|
200
485
|
phoneNumber: string;
|
|
486
|
+
name: string;
|
|
201
487
|
rating: import("../common/call-rating.schema").CallRating;
|
|
202
488
|
notes?: string | undefined;
|
|
489
|
+
callType?: import("../call-history/call-history.contract").CallType | undefined;
|
|
203
490
|
}>;
|
|
204
491
|
export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
205
|
-
assignment: z.ZodObject<{
|
|
492
|
+
assignment: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
206
493
|
id: z.ZodString;
|
|
207
494
|
leadId: z.ZodString;
|
|
208
495
|
lead: z.ZodOptional<z.ZodObject<{
|
|
209
496
|
name: z.ZodString;
|
|
210
497
|
phoneNumber: z.ZodString;
|
|
211
498
|
}, "strip", z.ZodTypeAny, {
|
|
212
|
-
name: string;
|
|
213
499
|
phoneNumber: string;
|
|
214
|
-
}, {
|
|
215
500
|
name: string;
|
|
501
|
+
}, {
|
|
216
502
|
phoneNumber: string;
|
|
503
|
+
name: string;
|
|
217
504
|
}>>;
|
|
218
505
|
agentId: z.ZodNullable<z.ZodString>;
|
|
219
506
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -255,18 +542,18 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
255
542
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
256
543
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
257
544
|
}, "strip", z.ZodTypeAny, {
|
|
258
|
-
email: string;
|
|
259
545
|
id: string;
|
|
260
|
-
createdAt: string;
|
|
261
|
-
updatedAt: string;
|
|
262
546
|
firstName: string;
|
|
263
547
|
lastName: string;
|
|
548
|
+
email: string;
|
|
264
549
|
phoneNumbers: {
|
|
265
550
|
id: string;
|
|
266
551
|
phoneNumber: string;
|
|
267
552
|
isPrimary: boolean;
|
|
268
553
|
description?: string | null | undefined;
|
|
269
554
|
}[];
|
|
555
|
+
createdAt: string;
|
|
556
|
+
updatedAt: string;
|
|
270
557
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
271
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;
|
|
272
559
|
canImpersonateUsers?: {
|
|
@@ -275,19 +562,19 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
275
562
|
lastName: string;
|
|
276
563
|
}[] | undefined;
|
|
277
564
|
}, {
|
|
278
|
-
email: string;
|
|
279
565
|
id: string;
|
|
280
|
-
createdAt: string | Date;
|
|
281
|
-
updatedAt: string | Date;
|
|
282
566
|
firstName: string;
|
|
283
567
|
lastName: string;
|
|
284
|
-
|
|
568
|
+
email: string;
|
|
569
|
+
createdAt: string | Date;
|
|
570
|
+
updatedAt: string | Date;
|
|
285
571
|
phoneNumbers?: {
|
|
286
572
|
id: string;
|
|
287
573
|
phoneNumber: string;
|
|
288
574
|
description?: string | null | undefined;
|
|
289
575
|
isPrimary?: boolean | undefined;
|
|
290
576
|
}[] | undefined;
|
|
577
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
291
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;
|
|
292
579
|
canImpersonateUsers?: {
|
|
293
580
|
id: string;
|
|
@@ -305,45 +592,41 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
305
592
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
306
593
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
307
594
|
}, "strip", z.ZodTypeAny, {
|
|
308
|
-
name: string;
|
|
309
595
|
id: string;
|
|
310
596
|
createdAt: string;
|
|
311
597
|
updatedAt: string;
|
|
312
|
-
}, {
|
|
313
598
|
name: string;
|
|
599
|
+
}, {
|
|
314
600
|
id: string;
|
|
315
601
|
createdAt: string | Date;
|
|
316
602
|
updatedAt: string | Date;
|
|
603
|
+
name: string;
|
|
317
604
|
}>>>;
|
|
318
605
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
319
606
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
320
607
|
}, "strip", z.ZodTypeAny, {
|
|
321
608
|
id: string;
|
|
322
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
323
609
|
agentId: string | null;
|
|
610
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
324
611
|
createdAt: string;
|
|
325
612
|
updatedAt: string;
|
|
326
613
|
leadId: string;
|
|
327
614
|
assignedAt: string;
|
|
328
615
|
assignedBy: string | null;
|
|
329
616
|
companyId: string | null;
|
|
330
|
-
lead?: {
|
|
331
|
-
name: string;
|
|
332
|
-
phoneNumber: string;
|
|
333
|
-
} | undefined;
|
|
334
617
|
agent?: {
|
|
335
|
-
email: string;
|
|
336
618
|
id: string;
|
|
337
|
-
createdAt: string;
|
|
338
|
-
updatedAt: string;
|
|
339
619
|
firstName: string;
|
|
340
620
|
lastName: string;
|
|
621
|
+
email: string;
|
|
341
622
|
phoneNumbers: {
|
|
342
623
|
id: string;
|
|
343
624
|
phoneNumber: string;
|
|
344
625
|
isPrimary: boolean;
|
|
345
626
|
description?: string | null | undefined;
|
|
346
627
|
}[];
|
|
628
|
+
createdAt: string;
|
|
629
|
+
updatedAt: string;
|
|
347
630
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
348
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;
|
|
349
632
|
canImpersonateUsers?: {
|
|
@@ -352,40 +635,40 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
352
635
|
lastName: string;
|
|
353
636
|
}[] | undefined;
|
|
354
637
|
} | undefined;
|
|
355
|
-
|
|
638
|
+
lead?: {
|
|
639
|
+
phoneNumber: string;
|
|
356
640
|
name: string;
|
|
641
|
+
} | undefined;
|
|
642
|
+
company?: {
|
|
357
643
|
id: string;
|
|
358
644
|
createdAt: string;
|
|
359
645
|
updatedAt: string;
|
|
646
|
+
name: string;
|
|
360
647
|
} | null | undefined;
|
|
361
648
|
}, {
|
|
362
649
|
id: string;
|
|
363
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
364
650
|
agentId: string | null;
|
|
651
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
365
652
|
createdAt: string | Date;
|
|
366
653
|
updatedAt: string | Date;
|
|
367
654
|
leadId: string;
|
|
368
655
|
assignedAt: string | Date;
|
|
369
656
|
assignedBy: string | null;
|
|
370
657
|
companyId: string | null;
|
|
371
|
-
lead?: {
|
|
372
|
-
name: string;
|
|
373
|
-
phoneNumber: string;
|
|
374
|
-
} | undefined;
|
|
375
658
|
agent?: {
|
|
376
|
-
email: string;
|
|
377
659
|
id: string;
|
|
378
|
-
createdAt: string | Date;
|
|
379
|
-
updatedAt: string | Date;
|
|
380
660
|
firstName: string;
|
|
381
661
|
lastName: string;
|
|
382
|
-
|
|
662
|
+
email: string;
|
|
663
|
+
createdAt: string | Date;
|
|
664
|
+
updatedAt: string | Date;
|
|
383
665
|
phoneNumbers?: {
|
|
384
666
|
id: string;
|
|
385
667
|
phoneNumber: string;
|
|
386
668
|
description?: string | null | undefined;
|
|
387
669
|
isPrimary?: boolean | undefined;
|
|
388
670
|
}[] | undefined;
|
|
671
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
389
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;
|
|
390
673
|
canImpersonateUsers?: {
|
|
391
674
|
id: string;
|
|
@@ -393,103 +676,245 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
393
676
|
lastName: string;
|
|
394
677
|
}[] | undefined;
|
|
395
678
|
} | undefined;
|
|
396
|
-
|
|
679
|
+
lead?: {
|
|
680
|
+
phoneNumber: string;
|
|
397
681
|
name: string;
|
|
682
|
+
} | undefined;
|
|
683
|
+
company?: {
|
|
398
684
|
id: string;
|
|
399
685
|
createdAt: string | Date;
|
|
400
686
|
updatedAt: string | Date;
|
|
687
|
+
name: string;
|
|
401
688
|
} | null | undefined;
|
|
402
|
-
}
|
|
689
|
+
}>>>;
|
|
403
690
|
ownResearchLead: z.ZodObject<{
|
|
404
691
|
id: z.ZodString;
|
|
405
692
|
agentId: z.ZodString;
|
|
693
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
694
|
+
id: z.ZodString;
|
|
695
|
+
firstName: z.ZodString;
|
|
696
|
+
lastName: z.ZodString;
|
|
697
|
+
email: z.ZodString;
|
|
698
|
+
phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
699
|
+
id: z.ZodString;
|
|
700
|
+
phoneNumber: z.ZodString;
|
|
701
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
702
|
+
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
703
|
+
}, "strip", z.ZodTypeAny, {
|
|
704
|
+
id: string;
|
|
705
|
+
phoneNumber: string;
|
|
706
|
+
isPrimary: boolean;
|
|
707
|
+
description?: string | null | undefined;
|
|
708
|
+
}, {
|
|
709
|
+
id: string;
|
|
710
|
+
phoneNumber: string;
|
|
711
|
+
description?: string | null | undefined;
|
|
712
|
+
isPrimary?: boolean | undefined;
|
|
713
|
+
}>, "many">>>;
|
|
714
|
+
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.ZodEnum<["ALBANIA", "CRAIOVA", "DANI", "GABI_RECRUTARE", "GEORGIA", "INDIA", "IONITA", "MARIUS_DRAGAN", "MAX_MANGU", "MAXIM_VADIM", "MD_BOGDAN", "MD_DANIEL_CHISINAU", "NEACSU", "ROBERT_DENIS", "ROBERT_RADU", "VICTORIEI_MIRIAM", "VIZIRU", "Y_INDIVIDUALS_RECRUITMENT"]>>>;
|
|
716
|
+
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
717
|
+
id: z.ZodString;
|
|
718
|
+
firstName: z.ZodString;
|
|
719
|
+
lastName: z.ZodString;
|
|
720
|
+
}, "strip", z.ZodTypeAny, {
|
|
721
|
+
id: string;
|
|
722
|
+
firstName: string;
|
|
723
|
+
lastName: string;
|
|
724
|
+
}, {
|
|
725
|
+
id: string;
|
|
726
|
+
firstName: string;
|
|
727
|
+
lastName: string;
|
|
728
|
+
}>, "many">>;
|
|
729
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
730
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
731
|
+
}, "strip", z.ZodTypeAny, {
|
|
732
|
+
id: string;
|
|
733
|
+
firstName: string;
|
|
734
|
+
lastName: string;
|
|
735
|
+
email: string;
|
|
736
|
+
phoneNumbers: {
|
|
737
|
+
id: string;
|
|
738
|
+
phoneNumber: string;
|
|
739
|
+
isPrimary: boolean;
|
|
740
|
+
description?: string | null | undefined;
|
|
741
|
+
}[];
|
|
742
|
+
createdAt: string;
|
|
743
|
+
updatedAt: string;
|
|
744
|
+
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
|
+
canImpersonateUsers?: {
|
|
747
|
+
id: string;
|
|
748
|
+
firstName: string;
|
|
749
|
+
lastName: string;
|
|
750
|
+
}[] | undefined;
|
|
751
|
+
}, {
|
|
752
|
+
id: string;
|
|
753
|
+
firstName: string;
|
|
754
|
+
lastName: string;
|
|
755
|
+
email: string;
|
|
756
|
+
createdAt: string | Date;
|
|
757
|
+
updatedAt: string | Date;
|
|
758
|
+
phoneNumbers?: {
|
|
759
|
+
id: string;
|
|
760
|
+
phoneNumber: string;
|
|
761
|
+
description?: string | null | undefined;
|
|
762
|
+
isPrimary?: boolean | undefined;
|
|
763
|
+
}[] | undefined;
|
|
764
|
+
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
|
+
canImpersonateUsers?: {
|
|
767
|
+
id: string;
|
|
768
|
+
firstName: string;
|
|
769
|
+
lastName: string;
|
|
770
|
+
}[] | undefined;
|
|
771
|
+
}>>;
|
|
406
772
|
name: z.ZodString;
|
|
407
773
|
phoneNumber: z.ZodString;
|
|
408
|
-
source: z.ZodString;
|
|
409
774
|
status: z.ZodEnum<["AVAILABLE", "ASSIGNED", "BLACKLISTED"]>;
|
|
410
775
|
callCount: z.ZodNumber;
|
|
411
776
|
lastCalledAt: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>;
|
|
412
777
|
cooldownUntil: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>;
|
|
413
778
|
blacklistReason: z.ZodNullable<z.ZodString>;
|
|
779
|
+
lastCallNotes: z.ZodNullable<z.ZodString>;
|
|
414
780
|
existsInLeadsTable: z.ZodBoolean;
|
|
415
781
|
originalLeadId: z.ZodNullable<z.ZodString>;
|
|
416
782
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
417
783
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
418
784
|
}, "strip", z.ZodTypeAny, {
|
|
419
|
-
name: string;
|
|
420
785
|
id: string;
|
|
786
|
+
agentId: string;
|
|
421
787
|
phoneNumber: string;
|
|
422
788
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
423
|
-
|
|
424
|
-
|
|
789
|
+
createdAt: string;
|
|
790
|
+
updatedAt: string;
|
|
791
|
+
name: string;
|
|
425
792
|
callCount: number;
|
|
426
793
|
lastCalledAt: string | null;
|
|
427
794
|
cooldownUntil: string | null;
|
|
428
795
|
blacklistReason: string | null;
|
|
796
|
+
lastCallNotes: string | null;
|
|
429
797
|
existsInLeadsTable: boolean;
|
|
430
798
|
originalLeadId: string | null;
|
|
431
|
-
|
|
432
|
-
|
|
799
|
+
agent?: {
|
|
800
|
+
id: string;
|
|
801
|
+
firstName: string;
|
|
802
|
+
lastName: string;
|
|
803
|
+
email: string;
|
|
804
|
+
phoneNumbers: {
|
|
805
|
+
id: string;
|
|
806
|
+
phoneNumber: string;
|
|
807
|
+
isPrimary: boolean;
|
|
808
|
+
description?: string | null | undefined;
|
|
809
|
+
}[];
|
|
810
|
+
createdAt: string;
|
|
811
|
+
updatedAt: string;
|
|
812
|
+
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
|
+
canImpersonateUsers?: {
|
|
815
|
+
id: string;
|
|
816
|
+
firstName: string;
|
|
817
|
+
lastName: string;
|
|
818
|
+
}[] | undefined;
|
|
819
|
+
} | undefined;
|
|
433
820
|
}, {
|
|
434
|
-
name: string;
|
|
435
821
|
id: string;
|
|
822
|
+
agentId: string;
|
|
436
823
|
phoneNumber: string;
|
|
437
824
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
438
|
-
|
|
439
|
-
|
|
825
|
+
createdAt: string | Date;
|
|
826
|
+
updatedAt: string | Date;
|
|
827
|
+
name: string;
|
|
440
828
|
callCount: number;
|
|
441
829
|
lastCalledAt: string | Date | null;
|
|
442
830
|
cooldownUntil: string | Date | null;
|
|
443
831
|
blacklistReason: string | null;
|
|
832
|
+
lastCallNotes: string | null;
|
|
444
833
|
existsInLeadsTable: boolean;
|
|
445
834
|
originalLeadId: string | null;
|
|
446
|
-
|
|
447
|
-
|
|
835
|
+
agent?: {
|
|
836
|
+
id: string;
|
|
837
|
+
firstName: string;
|
|
838
|
+
lastName: string;
|
|
839
|
+
email: string;
|
|
840
|
+
createdAt: string | Date;
|
|
841
|
+
updatedAt: string | Date;
|
|
842
|
+
phoneNumbers?: {
|
|
843
|
+
id: string;
|
|
844
|
+
phoneNumber: string;
|
|
845
|
+
description?: string | null | undefined;
|
|
846
|
+
isPrimary?: boolean | undefined;
|
|
847
|
+
}[] | undefined;
|
|
848
|
+
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
|
+
canImpersonateUsers?: {
|
|
851
|
+
id: string;
|
|
852
|
+
firstName: string;
|
|
853
|
+
lastName: string;
|
|
854
|
+
}[] | undefined;
|
|
855
|
+
} | undefined;
|
|
448
856
|
}>;
|
|
449
857
|
}, "strip", z.ZodTypeAny, {
|
|
450
858
|
ownResearchLead: {
|
|
451
|
-
name: string;
|
|
452
859
|
id: string;
|
|
860
|
+
agentId: string;
|
|
453
861
|
phoneNumber: string;
|
|
454
862
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
455
|
-
|
|
456
|
-
|
|
863
|
+
createdAt: string;
|
|
864
|
+
updatedAt: string;
|
|
865
|
+
name: string;
|
|
457
866
|
callCount: number;
|
|
458
867
|
lastCalledAt: string | null;
|
|
459
868
|
cooldownUntil: string | null;
|
|
460
869
|
blacklistReason: string | null;
|
|
870
|
+
lastCallNotes: string | null;
|
|
461
871
|
existsInLeadsTable: boolean;
|
|
462
872
|
originalLeadId: string | null;
|
|
463
|
-
|
|
464
|
-
|
|
873
|
+
agent?: {
|
|
874
|
+
id: string;
|
|
875
|
+
firstName: string;
|
|
876
|
+
lastName: string;
|
|
877
|
+
email: string;
|
|
878
|
+
phoneNumbers: {
|
|
879
|
+
id: string;
|
|
880
|
+
phoneNumber: string;
|
|
881
|
+
isPrimary: boolean;
|
|
882
|
+
description?: string | null | undefined;
|
|
883
|
+
}[];
|
|
884
|
+
createdAt: string;
|
|
885
|
+
updatedAt: string;
|
|
886
|
+
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
|
+
canImpersonateUsers?: {
|
|
889
|
+
id: string;
|
|
890
|
+
firstName: string;
|
|
891
|
+
lastName: string;
|
|
892
|
+
}[] | undefined;
|
|
893
|
+
} | undefined;
|
|
465
894
|
};
|
|
466
|
-
assignment
|
|
895
|
+
assignment?: {
|
|
467
896
|
id: string;
|
|
468
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
469
897
|
agentId: string | null;
|
|
898
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
470
899
|
createdAt: string;
|
|
471
900
|
updatedAt: string;
|
|
472
901
|
leadId: string;
|
|
473
902
|
assignedAt: string;
|
|
474
903
|
assignedBy: string | null;
|
|
475
|
-
companyId: string | null;
|
|
476
|
-
lead?: {
|
|
477
|
-
name: string;
|
|
478
|
-
phoneNumber: string;
|
|
479
|
-
} | undefined;
|
|
904
|
+
companyId: string | null;
|
|
480
905
|
agent?: {
|
|
481
|
-
email: string;
|
|
482
906
|
id: string;
|
|
483
|
-
createdAt: string;
|
|
484
|
-
updatedAt: string;
|
|
485
907
|
firstName: string;
|
|
486
908
|
lastName: string;
|
|
909
|
+
email: string;
|
|
487
910
|
phoneNumbers: {
|
|
488
911
|
id: string;
|
|
489
912
|
phoneNumber: string;
|
|
490
913
|
isPrimary: boolean;
|
|
491
914
|
description?: string | null | undefined;
|
|
492
915
|
}[];
|
|
916
|
+
createdAt: string;
|
|
917
|
+
updatedAt: string;
|
|
493
918
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
494
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;
|
|
495
920
|
canImpersonateUsers?: {
|
|
@@ -498,58 +923,79 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
498
923
|
lastName: string;
|
|
499
924
|
}[] | undefined;
|
|
500
925
|
} | undefined;
|
|
501
|
-
|
|
926
|
+
lead?: {
|
|
927
|
+
phoneNumber: string;
|
|
502
928
|
name: string;
|
|
929
|
+
} | undefined;
|
|
930
|
+
company?: {
|
|
503
931
|
id: string;
|
|
504
932
|
createdAt: string;
|
|
505
933
|
updatedAt: string;
|
|
934
|
+
name: string;
|
|
506
935
|
} | null | undefined;
|
|
507
|
-
};
|
|
936
|
+
} | null | undefined;
|
|
508
937
|
}, {
|
|
509
938
|
ownResearchLead: {
|
|
510
|
-
name: string;
|
|
511
939
|
id: string;
|
|
940
|
+
agentId: string;
|
|
512
941
|
phoneNumber: string;
|
|
513
942
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
514
|
-
|
|
515
|
-
|
|
943
|
+
createdAt: string | Date;
|
|
944
|
+
updatedAt: string | Date;
|
|
945
|
+
name: string;
|
|
516
946
|
callCount: number;
|
|
517
947
|
lastCalledAt: string | Date | null;
|
|
518
948
|
cooldownUntil: string | Date | null;
|
|
519
949
|
blacklistReason: string | null;
|
|
950
|
+
lastCallNotes: string | null;
|
|
520
951
|
existsInLeadsTable: boolean;
|
|
521
952
|
originalLeadId: string | null;
|
|
522
|
-
|
|
523
|
-
|
|
953
|
+
agent?: {
|
|
954
|
+
id: string;
|
|
955
|
+
firstName: string;
|
|
956
|
+
lastName: string;
|
|
957
|
+
email: string;
|
|
958
|
+
createdAt: string | Date;
|
|
959
|
+
updatedAt: string | Date;
|
|
960
|
+
phoneNumbers?: {
|
|
961
|
+
id: string;
|
|
962
|
+
phoneNumber: string;
|
|
963
|
+
description?: string | null | undefined;
|
|
964
|
+
isPrimary?: boolean | undefined;
|
|
965
|
+
}[] | undefined;
|
|
966
|
+
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
|
+
canImpersonateUsers?: {
|
|
969
|
+
id: string;
|
|
970
|
+
firstName: string;
|
|
971
|
+
lastName: string;
|
|
972
|
+
}[] | undefined;
|
|
973
|
+
} | undefined;
|
|
524
974
|
};
|
|
525
|
-
assignment
|
|
975
|
+
assignment?: {
|
|
526
976
|
id: string;
|
|
527
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
528
977
|
agentId: string | null;
|
|
978
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
529
979
|
createdAt: string | Date;
|
|
530
980
|
updatedAt: string | Date;
|
|
531
981
|
leadId: string;
|
|
532
982
|
assignedAt: string | Date;
|
|
533
983
|
assignedBy: string | null;
|
|
534
984
|
companyId: string | null;
|
|
535
|
-
lead?: {
|
|
536
|
-
name: string;
|
|
537
|
-
phoneNumber: string;
|
|
538
|
-
} | undefined;
|
|
539
985
|
agent?: {
|
|
540
|
-
email: string;
|
|
541
986
|
id: string;
|
|
542
|
-
createdAt: string | Date;
|
|
543
|
-
updatedAt: string | Date;
|
|
544
987
|
firstName: string;
|
|
545
988
|
lastName: string;
|
|
546
|
-
|
|
989
|
+
email: string;
|
|
990
|
+
createdAt: string | Date;
|
|
991
|
+
updatedAt: string | Date;
|
|
547
992
|
phoneNumbers?: {
|
|
548
993
|
id: string;
|
|
549
994
|
phoneNumber: string;
|
|
550
995
|
description?: string | null | undefined;
|
|
551
996
|
isPrimary?: boolean | undefined;
|
|
552
997
|
}[] | undefined;
|
|
998
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
553
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;
|
|
554
1000
|
canImpersonateUsers?: {
|
|
555
1001
|
id: string;
|
|
@@ -557,104 +1003,271 @@ export declare const RecordOwnResearchCallResponseSchema: z.ZodObject<{
|
|
|
557
1003
|
lastName: string;
|
|
558
1004
|
}[] | undefined;
|
|
559
1005
|
} | undefined;
|
|
560
|
-
|
|
1006
|
+
lead?: {
|
|
1007
|
+
phoneNumber: string;
|
|
561
1008
|
name: string;
|
|
1009
|
+
} | undefined;
|
|
1010
|
+
company?: {
|
|
562
1011
|
id: string;
|
|
563
1012
|
createdAt: string | Date;
|
|
564
1013
|
updatedAt: string | Date;
|
|
1014
|
+
name: string;
|
|
565
1015
|
} | null | undefined;
|
|
566
|
-
};
|
|
1016
|
+
} | null | undefined;
|
|
567
1017
|
}>;
|
|
568
1018
|
export declare const AddOwnResearchLeadSchema: z.ZodObject<{
|
|
569
1019
|
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
|
570
1020
|
name: z.ZodString;
|
|
571
1021
|
}, "strip", z.ZodTypeAny, {
|
|
572
|
-
name: string;
|
|
573
1022
|
phoneNumber: string;
|
|
574
|
-
}, {
|
|
575
1023
|
name: string;
|
|
1024
|
+
}, {
|
|
576
1025
|
phoneNumber: string;
|
|
1026
|
+
name: string;
|
|
577
1027
|
}>;
|
|
578
1028
|
export declare const AddOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
579
1029
|
ownResearchLead: z.ZodObject<{
|
|
580
1030
|
id: z.ZodString;
|
|
581
1031
|
agentId: z.ZodString;
|
|
1032
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
1033
|
+
id: z.ZodString;
|
|
1034
|
+
firstName: z.ZodString;
|
|
1035
|
+
lastName: z.ZodString;
|
|
1036
|
+
email: z.ZodString;
|
|
1037
|
+
phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1038
|
+
id: z.ZodString;
|
|
1039
|
+
phoneNumber: z.ZodString;
|
|
1040
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1041
|
+
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
1042
|
+
}, "strip", z.ZodTypeAny, {
|
|
1043
|
+
id: string;
|
|
1044
|
+
phoneNumber: string;
|
|
1045
|
+
isPrimary: boolean;
|
|
1046
|
+
description?: string | null | undefined;
|
|
1047
|
+
}, {
|
|
1048
|
+
id: string;
|
|
1049
|
+
phoneNumber: string;
|
|
1050
|
+
description?: string | null | undefined;
|
|
1051
|
+
isPrimary?: boolean | undefined;
|
|
1052
|
+
}>, "many">>>;
|
|
1053
|
+
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.ZodEnum<["ALBANIA", "CRAIOVA", "DANI", "GABI_RECRUTARE", "GEORGIA", "INDIA", "IONITA", "MARIUS_DRAGAN", "MAX_MANGU", "MAXIM_VADIM", "MD_BOGDAN", "MD_DANIEL_CHISINAU", "NEACSU", "ROBERT_DENIS", "ROBERT_RADU", "VICTORIEI_MIRIAM", "VIZIRU", "Y_INDIVIDUALS_RECRUITMENT"]>>>;
|
|
1055
|
+
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1056
|
+
id: z.ZodString;
|
|
1057
|
+
firstName: z.ZodString;
|
|
1058
|
+
lastName: z.ZodString;
|
|
1059
|
+
}, "strip", z.ZodTypeAny, {
|
|
1060
|
+
id: string;
|
|
1061
|
+
firstName: string;
|
|
1062
|
+
lastName: string;
|
|
1063
|
+
}, {
|
|
1064
|
+
id: string;
|
|
1065
|
+
firstName: string;
|
|
1066
|
+
lastName: string;
|
|
1067
|
+
}>, "many">>;
|
|
1068
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1069
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1070
|
+
}, "strip", z.ZodTypeAny, {
|
|
1071
|
+
id: string;
|
|
1072
|
+
firstName: string;
|
|
1073
|
+
lastName: string;
|
|
1074
|
+
email: string;
|
|
1075
|
+
phoneNumbers: {
|
|
1076
|
+
id: string;
|
|
1077
|
+
phoneNumber: string;
|
|
1078
|
+
isPrimary: boolean;
|
|
1079
|
+
description?: string | null | undefined;
|
|
1080
|
+
}[];
|
|
1081
|
+
createdAt: string;
|
|
1082
|
+
updatedAt: string;
|
|
1083
|
+
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
|
+
canImpersonateUsers?: {
|
|
1086
|
+
id: string;
|
|
1087
|
+
firstName: string;
|
|
1088
|
+
lastName: string;
|
|
1089
|
+
}[] | undefined;
|
|
1090
|
+
}, {
|
|
1091
|
+
id: string;
|
|
1092
|
+
firstName: string;
|
|
1093
|
+
lastName: string;
|
|
1094
|
+
email: string;
|
|
1095
|
+
createdAt: string | Date;
|
|
1096
|
+
updatedAt: string | Date;
|
|
1097
|
+
phoneNumbers?: {
|
|
1098
|
+
id: string;
|
|
1099
|
+
phoneNumber: string;
|
|
1100
|
+
description?: string | null | undefined;
|
|
1101
|
+
isPrimary?: boolean | undefined;
|
|
1102
|
+
}[] | undefined;
|
|
1103
|
+
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
|
+
canImpersonateUsers?: {
|
|
1106
|
+
id: string;
|
|
1107
|
+
firstName: string;
|
|
1108
|
+
lastName: string;
|
|
1109
|
+
}[] | undefined;
|
|
1110
|
+
}>>;
|
|
582
1111
|
name: z.ZodString;
|
|
583
1112
|
phoneNumber: z.ZodString;
|
|
584
|
-
source: z.ZodString;
|
|
585
1113
|
status: z.ZodEnum<["AVAILABLE", "ASSIGNED", "BLACKLISTED"]>;
|
|
586
1114
|
callCount: z.ZodNumber;
|
|
587
1115
|
lastCalledAt: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>;
|
|
588
1116
|
cooldownUntil: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>;
|
|
589
1117
|
blacklistReason: z.ZodNullable<z.ZodString>;
|
|
1118
|
+
lastCallNotes: z.ZodNullable<z.ZodString>;
|
|
590
1119
|
existsInLeadsTable: z.ZodBoolean;
|
|
591
1120
|
originalLeadId: z.ZodNullable<z.ZodString>;
|
|
592
1121
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
593
1122
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
594
1123
|
}, "strip", z.ZodTypeAny, {
|
|
595
|
-
name: string;
|
|
596
1124
|
id: string;
|
|
1125
|
+
agentId: string;
|
|
597
1126
|
phoneNumber: string;
|
|
598
1127
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
599
|
-
|
|
600
|
-
|
|
1128
|
+
createdAt: string;
|
|
1129
|
+
updatedAt: string;
|
|
1130
|
+
name: string;
|
|
601
1131
|
callCount: number;
|
|
602
1132
|
lastCalledAt: string | null;
|
|
603
1133
|
cooldownUntil: string | null;
|
|
604
1134
|
blacklistReason: string | null;
|
|
1135
|
+
lastCallNotes: string | null;
|
|
605
1136
|
existsInLeadsTable: boolean;
|
|
606
1137
|
originalLeadId: string | null;
|
|
607
|
-
|
|
608
|
-
|
|
1138
|
+
agent?: {
|
|
1139
|
+
id: string;
|
|
1140
|
+
firstName: string;
|
|
1141
|
+
lastName: string;
|
|
1142
|
+
email: string;
|
|
1143
|
+
phoneNumbers: {
|
|
1144
|
+
id: string;
|
|
1145
|
+
phoneNumber: string;
|
|
1146
|
+
isPrimary: boolean;
|
|
1147
|
+
description?: string | null | undefined;
|
|
1148
|
+
}[];
|
|
1149
|
+
createdAt: string;
|
|
1150
|
+
updatedAt: string;
|
|
1151
|
+
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
|
+
canImpersonateUsers?: {
|
|
1154
|
+
id: string;
|
|
1155
|
+
firstName: string;
|
|
1156
|
+
lastName: string;
|
|
1157
|
+
}[] | undefined;
|
|
1158
|
+
} | undefined;
|
|
609
1159
|
}, {
|
|
610
|
-
name: string;
|
|
611
1160
|
id: string;
|
|
1161
|
+
agentId: string;
|
|
612
1162
|
phoneNumber: string;
|
|
613
1163
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
614
|
-
|
|
615
|
-
|
|
1164
|
+
createdAt: string | Date;
|
|
1165
|
+
updatedAt: string | Date;
|
|
1166
|
+
name: string;
|
|
616
1167
|
callCount: number;
|
|
617
1168
|
lastCalledAt: string | Date | null;
|
|
618
1169
|
cooldownUntil: string | Date | null;
|
|
619
1170
|
blacklistReason: string | null;
|
|
1171
|
+
lastCallNotes: string | null;
|
|
620
1172
|
existsInLeadsTable: boolean;
|
|
621
1173
|
originalLeadId: string | null;
|
|
622
|
-
|
|
623
|
-
|
|
1174
|
+
agent?: {
|
|
1175
|
+
id: string;
|
|
1176
|
+
firstName: string;
|
|
1177
|
+
lastName: string;
|
|
1178
|
+
email: string;
|
|
1179
|
+
createdAt: string | Date;
|
|
1180
|
+
updatedAt: string | Date;
|
|
1181
|
+
phoneNumbers?: {
|
|
1182
|
+
id: string;
|
|
1183
|
+
phoneNumber: string;
|
|
1184
|
+
description?: string | null | undefined;
|
|
1185
|
+
isPrimary?: boolean | undefined;
|
|
1186
|
+
}[] | undefined;
|
|
1187
|
+
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
|
+
canImpersonateUsers?: {
|
|
1190
|
+
id: string;
|
|
1191
|
+
firstName: string;
|
|
1192
|
+
lastName: string;
|
|
1193
|
+
}[] | undefined;
|
|
1194
|
+
} | undefined;
|
|
624
1195
|
}>;
|
|
625
1196
|
}, "strip", z.ZodTypeAny, {
|
|
626
1197
|
ownResearchLead: {
|
|
627
|
-
name: string;
|
|
628
1198
|
id: string;
|
|
1199
|
+
agentId: string;
|
|
629
1200
|
phoneNumber: string;
|
|
630
1201
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
631
|
-
|
|
632
|
-
|
|
1202
|
+
createdAt: string;
|
|
1203
|
+
updatedAt: string;
|
|
1204
|
+
name: string;
|
|
633
1205
|
callCount: number;
|
|
634
1206
|
lastCalledAt: string | null;
|
|
635
1207
|
cooldownUntil: string | null;
|
|
636
1208
|
blacklistReason: string | null;
|
|
1209
|
+
lastCallNotes: string | null;
|
|
637
1210
|
existsInLeadsTable: boolean;
|
|
638
1211
|
originalLeadId: string | null;
|
|
639
|
-
|
|
640
|
-
|
|
1212
|
+
agent?: {
|
|
1213
|
+
id: string;
|
|
1214
|
+
firstName: string;
|
|
1215
|
+
lastName: string;
|
|
1216
|
+
email: string;
|
|
1217
|
+
phoneNumbers: {
|
|
1218
|
+
id: string;
|
|
1219
|
+
phoneNumber: string;
|
|
1220
|
+
isPrimary: boolean;
|
|
1221
|
+
description?: string | null | undefined;
|
|
1222
|
+
}[];
|
|
1223
|
+
createdAt: string;
|
|
1224
|
+
updatedAt: string;
|
|
1225
|
+
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
|
+
canImpersonateUsers?: {
|
|
1228
|
+
id: string;
|
|
1229
|
+
firstName: string;
|
|
1230
|
+
lastName: string;
|
|
1231
|
+
}[] | undefined;
|
|
1232
|
+
} | undefined;
|
|
641
1233
|
};
|
|
642
1234
|
}, {
|
|
643
1235
|
ownResearchLead: {
|
|
644
|
-
name: string;
|
|
645
1236
|
id: string;
|
|
1237
|
+
agentId: string;
|
|
646
1238
|
phoneNumber: string;
|
|
647
1239
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
648
|
-
|
|
649
|
-
|
|
1240
|
+
createdAt: string | Date;
|
|
1241
|
+
updatedAt: string | Date;
|
|
1242
|
+
name: string;
|
|
650
1243
|
callCount: number;
|
|
651
1244
|
lastCalledAt: string | Date | null;
|
|
652
1245
|
cooldownUntil: string | Date | null;
|
|
653
1246
|
blacklistReason: string | null;
|
|
1247
|
+
lastCallNotes: string | null;
|
|
654
1248
|
existsInLeadsTable: boolean;
|
|
655
1249
|
originalLeadId: string | null;
|
|
656
|
-
|
|
657
|
-
|
|
1250
|
+
agent?: {
|
|
1251
|
+
id: string;
|
|
1252
|
+
firstName: string;
|
|
1253
|
+
lastName: string;
|
|
1254
|
+
email: string;
|
|
1255
|
+
createdAt: string | Date;
|
|
1256
|
+
updatedAt: string | Date;
|
|
1257
|
+
phoneNumbers?: {
|
|
1258
|
+
id: string;
|
|
1259
|
+
phoneNumber: string;
|
|
1260
|
+
description?: string | null | undefined;
|
|
1261
|
+
isPrimary?: boolean | undefined;
|
|
1262
|
+
}[] | undefined;
|
|
1263
|
+
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
|
+
canImpersonateUsers?: {
|
|
1266
|
+
id: string;
|
|
1267
|
+
firstName: string;
|
|
1268
|
+
lastName: string;
|
|
1269
|
+
}[] | undefined;
|
|
1270
|
+
} | undefined;
|
|
658
1271
|
};
|
|
659
1272
|
}>;
|
|
660
1273
|
export declare const AgentInfoResponseSchema: z.ZodObject<{
|
|
@@ -689,78 +1302,199 @@ export declare const FilterOwnResearchLeadSchema: z.ZodObject<{
|
|
|
689
1302
|
sortBy: z.ZodOptional<z.ZodEnum<["createdAt", "updatedAt", "lastCalledAt", "callCount", "name"]>>;
|
|
690
1303
|
sortOrder: z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>;
|
|
691
1304
|
}, "strip", z.ZodTypeAny, {
|
|
692
|
-
page: number;
|
|
693
1305
|
limit: number;
|
|
694
|
-
|
|
695
|
-
sortBy?: "name" | "callCount" | "lastCalledAt" | "createdAt" | "updatedAt" | undefined;
|
|
696
|
-
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1306
|
+
page: number;
|
|
697
1307
|
phoneNumber?: string | undefined;
|
|
698
1308
|
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
|
|
1309
|
+
name?: string | undefined;
|
|
699
1310
|
lastCalledAt?: {
|
|
700
1311
|
from?: string | null | undefined;
|
|
701
1312
|
to?: string | null | undefined;
|
|
702
1313
|
} | undefined;
|
|
703
1314
|
minTotalCalls?: number | undefined;
|
|
704
|
-
|
|
705
|
-
name?: string | undefined;
|
|
706
|
-
sortBy?: "name" | "callCount" | "lastCalledAt" | "createdAt" | "updatedAt" | undefined;
|
|
1315
|
+
sortBy?: "createdAt" | "updatedAt" | "name" | "callCount" | "lastCalledAt" | undefined;
|
|
707
1316
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
708
|
-
|
|
709
|
-
limit?: number | undefined;
|
|
1317
|
+
}, {
|
|
710
1318
|
phoneNumber?: string | undefined;
|
|
711
1319
|
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
|
|
1320
|
+
name?: string | undefined;
|
|
712
1321
|
lastCalledAt?: {
|
|
713
1322
|
from?: string | null | undefined;
|
|
714
1323
|
to?: string | null | undefined;
|
|
715
1324
|
} | undefined;
|
|
1325
|
+
limit?: number | undefined;
|
|
1326
|
+
page?: number | undefined;
|
|
716
1327
|
minTotalCalls?: number | undefined;
|
|
1328
|
+
sortBy?: "createdAt" | "updatedAt" | "name" | "callCount" | "lastCalledAt" | undefined;
|
|
1329
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
717
1330
|
}>;
|
|
718
1331
|
export declare const PaginatedOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
719
1332
|
items: z.ZodArray<z.ZodObject<{
|
|
720
1333
|
id: z.ZodString;
|
|
721
1334
|
agentId: z.ZodString;
|
|
1335
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
1336
|
+
id: z.ZodString;
|
|
1337
|
+
firstName: z.ZodString;
|
|
1338
|
+
lastName: z.ZodString;
|
|
1339
|
+
email: z.ZodString;
|
|
1340
|
+
phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1341
|
+
id: z.ZodString;
|
|
1342
|
+
phoneNumber: z.ZodString;
|
|
1343
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1344
|
+
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
1345
|
+
}, "strip", z.ZodTypeAny, {
|
|
1346
|
+
id: string;
|
|
1347
|
+
phoneNumber: string;
|
|
1348
|
+
isPrimary: boolean;
|
|
1349
|
+
description?: string | null | undefined;
|
|
1350
|
+
}, {
|
|
1351
|
+
id: string;
|
|
1352
|
+
phoneNumber: string;
|
|
1353
|
+
description?: string | null | undefined;
|
|
1354
|
+
isPrimary?: boolean | undefined;
|
|
1355
|
+
}>, "many">>>;
|
|
1356
|
+
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.ZodEnum<["ALBANIA", "CRAIOVA", "DANI", "GABI_RECRUTARE", "GEORGIA", "INDIA", "IONITA", "MARIUS_DRAGAN", "MAX_MANGU", "MAXIM_VADIM", "MD_BOGDAN", "MD_DANIEL_CHISINAU", "NEACSU", "ROBERT_DENIS", "ROBERT_RADU", "VICTORIEI_MIRIAM", "VIZIRU", "Y_INDIVIDUALS_RECRUITMENT"]>>>;
|
|
1358
|
+
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1359
|
+
id: z.ZodString;
|
|
1360
|
+
firstName: z.ZodString;
|
|
1361
|
+
lastName: z.ZodString;
|
|
1362
|
+
}, "strip", z.ZodTypeAny, {
|
|
1363
|
+
id: string;
|
|
1364
|
+
firstName: string;
|
|
1365
|
+
lastName: string;
|
|
1366
|
+
}, {
|
|
1367
|
+
id: string;
|
|
1368
|
+
firstName: string;
|
|
1369
|
+
lastName: string;
|
|
1370
|
+
}>, "many">>;
|
|
1371
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1372
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1373
|
+
}, "strip", z.ZodTypeAny, {
|
|
1374
|
+
id: string;
|
|
1375
|
+
firstName: string;
|
|
1376
|
+
lastName: string;
|
|
1377
|
+
email: string;
|
|
1378
|
+
phoneNumbers: {
|
|
1379
|
+
id: string;
|
|
1380
|
+
phoneNumber: string;
|
|
1381
|
+
isPrimary: boolean;
|
|
1382
|
+
description?: string | null | undefined;
|
|
1383
|
+
}[];
|
|
1384
|
+
createdAt: string;
|
|
1385
|
+
updatedAt: string;
|
|
1386
|
+
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
|
+
canImpersonateUsers?: {
|
|
1389
|
+
id: string;
|
|
1390
|
+
firstName: string;
|
|
1391
|
+
lastName: string;
|
|
1392
|
+
}[] | undefined;
|
|
1393
|
+
}, {
|
|
1394
|
+
id: string;
|
|
1395
|
+
firstName: string;
|
|
1396
|
+
lastName: string;
|
|
1397
|
+
email: string;
|
|
1398
|
+
createdAt: string | Date;
|
|
1399
|
+
updatedAt: string | Date;
|
|
1400
|
+
phoneNumbers?: {
|
|
1401
|
+
id: string;
|
|
1402
|
+
phoneNumber: string;
|
|
1403
|
+
description?: string | null | undefined;
|
|
1404
|
+
isPrimary?: boolean | undefined;
|
|
1405
|
+
}[] | undefined;
|
|
1406
|
+
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
|
+
canImpersonateUsers?: {
|
|
1409
|
+
id: string;
|
|
1410
|
+
firstName: string;
|
|
1411
|
+
lastName: string;
|
|
1412
|
+
}[] | undefined;
|
|
1413
|
+
}>>;
|
|
722
1414
|
name: z.ZodString;
|
|
723
1415
|
phoneNumber: z.ZodString;
|
|
724
|
-
source: z.ZodString;
|
|
725
1416
|
status: z.ZodEnum<["AVAILABLE", "ASSIGNED", "BLACKLISTED"]>;
|
|
726
1417
|
callCount: z.ZodNumber;
|
|
727
1418
|
lastCalledAt: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>;
|
|
728
1419
|
cooldownUntil: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>;
|
|
729
1420
|
blacklistReason: z.ZodNullable<z.ZodString>;
|
|
1421
|
+
lastCallNotes: z.ZodNullable<z.ZodString>;
|
|
730
1422
|
existsInLeadsTable: z.ZodBoolean;
|
|
731
1423
|
originalLeadId: z.ZodNullable<z.ZodString>;
|
|
732
1424
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
733
1425
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
734
1426
|
}, "strip", z.ZodTypeAny, {
|
|
735
|
-
name: string;
|
|
736
1427
|
id: string;
|
|
1428
|
+
agentId: string;
|
|
737
1429
|
phoneNumber: string;
|
|
738
1430
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
739
|
-
|
|
740
|
-
|
|
1431
|
+
createdAt: string;
|
|
1432
|
+
updatedAt: string;
|
|
1433
|
+
name: string;
|
|
741
1434
|
callCount: number;
|
|
742
1435
|
lastCalledAt: string | null;
|
|
743
1436
|
cooldownUntil: string | null;
|
|
744
1437
|
blacklistReason: string | null;
|
|
1438
|
+
lastCallNotes: string | null;
|
|
745
1439
|
existsInLeadsTable: boolean;
|
|
746
1440
|
originalLeadId: string | null;
|
|
747
|
-
|
|
748
|
-
|
|
1441
|
+
agent?: {
|
|
1442
|
+
id: string;
|
|
1443
|
+
firstName: string;
|
|
1444
|
+
lastName: string;
|
|
1445
|
+
email: string;
|
|
1446
|
+
phoneNumbers: {
|
|
1447
|
+
id: string;
|
|
1448
|
+
phoneNumber: string;
|
|
1449
|
+
isPrimary: boolean;
|
|
1450
|
+
description?: string | null | undefined;
|
|
1451
|
+
}[];
|
|
1452
|
+
createdAt: string;
|
|
1453
|
+
updatedAt: string;
|
|
1454
|
+
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
|
+
canImpersonateUsers?: {
|
|
1457
|
+
id: string;
|
|
1458
|
+
firstName: string;
|
|
1459
|
+
lastName: string;
|
|
1460
|
+
}[] | undefined;
|
|
1461
|
+
} | undefined;
|
|
749
1462
|
}, {
|
|
750
|
-
name: string;
|
|
751
1463
|
id: string;
|
|
1464
|
+
agentId: string;
|
|
752
1465
|
phoneNumber: string;
|
|
753
1466
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
754
|
-
|
|
755
|
-
|
|
1467
|
+
createdAt: string | Date;
|
|
1468
|
+
updatedAt: string | Date;
|
|
1469
|
+
name: string;
|
|
756
1470
|
callCount: number;
|
|
757
1471
|
lastCalledAt: string | Date | null;
|
|
758
1472
|
cooldownUntil: string | Date | null;
|
|
759
1473
|
blacklistReason: string | null;
|
|
1474
|
+
lastCallNotes: string | null;
|
|
760
1475
|
existsInLeadsTable: boolean;
|
|
761
1476
|
originalLeadId: string | null;
|
|
762
|
-
|
|
763
|
-
|
|
1477
|
+
agent?: {
|
|
1478
|
+
id: string;
|
|
1479
|
+
firstName: string;
|
|
1480
|
+
lastName: string;
|
|
1481
|
+
email: string;
|
|
1482
|
+
createdAt: string | Date;
|
|
1483
|
+
updatedAt: string | Date;
|
|
1484
|
+
phoneNumbers?: {
|
|
1485
|
+
id: string;
|
|
1486
|
+
phoneNumber: string;
|
|
1487
|
+
description?: string | null | undefined;
|
|
1488
|
+
isPrimary?: boolean | undefined;
|
|
1489
|
+
}[] | undefined;
|
|
1490
|
+
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
|
+
canImpersonateUsers?: {
|
|
1493
|
+
id: string;
|
|
1494
|
+
firstName: string;
|
|
1495
|
+
lastName: string;
|
|
1496
|
+
}[] | undefined;
|
|
1497
|
+
} | undefined;
|
|
764
1498
|
}>, "many">;
|
|
765
1499
|
totalCount: z.ZodNumber;
|
|
766
1500
|
limit: z.ZodNumber;
|
|
@@ -770,20 +1504,41 @@ export declare const PaginatedOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
770
1504
|
}, "strip", z.ZodTypeAny, {
|
|
771
1505
|
limit: number;
|
|
772
1506
|
items: {
|
|
773
|
-
name: string;
|
|
774
1507
|
id: string;
|
|
1508
|
+
agentId: string;
|
|
775
1509
|
phoneNumber: string;
|
|
776
1510
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
777
|
-
|
|
778
|
-
|
|
1511
|
+
createdAt: string;
|
|
1512
|
+
updatedAt: string;
|
|
1513
|
+
name: string;
|
|
779
1514
|
callCount: number;
|
|
780
1515
|
lastCalledAt: string | null;
|
|
781
1516
|
cooldownUntil: string | null;
|
|
782
1517
|
blacklistReason: string | null;
|
|
1518
|
+
lastCallNotes: string | null;
|
|
783
1519
|
existsInLeadsTable: boolean;
|
|
784
1520
|
originalLeadId: string | null;
|
|
785
|
-
|
|
786
|
-
|
|
1521
|
+
agent?: {
|
|
1522
|
+
id: string;
|
|
1523
|
+
firstName: string;
|
|
1524
|
+
lastName: string;
|
|
1525
|
+
email: string;
|
|
1526
|
+
phoneNumbers: {
|
|
1527
|
+
id: string;
|
|
1528
|
+
phoneNumber: string;
|
|
1529
|
+
isPrimary: boolean;
|
|
1530
|
+
description?: string | null | undefined;
|
|
1531
|
+
}[];
|
|
1532
|
+
createdAt: string;
|
|
1533
|
+
updatedAt: string;
|
|
1534
|
+
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
|
+
canImpersonateUsers?: {
|
|
1537
|
+
id: string;
|
|
1538
|
+
firstName: string;
|
|
1539
|
+
lastName: string;
|
|
1540
|
+
}[] | undefined;
|
|
1541
|
+
} | undefined;
|
|
787
1542
|
}[];
|
|
788
1543
|
totalCount: number;
|
|
789
1544
|
skip: number;
|
|
@@ -792,20 +1547,41 @@ export declare const PaginatedOwnResearchLeadResponseSchema: z.ZodObject<{
|
|
|
792
1547
|
}, {
|
|
793
1548
|
limit: number;
|
|
794
1549
|
items: {
|
|
795
|
-
name: string;
|
|
796
1550
|
id: string;
|
|
1551
|
+
agentId: string;
|
|
797
1552
|
phoneNumber: string;
|
|
798
1553
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
799
|
-
|
|
800
|
-
|
|
1554
|
+
createdAt: string | Date;
|
|
1555
|
+
updatedAt: string | Date;
|
|
1556
|
+
name: string;
|
|
801
1557
|
callCount: number;
|
|
802
1558
|
lastCalledAt: string | Date | null;
|
|
803
1559
|
cooldownUntil: string | Date | null;
|
|
804
1560
|
blacklistReason: string | null;
|
|
1561
|
+
lastCallNotes: string | null;
|
|
805
1562
|
existsInLeadsTable: boolean;
|
|
806
1563
|
originalLeadId: string | null;
|
|
807
|
-
|
|
808
|
-
|
|
1564
|
+
agent?: {
|
|
1565
|
+
id: string;
|
|
1566
|
+
firstName: string;
|
|
1567
|
+
lastName: string;
|
|
1568
|
+
email: string;
|
|
1569
|
+
createdAt: string | Date;
|
|
1570
|
+
updatedAt: string | Date;
|
|
1571
|
+
phoneNumbers?: {
|
|
1572
|
+
id: string;
|
|
1573
|
+
phoneNumber: string;
|
|
1574
|
+
description?: string | null | undefined;
|
|
1575
|
+
isPrimary?: boolean | undefined;
|
|
1576
|
+
}[] | undefined;
|
|
1577
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1578
|
+
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;
|
|
1579
|
+
canImpersonateUsers?: {
|
|
1580
|
+
id: string;
|
|
1581
|
+
firstName: string;
|
|
1582
|
+
lastName: string;
|
|
1583
|
+
}[] | undefined;
|
|
1584
|
+
} | undefined;
|
|
809
1585
|
}[];
|
|
810
1586
|
totalCount: number;
|
|
811
1587
|
skip: number;
|
|
@@ -944,6 +1720,9 @@ export declare const ownResearchContract: {
|
|
|
944
1720
|
};
|
|
945
1721
|
};
|
|
946
1722
|
findAll: {
|
|
1723
|
+
metadata: {
|
|
1724
|
+
tags: string[];
|
|
1725
|
+
};
|
|
947
1726
|
query: z.ZodObject<{
|
|
948
1727
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
949
1728
|
page: z.ZodDefault<z.ZodNumber>;
|
|
@@ -965,35 +1744,32 @@ export declare const ownResearchContract: {
|
|
|
965
1744
|
sortBy: z.ZodOptional<z.ZodEnum<["createdAt", "updatedAt", "lastCalledAt", "callCount", "name"]>>;
|
|
966
1745
|
sortOrder: z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>;
|
|
967
1746
|
}, "strip", z.ZodTypeAny, {
|
|
968
|
-
page: number;
|
|
969
1747
|
limit: number;
|
|
970
|
-
|
|
971
|
-
sortBy?: "name" | "callCount" | "lastCalledAt" | "createdAt" | "updatedAt" | undefined;
|
|
972
|
-
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1748
|
+
page: number;
|
|
973
1749
|
phoneNumber?: string | undefined;
|
|
974
1750
|
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
|
|
1751
|
+
name?: string | undefined;
|
|
975
1752
|
lastCalledAt?: {
|
|
976
1753
|
from?: string | null | undefined;
|
|
977
1754
|
to?: string | null | undefined;
|
|
978
1755
|
} | undefined;
|
|
979
1756
|
minTotalCalls?: number | undefined;
|
|
980
|
-
|
|
981
|
-
name?: string | undefined;
|
|
982
|
-
sortBy?: "name" | "callCount" | "lastCalledAt" | "createdAt" | "updatedAt" | undefined;
|
|
1757
|
+
sortBy?: "createdAt" | "updatedAt" | "name" | "callCount" | "lastCalledAt" | undefined;
|
|
983
1758
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
984
|
-
|
|
985
|
-
limit?: number | undefined;
|
|
1759
|
+
}, {
|
|
986
1760
|
phoneNumber?: string | undefined;
|
|
987
1761
|
status?: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED" | undefined;
|
|
1762
|
+
name?: string | undefined;
|
|
988
1763
|
lastCalledAt?: {
|
|
989
1764
|
from?: string | null | undefined;
|
|
990
1765
|
to?: string | null | undefined;
|
|
991
1766
|
} | undefined;
|
|
1767
|
+
limit?: number | undefined;
|
|
1768
|
+
page?: number | undefined;
|
|
992
1769
|
minTotalCalls?: number | undefined;
|
|
1770
|
+
sortBy?: "createdAt" | "updatedAt" | "name" | "callCount" | "lastCalledAt" | undefined;
|
|
1771
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
993
1772
|
}>;
|
|
994
|
-
metadata: {
|
|
995
|
-
tags: string[];
|
|
996
|
-
};
|
|
997
1773
|
summary: "Get all own research leads for the current agent";
|
|
998
1774
|
method: "GET";
|
|
999
1775
|
path: "/v2/own-research/leads";
|
|
@@ -1102,48 +1878,169 @@ export declare const ownResearchContract: {
|
|
|
1102
1878
|
items: z.ZodArray<z.ZodObject<{
|
|
1103
1879
|
id: z.ZodString;
|
|
1104
1880
|
agentId: z.ZodString;
|
|
1881
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
1882
|
+
id: z.ZodString;
|
|
1883
|
+
firstName: z.ZodString;
|
|
1884
|
+
lastName: z.ZodString;
|
|
1885
|
+
email: z.ZodString;
|
|
1886
|
+
phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1887
|
+
id: z.ZodString;
|
|
1888
|
+
phoneNumber: z.ZodString;
|
|
1889
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1890
|
+
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
1891
|
+
}, "strip", z.ZodTypeAny, {
|
|
1892
|
+
id: string;
|
|
1893
|
+
phoneNumber: string;
|
|
1894
|
+
isPrimary: boolean;
|
|
1895
|
+
description?: string | null | undefined;
|
|
1896
|
+
}, {
|
|
1897
|
+
id: string;
|
|
1898
|
+
phoneNumber: string;
|
|
1899
|
+
description?: string | null | undefined;
|
|
1900
|
+
isPrimary?: boolean | undefined;
|
|
1901
|
+
}>, "many">>>;
|
|
1902
|
+
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.ZodEnum<["ALBANIA", "CRAIOVA", "DANI", "GABI_RECRUTARE", "GEORGIA", "INDIA", "IONITA", "MARIUS_DRAGAN", "MAX_MANGU", "MAXIM_VADIM", "MD_BOGDAN", "MD_DANIEL_CHISINAU", "NEACSU", "ROBERT_DENIS", "ROBERT_RADU", "VICTORIEI_MIRIAM", "VIZIRU", "Y_INDIVIDUALS_RECRUITMENT"]>>>;
|
|
1904
|
+
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1905
|
+
id: z.ZodString;
|
|
1906
|
+
firstName: z.ZodString;
|
|
1907
|
+
lastName: z.ZodString;
|
|
1908
|
+
}, "strip", z.ZodTypeAny, {
|
|
1909
|
+
id: string;
|
|
1910
|
+
firstName: string;
|
|
1911
|
+
lastName: string;
|
|
1912
|
+
}, {
|
|
1913
|
+
id: string;
|
|
1914
|
+
firstName: string;
|
|
1915
|
+
lastName: string;
|
|
1916
|
+
}>, "many">>;
|
|
1917
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1918
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1919
|
+
}, "strip", z.ZodTypeAny, {
|
|
1920
|
+
id: string;
|
|
1921
|
+
firstName: string;
|
|
1922
|
+
lastName: string;
|
|
1923
|
+
email: string;
|
|
1924
|
+
phoneNumbers: {
|
|
1925
|
+
id: string;
|
|
1926
|
+
phoneNumber: string;
|
|
1927
|
+
isPrimary: boolean;
|
|
1928
|
+
description?: string | null | undefined;
|
|
1929
|
+
}[];
|
|
1930
|
+
createdAt: string;
|
|
1931
|
+
updatedAt: string;
|
|
1932
|
+
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
|
+
canImpersonateUsers?: {
|
|
1935
|
+
id: string;
|
|
1936
|
+
firstName: string;
|
|
1937
|
+
lastName: string;
|
|
1938
|
+
}[] | undefined;
|
|
1939
|
+
}, {
|
|
1940
|
+
id: string;
|
|
1941
|
+
firstName: string;
|
|
1942
|
+
lastName: string;
|
|
1943
|
+
email: string;
|
|
1944
|
+
createdAt: string | Date;
|
|
1945
|
+
updatedAt: string | Date;
|
|
1946
|
+
phoneNumbers?: {
|
|
1947
|
+
id: string;
|
|
1948
|
+
phoneNumber: string;
|
|
1949
|
+
description?: string | null | undefined;
|
|
1950
|
+
isPrimary?: boolean | undefined;
|
|
1951
|
+
}[] | undefined;
|
|
1952
|
+
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
|
+
canImpersonateUsers?: {
|
|
1955
|
+
id: string;
|
|
1956
|
+
firstName: string;
|
|
1957
|
+
lastName: string;
|
|
1958
|
+
}[] | undefined;
|
|
1959
|
+
}>>;
|
|
1105
1960
|
name: z.ZodString;
|
|
1106
1961
|
phoneNumber: z.ZodString;
|
|
1107
|
-
source: z.ZodString;
|
|
1108
1962
|
status: z.ZodEnum<["AVAILABLE", "ASSIGNED", "BLACKLISTED"]>;
|
|
1109
1963
|
callCount: z.ZodNumber;
|
|
1110
1964
|
lastCalledAt: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>;
|
|
1111
1965
|
cooldownUntil: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>;
|
|
1112
1966
|
blacklistReason: z.ZodNullable<z.ZodString>;
|
|
1967
|
+
lastCallNotes: z.ZodNullable<z.ZodString>;
|
|
1113
1968
|
existsInLeadsTable: z.ZodBoolean;
|
|
1114
1969
|
originalLeadId: z.ZodNullable<z.ZodString>;
|
|
1115
1970
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1116
1971
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1117
1972
|
}, "strip", z.ZodTypeAny, {
|
|
1118
|
-
name: string;
|
|
1119
1973
|
id: string;
|
|
1974
|
+
agentId: string;
|
|
1120
1975
|
phoneNumber: string;
|
|
1121
1976
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
1122
|
-
|
|
1123
|
-
|
|
1977
|
+
createdAt: string;
|
|
1978
|
+
updatedAt: string;
|
|
1979
|
+
name: string;
|
|
1124
1980
|
callCount: number;
|
|
1125
1981
|
lastCalledAt: string | null;
|
|
1126
1982
|
cooldownUntil: string | null;
|
|
1127
1983
|
blacklistReason: string | null;
|
|
1984
|
+
lastCallNotes: string | null;
|
|
1128
1985
|
existsInLeadsTable: boolean;
|
|
1129
1986
|
originalLeadId: string | null;
|
|
1130
|
-
|
|
1131
|
-
|
|
1987
|
+
agent?: {
|
|
1988
|
+
id: string;
|
|
1989
|
+
firstName: string;
|
|
1990
|
+
lastName: string;
|
|
1991
|
+
email: string;
|
|
1992
|
+
phoneNumbers: {
|
|
1993
|
+
id: string;
|
|
1994
|
+
phoneNumber: string;
|
|
1995
|
+
isPrimary: boolean;
|
|
1996
|
+
description?: string | null | undefined;
|
|
1997
|
+
}[];
|
|
1998
|
+
createdAt: string;
|
|
1999
|
+
updatedAt: string;
|
|
2000
|
+
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
|
+
canImpersonateUsers?: {
|
|
2003
|
+
id: string;
|
|
2004
|
+
firstName: string;
|
|
2005
|
+
lastName: string;
|
|
2006
|
+
}[] | undefined;
|
|
2007
|
+
} | undefined;
|
|
1132
2008
|
}, {
|
|
1133
|
-
name: string;
|
|
1134
2009
|
id: string;
|
|
2010
|
+
agentId: string;
|
|
1135
2011
|
phoneNumber: string;
|
|
1136
2012
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
1137
|
-
|
|
1138
|
-
|
|
2013
|
+
createdAt: string | Date;
|
|
2014
|
+
updatedAt: string | Date;
|
|
2015
|
+
name: string;
|
|
1139
2016
|
callCount: number;
|
|
1140
2017
|
lastCalledAt: string | Date | null;
|
|
1141
2018
|
cooldownUntil: string | Date | null;
|
|
1142
2019
|
blacklistReason: string | null;
|
|
2020
|
+
lastCallNotes: string | null;
|
|
1143
2021
|
existsInLeadsTable: boolean;
|
|
1144
2022
|
originalLeadId: string | null;
|
|
1145
|
-
|
|
1146
|
-
|
|
2023
|
+
agent?: {
|
|
2024
|
+
id: string;
|
|
2025
|
+
firstName: string;
|
|
2026
|
+
lastName: string;
|
|
2027
|
+
email: string;
|
|
2028
|
+
createdAt: string | Date;
|
|
2029
|
+
updatedAt: string | Date;
|
|
2030
|
+
phoneNumbers?: {
|
|
2031
|
+
id: string;
|
|
2032
|
+
phoneNumber: string;
|
|
2033
|
+
description?: string | null | undefined;
|
|
2034
|
+
isPrimary?: boolean | undefined;
|
|
2035
|
+
}[] | undefined;
|
|
2036
|
+
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
|
+
canImpersonateUsers?: {
|
|
2039
|
+
id: string;
|
|
2040
|
+
firstName: string;
|
|
2041
|
+
lastName: string;
|
|
2042
|
+
}[] | undefined;
|
|
2043
|
+
} | undefined;
|
|
1147
2044
|
}>, "many">;
|
|
1148
2045
|
totalCount: z.ZodNumber;
|
|
1149
2046
|
limit: z.ZodNumber;
|
|
@@ -1153,20 +2050,41 @@ export declare const ownResearchContract: {
|
|
|
1153
2050
|
}, "strip", z.ZodTypeAny, {
|
|
1154
2051
|
limit: number;
|
|
1155
2052
|
items: {
|
|
1156
|
-
name: string;
|
|
1157
2053
|
id: string;
|
|
2054
|
+
agentId: string;
|
|
1158
2055
|
phoneNumber: string;
|
|
1159
2056
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
1160
|
-
|
|
1161
|
-
|
|
2057
|
+
createdAt: string;
|
|
2058
|
+
updatedAt: string;
|
|
2059
|
+
name: string;
|
|
1162
2060
|
callCount: number;
|
|
1163
2061
|
lastCalledAt: string | null;
|
|
1164
2062
|
cooldownUntil: string | null;
|
|
1165
2063
|
blacklistReason: string | null;
|
|
2064
|
+
lastCallNotes: string | null;
|
|
1166
2065
|
existsInLeadsTable: boolean;
|
|
1167
2066
|
originalLeadId: string | null;
|
|
1168
|
-
|
|
1169
|
-
|
|
2067
|
+
agent?: {
|
|
2068
|
+
id: string;
|
|
2069
|
+
firstName: string;
|
|
2070
|
+
lastName: string;
|
|
2071
|
+
email: string;
|
|
2072
|
+
phoneNumbers: {
|
|
2073
|
+
id: string;
|
|
2074
|
+
phoneNumber: string;
|
|
2075
|
+
isPrimary: boolean;
|
|
2076
|
+
description?: string | null | undefined;
|
|
2077
|
+
}[];
|
|
2078
|
+
createdAt: string;
|
|
2079
|
+
updatedAt: string;
|
|
2080
|
+
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
|
+
canImpersonateUsers?: {
|
|
2083
|
+
id: string;
|
|
2084
|
+
firstName: string;
|
|
2085
|
+
lastName: string;
|
|
2086
|
+
}[] | undefined;
|
|
2087
|
+
} | undefined;
|
|
1170
2088
|
}[];
|
|
1171
2089
|
totalCount: number;
|
|
1172
2090
|
skip: number;
|
|
@@ -1175,20 +2093,41 @@ export declare const ownResearchContract: {
|
|
|
1175
2093
|
}, {
|
|
1176
2094
|
limit: number;
|
|
1177
2095
|
items: {
|
|
1178
|
-
name: string;
|
|
1179
2096
|
id: string;
|
|
2097
|
+
agentId: string;
|
|
1180
2098
|
phoneNumber: string;
|
|
1181
2099
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
1182
|
-
|
|
1183
|
-
|
|
2100
|
+
createdAt: string | Date;
|
|
2101
|
+
updatedAt: string | Date;
|
|
2102
|
+
name: string;
|
|
1184
2103
|
callCount: number;
|
|
1185
2104
|
lastCalledAt: string | Date | null;
|
|
1186
2105
|
cooldownUntil: string | Date | null;
|
|
1187
2106
|
blacklistReason: string | null;
|
|
2107
|
+
lastCallNotes: string | null;
|
|
1188
2108
|
existsInLeadsTable: boolean;
|
|
1189
2109
|
originalLeadId: string | null;
|
|
1190
|
-
|
|
1191
|
-
|
|
2110
|
+
agent?: {
|
|
2111
|
+
id: string;
|
|
2112
|
+
firstName: string;
|
|
2113
|
+
lastName: string;
|
|
2114
|
+
email: string;
|
|
2115
|
+
createdAt: string | Date;
|
|
2116
|
+
updatedAt: string | Date;
|
|
2117
|
+
phoneNumbers?: {
|
|
2118
|
+
id: string;
|
|
2119
|
+
phoneNumber: string;
|
|
2120
|
+
description?: string | null | undefined;
|
|
2121
|
+
isPrimary?: boolean | undefined;
|
|
2122
|
+
}[] | undefined;
|
|
2123
|
+
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
|
+
canImpersonateUsers?: {
|
|
2126
|
+
id: string;
|
|
2127
|
+
firstName: string;
|
|
2128
|
+
lastName: string;
|
|
2129
|
+
}[] | undefined;
|
|
2130
|
+
} | undefined;
|
|
1192
2131
|
}[];
|
|
1193
2132
|
totalCount: number;
|
|
1194
2133
|
skip: number;
|
|
@@ -1322,63 +2261,184 @@ export declare const ownResearchContract: {
|
|
|
1322
2261
|
status: z.ZodString;
|
|
1323
2262
|
cooldownUntil: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>;
|
|
1324
2263
|
}, "strip", z.ZodTypeAny, {
|
|
1325
|
-
name: string;
|
|
1326
2264
|
id: string;
|
|
1327
2265
|
phoneNumber: string;
|
|
1328
2266
|
status: string;
|
|
2267
|
+
name: string;
|
|
1329
2268
|
cooldownUntil: string | null;
|
|
1330
2269
|
}, {
|
|
1331
|
-
name: string;
|
|
1332
2270
|
id: string;
|
|
1333
2271
|
phoneNumber: string;
|
|
1334
2272
|
status: string;
|
|
2273
|
+
name: string;
|
|
1335
2274
|
cooldownUntil: string | Date | null;
|
|
1336
2275
|
}>>>;
|
|
1337
2276
|
ownResearchLead: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1338
2277
|
id: z.ZodString;
|
|
1339
2278
|
agentId: z.ZodString;
|
|
2279
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
2280
|
+
id: z.ZodString;
|
|
2281
|
+
firstName: z.ZodString;
|
|
2282
|
+
lastName: z.ZodString;
|
|
2283
|
+
email: z.ZodString;
|
|
2284
|
+
phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2285
|
+
id: z.ZodString;
|
|
2286
|
+
phoneNumber: z.ZodString;
|
|
2287
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2288
|
+
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
2289
|
+
}, "strip", z.ZodTypeAny, {
|
|
2290
|
+
id: string;
|
|
2291
|
+
phoneNumber: string;
|
|
2292
|
+
isPrimary: boolean;
|
|
2293
|
+
description?: string | null | undefined;
|
|
2294
|
+
}, {
|
|
2295
|
+
id: string;
|
|
2296
|
+
phoneNumber: string;
|
|
2297
|
+
description?: string | null | undefined;
|
|
2298
|
+
isPrimary?: boolean | undefined;
|
|
2299
|
+
}>, "many">>>;
|
|
2300
|
+
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.ZodEnum<["ALBANIA", "CRAIOVA", "DANI", "GABI_RECRUTARE", "GEORGIA", "INDIA", "IONITA", "MARIUS_DRAGAN", "MAX_MANGU", "MAXIM_VADIM", "MD_BOGDAN", "MD_DANIEL_CHISINAU", "NEACSU", "ROBERT_DENIS", "ROBERT_RADU", "VICTORIEI_MIRIAM", "VIZIRU", "Y_INDIVIDUALS_RECRUITMENT"]>>>;
|
|
2302
|
+
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2303
|
+
id: z.ZodString;
|
|
2304
|
+
firstName: z.ZodString;
|
|
2305
|
+
lastName: z.ZodString;
|
|
2306
|
+
}, "strip", z.ZodTypeAny, {
|
|
2307
|
+
id: string;
|
|
2308
|
+
firstName: string;
|
|
2309
|
+
lastName: string;
|
|
2310
|
+
}, {
|
|
2311
|
+
id: string;
|
|
2312
|
+
firstName: string;
|
|
2313
|
+
lastName: string;
|
|
2314
|
+
}>, "many">>;
|
|
2315
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2316
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2317
|
+
}, "strip", z.ZodTypeAny, {
|
|
2318
|
+
id: string;
|
|
2319
|
+
firstName: string;
|
|
2320
|
+
lastName: string;
|
|
2321
|
+
email: string;
|
|
2322
|
+
phoneNumbers: {
|
|
2323
|
+
id: string;
|
|
2324
|
+
phoneNumber: string;
|
|
2325
|
+
isPrimary: boolean;
|
|
2326
|
+
description?: string | null | undefined;
|
|
2327
|
+
}[];
|
|
2328
|
+
createdAt: string;
|
|
2329
|
+
updatedAt: string;
|
|
2330
|
+
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
|
+
canImpersonateUsers?: {
|
|
2333
|
+
id: string;
|
|
2334
|
+
firstName: string;
|
|
2335
|
+
lastName: string;
|
|
2336
|
+
}[] | undefined;
|
|
2337
|
+
}, {
|
|
2338
|
+
id: string;
|
|
2339
|
+
firstName: string;
|
|
2340
|
+
lastName: string;
|
|
2341
|
+
email: string;
|
|
2342
|
+
createdAt: string | Date;
|
|
2343
|
+
updatedAt: string | Date;
|
|
2344
|
+
phoneNumbers?: {
|
|
2345
|
+
id: string;
|
|
2346
|
+
phoneNumber: string;
|
|
2347
|
+
description?: string | null | undefined;
|
|
2348
|
+
isPrimary?: boolean | undefined;
|
|
2349
|
+
}[] | undefined;
|
|
2350
|
+
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
|
+
canImpersonateUsers?: {
|
|
2353
|
+
id: string;
|
|
2354
|
+
firstName: string;
|
|
2355
|
+
lastName: string;
|
|
2356
|
+
}[] | undefined;
|
|
2357
|
+
}>>;
|
|
1340
2358
|
name: z.ZodString;
|
|
1341
2359
|
phoneNumber: z.ZodString;
|
|
1342
|
-
source: z.ZodString;
|
|
1343
2360
|
status: z.ZodEnum<["AVAILABLE", "ASSIGNED", "BLACKLISTED"]>;
|
|
1344
2361
|
callCount: z.ZodNumber;
|
|
1345
2362
|
lastCalledAt: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>;
|
|
1346
2363
|
cooldownUntil: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>;
|
|
1347
2364
|
blacklistReason: z.ZodNullable<z.ZodString>;
|
|
2365
|
+
lastCallNotes: z.ZodNullable<z.ZodString>;
|
|
1348
2366
|
existsInLeadsTable: z.ZodBoolean;
|
|
1349
2367
|
originalLeadId: z.ZodNullable<z.ZodString>;
|
|
1350
2368
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1351
2369
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1352
2370
|
}, "strip", z.ZodTypeAny, {
|
|
1353
|
-
name: string;
|
|
1354
2371
|
id: string;
|
|
2372
|
+
agentId: string;
|
|
1355
2373
|
phoneNumber: string;
|
|
1356
2374
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
1357
|
-
|
|
1358
|
-
|
|
2375
|
+
createdAt: string;
|
|
2376
|
+
updatedAt: string;
|
|
2377
|
+
name: string;
|
|
1359
2378
|
callCount: number;
|
|
1360
2379
|
lastCalledAt: string | null;
|
|
1361
2380
|
cooldownUntil: string | null;
|
|
1362
2381
|
blacklistReason: string | null;
|
|
2382
|
+
lastCallNotes: string | null;
|
|
1363
2383
|
existsInLeadsTable: boolean;
|
|
1364
2384
|
originalLeadId: string | null;
|
|
1365
|
-
|
|
1366
|
-
|
|
2385
|
+
agent?: {
|
|
2386
|
+
id: string;
|
|
2387
|
+
firstName: string;
|
|
2388
|
+
lastName: string;
|
|
2389
|
+
email: string;
|
|
2390
|
+
phoneNumbers: {
|
|
2391
|
+
id: string;
|
|
2392
|
+
phoneNumber: string;
|
|
2393
|
+
isPrimary: boolean;
|
|
2394
|
+
description?: string | null | undefined;
|
|
2395
|
+
}[];
|
|
2396
|
+
createdAt: string;
|
|
2397
|
+
updatedAt: string;
|
|
2398
|
+
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
|
+
canImpersonateUsers?: {
|
|
2401
|
+
id: string;
|
|
2402
|
+
firstName: string;
|
|
2403
|
+
lastName: string;
|
|
2404
|
+
}[] | undefined;
|
|
2405
|
+
} | undefined;
|
|
1367
2406
|
}, {
|
|
1368
|
-
name: string;
|
|
1369
2407
|
id: string;
|
|
2408
|
+
agentId: string;
|
|
1370
2409
|
phoneNumber: string;
|
|
1371
2410
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
1372
|
-
|
|
1373
|
-
|
|
2411
|
+
createdAt: string | Date;
|
|
2412
|
+
updatedAt: string | Date;
|
|
2413
|
+
name: string;
|
|
1374
2414
|
callCount: number;
|
|
1375
2415
|
lastCalledAt: string | Date | null;
|
|
1376
2416
|
cooldownUntil: string | Date | null;
|
|
1377
2417
|
blacklistReason: string | null;
|
|
2418
|
+
lastCallNotes: string | null;
|
|
1378
2419
|
existsInLeadsTable: boolean;
|
|
1379
2420
|
originalLeadId: string | null;
|
|
1380
|
-
|
|
1381
|
-
|
|
2421
|
+
agent?: {
|
|
2422
|
+
id: string;
|
|
2423
|
+
firstName: string;
|
|
2424
|
+
lastName: string;
|
|
2425
|
+
email: string;
|
|
2426
|
+
createdAt: string | Date;
|
|
2427
|
+
updatedAt: string | Date;
|
|
2428
|
+
phoneNumbers?: {
|
|
2429
|
+
id: string;
|
|
2430
|
+
phoneNumber: string;
|
|
2431
|
+
description?: string | null | undefined;
|
|
2432
|
+
isPrimary?: boolean | undefined;
|
|
2433
|
+
}[] | undefined;
|
|
2434
|
+
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
|
+
canImpersonateUsers?: {
|
|
2437
|
+
id: string;
|
|
2438
|
+
firstName: string;
|
|
2439
|
+
lastName: string;
|
|
2440
|
+
}[] | undefined;
|
|
2441
|
+
} | undefined;
|
|
1382
2442
|
}>>>;
|
|
1383
2443
|
isOnCooldown: z.ZodBoolean;
|
|
1384
2444
|
cooldownUntil: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>;
|
|
@@ -1388,27 +2448,48 @@ export declare const ownResearchContract: {
|
|
|
1388
2448
|
existsInOwnResearch: boolean;
|
|
1389
2449
|
isOnCooldown: boolean;
|
|
1390
2450
|
lead?: {
|
|
1391
|
-
name: string;
|
|
1392
2451
|
id: string;
|
|
1393
2452
|
phoneNumber: string;
|
|
1394
2453
|
status: string;
|
|
2454
|
+
name: string;
|
|
1395
2455
|
cooldownUntil: string | null;
|
|
1396
2456
|
} | null | undefined;
|
|
1397
2457
|
ownResearchLead?: {
|
|
1398
|
-
name: string;
|
|
1399
2458
|
id: string;
|
|
2459
|
+
agentId: string;
|
|
1400
2460
|
phoneNumber: string;
|
|
1401
2461
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
1402
|
-
|
|
1403
|
-
|
|
2462
|
+
createdAt: string;
|
|
2463
|
+
updatedAt: string;
|
|
2464
|
+
name: string;
|
|
1404
2465
|
callCount: number;
|
|
1405
2466
|
lastCalledAt: string | null;
|
|
1406
2467
|
cooldownUntil: string | null;
|
|
1407
2468
|
blacklistReason: string | null;
|
|
2469
|
+
lastCallNotes: string | null;
|
|
1408
2470
|
existsInLeadsTable: boolean;
|
|
1409
2471
|
originalLeadId: string | null;
|
|
1410
|
-
|
|
1411
|
-
|
|
2472
|
+
agent?: {
|
|
2473
|
+
id: string;
|
|
2474
|
+
firstName: string;
|
|
2475
|
+
lastName: string;
|
|
2476
|
+
email: string;
|
|
2477
|
+
phoneNumbers: {
|
|
2478
|
+
id: string;
|
|
2479
|
+
phoneNumber: string;
|
|
2480
|
+
isPrimary: boolean;
|
|
2481
|
+
description?: string | null | undefined;
|
|
2482
|
+
}[];
|
|
2483
|
+
createdAt: string;
|
|
2484
|
+
updatedAt: string;
|
|
2485
|
+
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
|
+
canImpersonateUsers?: {
|
|
2488
|
+
id: string;
|
|
2489
|
+
firstName: string;
|
|
2490
|
+
lastName: string;
|
|
2491
|
+
}[] | undefined;
|
|
2492
|
+
} | undefined;
|
|
1412
2493
|
} | null | undefined;
|
|
1413
2494
|
}, {
|
|
1414
2495
|
cooldownUntil: string | Date | null;
|
|
@@ -1416,27 +2497,48 @@ export declare const ownResearchContract: {
|
|
|
1416
2497
|
existsInOwnResearch: boolean;
|
|
1417
2498
|
isOnCooldown: boolean;
|
|
1418
2499
|
lead?: {
|
|
1419
|
-
name: string;
|
|
1420
2500
|
id: string;
|
|
1421
2501
|
phoneNumber: string;
|
|
1422
2502
|
status: string;
|
|
2503
|
+
name: string;
|
|
1423
2504
|
cooldownUntil: string | Date | null;
|
|
1424
2505
|
} | null | undefined;
|
|
1425
2506
|
ownResearchLead?: {
|
|
1426
|
-
name: string;
|
|
1427
2507
|
id: string;
|
|
2508
|
+
agentId: string;
|
|
1428
2509
|
phoneNumber: string;
|
|
1429
2510
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
1430
|
-
|
|
1431
|
-
|
|
2511
|
+
createdAt: string | Date;
|
|
2512
|
+
updatedAt: string | Date;
|
|
2513
|
+
name: string;
|
|
1432
2514
|
callCount: number;
|
|
1433
2515
|
lastCalledAt: string | Date | null;
|
|
1434
2516
|
cooldownUntil: string | Date | null;
|
|
1435
2517
|
blacklistReason: string | null;
|
|
2518
|
+
lastCallNotes: string | null;
|
|
1436
2519
|
existsInLeadsTable: boolean;
|
|
1437
2520
|
originalLeadId: string | null;
|
|
1438
|
-
|
|
1439
|
-
|
|
2521
|
+
agent?: {
|
|
2522
|
+
id: string;
|
|
2523
|
+
firstName: string;
|
|
2524
|
+
lastName: string;
|
|
2525
|
+
email: string;
|
|
2526
|
+
createdAt: string | Date;
|
|
2527
|
+
updatedAt: string | Date;
|
|
2528
|
+
phoneNumbers?: {
|
|
2529
|
+
id: string;
|
|
2530
|
+
phoneNumber: string;
|
|
2531
|
+
description?: string | null | undefined;
|
|
2532
|
+
isPrimary?: boolean | undefined;
|
|
2533
|
+
}[] | undefined;
|
|
2534
|
+
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
|
+
canImpersonateUsers?: {
|
|
2537
|
+
id: string;
|
|
2538
|
+
firstName: string;
|
|
2539
|
+
lastName: string;
|
|
2540
|
+
}[] | undefined;
|
|
2541
|
+
} | undefined;
|
|
1440
2542
|
} | null | undefined;
|
|
1441
2543
|
}>;
|
|
1442
2544
|
};
|
|
@@ -1451,11 +2553,11 @@ export declare const ownResearchContract: {
|
|
|
1451
2553
|
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
|
1452
2554
|
name: z.ZodString;
|
|
1453
2555
|
}, "strip", z.ZodTypeAny, {
|
|
1454
|
-
name: string;
|
|
1455
2556
|
phoneNumber: string;
|
|
1456
|
-
}, {
|
|
1457
2557
|
name: string;
|
|
2558
|
+
}, {
|
|
1458
2559
|
phoneNumber: string;
|
|
2560
|
+
name: string;
|
|
1459
2561
|
}>;
|
|
1460
2562
|
path: "/v2/own-research/leads";
|
|
1461
2563
|
responses: {
|
|
@@ -1563,82 +2665,245 @@ export declare const ownResearchContract: {
|
|
|
1563
2665
|
ownResearchLead: z.ZodObject<{
|
|
1564
2666
|
id: z.ZodString;
|
|
1565
2667
|
agentId: z.ZodString;
|
|
2668
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
2669
|
+
id: z.ZodString;
|
|
2670
|
+
firstName: z.ZodString;
|
|
2671
|
+
lastName: z.ZodString;
|
|
2672
|
+
email: z.ZodString;
|
|
2673
|
+
phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2674
|
+
id: z.ZodString;
|
|
2675
|
+
phoneNumber: z.ZodString;
|
|
2676
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2677
|
+
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
2678
|
+
}, "strip", z.ZodTypeAny, {
|
|
2679
|
+
id: string;
|
|
2680
|
+
phoneNumber: string;
|
|
2681
|
+
isPrimary: boolean;
|
|
2682
|
+
description?: string | null | undefined;
|
|
2683
|
+
}, {
|
|
2684
|
+
id: string;
|
|
2685
|
+
phoneNumber: string;
|
|
2686
|
+
description?: string | null | undefined;
|
|
2687
|
+
isPrimary?: boolean | undefined;
|
|
2688
|
+
}>, "many">>>;
|
|
2689
|
+
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.ZodEnum<["ALBANIA", "CRAIOVA", "DANI", "GABI_RECRUTARE", "GEORGIA", "INDIA", "IONITA", "MARIUS_DRAGAN", "MAX_MANGU", "MAXIM_VADIM", "MD_BOGDAN", "MD_DANIEL_CHISINAU", "NEACSU", "ROBERT_DENIS", "ROBERT_RADU", "VICTORIEI_MIRIAM", "VIZIRU", "Y_INDIVIDUALS_RECRUITMENT"]>>>;
|
|
2691
|
+
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2692
|
+
id: z.ZodString;
|
|
2693
|
+
firstName: z.ZodString;
|
|
2694
|
+
lastName: z.ZodString;
|
|
2695
|
+
}, "strip", z.ZodTypeAny, {
|
|
2696
|
+
id: string;
|
|
2697
|
+
firstName: string;
|
|
2698
|
+
lastName: string;
|
|
2699
|
+
}, {
|
|
2700
|
+
id: string;
|
|
2701
|
+
firstName: string;
|
|
2702
|
+
lastName: string;
|
|
2703
|
+
}>, "many">>;
|
|
2704
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2705
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2706
|
+
}, "strip", z.ZodTypeAny, {
|
|
2707
|
+
id: string;
|
|
2708
|
+
firstName: string;
|
|
2709
|
+
lastName: string;
|
|
2710
|
+
email: string;
|
|
2711
|
+
phoneNumbers: {
|
|
2712
|
+
id: string;
|
|
2713
|
+
phoneNumber: string;
|
|
2714
|
+
isPrimary: boolean;
|
|
2715
|
+
description?: string | null | undefined;
|
|
2716
|
+
}[];
|
|
2717
|
+
createdAt: string;
|
|
2718
|
+
updatedAt: string;
|
|
2719
|
+
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
|
+
canImpersonateUsers?: {
|
|
2722
|
+
id: string;
|
|
2723
|
+
firstName: string;
|
|
2724
|
+
lastName: string;
|
|
2725
|
+
}[] | undefined;
|
|
2726
|
+
}, {
|
|
2727
|
+
id: string;
|
|
2728
|
+
firstName: string;
|
|
2729
|
+
lastName: string;
|
|
2730
|
+
email: string;
|
|
2731
|
+
createdAt: string | Date;
|
|
2732
|
+
updatedAt: string | Date;
|
|
2733
|
+
phoneNumbers?: {
|
|
2734
|
+
id: string;
|
|
2735
|
+
phoneNumber: string;
|
|
2736
|
+
description?: string | null | undefined;
|
|
2737
|
+
isPrimary?: boolean | undefined;
|
|
2738
|
+
}[] | undefined;
|
|
2739
|
+
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
|
+
canImpersonateUsers?: {
|
|
2742
|
+
id: string;
|
|
2743
|
+
firstName: string;
|
|
2744
|
+
lastName: string;
|
|
2745
|
+
}[] | undefined;
|
|
2746
|
+
}>>;
|
|
1566
2747
|
name: z.ZodString;
|
|
1567
2748
|
phoneNumber: z.ZodString;
|
|
1568
|
-
source: z.ZodString;
|
|
1569
2749
|
status: z.ZodEnum<["AVAILABLE", "ASSIGNED", "BLACKLISTED"]>;
|
|
1570
2750
|
callCount: z.ZodNumber;
|
|
1571
2751
|
lastCalledAt: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>;
|
|
1572
2752
|
cooldownUntil: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>;
|
|
1573
2753
|
blacklistReason: z.ZodNullable<z.ZodString>;
|
|
2754
|
+
lastCallNotes: z.ZodNullable<z.ZodString>;
|
|
1574
2755
|
existsInLeadsTable: z.ZodBoolean;
|
|
1575
2756
|
originalLeadId: z.ZodNullable<z.ZodString>;
|
|
1576
2757
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1577
2758
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1578
2759
|
}, "strip", z.ZodTypeAny, {
|
|
1579
|
-
name: string;
|
|
1580
2760
|
id: string;
|
|
2761
|
+
agentId: string;
|
|
1581
2762
|
phoneNumber: string;
|
|
1582
2763
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
1583
|
-
|
|
1584
|
-
|
|
2764
|
+
createdAt: string;
|
|
2765
|
+
updatedAt: string;
|
|
2766
|
+
name: string;
|
|
1585
2767
|
callCount: number;
|
|
1586
2768
|
lastCalledAt: string | null;
|
|
1587
2769
|
cooldownUntil: string | null;
|
|
1588
2770
|
blacklistReason: string | null;
|
|
2771
|
+
lastCallNotes: string | null;
|
|
1589
2772
|
existsInLeadsTable: boolean;
|
|
1590
2773
|
originalLeadId: string | null;
|
|
1591
|
-
|
|
1592
|
-
|
|
2774
|
+
agent?: {
|
|
2775
|
+
id: string;
|
|
2776
|
+
firstName: string;
|
|
2777
|
+
lastName: string;
|
|
2778
|
+
email: string;
|
|
2779
|
+
phoneNumbers: {
|
|
2780
|
+
id: string;
|
|
2781
|
+
phoneNumber: string;
|
|
2782
|
+
isPrimary: boolean;
|
|
2783
|
+
description?: string | null | undefined;
|
|
2784
|
+
}[];
|
|
2785
|
+
createdAt: string;
|
|
2786
|
+
updatedAt: string;
|
|
2787
|
+
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
|
+
canImpersonateUsers?: {
|
|
2790
|
+
id: string;
|
|
2791
|
+
firstName: string;
|
|
2792
|
+
lastName: string;
|
|
2793
|
+
}[] | undefined;
|
|
2794
|
+
} | undefined;
|
|
1593
2795
|
}, {
|
|
1594
|
-
name: string;
|
|
1595
2796
|
id: string;
|
|
2797
|
+
agentId: string;
|
|
1596
2798
|
phoneNumber: string;
|
|
1597
2799
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
1598
|
-
|
|
1599
|
-
|
|
2800
|
+
createdAt: string | Date;
|
|
2801
|
+
updatedAt: string | Date;
|
|
2802
|
+
name: string;
|
|
1600
2803
|
callCount: number;
|
|
1601
2804
|
lastCalledAt: string | Date | null;
|
|
1602
2805
|
cooldownUntil: string | Date | null;
|
|
1603
2806
|
blacklistReason: string | null;
|
|
2807
|
+
lastCallNotes: string | null;
|
|
1604
2808
|
existsInLeadsTable: boolean;
|
|
1605
2809
|
originalLeadId: string | null;
|
|
1606
|
-
|
|
1607
|
-
|
|
2810
|
+
agent?: {
|
|
2811
|
+
id: string;
|
|
2812
|
+
firstName: string;
|
|
2813
|
+
lastName: string;
|
|
2814
|
+
email: string;
|
|
2815
|
+
createdAt: string | Date;
|
|
2816
|
+
updatedAt: string | Date;
|
|
2817
|
+
phoneNumbers?: {
|
|
2818
|
+
id: string;
|
|
2819
|
+
phoneNumber: string;
|
|
2820
|
+
description?: string | null | undefined;
|
|
2821
|
+
isPrimary?: boolean | undefined;
|
|
2822
|
+
}[] | undefined;
|
|
2823
|
+
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
|
+
canImpersonateUsers?: {
|
|
2826
|
+
id: string;
|
|
2827
|
+
firstName: string;
|
|
2828
|
+
lastName: string;
|
|
2829
|
+
}[] | undefined;
|
|
2830
|
+
} | undefined;
|
|
1608
2831
|
}>;
|
|
1609
2832
|
}, "strip", z.ZodTypeAny, {
|
|
1610
2833
|
ownResearchLead: {
|
|
1611
|
-
name: string;
|
|
1612
2834
|
id: string;
|
|
2835
|
+
agentId: string;
|
|
1613
2836
|
phoneNumber: string;
|
|
1614
2837
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
1615
|
-
|
|
1616
|
-
|
|
2838
|
+
createdAt: string;
|
|
2839
|
+
updatedAt: string;
|
|
2840
|
+
name: string;
|
|
1617
2841
|
callCount: number;
|
|
1618
2842
|
lastCalledAt: string | null;
|
|
1619
2843
|
cooldownUntil: string | null;
|
|
1620
2844
|
blacklistReason: string | null;
|
|
2845
|
+
lastCallNotes: string | null;
|
|
1621
2846
|
existsInLeadsTable: boolean;
|
|
1622
2847
|
originalLeadId: string | null;
|
|
1623
|
-
|
|
1624
|
-
|
|
2848
|
+
agent?: {
|
|
2849
|
+
id: string;
|
|
2850
|
+
firstName: string;
|
|
2851
|
+
lastName: string;
|
|
2852
|
+
email: string;
|
|
2853
|
+
phoneNumbers: {
|
|
2854
|
+
id: string;
|
|
2855
|
+
phoneNumber: string;
|
|
2856
|
+
isPrimary: boolean;
|
|
2857
|
+
description?: string | null | undefined;
|
|
2858
|
+
}[];
|
|
2859
|
+
createdAt: string;
|
|
2860
|
+
updatedAt: string;
|
|
2861
|
+
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
|
+
canImpersonateUsers?: {
|
|
2864
|
+
id: string;
|
|
2865
|
+
firstName: string;
|
|
2866
|
+
lastName: string;
|
|
2867
|
+
}[] | undefined;
|
|
2868
|
+
} | undefined;
|
|
1625
2869
|
};
|
|
1626
2870
|
}, {
|
|
1627
2871
|
ownResearchLead: {
|
|
1628
|
-
name: string;
|
|
1629
2872
|
id: string;
|
|
2873
|
+
agentId: string;
|
|
1630
2874
|
phoneNumber: string;
|
|
1631
2875
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
1632
|
-
|
|
1633
|
-
|
|
2876
|
+
createdAt: string | Date;
|
|
2877
|
+
updatedAt: string | Date;
|
|
2878
|
+
name: string;
|
|
1634
2879
|
callCount: number;
|
|
1635
2880
|
lastCalledAt: string | Date | null;
|
|
1636
2881
|
cooldownUntil: string | Date | null;
|
|
1637
2882
|
blacklistReason: string | null;
|
|
2883
|
+
lastCallNotes: string | null;
|
|
1638
2884
|
existsInLeadsTable: boolean;
|
|
1639
2885
|
originalLeadId: string | null;
|
|
1640
|
-
|
|
1641
|
-
|
|
2886
|
+
agent?: {
|
|
2887
|
+
id: string;
|
|
2888
|
+
firstName: string;
|
|
2889
|
+
lastName: string;
|
|
2890
|
+
email: string;
|
|
2891
|
+
createdAt: string | Date;
|
|
2892
|
+
updatedAt: string | Date;
|
|
2893
|
+
phoneNumbers?: {
|
|
2894
|
+
id: string;
|
|
2895
|
+
phoneNumber: string;
|
|
2896
|
+
description?: string | null | undefined;
|
|
2897
|
+
isPrimary?: boolean | undefined;
|
|
2898
|
+
}[] | undefined;
|
|
2899
|
+
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
|
+
canImpersonateUsers?: {
|
|
2902
|
+
id: string;
|
|
2903
|
+
firstName: string;
|
|
2904
|
+
lastName: string;
|
|
2905
|
+
}[] | undefined;
|
|
2906
|
+
} | undefined;
|
|
1642
2907
|
};
|
|
1643
2908
|
}>;
|
|
1644
2909
|
};
|
|
@@ -1654,16 +2919,19 @@ export declare const ownResearchContract: {
|
|
|
1654
2919
|
name: z.ZodString;
|
|
1655
2920
|
rating: z.ZodNativeEnum<typeof import("../common/call-rating.schema").CallRating>;
|
|
1656
2921
|
notes: z.ZodOptional<z.ZodString>;
|
|
2922
|
+
callType: z.ZodOptional<z.ZodNativeEnum<typeof import("../call-history/call-history.contract").CallType>>;
|
|
1657
2923
|
}, "strip", z.ZodTypeAny, {
|
|
1658
|
-
name: string;
|
|
1659
2924
|
phoneNumber: string;
|
|
2925
|
+
name: string;
|
|
1660
2926
|
rating: import("../common/call-rating.schema").CallRating;
|
|
1661
2927
|
notes?: string | undefined;
|
|
2928
|
+
callType?: import("../call-history/call-history.contract").CallType | undefined;
|
|
1662
2929
|
}, {
|
|
1663
|
-
name: string;
|
|
1664
2930
|
phoneNumber: string;
|
|
2931
|
+
name: string;
|
|
1665
2932
|
rating: import("../common/call-rating.schema").CallRating;
|
|
1666
2933
|
notes?: string | undefined;
|
|
2934
|
+
callType?: import("../call-history/call-history.contract").CallType | undefined;
|
|
1667
2935
|
}>;
|
|
1668
2936
|
path: "/v2/own-research/call";
|
|
1669
2937
|
responses: {
|
|
@@ -1768,18 +3036,18 @@ export declare const ownResearchContract: {
|
|
|
1768
3036
|
correlationId?: string | undefined;
|
|
1769
3037
|
}>;
|
|
1770
3038
|
201: z.ZodObject<{
|
|
1771
|
-
assignment: z.ZodObject<{
|
|
3039
|
+
assignment: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1772
3040
|
id: z.ZodString;
|
|
1773
3041
|
leadId: z.ZodString;
|
|
1774
3042
|
lead: z.ZodOptional<z.ZodObject<{
|
|
1775
3043
|
name: z.ZodString;
|
|
1776
3044
|
phoneNumber: z.ZodString;
|
|
1777
3045
|
}, "strip", z.ZodTypeAny, {
|
|
1778
|
-
name: string;
|
|
1779
3046
|
phoneNumber: string;
|
|
1780
|
-
}, {
|
|
1781
3047
|
name: string;
|
|
3048
|
+
}, {
|
|
1782
3049
|
phoneNumber: string;
|
|
3050
|
+
name: string;
|
|
1783
3051
|
}>>;
|
|
1784
3052
|
agentId: z.ZodNullable<z.ZodString>;
|
|
1785
3053
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -1821,18 +3089,205 @@ export declare const ownResearchContract: {
|
|
|
1821
3089
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1822
3090
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1823
3091
|
}, "strip", z.ZodTypeAny, {
|
|
1824
|
-
email: string;
|
|
1825
3092
|
id: string;
|
|
1826
|
-
createdAt: string;
|
|
1827
|
-
updatedAt: string;
|
|
1828
3093
|
firstName: string;
|
|
1829
3094
|
lastName: string;
|
|
3095
|
+
email: string;
|
|
3096
|
+
phoneNumbers: {
|
|
3097
|
+
id: string;
|
|
3098
|
+
phoneNumber: string;
|
|
3099
|
+
isPrimary: boolean;
|
|
3100
|
+
description?: string | null | undefined;
|
|
3101
|
+
}[];
|
|
3102
|
+
createdAt: string;
|
|
3103
|
+
updatedAt: string;
|
|
3104
|
+
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
|
+
canImpersonateUsers?: {
|
|
3107
|
+
id: string;
|
|
3108
|
+
firstName: string;
|
|
3109
|
+
lastName: string;
|
|
3110
|
+
}[] | undefined;
|
|
3111
|
+
}, {
|
|
3112
|
+
id: string;
|
|
3113
|
+
firstName: string;
|
|
3114
|
+
lastName: string;
|
|
3115
|
+
email: string;
|
|
3116
|
+
createdAt: string | Date;
|
|
3117
|
+
updatedAt: string | Date;
|
|
3118
|
+
phoneNumbers?: {
|
|
3119
|
+
id: string;
|
|
3120
|
+
phoneNumber: string;
|
|
3121
|
+
description?: string | null | undefined;
|
|
3122
|
+
isPrimary?: boolean | undefined;
|
|
3123
|
+
}[] | undefined;
|
|
3124
|
+
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
|
+
canImpersonateUsers?: {
|
|
3127
|
+
id: string;
|
|
3128
|
+
firstName: string;
|
|
3129
|
+
lastName: string;
|
|
3130
|
+
}[] | undefined;
|
|
3131
|
+
}>>;
|
|
3132
|
+
assignedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3133
|
+
assignedBy: z.ZodNullable<z.ZodString>;
|
|
3134
|
+
status: z.ZodNativeEnum<typeof import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus>;
|
|
3135
|
+
companyId: z.ZodNullable<z.ZodString>;
|
|
3136
|
+
company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3137
|
+
id: z.ZodString;
|
|
3138
|
+
name: z.ZodString;
|
|
3139
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3140
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3141
|
+
}, "strip", z.ZodTypeAny, {
|
|
3142
|
+
id: string;
|
|
3143
|
+
createdAt: string;
|
|
3144
|
+
updatedAt: string;
|
|
3145
|
+
name: string;
|
|
3146
|
+
}, {
|
|
3147
|
+
id: string;
|
|
3148
|
+
createdAt: string | Date;
|
|
3149
|
+
updatedAt: string | Date;
|
|
3150
|
+
name: string;
|
|
3151
|
+
}>>>;
|
|
3152
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3153
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3154
|
+
}, "strip", z.ZodTypeAny, {
|
|
3155
|
+
id: string;
|
|
3156
|
+
agentId: string | null;
|
|
3157
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
3158
|
+
createdAt: string;
|
|
3159
|
+
updatedAt: string;
|
|
3160
|
+
leadId: string;
|
|
3161
|
+
assignedAt: string;
|
|
3162
|
+
assignedBy: string | null;
|
|
3163
|
+
companyId: string | null;
|
|
3164
|
+
agent?: {
|
|
3165
|
+
id: string;
|
|
3166
|
+
firstName: string;
|
|
3167
|
+
lastName: string;
|
|
3168
|
+
email: string;
|
|
3169
|
+
phoneNumbers: {
|
|
3170
|
+
id: string;
|
|
3171
|
+
phoneNumber: string;
|
|
3172
|
+
isPrimary: boolean;
|
|
3173
|
+
description?: string | null | undefined;
|
|
3174
|
+
}[];
|
|
3175
|
+
createdAt: string;
|
|
3176
|
+
updatedAt: string;
|
|
3177
|
+
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
|
+
canImpersonateUsers?: {
|
|
3180
|
+
id: string;
|
|
3181
|
+
firstName: string;
|
|
3182
|
+
lastName: string;
|
|
3183
|
+
}[] | undefined;
|
|
3184
|
+
} | undefined;
|
|
3185
|
+
lead?: {
|
|
3186
|
+
phoneNumber: string;
|
|
3187
|
+
name: string;
|
|
3188
|
+
} | undefined;
|
|
3189
|
+
company?: {
|
|
3190
|
+
id: string;
|
|
3191
|
+
createdAt: string;
|
|
3192
|
+
updatedAt: string;
|
|
3193
|
+
name: string;
|
|
3194
|
+
} | null | undefined;
|
|
3195
|
+
}, {
|
|
3196
|
+
id: string;
|
|
3197
|
+
agentId: string | null;
|
|
3198
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
3199
|
+
createdAt: string | Date;
|
|
3200
|
+
updatedAt: string | Date;
|
|
3201
|
+
leadId: string;
|
|
3202
|
+
assignedAt: string | Date;
|
|
3203
|
+
assignedBy: string | null;
|
|
3204
|
+
companyId: string | null;
|
|
3205
|
+
agent?: {
|
|
3206
|
+
id: string;
|
|
3207
|
+
firstName: string;
|
|
3208
|
+
lastName: string;
|
|
3209
|
+
email: string;
|
|
3210
|
+
createdAt: string | Date;
|
|
3211
|
+
updatedAt: string | Date;
|
|
3212
|
+
phoneNumbers?: {
|
|
3213
|
+
id: string;
|
|
3214
|
+
phoneNumber: string;
|
|
3215
|
+
description?: string | null | undefined;
|
|
3216
|
+
isPrimary?: boolean | undefined;
|
|
3217
|
+
}[] | undefined;
|
|
3218
|
+
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
|
+
canImpersonateUsers?: {
|
|
3221
|
+
id: string;
|
|
3222
|
+
firstName: string;
|
|
3223
|
+
lastName: string;
|
|
3224
|
+
}[] | undefined;
|
|
3225
|
+
} | undefined;
|
|
3226
|
+
lead?: {
|
|
3227
|
+
phoneNumber: string;
|
|
3228
|
+
name: string;
|
|
3229
|
+
} | undefined;
|
|
3230
|
+
company?: {
|
|
3231
|
+
id: string;
|
|
3232
|
+
createdAt: string | Date;
|
|
3233
|
+
updatedAt: string | Date;
|
|
3234
|
+
name: string;
|
|
3235
|
+
} | null | undefined;
|
|
3236
|
+
}>>>;
|
|
3237
|
+
ownResearchLead: z.ZodObject<{
|
|
3238
|
+
id: z.ZodString;
|
|
3239
|
+
agentId: z.ZodString;
|
|
3240
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
3241
|
+
id: z.ZodString;
|
|
3242
|
+
firstName: z.ZodString;
|
|
3243
|
+
lastName: z.ZodString;
|
|
3244
|
+
email: z.ZodString;
|
|
3245
|
+
phoneNumbers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3246
|
+
id: z.ZodString;
|
|
3247
|
+
phoneNumber: z.ZodString;
|
|
3248
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3249
|
+
isPrimary: z.ZodDefault<z.ZodBoolean>;
|
|
3250
|
+
}, "strip", z.ZodTypeAny, {
|
|
3251
|
+
id: string;
|
|
3252
|
+
phoneNumber: string;
|
|
3253
|
+
isPrimary: boolean;
|
|
3254
|
+
description?: string | null | undefined;
|
|
3255
|
+
}, {
|
|
3256
|
+
id: string;
|
|
3257
|
+
phoneNumber: string;
|
|
3258
|
+
description?: string | null | undefined;
|
|
3259
|
+
isPrimary?: boolean | undefined;
|
|
3260
|
+
}>, "many">>>;
|
|
3261
|
+
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.ZodEnum<["ALBANIA", "CRAIOVA", "DANI", "GABI_RECRUTARE", "GEORGIA", "INDIA", "IONITA", "MARIUS_DRAGAN", "MAX_MANGU", "MAXIM_VADIM", "MD_BOGDAN", "MD_DANIEL_CHISINAU", "NEACSU", "ROBERT_DENIS", "ROBERT_RADU", "VICTORIEI_MIRIAM", "VIZIRU", "Y_INDIVIDUALS_RECRUITMENT"]>>>;
|
|
3263
|
+
canImpersonateUsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3264
|
+
id: z.ZodString;
|
|
3265
|
+
firstName: z.ZodString;
|
|
3266
|
+
lastName: z.ZodString;
|
|
3267
|
+
}, "strip", z.ZodTypeAny, {
|
|
3268
|
+
id: string;
|
|
3269
|
+
firstName: string;
|
|
3270
|
+
lastName: string;
|
|
3271
|
+
}, {
|
|
3272
|
+
id: string;
|
|
3273
|
+
firstName: string;
|
|
3274
|
+
lastName: string;
|
|
3275
|
+
}>, "many">>;
|
|
3276
|
+
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3277
|
+
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
3278
|
+
}, "strip", z.ZodTypeAny, {
|
|
3279
|
+
id: string;
|
|
3280
|
+
firstName: string;
|
|
3281
|
+
lastName: string;
|
|
3282
|
+
email: string;
|
|
1830
3283
|
phoneNumbers: {
|
|
1831
3284
|
id: string;
|
|
1832
3285
|
phoneNumber: string;
|
|
1833
3286
|
isPrimary: boolean;
|
|
1834
3287
|
description?: string | null | undefined;
|
|
1835
3288
|
}[];
|
|
3289
|
+
createdAt: string;
|
|
3290
|
+
updatedAt: string;
|
|
1836
3291
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1837
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;
|
|
1838
3293
|
canImpersonateUsers?: {
|
|
@@ -1841,19 +3296,19 @@ export declare const ownResearchContract: {
|
|
|
1841
3296
|
lastName: string;
|
|
1842
3297
|
}[] | undefined;
|
|
1843
3298
|
}, {
|
|
1844
|
-
email: string;
|
|
1845
3299
|
id: string;
|
|
1846
|
-
createdAt: string | Date;
|
|
1847
|
-
updatedAt: string | Date;
|
|
1848
3300
|
firstName: string;
|
|
1849
3301
|
lastName: string;
|
|
1850
|
-
|
|
3302
|
+
email: string;
|
|
3303
|
+
createdAt: string | Date;
|
|
3304
|
+
updatedAt: string | Date;
|
|
1851
3305
|
phoneNumbers?: {
|
|
1852
3306
|
id: string;
|
|
1853
3307
|
phoneNumber: string;
|
|
1854
3308
|
description?: string | null | undefined;
|
|
1855
3309
|
isPrimary?: boolean | undefined;
|
|
1856
3310
|
}[] | undefined;
|
|
3311
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1857
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;
|
|
1858
3313
|
canImpersonateUsers?: {
|
|
1859
3314
|
id: string;
|
|
@@ -1861,55 +3316,46 @@ export declare const ownResearchContract: {
|
|
|
1861
3316
|
lastName: string;
|
|
1862
3317
|
}[] | undefined;
|
|
1863
3318
|
}>>;
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
status: z.
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
name: string;
|
|
1875
|
-
id: string;
|
|
1876
|
-
createdAt: string;
|
|
1877
|
-
updatedAt: string;
|
|
1878
|
-
}, {
|
|
1879
|
-
name: string;
|
|
1880
|
-
id: string;
|
|
1881
|
-
createdAt: string | Date;
|
|
1882
|
-
updatedAt: string | Date;
|
|
1883
|
-
}>>>;
|
|
3319
|
+
name: z.ZodString;
|
|
3320
|
+
phoneNumber: z.ZodString;
|
|
3321
|
+
status: z.ZodEnum<["AVAILABLE", "ASSIGNED", "BLACKLISTED"]>;
|
|
3322
|
+
callCount: z.ZodNumber;
|
|
3323
|
+
lastCalledAt: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>;
|
|
3324
|
+
cooldownUntil: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>;
|
|
3325
|
+
blacklistReason: z.ZodNullable<z.ZodString>;
|
|
3326
|
+
lastCallNotes: z.ZodNullable<z.ZodString>;
|
|
3327
|
+
existsInLeadsTable: z.ZodBoolean;
|
|
3328
|
+
originalLeadId: z.ZodNullable<z.ZodString>;
|
|
1884
3329
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1885
3330
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1886
3331
|
}, "strip", z.ZodTypeAny, {
|
|
1887
3332
|
id: string;
|
|
1888
|
-
|
|
1889
|
-
|
|
3333
|
+
agentId: string;
|
|
3334
|
+
phoneNumber: string;
|
|
3335
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
1890
3336
|
createdAt: string;
|
|
1891
3337
|
updatedAt: string;
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
3338
|
+
name: string;
|
|
3339
|
+
callCount: number;
|
|
3340
|
+
lastCalledAt: string | null;
|
|
3341
|
+
cooldownUntil: string | null;
|
|
3342
|
+
blacklistReason: string | null;
|
|
3343
|
+
lastCallNotes: string | null;
|
|
3344
|
+
existsInLeadsTable: boolean;
|
|
3345
|
+
originalLeadId: string | null;
|
|
1900
3346
|
agent?: {
|
|
1901
|
-
email: string;
|
|
1902
3347
|
id: string;
|
|
1903
|
-
createdAt: string;
|
|
1904
|
-
updatedAt: string;
|
|
1905
3348
|
firstName: string;
|
|
1906
3349
|
lastName: string;
|
|
3350
|
+
email: string;
|
|
1907
3351
|
phoneNumbers: {
|
|
1908
3352
|
id: string;
|
|
1909
3353
|
phoneNumber: string;
|
|
1910
3354
|
isPrimary: boolean;
|
|
1911
3355
|
description?: string | null | undefined;
|
|
1912
3356
|
}[];
|
|
3357
|
+
createdAt: string;
|
|
3358
|
+
updatedAt: string;
|
|
1913
3359
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1914
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;
|
|
1915
3361
|
canImpersonateUsers?: {
|
|
@@ -1918,40 +3364,35 @@ export declare const ownResearchContract: {
|
|
|
1918
3364
|
lastName: string;
|
|
1919
3365
|
}[] | undefined;
|
|
1920
3366
|
} | undefined;
|
|
1921
|
-
company?: {
|
|
1922
|
-
name: string;
|
|
1923
|
-
id: string;
|
|
1924
|
-
createdAt: string;
|
|
1925
|
-
updatedAt: string;
|
|
1926
|
-
} | null | undefined;
|
|
1927
3367
|
}, {
|
|
1928
3368
|
id: string;
|
|
1929
|
-
|
|
1930
|
-
|
|
3369
|
+
agentId: string;
|
|
3370
|
+
phoneNumber: string;
|
|
3371
|
+
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
1931
3372
|
createdAt: string | Date;
|
|
1932
3373
|
updatedAt: string | Date;
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
3374
|
+
name: string;
|
|
3375
|
+
callCount: number;
|
|
3376
|
+
lastCalledAt: string | Date | null;
|
|
3377
|
+
cooldownUntil: string | Date | null;
|
|
3378
|
+
blacklistReason: string | null;
|
|
3379
|
+
lastCallNotes: string | null;
|
|
3380
|
+
existsInLeadsTable: boolean;
|
|
3381
|
+
originalLeadId: string | null;
|
|
1941
3382
|
agent?: {
|
|
1942
|
-
email: string;
|
|
1943
3383
|
id: string;
|
|
1944
|
-
createdAt: string | Date;
|
|
1945
|
-
updatedAt: string | Date;
|
|
1946
3384
|
firstName: string;
|
|
1947
3385
|
lastName: string;
|
|
1948
|
-
|
|
3386
|
+
email: string;
|
|
3387
|
+
createdAt: string | Date;
|
|
3388
|
+
updatedAt: string | Date;
|
|
1949
3389
|
phoneNumbers?: {
|
|
1950
3390
|
id: string;
|
|
1951
3391
|
phoneNumber: string;
|
|
1952
3392
|
description?: string | null | undefined;
|
|
1953
3393
|
isPrimary?: boolean | undefined;
|
|
1954
3394
|
}[] | undefined;
|
|
3395
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
1955
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;
|
|
1956
3397
|
canImpersonateUsers?: {
|
|
1957
3398
|
id: string;
|
|
@@ -1959,103 +3400,68 @@ export declare const ownResearchContract: {
|
|
|
1959
3400
|
lastName: string;
|
|
1960
3401
|
}[] | undefined;
|
|
1961
3402
|
} | undefined;
|
|
1962
|
-
company?: {
|
|
1963
|
-
name: string;
|
|
1964
|
-
id: string;
|
|
1965
|
-
createdAt: string | Date;
|
|
1966
|
-
updatedAt: string | Date;
|
|
1967
|
-
} | null | undefined;
|
|
1968
3403
|
}>;
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
agentId: z.ZodString;
|
|
1972
|
-
name: z.ZodString;
|
|
1973
|
-
phoneNumber: z.ZodString;
|
|
1974
|
-
source: z.ZodString;
|
|
1975
|
-
status: z.ZodEnum<["AVAILABLE", "ASSIGNED", "BLACKLISTED"]>;
|
|
1976
|
-
callCount: z.ZodNumber;
|
|
1977
|
-
lastCalledAt: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>;
|
|
1978
|
-
cooldownUntil: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>>;
|
|
1979
|
-
blacklistReason: z.ZodNullable<z.ZodString>;
|
|
1980
|
-
existsInLeadsTable: z.ZodBoolean;
|
|
1981
|
-
originalLeadId: z.ZodNullable<z.ZodString>;
|
|
1982
|
-
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1983
|
-
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1984
|
-
}, "strip", z.ZodTypeAny, {
|
|
1985
|
-
name: string;
|
|
3404
|
+
}, "strip", z.ZodTypeAny, {
|
|
3405
|
+
ownResearchLead: {
|
|
1986
3406
|
id: string;
|
|
3407
|
+
agentId: string;
|
|
1987
3408
|
phoneNumber: string;
|
|
1988
3409
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
1989
|
-
agentId: string;
|
|
1990
|
-
source: string;
|
|
1991
|
-
callCount: number;
|
|
1992
|
-
lastCalledAt: string | null;
|
|
1993
|
-
cooldownUntil: string | null;
|
|
1994
|
-
blacklistReason: string | null;
|
|
1995
|
-
existsInLeadsTable: boolean;
|
|
1996
|
-
originalLeadId: string | null;
|
|
1997
3410
|
createdAt: string;
|
|
1998
3411
|
updatedAt: string;
|
|
1999
|
-
}, {
|
|
2000
|
-
name: string;
|
|
2001
|
-
id: string;
|
|
2002
|
-
phoneNumber: string;
|
|
2003
|
-
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
2004
|
-
agentId: string;
|
|
2005
|
-
source: string;
|
|
2006
|
-
callCount: number;
|
|
2007
|
-
lastCalledAt: string | Date | null;
|
|
2008
|
-
cooldownUntil: string | Date | null;
|
|
2009
|
-
blacklistReason: string | null;
|
|
2010
|
-
existsInLeadsTable: boolean;
|
|
2011
|
-
originalLeadId: string | null;
|
|
2012
|
-
createdAt: string | Date;
|
|
2013
|
-
updatedAt: string | Date;
|
|
2014
|
-
}>;
|
|
2015
|
-
}, "strip", z.ZodTypeAny, {
|
|
2016
|
-
ownResearchLead: {
|
|
2017
3412
|
name: string;
|
|
2018
|
-
id: string;
|
|
2019
|
-
phoneNumber: string;
|
|
2020
|
-
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
2021
|
-
agentId: string;
|
|
2022
|
-
source: string;
|
|
2023
3413
|
callCount: number;
|
|
2024
3414
|
lastCalledAt: string | null;
|
|
2025
3415
|
cooldownUntil: string | null;
|
|
2026
3416
|
blacklistReason: string | null;
|
|
3417
|
+
lastCallNotes: string | null;
|
|
2027
3418
|
existsInLeadsTable: boolean;
|
|
2028
3419
|
originalLeadId: string | null;
|
|
2029
|
-
|
|
2030
|
-
|
|
3420
|
+
agent?: {
|
|
3421
|
+
id: string;
|
|
3422
|
+
firstName: string;
|
|
3423
|
+
lastName: string;
|
|
3424
|
+
email: string;
|
|
3425
|
+
phoneNumbers: {
|
|
3426
|
+
id: string;
|
|
3427
|
+
phoneNumber: string;
|
|
3428
|
+
isPrimary: boolean;
|
|
3429
|
+
description?: string | null | undefined;
|
|
3430
|
+
}[];
|
|
3431
|
+
createdAt: string;
|
|
3432
|
+
updatedAt: string;
|
|
3433
|
+
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
|
+
canImpersonateUsers?: {
|
|
3436
|
+
id: string;
|
|
3437
|
+
firstName: string;
|
|
3438
|
+
lastName: string;
|
|
3439
|
+
}[] | undefined;
|
|
3440
|
+
} | undefined;
|
|
2031
3441
|
};
|
|
2032
|
-
assignment
|
|
3442
|
+
assignment?: {
|
|
2033
3443
|
id: string;
|
|
2034
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2035
3444
|
agentId: string | null;
|
|
3445
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2036
3446
|
createdAt: string;
|
|
2037
3447
|
updatedAt: string;
|
|
2038
3448
|
leadId: string;
|
|
2039
3449
|
assignedAt: string;
|
|
2040
3450
|
assignedBy: string | null;
|
|
2041
3451
|
companyId: string | null;
|
|
2042
|
-
lead?: {
|
|
2043
|
-
name: string;
|
|
2044
|
-
phoneNumber: string;
|
|
2045
|
-
} | undefined;
|
|
2046
3452
|
agent?: {
|
|
2047
|
-
email: string;
|
|
2048
3453
|
id: string;
|
|
2049
|
-
createdAt: string;
|
|
2050
|
-
updatedAt: string;
|
|
2051
3454
|
firstName: string;
|
|
2052
3455
|
lastName: string;
|
|
3456
|
+
email: string;
|
|
2053
3457
|
phoneNumbers: {
|
|
2054
3458
|
id: string;
|
|
2055
3459
|
phoneNumber: string;
|
|
2056
3460
|
isPrimary: boolean;
|
|
2057
3461
|
description?: string | null | undefined;
|
|
2058
3462
|
}[];
|
|
3463
|
+
createdAt: string;
|
|
3464
|
+
updatedAt: string;
|
|
2059
3465
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2060
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;
|
|
2061
3467
|
canImpersonateUsers?: {
|
|
@@ -2064,58 +3470,79 @@ export declare const ownResearchContract: {
|
|
|
2064
3470
|
lastName: string;
|
|
2065
3471
|
}[] | undefined;
|
|
2066
3472
|
} | undefined;
|
|
2067
|
-
|
|
3473
|
+
lead?: {
|
|
3474
|
+
phoneNumber: string;
|
|
2068
3475
|
name: string;
|
|
3476
|
+
} | undefined;
|
|
3477
|
+
company?: {
|
|
2069
3478
|
id: string;
|
|
2070
3479
|
createdAt: string;
|
|
2071
3480
|
updatedAt: string;
|
|
3481
|
+
name: string;
|
|
2072
3482
|
} | null | undefined;
|
|
2073
|
-
};
|
|
3483
|
+
} | null | undefined;
|
|
2074
3484
|
}, {
|
|
2075
3485
|
ownResearchLead: {
|
|
2076
|
-
name: string;
|
|
2077
3486
|
id: string;
|
|
3487
|
+
agentId: string;
|
|
2078
3488
|
phoneNumber: string;
|
|
2079
3489
|
status: "AVAILABLE" | "ASSIGNED" | "BLACKLISTED";
|
|
2080
|
-
|
|
2081
|
-
|
|
3490
|
+
createdAt: string | Date;
|
|
3491
|
+
updatedAt: string | Date;
|
|
3492
|
+
name: string;
|
|
2082
3493
|
callCount: number;
|
|
2083
3494
|
lastCalledAt: string | Date | null;
|
|
2084
3495
|
cooldownUntil: string | Date | null;
|
|
2085
3496
|
blacklistReason: string | null;
|
|
3497
|
+
lastCallNotes: string | null;
|
|
2086
3498
|
existsInLeadsTable: boolean;
|
|
2087
3499
|
originalLeadId: string | null;
|
|
2088
|
-
|
|
2089
|
-
|
|
3500
|
+
agent?: {
|
|
3501
|
+
id: string;
|
|
3502
|
+
firstName: string;
|
|
3503
|
+
lastName: string;
|
|
3504
|
+
email: string;
|
|
3505
|
+
createdAt: string | Date;
|
|
3506
|
+
updatedAt: string | Date;
|
|
3507
|
+
phoneNumbers?: {
|
|
3508
|
+
id: string;
|
|
3509
|
+
phoneNumber: string;
|
|
3510
|
+
description?: string | null | undefined;
|
|
3511
|
+
isPrimary?: boolean | undefined;
|
|
3512
|
+
}[] | undefined;
|
|
3513
|
+
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
|
+
canImpersonateUsers?: {
|
|
3516
|
+
id: string;
|
|
3517
|
+
firstName: string;
|
|
3518
|
+
lastName: string;
|
|
3519
|
+
}[] | undefined;
|
|
3520
|
+
} | undefined;
|
|
2090
3521
|
};
|
|
2091
|
-
assignment
|
|
3522
|
+
assignment?: {
|
|
2092
3523
|
id: string;
|
|
2093
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2094
3524
|
agentId: string | null;
|
|
3525
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2095
3526
|
createdAt: string | Date;
|
|
2096
3527
|
updatedAt: string | Date;
|
|
2097
3528
|
leadId: string;
|
|
2098
3529
|
assignedAt: string | Date;
|
|
2099
3530
|
assignedBy: string | null;
|
|
2100
3531
|
companyId: string | null;
|
|
2101
|
-
lead?: {
|
|
2102
|
-
name: string;
|
|
2103
|
-
phoneNumber: string;
|
|
2104
|
-
} | undefined;
|
|
2105
3532
|
agent?: {
|
|
2106
|
-
email: string;
|
|
2107
3533
|
id: string;
|
|
2108
|
-
createdAt: string | Date;
|
|
2109
|
-
updatedAt: string | Date;
|
|
2110
3534
|
firstName: string;
|
|
2111
3535
|
lastName: string;
|
|
2112
|
-
|
|
3536
|
+
email: string;
|
|
3537
|
+
createdAt: string | Date;
|
|
3538
|
+
updatedAt: string | Date;
|
|
2113
3539
|
phoneNumbers?: {
|
|
2114
3540
|
id: string;
|
|
2115
3541
|
phoneNumber: string;
|
|
2116
3542
|
description?: string | null | undefined;
|
|
2117
3543
|
isPrimary?: boolean | undefined;
|
|
2118
3544
|
}[] | undefined;
|
|
3545
|
+
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI" | "TEAM_LEADS")[] | undefined;
|
|
2119
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;
|
|
2120
3547
|
canImpersonateUsers?: {
|
|
2121
3548
|
id: string;
|
|
@@ -2123,13 +3550,17 @@ export declare const ownResearchContract: {
|
|
|
2123
3550
|
lastName: string;
|
|
2124
3551
|
}[] | undefined;
|
|
2125
3552
|
} | undefined;
|
|
2126
|
-
|
|
3553
|
+
lead?: {
|
|
3554
|
+
phoneNumber: string;
|
|
2127
3555
|
name: string;
|
|
3556
|
+
} | undefined;
|
|
3557
|
+
company?: {
|
|
2128
3558
|
id: string;
|
|
2129
3559
|
createdAt: string | Date;
|
|
2130
3560
|
updatedAt: string | Date;
|
|
3561
|
+
name: string;
|
|
2131
3562
|
} | null | undefined;
|
|
2132
|
-
};
|
|
3563
|
+
} | null | undefined;
|
|
2133
3564
|
}>;
|
|
2134
3565
|
};
|
|
2135
3566
|
};
|