@dakkitor/api-contracts 1.1.84 → 1.1.86
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/abilities/abilities.contract.d.ts +6 -0
- package/dist/abilities/abilities.contract.d.ts.map +1 -1
- package/dist/abilities/abilities.contract.js +1 -1
- package/dist/abilities/first-agent.abilities.json +8 -0
- package/dist/abilities/second-agent.abilities.json +8 -0
- package/dist/call-history/call-history.contract.d.ts +432 -426
- package/dist/call-history/call-history.contract.d.ts.map +1 -1
- package/dist/call-history/call-history.contract.js +6 -9
- package/dist/dashboards/dashboard-widgets.contract.d.ts +1165 -0
- package/dist/dashboards/dashboard-widgets.contract.d.ts.map +1 -0
- package/dist/dashboards/dashboard-widgets.contract.js +354 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/lead-assignments/lead-assignments.contract.d.ts +384 -384
- package/dist/lead-assignments/lead-assignments.contract.js +1 -1
- package/dist/leads/leads.contract.d.ts +71 -71
- package/package.json +1 -1
|
@@ -32,11 +32,11 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
32
32
|
name: z.ZodString;
|
|
33
33
|
phoneNumber: z.ZodString;
|
|
34
34
|
}, "strip", z.ZodTypeAny, {
|
|
35
|
-
phoneNumber: string;
|
|
36
35
|
name: string;
|
|
37
|
-
}, {
|
|
38
36
|
phoneNumber: string;
|
|
37
|
+
}, {
|
|
39
38
|
name: string;
|
|
39
|
+
phoneNumber: string;
|
|
40
40
|
}>>;
|
|
41
41
|
agentId: z.ZodNullable<z.ZodString>;
|
|
42
42
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -51,22 +51,22 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
51
51
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
52
52
|
}, "strip", z.ZodTypeAny, {
|
|
53
53
|
id: string;
|
|
54
|
-
createdAt: string;
|
|
55
|
-
updatedAt: string;
|
|
56
54
|
firstName: string;
|
|
57
55
|
lastName: string;
|
|
58
56
|
email: string;
|
|
59
57
|
phone: string;
|
|
58
|
+
createdAt: string;
|
|
59
|
+
updatedAt: string;
|
|
60
60
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
61
61
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
62
62
|
}, {
|
|
63
63
|
id: string;
|
|
64
|
-
createdAt: string | Date;
|
|
65
|
-
updatedAt: string | Date;
|
|
66
64
|
firstName: string;
|
|
67
65
|
lastName: string;
|
|
68
66
|
email: string;
|
|
69
67
|
phone: string;
|
|
68
|
+
createdAt: string | Date;
|
|
69
|
+
updatedAt: string | Date;
|
|
70
70
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
71
71
|
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;
|
|
72
72
|
}>>;
|
|
@@ -81,79 +81,79 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
81
81
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
82
82
|
}, "strip", z.ZodTypeAny, {
|
|
83
83
|
id: string;
|
|
84
|
+
name: string;
|
|
84
85
|
createdAt: string;
|
|
85
86
|
updatedAt: string;
|
|
86
|
-
name: string;
|
|
87
87
|
}, {
|
|
88
88
|
id: string;
|
|
89
|
+
name: string;
|
|
89
90
|
createdAt: string | Date;
|
|
90
91
|
updatedAt: string | Date;
|
|
91
|
-
name: string;
|
|
92
92
|
}>>>;
|
|
93
93
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
94
94
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
95
95
|
}, "strip", z.ZodTypeAny, {
|
|
96
96
|
id: string;
|
|
97
|
+
leadId: string;
|
|
98
|
+
agentId: string | null;
|
|
97
99
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
98
100
|
createdAt: string;
|
|
99
101
|
updatedAt: string;
|
|
100
|
-
leadId: string;
|
|
101
|
-
agentId: string | null;
|
|
102
|
-
companyId: string | null;
|
|
103
102
|
assignedAt: string;
|
|
104
103
|
assignedBy: string | null;
|
|
105
|
-
|
|
106
|
-
id: string;
|
|
107
|
-
createdAt: string;
|
|
108
|
-
updatedAt: string;
|
|
109
|
-
name: string;
|
|
110
|
-
} | null | undefined;
|
|
104
|
+
companyId: string | null;
|
|
111
105
|
lead?: {
|
|
112
|
-
phoneNumber: string;
|
|
113
106
|
name: string;
|
|
107
|
+
phoneNumber: string;
|
|
114
108
|
} | undefined;
|
|
115
109
|
agent?: {
|
|
116
110
|
id: string;
|
|
117
|
-
createdAt: string;
|
|
118
|
-
updatedAt: string;
|
|
119
111
|
firstName: string;
|
|
120
112
|
lastName: string;
|
|
121
113
|
email: string;
|
|
122
114
|
phone: string;
|
|
115
|
+
createdAt: string;
|
|
116
|
+
updatedAt: string;
|
|
123
117
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
124
118
|
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;
|
|
125
119
|
} | undefined;
|
|
120
|
+
company?: {
|
|
121
|
+
id: string;
|
|
122
|
+
name: string;
|
|
123
|
+
createdAt: string;
|
|
124
|
+
updatedAt: string;
|
|
125
|
+
} | null | undefined;
|
|
126
126
|
}, {
|
|
127
127
|
id: string;
|
|
128
|
+
leadId: string;
|
|
129
|
+
agentId: string | null;
|
|
128
130
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
129
131
|
createdAt: string | Date;
|
|
130
132
|
updatedAt: string | Date;
|
|
131
|
-
leadId: string;
|
|
132
|
-
agentId: string | null;
|
|
133
|
-
companyId: string | null;
|
|
134
133
|
assignedAt: string | Date;
|
|
135
134
|
assignedBy: string | null;
|
|
136
|
-
|
|
137
|
-
id: string;
|
|
138
|
-
createdAt: string | Date;
|
|
139
|
-
updatedAt: string | Date;
|
|
140
|
-
name: string;
|
|
141
|
-
} | null | undefined;
|
|
135
|
+
companyId: string | null;
|
|
142
136
|
lead?: {
|
|
143
|
-
phoneNumber: string;
|
|
144
137
|
name: string;
|
|
138
|
+
phoneNumber: string;
|
|
145
139
|
} | undefined;
|
|
146
140
|
agent?: {
|
|
147
141
|
id: string;
|
|
148
|
-
createdAt: string | Date;
|
|
149
|
-
updatedAt: string | Date;
|
|
150
142
|
firstName: string;
|
|
151
143
|
lastName: string;
|
|
152
144
|
email: string;
|
|
153
145
|
phone: string;
|
|
146
|
+
createdAt: string | Date;
|
|
147
|
+
updatedAt: string | Date;
|
|
154
148
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
155
149
|
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;
|
|
156
150
|
} | undefined;
|
|
151
|
+
company?: {
|
|
152
|
+
id: string;
|
|
153
|
+
name: string;
|
|
154
|
+
createdAt: string | Date;
|
|
155
|
+
updatedAt: string | Date;
|
|
156
|
+
} | null | undefined;
|
|
157
157
|
}>>>;
|
|
158
158
|
callDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
159
159
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
@@ -164,9 +164,9 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
164
164
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
165
165
|
}, "strip", z.ZodTypeAny, {
|
|
166
166
|
id: string;
|
|
167
|
+
assignmentId: string;
|
|
167
168
|
createdAt: string;
|
|
168
169
|
updatedAt: string;
|
|
169
|
-
assignmentId: string;
|
|
170
170
|
callDate: string;
|
|
171
171
|
callType: CallType;
|
|
172
172
|
rating: CallRating;
|
|
@@ -176,41 +176,41 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
176
176
|
agentId?: string | undefined;
|
|
177
177
|
assignment?: {
|
|
178
178
|
id: string;
|
|
179
|
+
leadId: string;
|
|
180
|
+
agentId: string | null;
|
|
179
181
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
180
182
|
createdAt: string;
|
|
181
183
|
updatedAt: string;
|
|
182
|
-
leadId: string;
|
|
183
|
-
agentId: string | null;
|
|
184
|
-
companyId: string | null;
|
|
185
184
|
assignedAt: string;
|
|
186
185
|
assignedBy: string | null;
|
|
187
|
-
|
|
188
|
-
id: string;
|
|
189
|
-
createdAt: string;
|
|
190
|
-
updatedAt: string;
|
|
191
|
-
name: string;
|
|
192
|
-
} | null | undefined;
|
|
186
|
+
companyId: string | null;
|
|
193
187
|
lead?: {
|
|
194
|
-
phoneNumber: string;
|
|
195
188
|
name: string;
|
|
189
|
+
phoneNumber: string;
|
|
196
190
|
} | undefined;
|
|
197
191
|
agent?: {
|
|
198
192
|
id: string;
|
|
199
|
-
createdAt: string;
|
|
200
|
-
updatedAt: string;
|
|
201
193
|
firstName: string;
|
|
202
194
|
lastName: string;
|
|
203
195
|
email: string;
|
|
204
196
|
phone: string;
|
|
197
|
+
createdAt: string;
|
|
198
|
+
updatedAt: string;
|
|
205
199
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
206
200
|
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;
|
|
207
201
|
} | undefined;
|
|
202
|
+
company?: {
|
|
203
|
+
id: string;
|
|
204
|
+
name: string;
|
|
205
|
+
createdAt: string;
|
|
206
|
+
updatedAt: string;
|
|
207
|
+
} | null | undefined;
|
|
208
208
|
} | null | undefined;
|
|
209
209
|
}, {
|
|
210
210
|
id: string;
|
|
211
|
+
assignmentId: string;
|
|
211
212
|
createdAt: string | Date;
|
|
212
213
|
updatedAt: string | Date;
|
|
213
|
-
assignmentId: string;
|
|
214
214
|
callDate: string | Date;
|
|
215
215
|
callType: CallType;
|
|
216
216
|
rating: CallRating;
|
|
@@ -220,35 +220,35 @@ export declare const CallHistorySchema: z.ZodObject<{
|
|
|
220
220
|
agentId?: string | undefined;
|
|
221
221
|
assignment?: {
|
|
222
222
|
id: string;
|
|
223
|
+
leadId: string;
|
|
224
|
+
agentId: string | null;
|
|
223
225
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
224
226
|
createdAt: string | Date;
|
|
225
227
|
updatedAt: string | Date;
|
|
226
|
-
leadId: string;
|
|
227
|
-
agentId: string | null;
|
|
228
|
-
companyId: string | null;
|
|
229
228
|
assignedAt: string | Date;
|
|
230
229
|
assignedBy: string | null;
|
|
231
|
-
|
|
232
|
-
id: string;
|
|
233
|
-
createdAt: string | Date;
|
|
234
|
-
updatedAt: string | Date;
|
|
235
|
-
name: string;
|
|
236
|
-
} | null | undefined;
|
|
230
|
+
companyId: string | null;
|
|
237
231
|
lead?: {
|
|
238
|
-
phoneNumber: string;
|
|
239
232
|
name: string;
|
|
233
|
+
phoneNumber: string;
|
|
240
234
|
} | undefined;
|
|
241
235
|
agent?: {
|
|
242
236
|
id: string;
|
|
243
|
-
createdAt: string | Date;
|
|
244
|
-
updatedAt: string | Date;
|
|
245
237
|
firstName: string;
|
|
246
238
|
lastName: string;
|
|
247
239
|
email: string;
|
|
248
240
|
phone: string;
|
|
241
|
+
createdAt: string | Date;
|
|
242
|
+
updatedAt: string | Date;
|
|
249
243
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
250
244
|
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;
|
|
251
245
|
} | undefined;
|
|
246
|
+
company?: {
|
|
247
|
+
id: string;
|
|
248
|
+
name: string;
|
|
249
|
+
createdAt: string | Date;
|
|
250
|
+
updatedAt: string | Date;
|
|
251
|
+
} | null | undefined;
|
|
252
252
|
} | null | undefined;
|
|
253
253
|
}>;
|
|
254
254
|
export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
@@ -264,11 +264,11 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
264
264
|
name: z.ZodString;
|
|
265
265
|
phoneNumber: z.ZodString;
|
|
266
266
|
}, "strip", z.ZodTypeAny, {
|
|
267
|
-
phoneNumber: string;
|
|
268
267
|
name: string;
|
|
269
|
-
}, {
|
|
270
268
|
phoneNumber: string;
|
|
269
|
+
}, {
|
|
271
270
|
name: string;
|
|
271
|
+
phoneNumber: string;
|
|
272
272
|
}>>;
|
|
273
273
|
agentId: z.ZodNullable<z.ZodString>;
|
|
274
274
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -283,22 +283,22 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
283
283
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
284
284
|
}, "strip", z.ZodTypeAny, {
|
|
285
285
|
id: string;
|
|
286
|
-
createdAt: string;
|
|
287
|
-
updatedAt: string;
|
|
288
286
|
firstName: string;
|
|
289
287
|
lastName: string;
|
|
290
288
|
email: string;
|
|
291
289
|
phone: string;
|
|
290
|
+
createdAt: string;
|
|
291
|
+
updatedAt: string;
|
|
292
292
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
293
293
|
office?: "ALBANIA" | "CRAIOVA" | "DANI" | "GABI_RECRUTARE" | "GEORGIA" | "INDIA" | "IONITA" | "MARIUS_DRAGAN" | "MAX_MANGU" | "MAXIM_VADIM" | "MD_BOGDAN" | "MD_DANIEL_CHISINAU" | "NEACSU" | "ROBERT_DENIS" | "ROBERT_RADU" | "VICTORIEI_MIRIAM" | "VIZIRU" | "Y_INDIVIDUALS_RECRUITMENT" | null | undefined;
|
|
294
294
|
}, {
|
|
295
295
|
id: string;
|
|
296
|
-
createdAt: string | Date;
|
|
297
|
-
updatedAt: string | Date;
|
|
298
296
|
firstName: string;
|
|
299
297
|
lastName: string;
|
|
300
298
|
email: string;
|
|
301
299
|
phone: string;
|
|
300
|
+
createdAt: string | Date;
|
|
301
|
+
updatedAt: string | Date;
|
|
302
302
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
303
303
|
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;
|
|
304
304
|
}>>;
|
|
@@ -313,79 +313,79 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
313
313
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
314
314
|
}, "strip", z.ZodTypeAny, {
|
|
315
315
|
id: string;
|
|
316
|
+
name: string;
|
|
316
317
|
createdAt: string;
|
|
317
318
|
updatedAt: string;
|
|
318
|
-
name: string;
|
|
319
319
|
}, {
|
|
320
320
|
id: string;
|
|
321
|
+
name: string;
|
|
321
322
|
createdAt: string | Date;
|
|
322
323
|
updatedAt: string | Date;
|
|
323
|
-
name: string;
|
|
324
324
|
}>>>;
|
|
325
325
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
326
326
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
327
327
|
}, "strip", z.ZodTypeAny, {
|
|
328
328
|
id: string;
|
|
329
|
+
leadId: string;
|
|
330
|
+
agentId: string | null;
|
|
329
331
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
330
332
|
createdAt: string;
|
|
331
333
|
updatedAt: string;
|
|
332
|
-
leadId: string;
|
|
333
|
-
agentId: string | null;
|
|
334
|
-
companyId: string | null;
|
|
335
334
|
assignedAt: string;
|
|
336
335
|
assignedBy: string | null;
|
|
337
|
-
|
|
338
|
-
id: string;
|
|
339
|
-
createdAt: string;
|
|
340
|
-
updatedAt: string;
|
|
341
|
-
name: string;
|
|
342
|
-
} | null | undefined;
|
|
336
|
+
companyId: string | null;
|
|
343
337
|
lead?: {
|
|
344
|
-
phoneNumber: string;
|
|
345
338
|
name: string;
|
|
339
|
+
phoneNumber: string;
|
|
346
340
|
} | undefined;
|
|
347
341
|
agent?: {
|
|
348
342
|
id: string;
|
|
349
|
-
createdAt: string;
|
|
350
|
-
updatedAt: string;
|
|
351
343
|
firstName: string;
|
|
352
344
|
lastName: string;
|
|
353
345
|
email: string;
|
|
354
346
|
phone: string;
|
|
347
|
+
createdAt: string;
|
|
348
|
+
updatedAt: string;
|
|
355
349
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
356
350
|
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
351
|
} | undefined;
|
|
352
|
+
company?: {
|
|
353
|
+
id: string;
|
|
354
|
+
name: string;
|
|
355
|
+
createdAt: string;
|
|
356
|
+
updatedAt: string;
|
|
357
|
+
} | null | undefined;
|
|
358
358
|
}, {
|
|
359
359
|
id: string;
|
|
360
|
+
leadId: string;
|
|
361
|
+
agentId: string | null;
|
|
360
362
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
361
363
|
createdAt: string | Date;
|
|
362
364
|
updatedAt: string | Date;
|
|
363
|
-
leadId: string;
|
|
364
|
-
agentId: string | null;
|
|
365
|
-
companyId: string | null;
|
|
366
365
|
assignedAt: string | Date;
|
|
367
366
|
assignedBy: string | null;
|
|
368
|
-
|
|
369
|
-
id: string;
|
|
370
|
-
createdAt: string | Date;
|
|
371
|
-
updatedAt: string | Date;
|
|
372
|
-
name: string;
|
|
373
|
-
} | null | undefined;
|
|
367
|
+
companyId: string | null;
|
|
374
368
|
lead?: {
|
|
375
|
-
phoneNumber: string;
|
|
376
369
|
name: string;
|
|
370
|
+
phoneNumber: string;
|
|
377
371
|
} | undefined;
|
|
378
372
|
agent?: {
|
|
379
373
|
id: string;
|
|
380
|
-
createdAt: string | Date;
|
|
381
|
-
updatedAt: string | Date;
|
|
382
374
|
firstName: string;
|
|
383
375
|
lastName: string;
|
|
384
376
|
email: string;
|
|
385
377
|
phone: string;
|
|
378
|
+
createdAt: string | Date;
|
|
379
|
+
updatedAt: string | Date;
|
|
386
380
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
387
381
|
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;
|
|
388
382
|
} | undefined;
|
|
383
|
+
company?: {
|
|
384
|
+
id: string;
|
|
385
|
+
name: string;
|
|
386
|
+
createdAt: string | Date;
|
|
387
|
+
updatedAt: string | Date;
|
|
388
|
+
} | null | undefined;
|
|
389
389
|
}>>>;
|
|
390
390
|
callDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
391
391
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
@@ -396,9 +396,9 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
396
396
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
397
397
|
}, "strip", z.ZodTypeAny, {
|
|
398
398
|
id: string;
|
|
399
|
+
assignmentId: string;
|
|
399
400
|
createdAt: string;
|
|
400
401
|
updatedAt: string;
|
|
401
|
-
assignmentId: string;
|
|
402
402
|
callDate: string;
|
|
403
403
|
callType: CallType;
|
|
404
404
|
rating: CallRating;
|
|
@@ -408,41 +408,41 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
408
408
|
agentId?: string | undefined;
|
|
409
409
|
assignment?: {
|
|
410
410
|
id: string;
|
|
411
|
+
leadId: string;
|
|
412
|
+
agentId: string | null;
|
|
411
413
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
412
414
|
createdAt: string;
|
|
413
415
|
updatedAt: string;
|
|
414
|
-
leadId: string;
|
|
415
|
-
agentId: string | null;
|
|
416
|
-
companyId: string | null;
|
|
417
416
|
assignedAt: string;
|
|
418
417
|
assignedBy: string | null;
|
|
419
|
-
|
|
420
|
-
id: string;
|
|
421
|
-
createdAt: string;
|
|
422
|
-
updatedAt: string;
|
|
423
|
-
name: string;
|
|
424
|
-
} | null | undefined;
|
|
418
|
+
companyId: string | null;
|
|
425
419
|
lead?: {
|
|
426
|
-
phoneNumber: string;
|
|
427
420
|
name: string;
|
|
421
|
+
phoneNumber: string;
|
|
428
422
|
} | undefined;
|
|
429
423
|
agent?: {
|
|
430
424
|
id: string;
|
|
431
|
-
createdAt: string;
|
|
432
|
-
updatedAt: string;
|
|
433
425
|
firstName: string;
|
|
434
426
|
lastName: string;
|
|
435
427
|
email: string;
|
|
436
428
|
phone: string;
|
|
429
|
+
createdAt: string;
|
|
430
|
+
updatedAt: string;
|
|
437
431
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
438
432
|
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;
|
|
439
433
|
} | undefined;
|
|
434
|
+
company?: {
|
|
435
|
+
id: string;
|
|
436
|
+
name: string;
|
|
437
|
+
createdAt: string;
|
|
438
|
+
updatedAt: string;
|
|
439
|
+
} | null | undefined;
|
|
440
440
|
} | null | undefined;
|
|
441
441
|
}, {
|
|
442
442
|
id: string;
|
|
443
|
+
assignmentId: string;
|
|
443
444
|
createdAt: string | Date;
|
|
444
445
|
updatedAt: string | Date;
|
|
445
|
-
assignmentId: string;
|
|
446
446
|
callDate: string | Date;
|
|
447
447
|
callType: CallType;
|
|
448
448
|
rating: CallRating;
|
|
@@ -452,35 +452,35 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
452
452
|
agentId?: string | undefined;
|
|
453
453
|
assignment?: {
|
|
454
454
|
id: string;
|
|
455
|
+
leadId: string;
|
|
456
|
+
agentId: string | null;
|
|
455
457
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
456
458
|
createdAt: string | Date;
|
|
457
459
|
updatedAt: string | Date;
|
|
458
|
-
leadId: string;
|
|
459
|
-
agentId: string | null;
|
|
460
|
-
companyId: string | null;
|
|
461
460
|
assignedAt: string | Date;
|
|
462
461
|
assignedBy: string | null;
|
|
463
|
-
|
|
464
|
-
id: string;
|
|
465
|
-
createdAt: string | Date;
|
|
466
|
-
updatedAt: string | Date;
|
|
467
|
-
name: string;
|
|
468
|
-
} | null | undefined;
|
|
462
|
+
companyId: string | null;
|
|
469
463
|
lead?: {
|
|
470
|
-
phoneNumber: string;
|
|
471
464
|
name: string;
|
|
465
|
+
phoneNumber: string;
|
|
472
466
|
} | undefined;
|
|
473
467
|
agent?: {
|
|
474
468
|
id: string;
|
|
475
|
-
createdAt: string | Date;
|
|
476
|
-
updatedAt: string | Date;
|
|
477
469
|
firstName: string;
|
|
478
470
|
lastName: string;
|
|
479
471
|
email: string;
|
|
480
472
|
phone: string;
|
|
473
|
+
createdAt: string | Date;
|
|
474
|
+
updatedAt: string | Date;
|
|
481
475
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
482
476
|
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;
|
|
483
477
|
} | undefined;
|
|
478
|
+
company?: {
|
|
479
|
+
id: string;
|
|
480
|
+
name: string;
|
|
481
|
+
createdAt: string | Date;
|
|
482
|
+
updatedAt: string | Date;
|
|
483
|
+
} | null | undefined;
|
|
484
484
|
} | null | undefined;
|
|
485
485
|
}>, "many">;
|
|
486
486
|
totalCount: z.ZodNumber;
|
|
@@ -489,12 +489,11 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
489
489
|
currentPage: z.ZodNumber;
|
|
490
490
|
totalPages: z.ZodNumber;
|
|
491
491
|
}, "strip", z.ZodTypeAny, {
|
|
492
|
-
limit: number;
|
|
493
492
|
items: {
|
|
494
493
|
id: string;
|
|
494
|
+
assignmentId: string;
|
|
495
495
|
createdAt: string;
|
|
496
496
|
updatedAt: string;
|
|
497
|
-
assignmentId: string;
|
|
498
497
|
callDate: string;
|
|
499
498
|
callType: CallType;
|
|
500
499
|
rating: CallRating;
|
|
@@ -504,48 +503,48 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
504
503
|
agentId?: string | undefined;
|
|
505
504
|
assignment?: {
|
|
506
505
|
id: string;
|
|
506
|
+
leadId: string;
|
|
507
|
+
agentId: string | null;
|
|
507
508
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
508
509
|
createdAt: string;
|
|
509
510
|
updatedAt: string;
|
|
510
|
-
leadId: string;
|
|
511
|
-
agentId: string | null;
|
|
512
|
-
companyId: string | null;
|
|
513
511
|
assignedAt: string;
|
|
514
512
|
assignedBy: string | null;
|
|
515
|
-
|
|
516
|
-
id: string;
|
|
517
|
-
createdAt: string;
|
|
518
|
-
updatedAt: string;
|
|
519
|
-
name: string;
|
|
520
|
-
} | null | undefined;
|
|
513
|
+
companyId: string | null;
|
|
521
514
|
lead?: {
|
|
522
|
-
phoneNumber: string;
|
|
523
515
|
name: string;
|
|
516
|
+
phoneNumber: string;
|
|
524
517
|
} | undefined;
|
|
525
518
|
agent?: {
|
|
526
519
|
id: string;
|
|
527
|
-
createdAt: string;
|
|
528
|
-
updatedAt: string;
|
|
529
520
|
firstName: string;
|
|
530
521
|
lastName: string;
|
|
531
522
|
email: string;
|
|
532
523
|
phone: string;
|
|
524
|
+
createdAt: string;
|
|
525
|
+
updatedAt: string;
|
|
533
526
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
534
527
|
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;
|
|
535
528
|
} | undefined;
|
|
529
|
+
company?: {
|
|
530
|
+
id: string;
|
|
531
|
+
name: string;
|
|
532
|
+
createdAt: string;
|
|
533
|
+
updatedAt: string;
|
|
534
|
+
} | null | undefined;
|
|
536
535
|
} | null | undefined;
|
|
537
536
|
}[];
|
|
538
537
|
totalCount: number;
|
|
538
|
+
limit: number;
|
|
539
539
|
skip: number;
|
|
540
540
|
currentPage: number;
|
|
541
541
|
totalPages: number;
|
|
542
542
|
}, {
|
|
543
|
-
limit: number;
|
|
544
543
|
items: {
|
|
545
544
|
id: string;
|
|
545
|
+
assignmentId: string;
|
|
546
546
|
createdAt: string | Date;
|
|
547
547
|
updatedAt: string | Date;
|
|
548
|
-
assignmentId: string;
|
|
549
548
|
callDate: string | Date;
|
|
550
549
|
callType: CallType;
|
|
551
550
|
rating: CallRating;
|
|
@@ -555,38 +554,39 @@ export declare const PaginatedCallHistoryResponseSchema: z.ZodObject<{
|
|
|
555
554
|
agentId?: string | undefined;
|
|
556
555
|
assignment?: {
|
|
557
556
|
id: string;
|
|
557
|
+
leadId: string;
|
|
558
|
+
agentId: string | null;
|
|
558
559
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
559
560
|
createdAt: string | Date;
|
|
560
561
|
updatedAt: string | Date;
|
|
561
|
-
leadId: string;
|
|
562
|
-
agentId: string | null;
|
|
563
|
-
companyId: string | null;
|
|
564
562
|
assignedAt: string | Date;
|
|
565
563
|
assignedBy: string | null;
|
|
566
|
-
|
|
567
|
-
id: string;
|
|
568
|
-
createdAt: string | Date;
|
|
569
|
-
updatedAt: string | Date;
|
|
570
|
-
name: string;
|
|
571
|
-
} | null | undefined;
|
|
564
|
+
companyId: string | null;
|
|
572
565
|
lead?: {
|
|
573
|
-
phoneNumber: string;
|
|
574
566
|
name: string;
|
|
567
|
+
phoneNumber: string;
|
|
575
568
|
} | undefined;
|
|
576
569
|
agent?: {
|
|
577
570
|
id: string;
|
|
578
|
-
createdAt: string | Date;
|
|
579
|
-
updatedAt: string | Date;
|
|
580
571
|
firstName: string;
|
|
581
572
|
lastName: string;
|
|
582
573
|
email: string;
|
|
583
574
|
phone: string;
|
|
575
|
+
createdAt: string | Date;
|
|
576
|
+
updatedAt: string | Date;
|
|
584
577
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
585
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;
|
|
586
579
|
} | undefined;
|
|
580
|
+
company?: {
|
|
581
|
+
id: string;
|
|
582
|
+
name: string;
|
|
583
|
+
createdAt: string | Date;
|
|
584
|
+
updatedAt: string | Date;
|
|
585
|
+
} | null | undefined;
|
|
587
586
|
} | null | undefined;
|
|
588
587
|
}[];
|
|
589
588
|
totalCount: number;
|
|
589
|
+
limit: number;
|
|
590
590
|
skip: number;
|
|
591
591
|
currentPage: number;
|
|
592
592
|
totalPages: number;
|
|
@@ -624,7 +624,8 @@ export declare const FilterCallHistorySchema: z.ZodObject<{
|
|
|
624
624
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
625
625
|
page: z.ZodDefault<z.ZodNumber>;
|
|
626
626
|
} & {
|
|
627
|
-
|
|
627
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
628
|
+
companyId: z.ZodOptional<z.ZodString>;
|
|
628
629
|
rating: z.ZodEffects<z.ZodOptional<z.ZodNativeEnum<typeof CallRating>>, CallRating | undefined, unknown>;
|
|
629
630
|
callType: z.ZodOptional<z.ZodNativeEnum<typeof CallType>>;
|
|
630
631
|
callDate: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
@@ -642,27 +643,29 @@ export declare const FilterCallHistorySchema: z.ZodObject<{
|
|
|
642
643
|
}, "strip", z.ZodTypeAny, {
|
|
643
644
|
limit: number;
|
|
644
645
|
page: number;
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
assignmentId?: string | undefined;
|
|
646
|
+
agentId?: string | undefined;
|
|
647
|
+
companyId?: string | undefined;
|
|
648
648
|
callDate?: {
|
|
649
649
|
from?: string | null | undefined;
|
|
650
650
|
to?: string | null | undefined;
|
|
651
651
|
} | null | undefined;
|
|
652
652
|
callType?: CallType | undefined;
|
|
653
653
|
rating?: CallRating | undefined;
|
|
654
|
-
}, {
|
|
655
|
-
limit?: number | undefined;
|
|
656
|
-
page?: number | undefined;
|
|
657
654
|
sortBy?: CallHistorySortableFields | undefined;
|
|
658
655
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
659
|
-
|
|
656
|
+
}, {
|
|
657
|
+
agentId?: string | undefined;
|
|
658
|
+
companyId?: string | undefined;
|
|
660
659
|
callDate?: {
|
|
661
660
|
from?: string | null | undefined;
|
|
662
661
|
to?: string | null | undefined;
|
|
663
662
|
} | null | undefined;
|
|
664
663
|
callType?: CallType | undefined;
|
|
665
664
|
rating?: unknown;
|
|
665
|
+
limit?: number | undefined;
|
|
666
|
+
page?: number | undefined;
|
|
667
|
+
sortBy?: CallHistorySortableFields | undefined;
|
|
668
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
666
669
|
}>;
|
|
667
670
|
export declare const CallHistoryStatsSchema: z.ZodObject<{
|
|
668
671
|
totalCalls: z.ZodNumber;
|
|
@@ -820,11 +823,11 @@ export declare const callHistoryContract: {
|
|
|
820
823
|
name: z.ZodString;
|
|
821
824
|
phoneNumber: z.ZodString;
|
|
822
825
|
}, "strip", z.ZodTypeAny, {
|
|
823
|
-
phoneNumber: string;
|
|
824
826
|
name: string;
|
|
825
|
-
}, {
|
|
826
827
|
phoneNumber: string;
|
|
828
|
+
}, {
|
|
827
829
|
name: string;
|
|
830
|
+
phoneNumber: string;
|
|
828
831
|
}>>;
|
|
829
832
|
agentId: z.ZodNullable<z.ZodString>;
|
|
830
833
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -839,22 +842,22 @@ export declare const callHistoryContract: {
|
|
|
839
842
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
840
843
|
}, "strip", z.ZodTypeAny, {
|
|
841
844
|
id: string;
|
|
842
|
-
createdAt: string;
|
|
843
|
-
updatedAt: string;
|
|
844
845
|
firstName: string;
|
|
845
846
|
lastName: string;
|
|
846
847
|
email: string;
|
|
847
848
|
phone: string;
|
|
849
|
+
createdAt: string;
|
|
850
|
+
updatedAt: string;
|
|
848
851
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
849
852
|
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
853
|
}, {
|
|
851
854
|
id: string;
|
|
852
|
-
createdAt: string | Date;
|
|
853
|
-
updatedAt: string | Date;
|
|
854
855
|
firstName: string;
|
|
855
856
|
lastName: string;
|
|
856
857
|
email: string;
|
|
857
858
|
phone: string;
|
|
859
|
+
createdAt: string | Date;
|
|
860
|
+
updatedAt: string | Date;
|
|
858
861
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
859
862
|
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;
|
|
860
863
|
}>>;
|
|
@@ -869,79 +872,79 @@ export declare const callHistoryContract: {
|
|
|
869
872
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
870
873
|
}, "strip", z.ZodTypeAny, {
|
|
871
874
|
id: string;
|
|
875
|
+
name: string;
|
|
872
876
|
createdAt: string;
|
|
873
877
|
updatedAt: string;
|
|
874
|
-
name: string;
|
|
875
878
|
}, {
|
|
876
879
|
id: string;
|
|
880
|
+
name: string;
|
|
877
881
|
createdAt: string | Date;
|
|
878
882
|
updatedAt: string | Date;
|
|
879
|
-
name: string;
|
|
880
883
|
}>>>;
|
|
881
884
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
882
885
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
883
886
|
}, "strip", z.ZodTypeAny, {
|
|
884
887
|
id: string;
|
|
885
|
-
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
886
|
-
createdAt: string;
|
|
887
|
-
updatedAt: string;
|
|
888
888
|
leadId: string;
|
|
889
889
|
agentId: string | null;
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
updatedAt: string;
|
|
897
|
-
name: string;
|
|
898
|
-
} | null | undefined;
|
|
890
|
+
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
891
|
+
createdAt: string;
|
|
892
|
+
updatedAt: string;
|
|
893
|
+
assignedAt: string;
|
|
894
|
+
assignedBy: string | null;
|
|
895
|
+
companyId: string | null;
|
|
899
896
|
lead?: {
|
|
900
|
-
phoneNumber: string;
|
|
901
897
|
name: string;
|
|
898
|
+
phoneNumber: string;
|
|
902
899
|
} | undefined;
|
|
903
900
|
agent?: {
|
|
904
901
|
id: string;
|
|
905
|
-
createdAt: string;
|
|
906
|
-
updatedAt: string;
|
|
907
902
|
firstName: string;
|
|
908
903
|
lastName: string;
|
|
909
904
|
email: string;
|
|
910
905
|
phone: string;
|
|
906
|
+
createdAt: string;
|
|
907
|
+
updatedAt: string;
|
|
911
908
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
912
909
|
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;
|
|
913
910
|
} | undefined;
|
|
911
|
+
company?: {
|
|
912
|
+
id: string;
|
|
913
|
+
name: string;
|
|
914
|
+
createdAt: string;
|
|
915
|
+
updatedAt: string;
|
|
916
|
+
} | null | undefined;
|
|
914
917
|
}, {
|
|
915
918
|
id: string;
|
|
919
|
+
leadId: string;
|
|
920
|
+
agentId: string | null;
|
|
916
921
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
917
922
|
createdAt: string | Date;
|
|
918
923
|
updatedAt: string | Date;
|
|
919
|
-
leadId: string;
|
|
920
|
-
agentId: string | null;
|
|
921
|
-
companyId: string | null;
|
|
922
924
|
assignedAt: string | Date;
|
|
923
925
|
assignedBy: string | null;
|
|
924
|
-
|
|
925
|
-
id: string;
|
|
926
|
-
createdAt: string | Date;
|
|
927
|
-
updatedAt: string | Date;
|
|
928
|
-
name: string;
|
|
929
|
-
} | null | undefined;
|
|
926
|
+
companyId: string | null;
|
|
930
927
|
lead?: {
|
|
931
|
-
phoneNumber: string;
|
|
932
928
|
name: string;
|
|
929
|
+
phoneNumber: string;
|
|
933
930
|
} | undefined;
|
|
934
931
|
agent?: {
|
|
935
932
|
id: string;
|
|
936
|
-
createdAt: string | Date;
|
|
937
|
-
updatedAt: string | Date;
|
|
938
933
|
firstName: string;
|
|
939
934
|
lastName: string;
|
|
940
935
|
email: string;
|
|
941
936
|
phone: string;
|
|
937
|
+
createdAt: string | Date;
|
|
938
|
+
updatedAt: string | Date;
|
|
942
939
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
943
940
|
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;
|
|
944
941
|
} | undefined;
|
|
942
|
+
company?: {
|
|
943
|
+
id: string;
|
|
944
|
+
name: string;
|
|
945
|
+
createdAt: string | Date;
|
|
946
|
+
updatedAt: string | Date;
|
|
947
|
+
} | null | undefined;
|
|
945
948
|
}>>>;
|
|
946
949
|
callDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
947
950
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
@@ -952,9 +955,9 @@ export declare const callHistoryContract: {
|
|
|
952
955
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
953
956
|
}, "strip", z.ZodTypeAny, {
|
|
954
957
|
id: string;
|
|
958
|
+
assignmentId: string;
|
|
955
959
|
createdAt: string;
|
|
956
960
|
updatedAt: string;
|
|
957
|
-
assignmentId: string;
|
|
958
961
|
callDate: string;
|
|
959
962
|
callType: CallType;
|
|
960
963
|
rating: CallRating;
|
|
@@ -964,41 +967,41 @@ export declare const callHistoryContract: {
|
|
|
964
967
|
agentId?: string | undefined;
|
|
965
968
|
assignment?: {
|
|
966
969
|
id: string;
|
|
970
|
+
leadId: string;
|
|
971
|
+
agentId: string | null;
|
|
967
972
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
968
973
|
createdAt: string;
|
|
969
974
|
updatedAt: string;
|
|
970
|
-
leadId: string;
|
|
971
|
-
agentId: string | null;
|
|
972
|
-
companyId: string | null;
|
|
973
975
|
assignedAt: string;
|
|
974
976
|
assignedBy: string | null;
|
|
975
|
-
|
|
976
|
-
id: string;
|
|
977
|
-
createdAt: string;
|
|
978
|
-
updatedAt: string;
|
|
979
|
-
name: string;
|
|
980
|
-
} | null | undefined;
|
|
977
|
+
companyId: string | null;
|
|
981
978
|
lead?: {
|
|
982
|
-
phoneNumber: string;
|
|
983
979
|
name: string;
|
|
980
|
+
phoneNumber: string;
|
|
984
981
|
} | undefined;
|
|
985
982
|
agent?: {
|
|
986
983
|
id: string;
|
|
987
|
-
createdAt: string;
|
|
988
|
-
updatedAt: string;
|
|
989
984
|
firstName: string;
|
|
990
985
|
lastName: string;
|
|
991
986
|
email: string;
|
|
992
987
|
phone: string;
|
|
988
|
+
createdAt: string;
|
|
989
|
+
updatedAt: string;
|
|
993
990
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
994
991
|
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;
|
|
995
992
|
} | undefined;
|
|
993
|
+
company?: {
|
|
994
|
+
id: string;
|
|
995
|
+
name: string;
|
|
996
|
+
createdAt: string;
|
|
997
|
+
updatedAt: string;
|
|
998
|
+
} | null | undefined;
|
|
996
999
|
} | null | undefined;
|
|
997
1000
|
}, {
|
|
998
1001
|
id: string;
|
|
1002
|
+
assignmentId: string;
|
|
999
1003
|
createdAt: string | Date;
|
|
1000
1004
|
updatedAt: string | Date;
|
|
1001
|
-
assignmentId: string;
|
|
1002
1005
|
callDate: string | Date;
|
|
1003
1006
|
callType: CallType;
|
|
1004
1007
|
rating: CallRating;
|
|
@@ -1008,35 +1011,35 @@ export declare const callHistoryContract: {
|
|
|
1008
1011
|
agentId?: string | undefined;
|
|
1009
1012
|
assignment?: {
|
|
1010
1013
|
id: string;
|
|
1014
|
+
leadId: string;
|
|
1015
|
+
agentId: string | null;
|
|
1011
1016
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1012
1017
|
createdAt: string | Date;
|
|
1013
1018
|
updatedAt: string | Date;
|
|
1014
|
-
leadId: string;
|
|
1015
|
-
agentId: string | null;
|
|
1016
|
-
companyId: string | null;
|
|
1017
1019
|
assignedAt: string | Date;
|
|
1018
1020
|
assignedBy: string | null;
|
|
1019
|
-
|
|
1020
|
-
id: string;
|
|
1021
|
-
createdAt: string | Date;
|
|
1022
|
-
updatedAt: string | Date;
|
|
1023
|
-
name: string;
|
|
1024
|
-
} | null | undefined;
|
|
1021
|
+
companyId: string | null;
|
|
1025
1022
|
lead?: {
|
|
1026
|
-
phoneNumber: string;
|
|
1027
1023
|
name: string;
|
|
1024
|
+
phoneNumber: string;
|
|
1028
1025
|
} | undefined;
|
|
1029
1026
|
agent?: {
|
|
1030
1027
|
id: string;
|
|
1031
|
-
createdAt: string | Date;
|
|
1032
|
-
updatedAt: string | Date;
|
|
1033
1028
|
firstName: string;
|
|
1034
1029
|
lastName: string;
|
|
1035
1030
|
email: string;
|
|
1036
1031
|
phone: string;
|
|
1032
|
+
createdAt: string | Date;
|
|
1033
|
+
updatedAt: string | Date;
|
|
1037
1034
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1038
1035
|
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;
|
|
1039
1036
|
} | undefined;
|
|
1037
|
+
company?: {
|
|
1038
|
+
id: string;
|
|
1039
|
+
name: string;
|
|
1040
|
+
createdAt: string | Date;
|
|
1041
|
+
updatedAt: string | Date;
|
|
1042
|
+
} | null | undefined;
|
|
1040
1043
|
} | null | undefined;
|
|
1041
1044
|
}>;
|
|
1042
1045
|
409: z.ZodObject<{
|
|
@@ -1067,11 +1070,15 @@ export declare const callHistoryContract: {
|
|
|
1067
1070
|
};
|
|
1068
1071
|
};
|
|
1069
1072
|
findAll: {
|
|
1073
|
+
metadata: {
|
|
1074
|
+
tags: string[];
|
|
1075
|
+
};
|
|
1070
1076
|
query: z.ZodObject<{
|
|
1071
1077
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
1072
1078
|
page: z.ZodDefault<z.ZodNumber>;
|
|
1073
1079
|
} & {
|
|
1074
|
-
|
|
1080
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
1081
|
+
companyId: z.ZodOptional<z.ZodString>;
|
|
1075
1082
|
rating: z.ZodEffects<z.ZodOptional<z.ZodNativeEnum<typeof CallRating>>, CallRating | undefined, unknown>;
|
|
1076
1083
|
callType: z.ZodOptional<z.ZodNativeEnum<typeof CallType>>;
|
|
1077
1084
|
callDate: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
@@ -1089,31 +1096,30 @@ export declare const callHistoryContract: {
|
|
|
1089
1096
|
}, "strip", z.ZodTypeAny, {
|
|
1090
1097
|
limit: number;
|
|
1091
1098
|
page: number;
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
assignmentId?: string | undefined;
|
|
1099
|
+
agentId?: string | undefined;
|
|
1100
|
+
companyId?: string | undefined;
|
|
1095
1101
|
callDate?: {
|
|
1096
1102
|
from?: string | null | undefined;
|
|
1097
1103
|
to?: string | null | undefined;
|
|
1098
1104
|
} | null | undefined;
|
|
1099
1105
|
callType?: CallType | undefined;
|
|
1100
1106
|
rating?: CallRating | undefined;
|
|
1101
|
-
}, {
|
|
1102
|
-
limit?: number | undefined;
|
|
1103
|
-
page?: number | undefined;
|
|
1104
1107
|
sortBy?: CallHistorySortableFields | undefined;
|
|
1105
1108
|
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1106
|
-
|
|
1109
|
+
}, {
|
|
1110
|
+
agentId?: string | undefined;
|
|
1111
|
+
companyId?: string | undefined;
|
|
1107
1112
|
callDate?: {
|
|
1108
1113
|
from?: string | null | undefined;
|
|
1109
1114
|
to?: string | null | undefined;
|
|
1110
1115
|
} | null | undefined;
|
|
1111
1116
|
callType?: CallType | undefined;
|
|
1112
1117
|
rating?: unknown;
|
|
1118
|
+
limit?: number | undefined;
|
|
1119
|
+
page?: number | undefined;
|
|
1120
|
+
sortBy?: CallHistorySortableFields | undefined;
|
|
1121
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
1113
1122
|
}>;
|
|
1114
|
-
metadata: {
|
|
1115
|
-
tags: string[];
|
|
1116
|
-
};
|
|
1117
1123
|
summary: "Get call history records";
|
|
1118
1124
|
method: "GET";
|
|
1119
1125
|
path: "/v2/call-history";
|
|
@@ -1231,11 +1237,11 @@ export declare const callHistoryContract: {
|
|
|
1231
1237
|
name: z.ZodString;
|
|
1232
1238
|
phoneNumber: z.ZodString;
|
|
1233
1239
|
}, "strip", z.ZodTypeAny, {
|
|
1234
|
-
phoneNumber: string;
|
|
1235
1240
|
name: string;
|
|
1236
|
-
}, {
|
|
1237
1241
|
phoneNumber: string;
|
|
1242
|
+
}, {
|
|
1238
1243
|
name: string;
|
|
1244
|
+
phoneNumber: string;
|
|
1239
1245
|
}>>;
|
|
1240
1246
|
agentId: z.ZodNullable<z.ZodString>;
|
|
1241
1247
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -1250,22 +1256,22 @@ export declare const callHistoryContract: {
|
|
|
1250
1256
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1251
1257
|
}, "strip", z.ZodTypeAny, {
|
|
1252
1258
|
id: string;
|
|
1253
|
-
createdAt: string;
|
|
1254
|
-
updatedAt: string;
|
|
1255
1259
|
firstName: string;
|
|
1256
1260
|
lastName: string;
|
|
1257
1261
|
email: string;
|
|
1258
1262
|
phone: string;
|
|
1263
|
+
createdAt: string;
|
|
1264
|
+
updatedAt: string;
|
|
1259
1265
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1260
1266
|
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;
|
|
1261
1267
|
}, {
|
|
1262
1268
|
id: string;
|
|
1263
|
-
createdAt: string | Date;
|
|
1264
|
-
updatedAt: string | Date;
|
|
1265
1269
|
firstName: string;
|
|
1266
1270
|
lastName: string;
|
|
1267
1271
|
email: string;
|
|
1268
1272
|
phone: string;
|
|
1273
|
+
createdAt: string | Date;
|
|
1274
|
+
updatedAt: string | Date;
|
|
1269
1275
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1270
1276
|
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;
|
|
1271
1277
|
}>>;
|
|
@@ -1280,79 +1286,79 @@ export declare const callHistoryContract: {
|
|
|
1280
1286
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1281
1287
|
}, "strip", z.ZodTypeAny, {
|
|
1282
1288
|
id: string;
|
|
1289
|
+
name: string;
|
|
1283
1290
|
createdAt: string;
|
|
1284
1291
|
updatedAt: string;
|
|
1285
|
-
name: string;
|
|
1286
1292
|
}, {
|
|
1287
1293
|
id: string;
|
|
1294
|
+
name: string;
|
|
1288
1295
|
createdAt: string | Date;
|
|
1289
1296
|
updatedAt: string | Date;
|
|
1290
|
-
name: string;
|
|
1291
1297
|
}>>>;
|
|
1292
1298
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1293
1299
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1294
1300
|
}, "strip", z.ZodTypeAny, {
|
|
1295
1301
|
id: string;
|
|
1302
|
+
leadId: string;
|
|
1303
|
+
agentId: string | null;
|
|
1296
1304
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1297
1305
|
createdAt: string;
|
|
1298
1306
|
updatedAt: string;
|
|
1299
|
-
leadId: string;
|
|
1300
|
-
agentId: string | null;
|
|
1301
|
-
companyId: string | null;
|
|
1302
1307
|
assignedAt: string;
|
|
1303
1308
|
assignedBy: string | null;
|
|
1304
|
-
|
|
1305
|
-
id: string;
|
|
1306
|
-
createdAt: string;
|
|
1307
|
-
updatedAt: string;
|
|
1308
|
-
name: string;
|
|
1309
|
-
} | null | undefined;
|
|
1309
|
+
companyId: string | null;
|
|
1310
1310
|
lead?: {
|
|
1311
|
-
phoneNumber: string;
|
|
1312
1311
|
name: string;
|
|
1312
|
+
phoneNumber: string;
|
|
1313
1313
|
} | undefined;
|
|
1314
1314
|
agent?: {
|
|
1315
1315
|
id: string;
|
|
1316
|
-
createdAt: string;
|
|
1317
|
-
updatedAt: string;
|
|
1318
1316
|
firstName: string;
|
|
1319
1317
|
lastName: string;
|
|
1320
1318
|
email: string;
|
|
1321
1319
|
phone: string;
|
|
1320
|
+
createdAt: string;
|
|
1321
|
+
updatedAt: string;
|
|
1322
1322
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1323
1323
|
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;
|
|
1324
1324
|
} | undefined;
|
|
1325
|
+
company?: {
|
|
1326
|
+
id: string;
|
|
1327
|
+
name: string;
|
|
1328
|
+
createdAt: string;
|
|
1329
|
+
updatedAt: string;
|
|
1330
|
+
} | null | undefined;
|
|
1325
1331
|
}, {
|
|
1326
1332
|
id: string;
|
|
1333
|
+
leadId: string;
|
|
1334
|
+
agentId: string | null;
|
|
1327
1335
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1328
1336
|
createdAt: string | Date;
|
|
1329
1337
|
updatedAt: string | Date;
|
|
1330
|
-
leadId: string;
|
|
1331
|
-
agentId: string | null;
|
|
1332
|
-
companyId: string | null;
|
|
1333
1338
|
assignedAt: string | Date;
|
|
1334
1339
|
assignedBy: string | null;
|
|
1335
|
-
|
|
1336
|
-
id: string;
|
|
1337
|
-
createdAt: string | Date;
|
|
1338
|
-
updatedAt: string | Date;
|
|
1339
|
-
name: string;
|
|
1340
|
-
} | null | undefined;
|
|
1340
|
+
companyId: string | null;
|
|
1341
1341
|
lead?: {
|
|
1342
|
-
phoneNumber: string;
|
|
1343
1342
|
name: string;
|
|
1343
|
+
phoneNumber: string;
|
|
1344
1344
|
} | undefined;
|
|
1345
1345
|
agent?: {
|
|
1346
1346
|
id: string;
|
|
1347
|
-
createdAt: string | Date;
|
|
1348
|
-
updatedAt: string | Date;
|
|
1349
1347
|
firstName: string;
|
|
1350
1348
|
lastName: string;
|
|
1351
1349
|
email: string;
|
|
1352
1350
|
phone: string;
|
|
1351
|
+
createdAt: string | Date;
|
|
1352
|
+
updatedAt: string | Date;
|
|
1353
1353
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1354
1354
|
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;
|
|
1355
1355
|
} | undefined;
|
|
1356
|
+
company?: {
|
|
1357
|
+
id: string;
|
|
1358
|
+
name: string;
|
|
1359
|
+
createdAt: string | Date;
|
|
1360
|
+
updatedAt: string | Date;
|
|
1361
|
+
} | null | undefined;
|
|
1356
1362
|
}>>>;
|
|
1357
1363
|
callDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1358
1364
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
@@ -1363,9 +1369,9 @@ export declare const callHistoryContract: {
|
|
|
1363
1369
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1364
1370
|
}, "strip", z.ZodTypeAny, {
|
|
1365
1371
|
id: string;
|
|
1372
|
+
assignmentId: string;
|
|
1366
1373
|
createdAt: string;
|
|
1367
1374
|
updatedAt: string;
|
|
1368
|
-
assignmentId: string;
|
|
1369
1375
|
callDate: string;
|
|
1370
1376
|
callType: CallType;
|
|
1371
1377
|
rating: CallRating;
|
|
@@ -1375,41 +1381,41 @@ export declare const callHistoryContract: {
|
|
|
1375
1381
|
agentId?: string | undefined;
|
|
1376
1382
|
assignment?: {
|
|
1377
1383
|
id: string;
|
|
1384
|
+
leadId: string;
|
|
1385
|
+
agentId: string | null;
|
|
1378
1386
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1379
1387
|
createdAt: string;
|
|
1380
1388
|
updatedAt: string;
|
|
1381
|
-
leadId: string;
|
|
1382
|
-
agentId: string | null;
|
|
1383
|
-
companyId: string | null;
|
|
1384
1389
|
assignedAt: string;
|
|
1385
1390
|
assignedBy: string | null;
|
|
1386
|
-
|
|
1387
|
-
id: string;
|
|
1388
|
-
createdAt: string;
|
|
1389
|
-
updatedAt: string;
|
|
1390
|
-
name: string;
|
|
1391
|
-
} | null | undefined;
|
|
1391
|
+
companyId: string | null;
|
|
1392
1392
|
lead?: {
|
|
1393
|
-
phoneNumber: string;
|
|
1394
1393
|
name: string;
|
|
1394
|
+
phoneNumber: string;
|
|
1395
1395
|
} | undefined;
|
|
1396
1396
|
agent?: {
|
|
1397
1397
|
id: string;
|
|
1398
|
-
createdAt: string;
|
|
1399
|
-
updatedAt: string;
|
|
1400
1398
|
firstName: string;
|
|
1401
1399
|
lastName: string;
|
|
1402
1400
|
email: string;
|
|
1403
1401
|
phone: string;
|
|
1402
|
+
createdAt: string;
|
|
1403
|
+
updatedAt: string;
|
|
1404
1404
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1405
1405
|
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;
|
|
1406
1406
|
} | undefined;
|
|
1407
|
+
company?: {
|
|
1408
|
+
id: string;
|
|
1409
|
+
name: string;
|
|
1410
|
+
createdAt: string;
|
|
1411
|
+
updatedAt: string;
|
|
1412
|
+
} | null | undefined;
|
|
1407
1413
|
} | null | undefined;
|
|
1408
1414
|
}, {
|
|
1409
1415
|
id: string;
|
|
1416
|
+
assignmentId: string;
|
|
1410
1417
|
createdAt: string | Date;
|
|
1411
1418
|
updatedAt: string | Date;
|
|
1412
|
-
assignmentId: string;
|
|
1413
1419
|
callDate: string | Date;
|
|
1414
1420
|
callType: CallType;
|
|
1415
1421
|
rating: CallRating;
|
|
@@ -1419,35 +1425,35 @@ export declare const callHistoryContract: {
|
|
|
1419
1425
|
agentId?: string | undefined;
|
|
1420
1426
|
assignment?: {
|
|
1421
1427
|
id: string;
|
|
1428
|
+
leadId: string;
|
|
1429
|
+
agentId: string | null;
|
|
1422
1430
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1423
1431
|
createdAt: string | Date;
|
|
1424
1432
|
updatedAt: string | Date;
|
|
1425
|
-
leadId: string;
|
|
1426
|
-
agentId: string | null;
|
|
1427
|
-
companyId: string | null;
|
|
1428
1433
|
assignedAt: string | Date;
|
|
1429
1434
|
assignedBy: string | null;
|
|
1430
|
-
|
|
1431
|
-
id: string;
|
|
1432
|
-
createdAt: string | Date;
|
|
1433
|
-
updatedAt: string | Date;
|
|
1434
|
-
name: string;
|
|
1435
|
-
} | null | undefined;
|
|
1435
|
+
companyId: string | null;
|
|
1436
1436
|
lead?: {
|
|
1437
|
-
phoneNumber: string;
|
|
1438
1437
|
name: string;
|
|
1438
|
+
phoneNumber: string;
|
|
1439
1439
|
} | undefined;
|
|
1440
1440
|
agent?: {
|
|
1441
1441
|
id: string;
|
|
1442
|
-
createdAt: string | Date;
|
|
1443
|
-
updatedAt: string | Date;
|
|
1444
1442
|
firstName: string;
|
|
1445
1443
|
lastName: string;
|
|
1446
1444
|
email: string;
|
|
1447
1445
|
phone: string;
|
|
1446
|
+
createdAt: string | Date;
|
|
1447
|
+
updatedAt: string | Date;
|
|
1448
1448
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1449
1449
|
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;
|
|
1450
1450
|
} | undefined;
|
|
1451
|
+
company?: {
|
|
1452
|
+
id: string;
|
|
1453
|
+
name: string;
|
|
1454
|
+
createdAt: string | Date;
|
|
1455
|
+
updatedAt: string | Date;
|
|
1456
|
+
} | null | undefined;
|
|
1451
1457
|
} | null | undefined;
|
|
1452
1458
|
}>, "many">;
|
|
1453
1459
|
totalCount: z.ZodNumber;
|
|
@@ -1456,12 +1462,11 @@ export declare const callHistoryContract: {
|
|
|
1456
1462
|
currentPage: z.ZodNumber;
|
|
1457
1463
|
totalPages: z.ZodNumber;
|
|
1458
1464
|
}, "strip", z.ZodTypeAny, {
|
|
1459
|
-
limit: number;
|
|
1460
1465
|
items: {
|
|
1461
1466
|
id: string;
|
|
1467
|
+
assignmentId: string;
|
|
1462
1468
|
createdAt: string;
|
|
1463
1469
|
updatedAt: string;
|
|
1464
|
-
assignmentId: string;
|
|
1465
1470
|
callDate: string;
|
|
1466
1471
|
callType: CallType;
|
|
1467
1472
|
rating: CallRating;
|
|
@@ -1471,48 +1476,48 @@ export declare const callHistoryContract: {
|
|
|
1471
1476
|
agentId?: string | undefined;
|
|
1472
1477
|
assignment?: {
|
|
1473
1478
|
id: string;
|
|
1479
|
+
leadId: string;
|
|
1480
|
+
agentId: string | null;
|
|
1474
1481
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1475
1482
|
createdAt: string;
|
|
1476
1483
|
updatedAt: string;
|
|
1477
|
-
leadId: string;
|
|
1478
|
-
agentId: string | null;
|
|
1479
|
-
companyId: string | null;
|
|
1480
1484
|
assignedAt: string;
|
|
1481
1485
|
assignedBy: string | null;
|
|
1482
|
-
|
|
1483
|
-
id: string;
|
|
1484
|
-
createdAt: string;
|
|
1485
|
-
updatedAt: string;
|
|
1486
|
-
name: string;
|
|
1487
|
-
} | null | undefined;
|
|
1486
|
+
companyId: string | null;
|
|
1488
1487
|
lead?: {
|
|
1489
|
-
phoneNumber: string;
|
|
1490
1488
|
name: string;
|
|
1489
|
+
phoneNumber: string;
|
|
1491
1490
|
} | undefined;
|
|
1492
1491
|
agent?: {
|
|
1493
1492
|
id: string;
|
|
1494
|
-
createdAt: string;
|
|
1495
|
-
updatedAt: string;
|
|
1496
1493
|
firstName: string;
|
|
1497
1494
|
lastName: string;
|
|
1498
1495
|
email: string;
|
|
1499
1496
|
phone: string;
|
|
1497
|
+
createdAt: string;
|
|
1498
|
+
updatedAt: string;
|
|
1500
1499
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1501
1500
|
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;
|
|
1502
1501
|
} | undefined;
|
|
1502
|
+
company?: {
|
|
1503
|
+
id: string;
|
|
1504
|
+
name: string;
|
|
1505
|
+
createdAt: string;
|
|
1506
|
+
updatedAt: string;
|
|
1507
|
+
} | null | undefined;
|
|
1503
1508
|
} | null | undefined;
|
|
1504
1509
|
}[];
|
|
1505
1510
|
totalCount: number;
|
|
1511
|
+
limit: number;
|
|
1506
1512
|
skip: number;
|
|
1507
1513
|
currentPage: number;
|
|
1508
1514
|
totalPages: number;
|
|
1509
1515
|
}, {
|
|
1510
|
-
limit: number;
|
|
1511
1516
|
items: {
|
|
1512
1517
|
id: string;
|
|
1518
|
+
assignmentId: string;
|
|
1513
1519
|
createdAt: string | Date;
|
|
1514
1520
|
updatedAt: string | Date;
|
|
1515
|
-
assignmentId: string;
|
|
1516
1521
|
callDate: string | Date;
|
|
1517
1522
|
callType: CallType;
|
|
1518
1523
|
rating: CallRating;
|
|
@@ -1522,38 +1527,39 @@ export declare const callHistoryContract: {
|
|
|
1522
1527
|
agentId?: string | undefined;
|
|
1523
1528
|
assignment?: {
|
|
1524
1529
|
id: string;
|
|
1530
|
+
leadId: string;
|
|
1531
|
+
agentId: string | null;
|
|
1525
1532
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1526
1533
|
createdAt: string | Date;
|
|
1527
1534
|
updatedAt: string | Date;
|
|
1528
|
-
leadId: string;
|
|
1529
|
-
agentId: string | null;
|
|
1530
|
-
companyId: string | null;
|
|
1531
1535
|
assignedAt: string | Date;
|
|
1532
1536
|
assignedBy: string | null;
|
|
1533
|
-
|
|
1534
|
-
id: string;
|
|
1535
|
-
createdAt: string | Date;
|
|
1536
|
-
updatedAt: string | Date;
|
|
1537
|
-
name: string;
|
|
1538
|
-
} | null | undefined;
|
|
1537
|
+
companyId: string | null;
|
|
1539
1538
|
lead?: {
|
|
1540
|
-
phoneNumber: string;
|
|
1541
1539
|
name: string;
|
|
1540
|
+
phoneNumber: string;
|
|
1542
1541
|
} | undefined;
|
|
1543
1542
|
agent?: {
|
|
1544
1543
|
id: string;
|
|
1545
|
-
createdAt: string | Date;
|
|
1546
|
-
updatedAt: string | Date;
|
|
1547
1544
|
firstName: string;
|
|
1548
1545
|
lastName: string;
|
|
1549
1546
|
email: string;
|
|
1550
1547
|
phone: string;
|
|
1548
|
+
createdAt: string | Date;
|
|
1549
|
+
updatedAt: string | Date;
|
|
1551
1550
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1552
1551
|
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;
|
|
1553
1552
|
} | undefined;
|
|
1553
|
+
company?: {
|
|
1554
|
+
id: string;
|
|
1555
|
+
name: string;
|
|
1556
|
+
createdAt: string | Date;
|
|
1557
|
+
updatedAt: string | Date;
|
|
1558
|
+
} | null | undefined;
|
|
1554
1559
|
} | null | undefined;
|
|
1555
1560
|
}[];
|
|
1556
1561
|
totalCount: number;
|
|
1562
|
+
limit: number;
|
|
1557
1563
|
skip: number;
|
|
1558
1564
|
currentPage: number;
|
|
1559
1565
|
totalPages: number;
|
|
@@ -1687,11 +1693,11 @@ export declare const callHistoryContract: {
|
|
|
1687
1693
|
name: z.ZodString;
|
|
1688
1694
|
phoneNumber: z.ZodString;
|
|
1689
1695
|
}, "strip", z.ZodTypeAny, {
|
|
1690
|
-
phoneNumber: string;
|
|
1691
1696
|
name: string;
|
|
1692
|
-
}, {
|
|
1693
1697
|
phoneNumber: string;
|
|
1698
|
+
}, {
|
|
1694
1699
|
name: string;
|
|
1700
|
+
phoneNumber: string;
|
|
1695
1701
|
}>>;
|
|
1696
1702
|
agentId: z.ZodNullable<z.ZodString>;
|
|
1697
1703
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -1706,22 +1712,22 @@ export declare const callHistoryContract: {
|
|
|
1706
1712
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1707
1713
|
}, "strip", z.ZodTypeAny, {
|
|
1708
1714
|
id: string;
|
|
1709
|
-
createdAt: string;
|
|
1710
|
-
updatedAt: string;
|
|
1711
1715
|
firstName: string;
|
|
1712
1716
|
lastName: string;
|
|
1713
1717
|
email: string;
|
|
1714
1718
|
phone: string;
|
|
1719
|
+
createdAt: string;
|
|
1720
|
+
updatedAt: string;
|
|
1715
1721
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1716
1722
|
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;
|
|
1717
1723
|
}, {
|
|
1718
1724
|
id: string;
|
|
1719
|
-
createdAt: string | Date;
|
|
1720
|
-
updatedAt: string | Date;
|
|
1721
1725
|
firstName: string;
|
|
1722
1726
|
lastName: string;
|
|
1723
1727
|
email: string;
|
|
1724
1728
|
phone: string;
|
|
1729
|
+
createdAt: string | Date;
|
|
1730
|
+
updatedAt: string | Date;
|
|
1725
1731
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1726
1732
|
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;
|
|
1727
1733
|
}>>;
|
|
@@ -1736,79 +1742,79 @@ export declare const callHistoryContract: {
|
|
|
1736
1742
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1737
1743
|
}, "strip", z.ZodTypeAny, {
|
|
1738
1744
|
id: string;
|
|
1745
|
+
name: string;
|
|
1739
1746
|
createdAt: string;
|
|
1740
1747
|
updatedAt: string;
|
|
1741
|
-
name: string;
|
|
1742
1748
|
}, {
|
|
1743
1749
|
id: string;
|
|
1750
|
+
name: string;
|
|
1744
1751
|
createdAt: string | Date;
|
|
1745
1752
|
updatedAt: string | Date;
|
|
1746
|
-
name: string;
|
|
1747
1753
|
}>>>;
|
|
1748
1754
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1749
1755
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1750
1756
|
}, "strip", z.ZodTypeAny, {
|
|
1751
1757
|
id: string;
|
|
1758
|
+
leadId: string;
|
|
1759
|
+
agentId: string | null;
|
|
1752
1760
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1753
1761
|
createdAt: string;
|
|
1754
1762
|
updatedAt: string;
|
|
1755
|
-
leadId: string;
|
|
1756
|
-
agentId: string | null;
|
|
1757
|
-
companyId: string | null;
|
|
1758
1763
|
assignedAt: string;
|
|
1759
1764
|
assignedBy: string | null;
|
|
1760
|
-
|
|
1761
|
-
id: string;
|
|
1762
|
-
createdAt: string;
|
|
1763
|
-
updatedAt: string;
|
|
1764
|
-
name: string;
|
|
1765
|
-
} | null | undefined;
|
|
1765
|
+
companyId: string | null;
|
|
1766
1766
|
lead?: {
|
|
1767
|
-
phoneNumber: string;
|
|
1768
1767
|
name: string;
|
|
1768
|
+
phoneNumber: string;
|
|
1769
1769
|
} | undefined;
|
|
1770
1770
|
agent?: {
|
|
1771
1771
|
id: string;
|
|
1772
|
-
createdAt: string;
|
|
1773
|
-
updatedAt: string;
|
|
1774
1772
|
firstName: string;
|
|
1775
1773
|
lastName: string;
|
|
1776
1774
|
email: string;
|
|
1777
1775
|
phone: string;
|
|
1776
|
+
createdAt: string;
|
|
1777
|
+
updatedAt: string;
|
|
1778
1778
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1779
1779
|
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;
|
|
1780
1780
|
} | undefined;
|
|
1781
|
+
company?: {
|
|
1782
|
+
id: string;
|
|
1783
|
+
name: string;
|
|
1784
|
+
createdAt: string;
|
|
1785
|
+
updatedAt: string;
|
|
1786
|
+
} | null | undefined;
|
|
1781
1787
|
}, {
|
|
1782
1788
|
id: string;
|
|
1789
|
+
leadId: string;
|
|
1790
|
+
agentId: string | null;
|
|
1783
1791
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1784
1792
|
createdAt: string | Date;
|
|
1785
1793
|
updatedAt: string | Date;
|
|
1786
|
-
leadId: string;
|
|
1787
|
-
agentId: string | null;
|
|
1788
|
-
companyId: string | null;
|
|
1789
1794
|
assignedAt: string | Date;
|
|
1790
1795
|
assignedBy: string | null;
|
|
1791
|
-
|
|
1792
|
-
id: string;
|
|
1793
|
-
createdAt: string | Date;
|
|
1794
|
-
updatedAt: string | Date;
|
|
1795
|
-
name: string;
|
|
1796
|
-
} | null | undefined;
|
|
1796
|
+
companyId: string | null;
|
|
1797
1797
|
lead?: {
|
|
1798
|
-
phoneNumber: string;
|
|
1799
1798
|
name: string;
|
|
1799
|
+
phoneNumber: string;
|
|
1800
1800
|
} | undefined;
|
|
1801
1801
|
agent?: {
|
|
1802
1802
|
id: string;
|
|
1803
|
-
createdAt: string | Date;
|
|
1804
|
-
updatedAt: string | Date;
|
|
1805
1803
|
firstName: string;
|
|
1806
1804
|
lastName: string;
|
|
1807
1805
|
email: string;
|
|
1808
1806
|
phone: string;
|
|
1807
|
+
createdAt: string | Date;
|
|
1808
|
+
updatedAt: string | Date;
|
|
1809
1809
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1810
1810
|
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;
|
|
1811
1811
|
} | undefined;
|
|
1812
|
+
company?: {
|
|
1813
|
+
id: string;
|
|
1814
|
+
name: string;
|
|
1815
|
+
createdAt: string | Date;
|
|
1816
|
+
updatedAt: string | Date;
|
|
1817
|
+
} | null | undefined;
|
|
1812
1818
|
}>>>;
|
|
1813
1819
|
callDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1814
1820
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
@@ -1819,9 +1825,9 @@ export declare const callHistoryContract: {
|
|
|
1819
1825
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
1820
1826
|
}, "strip", z.ZodTypeAny, {
|
|
1821
1827
|
id: string;
|
|
1828
|
+
assignmentId: string;
|
|
1822
1829
|
createdAt: string;
|
|
1823
1830
|
updatedAt: string;
|
|
1824
|
-
assignmentId: string;
|
|
1825
1831
|
callDate: string;
|
|
1826
1832
|
callType: CallType;
|
|
1827
1833
|
rating: CallRating;
|
|
@@ -1831,41 +1837,41 @@ export declare const callHistoryContract: {
|
|
|
1831
1837
|
agentId?: string | undefined;
|
|
1832
1838
|
assignment?: {
|
|
1833
1839
|
id: string;
|
|
1840
|
+
leadId: string;
|
|
1841
|
+
agentId: string | null;
|
|
1834
1842
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1835
1843
|
createdAt: string;
|
|
1836
1844
|
updatedAt: string;
|
|
1837
|
-
leadId: string;
|
|
1838
|
-
agentId: string | null;
|
|
1839
|
-
companyId: string | null;
|
|
1840
1845
|
assignedAt: string;
|
|
1841
1846
|
assignedBy: string | null;
|
|
1842
|
-
|
|
1843
|
-
id: string;
|
|
1844
|
-
createdAt: string;
|
|
1845
|
-
updatedAt: string;
|
|
1846
|
-
name: string;
|
|
1847
|
-
} | null | undefined;
|
|
1847
|
+
companyId: string | null;
|
|
1848
1848
|
lead?: {
|
|
1849
|
-
phoneNumber: string;
|
|
1850
1849
|
name: string;
|
|
1850
|
+
phoneNumber: string;
|
|
1851
1851
|
} | undefined;
|
|
1852
1852
|
agent?: {
|
|
1853
1853
|
id: string;
|
|
1854
|
-
createdAt: string;
|
|
1855
|
-
updatedAt: string;
|
|
1856
1854
|
firstName: string;
|
|
1857
1855
|
lastName: string;
|
|
1858
1856
|
email: string;
|
|
1859
1857
|
phone: string;
|
|
1858
|
+
createdAt: string;
|
|
1859
|
+
updatedAt: string;
|
|
1860
1860
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1861
1861
|
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;
|
|
1862
1862
|
} | undefined;
|
|
1863
|
+
company?: {
|
|
1864
|
+
id: string;
|
|
1865
|
+
name: string;
|
|
1866
|
+
createdAt: string;
|
|
1867
|
+
updatedAt: string;
|
|
1868
|
+
} | null | undefined;
|
|
1863
1869
|
} | null | undefined;
|
|
1864
1870
|
}, {
|
|
1865
1871
|
id: string;
|
|
1872
|
+
assignmentId: string;
|
|
1866
1873
|
createdAt: string | Date;
|
|
1867
1874
|
updatedAt: string | Date;
|
|
1868
|
-
assignmentId: string;
|
|
1869
1875
|
callDate: string | Date;
|
|
1870
1876
|
callType: CallType;
|
|
1871
1877
|
rating: CallRating;
|
|
@@ -1875,35 +1881,35 @@ export declare const callHistoryContract: {
|
|
|
1875
1881
|
agentId?: string | undefined;
|
|
1876
1882
|
assignment?: {
|
|
1877
1883
|
id: string;
|
|
1884
|
+
leadId: string;
|
|
1885
|
+
agentId: string | null;
|
|
1878
1886
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
1879
1887
|
createdAt: string | Date;
|
|
1880
1888
|
updatedAt: string | Date;
|
|
1881
|
-
leadId: string;
|
|
1882
|
-
agentId: string | null;
|
|
1883
|
-
companyId: string | null;
|
|
1884
1889
|
assignedAt: string | Date;
|
|
1885
1890
|
assignedBy: string | null;
|
|
1886
|
-
|
|
1887
|
-
id: string;
|
|
1888
|
-
createdAt: string | Date;
|
|
1889
|
-
updatedAt: string | Date;
|
|
1890
|
-
name: string;
|
|
1891
|
-
} | null | undefined;
|
|
1891
|
+
companyId: string | null;
|
|
1892
1892
|
lead?: {
|
|
1893
|
-
phoneNumber: string;
|
|
1894
1893
|
name: string;
|
|
1894
|
+
phoneNumber: string;
|
|
1895
1895
|
} | undefined;
|
|
1896
1896
|
agent?: {
|
|
1897
1897
|
id: string;
|
|
1898
|
-
createdAt: string | Date;
|
|
1899
|
-
updatedAt: string | Date;
|
|
1900
1898
|
firstName: string;
|
|
1901
1899
|
lastName: string;
|
|
1902
1900
|
email: string;
|
|
1903
1901
|
phone: string;
|
|
1902
|
+
createdAt: string | Date;
|
|
1903
|
+
updatedAt: string | Date;
|
|
1904
1904
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
1905
1905
|
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;
|
|
1906
1906
|
} | undefined;
|
|
1907
|
+
company?: {
|
|
1908
|
+
id: string;
|
|
1909
|
+
name: string;
|
|
1910
|
+
createdAt: string | Date;
|
|
1911
|
+
updatedAt: string | Date;
|
|
1912
|
+
} | null | undefined;
|
|
1907
1913
|
} | null | undefined;
|
|
1908
1914
|
}>;
|
|
1909
1915
|
404: z.ZodObject<{
|
|
@@ -2073,11 +2079,11 @@ export declare const callHistoryContract: {
|
|
|
2073
2079
|
name: z.ZodString;
|
|
2074
2080
|
phoneNumber: z.ZodString;
|
|
2075
2081
|
}, "strip", z.ZodTypeAny, {
|
|
2076
|
-
phoneNumber: string;
|
|
2077
2082
|
name: string;
|
|
2078
|
-
}, {
|
|
2079
2083
|
phoneNumber: string;
|
|
2084
|
+
}, {
|
|
2080
2085
|
name: string;
|
|
2086
|
+
phoneNumber: string;
|
|
2081
2087
|
}>>;
|
|
2082
2088
|
agentId: z.ZodNullable<z.ZodString>;
|
|
2083
2089
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -2092,22 +2098,22 @@ export declare const callHistoryContract: {
|
|
|
2092
2098
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2093
2099
|
}, "strip", z.ZodTypeAny, {
|
|
2094
2100
|
id: string;
|
|
2095
|
-
createdAt: string;
|
|
2096
|
-
updatedAt: string;
|
|
2097
2101
|
firstName: string;
|
|
2098
2102
|
lastName: string;
|
|
2099
2103
|
email: string;
|
|
2100
2104
|
phone: string;
|
|
2105
|
+
createdAt: string;
|
|
2106
|
+
updatedAt: string;
|
|
2101
2107
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
2102
2108
|
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;
|
|
2103
2109
|
}, {
|
|
2104
2110
|
id: string;
|
|
2105
|
-
createdAt: string | Date;
|
|
2106
|
-
updatedAt: string | Date;
|
|
2107
2111
|
firstName: string;
|
|
2108
2112
|
lastName: string;
|
|
2109
2113
|
email: string;
|
|
2110
2114
|
phone: string;
|
|
2115
|
+
createdAt: string | Date;
|
|
2116
|
+
updatedAt: string | Date;
|
|
2111
2117
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
2112
2118
|
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;
|
|
2113
2119
|
}>>;
|
|
@@ -2122,79 +2128,79 @@ export declare const callHistoryContract: {
|
|
|
2122
2128
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2123
2129
|
}, "strip", z.ZodTypeAny, {
|
|
2124
2130
|
id: string;
|
|
2131
|
+
name: string;
|
|
2125
2132
|
createdAt: string;
|
|
2126
2133
|
updatedAt: string;
|
|
2127
|
-
name: string;
|
|
2128
2134
|
}, {
|
|
2129
2135
|
id: string;
|
|
2136
|
+
name: string;
|
|
2130
2137
|
createdAt: string | Date;
|
|
2131
2138
|
updatedAt: string | Date;
|
|
2132
|
-
name: string;
|
|
2133
2139
|
}>>>;
|
|
2134
2140
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2135
2141
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2136
2142
|
}, "strip", z.ZodTypeAny, {
|
|
2137
2143
|
id: string;
|
|
2144
|
+
leadId: string;
|
|
2145
|
+
agentId: string | null;
|
|
2138
2146
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2139
2147
|
createdAt: string;
|
|
2140
2148
|
updatedAt: string;
|
|
2141
|
-
leadId: string;
|
|
2142
|
-
agentId: string | null;
|
|
2143
|
-
companyId: string | null;
|
|
2144
2149
|
assignedAt: string;
|
|
2145
2150
|
assignedBy: string | null;
|
|
2146
|
-
|
|
2147
|
-
id: string;
|
|
2148
|
-
createdAt: string;
|
|
2149
|
-
updatedAt: string;
|
|
2150
|
-
name: string;
|
|
2151
|
-
} | null | undefined;
|
|
2151
|
+
companyId: string | null;
|
|
2152
2152
|
lead?: {
|
|
2153
|
-
phoneNumber: string;
|
|
2154
2153
|
name: string;
|
|
2154
|
+
phoneNumber: string;
|
|
2155
2155
|
} | undefined;
|
|
2156
2156
|
agent?: {
|
|
2157
2157
|
id: string;
|
|
2158
|
-
createdAt: string;
|
|
2159
|
-
updatedAt: string;
|
|
2160
2158
|
firstName: string;
|
|
2161
2159
|
lastName: string;
|
|
2162
2160
|
email: string;
|
|
2163
2161
|
phone: string;
|
|
2162
|
+
createdAt: string;
|
|
2163
|
+
updatedAt: string;
|
|
2164
2164
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
2165
2165
|
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;
|
|
2166
2166
|
} | undefined;
|
|
2167
|
+
company?: {
|
|
2168
|
+
id: string;
|
|
2169
|
+
name: string;
|
|
2170
|
+
createdAt: string;
|
|
2171
|
+
updatedAt: string;
|
|
2172
|
+
} | null | undefined;
|
|
2167
2173
|
}, {
|
|
2168
2174
|
id: string;
|
|
2175
|
+
leadId: string;
|
|
2176
|
+
agentId: string | null;
|
|
2169
2177
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2170
2178
|
createdAt: string | Date;
|
|
2171
2179
|
updatedAt: string | Date;
|
|
2172
|
-
leadId: string;
|
|
2173
|
-
agentId: string | null;
|
|
2174
|
-
companyId: string | null;
|
|
2175
2180
|
assignedAt: string | Date;
|
|
2176
2181
|
assignedBy: string | null;
|
|
2177
|
-
|
|
2178
|
-
id: string;
|
|
2179
|
-
createdAt: string | Date;
|
|
2180
|
-
updatedAt: string | Date;
|
|
2181
|
-
name: string;
|
|
2182
|
-
} | null | undefined;
|
|
2182
|
+
companyId: string | null;
|
|
2183
2183
|
lead?: {
|
|
2184
|
-
phoneNumber: string;
|
|
2185
2184
|
name: string;
|
|
2185
|
+
phoneNumber: string;
|
|
2186
2186
|
} | undefined;
|
|
2187
2187
|
agent?: {
|
|
2188
2188
|
id: string;
|
|
2189
|
-
createdAt: string | Date;
|
|
2190
|
-
updatedAt: string | Date;
|
|
2191
2189
|
firstName: string;
|
|
2192
2190
|
lastName: string;
|
|
2193
2191
|
email: string;
|
|
2194
2192
|
phone: string;
|
|
2193
|
+
createdAt: string | Date;
|
|
2194
|
+
updatedAt: string | Date;
|
|
2195
2195
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
2196
2196
|
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;
|
|
2197
2197
|
} | undefined;
|
|
2198
|
+
company?: {
|
|
2199
|
+
id: string;
|
|
2200
|
+
name: string;
|
|
2201
|
+
createdAt: string | Date;
|
|
2202
|
+
updatedAt: string | Date;
|
|
2203
|
+
} | null | undefined;
|
|
2198
2204
|
}>>>;
|
|
2199
2205
|
callDate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2200
2206
|
callType: z.ZodNativeEnum<typeof CallType>;
|
|
@@ -2205,9 +2211,9 @@ export declare const callHistoryContract: {
|
|
|
2205
2211
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
2206
2212
|
}, "strip", z.ZodTypeAny, {
|
|
2207
2213
|
id: string;
|
|
2214
|
+
assignmentId: string;
|
|
2208
2215
|
createdAt: string;
|
|
2209
2216
|
updatedAt: string;
|
|
2210
|
-
assignmentId: string;
|
|
2211
2217
|
callDate: string;
|
|
2212
2218
|
callType: CallType;
|
|
2213
2219
|
rating: CallRating;
|
|
@@ -2217,41 +2223,41 @@ export declare const callHistoryContract: {
|
|
|
2217
2223
|
agentId?: string | undefined;
|
|
2218
2224
|
assignment?: {
|
|
2219
2225
|
id: string;
|
|
2226
|
+
leadId: string;
|
|
2227
|
+
agentId: string | null;
|
|
2220
2228
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2221
2229
|
createdAt: string;
|
|
2222
2230
|
updatedAt: string;
|
|
2223
|
-
leadId: string;
|
|
2224
|
-
agentId: string | null;
|
|
2225
|
-
companyId: string | null;
|
|
2226
2231
|
assignedAt: string;
|
|
2227
2232
|
assignedBy: string | null;
|
|
2228
|
-
|
|
2229
|
-
id: string;
|
|
2230
|
-
createdAt: string;
|
|
2231
|
-
updatedAt: string;
|
|
2232
|
-
name: string;
|
|
2233
|
-
} | null | undefined;
|
|
2233
|
+
companyId: string | null;
|
|
2234
2234
|
lead?: {
|
|
2235
|
-
phoneNumber: string;
|
|
2236
2235
|
name: string;
|
|
2236
|
+
phoneNumber: string;
|
|
2237
2237
|
} | undefined;
|
|
2238
2238
|
agent?: {
|
|
2239
2239
|
id: string;
|
|
2240
|
-
createdAt: string;
|
|
2241
|
-
updatedAt: string;
|
|
2242
2240
|
firstName: string;
|
|
2243
2241
|
lastName: string;
|
|
2244
2242
|
email: string;
|
|
2245
2243
|
phone: string;
|
|
2244
|
+
createdAt: string;
|
|
2245
|
+
updatedAt: string;
|
|
2246
2246
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
2247
2247
|
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;
|
|
2248
2248
|
} | undefined;
|
|
2249
|
+
company?: {
|
|
2250
|
+
id: string;
|
|
2251
|
+
name: string;
|
|
2252
|
+
createdAt: string;
|
|
2253
|
+
updatedAt: string;
|
|
2254
|
+
} | null | undefined;
|
|
2249
2255
|
} | null | undefined;
|
|
2250
2256
|
}, {
|
|
2251
2257
|
id: string;
|
|
2258
|
+
assignmentId: string;
|
|
2252
2259
|
createdAt: string | Date;
|
|
2253
2260
|
updatedAt: string | Date;
|
|
2254
|
-
assignmentId: string;
|
|
2255
2261
|
callDate: string | Date;
|
|
2256
2262
|
callType: CallType;
|
|
2257
2263
|
rating: CallRating;
|
|
@@ -2261,35 +2267,35 @@ export declare const callHistoryContract: {
|
|
|
2261
2267
|
agentId?: string | undefined;
|
|
2262
2268
|
assignment?: {
|
|
2263
2269
|
id: string;
|
|
2270
|
+
leadId: string;
|
|
2271
|
+
agentId: string | null;
|
|
2264
2272
|
status: import("../lead-assignments/lead-assignments.contract").LeadAssignmentStatus;
|
|
2265
2273
|
createdAt: string | Date;
|
|
2266
2274
|
updatedAt: string | Date;
|
|
2267
|
-
leadId: string;
|
|
2268
|
-
agentId: string | null;
|
|
2269
|
-
companyId: string | null;
|
|
2270
2275
|
assignedAt: string | Date;
|
|
2271
2276
|
assignedBy: string | null;
|
|
2272
|
-
|
|
2273
|
-
id: string;
|
|
2274
|
-
createdAt: string | Date;
|
|
2275
|
-
updatedAt: string | Date;
|
|
2276
|
-
name: string;
|
|
2277
|
-
} | null | undefined;
|
|
2277
|
+
companyId: string | null;
|
|
2278
2278
|
lead?: {
|
|
2279
|
-
phoneNumber: string;
|
|
2280
2279
|
name: string;
|
|
2280
|
+
phoneNumber: string;
|
|
2281
2281
|
} | undefined;
|
|
2282
2282
|
agent?: {
|
|
2283
2283
|
id: string;
|
|
2284
|
-
createdAt: string | Date;
|
|
2285
|
-
updatedAt: string | Date;
|
|
2286
2284
|
firstName: string;
|
|
2287
2285
|
lastName: string;
|
|
2288
2286
|
email: string;
|
|
2289
2287
|
phone: string;
|
|
2288
|
+
createdAt: string | Date;
|
|
2289
|
+
updatedAt: string | Date;
|
|
2290
2290
|
roles?: ("ADMIN" | "SECOND_AGENT" | "FIRST_AGENT" | "COMPANY_CHECKING" | "KPI")[] | undefined;
|
|
2291
2291
|
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;
|
|
2292
2292
|
} | undefined;
|
|
2293
|
+
company?: {
|
|
2294
|
+
id: string;
|
|
2295
|
+
name: string;
|
|
2296
|
+
createdAt: string | Date;
|
|
2297
|
+
updatedAt: string | Date;
|
|
2298
|
+
} | null | undefined;
|
|
2293
2299
|
} | null | undefined;
|
|
2294
2300
|
}>;
|
|
2295
2301
|
404: z.ZodObject<{
|